]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
[Ada] New functions to decode Ada types and values
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
99b1c762
JB
12012-02-29 Joel Brobecker <brobecker@adacore.com>
2
3 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
4 * gdb.ada/enum_idx_packed: New testcase.
5
2d4a02ee
JB
62012-02-29 Joel Brobecker <brobecker@adacore.com>
7
8 * gdb.ada/aliased_array: New testcase.
9
2e6fda7d
JB
102012-02-29 Joel Brobecker <brobecker@adacore.com>
11
12 * gdb.ada/whatis_array_val: New testcase.
13
9a7f938f
JK
142012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
15
16 Fix disp-step-syscall.exp: fork: single step over fork.
17 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
18 whitespaces.
19 (single step over $syscall): Remove its check.
20 (single step over $syscall final pc): New check.
21
8703a944
JK
222012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
23
24 Support processors without SSSE3.
25 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
26 pabsd into ...
27 (ssse3_test): ... a new function.
28 (main): Call ssse3_test.
29 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
30 Update expected values everywhere.
31 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
32 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
33 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
34 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
35 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
36 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
37 Move these tests lower.
38 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
39 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
40 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
41 New tests.
42
c03e6ccc
YQ
432012-02-29 Yao Qi <yao@codesourcery.com>
44 Pedro Alves <palves@redhat.com>
45
46 * gdb.trace/trace-mt.c: New.
47 * gdb.trace/trace-mt.exp: New.
48
7964b62a
TS
492012-02-28 Thomas Schwinge <thomas@codesourcery.com>
50
2c8910ba
TS
51 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
52 numbers instead of hardcoding them.
53 * gdb.base/annota1.c: Provide suitable markers.
54 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
55 numbers instead of hardcoding them.
56 * gdb.base/annota3.c: Provide suitable markers.
57
58 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
59 * gdb.base/annota3.c: Likewise.
60 * gdb.base/sigall.c: Likewise.
61 * gdb.base/signals.c: Likewise.
62 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 63
5a41c0b7
MR
642012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
65
66 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
67 failure return path.
68
ebbbe5c5
LM
692012-02-27 Luis Machado <lgustavo@codesourcery.com>
70
71 * gdb.base/save-bp.exp: Account for new condition evaluator output.
72
8d126d8a
LM
732012-02-24 Luis Machado <lgustavo@codesourcery.com>
74
75 * gdb.base/cond-eval-mode.exp: New file.
76
11337c2f
PA
772012-02-24 Pedro Alves <palves@redhat.com>
78
79 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
80 (top level): Use with_test_prefix.
81
13fc3e3c
PA
822012-02-24 Pedro Alves <palves@redhat.com>
83
84 * gdb.threads/attach-into-signal.exp (corefunc): Use
85 with_test_prefix.
86
07c1b626
JK
872012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
88
89 Fix false FAILs on old CPUs without SSE.
90 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
91 Return untested for Illegal instruction.
92
596ba138
JK
932012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
94
95 Fix false FAILs with glibc debug infos installed.
96 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
97 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
98
aeaa2474
SA
992012-02-22 Sterling Augustine <saugustine@google.com>
100
101 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
102 constant with cast.
103
aed555c9
PA
1042012-02-21 Pedro Alves <palves@redhat.com>
105
106 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
107
78afebb4
PA
1082012-02-21 Pedro Alves <palves@redhat.com>
109
110 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
111
fdcfef12
PA
1122012-02-21 Pedro Alves <palves@redhat.com>
113
114 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
115 with_test_prefix.
116
0f4d39d5
PA
1172012-02-21 Pedro Alves <palves@redhat.com>
118
119 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
120 with_test_prefix here.
121 (top level): Do it here instead. Remove `:' from the
122 with_test_prefix string.
123 * gdb.base/attach-pie-misread.exp: Remove the leading space the
124 the suffix `:' from the with_test_prefix prefix string.
125 * gdb.base/break-interp.exp: Ditto.
126 * gdb.base/catch-load.exp: Ditto.
127 * gdb.base/disp-step-syscall.exp: Ditto.
128 * gdb.base/jit-so.exp: Ditto.
129 * gdb.base/jit.exp: Ditto.
130 * gdb.base/sepdebug.exp: Ditto.
131 * gdb.base/solib-display.exp: Ditto.
132 * gdb.base/solib-overlap.exp: Ditto.
133 * gdb.base/watch-cond-infcall.exp: Ditto.
134 * gdb.base/watchpoint.exp: Ditto.
135 * gdb.dwarf2/dw2-noloc.exp: Ditto.
136 * gdb.mi/mi-watch.exp: Ditto.
137 * gdb.mi/mi2-watch.exp: Ditto.
138 * gdb.threads/non-ldr-exc-1.exp: Ditto.
139 * gdb.threads/non-ldr-exc-2.exp: Ditto.
140 * gdb.threads/non-ldr-exc-3.exp: Ditto.
141 * gdb.threads/non-ldr-exc-4.exp: Ditto.
142 * gdb.threads/watchpoint-fork.exp: Ditto.
143 * gdb.threads/watchthreads-reorder.exp: Ditto.
144 * gdb.trace/change-loc.exp: Ditto.
145 * gdb.trace/pending.exp: Ditto.
146 * gdb.trace/status-stop.exp: Ditto.
147 * gdb.trace/strace.exp: Ditto.
148 * gdb.trace/trace-break.exp: Ditto.
149 * gdb.trace/unavailable.exp: Ditto.
150 * lib/gdb.exp (with_test_prefix): Always prefix with space and
151 suffix with colon. Adjust leading comments.
152
6a5870ce
PA
1532012-02-21 Pedro Alves <palves@redhat.com>
154 Tom Tromey <tromey@redhat.com>
155
156 * lib/gdb.exp: Add description of test prefixes.
157 (with_test_prefix): New procedure.
158 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
159 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
160 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
161 instead of lappend to append to pf_prefix.
162 * gdb.base/catch-load.exp: Use with_test_prefix.
163 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
164 * gdb.base/jit-so.exp: Use with_test_prefix.
165 * gdb.base/jit.exp: Use with_test_prefix.
166 * gdb.base/return-nodebug.exp (do_test): Use append instead of
167 lappend to append to pf_prefix.
168 * gdb.base/sepdebug.exp: Use with_test_prefix.
169 * gdb.base/solib-display.exp: Use with_test_prefix.
170 * gdb.base/solib-overlap.exp: Use with_test_prefix.
171 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
172 * gdb.base/watchpoint.exp: Use with_test_prefix.
173 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
174 * gdb.mi/mi-watch.exp: Use with_test_prefix.
175 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
176 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
177 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
178 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
179 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
180 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
181 append instead of lappend to append to pf_prefix.
182 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
183 * gdb.trace/change-loc.exp: Use with_test_prefix.
184 * gdb.trace/pending.exp: Use with_test_prefix.
185 * gdb.trace/status-stop.exp: Use with_test_prefix.
186 * gdb.trace/strace.exp: Use with_test_prefix.
187 * gdb.trace/trace-break.exp: Use with_test_prefix.
188 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
189 instead of lappend to append to pf_prefix.
190
35dc4a6b
JK
1912012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
192
193 Fix racy FAILs.
194 * gdb.base/inferior-died.c (main): Add return of 0.
195 * gdb.base/inferior-died.exp (continue): Fix expectation of
196 asynchronous events.
197 (p 1): New test.
198
c5a006e6
PA
1992012-02-20 Pedro Alves <palves@redhat.com>
200
201 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
202 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
203 gdb's internal debug output. For the non-threaded case, look for
204 "Program received signal SIGLARM", for the threaded case, peek at
205 the thread's siginfo.
206
cc51a170
PA
2072012-02-20 Pedro Alves <palves@redhat.com>
208
209 General cleanup, make output test messages unique, and build
210 different executable files for the non-threaded and threaded
211 cases.
212
213 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
214 Delete.
215 (executable_nothr, executable_thr): New globals.
216 (top level): Adjust to delete both executables.
217 (corefunc): New parameter $executable. Set $pf_prefix instead of
218 hand writing a prefix in tests. Issue a clean_restart and enable
219 lin-lwp debug output here.
220 (top level): Adjust. Use build_executable. Don't start gdb here,
221 and don't enable lin-lwp debug output here.
222 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
223
c755f03d
JK
2242012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
225
226 Fix racy FAILs.
227 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
228 "continue" command.
229
6bec5e0a
JK
2302012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
231
232 Fix for gdbserver non-extended mode.
233 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
234 and gdb_run_cmd.
235
2e8265fd
TT
2362012-02-17 Tom Tromey <tromey@redhat.com>
237
238 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
239 * gdb.python/py-events.exp: Check 'dir' output.
240 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
241
9e507076
YQ
2422012-02-17 Yao Qi <yao@codesourcery.com>
243
244 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
245
32d22ab1
TT
2462012-02-16 Tom Tromey <tromey@redhat.com>
247
248 * gdb.base/inferior-died.c: Don't include stdio.h.
249
9addecb9
TT
2502012-02-16 Tom Tromey <tromey@redhat.com>
251
252 * gdb.base/inferior-died.c: New file.
253 * gdb.base/inferior-died.exp: New file.
254
4cb6da1c
AR
2552012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
256
257 * gdb.base/break-inline.exp: New file.
258 * gdb.base/break-inline.c: New file.
259
3af2590d
TT
2602012-02-15 Tom Tromey <tromey@redhat.com>
261
262 * gdb.base/pc-fp.exp: Add "info register" tests.
263
29988831
TT
2642012-02-15 Tom Tromey <tromey@redhat.com>
265
266 * gdb.base/regs.exp: Remove.
267
10010058
PA
2682012-02-15 Pedro Alves <palves@redhat.com>
269
270 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
271 the target doesn't support tracepoints.
272 * gdb.trace/circ.exp: Ditto.
273 * gdb.trace/collection.exp: Ditto.
274 * gdb.trace/packetlen.exp: Ditto.
275 * gdb.trace/passc-dyn.exp: Ditto.
276 * gdb.trace/report.exp: Ditto.
277 * gdb.trace/tfind.exp: Ditto.
278 * gdb.trace/tspeed.exp: Ditto.
279 * gdb.trace/tsv.exp: Ditto.
280 * gdb.trace/unavailable.exp: Ditto.
281 * gdb.trace/while-dyn.exp: Ditto.
282
a2e0062d
PA
2832012-02-15 Pedro Alves <palves@redhat.com>
284
285 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
286 gdb_test_multiple, and call unsupported instead of fail, if the
287 remote side does not support the request.
288
a1999d40
PA
2892012-02-15 Pedro Alves <palves@redhat.com>
290
291 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
292 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
293 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
294 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
295 * gdb.server/server-run.exp: Make sure gdb is disconnected.
296 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
297 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
298 doesn't start with "extended-" already.
299
7cee1e54
PA
3002012-02-15 Pedro Alves <palves@redhat.com>
301
302 Support extended-remote. Avoid cascading timeouts.
303
304 * gdb.base/attach.exp (do_attach_tests): Add expected output for
305 the extended-remote target. If attaching with no file fails, load
306 the file manually.
307 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
308
816338b5
SS
3092012-02-14 Stan Shebs <stan@codesourcery.com>
310
311 * gdb.base/ena-dis-br.exp: Add enable count test.
312
cc30c4bd
PA
3132012-02-13 Pedro Alves <palves@redhat.com>
314
315 * config/mips-idt.exp: Delete.
316 * gdb.base/a2-run.exp: Remove mips-idt xfails.
317 * gdb.base/bitfields.exp: Remove mips-idt restarts.
318 * gdb.base/break.exp: Remove mips-idt references.
319 * gdb.base/chng-syms.exp: Ditto.
320 * gdb.base/default.exp: Ditto.
321 * gdb.base/funcargs.exp (funcargs_reload): Delete.
322 (top level): Don't call it.
323 * gdb.base/opaque.exp: Remove mips-idt restarts.
324 * gdb.base/ptype.exp: Remove mips-idt xfails.
325 * gdb.base/scope.exp: Remove mips-idt restarts.
326 * gdb.base/sepdebug.exp: Remove mips-idt references.
327 * gdb.base/watchpoint.exp (maybe_clean_restart)
328 (maybe_reinitialize): Delete.
329 (test_disabling_watchpoints, test_disabling_watchpoints)
330 (test_watchpoint_triggered_in_syscall)
331 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
332 Don't call them.
333
57008375
JK
3342012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
335
336 * gdb.server/server-exec-info.exp: New file.
337
4a2d9c08
PA
3382012-02-10 Pedro Alves <palves@redhat.com>
339
340 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
341 always non-empty.
342 (test_attach): Always pass $exec to test_attach_gdb.
343
09fa21bd
TT
3442012-02-08 Tom Tromey <tromey@redhat.com>
345
346 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
347 before inferior is started.
348
f0823d2c
TT
3492012-02-07 Tom Tromey <tromey@redhat.com>
350
351 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
352 Symbol.value.
353 * gdb.python/py-symbol.c (qq): Set default value.
354
3552012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
356
357 * gdb.python/py-symbol.c (qq): New global.
358 * gdb.python/py-symbol.exp: Add test for frame-less
359 lookup_symbol.
360 * gdb.python/py-symtab.exp: Fix line number.
361
f7e44f65
JB
3622012-02-03 Joel Brobecker <brobecker@adacore.com>
363
364 * gdb.ada/mi_task_arg: New testcase.
365
4c9ed63c
PA
3662012-02-02 Pedro Alves <palves@redhat.com>
367
368 * gdb.reverse/until-precsave.exp: Also put "record save" under the
369 extended timeout.
370
c0b9f2c6
PA
3712012-02-02 Pedro Alves <palves@redhat.com>
372
373 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
374 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
375
5f8cefd7
PA
3762012-02-02 Pedro Alves <palves@redhat.com>
377
378 * gdb.base/term.exp: Rewrite.
379 * gdb.base/term.c: New.
380
2f3a2569
PA
3812012-02-02 Pedro Alves <palves@redhat.com>
382
383 * gdb.base/default.exp (run "r" abbreviation, run): Add
384 extended-remote expected output.
385
f149aabd
TT
3862012-02-02 Tom Tromey <tromey@redhat.com>
387
388 * gdb.cp/dispcxx.exp: New file.
389 * gdb.cp/dispcxx.cc: New file.
390
03bef283
TT
3912012-02-01 Tom Tromey <tromey@redhat.com>
392
393 * gdb.base/jit-simple.exp: New file.
394 * gdb.base/jit-simple.c: New file.
395
a79b18b5
YQ
3962012-01-30 Yao Qi <yao@codesourcery.com>
397
398 * gdb.base/skip.exp: Make test result unique.
399
f0d1a53e
JK
4002012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
401
402 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
403 compatibility with valgrind-3.7.0.
404
4b3c9f41
PA
4052012-01-27 Pedro Alves <palves@redhat.com>
406
407 * gdb.base/watchpoint.exp (no_hw): New global.
408 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
409 disable hw watchpoints.
410 (test_wide_location_1, test_wide_location_2): If no_hw is set,
411 don't expect hw watchpoints.
412 (no_hw_watchpoints): Always clean restart.
413 (do_tests): New procedure, factored out from the top level.
414 (top level): Run tests twice. Once with hw watchpoints enabled,
415 another time with hw watchpoints disabled.
416
a13491c8
PA
4172012-01-27 Pedro Alves <palves@redhat.com>
418
419 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
420 out from the top level.
421 (top level): Call it instead.
422
f2c8a051
PA
4232012-01-27 Pedro Alves <palves@redhat.com>
424
425 * gdb.base/watchpoint.exp (top level): Re-enable hardware
426 watchpoints sooner.
427
654d7a9e
PA
4282012-01-27 Pedro Alves <palves@redhat.com>
429
430 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
431
274f47f3
PA
4322012-01-27 Pedro Alves <palves@redhat.com>
433
434 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
435 "You may have requested too many hardware
436 breakpoints/watchpoints".
437
e4d63ba2
PA
4382012-01-27 Pedro Alves <palves@redhat.com>
439
440 * gdb.base/watchpoint.exp (maybe_clean_restart)
441 (maybe_reinitialize): New.
442 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
443 expect "hit N times".
444 (test_disabling_watchpoints, test_complex_watchpoint)
445 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
446 Call maybe_clean_restart.
447 (top level): Use clean_restart. Remove "mips-idt-*"
448 reinitialization.
449
dbd95daf
PA
4502012-01-27 Pedro Alves <palves@redhat.com>
451
452 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
453
f3ad2025
PA
4542012-01-27 Pedro Alves <palves@redhat.com>
455
456 * gdb.base/watchpoint.exp: Clean restart after tests that don't
457 require `initialize' anymore. Remove unnecessary `initialize'
458 calls.
459
100aa3ae
PA
4602012-01-27 Pedro Alves <palves@redhat.com>
461
462 * gdb.base/watchpoint.exp (wp_set): Delete.
463 (initialize, test_simple_watchpoint, top level): Remove dead code.
464
c79a8e11
PA
4652012-01-27 Pedro Alves <palves@redhat.com>
466
467 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
468 typo.
469
048fe15a
PA
4702012-01-27 Pedro Alves <palves@redhat.com>
471
472 * config/extended-gdbserver.exp: New file.
473 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
474 comment.
475 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
476 * boards/native-extended-gdbserver.exp: New file.
477
4033a6bf
PA
4782012-01-26 Pedro Alves <palves@redhat.com>
479
480 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
481 and gdb_test_multiple.
482
3d7f4b81
PA
4832012-01-26 Pedro Alves <palves@redhat.com>
484
485 Make test messages unique, and more identifiable.
486 * gdb.multi/watchpoint-multi.exp: Change test messages.
487
484abf42
TT
4882012-01-25 Tom Tromey <tromey@redhat.com>
489
490 * gdb.base/solib-disc.exp: Fix regexps.
491
edcc5120
TT
4922012-01-24 Tom Tromey <tromey@redhat.com>
493
494 * lib/mi-support.exp (mi_expect_stop): Add special case for
495 solib-event.
496 * gdb.base/catch-load-so.c: New file.
497 * gdb.base/catch-load.exp: New file.
498 * gdb.base/catch-load.c: New file.
499 * gdb.base/break-interp.exp (reach_1): Update regexp.
500
30b91c90
JK
5012012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
502
503 Fix fuzzy results.
504 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
505 lpsimple and func.
506
53fe1783
GB
5072012-01-24 Gary Benson <gbenson@redhat.com>
508
509 Delete #if 0'd out code.
510 * gdb.base/default.exp (info catch): Remove.
511 * gdb.base/gdb_history (info catch): Likewise.
512 * gdb.base/help.exp (info catch): Likewise.
513
d0d8b0c6
JK
5142012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
515
516 Fix watchpoints to be specific for each inferior.
517 * gdb.multi/watchpoint-multi.c: New file.
518 * gdb.multi/watchpoint-multi.exp: New file.
519
4403d8e9
JK
5202012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
521
522 Fix watchpoints across inferior fork.
523 * gdb.threads/watchpoint-fork-child.c: New file.
524 * gdb.threads/watchpoint-fork-mt.c: New file.
525 * gdb.threads/watchpoint-fork-parent.c: New file.
526 * gdb.threads/watchpoint-fork-st.c: New file.
527 * gdb.threads/watchpoint-fork.exp: New file.
528 * gdb.threads/watchpoint-fork.h: New file.
529
050a2e1d
PA
5302012-01-23 Pedro Alves <palves@redhat.com>
531
532 * gdb.base/call-signal-resume.exp: Allow output after "return".
533
6a52fb62
PA
5342012-01-20 Pedro Alves <palves@redhat.com>
535
536 * gdb.python/py-finish-breakpoint.py: Fix typo.
537
145b16a9
UW
5382012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
539
540 * gdb.base/info-proc.exp: Also run on remote targets. Main
541 "info proc" command is now always present; whether target supports
542 actual info proc operation is detected when attempting to issue
543 the command.
544
26f6125e
JK
5452012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
546
547 * .gdbinit: Remove.
548
eb5227ce
PA
5492012-01-19 Pedro Alves <palves@redhat.com>
550
551 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
552 look at the funtions' returns.
553 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
554 (jprint.print(int, int)): Change return type to int. Adjust.
555
1db33378
PP
5562012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
557
558 PR gdb/9538
559 * gdb.base/sepdebug.exp: New test.
560
b9736cf8
PA
5612012-01-18 Pedro Alves <palves@redhat.com>
562
563 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
564 Allow output before ^done.
565
4aac40c8
TT
5662012-01-16 Tom Tromey <tromey@redhat.com>
567
568 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
569 Add tests for relative directory.
570
cafec441
TT
5712012-01-16 Tom Tromey <tromey@redhat.com>
572
573 * gdb.base/printcmds.c (enum flag_enum): New.
574 (three): New global.
575 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
576 enum printing.
577 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
578 FlagEnumerationPrinter.
579 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
580 * gdb.python/py-pp-maint.c (enum flag_enum): New.
581 (fval): New global.
582
abcc4978
PA
5832012-01-16 Pedro Alves <palves@redhat.com>
584
585 * lib/gdb.exp (banned_procedures): New variable.
586 (banned_variables_traced): Rename to ...
587 (banned_traced): ... this.
588 (gdb_init): Also trace banned procedures.
589 (gdb_finish): Also untrace banned procedures.
590
97ccebe8
PA
5912012-01-16 Pedro Alves <palves@redhat.com>
592
593 Remove all calls to strace.
594
2af7517b
JK
5952012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
596
597 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
598 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
599
9241a8bc
PP
6002012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
601
602 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
603 * gdb.base/pie-execl.exp: Likewise.
604
3848a17f
KS
6052012-01-12 Keith Seitz <keiths@redhat.com>
606
607 PR mi/10586
608 * gdb.mi/var-cmd.c (struct anonymous): New structure.
609 (do_anonymous_type_tests): New function.
610 (main): Call do_anonymous_type_tests.
611 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
612 (verify_everything): New procedure.
613 * gdb.mi/mi-var-cp.cc (class A): New class.
614 (anonymous_structs_and_unions): New function.
615 (main): Call anonymous_structs_and_unions.
616 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
617 (verify_everything): New procedure.
618
440e2fca
KS
6192012-01-12 Keith Seitz <keiths@redhat.com>
620
621 * lib/mi-support.exp: Expand comments about PATH_EXPR.
622 (varobj_tree::get_path_expr): Assume that all varobjs are
623 compound unless they are known simple types.
624 Adjust path expressions based on parent type, path parent type,
625 and tree language.
626 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
627 the root varobj.
628 (mi_walk_varobj_tree): Add LANGUAGE parameter.
629
675399c9
PA
6302012-01-11 Pedro Alves <palves@redhat.com>
631
632 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
633 core files on this machine" anymore.
634
97ddaa9b
PH
6352012-01-11 Paul Hilfinger <hilfingr@adacore.com>
636
637 * gdb.base/watchpoint.c (recurser): Initialize local_x.
638 (main): Repeat recurser call.
639 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
640 equivalent to 'local_x'.
641
ea733575
PH
6422012-01-11 Paul Hilfinger <hilfingr@adacore.com>
643 Joel Brobecker <brobecker@adacore.com>
644
645 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
646
2ca0b532
PA
6472012-01-05 Pedro Alves <alves.ped@gmail.com>
648
649 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
650 * gdb.python/py-events.c (first): Add bits for new "step N" test.
651 * gdb.python/py-events.exp: Test that "step N" tripping on a
652 breakpoint emits a breakpoint event.
653
6e681866
JB
6542012-01-03 Joel Brobecker <brobecker@adacore.com>
655
656 * gdb.base/auxv.exp: Reformat the copyright notice.
657
3c2d6aff
YQ
6582012-01-03 Yao Qi <yao@codesourcery.com>
659
660 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
661 (strace_trace_on_diff_addr): New.
662 * gdb.trace/strace.c: (main): Add two local variables.
663
0852fee3
UW
6642011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
665
666 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
667 * gdb.cell/gcore.exp: Likewise.
668 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
669 to verify the correct instance of main is selected.
670
12c3e59c
JB
6712012-01-02 Joel Brobecker <brobecker@adacore.com>
672
673 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
674 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
675 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
676 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
677 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
678 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
679 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
680 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
681 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
682 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
683 gdb.threads/thread_check.c: Reformat copyright header.
684
c0f378ec
EBM
6852011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
686
e4a7ca93 687 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
688 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
689 is not enabled.
690
3bc96cfb
JK
6912011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
692
693 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
694 parameter to self_exec, adjust the function.
695 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
696 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
697 (set var do_exit = 0): Remove test.
698 (newline at end of file): Add one.
699
095bcf5e
JB
7002011-12-27 Joel Brobecker <brobecker@adacore.com>
701
702 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
703 New files.
704
18d19bd1
JK
7052011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
706
707 Fix racy FAILs.
708 * gdb.threads/fork-thread-pending.c (barrier): New variable.
709 (thread_function, thread_forker): Call pthread_barrier_wait for it.
710 (main): Call pthread_barrier_init for it.
711
e809353a
JK
7122011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
713
714 Fix double send_gdb leading to racy FAILs.
715 * gdb.base/break.exp (set silent break bp_location1): Replace
716 3x send_gdb and gdb_expect by gdb_test.
717 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
718 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
719 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
720 instead of send_gdb. Twice.
721 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
722 3x send_gdb and gdb_expect by gdb_test.
723 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
724
da8cb7ec
JK
7252011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
726
727 * gdb.linespec/linespec.exp: Compile using {c++}.
728
ae1a303e
JK
7292011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
730
731 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
732 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
733 (verify GCC PR debug/51668): New test.
734
cc72b2a2
KP
7352011-12-23 Kevin Pouget <kevin.pouget@st.com>
736
737 Introduce gdb.FinishBreakpoint in Python.
738 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
739 py-finish-breakpoint2
740 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
741 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
742 instead of line number.
743 * gdb.python/py-finish-breakpoint.c: New file.
744 * gdb.python/py-finish-breakpoint.exp: New file.
745 * gdb.python/py-finish-breakpoint.py: New file.
746 * gdb.python/py-finish-breakpoint2.cc: New file.
747 * gdb.python/py-finish-breakpoint2.exp: New file.
748 * gdb.python/py-finish-breakpoint2.py: New file.
749
3b7962f9
JK
7502011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
751
752 Partial fix of compatibility with gcc-4.7.
753 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
754 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
755 Add comment to add a PASS case in the future.
756
6538471c
JK
757 Fix compatibility with gcc-4.7.
758 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
759
7052e42c
UW
7602011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
761
762 PR tdep/12797
763 * gdb.base/callfuncs.exp: Remove KFAIL.
764
9ac7f98e
JB
7652011-12-21 Joel Brobecker <brobecker@adacore.com>
766
767 * gdb.ada/task_bp: New testcase.
768
f6eeced0
JK
7692011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
770
771 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
772 -DNO_SECTIONS.
773 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
774
72225e17
JK
7752011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
776
777 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
778 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
779 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
780 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
781 conditional for gcc <= 4.5.
782
13ac8d2c
JK
7832011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
784
785 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
786 by XFAIL.
787 * gdb.cp/static-method.exp (info addr A::func())
788 (list static-method.cc:xxx::(anonymous namespace)::A::func)
789 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
790 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
791 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
792 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
793 (test value of F in k3_m): Likewise.
794 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
795 Likewise.
796
049682ba
JK
7972011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
798
799 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
800 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
801 Remove.
802 * gdb.threads/attachstop-mt.c: Remove.
803 * gdb.threads/attachstop-mt.exp: Remove.
804
2c9d8796
MK
8052011-12-17 Mark Kettenis <kettenis@gnu.org>
806
807 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
808
e0f9f062
DE
8092011-12-16 Doug Evans <dje@google.com>
810
f4aa2101 811 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
812 * boards/native-gdbserver.exp: New file.
813
e0f9f062
DE
814 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
815 gdbserver output.
816 (gdbserver_default_get_remote_address): New function.
817 (gdbserver_start): Call gdb,get_remote_address to compute argument
818 to "target remote" command.
819
80b6e756
PM
8202011-12-16 Phil Muldoon <pmuldoon@redhat.com>
821
1c3ad6ab 822 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
823 python print-stack. Add set/show python print-stack
824 off|full|message tests.
825
1576bd00
YQ
8262011-12-15 Yao Qi <yao@codesourcery.com>
827
828 * gdb.trace/strace.c: New
829 * gdb.trace/strace.exp: New.
830
d6a0f6e0
TT
8312011-12-14 Tom Tromey <tromey@redhat.com>
832
833 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
834
31015e1d
DE
8352011-12-14 Doug Evans <dje@google.com>
836
837 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
838
7b50312a
PA
8392011-12-14 Pedro Alves <pedro@codesourcery.com>
840
841 PR threads/10729
842
843 * gdb.mi/watch-nonstop.c: New file.
844 * gdb.mi/mi-watch-nonstop.exp: New file.
845
924437bc
PA
8462011-12-13 Pedro Alves <pedro@codesourcery.com>
847 Doug Evans <dje@google.com>
848
849 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
850 (clean_restart): Remove references to the gdb_stub target board
851 variable.
852 (gdb_step_for_stub): Delete.
853
854 * gdb.base/annota1.exp: Remove all references to [target_info
855 exists gdb_stub], gdb_step_for_stub and usestubs.
856 * gdb.base/annota3.exp: Ditto.
857 * gdb.base/async.exp: Ditto.
858 * gdb.base/break.exp: Ditto.
859 * gdb.base/code-expr.exp: Ditto.
860 * gdb.base/commands.exp: Ditto.
861 * gdb.base/completion.exp: Ditto.
862 * gdb.base/condbreak.exp: Ditto.
863 * gdb.base/consecutive.exp: Ditto.
864 * gdb.base/cvexpr.exp: Ditto.
865 * gdb.base/define.exp: Ditto.
866 * gdb.base/display.exp: Ditto.
867 * gdb.base/ena-dis-br.exp: Ditto.
868 * gdb.base/environ.exp: Ditto.
869 * gdb.base/gnu-ifunc.exp: Ditto.
870 * gdb.base/maint.exp: Ditto.
871 * gdb.base/pending.exp: Ditto.
872 * gdb.base/sect-cmd.exp: Ditto.
873 * gdb.base/sepdebug.exp: Ditto.
874 * gdb.base/unload.exp: Ditto.
875 * gdb.base/watchpoint-solib.exp: Ditto.
876 * gdb.cp/annota2.exp: Ditto.
877 * gdb.cp/annota3.exp: Ditto.
878 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
879 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
880 * gdb.mi/mi-pending.exp: Ditto.
881 * gdb.trace/circ.exp: Ditto.
882 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
883 * gdb.base/list.exp: Ditto.
884
885 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
886 breakpoint function and all references to the usestubs macro.
887 * gdb.base/exprs.c: Ditto.
888 * gdb.base/freebpcmd.c: Ditto.
889 * gdb.base/bitfields.c: Ditto.
890 * gdb.base/bitfields2.c: Ditto.
891 * gdb.base/break.c: Ditto.
892 * gdb.base/call-sc.c: Ditto.
893 * gdb.base/call-signals.c: Ditto.
894 * gdb.base/callfuncs.c: Ditto.
895 * gdb.base/charset.c: Ditto.
896 * gdb.base/consecutive.c: Ditto.
897 * gdb.base/constvars.c: Ditto.
898 * gdb.base/funcargs.c: Ditto.
899 * gdb.base/int-type.c: Ditto.
900 * gdb.base/interrupt.c: Ditto.
901 * gdb.base/langs0.c: Ditto.
902 * gdb.base/list0.c: Ditto.
903 * gdb.base/mips_pro.c: Ditto.
904 * gdb.base/miscexprs.c: Ditto.
905 * gdb.base/nodebug.c: Ditto.
906 * gdb.base/opaque0.c: Ditto.
907 * gdb.base/pointers.c: Ditto.
908 * gdb.base/printcmds.c: Ditto.
909 * gdb.base/ptype.c: Ditto.
910 * gdb.base/recurse.c: Ditto.
911 * gdb.base/reread1.c: Ditto.
912 * gdb.base/reread2.c: Ditto.
913 * gdb.base/restore.c: Ditto.
914 * gdb.base/return.c: Ditto.
915 * gdb.base/run.c: Ditto.
916 * gdb.base/scope0.c: Ditto.
917 * gdb.base/sepdebug.c: Ditto.
918 * gdb.base/setshow.c: Ditto.
919 * gdb.base/setvar.c: Ditto.
920 * gdb.base/sigall.c: Ditto.
921 * gdb.base/signals.c: Ditto.
922 * gdb.base/structs.c: Ditto.
923 * gdb.base/structs2.c: Ditto.
924 * gdb.base/testenv.c: Ditto.
925 * gdb.base/twice.c: Ditto.
926 * gdb.base/unwindonsignal.c: Ditto.
927 * gdb.base/watchpoint.c: Ditto.
928 * gdb.base/watchpoints.c: Ditto.
929 * gdb.base/whatis.c: Ditto.
930 * gdb.cp/classes.cc: Ditto.
931 * gdb.cp/cplusfuncs.cc: Ditto.
932 * gdb.cp/derivation.cc: Ditto.
933 * gdb.cp/formatted-ref.cc: Ditto.
934 * gdb.cp/misc.cc: Ditto.
935 * gdb.cp/overload.cc: Ditto.
936 * gdb.cp/ovldbreak.cc: Ditto.
937 * gdb.cp/ref-params.cc: Ditto.
938 * gdb.cp/ref-types.cc: Ditto.
939 * gdb.cp/templates.cc: Ditto.
940 * gdb.cp/virtfunc.cc: Ditto.
941 * gdb.hp/gdb.aCC/run.c: Ditto.
942 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
943 * gdb.hp/gdb.compat/xdb0.c: Ditto.
944 * gdb.reverse/consecutive-reverse.c: Ditto.
945 * gdb.reverse/sigall-reverse.c: Ditto.
946 * gdb.reverse/until-reverse.c: Ditto.
947 * gdb.reverse/watch-reverse.c: Ditto.
948 * gdb.trace/actions.c: Ditto.
949 * gdb.trace/circ.c: Ditto.
950 * gdb.trace/collection.c: Ditto.
951
fabde485
PA
9522011-12-13 Pedro Alves <pedro@codesourcery.com>
953
954 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
955 (func6, func7): New.
956 (main): Call func6 and func7.
957 * gdb.base/watchpoint.exp (test_wide_location_1)
958 (test_wide_location_2): New.
959 (top level): Re-enable hardware watchpoints if necessary. Call
960 test_wide_location_1 and test_wide_location_2.
961
ff7d1690
YQ
9622011-12-11 Yao Qi <yao@codesourcery.com>
963
964 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
965
a6af7abe
JB
9662011-12-11 Joel Brobecker <brobecker@adacore.com>
967
968 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
969 expected output for unsupported case.
970
61638e15
JK
9712011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
972
973 PR testsuite/12649
974 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
975 Protect gdb_test_multiple by final $gdb_prompt match.
976
0a00efc3
JK
9772011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
978
979 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
980 New variable, new test.
981 (list static-method.cc:xxx::(anonymous namespace)::A::func)
982 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
983 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
984 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
985 them if HAVE_GCC_45682_FIXED is not set.
986
4511b1ba
YQ
9872011-12-10 Yao Qi <yao@codesourcery.com>
988
989 * gdb.trace/status-stop.exp: New.
990 * gdb.trace/status-stop.c: New.
991
27949e73
JK
9922011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
993
994 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
995 timeout.
996
d8ea7931
TT
9972011-12-08 Tom Tromey <tromey@redhat.com>
998
999 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
1000 condition.
1001
1cc310d2
SS
10022011-12-07 Stan Shebs <stan@codesourcery.com>
1003
1004 * gdb.trace/tfind.exp: Update for output changes.
1005
d482a875
PA
10062011-12-07 Pedro Alves <pedro@codesourcery.com>
1007
1008 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
1009 throws "Cannot insert catchpoints in this configuration".
1010 * gdb.ada/mi_catch_ex.exp: Likewise.
1011
f0ba3972
PA
10122011-12-06 Pedro Alves <pedro@codesourcery.com>
1013
1014 * gdb.base/break-always.exp: Test changing memory at addresses
1015 with breakpoints inserted.
1016
f8eba3c6
TT
10172011-12-06 Joel Brobecker <brobecker@acacore.com>
1018
1019 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
1020 involving a fully qualified function name.
1021
10222011-12-06 Tom Tromey <tromey@redhat.com>
1023
1024 * gdb.ada/homonym.exp: Add three breakpoint tests.
1025
10262011-12-06 Tom Tromey <tromey@redhat.com>
1027
1028 * gdb.base/solib-weak.exp (do_test): Remove kfail.
1029 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
1030 * gdb.objc/objcdecode.exp: Update for output changes.
1031 * gdb.linespec/linespec.exp: New file.
1032 * gdb.linespec/lspec.cc: New file.
1033 * gdb.linespec/lspec.h: New file.
1034 * gdb.linespec/body.h: New file.
1035 * gdb.linespec/base/two/thefile.cc: New file.
1036 * gdb.linespec/base/one/thefile.cc: New file.
1037 * gdb.linespec/Makefile.in: New file.
1038 * gdb.cp/templates.exp (test_template_breakpoints): Update for
1039 output changes.
1040 * gdb.cp/re-set-overloaded.exp: Remove kfail.
1041 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
1042 makes one breakpoint.
1043 * gdb.cp/method2.exp (test_break): Update for output changes.
1044 * gdb.cp/mb-templates.exp: Update for output changes.
1045 * gdb.cp/mb-inline.exp: Update for output changes.
1046 * gdb.cp/mb-ctor.exp: Update for output changes.
1047 * gdb.cp/ovsrch.exp: Use fully-qualified names.
1048 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
1049 has multiple matches.
1050 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
1051 error message change.
1052 * gdb.base/list.exp (test_list_filename_and_number): Update for
1053 error message change.
1054 * gdb.base/break.exp: Disable pending breakpoints. Update for
1055 output changes.
1056 * configure.ac: Add gdb.linespec.
1057 * configure: Rebuild.
1058 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
1059
c642a434
UW
10602011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
1061
1062 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
1063 last_break register on s390*-*-* targets.
1064
b18003d1
JB
10652011-12-06 Joel Brobecker <brobecker@adacore.com>
1066
1067 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
1068 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
1069 of parameter X in procedure Foo.
1070
fe96589c
SS
10712011-12-05 Stan Shebs <stan@codesourcery.com>
1072
1073 * gdb.trace/tfind.exp: Update help string matches.
1074
1820ab47
JK
10752011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1076
1077 * gdb.server/ext-run.exp (get process list): Accept also systemd
1078 as PID 1.
1079
e11ac3a3
JK
10802011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1081 Pedro Alves <pedro@codesourcery.com>
1082
1083 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
1084 starting GDB.
1085 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
1086 $use_gdb_stub.
1087 * gdb.base/display.exp: Likewise.
1088 * gdb.base/ending-run.exp: Likewise.
1089 * gdb.base/list.exp (test_listsize): Likewise.
1090 * gdb.base/setshow.exp: Likewise.
1091 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
1092 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
1093 check by global $use_gdb_stub.
1094 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
1095 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
1096 (default_gdb_init): Unset global $use_gdb_stub.
1097 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
1098 by global $use_gdb_stub.
1099 * lib/gdbserver-support.exp: Extend comments for set_board_info
1100 gdb_protocol and gdb,socketport.
1101 (gdbserver_start_extended): Set global gdbserver_protocol and
1102 gdbserver_gdbport. Clear global use_gdb_stub.
1103 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
1104 from target use_gdb_stub.
1105 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
1106
1d41d75c
DE
11072011-12-03 Doug Evans <dje@google.com>
1108
1109 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
1110 (gdb_step_for_stub): Add comments.
1111
d6d7a51a
MR
11122011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
1113
1114 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
1115 to the caller.
1116 (gdb_test_multiple): Likewise.
1117
05acf274
JK
11182011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1119
1120 Fix gdb.mi/mi-solib.exp without system debug info installed.
1121 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
1122 expect attribute, return 0 for it. Update comments.
1123
2268b414
JK
11242011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1125
1126 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
1127 (corrupted list): Adjust the expectation.
1128
585861ea
JK
11292011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1130
1131 PR threads/13448
1132 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
1133 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
1134 * gdb.threads/tls-var-main.c: New file.
1135 * gdb.threads/tls-var.c: New file.
1136 * gdb.threads/tls-var.exp: New file.
1137
968643aa
JK
11382011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1139
1140 PR testsuite/12649
1141 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
1142 Protect gdb_test_multiple by final $gdb_prompt match.
1143 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
1144 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1145 (test_tracepoints): Likewise.
1146
9750bca9
JK
11472011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1148
1149 PR breakpoints/13346
1150 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
1151 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
1152 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
1153
ac1349b7
JB
11542011-12-01 Joel Brobecker <brobecker@adacore.com>
1155
1156 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
1157 * gdb.ada/homonym/homonym.adb: For use of all types defined
1158 locally inside both Get_Value subprograms.
1159
26d44faf
JK
11602011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1161
1162 Fix racy FAILs.
1163 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
1164 of send_gdb.
1165
514f6425
UW
11662011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1167
1168 * gdb.base/testenv.exp: Skip on remote targets. Unset global
1169 environment variable after test completed.
1170
4255c8d2
UW
11712011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1172
1173 * gdb.base/solib-nodir.exp: Skip if remote target.
1174 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
1175 application. Call gdb_load_shlibs.
1176 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
1177
a35ad96a
JB
11782011-11-29 Joel Brobecker <brobecker@adacore.com>
1179
1180 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
1181
1a1d5513
JB
11822011-11-28 Joel Brobecker <brobecker@adacore.com>
1183
1184 * gdb.ada/fullname_bp: New testcase.
1185
50b4ddf8
JK
11862011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1187
1188 PR testsuite/12649
1189 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
1190 Wrap send_gdb into a new gdb_test.
1191
fb0aec57
JK
1192 Code cleanup.
1193 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
1194 Convert send_gdb and gdb_expect to gdb_test_multiple.
1195
2376d946
JK
11962011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1197
1198 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
1199
1eec78bd
KS
12002011-11-23 Keith Seitz <keiths@redhat.com>
1201
1202 * lib/mi-support.exp (varobj_tree): New namespace and procs.
1203 (mi_varobj_tree_test_children_callback): New proc.
1204 (mi_walk_varobj_tree): New proc.
1205
36dfb11c
TT
12062011-11-22 Tom Tromey <tromey@redhat.com>
1207
1208 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
1209 Add "use_mi_command" argument.
1210 (mi_run_cmd, mi_run_with_cli): New procs.
1211 * gdb.mi/solib-lib.c: New file.
1212 * gdb.mi/solib-main.c: New file.
1213 * gdb.mi/mi-solib.exp: New file.
1214
0e965dd0
DE
12152011-11-21 Doug Evans <dje@google.com>
1216
1217 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
1218 _Unwind_DebugHook is missing.
1219
f196051f
SS
12202011-11-20 Stan Shebs <stan@codesourcery.com>
1221
1222 * gdb.trace/tstatus.exp: New.
1223 * gdb.trace/actions.c: Include string.h.
1224
bfccc43c
YQ
12252011-11-18 Yao Qi <yao@codesourcery.com>
1226
1227 * gdb.trace/pending.exp: New.
1228 * gdb.trace/pending.c: New.
1229 * gdb.trace/pendshr1.c: New.
1230 * gdb.trace/pendshr2.c: New.
1231 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
1232 tracepoint location becomes pending.
1233 (tracepoint_change_loc_2): New.
1234
73cd8ab1
DM
12352011-11-16 David S. Miller <davem@davemloft.net>
1236
1237 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
1238 target is sparc*-*-linux*
1239
77426730
PK
12402011-11-15 Paul Koning <paul_koning@dell.com>
1241
1242 * gdb.python/py-type.exp: New testcases for exceptions on scalar
1243 types.
1244
ed59ded5
DE
12452011-11-14 Doug Evans <dje@google.com>
1246
1247 * gdb.base/shell.exp: New file.
1248
405f8e94
SS
12492011-11-14 Stan Shebs <stan@codesourcery.com>
1250
1251 * gdb.trace/ftrace.c: New.
1252 * gdb.trace/ftrace.exp: New.
1253
1e4d1764
YQ
12542011-11-14 Yao Qi <yao@codesourcery.com>
1255
1256 * gdb.trace/change-loc-1.c: New.
1257 * gdb.trace/change-loc-2.c: New.
1258 * gdb.trace/change-loc.c: New.
1259 * gdb.trace/change-loc.exp: New.
1260 * gdb.trace/change-loc.h: New.
1261 * gdb.trace/trace-break.c (marker): Define new symbol.
1262 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
1263 New.
1264 (break_trace_same_addr_6): New.
1265
71eba9c2 12662011-11-12 Matt Rice <ratmice@gmail.com>
1267
1268 * gdb.base/info-macros.exp: Make tests for info definitions
1269 test info macro. Add tests for info macro argument processing.
1270 Rename a few tests.
1271
1d93e29a
KS
12722011-11-11 Keith Seitz <keiths@redhat.com>
1273
1274 PR gdb/12843
1275 * gdb.base/linespecs.exp: New file.
1276
a4b5b48a
DE
12772011-11-11 Doug Evans <dje@google.com>
1278
1279 * gdb.threads/print-threads.exp: Extend timeout for slower
1280 tests.
1281
f6b47be4
DE
12822011-11-10 Doug Evans <dje@google.com>
1283
792a0230
DE
1284 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
1285 "record to end of main" test.
1286
f6b47be4
DE
1287 * gdb.python/py-type.c (TS): New typedef.
1288 (ts): New global.
1289 * gdb.python/py-type.exp: Test field list of typedef.
1290
22355c90
JB
12912011-11-10 Joel Brobecker <brobecker@adacore.com>
1292
1293 * gdb.ada/small_reg_param: New testcase.
1294
a7860e76
TT
12952011-11-09 Tom Tromey <tromey@redhat.com>
1296
1297 * gdb.cp/destrprint.exp: New file.
1298 * gdb.cp/destrprint.cc: New file.
1299
72a2e3dc
MI
13002011-11-08 Meador Inge <meadori@codesourcery.com>
1301
1302 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
1303 (switch_stack_to_other): New test function.
1304 * gdb.arch/thumb-prologue.exp: New test cases.
1305
c7195df2 13062011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
1307
1308 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
1309
d3895d7d
YQ
13102011-11-08 Yao Qi <yao@codesourcery.com>
1311
1312 * gdb.exp (supports_process_record): New.
1313 (supports_reverse): New.
1314 * gdb.reverse/break-precsave.exp: Call support_process_record
1315 to run test conditionally.
1316 * gdb.reverse/consecutive-precsave.exp: Likewise.
1317 * gdb.reverse/i386-precsave.exp: Likewise.
1318 * gdb.reverse/machinestate-precsave.exp: Likewise.
1319 * gdb.reverse/solib-precsave.exp: Likewise.
1320 * gdb.reverse/step-precsave.exp: Likewise.
1321 * gdb.reverse/until-precsave.exp: Likewise.
1322 * gdb.reverse/watch-precsave.exp: Likewise.
1323 * gdb.reverse/break-reverse.exp: Call support_reverse to run
1324 test conditionally.
1325 * gdb.reverse/consecutive-reverse.exp: Likewise.
1326 * gdb.reverse/finish-precsave.exp: Likewise.
1327 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1328 * gdb.reverse/finish-reverse.exp: Likewise.
1329 * gdb.reverse/i386-reverse.exp: Likewise.
1330 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1331 * gdb.reverse/machinestate.exp: Likewise.
1332 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
1333 * gdb.reverse/sigall-precsave.exp: Likewise.
1334 * gdb.reverse/sigall-reverse.exp: Likewise.
1335 * gdb.reverse/solib-reverse.exp: Likewise.
1336 * gdb.reverse/step-reverse.exp: Likewise.
1337 * gdb.reverse/until-reverse.exp: Likewise.
1338 * gdb.reverse/watch-reverse.exp: Likewise.
1339
a59306a3
YQ
13402011-11-05 Yao Qi <yao@codesourcery.com>
1341
1342 * gdb.trace/trace-break.exp: Add test on setting two
1343 fast tracepoints at the same address.
1344
87769f59
JK
13452011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1346
1347 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
1348
3065dfb6
SS
13492011-11-02 Stan Shebs <stan@codesourcery.com>
1350
1351 * gdb.trace/collection.c: Add code using strings.
1352 * gdb.trace/collection.exp: Add tests of string collection.
1353
89e208db
JK
13542011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1355
1356 * gdb.base/skip-solib.exp (executable_main): New variable.
1357 (binfile_main): Base it on that.
1358 Use $executable_main in clean_restart calls. Drop gdb_exit and
1359 gdb_start calls.
1360
405e54e9
JK
13612011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1362
1363 Fix racy FAILs.
1364 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
1365 breakpoint_re globals import by async. Set string_regex to .* for
1366 async. Remove the optional thread_selected_re and breakpoint_re
1367 globals expectations.
1368
58e8570a
JM
13692011-11-01 Joseph Myers <joseph@codesourcery.com>
1370
1371 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
1372 well as Cygwin.
1373
7b35ec7f 13742011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
1375
1376 Add tests for skip command.
89e208db
JK
1377 * gdb.base/skip-solib-lib.c: New
1378 * gdb.base/skip-solib-main.c: New
1379 * gdb.base/skip-solib.exp: New
1380 * gdb.base/skip.c: New
1381 * gdb.base/skip.exp: New
1382 * gdb.base/skip1.c: New
1383 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 1384
b9fd1791
PA
13852011-10-31 Yao Qi <yao@codesourcery.com>
1386 Pedro Alves <pedro@codesourcery.com>
1387
1388 * gdb.trace/trace-break.c: New.
1389 * gdb.trace/trace-break.exp: New.
1390
4323fecc
JK
13912011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1392
1393 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
1394 break-here-2.
1395
0e5bf2a8
PA
13962011-10-28 Pedro Alves <pedro@codesourcery.com>
1397
1398 * gdb.threads/no-unwaited-for-left.c: New.
1399 * gdb.threads/no-unwaited-for-left.exp: New.
1400 * gdb.threads/non-ldr-exc-1.c: New.
1401 * gdb.threads/non-ldr-exc-1.exp: New.
1402 * gdb.threads/non-ldr-exc-2.c: New.
1403 * gdb.threads/non-ldr-exc-2.exp: New.
1404 * gdb.threads/non-ldr-exc-3.c: New.
1405 * gdb.threads/non-ldr-exc-3.exp: New.
1406 * gdb.threads/non-ldr-exc-4.c: New.
1407 * gdb.threads/non-ldr-exc-4.exp: New.
1408
3a3dad98
JK
14092011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1410
1411 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
1412 * gdb.base/attach-pie-misread.exp: Likewise.
1413 * gdb.base/break-interp.exp: Likewise.
1414 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
1415 testcases for use_gdb_stub.
1416 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
1417 (continue): New testcase.
1418 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
1419 * gdb.threads/attach-into-signal.exp: Likewise.
1420 * gdb.threads/attach-stopped.exp: Likewise.
1421 * gdb.threads/attachstop-mt.exp: Likewise.
1422
d6a5d40c
PK
14232011-10-28 Paul Koning <paul_koning@dell.com>
1424
1425 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
1426
ca539be8
JK
14272011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1428
1429 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
1430 (mi_gdb_test): Import globals thread_selected_re
1431 and breakpoint_re. Expect them optionally at the regex start.
1432
d234ef5c
DE
14332011-10-27 Doug Evans <dje@google.com>
1434
1435 * gdb.python/python.exp: Test source -s.
1436
ab964825
PK
14372011-10-26 Paul Koning <paul_koning@dell.com>
1438
1439 * gdb.python/lib-types.cc (struct A): New structure.
1440 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 1441
54d8a644
PK
14422011-10-25 Paul Koning <paul_koning@dell.com>
1443
1444 PR python/13327
d234ef5c 1445
54d8a644
PK
1446 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
1447 fetch_lazy method.
1448
b0221781
YQ
14492011-10-24 Yao Qi <yao@codesourcery.com>
1450
1451 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
1452 target is tic6x-*-*.
1453
6cda5a20
JB
14542011-10-21 Joel Brobecker <brobecker@adacore.com>
1455
1456 * gdb.ada/mi_task_info/task_switch.adb: New file.
1457 * gdb.ada/mi_task_info.exp: New file.
1458
5ed9db04
JK
14592011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1460
1461 * gdb.cp/expand-psymtabs-cxx.exp: New file.
1462 * gdb.cp/expand-psymtabs-cxx.cc: New file.
1463
9df2fbc4
PM
14642011-10-20 Phil Muldoon <pmuldoon@redhat.com>
1465
1466 PR python/12656
1467
1468 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
1469 global_block tests.
1470
736086ba
TT
14712011-10-18 Tom Tromey <tromey@redhat.com>
1472
1473 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
1474
4af31552
TT
14752011-10-18 Tom Tromey <tromey@redhat.com>
1476
1477 * gdb.base/source.exp: Don't include full file name in test name.
1478 * gdb.python/python.exp: Don't include full file name in test
1479 name.
1480
43136979
AR
14812011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1482
1483 * gdb.base/attach-pie-noexec.c: New files.
1484 * gdb.base/attach-pie-noexec.exp: New files.
1485
543a9323
JM
14862011-10-17 Joseph Myers <joseph@codesourcery.com>
1487
1488 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
1489 prompt for each extra line in command.
1490
21ae7a4d
JK
14912011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1492
1493 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
1494 Revert the part of:
1495 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1496 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1497 Change the expected string.
1498
20ec36d9
JK
14992011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1500
1501 Fix results with system glibc debug info installed.
1502 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
1503 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
1504 Accept also __libc_ symbol prefix and no prefix.
1505
6501c2fc
KS
15062011-10-14 Keith Seitz <keiths@redhat.com>
1507
1508 PR c++/13225
1509 * gdb.cp/converts.cc (foo3_1): New function.
1510 (foo3_2): New functions.
1511 * gdb.cp/converts.exp: Add tests for int to pointer conversion
1512 and null pointer conversions of integer constant zero.
1513 Add test to check if all arguments are checked for incompatible
1514 conversion BADNESS.
1515
55b1fd0c
TT
15162011-10-14 Tom Tromey <tromey@redhat.com>
1517
1518 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
1519 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
1520 linespec.
1521
22c05d8a
JK
15222011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1523
1524 Fix internal error regression.
1525 * gdb.dwarf2/implptr-optimized-out.S: New file.
1526 * gdb.dwarf2/implptr-optimized-out.exp: New file.
1527
1d6edc3c
JK
15282011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1529
1530 Fix empty DWARF expressions DATA vs. SIZE conditionals.
1531 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
1532 (loclist): New.
1533 (4): New abbrev.
1534 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
1535 Use prepare_for_testing, remove clean_restart.
1536 (p arraynoloc, p arraycallnoloc): New tests.
1537
9ec72168
JK
15382011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1539
1540 * gdb.cp/namespace-enum.exp (executable): New variable.
1541 (binfile): Use ${objdir}/${subdir}/ prefix.
1542 Use ${executable} for clean_restart.
1543
9c6c53f7
SA
15442011-10-11 Sterling Augustine <saugustine@google.com>
1545
1546 * gdb.cp/Makefile.in: Add namespace-enum test.
1547 * gdb.cp/namespace-enum.exp: New file.
1548 * gdb.cp/namespace-enum.c: New file.
1549 * gdb.cp/namespace-enum-main.c: New file.
1550
fac7ceb3
UW
15512011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
1552
1553 * gdb.python/py-shared.exp: Relax filename check to handle remote:
1554 sysroot.
1555
941b2081
JK
15562011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1557
1558 Reimplement @entry in input expressions.
1559 * gdb.base/exprs.c (v_int_array_init): New variable.
1560 * gdb.base/exprs.exp (print v_int_array_init)
1561 (print *v_int_array_init@1, print *v_int_array_init@2)
1562 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
1563 (print v_int_array_init[1]@1): New tests.
1564
0344e878
JM
15652011-10-10 Joseph Myers <joseph@codesourcery.com>
1566
1567 * gdb.cp/gdb2495.exp: Do not include directories in filename in
1568 expected message.
1569
5a56e9c5
DE
15702011-10-09 Doug Evans <dje@google.com>
1571
1572 * gdb.base/alias.exp: Add tests for alias command.
1573
2bda9cc5
JK
15742011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1575
1576 * gdb.arch/amd64-entry-value.s: New file.
1577 * gdb.mi/mi2-amd64-entry-value.s: New file.
1578
a471c594
JK
15792011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1580
1581 Display @entry parameter values even for references.
1582 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
1583 functions.
1584 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
1585 reference and datap_input.
1586 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
1587 breakpoints.
1588 (continue to breakpoint: entry_reference: reference)
1589 (entry_reference: bt at entry)
1590 (continue to breakpoint: entry_reference: breakhere_reference)
1591 (entry_reference: bt, entry_reference: ptype regparam)
1592 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
1593 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
1594 (entry_reference: p regcopy, entry_reference: p nodataparam)
1595 (entry_reference: p nodataparam@entry): New tests.
1596
36b11add
JK
15972011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1598
1599 Support @entry in input expressions.
1600 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
1601 (entry_stack: p s1@entry, entry_stack: p s2@entry)
1602 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
1603 (tailcall: p j@entry): New tests.
1604 * gdb.cp/koenig.cc (A::entry): New function.
1605 (main): Call it.
1606 * gdb.cp/koenig.exp (p entry (c)): New test.
1607
e18b2753
JK
16082011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1609
1610 Display @entry parameter values (without references).
1611 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
1612 (different, validity, invalid): New functions.
1613 (main): Call them.
1614 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
1615 stacktest, breakhere_stacktest, different, breakhere_different,
1616 breakhere_validity and breakhere_invalid.
1617 (entry: bt): Update for @entry.
1618 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
1619 (entry_validity: *, entry_invalid: *): Many new tests.
1620 * gdb.base/break.exp
1621 (run until breakpoint set at small function, optimized file): Accept
1622 also the @entry suffix.
1623 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
1624 * gdb.mi/mi2-amd64-entry-value.c: New files.
1625 * gdb.mi/mi2-amd64-entry-value.exp: New files.
1626
2d6c5dc2
JK
16272011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1628
1629 Protect entry values against self tail calls.
1630 * gdb.arch/amd64-entry-value.cc (self2, self): New.
1631 (main): Call self.
1632 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
1633 (set debug entry-values 1, self: bt debug entry-values): New tests.
1634
111c6489
JK
16352011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1636
1637 Recognize virtual tail call frames.
1638 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
1639 (amb_b, amb_a): New.
1640 (main): Call a and b.
1641 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
1642 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
1643 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
1644 New tests.
1645
8e3b41a9
JK
16462011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1647
1648 Implement basic support for DW_TAG_GNU_call_site.
1649 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
1650 * gdb.arch/amd64-entry-value.cc: New file.
1651 * gdb.arch/amd64-entry-value.exp: New file.
1652
181cebd4
JK
16532011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1654
1655 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
1656 * gdb.dwarf2/implptr-64bit.S: New file.
1657 * gdb.dwarf2/implptr-64bit.exp: New file.
1658
741f5e3c
JK
16592011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1660
1661 Fix initial language detection with -readnow.
1662 * gdb.cp/readnow-language.cc: New file.
1663 * gdb.cp/readnow-language.exp: New file.
1664
a73d2258
JK
16652011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1666
1667 Fix printed anonymous struct name.
1668 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
1669
af369495
JM
16702011-10-09 Joseph Myers <joseph@codesourcery.com>
1671
1672 * gdb.base/solib-symbol.exp: Do not include directories in
1673 filenames in expected messages.
1674
1fa57852
DE
16752011-10-07 Doug Evans <dje@google.com>
1676
1677 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
1678
bd054e06
KP
16792011-10-07 Kevin Pouget <kevin.pouget@st.com>
1680
1681 Allow Python notification of new object-file loadings.
1682 * gdb.python/py-events.exp: Test newobjfile event.
1683 * gdb.python/py-events.py: Register newobjfile callback.
1684 * gdb.python/py-events.c: Add call to shared library
1685 * gdb.python/py-events-shlib.c: New file.
1686
8031b6f8
JM
16872011-10-06 Joseph Myers <joseph@codesourcery.com>
1688
1689 * gdb.base/fixsection.exp: Do not include directories in filename
1690 in expected message.
1691
7fea6923
PM
16922011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
1693
1694 Add tests for passing of environment variables to inferior.
1695 * gdb.base/testenv.c: New test source.
1696 * gdb.base/testenv.exp: New expect test.
1697
687f2a88
PK
16982011-10-04 Paul Koning <paul_koning@dell.com>
1699
1700 * gdb.python/py-value.c (main): Break before return.
1701
cb6be26b
KP
17022011-10-04 Kevin Pouget <kevin.pouget@st.com>
1703
1704 PR python/12691: Add the inferior to Python exited event
1705 * gdb.python/py-events.exp: Test the inferior attribute of exited
1706 event with a fork.
1707 * gdb.python/py-events.py: Print inferior number on exit.
1708 * gdb.python/py-events.c: Fork the inferior.
1709
fb213700
EBM
17102011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1711
1712 * gdb.base/jit.exp: Add testcase name to log message
1713
aa2071bd
PK
17142011-10-03 Paul Koning <paul_koning@dell.com>
1715 Jan Kratochvil <jan.kratochvil@redhat.com>
1716
1717 * gdb.python/py-value.exp
1718 (python inval = gdb.parse_and_eval('*(int*)0'))
1719 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
1720 (set argc=2, python print argc_lazy): New tests.
1721
dd11a36c
JB
17222011-10-02 Joel Brobecker <brobecker@adacore.com>
1723
1724 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
1725
46f886f1
JK
17262011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1727 Pedro Alves <pedro@codesourcery.com>
1728
1729 * gdb.python/py-value.exp (test_value_in_inferior): New variable
1730 can_read_0, test for it.
1731 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
1732 (parse_and_eval with memory error): ... here, make it untested if
1733 can_read_0.
1734
c5cb204f
MP
17352011-09-30 Marek Polacek <mpolacek@redhat.com>
1736
1737 * gdb.python/python.exp (verify pagination beforehand)
1738 (verify pagination afterwards): Fix race by splitting the line.
1739
68fb0ec0
JM
17402011-09-29 Joseph Myers <joseph@codesourcery.com>
1741
1742 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
1743 for 64-bit multilibs from i?86-* targets.
1744
6aee0d90
MP
17452011-09-29 Marek Polacek <mpolacek@redhat.com>
1746
1747 * lib/gdb.exp: Fix a typo in one of the comments.
1748
e9101ff5
MP
17492011-09-29 Marek Polacek <mpolacek@redhat.com>
1750
1751 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
1752 matching pattern.
1753
7a81bdbf
PK
17542011-09-28 Paul Koning <paul_koning@dell.com>
1755
1756 * gdb.python/py-type.c (enum E): New.
1757 * gdb.python/py-type.exp (test_fields): Add tests for Python
1758 mapping access to fields.
1759 (test_enums): New test for field access on enums.
1760
6710bf39
SS
17612011-09-27 Stan Shebs <stan@codesourcery.com>
1762
1763 * gdb.trace/collection.exp: Test collection of $_ret.
1764
b2a6bdeb
AT
17652011-09-22 Andreas Tobler <andreast@fgznet.ch>
1766
1767 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
1768 list of compilation switches for <*-*-freebsd*>.
1769
3c9057f3
SS
17702011-09-19 Stan Shebs <stan@codesourcery.com>
1771
1772 * gdb.trace/tspeed.exp: New file.
1773 * gdb.trace/tspeed.c: New file.
1774
34518530
YQ
17752011-09-18 Yao Qi <yao@codesourcery.com>
1776
1777 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
1778 instructions.
1779 (test_adr_32bit, test_pop_pc): Likewise.
1780 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
1781 Thumb instructions.
1782 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
1783 in gdb_test_multiple.
1784 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
1785
ab254057
YQ
17862011-09-17 Yao Qi <yao@codesourcery.com>
1787
1788 * lib/gdb.exp (can_single_step_to_signal_handler): New.
1789 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
1790 support single step to signal handler.
1791
9c317b71
YQ
17922011-09-17 Yao Qi <yao@codesourcery.com>
1793
1794 * gdb.base/disp-step-fork.c: New.
1795 * gdb.base/disp-step-syscall.exp: New.
1796 * gdb.base/disp-step-vfork.c: New.
1797
a8123151
JB
17982011-09-16 Joel Brobecker <brobecker@adacore.com>
1799
1800 * gdb.ada/tasks.exp: Make the expected output for
1801 the `info tasks' tests more resilient to spacing
1802 changes.
1803
63a9aad8
JK
18042011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1805
1806 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
1807 (reached breakpoint 2, reached breakpoint 3): Update expected output.
1808
2aa48337
KP
18092011-09-15 Kevin Pouget <kevin.pouget@st.com>
1810
1811 PR Python/12692 Add gdb.selected_inferior() to Python interface.
1812 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
1813
6839b47f
KP
18142011-04-30 Kevin Pouget <kevin.pouget@st.com>
1815
1816 Handle multiple breakpoint hits in Python interface:
1817 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
1818 presence.
1819 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
1820 breakpoint hits.
1821
0935723e
JK
18222011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1823 Jan Kratochvil <jan.kratochvil@redhat.com>
1824
1825 * gdb.python/py-events.exp: Remove pretty printing comment.
1826 * gdb.python/py-evsignal.exp: New file.
1827 * gdb.python/py-evthreads.c: Include signal.h.
1828 (thread3): Remove variable count3. Remove variable bad and use raise
1829 instead.
1830 (thread2): Remove variable count2. Move thread3 pthread_create here,
1831 merge pthread_join to a single line.
1832 (main): Remove variable count1. Merge pthread_join with pthread_create
1833 to a single line.
1834 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
1835 KFAIL python/12966 for gdbserver. Test return value of
1836 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
1837 gdb_expect by gdb_test and gdb_test_multiple.
1838 (thread 2, thread 3): New tests.
1839
4801a9a3
PA
18402011-09-12 Matt Rice <ratmice@gmail.com>
1841 Pedro Alves <pedro@codesourcery.com>
1842
1843 PR gdb/13175
1844
1845 * gdb.base/interp.exp: New tests.
1846 * gdb.base/interp.c: New file.
1847
24ece742
DE
18482011-09-12 Doug Evans <dje@google.com>
1849
1850 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
1851 * gdb.dwarf2/typeddwarf.exp: Ditto.
1852
7f062217
JK
18532011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1854
1855 Fix compatibility with x32 arch.
1856 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
1857 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
1858 is_x86_like_target.
1859 * testsuite/gdb.trace/collection.exp: Likewise.
1860 * testsuite/gdb.trace/report.exp: Likewise.
1861 * testsuite/gdb.trace/unavailable.exp: Likewise.
1862 * testsuite/gdb.trace/while-dyn.exp: Likewise.
1863 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
1864 (is_x86_like_target): Check also is_amd64_regs_target.
1865
08711b9a
JK
18662011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1867
1868 PR breakpoints/12435
1869 * gdb.arch/amd64-prologue-xmm.c: New file.
1870 * gdb.arch/amd64-prologue-xmm.exp: New file.
1871 * gdb.arch/amd64-prologue-xmm.s: New file.
1872
b99b5f66
JK
18732011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1874
1875 * gdb.dwarf2/dw2-param-error-main.c: New file.
1876 * gdb.dwarf2/dw2-param-error.S: New file.
1877 * gdb.dwarf2/dw2-param-error.exp: New file.
1878
a391a2f6
PA
18792011-09-08 Pedro Alves <pedro@codesourcery.com>
1880
1881 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
1882 inferior's pid and look for a core dump named core.$pid. Use
1883 `remote_file' commands on the host instead of hand coding shell
1884 commands on the build.
1885 * gdb.base/valgrind-db-attach.exp: Kill the program before
1886 finishing the test.
1887
7d8e6458 18882011-09-02 Matt Rice <ratmice@gmail.com>
1889
1890 * lib/prompt.exp: New file for testing the first prompt.
1891 * gdb.python/py-prompt.exp: Ditto.
1892 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
1893
68e77c9e
PA
18942011-09-02 Pedro Alves <pedro@codesourcery.com>
1895
1896 * gdb.threads/gcore-thread.exp: Set the global core_supported to
1897 0, before testing gcore.
1898
9655e943
JK
18992011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1900
df6dc84d
JK
1901 * dw2-ifort-parameter-debug.S: Update copyright year.
1902 * dw2-ifort-parameter.c: Update copyright year.
1903 * dw2-ifort-parameter.exp: Update copyright year.
1904
9655e943
JK
1905 * dw2-ifort-parameter-debug.S: New file.
1906 * dw2-ifort-parameter.c: New file.
1907 * dw2-ifort-parameter.exp: New file.
1908
353d1d73
JK
19092011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1910
1911 * gdb.base/commands.exp (error_clears_commands_left): New function.
1912 (): Call it.
1913
5c07461a
JK
19142011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1915
1916 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
1917 (C): Initialize `a'.
1918 * gdb.mi/mi-inheritance-syntax-error.exp
1919 (-data-evaluate-expression $path): Expect `a' as 5.
1920
0d932b2f
MK
19212011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
1922
1923 PR mi/11912
1924 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
1925 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
1926 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
1927 keyword in output of -var-info-path-expression.
1928
bdb54049
JK
19292011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1930
1931 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
1932 * gdb.trace/collection.exp: Likewise.
1933 * gdb.trace/report.exp: Likewise.
1934 * gdb.trace/unavailable.exp: Likewise.
1935 * gdb.trace/while-dyn.exp: Likewise.
1936
59cde39c
KS
19372011-08-18 Keith Seitz <keiths@redhat.com>
1938
1939 PR c++/12266
1940 * gdb.cp/meth-typedefs.cc: New file.
1941 * gdb.cp/meth-typedefs.exp: New file.
1942
fa3a4f15
PM
19432011-08-17 Phil Muldoon <pmuldoon@redhat.com>
1944
1945 * gdb.python/python.exp: Add extended-prompt tests.
1946
c1049fca
JK
19472011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1948
1949 * gdb.arch/i386-dr3-watch.exp
1950 (watchpoint on gap1 does not fit debug registers)
1951 (delete all watchpoints): Fix racy expect strings.
1952
d93f7b5c
YQ
19532011-08-14 Yao Qi <yao@codesourcery.com>
1954
1955 * gdb.base/maint.exp: set data_section to ".neardata".
1956 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
1957 * gdb.base/savedregs.exp: Handle SIGILL.
1958 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
1959 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
1960
457e09f0
DE
19612011-08-12 Doug Evans <dje@google.com>
1962
1963 * gdb.python/py-symbol.exp: Add test for symbol.type.
1964
5d0bb2fb
UW
19652011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
1966
1967 * gdb.threads/pthreads.exp: Enable on non-native configurations.
1968 * gdb.mi/mi-pthreads.exp: Likewise.
1969 * gdb.mi/mi2-pthreads.exp: Likewise.
1970 * gdb.mi/gdb669.exp.exp: Likewise.
1971
fcdfa280
PA
19722011-08-09 Pedro Alves <pedro@codesourcery.com>
1973
1974 * lib/mi-support.exp (detect_async): Rename to...
1975 (mi_detect_async): ... this.
1976 * gdb.mi/mi-nonstop-exit.exp: Adjust.
1977 * gdb.mi/mi-nonstop.exp: Adjust.
1978 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
1979 * gdb.mi/mi-nsintrall.exp: Adjust.
1980 * gdb.mi/mi-nsmoribund.exp: Adjust.
1981 * gdb.mi/mi-nsthrexec.exp: Adjust.
1982
9d8fa392
PA
19832011-08-09 Pedro Alves <pedro@codesourcery.com>
1984
1985 * gdb.base/display.c (do_loops): New `p_i' local.
1986 * gdb.base/display.exp: Test displaying a variable that is
1987 temporarily at a bad address.
1988
b6cede78
JK
19892011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1990
1991 * gdb.dwarf2/dw2-op-stack-value.S: New file.
1992 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
1993
67bedb8c
JK
19942011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1995
1996 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
1997 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
1998 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 1999
af6e93b2
PA
20002011-08-05 Pedro Alves <pedro@codesourcery.com>
2001
2002 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
2003 procedure.
2004 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
2005
1cf0e11f
YQ
20062011-08-05 Yao Qi <yao@codesourcery.com>
2007
2008 * gdb.base/callfuncs.exp: Set language after main.
2009 * gdb.cp/cplusfuncs.exp: Likewise.
2010 * gdb.cp/inherit.exp: Likewise.
2011
a1e28cb2
UW
20122011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2013
2014 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
2015 * gdb.base/watch-vfork.exp: Skip on remote targets.
2016
d4f5bbb9
UW
20172011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2018
2019 * gdb.threads/thread-find.exp: Support remote targets.
2020
724f4f80
UW
20212011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2022
2023 * gdb.base/jit.exp: Download solib_binfile to target.
2024 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
2025 and call dlopen without full path name.
2026 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
2027 dlopen without full path name.
2028
934709f0
PW
20292011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2030
2031 * gdb.base/break-always.exp: Complete the test
2032 with duplicated breakpoints and enabling/disabling them.
2033
c26106c4
TT
20342011-08-02 Tom Tromey <tromey@redhat.com>
2035
2036 PR gdb/11289:
2037 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
2038
9300444e 20392011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
2040
2041 PR gdb/13045
2042 * gdb.base/float.exp: Add new test case for PR gdb/13045
2043 * gdb.base/float.c: New file.
2044
00bd41d6
PM
20452011-07-28 Phil Muldoon <pmuldoon@redhat.com>
2046
2047 * gdb.python/py-mi.exp: Test printers returning string hint, and
2048 also not returning a value.
2049 * gdb.python/py-prettyprint.c: Add testcase for above.
2050 * gdb.python/py-prettyprint.py: Add test printer for above.
2051
d24f74ce
JK
20522011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2053
2054 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
2055 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
2056 (.Ldie30) Add as field "data4".
2057 (.Ldie32) Rename field "b" to "shl".
2058 (abbrev4) Change for the "data4" field.
2059 (abbrev5, abbrev6) Remove.
2060 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
2061 (p &s.shl): ... here. Add comment.
2062 (p &s.data4): New.
2063
bb7da2bf
JK
20642011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2065
2066 Fix crash on lval_computed values.
2067 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
2068
11081198
JK
20692011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2070
2071 * gdb.base/help.exp (help whatis): Update the expected string.
2072
3c6e0cb3
JK
20732011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2074
2075 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
2076 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
2077 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
2078 Change the expected string.
2079
efa80663
PA
20802011-07-26 Pedro Alves <pedro@codesourcery.com>
2081
2082 * gdb.base/watchpoint.exp
2083 (test_disable_enable_software_watchpoint): New procedure.
2084 (top level): Run it.
2085
db8e4570
UW
20862011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
2087
2088 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
2089 executable file "${binfile}", C++ version "${binfile}-cxx".
2090 * gdb.python/py-prettyprint.exp: Likewise.
2091 * gdb.python/py-symbol.exp: Likewise.
2092 * gdb.python/py-type.exp: Likewise.
2093 * gdb.python/py-value.exp: Likewise.
2094 * gdb.python/py-template.exp (test_template_arg): Pass full executable
2095 file name instead of just suffix.
2096
543305c9
JK
20972011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2098
2099 Fix implicit pointer offsets.
2100 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
2101 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
2102 (continue to breakpoint: continue to baz breakpoint for implptr)
2103 (sanity check element 0, sanity check element 1)
2104 (enter the inlined function, check element 0 for the offset)
2105 (check element 1 for the offset)
2106 (continue to breakpoint: ignore the second baz breakpoint): New tests.
2107 (set foo breakpoint for implptr): Update the breakpoint number.
2108
b3215adc
UW
21092011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2110
2111 * gdb.python/py-mi.exp: Use different file names for different
2112 versions of the executable under test.
2113 * gdb.python/py-prettyprint.exp: Likewise.
2114 * gdb.python/py-symbol.exp: Likewise.
2115 * gdb.python/py-template.exp: Likewise.
2116 * gdb.python/py-type.exp: Likewise.
2117 * gdb.python/py-value.exp: Likewise.
2118
182b9acc
UW
21192011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2120
2121 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
2122 flag after restarting GDB if necessary.
2123
e6052b5d
UW
21242011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2125
2126 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
2127
1ced966e
PA
21282011-07-22 Pedro Alves <pedro@codesourcery.com>
2129
2130 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
2131 backend doesn't leave used debug registers behind.
2132
3543a589
TT
21332011-07-22 Tom Tromey <tromey@redhat.com>
2134
2135 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
2136 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
2137 argument.
2138 * gdb.dwarf2/typeddwarf-amd64.S: New file.
2139
14d15303 21402011-07-21 Matt Rice <ratmice@gmail.com>
2141
2142 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
2143 in mostlyclean rule. Add files ending in .core.
2144
9b158ba0 21452011-07-21 Matt Rice <ratmice@gmail.com>
2146
2147 PR macros/12999
2148 * gdb.base/info-macros.c: New test sources.
2149 * gdb.base/info-macros.exp: New tests.
2150
d17b6f81
PM
21512011-07-21 Phil Muldoon <pmuldoon@redhat.com>
2152
2153 * gdb.python/python.exp: Add prompt substitution tests.
2154
918dd910
JK
21552011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2156
2157 Fix crash if referenced CU is aged out.
2158 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
2159 New.
2160 * gdb.dwarf2/implptr.exp: Likewise.
2161
0e37a63c
JK
21622011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2163
2164 * gdb.dwarf2/implptr.S: Rebuilt.
2165 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
2166 (bar): Use them for j, k, l.
2167 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
2168 COMPILE.
2169 (print j in implptr:bar): Update for the intp typedef.
2170 (print p[0].x in implptr:foo): Use more exact regex.
2171
f65cf84c
TT
21722011-07-18 Tom Tromey <tromey@redhat.com>
2173
2174 * gdb.cp/static-method.exp: Add missing single quote.
2175
d5b4a7be
YQ
21762011-07-18 Yao Qi <yao@codesourcery.com>
2177
2178 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
2179 supported.
2180 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2181 * gdb.mi/mi-nonstop.exp: Likewise.
2182 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2183 * gdb.mi/mi-nsintrall.exp: Likewise.
2184 * gdb.mi/mi-nsmoribund.exp: Likewise.
2185 * gdb.mi/mi-nsthrexec.exp: Likewise.
2186 * gdb.python/py-evthreads.exp: Likewise.
2187
e9ea2662
JK
21882011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2189
2190 Code cleanup.
2191 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
2192 it. Substitute it instead of test_compiler_info everywhere.
2193
ce451573
UW
21942011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2195
2196 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
2197 remote targets as well.
2198
756d88a7
UW
21992011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2200
2201 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
2202 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
2203
31f83dc5
UW
22042011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2205
2206 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
2207 a remote machine, not the host.
2208 (gdb_compile_shlib): Set soname if target is remote.
2209
059241a0
PP
22102011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2211
2212 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
2213
28a0b48c 22142011-07-13 Matt Rice <ratmice@gmail.com>
2215
2216 * gdb.python/py-objfile-script-gdb.py: Renamed to
2217 py-objfile-script-gdb.py.in.
2218 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
2219 py-objfile-script-gdb.py.
2220 * gdb.python/py-objfile-script.exp: Update reference to
2221 py-objfile-script-gdb.py.
2222
9a771b67
JK
22232011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2224
2225 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
2226 reference undefined label.
2227
04ad99e6
JK
22282011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2229
2230 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
2231 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
2232 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
2233 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
2234
713389e0
PM
22352011-07-11 Phil Muldoon <pmuldoon@redhat.com>
2236
2237 PR python/12438
2238 * gdb.python/python.exp: Add maint set/show python print-stack
2239 deprecated tests. Add set/show python print-backtrace tests.
2240
97d146f8
JK
22412011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2242
2243 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
2244 debug info.
2245
facde0e5 22462011-07-06 Matt Rice <ratmice@gmail.com>
2247
2248 * gdb.python/python.exp: Update filename paths.
2249 * gdb.python/py-symtab.exp: Ditto.
2250
438640d1
MP
22512011-07-06 Marek Polacek <mpolacek@redhat.com>
2252
2253 * gdb.python/py-evthreads.exp: Add missing `$'.
2254
33a365df
MF
22552011-07-06 Jie Zhang <jie.zhang@analog.com>
2256
2257 * config/bfin.exp: New file.
2258 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
2259 * gdb.asm/bfin.inc: New file.
2260
8f7ae686
MP
22612011-07-06 Marek Polacek <mpolacek@redhat.com>
2262
df46027d 2263 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
2264 the whole output.
2265
eb2a6f42
TT
22662011-07-05 Tom Tromey <tromey@redhat.com>
2267
2268 * gdb.java/jprint.java (jprint.hi): New field.
2269 * gdb.java/jprint.exp: Print string.
2270
177b42fe
TJB
22712011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
2272
2273 * gdb.base/call-sc.c: Fix typos.
2274 * gdb.base/ifelse.exp: Likewise.
2275 * gdb.base/structs.c: Likewise.
2276
3b2a0cf2
JB
22772011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2278
2279 * gdb.base/jit-so.exp: New test.
2280 * gdb.base/jit-dlmain.c: New file.
2281 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
2282
46fc714c
JK
22832011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2284
2285 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
2286 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
2287 * gdb.cp/pr9167.exp (p b): Likewise.
2288 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
2289 (test value of P in inner_m, test type of Z in inner_m): Call
2290 setup_xfail for gcc <= 4.5.
46fc714c 2291
418c7cf7
JK
22922011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2293
2294 * gdb.cp/paren-type.cc: New files.
2295 * gdb.cp/paren-type.exp: New files.
2296
3d50dd94
JK
22972011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2298
2299 Stop on first linespec terminator instead of eating what we can.
2300 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
2301 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
2302 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
2303 (break C::f()): ... this one.
2304 (break C::operator()()): New test.
2305 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
2306 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
2307 test.
2308
dcf9f4ab
JK
23092011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2310
2311 Fall back linespec to minimal symbols.
2312 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
2313 error message.
2314 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
2315 * gdb.cp/minsym-fallback-main.cc: New file.
2316 * gdb.cp/minsym-fallback.cc: New file.
2317 * gdb.cp/minsym-fallback.exp: New file.
2318 * gdb.cp/minsym-fallback.h: New file.
2319
3f542ed1
JK
23202011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2321
2322 * gdb.cp/no-dmgl-verbose.cc: New file.
2323 * gdb.cp/no-dmgl-verbose.exp: New file.
2324
23252011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
2326
2327 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
2328 __GI_.
2329 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
2330 (f): New function.
2331 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
2332 (complete p 'func<short>(): ... here.
2333 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
2334 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
2335 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
2336 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
2337 Make them KFAIL gcc/49546.
2338
00eb2c4a
JB
23392011-07-01 Joel Brobecker <brobecker@adacore.com>
2340
2341 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
2342
85a20c42
JK
23432011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2344
2345 Test GCC PR debug/49546.
2346 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
2347 (test type of F in k3_m, test value of F in k3_m): New.
2348 * gdb.cp/temargs.cc (struct S3, struct K3): New.
2349 (main): New variable k3. Call k3.k3_m.
2350
d2d43431
JB
23512011-07-01 Jean-Charles Delay <delay@adacore.com>
2352
2353 * gdb.ada/packed_array.exp: Fix expected outout.
2354
54ae186f
JB
23552011-07-01 Jean-Charles Delay <delay@adacore.com>
2356
2357 * gdb.ada/packed_array.exp: fixed expected output.
2358
8f17729f
JB
23592011-07-01 Joel Brobecker <brobecker@adacore.com>
2360
2361 * gdb.ada/same_enum: New testcase.
2362
f5aa6869
JB
23632011-07-01 Joel Brobecker <brobecker@adacore.com>
2364
2365 * gdb.ada/ptr_typedef: New testcase.
2366
828292f2
JB
23672011-07-01 Joel Brobecker <brobecker@adacore.com>
2368
2369 * gdb.ada/arrayptr.exp: Add ptype test.
2370
18920c42
JB
23712011-07-01 Joel Brobecker <brobecker@adacore.com>
2372
2373 * gdb.ada/char_enum: New testcase.
2374
3536d9e3 23752011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
2376
2377 * gdb.base/dump.exp (capture_pointer_with_type): New.
2378 Get value from address instead of name.
2379 Start GDB once, and do `dump' and `restore'
2380 tests together.
2381
db863c42
MF
23822011-06-30 Jie Zhang <jie.zhang@analog.com>
2383 Mike Frysinger <vapier@gentoo.org>
2384
2385 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
2386 helper functions for getting/setting remotetimeout variable.
2387 * lib/gdb.exp (gdb_load): If the target is remote, set
2388 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
2389 with $loadtimeout. Set $load_ok to 0 before doing the load.
2390 Instead of returning, immediately, set $load_ok to 0. Call
2391 set_remotetimeout with $oldremotetimeout, and then return if
2392 $load_ok is 1.
2393
e9e642a8
AB
23942011-06-30 Andrew Burgess <aburgess@broadcom.com>
2395
2396 * gdb.python/py-template.exp: Don't run this test if the target
2397 does not support c++ tests.
2398
32019081
JK
23992011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2400
2401 Fix non-only rename list for Fortran modules import.
2402 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
2403 tests.
2404 * gdb.fortran/module.f90 (module moduse): New.
2405 (program module): use moduse, test var_x, var_y and var_z.
2406
0ecee54c
TT
24072011-06-29 Tom Tromey <tromey@redhat.com>
2408
2409 PR testsuite/12040:
2410 * gdb.fortran/array-element.exp: Use f90, not f77.
2411 * gdb.fortran/complex.exp: Use f90, not f77.
2412 * gdb.fortran/derived-type.exp: Use f90, not f77.
2413 * gdb.fortran/library-module.exp: Use f90, not f77.
2414 * gdb.fortran/logical.exp: Use f90, not f77.
2415 * gdb.fortran/module.exp: Use f90, not f77.
2416 * gdb.fortran/multi-dim.exp: Use f90, not f77.
2417 * gdb.fortran/subarray.exp: Use f90, not f77.
2418
3b2b8fea
TT
24192011-06-29 Tom Tromey <tromey@redhat.com>
2420
2421 * gdb.fortran/charset.exp: New file.
2422 * gdb.fortran/charset.f90: New file.
2423
42159ca5
TT
24242011-06-29 Tom Tromey <tromey@redhat.com>
2425
2426 PR testsuite/12040:
2427 * lib/future.exp: New file, mostly extracted from ada.exp.
2428 Rewrote compatibility code to use rename.
2429 (gdb_find_gfortran): New proc.
2430 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
2431 gfortran patch.
2432 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
2433 Move to future.exp.
2434 * lib/gdb.exp: Always load future.exp.
2435
af69a5ce
YQ
24362011-06-28 Yao Qi <yao@codesourcery.com>
2437
2438 * gdb.cp/exception.cc: Don't include iostream.
2439 (bar): Remove print statement.
2440 (catcher): New.
2441 (main): Remove print statements. Call function catcher.
2442 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
2443 Set breakpoint on catcher, and check the value of parameter.
2444
ab5c6a72
YQ
24452011-06-23 Yao Qi <yao@codesourcery.com>
2446
2447 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
2448 1.2 is disabled. KFAIL for uclinux.
2449
9497469f
MP
24502011-06-23 Marek Polacek <mpolacek@redhat.com>
2451
2452 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
2453 mi_gdb_test.
2454
b9132588
MP
24552011-06-23 Marek Polacek <mpolacek@redhat.com>
2456
5d197ed0 2457 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 2458
e55595ca
MP
24592011-06-23 Marek Polacek <mpolacek@redhat.com>
2460
5d197ed0
MP
2461 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
2462
24632011-06-23 Marek Polacek <mpolacek@redhat.com>
2464
2465 * gdb.mi/mi2-basics.exp: Fix races. Honour the
2466 `test_exec_and_symbol_mi_operatons' return value.
2467 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2468 gdb_test_multiple.
2469 (test_exec_and_symbol_mi_operatons): Likewise.
2470 (test_path_specification): Likewise.
e55595ca 2471
be777e08
YQ
24722011-06-23 Yao Qi <yao@codesourcery.com>
2473
2474 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
2475 supported.
2476 * lib/gdb.exp (support_displaced_stepping): New.
2477
615556d6
YQ
24782011-06-23 Yao Qi <yao@codesourcery.com>
2479
2480 * gdb.threads/execl.exp: Skip on remote target.
2481
833b0ca7
MP
24822011-06-21 Marek Polacek <mpolacek@redhat.com>
2483
5d197ed0 2484 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
2485 mi_gdb_test.
2486
1ee4023a
MP
24872011-06-20 Marek Polacek <mpolacek@redhat.com>
2488
5d197ed0 2489 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 2490
d0b1d624
MP
24912011-06-20 Marek Polacek <mpolacek@redhat.com>
2492
5d197ed0 2493 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
2494 mi_gdb_test.
2495
79aa92c1
MP
24962011-06-20 Marek Polacek <mpolacek@redhat.com>
2497
5d197ed0 2498 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 2499
5ce5db06
YQ
25002011-06-14 Yao Qi <yao@codesourcery.com>
2501
2502 gdb/testsuite/
2503 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
2504
533a737e
JK
25052011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2506
2507 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
2508
d0e53741
TT
25092011-06-10 Tom Tromey <tromey@redhat.com>
2510
2511 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
2512 Add tests for pointer-to-member-function.
2513 * gdb.cp/temargs.cc (S::somefunc): New function.
2514 (K2): New class.
2515 (main): Instantiate K2; call method.
2516
b5916bbd
JB
25172011-06-08 Joel Brobecker <brobecker@adacore.com>
2518
2519 * gdb.python/py-inferior.c (f2): Make str an array rather
2520 than a pointer.
2521 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
2522
5be4dfca
JK
25232011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2524
2525 * gdb.base/async-shell.c: New file.
2526 * gdb.base/async-shell.exp: New file.
2527
9f47e254
PA
25282011-06-06 Pedro Alves <pedro@codesourcery.com>
2529
2530 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
2531
64b9b334
JB
25322011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
2533
2534 From Stephen Kitt <steve@sk2.org>
2535 * gdb.base/help.exp: Adjust following some spelling corrections
2536 in GDB.
2537
dbc0f131
YQ
25382011-06-01 Yao Qi <yao@codesourcery.com>
2539
2540 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2541
fd336a18
KS
25422010-05-31 Keith Seitz <keiths@redhat.com>
2543
2544 PR c++/12750
2545 * gdb.cp/static-method.cc: New file.
2546 * gdb.cp/static-method.exp: New file.
2547
fa8b9902
KS
25482010-05-31 Keith Seitz <keiths@redhat.com>
2549
2550 PR symtab/12704
2551 * gdb.cp/anon-ns.cc: New file.
2552 * gdb.cp/anon-ns.exp: New file.
2553
0a5b1e09
PA
25542011-05-31 Pedro Alves <pedro@codesourcery.com>
2555
2556 * gdb.arch/i386-dr3-watch.c: New file.
2557 * gdb.arch/i386-dr3-watch.exp: New file.
2558
0578b8d1
YQ
25592011-05-30 Yao Qi <yao@codesourcery.com>
2560
2561 * gdb.base/callfuncs.c (t_structs_fc): New.
2562 (t_structs_dc, t_structs_ldc): New.
2563 (t_double_many_args):
2564 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
2565 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
2566 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
2567 * gdb.base/callfuncs.exp: Call new functions.
2568
6680506e
YQ
25692011-05-30 Yao Qi <yao@codesourcery.com>
2570
ff4d2c60
YQ
2571 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
2572 Call rerun_and_prepare for each test to isolate effects.
2573
25742011-05-30 Yao Qi <yao@codesourcery.com>
2575
2576 * gdb.base/varargs.c (find_max_float_real): New.
2577 (find_max_double_real, find_max_long_double_real): New.
2578 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
2579 * lib/gdb.exp (setup_kfail_for_target): New.
2580
e43ec454
YQ
25812011-05-30 Yao Qi <yao@codesourcery.com>
2582
2583 * gdb.base/funcargs.c (callca, callcb, callcc): New.
2584 (callcd, callce, callcf, callc1a, callc1b): New.
2585 (callc2a, callc2b): New.
2586 * gdb.base/funcargs.exp (complex_args): New.
2587 (complex_integral_args, complex_float_integral_args): New.
2588 * lib/gdb.exp (support_complex_tests): New. Determine
2589 whether to run test cases on _Complex types.
2590
432b4d03
JK
25912011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2592
2593 * gdb.threads/leader-exit.c: New file.
2594 * gdb.threads/leader-exit.exp: New file.
2595
6caf069d
MP
25962011-05-27 Marek Polacek <mpolacek@redhat.com>
2597
9497469f 2598 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 2599
97fce28b
MP
26002011-05-27 Marek Polacek <mpolacek@redhat.com>
2601
2602 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
2603 remove the `supported' variable.
2604 * gdb.mi/mi-nonstop.exp: Likewise.
2605 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2606 * gdb.mi/mi-nsintrall.exp: Likewise.
2607 * gdb.mi/mi-nsmoribund.exp: Likewise.
2608 * gdb.mi/mi-nsthrexec.exp: Likewise.
2609
9da8c2a0
PA
26102011-05-26 Pedro Alves <pedro@codesourcery.com>
2611
2612 * gdb.reverse/finish-reverse-bkpt.exp: New test.
2613
2c03e5be
PA
26142011-05-26 Pedro Alves <pedro@codesourcery.com>
2615
2616 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
2617
2e21250d
KS
26182011-05-24 Keith Seitz <keiths@redhat.com>
2619
2620 PR breakpoint/12803
2621 * gdb.cp/cmpd-minsyms.cc (a): New method.
2622 (b): New method.
2623 (c): New method.
2624 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
2625
cdac0397
PA
26262011-05-24 Pedro Alves <pedro@codesourcery.com>
2627
2628 * gdb.base/commands.exp (watchpoint_command_test): Check that the
2629 watchpoint's command list didn't execute when the watchpoint went
2630 out of scope.
2631
ee5683ab
PM
26322011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
2633
2634 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
2635 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
2636 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
2637 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2638 * gdb.arch/i386-permbkpt.exp: Likewise.
2639 * gdb.arch/i386-prologue.exp: Likewise.
2640 * gdb.arch/i386-size-overlap.exp: Likewise.
2641 * gdb.arch/i386-size.exp: Likewise.
2642 * gdb.arch/i386-unwind.exp: Likewise.
2643 * gdb.reverse/i386-precsave.exp: Likewise.
2644 * gdb.reverse/i386-reverse.exp: Likewise.
2645 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2646 * gdb.reverse/i387-env-reverse.exp: Likewise.
2647 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2648
c91c8c16
PA
26492011-05-24 Pedro Alves <pedro@codesourcery.com>
2650
2651 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
2652 file doesn't error, using MI.
2653
c50491a7
TT
26542011-05-23 Tom Tromey <tromey@redhat.com>
2655
2656 * gdb.base/charset.exp (string_display): Add tests to assign to
2657 arrays.
2658 * gdb.base/charset.c (short_array, int_array, long_array): New.
2659
4a07b7da
PA
26602011-05-20 Pedro Alves <pedro@codesourcery.com>
2661
2662 Cope with async mode.
2663
4a07b7da
PA
2664 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
2665 into gdb_test + mi_expect_stop.
2666
b275f2d2
PA
26672011-05-20 Pedro Alves <pedro@codesourcery.com>
2668
2669 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
2670 (callme): Remove printf call.
2671
eec52c44
PM
26722011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
2673
2674 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
2675 quote pattern to avoid problems with Cygwin/mingw expect versions.
2676 * gdb.base/default.exp (show convenience): Use double
2677 quote pattern for regular expressions.
2678
b3c8eb43
JK
26792011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2680
2681 Fix -readnow for -gdwarf-4 unused type units.
2682 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
2683 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2684
ed731959
JK
26852011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2686
2687 * gdb.base/kill-after-signal.c: New file.
2688 * gdb.base/kill-after-signal.exp: New file.
2689
3b48433d
PA
26902011-05-16 Pedro Alves <pedro@codesourcery.com>
2691
2692 * gdb.ada/start.exp: Call untested with the correct test filename.
2693 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
2694 test filename. Make the test's binary unique.
2695 * gdb.arch/i386-signal.exp: Call untested with the correct test
2696 filename.
2697 * gdb.arch/i386-size-overlap.exp: Ditto.
2698 * gdb.arch/Makefile.in (EXECUTABLES): Update.
2699 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2700 * gdb.cp/call-c.exp: Ditto.
2701 * gdb.mi/mi-reverse.exp: Call untested with the correct test
2702 filename. Make the test's binary unique.
2703 * gdb.mi/Makefile.in (EXECUTABLES): Update.
2704 * gdb.python/py-mi.exp: Ditto.
2705 * gdb.python/Makefile.in (EXECUTABLES): Update.
2706 * gdb.reverse/i386-precsave.exp: Ditto.
2707 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
2708 test filename.
2709 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2710 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
2711 unique.
2712 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
2713 test filename.
2714 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
2715 * gdb.trace/tfile.exp: Ditto.
2716
ba4a8bdd
YQ
27172011-05-14 Yao Qi <yao@codesourcery.com>
2718
2719 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
2720 type.
2721
dbaefcf7
DE
27222011-05-13 Doug Evans <dje@google.com>
2723
2724 * gdb.python/py-objfile-script.exp: New file.
2725 * gdb.python/py-objfile-script.c: New file.
2726 * gdb.python/py-objfile-script-gdb.py: New file.
2727 * testsuite/gdb.python/py-section-script.exp: Test
2728 "info auto-load-scripts".
2729
9930639c
TT
27302011-05-13 Tom Tromey <tromey@redhat.com>
2731
2732 * gdb.dwarf2/clztest.exp: New file.
2733 * gdb.dwarf2/clztest.c: New file.
2734 * gdb.dwarf2/clztest.S: New file.
2735
05272e11
DE
27362011-05-13 Doug Evans <dje@google.com>
2737
cc63ef9b
DE
2738 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
2739 String16 tests.
05272e11 2740
6edba76f
TT
27412011-05-13 Tom Tromey <tromey@redhat.com>
2742
2743 * lib/gdb.exp (is_x86_like_target): New proc.
2744 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
2745 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
2746 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
2747 -nostdlib to compiler.
2748 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
2749 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
2750 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
2751 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
2752 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
2753
028d0ed5
TJB
27542011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2755
2756 * gdb.python/py-function.exp: Test setting a value from a function
2757 which executes a command.
2758
8a9b8146
TT
27592011-05-12 Tom Tromey <tromey@redhat.com>
2760
2761 * gdb.dwarf2/typeddwarf.S: New file.
2762 * gdb.dwarf2/typeddwarf.c: New file.
2763 * gdb.dwarf2/typeddwarf.exp: New file.
2764
10483e8e
MP
27652011-05-12 Marek Polacek <mpolacek@redhat.com>
2766
2767 * gdb.mi/mi-basics.exp: Fix races. Honour the
2768 `test_exec_and_symbol_mi_operatons' return value.
2769 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2770 gdb_test_multiple.
2771 (test_exec_and_symbol_mi_operatons): Likewise.
2772 (test_path_specification): Likewise.
2773
faf067f1
JK
27742011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2775
2776 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
2777 (gdb_touch_execfile): Remove catch wrappers. New variable time.
2778 Replace `file copy' and `file rename' by `file mtime'. Twice.
2779
7ff911a3
JK
27802011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2781
2782 * gdb.base/readline-ask.c: New file.
2783 * gdb.base/readline-ask.exp: New file.
2784 * gdb.base/readline-ask.inputrc: New file.
2785
a536c6d7
UW
27862011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2787
2788 * gdb.cell/bt.exp: Delete breakpoints before running to signal
2789 to avoid race condition.
2790 * gdb.cell/coremaker.c: Use small stack size.
2791 * gdb.cell/ea-standalone.exp: Use file name without path as
2792 argument to c_to.
2793 * gdb.cell/fork.exp: Allow other output when continuing to end.
2794
d472a426
JK
27952011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2796
2797 * gdb.threads/corethreads.c: New file.
2798 * gdb.threads/corethreads.exp: New file.
2799
28002011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
2801
2802 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
2803 Try to compile the test using -Wl,-z,norelro first.
2804 (load_core): New variable libthread_db_seen, initialize it.
2805 (zeroed-threads cannot be listed): Protect it by XFAIL on
2806 !$libthread_db_seen.
2807
8be455d7
JK
28082011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2809
2810 PR 12573
2811 * gdb.dwarf2/dw2-skip-prologue.S: New file.
2812 * gdb.dwarf2/dw2-skip-prologue.c: New file.
2813 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
2814
1976171a
JK
28152011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2816
2817 * gdb.cp/psymtab-parameter.cc: New file.
2818 * gdb.cp/psymtab-parameter.exp: New file.
2819
7db6f30f
JK
28202011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2821
2822 Fix a race.
2823 * gdb.cp/static-print-quit.exp (print c): Split to ...
2824 (print c - <return>, print c - q <return>, print c - to quit):
2825 ... these. Make the testfile untested on gdb-7.1.
2826
85161e9e 28272011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
2828
2829 * lib/gdb.exp (exec_target_file, exec_symbol_file,
2830 gdb_rename_execfile, gdb_touch_execfile): New.
2831 * gdb.base/reread.exp: Use new procs to handle multiple
2832 exec files.
2833
0c51be18
YQ
28342011-05-05 Yao Qi <yao@codesourcery.com>
2835
2836 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
2837 (test_adr_32bit, test_pop_pc): New.
2838 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
2839 (test_adr_32bit, test_pop_pc): New.
2840
4d393d60
JM
28412011-05-04 Joseph Myers <joseph@codesourcery.com>
2842
2843 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
2844 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
2845 targets.
2846 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
2847 handle targets.
2848
8ffd0459
JK
28492011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2850
2851 * gdb.base/completion.exp (complete help info wat): Rename to ...
2852 (complete 'help info wat'): ... here.
2853 Remove all `-re ".*' and `-re "^.*' redundant regexes.
2854 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
2855
8e28d804
PA
28562011-05-04 Pedro Alves <pedro@codesourcery.com>
2857
2858 * gdb.base/completion.exp: Use gdb_test_multiple instead of
2859 gdb_test and explicit $gdb_prompt/timeout matches.
2860
3eb2ef34
YQ
28612011-05-04 Yao Qi <yao@codesourcery.com>
2862
2863 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
2864 and __thumb2__.
2865
aaaf81a3
MP
28662011-05-03 Marek Polacek <mpolacek@redhat.com>
2867
2868 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
2869 in place of `gdb_test "delete breakpoints"'. This eliminates two
2870 testcases.
2871
c4cbc0df
PA
28722011-05-02 Pedro Alves <pedro@codesourcery.com>
2873
2874 PR testsuite/12649
2875 Fix races.
2876
2877 * gdb.base/completion.exp: Remove all sleep calls. Remove
2878 unnecessary regexs. Don't explicitly expect anything after the
2879 prompt. Eat the prompt if necessary.
2880
b4cbb4a3
EBM
28812011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2882
2883 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
2884 accept to show the caller line again as well as the line after.
2885
d65aec65
PM
28862011-04-29 Phil Muldoon <pmuldoon@redhat.com>
2887
2888 PR mi/12531
2889
2890 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
2891 compile target.
2892 * gdb.python/py-prettyprint.exp: Add C++ object for
2893 CPLUS_FAKE_CHILD test.
2894
30852783
UW
28952011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
2896
2897 * gdb.base/signest.exp: New file.
2898 * gdb.base/signest.c: Likewise.
2899
c7b1f0d9
JK
29002011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2901
2902 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
2903 thread and breakpoint notifications.
2904
559a7a62
JK
29052011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2906
2907 * gdb.base/fortran-sym-case.c: New file.
2908 * gdb.base/fortran-sym-case.exp: New file.
2909 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
2910 * gdb.dwarf2/dw2-case-insensitive.c: New file.
2911 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
2912
8344e389
JK
29132011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2914
2915 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
2916 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
2917 false #1', `if true else false #2' and `if true else false #3'.
2918
2484c66b
UW
29192011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
2920
2921 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
2922 while delivering signal.
2923
8d3788bd
VP
29242011-04-27 Vladimir Prus <vladimir@codesourcery.com>
2925
2926 MI breakpoint notifications.
2927
2928 * testsuite/gdb.mi/mi-cli.exp: Adust.
2929 * testsuite/gdb.mi/mi2-cli.exp: Adust.
2930 * testsuite/gdb.mi/mi-watch.exp: Adust.
2931 * testsuite/gdb.mi/mi2-watch.exp: Adust.
2932 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
2933 notifications.
2934
3e03848b
JK
29352011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2936
2937 * gdb.base/gdbindex-stabs-dwarf.c: New file.
2938 * gdb.base/gdbindex-stabs.c: New file.
2939 * gdb.base/gdbindex-stabs.exp: New file.
2940
918c9108
YQ
29412011-04-25 Yao Qi <yao@codesourcery.com>
2942
2943 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
2944 with /*...*/.
2945 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2946
90556b8c
JK
29472011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2948
2949 * gdb.python/py-value.exp (test_objfiles): Name the first test
2950 `py-value in file.filename'.
2951
03f2bd59
JK
29522011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2953
2954 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
2955 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
2956 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
2957 !gdbserver_reconnect_p..
2958 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
2959
7b08b9eb
JK
29602011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2961
2962 * gdb.cp/cpcompletion.exp (complete class methods)
2963 (complete class methods beginning with F): Move them above runto. New
2964 comment about the runto delimiter.
2965
b78974c3
PA
29662011-04-20 Pedro Alves <pedro@codesourcery.com>
2967
2968 * gdb.base/maint.exp: Test that "maint print registers" works
2969 without a running program.
2970
20429c40 29712011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 2972
20429c40
MP
2973 * gdb.base/setshow.exp: Fix racy tests.
2974 ($old_gdb_prompt): New variable.
2975
7a9dd1b2
TT
29762011-04-19 Tom Tromey <tromey@redhat.com>
2977
2978 * gdb.mi/mi-nsmoribund.exp:
2979 * gdb.hp/gdb.objdbg/objdbg01.exp:
2980 * gdb.base/structs.exp (test_struct_returns):
2981 * gdb.base/call-sc.exp (test_scalar_returns):
2982 * gdb.base/bigcore.exp: Remove duplicate words.
2983
02835898
JK
29842011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2985
2986 * gdb.base/break-interp-lib.c (v, vptr): New variables.
2987 * gdb.base/break-interp.exp (test_attach): New comment.
2988
254f582e
JK
29892011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2990
2991 * gdb.threads/gcore-thread.exp ($core0file): New variable.
2992 (clear __stack_user.next, clear stack_used.next)
2993 (save a zeroed-threads corefile): New test.
2994 Call core_load for $core0file.
2995 (zeroed-threads cannot be listed): New test.
2996
4fe85f5c
JK
29972011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2998
2999 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
3000 filename.
3001 ($srcfile): Preserve the original value.
3002 ($testfile): Match it the .exp filename.
3003 ($corefile): New variable. Substitute it around.
3004 Use clean_restart.
3005 ($prev_timeout): Remove.
3006 (load_core): Move core loading into this proc.
3007 Fix restore of $timeout if load_core fails.
3008
63524580
JK
30092011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3010
3011 * gdb.base/eu-strip-infcall.c: New file.
3012 * gdb.base/eu-strip-infcall.exp: New file.
3013
90359a16
JK
30142011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3015
3016 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
3017 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
3018
626e7282
JK
30192011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3020
3021 Fix Python access to inlined frames.
3022 * gdb.python/py-frame-inline.c: New file.
3023 * gdb.python/py-frame-inline.exp: New file.
3024
3363d018
EBM
30252011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
3026
3027 * gdb.base/gdb1090.exp: Change breakpoint location to read the
3028 content of 's24' correctly (avoiding "optimized out").
3029 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
3030
28781456
JK
30312011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3032
3033 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
3034
4a4106ca
TJB
30352011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
3036
3037 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
3038 expect a colon in watch -location output.
3039
d26ccb4f
JK
30402011-04-13 Marek Polacek <mpolacek@redhat.com>
3041
df46027d 3042 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
3043 New testcase `expect response to define backtrace'. Also remove
3044 redundant `default' block.
3045
e1ab1f9c
JK
30462011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3047
3048 * gdb.python/py-prettyprint.c (struct hint_error): New.
3049 (main): New variable hint_error.
3050 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
3051 "print hint_error".
3052 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
3053 (register_pretty_printers): Register it.
3054
0c2e6019
TT
30552011-04-04 Tom Tromey <tromey@redhat.com>
3056
3057 * gdb.cp/maint.exp (test_help): Update.
3058 (test_namespace): Likewise.
3059
af57139d
JB
30602011-04-01 Joel Brobecker <brobecker@adacore.com>
3061
3062 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
3063 * gdb.ada/arrayptr.exp: Add new tests.
3064
956a9fb9
JB
30652011-04-01 Joel Brobecker <brobecker@adacore.com>
3066
3067 * gdb.ada/mi_catch_ex: New testcase.
3068
d0c4d642
PA
30692011-04-01 Pedro Alves <pedro@codesourcery.com>
3070
3071 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
3072 base::overload(void) method without specifying "const".
3073
18819fa6
UW
30742011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3075
3076 * gdb.arch/thumb-singlestep.S: New file.
3077 * gdb.arch/thumb-singlestep.exp: Likewise.
3078
a4c8e806
TT
30792011-03-31 Tom Tromey <tromey@redhat.com>
3080
3081 * gdb.python/py-prettyprint.py (exception_flag): New global.
3082 (NoStringContainerPrinter._iterator.next): Check it.
3083 * gdb.python/py-prettyprint.c (main): New variable nstype2.
3084 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
3085
53832f31
TT
30862011-03-29 Tom Tromey <tromey@redhat.com>
3087
3088 * gdb.cp/anon-struct.cc: New file.
3089 * gdb.cp/anon-struct.exp: New file.
3090
e4620230
JK
30912011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3092
3093 Test STT_GNU_IFUNC support.
3094 * gdb.base/gnu-ifunc-lib.c: New file.
3095 * gdb.base/gnu-ifunc.c: New file.
3096 * gdb.base/gnu-ifunc.exp: New file.
3097
d0fb5eae
JK
30982011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3099
3100 Support a ring of related breakpoints.
3101 * gdb.base/watchpoint-delete.c: New file.
3102 * gdb.base/watchpoint-delete.exp: New file.
3103
20106cfb
JK
31042011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3105
3106 * gdb.ada/arrayparam.exp (print first after function call): Use
3107 explicit package name. Add a comment
3108 (print lasta after function call): Rename ...
3109 (print last after function call): ... it and use explicit package
3110 name.
3111 (print length after function call): Use explicit package name.
3112 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
3113 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
3114 (multiple matches for symbol i): Rename ...
3115 (multiple matches for symbol integervar): ... it.
3116 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
3117 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
3118
e7ab5e63
AB
31192011-03-25 Andrew Burgess <aburgess@broadcom.com>
3120
3121 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
3122 environment variable to make grep output more predictable. Move
3123 all the environment setup into gdb_init so it's done once per test
3124 case rather than each time we start gdb.
3125
9ef07c8c
TT
31262011-03-24 Tom Tromey <tromey@redhat.com>
3127
3128 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
3129 test.
3130
dd90784c
JK
31312011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3132
3133 * gdb.dwarf2/dw2-entry-value-main.c: New file.
3134 * gdb.dwarf2/dw2-entry-value.S: New file.
3135 * gdb.dwarf2/dw2-entry-value.exp: New file.
3136
05775840
PM
31372011-03-22 Phil Muldoon <pmuldoon@redhat.com>
3138
3139 PR python/12183
3140
3141 * gdb.python/py-function.exp: Add GdbError tests.
3142
8661b11b
PA
31432011-03-18 Pedro Alves <pedro@codesourcery.com>
3144
3145 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
3146 (reglocal_test_func, statlocal_test_func): New functions.
3147 (globals_test_func): Call new functions.
3148 * gdb.trace/unavailable.exp (gdb_collect_args_test)
3149 (gdb_collect_locals_test): New procedure.
3150 (gdb_trace_collection_test): Call new procedures.
3151
0fdb4f18
PA
31522011-03-18 Pedro Alves <pedro@codesourcery.com>
3153
3154 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
3155 (test_register, test_register_unavailable): New procedures.
3156 (gdb_unavailable_registers_test): New procedure.
3157 (gdb_trace_collection_test): Call it.
3158
99c3dc11
PM
31592011-03-18 Phil Muldoon <pmuldoon@redhat.com>
3160
3161 PR python/12149
3162
3163 * gdb.python/python.exp: Add gdb.write tests.
3164
29703da4
PM
31652010-03-17 Phil Muldoon <pmuldoon@redhat.com>
3166
3167 * gdb.python/Makefile.in: Add py-objfile.
3168 * gdb.python/py-objfile.exp: New file.
3169 * gdb.python/py-objfile.c: New file.
3170 * gdb.python/py-block.exp: Add is_valid tests.
3171 * gdb.python/py-inferior.exp: Ditto.
3172 * gdb.python/py-infthread.exp: Ditto.
3173 * gdb.python/py-symbol.exp: Ditto.
3174 * gdb.python/py-symtab.exp: Ditto.
3175
598997c8
KS
31762011-03-16 Keith Seitz <keiths@redhat.com>
3177
3178 PR c++/12273
3179 * gdb.cp/cmpd-minsyms.exp: New test.
3180 * gdb.cp/cmpd-minsyms.cc: New file.
3181
3182 PR c++/11734
3183 * gdb.cp/ovsrch.exp: New test.
3184 * gdb.cp/ovsrch.h: New file.
3185 * gdb.cp/ovsrch1.cc: New file.
3186 * gdb.cp/ovsrch2.cc: New file.
3187 * gdb.cp/ovsrch3.cc: New file.
3188 * gdb.cp/ovsrch4.cc: New file.
3189
c91513d8
PP
31902011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3191
3192 PR gdb/12528
3193 * gdb.base/Makefile.in: Adjust EXECUTABLES.
3194 * gdb.base/break-on-linker-gcd-function.exp: New test.
3195 * gdb.base/break-on-linker-gcd-function.cc: New file.
3196
7470fc63
AT
31972011-03-15 Andreas Tobler <andreast@fgznet.ch>
3198
3199 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
3200
959e7469
PM
32012011-03-15 Phil Muldoon <pmuldoon@redhat.com>
3202
3203 * lib/gdb.exp (gdb_unload): Add another termination case.
3204
9373cf26
JK
32052011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3206
3207 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
3208 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
3209 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
3210 Provide a stub byte there.
3211 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
3212 DW_AT_entry_pc.
3213 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
3214
24e9cda0
UW
32152011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
3216
3217 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
3218 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
3219 "generic ABI, auto".
3220 (altivec_abi_tests): Accept vectors returned by reference.
3221
7371cf6d
PM
32222010-03-14 Phil Muldoon <pmuldoon@redhat.com>
3223
3224 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
3225
ce77046a
UW
32262011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
3227
3228 * gdb.python/py-section-script.exp: Skip test if no Python support.
3229
176400c3
UW
32302011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
3231
3232 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
3233
ecec24e6
PM
32342011-03-10 Phil Muldoon <pmuldoon@redhat.com>
3235
3236 * gdb.python/py-parameter.exp: Update tests to the new Python
3237 parameter API. Add "no documentation" test. Add deprecated API
3238 backward compatibility test.
3239
5dbdd470
TT
32402011-03-09 Tom Tromey <tromey@redhat.com>
3241
3242 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
3243 gdb_continue_to_end.
3244
b66e66ee
MK
32452011-03-09 Mark Kettenis <kettenis@gnu.org>
3246
3247 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
3248 tabs.
3249
eceb0c5f
TT
32502011-03-09 Tom Tromey <tromey@redhat.com>
3251
3252 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
3253 parentheses.
3254 (gdb_continue_to_end): Add "allow_extra" parameter. Use
3255 $command.
3256 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
3257 argument to gdb_continue_to_end.
3258 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
3259 argument to gdb_continue_to_end.
3260 * gdb.cp/annota3.exp: Fix regex.
3261 * gdb.cp/annota2.exp: Fix regex.
3262 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
3263 gdb_continue_to_end.
3264 * gdb.base/call-signal-resume.exp: Revert earlier patch.
3265 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
3266 gdb_continue_to_end.
3267
63154eca
PA
32682011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3269
3270 * gdb.server/ext-run.exp
3271 (load new file without any gdbserver inferior): New test.
3272
967d1f9b
TT
32732011-03-07 Tom Tromey <tromey@redhat.com>
3274
3275 * Makefile.in (TAGS): Rewrite.
3276
d68dcbb9
JK
32772011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3278
3279 * gdb.trace/report.exp (12.1: trace report #1): New match for the
3280 initial commands echo. New match for `Found trace'. Anchor all the
3281 other matches. Anchor and match for `No trace frame found' the final
3282 match.
3283
6bf58e63
TT
32842011-03-07 Tom Tromey <tromey@redhat.com>
3285
3286 * Makefile.in (TAGS): New target.
3287
fda326dd
TT
32882011-03-07 Tom Tromey <tromey@redhat.com>
3289
3290 * lib/opencl.exp (skip_opencl_tests): Update for exit message
3291 change.
3292 * lib/mi-support.exp (mi_gdb_test): Update for exit message
3293 change.
3294 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
3295 exit message change.
3296 (skip_altivec_tests): Update for exit message change.
3297 (skip_vsx_tests): Likewise.
3298 (gdb_continue_to_end): Likewise. Add 'command' argument.
3299 * lib/cell.exp (skip_cell_tests): Update for exit message change.
3300 * gdb.threads/tls.exp: Update for exit message change.
3301 * gdb.threads/thread-unwindonsignal.exp: Use
3302 gdb_continue_to_end.
3303 * gdb.threads/step.exp (step_it): Update for exit message change.
3304 (continue_all): Likewise.
3305 * gdb.threads/print-threads.exp (test_all_threads): Update for
3306 exit message change.
3307 * gdb.threads/interrupted-hand-call.exp: Use
3308 gdb_continue_to_end.
3309 * gdb.threads/execl.exp: Use gdb_continue_to_end.
3310 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
3311 gdb_continue_to_end.
3312 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
3313 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
3314 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
3315 * gdb.cp/method.exp: Update for exit message change.
3316 * gdb.cp/mb-templates.exp: Update for exit message change.
3317 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
3318 * gdb.cp/annota3.exp: Update for exit message change.
3319 * gdb.cp/annota2.exp: Update for exit message change.
3320 * gdb.cell/fork.exp: Use gdb_continue_to_end.
3321 * gdb.base/term.exp: Update for exit message change.
3322 * gdb.base/step-test.exp (test_i): Update for exit message change.
3323 * gdb.base/sigstep.exp (advance): Update for exit message change.
3324 (advancei): Likewise.
3325 * gdb.base/siginfo.exp: Update for exit message change.
3326 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
3327 * gdb.base/reread.exp: Use gdb_continue_to_end.
3328 * gdb.base/langs.exp: Use gdb_continue_to_end.
3329 * gdb.base/interrupt.exp: Update for exit message change.
3330 * gdb.base/gdb1555.exp: Update for exit message change.
3331 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
3332 * gdb.base/ending-run.exp: Update for exit message change.
3333 * gdb.base/chng-syms.exp: Update for exit message change.
3334 * gdb.base/checkpoint.exp: Update for exit message change.
3335 * gdb.base/catch-syscall.exp (check_for_program_end): Use
3336 gdb_continue_to_end.
3337 (test_catch_syscall_with_wrong_args): Likewise.
3338 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
3339 * gdb.base/break-interp.exp (test_ld): Update for exit message
3340 change.
3341 * gdb.base/bang.exp: Update for exit message change.
3342 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
3343 (do_call_attach_tests): Likewise.
3344 * gdb.base/a2-run.exp: Update for exit message change.
3345 * gdb.arch/ppc-dfp.exp: Update for exit message change.
3346 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
3347 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
3348
dd19bd70
JK
33492011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3350
3351 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
3352
30e62689
TT
33532011-03-03 Tom Tromey <tromey@redhat.com>
3354
3355 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
3356 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
3357 * gdb.hp/gdb.aCC/configure.ac: Remove.
3358 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
3359 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
3360 * gdb.hp/gdb.base-hp/configure.ac: Remove.
3361 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
3362 * gdb.hp/gdb.compat/configure (Makefile): Remove.
3363 * gdb.hp/gdb.compat/configure.ac: Remove.
3364 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
3365 * gdb.hp/gdb.defects/configure (Makefile): Remove.
3366 * gdb.hp/gdb.defects/configure.ac: Remove.
3367 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
3368 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
3369 * gdb.hp/gdb.objdbg/configure.ac: Remove.
3370 * gdb.hp/configure.ac: Remove.
3371 * gdb.hp/configure: Remove.
3372 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
3373 substitution.
3374 (Makefile): Remove rule.
3375 * gdb.cell/configure.ac: Remove.
3376 * gdb.cell/configure: Remove.
3377 * gdb.stabs/Makefile.in (Makefile): Remove.
3378 (distclean): Don't remove config.status or config.log.
3379 * gdb.stabs/configure (Makefile): Remove.
3380 * gdb.stabs/configure.ac: Remove.
3381 * configure: Rebuild.
3382 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
3383 Remove stabs- and cell-specific logic. Test for existence of
3384 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
3385 subdirectories, gdb.cell, and and gdb.stabs.
3386 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
3387
c171f854
JB
33882011-03-03 Joel Brobecker <brobecker@adacore.com>
3389
3390 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
3391 end of buffer.
3392
9a5193cb
JB
33932011-03-02 Joel Brobecker <brobecker@adacore.com>
3394
3395 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
3396 gdb_test when running a test where we expected no output back.
3397
9bb4c1bb
MS
33982011-02-28 Michael Snyder <msnyder@vmware.com>
3399
3400 * gdb.cp/overload.cc: Change initializer value to integer.
3401
3bd0f5ef
MS
34022011-02-27 Michael Snyder <msnyder@vmware.com>
3403
3404 * gdb.multi/base.exp: Add test for remove-inferiors.
3405
2279eaad
JB
34062011-02-26 Joel Brobecker <brobecker@adacore.com>
3407
3408 * gdb.python/py-frame.exp: Simplify the initialization phase
3409 using prepare_for_testing.
3410
c82c0b55
MS
34112011-02-25 Michael Snyder <msnyder@vmware.com>
3412
3413 * gdb.multi/base.exp: Add tests for info inferiors with args.
3414
1d94651b
JK
34152011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3416
3417 * gdb.dwarf2/dw2-ranges.S: Rename to ...
3418 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
3419 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
3420 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
3421 asmfile3. Comment the STABS (#3) file compilation. Compile
3422 everything through assembler. Provide KFAIL for symtab/12497.
3423 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
3424 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
3425 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
3426 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
3427
3bd0f5ef
MS
34282011-02-24 Michael Snyder <msnyder@vmware.com>
3429
3430 * gdb.base/break.exp: Add tests for delete breakpoints using
3431 convenience variables and value history references.
3432
12c1418e
MS
34332011-02-24 Michael Snyder <msnyder@vmware.com>
3434
3435 * gdb.base/break.exp: Remove debugging 'printf' accidentally
3436 left behind in previous check-in.
3437
e5a67952
MS
34382011-02-23 Michael Snyder <msnyder@vmware.com>
3439
3440 * gdb.base/break.exp: Add tests for "info break" with arguments.
3441 * gdb.trace/infotrace.exp: Update patterns for error and help.
3442 * gdb.base/completion.exp: Update pattern.
3443 * gdb.base/ena-dis-br.exp: Update pattern.
3444 * gdb.base/help.exp: Update patterns.
3445
34462011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
3447
3448 * gdb.base/memattr.exp: New test.
3449 * gdb.base/memattr.c: Test load for memattr.exp.
3450
6e6fbe60
DE
34512011-02-22 Doug Evans <dje@google.com>
3452
3453 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
3454
1d41d745
MS
34552011-02-22 Michael Snyder <msnyder@vmware.com>
3456
3457 * Makefile.in: Make more clean.
3458 * gdb.ada/Makefile.in: Ditto.
3459 * gdb.arch/Makefile.in: Ditto.
3460 * gdb.asm/Makefile.in: Ditto.
3461 * gdb.base/Makefile.in: Ditto.
3462 * gdb.cp/Makefile.in: Ditto.
3463 * gdb.dwarf2/Makefile.in: Ditto.
3464 * gdb.java/Makefile.in: Ditto.
3465 * gdb.mi/Makefile.in: Ditto.
3466 * gdb.modula2/Makefile.in: Ditto.
3467 * gdb.python/Makefile.in: Ditto.
3468 * gdb.server/Makefile.in: Ditto.
3469 * gdb.stabs/Makefile.in: Ditto.
3470 * gdb.threads/Makefile.in: Ditto.
3471 * gdb.trace/Makefile.in: Ditto.
3472
79ba84ca
MS
34732011-02-22 Michael Snyder <msnyder@vmware.com>
3474
df46027d 3475 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
3476 info threads.
3477
b9b35694
JB
34782011-02-22 Joel Brobecker <brobecker@adacore.com>
3479
3480 * gdb.python/py-breakpoint.exp: Fix the expected output of
3481 one of the "maint info breakpoints" tests to accept the output
3482 generated on platforms that do not have hardware watchpoints.
3483
8bfb830f
JB
34842011-02-22 Joel Brobecker <brobecker@adacore.com>
3485
3486 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
3487 clean_restart. Be a little stricter in the expected output
3488 for one of the tests. Fix a typo in one of the comments.
3489
c45f3c54
JB
34902011-02-22 Joel Brobecker <brobecker@adacore.com>
3491
3492 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
3493 Delete variable binfile, no longer use. Add or modify test
3494 comments to make them unique.
3495
b97c863c
MS
34962011-02-21 Michael Snyder <msnyder@vmware.com>
3497
3498 * Makefile.in: Update for make clean.
3499 * gdb.ada/Makefile.in: Ditto.
3500 * gdb.arch/Makefile.in: Ditto.
3501 * gdb.asm/Makefile.in: Ditto.
3502 * gdb.base/Makefile.in: Ditto.
3503 * gdb.cp/Makefile.in: Ditto.
3504 * gdb.dwarf2/Makefile.in: Ditto.
3505 * gdb.java/Makefile.in: Ditto.
3506 * gdb.mi/Makefile.in: Ditto.
3507 * gdb.modula2/Makefile.in: Ditto.
3508 * gdb.python/Makefile.in: Ditto.
3509 * gdb.server/Makefile.in: Ditto.
3510 * gdb.stabs/Makefile.in: Ditto.
3511 * gdb.threads/Makefile.in: Ditto.
3512 * gdb.trace/Makefile.in: Ditto.
3513
aea5b279
MS
35142011-02-21 Michael Snyder <msnyder@vmware.com>
3515
3516 * gdb.threads/thread-find.exp: Update patterns for changes in
3517 output of "info threads" command.
3518
e3039479
UW
35192011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3520 Ulrich Weigand <uweigand@de.ibm.com>
3521
3522 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
3523 (skip_hw_watchpoint_tests): Likewise.
3524 (skip_hw_watchpoint_multi_tests): Likewise.
3525
b800ec70
UW
35262011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
3527
3528 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
3529 (skip_hw_watchpoint_tests): Likewise.
3530 (skip_hw_watchpoint_multi_tests): Likewise.
3531 (skip_hw_watchpoint_access_tests): Likewise.
3532
3533 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
3534 * gdb.base/pr11022.exp: Likewise.
3535 * gdb.base/watch-read.exp: Likewise.
3536 * gdb.base/watch_thread_num.exp: Likewise.
3537 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3538 * gdb.base/watchpoint-hw.exp: Likewise.
3539 * gdb.base/watchpoint.exp: Likewise.
3540 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
3541 * gdb.threads/watchthreads-reorder.exp: Likewise.
3542 * gdb.threads/watchthreads.exp: Likewise.
3543 * gdb.threads/watchthreads2.exp: Likewise.
3544
91033e37
JB
35452011-02-21 Joel Brobecker <brobecker@adacore.com>
3546
3547 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
3548 the debugger is unable to find the array bounds.
3549
eeaafae2
JK
35502011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3551
3552 * gdb.cp/typedef-operator.exp: New file.
3553 * gdb.cp/typedef-operator.cc: New file.
3554
e338d953
MS
35552011-02-17 Michael Snyder <msnyder@vmware.com>
3556
3557 * gdb.threads/thread-find.exp: Fix regular expressions.
3558
e67ad678
JB
35592011-02-17 Joel Brobecker <brobecker@adacore.com>
3560
3561 * gdb.ada/packed_array: Expand testcase to test printing of
3562 unconstrained packed array.
3563
93084bca
JB
35642011-02-17 Joel Brobecker <brobecker@adacore.com>
3565
3566 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
3567
a0c78a73
PA
35682011-02-16 Pedro Alves <pedro@codesourcery.com>
3569
f65d5553 3570 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
3571 (main): Initialize it before collecting, and and clear it
3572 afterwards.
f65d5553
PA
3573 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3574 collecting with '{type} addr', where the addr expression is not an
3575 rvalue.
a0c78a73 3576
3dfcbbd2
KW
35772011-02-16 Ken Werner <ken.werner@de.ibm.com>
3578
3579 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
3580 a bool variable. Expect correct OpenCL names for vector types. Use the
3581 uc3 variable name instead of referring to the uchar3 built-in type.
3582 Escape the asterisk at the half pointer test.
3583
08807d5a
PA
35842011-02-16 Pedro Alves <pedro@codesourcery.com>
3585
f65d5553 3586 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
3587 (main): Initialize it before collecting, and and clear it
3588 afterwards.
f65d5553
PA
3589 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3590 collecting overlapping memory ranges.
08807d5a 3591
60f98dde
MS
35922011-02-15 Michael Snyder <msnyder@vmware.com>
3593
3594 * gdb.base/default.exp: Add tests for thread commands.
3595 * gdb.base/help.exp: Add tests for thread commands.
3596 * gdb.threads/thread-find.exp: New test for thread find command.
3597
648cd113
KW
35982011-02-15 Ken Werner <ken.werner@de.ibm.com>
3599
3600 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
3601
494e194e
YQ
36022011-02-15 Yao Qi <yao@codesourcery.com>
3603
3604 PR tdep/12352
3605 * gdb.arch/arm-disp-step.S : New test for str instruction.
3606 * gdb.arch/arm-disp-step.exp : Likewise.
3607
d9492458
TJB
36082011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
3609
3610 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
3611 "vector_register2_vr" test strings. Test the extended floating
3612 point registers (F32~F63).
3613 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
3614 IBM XL C compiler. Make the test program use a register provided
3615 by the compiler for the lxvd2x instruction.
3616
8af8e3bc
PA
36172011-02-14 Pedro Alves <pedro@codesourcery.com>
3618
3619 * gdb.trace/unavailable.cc (class Base, class Middle, class
3620 Derived): New types.
3621 (derived_unavail, derived_partial, derived_whole): New globals.
3622 (virtual_partial): New global.
3623 (virtualp): Point at virtual_partial.
3624 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
3625 related to unavailable vptr.
3626
1b28d0b3
PA
36272011-02-14 Pedro Alves <pedro@codesourcery.com>
3628
3629 * gdb.trace/unavailable.cc (a, b, c): New globals.
3630 (main): Set and clear them.
3631 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
3632 `a' and `c', and check that `b' isn't collected, although `a' and
3633 `c' are.
3634
ec0a52e1
PA
36352011-02-14 Pedro Alves <pedro@codesourcery.com>
3636
3637 * gdb.trace/unavailable.cc (struct Virtual): New.
3638 (virtualp): New global pointer.
3639 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
3640 printing a pointer to an object whose type has a vtable, with
3641 print object on.
3642
24e6bcee
PA
36432011-02-14 Pedro Alves <pedro@codesourcery.com>
3644
3645 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
3646 value repeat handles unavailableness.
3647
39d37385
PA
36482011-02-14 Pedro Alves <pedro@codesourcery.com>
3649
3650 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
3651 tests for building arrays from unavailable values, subscripting
3652 non-memory rvalue unvailable arrays, and accessing fields or
3653 baseclasses of non-lazy unavailable values,
3654 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
3655 struct types.
3656 (g_smallstruct, g_smallstruct_b): New globals.
3657
06d72e16
PA
36582011-02-14 Pedro Alves <pedro@codesourcery.com>
3659
3660 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
3661
bc9a5551
JK
36622011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3663
3664 Fix const/volatile qualifiers of C++ types, PR c++/12328.
3665 * gdb.cp/overload-const.exp: New file.
3666 * gdb.cp/overload-const.cc: New file.
3667
54fcddd0
UW
36682011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3669
3670 * gdb.opencl/callfuncs.cl: New file.
3671 * gdb.opencl/callfuncs.exp: New test.
3672 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
3673
d6dafb7c
UW
36742011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3675
3676 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
3677 when computing result.
3678 * gdb.arch/altivec-abi.exp: Update expected results.
3679
a449c2d8
TJB
36802011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
3681
3682 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
3683 * gdb.base/jit.exp: Likewise.
3684 * gdb.base/pie-execl.exp: Likewise.
3685 * gdb.base/solib-nodir.exp: Likewise.
3686 * gdb.base/solib-overlap.exp: Likewise.
3687
764880b7
PA
36882011-02-07 Pedro Alves <pedro@codesourcery.com>
3689
3690 * gdb.trace/collection.c (global_pieces): New.
3691 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
3692 New procedure.
3693 (gdb_trace_collection_test): Call it.
3694
505500db
SW
36952011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
3696
3697 * gdb.python/py-evthreads.c: New file.
3698 * gdb.python/py-evthreads.exp: New file.
3699 * gdb.python/py-events.py: New file.
3700 * gdb.python/py-events.exp: New file.
3701 * gdb.python/py-events.c: New file.
3702
385203ed
DD
37032011-02-04 David Daney <ddaney@caviumnetworks.com>
3704
3705 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
3706
9011945e
AB
37072011-02-03 Andrew Burgess <aburgess@broadcom.com>
3708
3709 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
3710 gdb.base/disasm-end-cu.exp: New test for disassembling over the
3711 boundary between two compilation units.
3712
580688f3
PA
37132011-02-02 Pedro Alves <pedro@codesourcery.com>
3714
3715 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
3716 (Virtual): New structs.
3717 (virtual_o, virtual_middle_b): New globals.
3718 * gdb.cp/virtbase.exp: New tests.
3719
d3f0f853
PP
37202011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3721
3722 * gdb.base/jit.exp: New file.
3723 * gdb.base/jit-main.c: New file.
3724 * gdb.base/jit-solib.c: New file.
3725
b2030fb5
UW
37262011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
3727
3728 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
3729 proceed to initial kernel entry point.
3730 * gdb.opencl/datatypes.exp: Likewise.
3731 * gdb.opencl/operators.exp: Likewise.
3732 * gdb.opencl/vec_comps.exp: Likewise.
3733
2db19d1e
SW
37342011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
3735
3736 * gdb.cp/nsnested.cc: New.
3737 * gdb.cp/nsnested.exp: New.
3738 * gdb.cp/nsnoimports.exp: New.
3739 * gdb.cp/nsnoimports.cc: New.
3740
6b0c4c1f
JB
37412011-01-31 Joel Brobecker <brobecker@adacore.com>
3742
3743 * gdb.base/interact.exp: Add extra tests that verify that
3744 the value of the interactive-mode setting does not change
3745 after the script is sourced.
3746
80b23b6a
JK
37472011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3748
3749 * gdb.cp/noparam.exp: New file.
3750 * gdb.cp/noparam.cc: New file.
3751
ffd5ec24
PA
37522011-01-28 Pedro Alves <pedro@codesourcery.com>
3753
3754 * gdb.trace/tfile.exp: Test that with no traceframe selected,
3755 there's no stack or registers.
3756
a81766d8
TT
37572011-01-26 Tom Tromey <tromey@redhat.com>
3758
3759 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
3760 space before string output. Add test for "set print pretty off"
3761 case.
3762
585fdaa1
PA
37632011-01-25 Pedro Alves <pedro@codesourcery.com>
3764
3765 * gdb.base/frame-args.exp: Adjust.
3766 * gdb.dwarf2/dw2-noloc.exp: Adjust.
3767 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
3768 * gdb.dwarf2/pieces.exp: Adjust.
3769 * gdb.opt/clobbered-registers-O2.exp: Adjust.
3770 * gdb.opt/inline-locals.exp: Adjust.
3771 * gdb.threads/fork-child-threads.exp: Adjust.
3772
d468832a
KW
37732011-01-25 Ken Werner <ken.werner@de.ibm.com>
3774
3775 * gdb.opencl/convs_casts.cl: Move program scope variables into the
3776 OpenCL kernel function. Add a comment as marker. Add address space
3777 qualifiers for the remaining program scope variables.
3778 * gdb.opencl/datatypes.cl: Likewise.
3779 * gdb.opencl/operators.cl: Likewise.
3780 * gdb.opencl/vec_comps.cl: Likewise.
3781 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
3782 Add breakpoint at the marker comment.
3783 * gdb.opencl/datatypes.exp: Likewise.
3784 * gdb.opencl/operators.exp: Likewise.
3785 * gdb.opencl/vec_comps.exp: Likewise.
3786
490f124f
PA
37872011-01-24 Pedro Alves <pedro@codesourcery.com>
3788
3789 * gdb.base/printcmds.c (some_struct): New struct and instance.
3790 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
3791 procedure.
3792 <global scope>: Call it.
3793
6da78614
KW
37942011-01-21 Ken Werner <ken.werner@de.ibm.com>
3795
3796 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
3797 argument to the gdb_compile_opencl_hostapp call.
3798
ec64c9aa
YQ
37992011-01-19 Yao Qi <yao@codesourcery.com>
3800
3801 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
3802 positve list.
3803
810cfdbb
YQ
38042011-01-19 Yao Qi <yao@codesourcery.com>
3805
3806 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
3807 canonical form.
3808 Remove "xscale-*-*"
3809 * gdb.xml/tdesc-regs.exp: Likewise.
3810 * gdb.python/py-section-script.exp: Replace ARM target triplet
3811 with canonical form.
3812 Match arm*-*-symbianelf*.
3813 * gdb.base/dup-sect.exp: Likewise.
3814 * lib/dwarf.exp: New.
3815 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
3816 dwarf2_support.
3817 * gdb.dwarf2/dup-psym.exp: Likewise.
3818 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
3819 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3820 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
3821 * gdb.dwarf2/dw2-basic.exp: Likewise.
3822 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3823 * gdb.dwarf2/dw2-const.exp: Likewise.
3824 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
3825 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
3826 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3827 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
3828 * gdb.dwarf2/dw2-filename.exp: Likewise.
3829 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3830 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
3831 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3832 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3833 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
3834 * gdb.dwarf2/dw2-noloc.exp: Likewise.
3835 * gdb.dwarf2/dw2-op-call.exp: Likewise.
3836 * gdb.dwarf2/dw2-producer.exp: Likewise.
3837 * gdb.dwarf2/dw2-ranges.exp: Likewise.
3838 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
3839 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
3840 * gdb.dwarf2/dw2-strp.exp: Likewise.
3841 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
3842 * gdb.dwarf2/implptr.exp: Likewise.
3843 * gdb.dwarf2/mac-fileno.exp: Likewise.
3844 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
3845 * gdb.dwarf2/pieces.exp: Likewise.
3846 * gdb.dwarf2/pr11465.exp: Likewise.
3847 * gdb.dwarf2/valop.exp: Likewise.
3848 * gdb.dwarf2/watch-notconst.exp: Likewise.
3849 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
3850
4694da01
TT
38512011-01-19 Tom Tromey <tromey@redhat.com>
3852
3853 * gdb.python/py-infthread.exp: Add thread tests.
3854
b075872c
JB
38552011-01-14 Joel Brobecker <brobecker@adacore.com>
3856
3857 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
3858
2c3e6e24
JB
38592011-01-14 Joel Brobecker <brobecker@adacore.com>
3860
3861 * gdb.ada/widewide: New testcase.
3862
de8fa76c
JB
38632011-01-13 Joel Brobecker <brobecker@adacore.com>
3864
3865 * gdb.base/interact.exp: New testcase.
3866
1b05df00
TT
38672011-01-12 Tom Tromey <tromey@redhat.com>
3868
3869 * gdb.mi/gdb2549.exp: Update for error message changes.
3870 * gdb.mi/mi-cli.exp: Likewise.
3871 * gdb.mi/mi-disassemble.exp: Likewise.
3872 * gdb.mi/mi-pthreads.exp: Likewise.
3873 * gdb.mi/mi-regs.exp: Likewise.
3874 * gdb.mi/mi-stack.exp: Likewise.
3875 * gdb.mi/mi-var-block.exp: Likewise.
3876 * gdb.mi/mi-var-cmd.exp: Likewise.
3877 * gdb.mi/mi2-cli.exp: Likewise.
3878 * gdb.mi/mi2-disassemble.exp: Likewise.
3879 * gdb.mi/mi2-pthreads.exp: Likewise.
3880 * gdb.mi/mi2-regs.exp: Likewise.
3881 * gdb.mi/mi2-stack.exp: Likewise.
3882 * gdb.mi/mi2-var-block.exp: Likewise.
3883 * gdb.mi/mi2-var-cmd.exp: Likewise.
3884
c2ff108b
JK
38852011-01-12 Andrew Burgess <aburgess@broadcom.com>
3886 Jan Kratochvil <jan.kratochvil@redhat.com>
3887
3888 PR fortran/11104 and DWARF unbound arrays detection.
3889 * gdb.fortran/multi-dim.exp: New file.
3890 * gdb.fortran/multi-dim.f90: New file.
3891
b716877b
AB
38922011-01-12 Andrew Burgess <aburgess@broadcom.com>
3893
3894 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
3895 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
3896 add new tests for opcode dumping.
3897
6c162d5e
TT
38982011-01-11 Tom Tromey <tromey@redhat.com>
3899
3900 * gdb.python/py-infthread.exp: Load gdb-python.exp.
3901
77b06cd7
TJB
39022010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
3903
3904 Convert hardware watchpoints to use breakpoint_ops.
3905 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
3906 type is not supported.
3907 * gdb.base/foll-fork.exp: Likewise.
3908 * gdb.base/foll-vfork.exp: Likewise.
3909
f39a75d0
PM
39102011-01-10 Phil Muldoon <pmuldoon@redhat.com>
3911
3912 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
3913 Use load_lib gdb-python.exp.
3914 * gdb.python/python.exp: Ditto.
3915 * gdb.python/py-function.exp: Ditto.
3916
fc529d80
AS
39172011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3918
3919 * gdb.threads/tls.exp ("info address me"): Fix expected output.
3920
fb03cb59
JK
39212011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3922
3923 * configure: Regenerate.
3924
d8e22779
TT
39252011-01-06 Tom Tromey <tromey@redhat.com>
3926
3927 * gdb.python/py-frame.exp: Test gdb.newest_frame.
3928
09050809
JB
39292011-01-06 Joel Brobecker <brobecker@adacore.com>
3930
fc529d80
AS
3931 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
3932 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
3933 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
3934 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
3935 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
3936 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
3937 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
3938 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
3939 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
3940 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
3941 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
3942 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
3943 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
3944 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
3945 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
3946 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
3947 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
3948 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
3949 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
3950 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
3951 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
3952 gdb.ada/uninitialized_vars.exp,
3953 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
3954 Simplify by using clean_restart.
09050809 3955
8ed5dd9e
JB
39562011-01-06 Joel Brobecker <brobecker@adacore.com>
3957
3958 Add marker to be used as anchor for inserting breakpoints.
3959 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
3960 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
3961 Likewise.
3962
3963 Remove uses of gdb_start_cmd.
3964 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
3965 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
3966
3967 Do not run testcase if testing with GDBserver.
3968 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
3969 if testing with GDBserver.
3970
368a124f
JB
39712011-01-06 Joel Brobecker <brobecker@adacore.com>
3972
3973 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
3974 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
3975 copyright header.
3976
44944448
JB
39772011-01-05 Joel Brobecker <brobecker@adacore.com>
3978
3979 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
3980 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
3981 testsuite/gdb.fortran/complex.f,
3982 testsuite/gdb.fortran/derived-type.f90,
3983 testsuite/gdb.fortran/library-module-lib.f90,
3984 testsuite/gdb.fortran/library-module-main.f90,
3985 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
3986 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
3987 Copyright year update.
3988
31886ea6
JB
39892011-01-05 Joel Brobecker <brobecker@adacore.com>
3990
3991 * gdb.base/langs1.f: Add copyright header.
3992
ebedcab5
JK
39932011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3994
3995 * gdb.base/morestack.exp: New file.
3996 * gdb.base/morestack.c: New file.
3997
de1eb2f9
JK
39982011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3999
4000 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
4001
9e87a409
JB
40022010-12-29 Joel Brobecker <brobecker@adacore.com>
4003
4004 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
4005 * gdb.ada/arrayptr.exp: Add test printing that new variable.
4006
720d1a40
JB
40072010-12-29 Joel Brobecker <brobecker@adacore.com>
4008
4009 * gdb.ada/lang_switch.exp: Correct expected parameter value.
4010
a283af87
AS
40112010-12-25 Andreas Schwab <schwab@linux-m68k.org>
4012
5d3d9cba
AS
4013 * gdb.threads/tls.exp: Fix typo.
4014
a283af87
AS
4015 * gdb.threads/thread-specific.exp (get_thread_list): Update.
4016 * gdb.threads/execl.exp: Update.
4017
2a20745c
YQ
40182010-12-23 Yao Qi <yao@codesourcery.com>
4019
4020 * gdb.arch/arm-disp-step.exp: New.
4021 * gdb.arch/arm-disp-step.S: New.
4022
a7658b96
TT
40232010-12-21 Tom Tromey <tromey@redhat.com>
4024
4025 * gdb.threads/execl.exp: Update.
4026 * gdb.threads/linux-dp.exp: Update.
4027 * gdb.threads/manythreads.exp: Update.
4028 * gdb.threads/tls.exp: Update.
4029
5b79abe7
TT
40302010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4031
4032 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
4033 (NextOverThrowDerivates) <resumebpt>: New.
4034 (resumebpt_test): New.
4035 (main): Call resumebpt_test.
4036 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
4037
0914bcdb
SS
40382010-12-12 Stan Shebs <stan@codesourcery.com>
4039
4040 * gdb.trace/tsv.exp: Test print command on trace state variables.
4041
305aeedc
TT
40422010-12-09 Tom Tromey <tromey@redhat.com>
4043
4044 * gdb.base/interp.exp: Add regression test.
4045
186c406b
TT
40462010-12-09 Tom Tromey <tromey@redhat.com>
4047
4048 * gdb.java/jnpe.java: New file.
4049 * gdb.java/jnpe.exp: New file.
4050 * gdb.cp/nextoverthrow.exp: New file.
4051 * gdb.cp/nextoverthrow.cc: New file.
4052
aae1c79a
DE
40532010-12-07 Doug Evans <dje@google.com>
4054
4055 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
4056 of data-directory.
4057 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
4058 updated.
4059 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
4060
60f98dde 40612010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
4062
4063 * gdb.base/callfuncs.exp: Test for skip_float_tests.
4064 * gdb.base/call-sc.exp: Ditto.
4065 * gdb.base/finish.exp: Ditto.
4066 * gdb.base/return.exp: Ditto.
4067 * gdb.base/return2.exp: Ditto.
4068
5fa290c1
DE
40692010-11-30 Doug Evans <dje@google.com>
4070
4071 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
4072 (gdb_expect_list): Fix spelling errors in comments.
4073 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
4074 send_gdb/gdb_expect_list where applicable.
4075 * gdb.base/call-ar-st.exp: Ditto.
4076 * gdb.base/funcargs.exp: Ditto.
4077 * gdb.base/gcore.exp: Ditto.
4078 * gdb.base/page.exp: Ditto.
4079 * gdb.base/sigaltstack.exp: Ditto.
4080 * gdb.base/siginfo.exp: Ditto.
4081 * gdb.base/sigstep.exp: Ditto.
4082 * gdb.base/trace-commands.exp: Ditto.
4083
4e04c971
DE
40842010-11-29 Doug Evans <dje@google.com>
4085
4086 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
4087 printer-name;subprinter-name.
4088
8cf6f0b1
TT
40892010-11-29 Tom Tromey <tromey@redhat.com>
4090
4091 * gdb.dwarf2/implptr.exp: New file.
4092 * gdb.dwarf2/implptr.c: New file.
4093 * gdb.dwarf2/implptr.S: New file.
4094
94b6973e
PM
40952010-11-29 Phil Muldoon <pmuldoon@redhat.com>
4096
fc529d80 4097 PR python/12199
94b6973e
PM
4098
4099 * gdb.python/py-breakpoint.exp: Test the delete method.
4100
8358c15c
JK
41012010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4102
4103 Fix step_resume_breakpoint unsaved during an infcall.
4104 * gdb.base/step-resume-infcall.exp: New file.
4105 * gdb.base/step-resume-infcall.c: New file.
4106
f6df29bc
TJB
41072010-11-24 Edjunior Machado <emachado@br.ibm.com>
4108
4109 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
4110
f2b5a5cf
TJB
41112010-11-24 Edjunior Machado <emachado@br.ibm.com>
4112
4113 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
4114 on ppc64's symbols; "finish" and "return" commands must accept to
4115 show the caller line again as well as the line after.
4116 * gdb.asm/powerpc64.inc: New file.
4117
6b0ecdc2
DE
41182010-11-23 Doug Evans <dje@google.com>
4119
4120 * lib/gdb.exp (gdb_test_sequence): New function.
4121 (gdb_expect_list): Add verbose -log call for each pattern.
4122 * gdb.base/signals.exp (test_handle_all_print): Call it.
4123 Reduce timeout increment from 6 minutes to 1 minute.
4124 * gdb.server/ext-run.exp: Call it.
4125
ea976c60
PM
41262010-11-23 Phil Muldoon <pmuldoon@redhat.com>
4127
f2b5a5cf 4128 PR python/12212
ea976c60
PM
4129
4130 * gdb.python/python.exp: Check that selected_thread raises an
4131 error when no inferior is loaded.
4132
c0efa795
JK
41332010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4134
4135 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
4136 * gdb.dwarf2/dw2-stack-boundary.S: New file.
4137
ec3aa567
JK
41382010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4139
4140 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
4141 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
4142
d8249011
DE
41432010-11-18 Doug Evans <dje@google.com>
4144
4145 * gdb.server/ext-run.exp: Fix intermittent failures.
4146
d4eba7d1
NF
41472010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4148
4149 * gdb.stabs/gdb11479.exp: Use runto_main.
4150
b04c2f88
NF
41512010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4152
4153 * gdb.base/break-entry.exp: Skip if using a stub.
4154
ae9d7ce4
NF
41552010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4156
4157 * gdb.python/py-inferior.exp: Pack values in target endianness.
4158
621c8364
TT
41592010-11-12 Tom Tromey <tromey@redhat.com>
4160
4161 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
4162 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
4163 MemoryError.
4164 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
4165 type.
4166 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
4167 MemoryError.
4168 (test_subscript_regression): Update exception type.
4169
84f4c1fe
PM
41702010-11-11 Phil Muldoon <pmuldoon@redhat.com>
4171
4172 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
4173 breakpoint tests.
4174
a1442452
PA
41752010-11-09 Pedro Alves <pedro@codesourcery.com>
4176
4177 * gdb.base/watchpoint.exp: Test "watch -location" with an
4178 innacessible location.
4179
efd11a33
JK
41802010-11-09 Edjunior Machado <emachado@br.ibm.com>
4181 Luis Machado <luisgpm@br.ibm.com>
4182
4183 * gdb.base/maint.exp: Expect "." prefix.
4184 * gdb.base/nodebug.exp: Expect "." Likewise.
4185 * gdb.base/sepsymtab.exp: Expect "." Likewise.
4186 * gdb.base/watchpoint-cond-gone.exp: Likewise.
4187 * gdb.base/watchpoint.exp: Expect a software watch to be created for
4188 POWER server processors.
4189
aa00efb5
JK
41902010-11-08 Edjunior Machado <emachado@br.ibm.com>
4191 Luis Machado <luisgpm@br.ibm.com>
4192
4193 * gdb.base/break-entry.exp: convert entry point for
4194 ppc64 and expect leading `.' on ppc64's symbols
4195
99e7ae30
DE
41962010-11-05 Doug Evans <dje@google.com>
4197
4198 * gdb.base/help.exp: Update expected output.
b521dba8
DE
4199 * gdb.python/py-param.exp: Delete, contents moved to ...
4200 * gdb.python/py-parameter.exp: ... here. New file.
4201 Add test for gdb.parameter ("directories").
99e7ae30 4202
f4b8a18d
KW
42032010-11-05 Ken Werner <ken.werner@de.ibm.com>
4204
4205 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
4206 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
4207 * configure: Regenerate.
4208 * gdb.opencl/Makefile.in: New File.
4209 * gdb.opencl/datatypes.exp: Likewise.
4210 * gdb.opencl/datatypes.cl: Likewise.
4211 * gdb.opencl/operators.exp: Likewise.
4212 * gdb.opencl/operators.cl: Likewise.
4213 * gdb.opencl/vec_comps.exp: Likewise.
4214 * gdb.opencl/vec_comps.cl: Likewise.
4215 * gdb.opencl/convs_casts.exp: Likewise.
4216 * gdb.opencl/convs_casts.cl: Likewise.
4217 * lib/opencl.exp: Likewise.
4218 * lib/opencl_hostapp.c: Likewise.
4219 * lib/opencl_kernel.cl: Likewise.
4220 * lib/cl_util.c: Likewise.
4221 * lib/cl_util.c: Likewise.
4222 * gdb.base/default.exp (set language): Add "opencl" to the list of
4223 languages.
4224
a9d5ef47
SW
42252010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
4226
4227 * gdb.cp/overload.exp: Added test for inheritance overload.
4228 * gdb.cp/overload.cc: Ditto.
4229 * gdb.cp/oranking.exp: Removed releveant kfails.
4230
03eb1c79
JK
42312010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4232 Joel Brobecker <brobecker@adacore.com>
4233
4234 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
4235 check test_compiler_info.
4236
dbc98a8b
KW
42372010-11-03 Ken Werner <ken.werner@de.ibm.com>
4238
4239 * gdb.base/gnu_vector.exp: Adjust expect messages.
4240
120bd360
KW
42412010-11-03 Ken Werner <ken.werner@de.ibm.com>
4242
4243 * gdb.base/gnu_vector.exp: Add unary operator tests.
4244
c37f7098
KW
42452010-11-03 Ken Werner <ken.werner@de.ibm.com>
4246
4247 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
4248
7b51bc51
DE
42492010-11-02 Doug Evans <dje@google.com>
4250
4251 * gdb.python/py-pp-maint.c: New file.
4252 * gdb.python/py-pp-maint.exp: New file.
4253 * gdb.python/py-pp-maint.py: New file.
4254
50c97f38
TT
42552010-11-02 Tom Tromey <tromey@redhat.com>
4256
4257 * gdb.base/default.exp: Remove "scheme" from language list.
4258
a289b8f6
JK
42592010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4260
4261 Revert:
4262 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4263 * gdb.threads/sigstep-threads.exp: New file.
4264 * gdb.threads/sigstep-threads.c: New file.
4265
cd017491
MS
42662010-10-20 Michael Snyder <msnyder@vmware.com>
4267
4268 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
4269
8e6a5956
UW
42702010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4271
4272 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
4273 Skip test completely if gdb,no_hardware_watchpoints.
4274
2c04da0d
UW
42752010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4276
4277 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
4278 strict, but do not check for any particular function name within libc.
4279
79afc5ef
SW
42802010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4281
4282 * gdb.cp/smartp.exp: New test.
4283 * gdb.cp/smartp.cc : New test.
4284
026ffab7
SW
42852010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4286
4287 * gdb.cp/converts.exp: Test pointer to bool conversion.
4288 Test pointer to long conversion.
4289 * gdb.cp/oranking.exp: Removed relevant kfail.
4290
3a772aa4
TT
42912010-10-18 Tom Tromey <tromey@redhat.com>
4292
4293 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
4294 argument to lazy_string.
4295 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
4296 (pp_ls.to_string): Use it.
4297 * gdb.python/py-prettyprint.c (main): Move declarations to top.
4298 Add "estring2" local.
4299
5fc3827b
JK
43002010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4301
4302 Fix s390x compatibility.
4303 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
4304 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
4305
8aeb23f3
JK
43062010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4307
4308 * gdb.threads/sigstep-threads.exp: New file.
4309 * gdb.threads/sigstep-threads.c: New file.
4310
c1e56572
JK
43112010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4312
4313 * gdb.base/pie-execl.exp: New file.
4314 * gdb.base/pie-execl.c: New file.
4315
92163a10
JK
43162010-10-13 Doug Evans <dje@google.com>
4317 Jan Kratochvil <jan.kratochvil@redhat.com>
4318
4319 PR exp/12117
4320 * gdb.cp/ptype-cv-cp.cc: New file.
4321 * gdb.cp/ptype-cv-cp.exp: New file.
4322
7062b0a0
SW
43232010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
4324
4325 * gdb.cp/converts.cc: New test program.
4326 * gdb.cp/converts.exp: New test.
4327 * gdb.cp/overload.exp: Added test for void* vs int*.
4328 * gdb.cp/overload.exp: Ditto.
4329 * gdb.cp/oranking.exp: Removed related kfail.
4330
0e3509db
DE
43312010-10-13 Doug Evans <dje@google.com>
4332
4333 * lib/gdb-python.exp (gdb_check_python_config): New function.
4334 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
4335 * gdb.python/lib-types.cc: New file.
4336 * gdb.python/lib-types.exp: New file.
4337
8dc78533
JK
43382010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4339
4340 * gdb.python/py-error.exp: New file.
4341 * gdb.python/py-error.py: New file.
4342
93c17e06
JK
43432010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4344
4345 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
4346 gdb_test_multiple.
4347
d8b34041
JK
43482010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4349
4350 * gdb.base/break-interp.exp: Use ldlags for linking flags.
4351 * gdb.base/prelink.exp: Likewise.
4352 * gdb.base/solib-nodir.exp: Likewise.
4353 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
4354 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
4355 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
4356
e0cc584e
UW
43572010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
4358
4359 * break-interp.exp (test_ld): Use two separate gdb_expect statements
4360 for the "info files" test to avoid timeouts on slow machines.
4361
cfc353b1
JK
43622010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4363
4364 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
4365 (main): Make openlib dummy call.
4366
d3d7896d
JK
43672010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4368
4369 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
4370 * break-interp.exp (reach): Move the core body ...
4371 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
4372 (test_ld): Provide always real argument, even to the linker. Replace
4373 dl_main by _dl_debug_state.
4374
5e533c94
JK
43752010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4376
4377 Fix results of prelinked PIEs on ppc*.
4378 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
4379 Accept also DISPLACEMENT "PRESENT".
4380 (main): Replace "ZERO" displacements by "PRESENT".
4381
33540610
SW
43822010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
4383
4384 * gdb.cp/oranking.exp: New test.
4385 * gdb.cp/oranking.cc: New test program.
4386
3bdf2bbd
KW
43872010-10-08 Ken Werner <ken.werner@de.ibm.com>
4388
4389 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
4390 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
4391
2f608a3a
KW
43922010-10-06 Ken Werner <ken.werner@de.ibm.com>
4393
4394 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
4395 lush, lynx) New constant.
4396 * gdb.base/constvars.exp: Test const array types.
4397 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
4398
aa2e2d8d
DE
43992010-10-06 Doug Evans <dje@google.com>
4400
4401 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
4402 of syscall staging area.
4403
2844d6b5
KW
44042010-10-06 Ken Werner <ken.werner@de.ibm.com>
4405
4406 * gdb.base/gnu_vector.c: Add variable c4.
4407 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
4408 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4409
7d8ac8bb
MR
44102010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
4411
4412 * gdb.arch/altivec-abi.exp: Fix a typo.
4413
84a02e58
MR
44142010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
4415
4416 * lib/mi-support.exp (thread_selected_re): Correct pattern used
4417 to match a thread ID.
4418
b18e6318
JK
44192010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4420
4421 Fix s390x testcase compatibility.
4422 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
4423
a2c09bd0
DE
44242010-10-01 Doug Evans <dje@google.com>
4425
4426 * lib/gdb-python.exp: New file.
4427 * gdb.python/py-block.exp: Use it.
4428 * gdb.python/py-breakpoint.exp: Ditto.
4429 * gdb.python/py-frame.exp: Ditto.
4430 * gdb.python/py-inferior.exp: Ditto.
4431 * gdb.python/py-param.exp: Ditto.
4432 * gdb.python/py-prettyprint.exp: Ditto.
4433 * gdb.python/py-shared.exp: Ditto.
4434 * gdb.python/py-symbol.exp: Ditto.
4435 * gdb.python/py-symtab.exp: Ditto.
4436 * gdb.python/py-type.exp: Ditto.
4437 * gdb.python/py-value.exp: Ditto.
4438 * gdb.python/python.exp: Ditto.
4439
38f12cfc
TT
44402010-09-30 Tom Tromey <tromey@redhat.com>
4441
4442 * gdb.base/anon.exp: New file.
4443 * gdb.base/anon.c: New file.
4444
9ae8282d
TT
44452010-09-30 Tom Tromey <tromey@redhat.com>
4446
4447 * gdb.base/completion.exp: Test completion through anonymous
4448 union.
4449 * gdb.base/break1.c (struct some_struct): Add anonymous union.
4450
e9e07ba6
JK
44512010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4452
4453 Fix printing parameters of inlined functions.
4454 * gdb.dwarf2/dw2-inline-param.exp: New file.
4455 * gdb.dwarf2/dw2-inline-param-main.c: New file.
4456 * gdb.dwarf2/dw2-inline-param.S: New file.
4457
cd2effb2
JK
44582010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4459
4460 PR corefiles/12071.
4461 * gdb.base/corefile.exp (quit with a process, no question: load core)
4462 (quit with a core file): New tests.
4463
bceffbf3
JK
44642010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4465
4466 Fix GDB crash on inferior calls with self-referencing classes.
4467 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
4468 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
4469 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
4470
1736ad11
JK
44712010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4472
4473 Fix lost siginfo_t for inferior calls.
4474 * gdb.base/siginfo-infcall.exp: New file.
4475 * gdb.base/siginfo-infcall.c: New file.
4476
a176ad92
JB
44772010-09-22 Joel Brobecker <brobecker@adacore.com>
4478
4479 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
4480
c2b0a229
JK
44812010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4482
4483 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
4484 New test.
4485 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
4486
e8ae22d1
JB
44872010-09-22 Joel Brobecker <brobecker@adacore.com>
4488
4489 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
4490 type of our const type.
4491
ec322823
SW
44922010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
4493
4494 * gdb.cp/pr12028.cc: New.
4495 * gdb.cp/pr12028.exp: New.
4496
72929c62
JB
44972010-09-22 Joel Brobecker <brobecker@adacore.com>
4498
4499 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
4500
875b4ff5 45012010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 4502 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
4503
4504 PR mi/11407
4505 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
4506 * gdb.mi/dw2-ref-missing-frame-main.c New File.
4507 * gdb.mi/dw2-ref-missing-frame.S New File.
4508 * gdb.mi/dw2-ref-missing-frame.exp New File.
4509
7155d578
TT
45102010-09-14 Tom Tromey <tromey@redhat.com>
4511
4512 PR symtab/8399:
4513 * gdb.threads/tls.exp: Remove kfail. Update expected output.
4514
515ed532
TT
45152010-09-14 Tom Tromey <tromey@redhat.com>
4516
4517 PR exp/11803:
4518 * gdb.threads/tls.exp: Use C++.
4519 (check_thread_local): Use K::another_thread_local.
4520 * gdb.threads/tls.c (class K): New.
4521 (another_thread_local): Now a member of K.
4522 (spin): Update. No longer K&R C.
4523
450ca57c
SW
45242010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4525
4526 * gdb.cp/koenig.cc: created class for testing member lookup.
4527 * gdb.cp/koenig.exp: Added test for member lookup.
4528
dbd492a3
JK
45292010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4530
4531 Fix false FAILs on sourcetree topdir directory containing "kill".
4532 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
4533 source line matching regexp.
4534
8d4d924b
JK
45352010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4536
4537 * gdb.python/python.exp (set height 0, collect help from uiout)
4538 (verify help to uiout): New tests.
4539
8e64f2a0
JK
45402010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4541
4542 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
4543 is_lp64_target to check 64bit target.
4544
4569eed2
JK
45452010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4546
4547 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
4548 (test_ld) <powerpc64-*>: New.
4549
5e1617b1
DJ
45502010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4551
4552 * gdb.cp/templates.exp (test_template_args): Allow "struct".
4553
c767944b
DJ
45542010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4555
4556 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
4557 (FunctionArg::method): New function.
4558 (empty, arg): New variables.
4559 (main): Call arg.method.
4560 * gdb.cp/templates.exp (test_template_args): New function.
4561 (do_tests): Call it.
4562
27d3a3fc
UW
45632010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4564
4565 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
4566 of "next" to proceed over pthread_exit call.
4567
55b7ce7f
UW
45682010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4569
4570 * gdb.base/maint.exp: Avoid wildcards against potentially very long
4571 "maint print statistics" output to prevent expect timeouts.
4572
809df446
JK
45732010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4574
4575 * gdb.base/printcmds.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 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
4579 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4580 (test_float_rejected): ... here.
4581 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
4582 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4583 (test_float_rejected): ... here.
4584 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
4585 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4586 (test_float_rejected): ... here.
4587
8464be76
DJ
45882010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
4589
4590 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
4591 before disabling hardware watchpoints.
4592 (test_inaccessible_watchpoint): Check that hardware watchpoints
4593 are used. Test for watchpoints on a constant address.
4594
14dba4b4
JK
45952010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4596
4597 * gdb.base/ui-redirect.exp: New file.
4598
3f3540e1 45992010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 4600 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
4601
4602 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
4603
0f254bb7
DE
46042010-08-31 Doug Evans <dje@google.com>
4605
4606 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
4607
03f17ccf
TT
46082010-08-30 Tom Tromey <tromey@redhat.com>
4609
4610 PR python/11792:
4611 * gdb.python/py-value.exp (test_subscript_regression): Add
4612 dynamic_type test.
4613
640617ad
DJ
46142010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
4615
4616 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
4617 instead of running to main. Do not test the main function.
4618 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
4619 Add new main.
4620
2ed91d1b
PA
46212010-08-26 Pedro Alves <pedro@codesourcery.com>
4622
4623 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
4624 one test.
4625
673bfd45
DE
46262010-08-24 Doug Evans <dje@google.com>
4627
4628 PR symtab/11942
4629 * gdb.dwarf2/dw4-sig-types.cc: New file.
4630 * gdb.dwarf2/dw4-sig-types.h: New file.
4631 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
4632 * gdb.dwarf2/dw4-sig-types.exp: New file.
4633
f9ffd4bb
TT
46342010-08-23 Tom Tromey <tromey@redhat.com>
4635
4636 PR python/11145:
4637 * gdb.python/py-value.c (Base, Derived): New types.
4638 (base): New global.
4639 * gdb.python/py-value.exp (test_subscript_regression): Add
4640 dynamic_cast test.
4641
d839c8a4
TT
46422010-08-23 Tom Tromey <tromey@redhat.com>
4643
4644 PR python/10676:
4645 * gdb.python/py-type.exp (test_fields): Add tests for type
4646 equality.
4647
702c2711
TT
46482010-08-23 Tom Tromey <tromey@redhat.com>
4649
4650 PR python/11915:
4651 * gdb.python/py-type.exp (test_fields): Add tests for array.
4652
832bafd3
KS
46532010-08-23 Keith Seitz <keiths@redhat.com>
4654
4655 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
4656 have any children. Create a new abbrev for it.
4657 Add missing terminal sequence to .debug_abbrev.
4658
c37bf528
KS
46592010-08-20 Keith Seitz <keiths@redhat.com>
4660
4661 PR symtab/11465:
4662 * gdb.dwarf2/pr11465.exp: New test.
4663 * gdb.dwarf2/pr11465.S: New file.
4664 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
4665 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
4666
4572cbac
TJB
46672010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
4668
4669 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
4670 registers. Update data sets with the new v2_double element in the
4671 VSX register union. Add vector_register3_vr data set for the AltiVec
4672 registers. Use gdb_test_no_output instead of send_gdb.
4673
e7fbb131
PA
46742010-08-19 Pedro Alves <pedro@codesourcery.com>
4675
4676 * gdb.python/py-shared.exp: New file, factored out from
4677 python.exp.
4678 * gdb.python/py-shared.c: New file.
4679 * gdb.python/py-shared-sl.c: New file.
4680 * gdb.python/python-1.c: New file.
4681 * gdb.python/python-sl.c: Delete.
4682 * gdb.python/python.c: Mention python-1.c.
4683 * gdb.python/python.exp: Move shared library tests to
4684 py-shared.exp.
4685 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
4686 (MISCELLANEOUS): New.
4687 (clean mostlyclean): Also remove $MISCELLANEOUS.
4688
d30f5e1f
DE
46892010-08-19 Doug Evans <dje@google.com>
4690
4691 PR exp/11926
4692 * gdb.base/printcmds.exp (test_float_accepted): New function.
4693 Move existing float tests there. Add tests for floats with suffixes.
4694 (test_float_rejected): New function.
4695 * gdb.java/jv-print.exp (test_float_accepted): New function.
4696 (test_float_rejected): New function.
4697 * gdb.objc/print.exp: New file.
4698 * gdb.pascal/print.exp: New file.
4699 * lib/objc.exp: New file.
4700
7b3fd859
PM
47012010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
4702
4703 * gdb.base/default.exp (info set): Avoid full buffer error and force
4704 reading up to final gdb prompt.
4705 (show): Likewise.
4706
c92817ce
TT
47072010-08-18 Tom Tromey <tromey@redhat.com>
4708
4709 PR symtab/11919:
4710 * gdb.base/completion.exp: Add test.
4711
f1208f9e
DE
47122010-08-18 Doug Evans <dje@google.com>
4713
4714 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
4715 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
4716 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
4717 Simplify, early exit if runto_main fails.
4718 * gdb.fortran/exprs.exp: load_lib fortran.exp.
4719 (set_lang_fortran): Moved to lib/fortran.exp.
4720 * gdb.fortran/types.exp: load_lib fortran.exp.
4721 (set_lang_fortran): Moved to lib/fortran.exp.
4722 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
4723 * gdb.java/jprint.exp (set_lang_java): Ditto.
4724 * gdb.java/jv-exp.exp: load_lib java.exp.
4725 If set_lang_java fails, issue a warning instead of failure to be
4726 consistent with other set_lang_foo uses.
4727 (set_lang_java): Moved to lib/java.exp.
4728 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
4729 If set_lang_java fails, issue a warning instead of failure to be
4730 consistent with other set_lang_foo uses.
4731 * gdb.pascal/types.exp: load_lib pascal.exp.
4732 (set_lang_pascal): Moved to lib/pascal.exp.
4733 * lib/fortran.exp: New file.
4734 * lib/java.exp (set_lang_java): New function.
4735 * lib/pascal.exp (set_lang_pascal): New function.
4736
2f06b485
YQ
47372010-08-18 Yao Qi <yao@codesourcery.com
4738
4739 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
4740 func_nofb_start and func_loopfb_start, so that address of functions
4741 is equal to these labels on Thumb.
4742
96e25403
YQ
47432010-08-18 Yao Qi <yao@codesourcery.com>
4744
4745 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
4746 to reflect latest c source file.
4747
36e6adc4
JK
47482010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4749
4750 * gdb.cp/infcall-dlopen.exp: New file.
4751 * gdb.cp/infcall-dlopen.cc: New file.
4752 * gdb.cp/infcall-dlopen-lib.cc: New file.
4753
f431efe5
PA
47542010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4755 Pedro Alves <pedro@codesourcery.com>
4756
4757 PR breakpoints/11371
4758
4759 * gdb.base/watch-cond-infcall.exp: New file.
4760 * gdb.base/watch-cond-infcall.c: New file.
4761
06a64a0b
TT
47622010-08-16 Tom Tromey <tromey@redhat.com>
4763
4764 * gdb.base/help.exp: Update.
4765 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
4766 watchpoint.
4767 (test_watch_location): New proc.
4768 (test_watchpoint_in_big_blob): Delete watchpoint.
4769 * gdb.base/watchpoint.c (func5): New function.
4770 (main): Call it.
4771
70ebf4ed
DE
47722010-08-16 Doug Evans <dje@google.com>
4773
4774 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
4775
ca5c20b6
PM
47762010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4777
4778 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
4779 tests.
4780
7346b668
KW
47812010-08-11 Ken Werner <ken.werner@de.ibm.com>
4782
4783 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
4784 * gdb.base/gnu_vector.c: New File.
4785 * gdb.base/gnu_vector.exp: Likewise.
4786
cb2e07a6
PM
47872010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4788
4789 * gdb.python/python.c: New File.
4790 * gdb.python/python-sl.c: New File.
4791 * gdb.python/python.exp: Test solib_address and decode_line
4792 * functions.
4793
5da1313b
JK
47942010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4795
4796 * gdb.python/python.exp (show height, set height 10)
4797 (verify pagination beforehand, verify pagination beforehand: q)
4798 (gdb.execute does not page, verify pagination afterwards)
4799 (verify pagination afterwards: q): New.
4800
49c3ccf7
DE
48012010-08-02 Doug Evans <dje@google.com>
4802
4803 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
4804 because of an older gcc, change test2
4805 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
4806 to unsupported.
4807
42c0c4f1
KH
48082010-07-30 Kazu Hirata <kazu@codesourcery.com>
4809
4810 * gdb.base/break-always.exp: Do not expect full paths to file
4811 names.
4812 * gdb.base/commands.exp: Likewise.
4813
d3765805
DE
48142010-07-30 Doug Evans <dje@google.com>
4815
c98ee71b
DE
4816 * gdb.cp/temargs.exp: For new tests that require newer gccs,
4817 xfail them when run with older gccs.
4818
fd961404
DE
4819 * lib/gdb.exp (build_executable): Forward "c++" option to
4820 get_compiler_info.
4821
999adef4
DE
4822 * gdb.python/py-type.exp (test_template): Mark as xfail tests
4823 "python print ttype.template_argument(1)" and
4824 "python print isinstance(ttype.template_argument(1), gdb.Value)"
4825 if using gcc 4.4 or earlier.
4826
d3765805
DE
4827 * gdb.base/valgrind-db-attach.exp: Use unique test name for
4828 attach-to-debugger handling.
4829
1276c759
JK
48302010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4831
4832 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
4833 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
4834 (main): Use copyreloc.
4835 * gdb.base/prelink.exp (split debug of executable)
4836 (.dynbss vs. .bss address shift): New tests.
4837
88caa9b9
PA
48382010-07-29 Pedro Alves <pedro@codesourcery.com>
4839
4840 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
4841 in gdb_test_multiple.
4842
c6f2ac43
PA
48432010-07-29 Pedro Alves <pedro@codesourcery.com>
4844
4845 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
4846 environment.
4847
326fd672
TT
48482010-07-28 Tom Tromey <tromey@redhat.com>
4849
4850 PR python/11060:
4851 * gdb.python/py-type.c (Temargs): New template.
4852 (temvar): New variable.
4853 * gdb.python/py-type.exp (test_template): New proc.
4854
3ce3b1ba
PA
48552010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4856
4857 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
4858 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
4859
34eaf542
TT
48602010-07-28 Tom Tromey <tromey@redhat.com>
4861
4862 PR c++/9946:
4863 * gdb.cp/temargs.exp: New file.
4864 * gdb.cp/temargs.cc: New file.
4865
d41b819e
JK
48662010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4867
4868 * gdb.base/help.exp (help disassemble): Update the content.
4869
26ab7092
JK
48702010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4871
4872 * gdb.threads/ia64-sigill.exp: New file.
4873 * gdb.threads/ia64-sigill.c: New file.
4874
5283e9e1
TT
48752010-07-27 Tom Tromey <tromey@redhat.com>
4876
4877 * gdb.opt/inline-cmds.c (ATTR): New define.
4878 (func1): Use it.
4879 (func2): Likewise.
4880 (func3): Likewise.
4881 (outer_inline1): Likewise.
4882 (outer_inline2): Likewise.
4883 * gdb.opt/inline-bt.c (ATTR): New define.
4884 (func1): Use it.
4885 (func2): Likewise.
4886 * gdb.opt/inline-locals.c (ATTR): New define.
4887 (func1): Use it.
4888 (func2): Likewise.
4889
e992ef73
TT
48902010-07-27 Tom Tromey <tromey@redhat.com>
4891
4892 * gdb.stabs/gdb11479.c (hack): New function.
4893 (test): Use it.
4894 (test2): Use it.
4895 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
4896 (int32_search_buf, int64_search_buf): No longer static.
4897 (x): Remove.
4898 * gdb.base/relocate.c (hack): New function.
4899
5374244e
PM
49002010-07-27 Phil Muldoon <pmuldoon@redhat.com>
4901
4902 * gdb.python/py-value.exp (test_inferior_function_call): New function.
4903 * gdb.python/py-value.c (func1): New function.
4904 (func2): Likewise.
4905
a99aee83
CV
49062010-07-26 Corinna Vinschen <vinschen@redhat.com>
4907
4908 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
4909 as not to clash with .data section.
4910
a04ba985
JG
49112010-07-26 Jerome Guitton <guitton@adacore.com>
4912
4913 * gdb.base/code_elim.exp: New file.
4914 * gdb.base/code_elim1.c: New file.
4915 * gdb.base/code_elim2.c: New file.
4916
23bd0f7c
PA
49172010-07-21 Pedro Alves <pedro@codesourcery.com>
4918
4919 PR symtab/11827
4920
4921 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
4922 (some_volatile_enum): New variable.
4923 * gdb.base/printcmds.exp (test_print_enums): New.
4924 <top level>: Call it.
4925
883df6dd
SW
49262010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
4927
4928 * gdb.cp/fpointer.cc: New test.
4929 * gdb.cp/fpointer.exp: New test.
4930
569b05a5
JK
49312010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4932
4933 * gdb.base/solib-nodir.exp: New file.
4934 * lib/gdb.exp (runto): New case for a GDB internal error.
4935
51d7d803
JK
49362010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4937 Ulrich Weigand <uweigand@de.ibm.com>
4938 Tom Tromey <tromey@redhat.com>
4939
4940 * gdb.base/charset-malloc.c: New file.
4941 * gdb.base/charset.c (malloc_stub): New prototype.
4942 (main): Call it instead of malloc itself.
4943 * gdb.base/charset.exp: Use only prepare_for_testing.
4944 (binfile): Remove the variable.
4945
c0edd9ed
JK
49462010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4947
4948 Make core files the process_stratum.
4949 * gdb.base/corefile.exp (run: load core again)
4950 (run: sanity check we see the core file, run: with core)
4951 (run: core file is cleared, attach: load core again)
4952 (attach: sanity check we see the core file, attach: with core)
4953 (attach: core file is cleared): New tests.
4954 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
4955
3cbaedff
KW
49562010-07-14 Ken Werner <ken.werner@de.ibm.com>
4957
4958 * gdb.arch/altivec-abi.exp: New tests.
4959
91158a56
TT
49602010-07-13 Tom Tromey <tromey@redhat.com>
4961
4962 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
4963 (main): Use it.
4964 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
4965
0f5238ed
TT
49662010-07-13 Tom Tromey <tromey@redhat.com>
4967
4968 * gdb.base/label.exp: New file.
4969 * gdb.base/label.c: New file.
4970
add265ae
L
49712010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
4972 H.J. Lu <hongjiu.lu@intel.com>
4973
4974 * lib/gdb.exp (is_ilp32_target): New.
4975 (is_lp64_target): Likewise.
4976
4977 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
4978 target.
4979 * gdb.arch/amd64-disp-step.exp: Likewise.
4980 * gdb.arch/amd64-dword.exp: Likewise.
4981 * gdb.arch/amd64-i386-address.exp: Likewise.
4982 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 4983
add265ae
L
4984 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
4985 target.
4986 * gdb.arch/i386-bp_permanent.exp: Likewise.
4987 * gdb.arch/i386-byte.exp: Likewise.
4988 * gdb.arch/i386-disp-step.exp: Likewise.
4989 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4990 * gdb.arch/i386-prologue.exp: Likewise.
4991 * gdb.arch/i386-size-overlap.exp: Likewise.
4992 * gdb.arch/i386-size.exp: Likewise.
4993 * gdb.arch/i386-sse.exp: Likewise.
4994 * gdb.arch/i386-unwind.exp: Likewise.
4995 * gdb.arch/i386-word.exp: Likewise.
4996
4997 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
4998 test only when building 64-bit executables. Do not hard-code
4999 -m64 option.
5000
2dfb8c17
DE
50012010-07-07 Doug Evans <dje@google.com>
5002
5003 * lib/gdb.exp (gdb_test_list_exact): New function.
5004 * gdb.base/default.exp (show convenience): Call it, add tests for
5005 $_sdata = void, $_thread = 0.
5006
4e5799b6
JK
50072010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5008 Joel Brobecker <brobecker@adacore.com>
5009
5010 Fix re-run of PIE executable, PR shlibs/11776.
5011 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
5012 Remove $displacement_main to match the solib-svr4.c change. New "kill"
5013 and re-"run" of the inferior.
5014
1a219cc7
JK
50152010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5016 Joel Brobecker <brobecker@adacore.com>
5017
5018 Cope with missing /usr/sbin/prelink.
5019 * lib/prelink-support.exp (prelink_no):
5020 <result == 1 && $output is "no such file or directory">: New.
5021 (prelink_yes): Likewise. Return on failed prelink_no.
5022
5e3b36f8
JK
50232010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5024 Joel Brobecker <brobecker@adacore.com>
5025
5026 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
5027 build_executable by build_executable_own_libs. Replace "prelink -R"
5028 execution by a call of prelink_yes. Comment why "prelink -r" needs no
5029 change.
5030 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
5031 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
5032 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
5033 Replace build_executable by build_executable_own_libs's function
5034 build_executable_own_libs.
5035 (prelinkNO): Create new stub to call prelink_no.
5036 (prelinkYES): Create new stub to call prelink_yes.
5037 (test_attach): Rename calls of copy to file_copy.
5038 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
5039 (copy): Move to ...
5040 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
5041 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
5042 * gdb.base/prelink.exp: Disable testcase also for is_remote and
5043 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
5044 special flags by gdb_compile_shlib. Replace second gdb_compile by
5045 build_executable_own_libs. Replace "prelink -R" execution by a call of
5046 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
5047 a second call of prelink_yes. Replace restart commands by
5048 clean_restart.
5049 (prelink): Rename to ...
5050 (seen displacement message): ... this test. Extend its expectation
5051 strictness.
5052
86e4bafc
JK
50532010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5054
5055 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
5056 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
5057 displacement message exactly once.
5058
3cd07d20
JK
50592010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5060 Joel Brobecker <brobecker@adacore.com>
5061
5062 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
5063 its restore after the <$relink_args != ""> loop. new comment.
5064
0a1e94c7
JK
50652010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5066 Joel Brobecker <brobecker@adacore.com>
5067
5068 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
5069 code for it. New variable relink_args.
5070 (prelinkYES): Call prelinkNO.
5071 (test_attach): Accept new parameter relink_args. Re-prelink the binary
5072 in such case. Move the core code to ...
5073 (test_attach_gdb): ... a new function. Send GDB command "file".
5074 Extend expected "Attaching to " string.
5075
2f70bcfb
TT
50762010-07-02 Tom Tromey <tromey@redhat.com>
5077
5078 * gdb.base/bitops.exp: Remove extraneous "pass".
5079
a17ac5b0
TT
50802010-07-02 Ken Werner <ken.werner@de.ibm.com>
5081
5082 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
5083
dc10affe
PA
50842010-07-01 Pedro Alves <pedro@codesourcery.com>
5085
d41c0fc8
PA
5086 * gdb.base/help.exp: Adjust expected output.
5087
50882010-07-01 Pedro Alves <pedro@codesourcery.com>
5089
5090 * gdb.base/help.exp: Adjust expected output.
dc10affe 5091
0a600c36
JK
50922010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5093
5094 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
5095 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
5096 c++/11702.
5097
37cc8bfe
JK
50982010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5099 Doug Evans <dje@google.com>
5100
5101 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
5102 add .dynamic entry'.
5103
254e6b9e
DE
51042010-06-29 Doug Evans <dje@google.com>
5105
5106 Test PR c++/11702.
5107 * gdb.cp/m-static.exp: Add testcase.
5108 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
5109
595939de 51102010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
5111 Tom Tromey <tromey@redhat.com>
5112 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
5113
5114 * gdb.python/py-inferior.c: New File.
5115 * gdb.python/py-infthread.c: New File.
5116 * gdb.python/py-inferior.exp: New File.
5117 * gdb.python/py-infthread.exp: New File.
5118
98751a41
JK
51192010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5120
5121 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
5122 (ptype ::C::OtherFileClass typedefs): New.
5123 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
5124 (C::OtherFileClass::cOtherFileClassVar2): New.
5125 (C::OtherFileClass::cOtherFileClassVar_use): Use also
5126 cOtherFileClassVar2.
5127 (C::cOtherFileType2, C::cOtherFileVar2): New.
5128 (C::cOtherFileVar_use): use also cOtherFileVar2.
5129 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
5130
41f62f39
JK
51312010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5132
5133 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
5134 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
5135 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
5136 (print ::C::cOtherFileVar)
5137 (whatis C::OtherFileClass::cOtherFileClassType)
5138 (whatis ::C::OtherFileClass::cOtherFileClassType)
5139 (print C::OtherFileClass::cOtherFileClassVar)
5140 (print ::cOtherFileClassVar)
5141 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
5142 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
5143 trailing content.
5144 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
5145 (C::OtherFileClass::cOtherFileClassVar)
5146 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
5147 (C::cOtherFileVar, C::cOtherFileVar_use): New.
5148
af53d231
JK
51492010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5150
5151 Test PR c++/11703 and PR gdb/1448.
5152 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
5153 gdb/1448.
5154
9655fd1a
JK
51552010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5156
5157 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
5158 (main) <rtti_data>: New.
5159 * gdb.cp/virtbase.exp (print rtti_data): New.
5160
824cc8dd
JK
51612010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5162 Joel Brobecker <brobecker@adacore.com>
5163
5164 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
5165
6036c742
JK
51662010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5167
5168 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
5169
de6a0421
DE
51702010-06-28 Doug Evans <dje@google.com>
5171
5172 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
5173
b2dae948
DE
51742010-06-27 Doug Evans <dje@google.com>
5175
5176 * gdb.cp/m-static.exp: Update expected test output.
5177
0f3bb72e
PH
51782010-06-25 Paul Hilfinger <hilfinger@adacore.com>
5179
889bf7c5
PA
5180 * gdb.gdb/selftest.exp: Adjust expected message for
5181 capturing start-up runtime.
0f3bb72e 5182
bc9f0842
TT
51832010-06-25 Tom Tromey <tromey@redhat.com>
5184
5185 PR python/10808:
5186 * gdb.python/python.exp: Add new tests.
5187
099ef718
SW
51882010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
5189
5190 * gdb.cp/operator.cc: Created an import loop.
5191 * gdb.cp/operator.exp: Added testcase for import loop.
5192
5868a632
JK
51932010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5194
5195 Test PR python/11407.
5196 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
5197 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
5198 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
5199 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
5200 executable_nofb and executable_fb. New variables srcsfile, objsfile,
5201 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
5202 binfile. Call gdb_compile with clean_restart twice.
5203 (func_nofb print, func_nofb backtrace, func_loopfb print)
5204 (func_loopfb backtrace): New.
5205
af76db58
JK
52062010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5207
5208 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
5209 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
5210 by a hand made one.
5211 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
5212 i?86 requirement. Remove variables srcfile and binfile. New variable
5213 sources, executable_nofb and executable_fb. Call prepare_for_testing.
5214
f2c7657e
UW
52152010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5216
5217 * gdb.cell/dwarfaddr.exp: New file.
5218 * gdb.cell/dwarfaddr.S: New file.
5219
628fe4e4
JK
52202010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5221
5222 Test PR 9436.
5223 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
5224
f1421989
HZ
52252010-06-24 Hui Zhu <teawater@gmail.com>
5226
5227 * gdb.base/eval.exp: New file.
5228
d03285ec
UW
52292010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5230
5231 * gdb.cell/fork.exp: New file.
5232 * gdb.cell/fork.c: Likewise.
5233 * gdb.cell/fork-spu.c: Likewise.
5234
41b2c92d
PM
52352010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
5236
5237 * lib/gdb.exp (banned_variables_traced): New global variable.
5238 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
5239 (gdb_init): Use `trace add variable' instead of obsolete
5240 `trace variable'.
5241
d5bc977f
DE
52422010-06-21 Doug Evans <dje@google.com>
5243
5244 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
5245
d2ed6730
UW
52462010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5247
5248 * gdb.arch/spu-ls.exp: New file.
5249 * gdb.arch/spu-ls.c: Likewise.
5250
6aed2dbc
SS
52512010-06-18 Stan Shebs <stan@codesourcery.com>
5252
5253 * gdb.threads/thread-specific.exp: Add tests of $_thread.
5254
e0756905
UW
52552010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5256
5257 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
5258 * gdb.base/watch-cond.exp: Likewise.
5259 * gdb.python/py-breakpoint.exp: Likewise.
5260
d8053d4d
PA
52612010-06-18 Pedro Alves <pedro@codesourcery.com>
5262
5263 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
5264 clean_restart, make sure every test has a distinct message, and
5265 that messages don't include the executable' full path.
5266
81ce510c
DE
52672010-06-17 Doug Evans <dje@google.com>
5268
5269 * gdb.arch/i386-size.exp: Updated expected output for
5270 DISASSEMBLY_OMIT_FNAME.
5271
65d79d4b
SDJ
52722010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5273 Sergio Durigan Junior <sergiodj@redhat.com>
5274
5275 * gdb.base/watch-notconst.c: New file.
5276 * gdb.base/watch-notconst.S: New file.
5277 * gdb.base/watch-notconst2.c: New file.
5278 * gdb.base/watch-notconst2.S: New file.
5279 * gdb.base/watch-notconst.exp: New file.
5280 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
5281 (func4): Add operations on `global_ptr_ptr'.
5282 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
5283 routine to test watchpoints created with a constant expression.
5284 (test_inaccessible_watchpoint): Include tests for watchpoints
5285 created with a constant expression.
5286
df0f4836
KB
52872010-06-14 Kevin Buettner <kevinb@redhat.com>
5288
5289 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
5290 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
5291 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
5292 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
5293 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
5294 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
5295 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
5296 of `_start'.
5297
b769def5
UW
52982010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5299
5300 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
5301 not supported on the target.
5302 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5303 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5304 * gdb.mi/mi-nsintrall.exp: Likewise.
5305 * gdb.mi/mi-nsmoribund.exp: Likewise.
5306 * gdb.mi/mi-nsthrexec.exp: Likewise.
5307
d914c394
SS
53082010-06-11 Stan Shebs <stan@codesourcery.com>
5309
5310 * gdb.base/permissions.exp: New file.
5311
53122010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
5313
5314 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
5315 does not support ELF executable class.
5316
f3ce5b9c
UW
53172010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5318
5319 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
5320
8e46892c
JK
53212010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5322
5323 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
5324 (runto): Catch "The target does not support running in non-stop mode.".
5325
6cc55c64
MS
53262010-06-11 Michael Snyder <msnyder@vmware.com>
5327
5328 * gdb.base/setshow.exp (set language asm): Don't use
5329 gdb_test_no_output, fails on some targets.
5330
caddefa4
UW
53312010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5332
5333 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
5334 * gdb.cp/pr9167.exp: Likewise.
5335
468b1aa7
UW
53362010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5337
5338 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
5339
5c3552dc
UW
53402010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5341
5342 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
5343
02e6fe6a
UW
53442010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5345
5346 * gdb.base/charset.c (main): Make sure malloc gets linked in.
5347
0e03807e
TT
53482010-06-11 Tom Tromey <tromey@redhat.com>
5349
5350 PR gdb/9977, PR exp/11636::
5351 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
5352 (pieces_test_f6): Update expected output.
5353
2bdf28a0
JK
53542010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5355
5356 * gdb.base/moribund-step.exp: New.
5357
f6978de9
MS
53582010-06-08 Michael Snyder <msnyder@vmware.com>
5359
5360 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 5361 * gdb.ada/boolean_expr.exp:
f6978de9
MS
5362 * gdb.ada/frame_args.exp: Ditto.
5363 * gdb.ada/lang_switch.exp: Ditto.
5364 * gdb.ada/ptype_arith_binop.exp: Ditto.
5365 * gdb.ada/ref_param.exp: Ditto.
5366 * gdb.ada/type_coercion.exp:Ditto.
5367
5368 * gdb.asm/asm-source.exp: Ditto.
5369
5370 * gdb.base/attach.exp: Ditto.
5371 * gdb.base/bitfields2.exp: Ditto.
5372 * gdb.base/call-signal-resume.exp: Ditto.
5373 * gdb.base/callfuncs.exp: Ditto.
5374 * gdb.base/commands.exp: Ditto.
5375 * gdb.base/dbx.exp: Ditto.
5376 * gdb.base/default.exp: Ditto.
5377 * gdb.base/dump.exp: Ditto.
5378 * gdb.base/exprs.exp: Ditto.
5379 * gdb.base/freebpcmd.exp: Ditto.
5380 * gdb.base/interrupt.exp: Ditto.
5381 * gdb.base/list.exp: Ditto.
5382 * gdb.base/long_long.exp: Ditto.
5383 * gdb.base/maint.exp: Ditto.
5384 * gdb.base/ptype.exp: Ditto.
5385 * gdb.base/return.exp: Ditto.
5386 * gdb.base/setshow.exp: Ditto.
5387 * gdb.base/sigbpt.exp: Ditto.
5388 * gdb.base/sigrepeat.exp: Ditto.
5389
5390 * gdb.cp/classes.exp: Ditto.
5391
5392 * gdb.dwarf2/dw2-restore.exp: Ditto.
5393
5394 * gdb.gdb/selftest.exp: Ditto.
5395
5396 * gdb.multi/base.exp: Ditto.
5397 * gdb.multi/bkpt-multi-exec.exp: Ditto.
5398
5399 * gdb.python/py-block.exp: Ditto.
5400 * gdb.python/py-prettyprint.exp: Ditto.
5401 * gdb.python/py-template.exp: Ditto.
5402
5403 * gdb.server/ext-attach.exp: Ditto.
5404 * gdb.server/ext-run.exp: Ditto.
5405 * gdb.server/server-mon.exp: Ditto.
5406
5407 * gdb.threads/fork-thread-pending.exp: Ditto.
5408 * gdb.threads/hand-call-in-threads.exp: Ditto.
5409 * gdb.threads/interrupted-hand-call.exp: Ditto.
5410 * gdb.threads/linux-dp.exp: Ditto.
5411 * gdb.threads/manythreads.exp: Ditto.
5412 * gdb.threads/print-threads.exp: Ditto.
5413 * gdb.threads/pthreads.exp: Ditto.
5414 * gdb.threads/schedlock.exp: Ditto.
5415 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5416 * gdb.threads/threadapply.exp: Ditto.
5417
de7ff789
MS
54182010-06-08 Michael Snyder <msnyder@vmware.com>
5419
889bf7c5 5420 * gdb.ada/exec_changed.exp:
de7ff789
MS
5421 Use ".*" instead of "" as wildcard regexp.
5422
5423 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
5424 * gdb.base/call-ar-st.exp: Ditto.
5425 * gdb.base/checkpoint.exp: Ditto.
5426 * gdb.base/default.exp: Ditto.
5427 * gdb.base/dump.exp: Ditto.
5428 * gdb.base/ending-run.exp: Ditto.
5429 * gdb.base/fileio.exp: Ditto.
5430 * gdb.base/miscexprs.exp: Ditto.
5431 * gdb.base/pointers.exp: Ditto.
5432 * gdb.base/readline.exp: Ditto.
5433 * gdb.base/reread.exp: Ditto.
5434 * gdb.base/restore.exp: Ditto.
5435 * gdb.base/shlib-call.exp: Ditto.
5436 * gdb.base/valgrind-db-attach.exp: Ditto.
5437 * gdb.base/volatile.exp: Ditto.
5438 * gdb.base/watchpoints.exp: Ditto.
5439
5440 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
5441
5442 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
5443 * gdb.python/py-value.exp: Ditto.
5444
5445 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
5446 * gdb.trace/circ.exp: Ditto.
5447 * gdb.trace/collection.exp: Ditto.
5448 * gdb.trace/packetlen.exp: Ditto.
5449 * gdb.trace/passc-dyn.exp: Ditto.
5450 * gdb.trace/report.exp: Ditto.
5451 * gdb.trace/tfile.exp: Ditto.
5452 * gdb.trace/tfind.exp: Ditto.
5453 * gdb.trace/while-dyn.exp: Ditto.
5454
3bebe2f2
JK
54552010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5456
5457 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
5458
5c631832
JK
54592010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5460
5461 Test PR 10640.
5462 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
5463
4c3376c8
SW
54642010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
5465
5466 * gdb.cp/koenig.exp: Test for ADL operators.
5467 * gdb.cp/koenig.cc: Added ADL operators.
5468 * gdb.cp/operator.exp: New test.
5469 * gdb.cp/operator.cc: New test.
5470
dc226d5a
MS
54712010-06-04 Michael Snyder <msnyder@vmware.com>
5472
dfb88a23
MS
5473 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
5474 * gdb.base/pending.exp: Ditto.
f7ae76b3 5475
dc226d5a
MS
5476 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
5477
967cf477
DE
54782010-06-04 Doug Evans <dje@google.com>
5479
5480 * gdb.python/py-prettyprint.exp: Add new test for enabled and
5481 disabled printers.
5482 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
5483 (enable_lookup_function): New function.
5484
eb801841
TT
54852010-06-04 Tom Tromey <tromey@redhat.com>
5486
5487 * gdb.python/py-value.exp (test_value_hash): Don't test equality
5488 of hash and id.
5489
38979823
JK
54902010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5491
5492 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
5493 newline.
5494 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
5495 (empty verbose non-noisy clear, empty verbose noisy clear)
5496 (empty non-verbose noisy clear): Likewise.
5497
35ec993f
MS
54982010-06-03 Michael Snyder <msnyder@vmware.com>
5499
5500 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
5501 * gdb.base/display.exp: Ditto.
5502 * gdb.base/find.exp: Ditto.
5503 * gdb.base/ifelse.exp: Ditto.
5504 * gdb.base/multi-forks.exp: Ditto.
5505 * gdb.base/recurse.exp: Ditto.
5506 * gdb.base/setshow.exp: Ditto.
5507 * gdb.base/value-double-free.exp: Ditto.
5508 * gdb.base/watch-vfork.exp: Ditto.
5509 * gdb.base/watch_thread_num.exp: Ditto.
5510 * gdb.base/watchpoint-solib.exp: Ditto.
5511 * gdb.base/watchpoint.exp: Ditto.
5512 * gdb.base/watchpoints.exp: Ditto.
5513
5514 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
5515 * gdb.cp/overload.exp: Ditto.
5516 * gdb.cp/virtfunc.exp: Ditto.
5517
5518 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
5519
889bf7c5 5520 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
5521 Replace gdb_test with gdb_test_no_output.
5522
889bf7c5 5523 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
5524 Replace gdb_test with gdb_test_no_output.
5525 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5526 * gdb.threads/watchthreads.exp: Ditto.
5527 * gdb.threads/watchthreads2.exp: Ditto.
5528
5529 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
5530 * gdb.trace/tfind.exp: Ditto.
5531
c22decce
JB
55322010-06-03 Joel Brobecker <brobecker@adacore.com>
5533
5534 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
5535 successful test if message is the empty string.
5536
fd5700c7
JK
55372010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5538
5539 * gdb.fortran/module.exp (stopped language detection): New test.
5540
f55ee35c
JK
55412010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5542
5543 Support DW_TAG_module as separate namespaces.
5544 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
5545 gdb.fortran/library-module-lib.f90: New.
5546 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
5547 (print i): Remove.
5548 (continue to breakpoint: i-is-1, print var_i value 1)
5549 (continue to breakpoint: i-is-2, print var_i value 2)
5550 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
5551 (print var_d, print var_i value 14, ptype modmany, complete `modm)
5552 (complete `modmany, complete `modmany`, complete `modmany`var)
5553 (show language, setting breakpoint at module): New tests.
5554 * gdb.fortran/module.f90 (module mod): Remove.
5555 (module mod1, module mod2, module modmany, subroutine sub1)
5556 (subroutine sub2, program module): New.
5557
b8e8282f
JK
55582010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5559
5560 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
5561 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
5562 * gdb.cp/anon-union.exp (pass): Rename to ...
5563 (print z 2): ... here.
b8e8282f 5564
019ebafc
MS
55652010-06-02 Michael Snyder <msnyder@vmware.com>
5566
e68d8fd4
MS
5567 * gdb.trace/actions.exp: Use gdb_test_no_output.
5568 * gdb.trace/circ.exp: Ditto.
5569 * gdb.trace/packetlen.exp: Ditto.
5570 * gdb.trace/save-trace.exp: Ditto.
5571 * gdb.trace/tracecmd.exp: Ditto.
5572 * gdb.trace/tsv.exp: Ditto.
5573
12b5d08a
MS
5574 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
5575 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
5576 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5577 * gdb.threads/manythreads.exp: Ditto.
5578 * gdb.threads/print-threads.exp: Ditto.
5579 * gdb.threads/pthreads.exp: Ditto.
5580 * gdb.threads/schedlock.exp: Ditto.
5581 * gdb.threads/staticthreads.exp: Ditto.
5582 * gdb.threads/thread-specific.exp: Ditto.
5583 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5584 * gdb.threads/threadapply.exp: Ditto.
5585 * gdb.threads/watchthreads.exp: Ditto.
5586 * gdb.threads/watchthreads2.exp: Ditto.
5587
89493308
MS
5588 * gdb.python/py-block.exp: Use gdb_test_no_output.
5589 * gdb.python/py-prettyprint.exp: Ditto.
5590 * gdb.python/py-template.exp: Ditto.
5591 * gdb.python/py-value.exp: Ditto.
5592
5593 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
5594 * gdb.reverse/watch-reverse.exp: Ditto.
5595
5596 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
5597 * gdb.server/ext-run.exp: Ditto.
5598
019ebafc
MS
5599 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
5600 * gdb.dwarf2/dw2-compressed.exp: Ditto.
5601 * gdb.dwarf2/dw2-intercu.exp: Ditto.
5602 * gdb.dwarf2/dw2-intermix.exp: Ditto.
5603 * gdb.dwarf2/dw2-producer.exp: Ditto.
5604 * gdb.dwarf2/mac-fileno.exp: Ditto.
5605
5606 * gdb.gdb/observer.exp: Use gdb_test_no_output.
5607 * gdb.gdb/selftest.exp: Ditto.
5608
5609 * gdb.multi/base.exp: Use gdb_test_no_output.
5610
5611 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
5612
3e0ca3a5
JK
56132010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5614
5615 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
5616
9db70545
MS
56172010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
5618
a8d52276
MS
5619 * gdb.cp/class2.exp: Use gdb_test_no_output.
5620 * gdb.cp/classes.exp: Ditto.
5621 * gdb.cp/extern-c.exp: Ditto.
5622 * gdb.cp/inherit.exp: Ditto.
5623 * gdb.cp/maint.exp: Ditto.
5624 * gdb.cp/mb-inline.exp: Ditto.
5625 * gdb.cp/mb-templates.exp: Ditto.
5626 * gdb.cp/method2.exp: Ditto.
5627 * gdb.cp/misc.exp: Ditto.
5628 * gdb.cp/ovldbreak.exp: Ditto.
5629 * gdb.cp/punctuator.exp: Ditto.
5630 * gdb.cp/templates.exp: Ditto.
5631 * gdb.cp/virtbase.exp: Ditto.
5632
889bf7c5 5633 * gdb.threads/attach-stopped.exp:
9db70545 5634 Replace uses of send_gdb / gdb_expect.
889bf7c5 5635 * gdb.threads/attachstop-mt.exp:
9db70545 5636 Replace uses of send_gdb / gdb_expect.
889bf7c5 5637 * gdb.threads/gcore-thread.exp:
9db70545 5638 Replace uses of send_gdb / gdb_expect.
889bf7c5 5639 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
5640 Replace uses of send_gdb / gdb_expect.
5641 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 5642 * gdb.threads/print-threads.exp:
9db70545
MS
5643 Replace uses of send_gdb / gdb_expect.
5644 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
5645 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
5646 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
5647
5648 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
5649 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
5650 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
5651 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
5652 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
5653 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
5654 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
5655 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
5656 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
5657 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
5658 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
5659
359cc68c
JK
56602010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5661
5662 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
5663
7d3fe98e
SW
56642010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
5665
5666 * gdb.cp/koenig.exp: Added new test case.
5667 * gdb.cp/koenig.cc: Ditto.
5668
27d3a1a2
MS
56692010-06-01 Michael Snyder <msnyder@vmware.com>
5670
5671 * gdb.base/arithmet.exp: Use gdb_test_no_output.
5672 * gdb.base/arrayidx.exp: Ditto.
5673 * gdb.base/attach.exp: Ditto.
5674 * gdb.base/auxv.exp: Ditto.
5675 * gdb.base/bigcre.exp: Ditto.
5676 * gdb.base/break-always.exp: Ditto.
5677 * gdb.base/break-interp.exp: Ditto.
5678 * gdb.base/break.exp: Ditto.
5679 * gdb.base/breakpoint-shadow.exp: Ditto.
5680 * gdb.base/call-ar-st.exp: Ditto.
5681 * gdb.base/call-sc.exp: Ditto.
5682 * gdb.base/call-signal-resume.exp: Ditto.
5683 * gdb.base/callfuncs.exp: Ditto.
5684 * gdb.base/catch-syscall.exp: Ditto.
5685 * gdb.base/charset.exp: Ditto.
5686 * gdb.base/code-expr.exp: Ditto.
5687 * gdb.base/commands.exp: Ditto.
5688 * gdb.base/cond-expr.exp: Ditto.
5689 * gdb.base/condbreak.exp: Ditto.
5690 * gdb.base/cursal.exp: Ditto.
5691 * gdb.base/cvexpr.exp: Ditto.
5692 * gdb.base/default.exp: Ditto.
5693 * gdb.base/del.exp: Ditto.
5694 * gdb.base/detach.exp: Ditto.
5695 * gdb.base/display.exp: Ditto.
5696 * gdb.base/ena-dis-br.exp: Ditto.
5697 * gdb.base/eval-skip.exp: Ditto.
5698 * gdb.base/foll-fork.exp: Ditto.
5699 * gdb.base/foll-vfork.exp: Ditto.
5700 * gdb.base/frame-args.exp: Ditto.
5701 * gdb.base/funcargs.exp: Ditto.
5702 * gdb.base/gcore-buffer-overflow.exp: Ditto.
5703 * gdb.base/gdbvars.exp: Ditto.
5704 * gdb.base/help.exp: Ditto.
5705 * gdb.base/ifelse.exp: Ditto.
5706 * gdb.base/included.exp: Ditto.
5707 * gdb.base/list.exp: Ditto.
5708 * gdb.base/macscp.exp: Ditto.
5709 * gdb.base/maint.exp: Ditto.
5710 * gdb.base/multi-fork.exp: Ditto.
5711 * gdb.base/overlays.exp: Ditto.
5712 * gdb.base/page.exp: Ditto.
5713 * gdb.base/pending.exp: Ditto.
5714 * gdb.base/pointers.exp: Ditto.
5715 * gdb.base/pr11022.exp: Ditto.
5716 * gdb.base/prelink.exp: Ditto.
5717 * gdb.base/printcmds.exp: Ditto.
5718 * gdb.base/psymtab.exp: Ditto.
5719 * gdb.base/randomize.exp: Ditto.
5720 * gdb.base/relational.exp: Ditto.
5721 * gdb.base/relocate.exp: Ditto.
5722 * gdb.base/remote.exp: Ditto.
5723 * gdb.base/sepdebug.exp: Ditto.
5724 * gdb.base/set-lang-auto.exp: Ditto.
5725 * gdb.base/setshow.exp: Ditto.
5726 * gdb.base/setvar.exp: Ditto.
5727 * gdb.base/signals.exp: Ditto.
5728 * gdb.base/signull.exp: Ditto.
5729 * gdb.base/sigstep.exp: Ditto.
5730 * gdb.base/sizeof.exp: Ditto.
5731 * gdb.base/solib-disc.exp: Ditto.
5732 * gdb.base/store.exp: Ditto.
5733 * gdb.base/structs.exp: Ditto.
5734 * gdb.base/structs2.exp: Ditto.
5735 * gdb.base/subst.exp: Ditto.
5736 * gdb.base/term.exp: Ditto.
5737 * gdb.base/trace-commands.exp: Ditto.
5738 * gdb.base/unwindonsignal.exp: Ditto.
5739 * gdb.base/valgrind-db-attach.exp: Ditto.
5740 * gdb.base/varargs.exp: Ditto.
5741 * gdb.base/watch-cond.exp: Ditto.
5742 * gdb.base/watch_thread_num.exp: Ditto.
5743 * gdb.base/watchpoint-cond-gone.exp: Ditto.
5744 * gdb.base/watchpoint.exp: Ditto.
5745 * gdb.base/whatis-exp.exp: Ditto.
5746
f8d3bf8f
MS
57472010-06-01 Michael Snyder <msnyder@vmware.com>
5748
5749 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
5750 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
5751 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
5752 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
5753 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
5754 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
5755 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
5756 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
5757 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
5758 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
5759 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
5760 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
5761 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
5762 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
5763 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
5764
3f9e0d32
JK
57652010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5766
5767 * gdb.base/commands.exp (begin commands on watch): Remove excessive
5768 trailing newline.
5769 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
5770 * gdb.java/jmisc.exp (p *args\n): Rename to ...
5771 (p *args): ... here and remove excessive trailing newline.
5772
f629457d
JB
57732010-05-31 Joel Brobecker <brobecker@adacore.com>
5774
5775 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
5776
09eef106
JK
57772010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5778
5779 Accept the new Linux kernel "t (tracing stop)" string.
5780 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
5781 Update comment.
5782 (state_wait) <T (tracing stop)>: New.
5783 (main): Update the state_wait expect string.
5784
94f31136
PA
57852010-05-28 Pedro Alves <pedro@codesourcery.com>
5786
5787 * limits.c, limits.exp: Delete files.
5788 * Makefile.in (clean mostlyclean): Adjust.
5789 * tracecmd.exp: Adjust.
5790
096554ab
JK
57912010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5792
5793 * gdb.base/tui-layout.exp: New.
5794
27d3a1a2 57952010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 5796
889bf7c5 5797 * gdb.reverse/break-precsave.exp:
bcd2dc50 5798 Replace uses of send_gdb / gdb_expect.
889bf7c5 5799 * gdb.reverse/break-reverse.exp:
bcd2dc50 5800 Replace uses of send_gdb / gdb_expect.
889bf7c5 5801 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 5802 Replace uses of send_gdb / gdb_expect.
889bf7c5 5803 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 5804 Replace uses of send_gdb / gdb_expect.
889bf7c5 5805 * gdb.reverse/finish-precsave.exp:
bcd2dc50 5806 Replace uses of send_gdb / gdb_expect.
889bf7c5 5807 * gdb.reverse/finish-reverse.exp:
bcd2dc50 5808 Replace uses of send_gdb / gdb_expect.
889bf7c5 5809 * gdb.reverse/i386-precsave.exp:
bcd2dc50 5810 Replace uses of send_gdb / gdb_expect.
889bf7c5 5811 * gdb.reverse/i386-reverse.exp:
bcd2dc50 5812 Replace uses of send_gdb / gdb_expect.
889bf7c5 5813 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 5814 Replace uses of send_gdb / gdb_expect.
889bf7c5 5815 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 5816 Replace uses of send_gdb / gdb_expect.
889bf7c5 5817 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 5818 Replace uses of send_gdb / gdb_expect.
889bf7c5 5819 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 5820 Replace uses of send_gdb / gdb_expect.
889bf7c5 5821 * gdb.reverse/machinestate.exp:
bcd2dc50 5822 Replace uses of send_gdb / gdb_expect.
889bf7c5 5823 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 5824 Replace uses of send_gdb / gdb_expect.
889bf7c5 5825 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 5826 Replace uses of send_gdb / gdb_expect.
889bf7c5 5827 * gdb.reverse/solib-precsave.exp:
bcd2dc50 5828 Replace uses of send_gdb / gdb_expect.
889bf7c5 5829 * gdb.reverse/solib-reverse.exp:
bcd2dc50 5830 Replace uses of send_gdb / gdb_expect.
889bf7c5 5831 * gdb.reverse/step-precsave.exp:
bcd2dc50 5832 Replace uses of send_gdb / gdb_expect.
889bf7c5 5833 * gdb.reverse/step-reverse.exp:
bcd2dc50 5834 Replace uses of send_gdb / gdb_expect.
889bf7c5 5835 * gdb.reverse/until-precsave.exp:
bcd2dc50 5836 Replace uses of send_gdb / gdb_expect.
889bf7c5 5837 * gdb.reverse/until-reverse.exp:
bcd2dc50 5838 Replace uses of send_gdb / gdb_expect.
889bf7c5 5839 * gdb.reverse/watch-precsave.exp:
bcd2dc50 5840 Replace uses of send_gdb / gdb_expect.
889bf7c5 5841 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
5842 Replace uses of send_gdb / gdb_expect.
5843
3def43e0
JK
58442010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5845
5846 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
5847 excessive newline.
5848
27d3a1a2 58492010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
5850
5851 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
5852 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
5853 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
5854 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
5855 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
5856 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
5857 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
5858 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
5859 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
5860 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
5861 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
5862 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
5863 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
5864 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
5865 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
5866 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
5867 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
5868 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
5869 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 5870
27d3a1a2 58712010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 5872
22454424
MS
5873 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
5874 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
5875
5876 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
5877 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
5878 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
5879
889bf7c5 5880 * gdb.reverse/consecutive-reverse.exp:
22454424 5881 Replace uses of send_gdb / gdb_expect.
889bf7c5 5882 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
5883 Replace uses of send_gdb / gdb_expect.
5884
5885 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
5886 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
5887 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 5888 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
5889 Replace uses of send_gdb / gdb_expect.
5890 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
5891 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
5892 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
5893 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
5894 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
5895 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
5896 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
5897 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
5898 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
5899
59002010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 5901
22454424 5902 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5903
22454424 5904 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5905
22454424
MS
5906 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
5907 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
5908 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
5909 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
5910 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
5911 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
5912 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
5913 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
5914 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5915
6e5f2c59
TT
59162010-05-25 Tom Tromey <tromey@redhat.com>
5917
5918 * gdb.base/macscp.exp: Add missing space after setup_kfail.
5919
bbc8b958
TT
59202010-05-25 Tom Tromey <tromey@redhat.com>
5921
5922 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
5923 argument order.
5924 * gdb.base/macscp.exp: Fix setup_kfail argument order.
5925 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
5926 order.
5927 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
5928 order.
5929 * gdb.base/call-sc.exp (setup_kfails): Remove.
5930 (setup_compiler_kfails): Remove.
5931 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
5932 argument order.
5933 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
5934 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
5935 (advancei): Fix setup_kfail argument order.
5936 * gdb.base/radix.exp: Fix setup_kfail argument order.
5937 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
5938 order.
5939 * gdb.base/structs.exp (setup_kfails): Remove.
5940 (setup_compiler_kfails): Fix setup_kfail argument order.
5941 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
5942 order.
5943 * gdb.java/jmain.exp: Fix setup_kfail argument order.
5944 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
5945 setup_kfail argument order.
5946 * gdb.cp/overload.exp: Fix setup_kfail argument order.
5947
83d1babf
TT
59482010-05-25 Tom Tromey <tromey@redhat.com>
5949
5950 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
5951
6acb16a2
MS
59522010-05-25 Michael Snyder <msnyder@vmware.com>
5953
5954 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
5955 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
5956 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
5957 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
5958 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
5959 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
5960 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
5961 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
5962 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
5963 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
5964 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
5965 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
5966 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
5967 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
5968 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
5969 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
5970 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
5971 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
5972 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
5973 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
5974 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
5975 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
5976 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
5977 * gdb.base/default.exp: Replace send_gdb with gdb_test.
5978 * gdb.base/define.exp: Replace send_gdb with gdb_test.
5979 * gdb.base/display.exp: Replace send_gdb with gdb_test.
5980 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
5981 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
5982 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
5983 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
5984 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
5985 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
5986 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
5987 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
5988 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
5989 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
5990 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
5991 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
5992 * gdb.base/help.exp: Replace send_gdb with gdb_test.
5993 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
5994 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
5995 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
5996 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
5997 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
5998 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
5999 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
6000 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 6001 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
6002
60032010-05-25 Doug Evans <dje@google.com>
6004
6005 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
6006 gdb.string_to_argv.
ad3986f0 6007
d3b1e874
TT
60082010-05-21 Tom Tromey <tromey@redhat.com>
6009
6010 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
6011 Call it.
6012 * gdb.dwarf2/pieces.S: Update.
6013 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
6014
cb826367
TT
60152010-05-21 Tom Tromey <tromey@redhat.com>
6016
6017 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
6018 Call it.
6019 * gdb.dwarf2/pieces.c (struct C): New.
6020 (f6): New function.
6021 * gdb.dwarf2/pieces.S: Replace.
6022
74de6778
TT
60232010-05-21 Tom Tromey <tromey@redhat.com>
6024
6025 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
6026 Call it.
6027
afd74c5f
TT
60282010-05-21 Tom Tromey <tromey@redhat.com>
6029
6030 * gdb.dwarf2.pieces.exp: New file.
6031 * gdb.dwarf2.pieces.S: New file.
6032 * gdb.dwarf2.pieces.c: New file.
6033
a7b75dfd 60342010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 6035 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
6036
6037 * lib/gdb.exp (gdb_test_no_output): New function.
6038 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
6039 when testing commands that should produce no output.
6040
c81c812a
JB
60412010-05-17 Joel Brobecker <brobecker@adacore.com>
6042
6043 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
6044 parameter that we want to watch being a constant.
6045
0cce5bd9
JB
60462010-05-17 Joel Brobecker <brobecker@adacore.com>
6047
6048 * gdb.ada/cond_lang: New testcase.
6049
47050449
JB
60502010-05-17 Joel Brobecker <brobecker@adacore.com>
6051
6052 * lib/gdb.exp (banned_variables): New variable/constant.
6053 (gdb_init): Add write trace on variables listed in banned_variables.
6054 (gdb_finish): Remove write traces on variables listed in
6055 banned_variables.
6056
77c01586
JB
60572010-05-17 Joel Brobecker <brobecker@adacore.com>
6058
6059 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
6060 * gdb.cp/koenig.exp: Likewise.
6061
88d4aea7
PM
60622010-05-14 Phil Muldoon <pmuldoon@redhat.com>
6063
889bf7c5 6064 PR python/11482
88d4aea7
PM
6065
6066 * gdb.python/py-value.exp (test_value_hash): New function.
6067
f5a010c0
PM
60682010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
6069
6070 PR exp/11530.
6071 * gdb.base/gdb11530.c: New file.
6072 * gdb.base/gdb11530.exp: New file.
6073
8ef4892f
JK
60742010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6075
6076 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
6077 * gdb.dwarf2/dw2-modula2-self-type.S: New.
6078
7322dca9
SW
60792010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
6080
6081 * gdb.cp/koenig.exp: New test.
6082 * gdb.cp/koenig.cc: New test program.
6083
02e7ea18
JB
60842010-05-05 Joel Brobecker <brobecker@adacore.com>
6085
6086 Remove the use of prms_id and bug_id throughout the testsuite.
6087
e1c34c5d
PM
60882010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
6089
6090 PR exp/11349.
6091 * testsuite/gdb.cp/ref-types.exp: Add test to examine
6092 use a reference local variable.
6093
8e1d0c49
JK
60942010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6095
6096 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
6097 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
6098 variable different_dir. Move debugfile into a full directory pathname
6099 under DIFFERENT_DIR.
6100 * lib/gdb.exp (separate_debug_filename): Remove.
6101 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
6102 variable debug_dir and mkdir of it. Update function comments.
6103
e66408ed
PA
61042010-04-29 Pedro Alves <pedro@codesourcery.com>
6105
6106 PR gdb/11557
6107
6108 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
6109 files.
6110
d7b32ed3
PM
61112010-04-29 Phil Muldoon <pmuldoon@redhat.com>
6112
889bf7c5 6113 * gdb.python/py-param.exp: New File.
d7b32ed3 6114
6aecb9c2
JB
61152010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
6116
6117 * gdb.base/default.exp: Fix "set language" test.
6118
bdf92a1c
PM
61192010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
6120
6121 PR breakpoints/11531.
6122 * gdb.base/gdb11531.c: New file.
6123 * gdb.base/gdb11531.exp: New file.
6124
3f172e24
TT
61252010-04-26 Tom Tromey <tromey@redhat.com>
6126
6127 * gdb.base/completion.exp: Add tests for completion and deprecated
6128 commands.
6129
64af4c92
JK
61302010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6131
6132 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
6133 (print /x char_array): Escape curly brackets.
6134
492928e4
JK
61352010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6136
6137 Fix deadlock on looped list of loaded shared objects.
6138 * gdb.base/solib-corrupted.exp: New.
6139
66d09542
DE
61402010-04-23 Doug Evans <dje@google.com>
6141
6142 * gdb.python/py-section-script.c: New file.
6143 * gdb.python/py-section-script.exp: New file.
6144 * gdb.python/py-section-script.py: New file.
6145
8bd10a10
CM
61462010-04-20 Chris Moller <cmoller@redhat.com>
6147
6148 PR 10179
6149
6150 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
6151 * gdb.base/pr10179-a.c:
6152 * gdb.base/pr10179-b.c:
6153 * gdb.base/pr10179.exp: New files.
6154
c0201579
JK
61552010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6156
6157 Fix crashes on dangling display expressions.
6158 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
6159 is SEP.
6160 (lib_flags): Remove the "debug" keyword.
6161 (libsepdebug): New variable for iterating new loop.
6162 (save_pf_prefix): New variable wrapping the loop.
6163 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
6164 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
6165
793b0ff8
PM
61662010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6167
6168 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
6169
097f51f7
PM
61702010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6171
6172 PR stabs/11479.
6173 * gdb.stabs/gdb11479.exp: New file.
6174 * gdb.stabs/gdb11479.c: New file.
6175
9a22f0d0
PM
61762010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6177
6178 * gdb.base/charset.c (Strin16, String32): New variables.
6179 * gdb.base/charset.exp (gdb_test): Test correct display
6180 of 16 or 32 bit strings.
6181
61822010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
6183
6184 PR 9167
6185 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
6186 * gdb.cp/pr9167.cc: New file.
6187 * gdb.cp/pr9167.exp: New file.
6188
6189
6e354e5e
PM
61902010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
6191
6192 PR pascal/11492.
6193 * gdb.pascal/gdb11492.pas: New file.
6194 * gdb.pascal/gdb11492.exp: New file.
6195
be942545
JB
61962010-04-20 Joel Brobecker <brobecker@adacore.com>
6197
1667e6e3 6198 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 6199
0c3acc09
JB
62002010-04-20 Joel Brobecker <brobecker@adacore.com>
6201
6202 * gdb.ada/dyn_loc: New testcase.
6203
ec31cde5
CM
62042010-04-20 Chris Moller <cmoller@redhat.com>
6205
6206 PR 10867
889bf7c5 6207
ec31cde5
CM
6208 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
6209 * gdb.cp/pr10687.cc: New file.
6210 * gdb.cp/pr10687.exp: New file.
6211
6212
ce4b0682
SDJ
62132010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6214 Sergio Durigan Junior <sergiodj@redhat.com>
6215
6216 * gdb.fortran/logical.exp: New testcase.
6217 * gdb.fortran/logical.f90: New file.
6218
3436961f
DE
62192010-04-19 Doug Evans <dje@google.com>
6220
6221 * gdb.base/help.exp (help source): Update expected output.
6222
4d836c09
JK
62232010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6224
6225 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
6226 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
6227 gdb_exit and return.
6228 (executable): New variable.
6229 (binfile): Use it.
6230
6149aea9
PA
62312010-04-19 Pedro Alves <pedro@codesourcery.com>
6232
6233 PR breakpoints/8554.
6234
6235 * gdb.trace/save-trace.exp: Adjust.
6236
ed41462c
L
62372010-04-17 H.J. Lu <hongjiu.lu@intel.com>
6238
6239 PR corefiles/11511
6240 * gdb.arch/system-gcore.exp: New.
6241 * gdb.arch/gcore.c: Likewise.
6242
3f7b2faa
DE
62432010-04-15 Doug Evans <dje@google.com>
6244
fa33c3cd
DE
6245 * gdb.python/py-progspace.c: New file.
6246 * gdb.python/py-progspace.exp: New file.
6247
3f7b2faa
DE
6248 * gdb.base/source.exp: Add tests for "source -s".
6249
79f283fe
PM
62502010-04-14 Phil Muldoon <pmuldoon@redhat.com>
6251
6252 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
6253 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
6254 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
6255 * gdb.python/py-mi.exp: New test for to_string returning None.
6256
fc8eb08a
PM
62572010-04-12 Phil Muldoon <pmuldoon@redhat.com>
6258
6259 * gdb.python/py-breakpoint.c: Make result global.
6260
26e197f6
JK
62612010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6262
6263 Fix non-GNU make compatibility.
6264 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
6265
adc36818
PM
62662010-04-09 Phil Muldoon <pmuldoon@redhat.com>
6267
6268 * gdb.python/py-breakpoint.exp: New File.
6269 * gdb.python/py-breakpoint.C: Ditto.
6270
64e17368
SS
62712010-04-08 Stan Shebs <stan@codesourcery.com>
6272
6273 * gdb.trace/actions.exp: Clear default-collect.
6274 * gdb.trace/save-trace.exp: Clear default-collect.
6275
fff5cc64
PM
62762010-04-08 Phil Muldoon <pmuldoon@redhat.com>
6277
6278 * gdb.python/py-value: Add null string variable.
6279 (test_lazy_string): Test zero length, NULL address lazy
6280 strings.
6281
a055a187
L
62822010-04-07 H.J. Lu <hongjiu.lu@intel.com>
6283
6284 * gdb.arch/i386-avx.c: New.
6285 * gdb.arch/i386-avx.exp: Likewise.
6286
6287 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
6288
96e39866
DE
62892010-04-06 Doug Evans <dje@google.com>
6290
6291 * gdb.base/source-test.gdb: New file.
6292 * gdb.base/source.exp: Test source -v.
6293
5984a431
UW
62942010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6295
6296 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
6297
ec8a089a
PM
62982010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
6299
6300 * gdb.stabs/aout.sed: Convert all backslash to double backslash
6301 within one line, unless it is followed by a double quote.
6302 * gdb.stabs/hppa.sed: Idem.
6303 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
6304 * gdb.stabs/weird.exp: Check for correct parsing of
6305 char and string constants.
ec8a089a
PM
6306 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
6307 in .stabs to .stabx substitution.
6308
fce3c1f0
SS
63092010-04-05 Stan Shebs <stan@codesourcery.com>
6310
6311 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
6312 constant global.
6313 * gdb.trace/tfile.exp: Try to print them.
6314
d77f58be
SS
63152010-04-04 Stan Shebs <stan@codesourcery.com>
6316
6317 * gdb.base/completion.exp: Update for new "info watchpoints".
6318 * gdb.base/default.exp: Ditto.
6319 * gdb.base/help.exp: Ditto.
6320 * gdb.base/watchpoint.exp: Ditto.
6321 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 6322
af54718e
SS
63232010-04-04 Stan Shebs <stan@codesourcery.com>
6324
6325 * gdb.trace/tfile.exp: Sharpen tfind test.
6326
74d1f91e
JK
63272010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6328
6329 * gdb.base/break-entry.exp: New.
6330
eb8e76db 63312010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 6332 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
6333
6334 * gdb.reverse/i386-sse-reverse.exp: New file.
6335 * gdb.reverse/i386-sse-reverse.c: New file.
6336
bf65cad8
PA
63372010-04-02 Pedro Alves <pedro@codesourcery.com>
6338
6339 * gdb.trace/tfind.exp: Adjust expected disassembly output.
6340
fff87407
SS
63412010-04-01 Stan Shebs <stan@codesourcery.com>
6342
6343 * gdb.trace/actions.exp: Tweak expected output.
6344 * gdb.trace/while-stepping.exp: Tweak expected output.
6345
fe01d668
L
63462010-04-01 H.J. Lu <hongjiu.lu@intel.com>
6347
6348 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
6349
86b17b60
PA
63502010-04-01 Pedro Alves <pedro@codesourcery.com>
6351
6352 * gdb.base/commands.exp: Adjust.
6353 * gdb.cp/extern-c.exp: Adjust.
6354
2c58c0a9
PA
63552010-04-01 Pedro Alves <pedro@codesourcery.com>
6356
6357 * gdb.trace/collection.c (local_test_func): Define a local struct,
6358 and instanciate it.
6359
0db9b91c
PA
63602010-04-01 Pedro Alves <pedro@codesourcery.com>
6361
6362 * gdb.trace/collection.exp (gdb_collect_args_test)
6363 (gdb_collect_argarray_test): XFAIL the tests that assume the
6364 argarray argument's elements are collected.
6365
8072405b
JK
63662010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6367
6368 * gdb.dwarf2/dw2-bad-parameter-type.exp,
6369 gdb.dwarf2/dw2-bad-parameter-type.S: New.
6370
8bf6485c
SS
63712010-03-31 Stan Shebs <stan@codesourcery.com>
6372
6373 * gdb.trace/save-trace.exp: Test save/restore of default-collect
6374 and tracepoint conditionals.
6375 (gdb_verify_tracepoints): Delete unused return.
6376
fd7f724a
KS
63772010-03-26 Keith Seitz <keiths@redhat.com>
6378
6379 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
6380 appear in the output before main.
6381 Remove KFAIL for gdb/2215 aka bz 9320.
6382
8d9e7719
DE
63832010-03-30 Doug Evans <dje@google.com>
6384
0906dd0b
DE
6385 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
6386 by dejagnu.
6387 * gdb.arch/amd64-dword.exp: Ditto.
6388
8d9e7719
DE
6389 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
6390 match.
6391 (break printf): Ditto.
6392
1da644f0
SW
63932010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
6394
6395 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
6396 gcc < 4.4.
6397 * gdb.cp/shadow.exp: Ditto.
6398
a8121990
PA
63992010-03-29 Pedro Alves <pedro@codesourcery.com>
6400
6401 * gdb.trace/collection.exp (run_trace_experiment): Make sure
6402 "tstart" is silent.
6403
6e79d367
PA
64042010-03-29 Pedro Alves <pedro@codesourcery.com>
6405
6406 * gdb.trace/collection.exp (executable): New.
6407 (binfile): Use it.
6408 (fpreg, spreg, pcreg): New.
6409 (test_register): Use gdb_test_multiple. Pass /x to print.
6410 (prepare_for_trace_test): New.
6411 (run_trace_experiment): Use "continue", not gdb_run_cmd.
6412 (gdb_collect_args_test, gdb_collect_argstruct_test)
6413 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
6414 prepare_for_trace_test.
6415 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
6416 fpreg, spreg and pcreg.
6417 (gdb_collect_expression_test, gdb_collect_globals_test): Use
6418 prepare_for_trace_test.
6419 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
6420 try to detect tracing support here. Don't set breakpoints at
6421 `begin' or `end' here.
6422 <global scope>: Use clean_restart. Run to main before checking
6423 for tracing support. Check for for tracing support here.
6424
09248348
JK
64252010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6426
6427 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
6428 " as $displacement" to "seen displacement message".
6429
d350db38
PA
64302010-03-28 Pedro Alves <pedro@codesourcery.com>
6431
6432 * gdb.trace/while-dyn.exp (executable): New variable.
6433 (binfile): Use it.
6434 (test_while_stepping): New function. Move most tests here. Call
6435 it once for each of the while-stepping, stepping and ws aliases.
6436
907af001
UW
64372010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6438
6439 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
6440 that do not provide the tagless_struct type name at all.
6441 (test_print_anon_union): Do not check value of uninitialized
6442 union member. Do not use cp_test_ptype_class, so we can accept
6443 "long" as well as "long int".
6444
610197fd
PA
64452010-03-26 Pedro Alves <pedro@codesourcery.com>
6446
6447 * gdb.trace/tfile.c (tohex, bin2hex): New.
6448 (write_error_trace_file): Hexify error description.
6449
6c28cbf2
SS
64502010-03-25 Stan Shebs <stan@codesourcery.com>
6451
6452 * gdb.trace/tfile.c: Generate an additional trace file, improve
6453 portability.
6454 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
6455 files in a better way.
6456
e62b8c7e
KS
64572010-03-25 Keith Seitz <keiths@redhat.com>
6458
6459 * gdb.java/jprint.exp: XFAIL printing of static class members
6460 because of GCC debuginfo problem.
6461
82ccf5a5
JK
64622010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6463
6464 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
6465
293e2f9e
DJ
64662010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6467
6468 * gdb.base/completion.exp: Allow long instead of long int.
6469 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
6470 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
6471 variable p.
6472 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
6473 * gdb.base/pointers.exp: Allow long instead of long int.
6474 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
6475 * gdb.base/step-line.exp: Allow a directory before the source file name.
6476
95a42b64
TT
64772010-03-24 Tom Tromey <tromey@redhat.com>
6478
6479 PR breakpoints/9352:
6480 * gdb.base/default.exp: Update.
6481 * gdb.base/commands.exp: Update.
6482 * gdb.cp/extern-c.exp: Test setting commands on multiple
6483 breakpoints at once.
6484
2390201f
DJ
64852010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6486
6487 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
6488 if gdb,nosignals.
6489 * gdb.base/watchpoints.c: Do not include unnecessary headers.
6490 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
6491 exited".
6492
8c9a6790
SS
64932010-03-24 Stan Shebs <stan@codesourcery.com>
6494
6495 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
6496
a6c727b2
DJ
64972010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6498
6499 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
6500 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
6501 argument. Handle "short" and "long".
6502 (Top level): Pass overprototyped output for old_fptr and xptr.
6503
4dfd5423
PA
65042010-03-23 Pedro Alves <pedro@codesourcery.com>
6505
6506 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
6507 format strings and add casts to avoid compiler warnings.
6508
65092010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
6510
6511 * lib/trace-support.exp (gdb_trace_setactions):
6512 Don't expect whitespace after ">" prompt.
6513 * gdb.trace/actions.exp: Adjust for output changes.
6514 * gdb.trace/while-stepping.exp: Likewise.
6515
c847d045
JK
65162010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6517
6518 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
6519 and r157645).
6520
5f717f1d
JK
65212010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6522
6523 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
6524 New.
6525
7d6d51d5
DJ
65262010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
6527
6528 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
6529 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
6530
3b11a015
SS
65312010-03-19 Stan Shebs <stan@codesourcery.com>
6532
6533 * gdb.trace/ax.exp: New file.
6534
d7d158ed
DE
65352010-03-19 Doug Evans <dje@google.com>
6536
6bb85cd1
DE
6537 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
6538 output from gcc.
6539
d7d158ed
DE
6540 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
6541 named /usr/sbin/prelink<foo>.
6542
4daf5ac0
SS
65432010-03-18 Stan Shebs <stan@codesourcery.com>
6544
6545 * gdb.trace/circ.exp: Test circular-trace-buffer.
6546 * gdb.trace/tfile.exp: Update tstatus test.
6547
e8d05480
JB
65482010-03-18 Joel Brobecker <brobecker@adacore.com>
6549
6550 * gdb.dwarf2/dw2-anonymous-func.S: New file.
6551 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
6552
441b986a
UW
65532010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6554
6555 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
6556
4247603b
PA
65572010-03-18 Pedro Alves <pedro@codesourcery.com>
6558
6559 * gdb.base/default.exp: Adjust the expected output of the finish
6560 and until commands when the inferior is not being run.
6561
13387711
SW
65622010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
6563
6564 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
6565 * gdb.cp/nsusing.exp: Ditto.
6566
6e31430b
TT
65672010-03-15 Tom Tromey <tromey@redhat.com>
6568
6569 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
6570 * gdb.cp/userdef.cc (operator==): New function.
6571 (main): New locals mem1, mem2.
6572
e2d69cb5
JZ
65732010-03-15 Jie Zhang <jie@codesourcery.com>
6574
6575 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
6576 Declare and use new loadtimeout variable.
6577
f572f0a9
DJ
65782010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
6579
6580 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
6581 Use gdb_load later.
6582
51f4c0b0
PA
65832010-03-14 Pedro Alves <pedro@codesourcery.com>
6584
6585 * gdb.base/solib-disc.c (main): Make format of fprintf a string
6586 literal. Add missing endlines to prints to stderr.
6587
1c809c68
TT
65882010-03-12 Tom Tromey <tromey@redhat.com>
6589
6590 PR c++/9708:
6591 * gdb.cp/m-static.exp: Add regression test.
6592 * gdb.cp/m-static.cc (method): New method.
6593 (main): Call it.
6594
00ae8fef
SW
65952010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
6596
6597 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
6598 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
6599
759f0f0b
PA
66002010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6601
21e24d21
PA
6602 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
6603
66042010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6605
759f0f0b
PA
6606 * lib/gdb.exp (skip_stl_tests): New.
6607 (gdb_compile): Symbian needs -ldl.
6608 (shlib_target_file): New.
6609 (shlib_symbol_file): New.
6610 (gdb_load_shlibs): Use shlib_target_file.
6611 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
6612 * gdb.cp/exception.exp: Use skip_stl_tests.
6613 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
6614 * gdb.cp/try_catch.exp: Use skip_stl_tests.
6615 * gdb.cp/mb-templates.exp: Ditto.
6616 * gdb.base/commands.exp: Relax regexes.
6617 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
6618 shlib_target_file and shlib_symbol_file.
6619 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
6620 sections.
6621 * gdb.base/ending-run.exp: Accept E32Main for symbian.
6622 * gdb.base/solib-disc.exp: Use
6623 shlib_target_file and shlib_symbol_file.
6624 * gdb.base/unload.exp: Don't skip on symbian. Use
6625 shlib_target_file and shlib_symbol_file.
6626 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
6627
6a8f2671 66282010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 6629
6a8f2671
PA
6630 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
6631 * gdb.trace/report.exp: Adjust for x86 and x86_64.
6632 Issue a tfind end before looking for a tracepoint frame.
6633 * gdb.trace/tfind.exp: Adjust tstatus output.
6634 Adjust disassembly output.
6635 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
6636
ccf26247
JK
66372010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6638
6639 * gdb.base/break-interp.exp: Create new displacement parameter value
6640 for the test_ld calls.
6641 (reach): New parameter displacement, verify its content. New push of
6642 pf_prefix "reach-$func:". Import global expect_out.
6643 (test_core): New parameter displacement, verify its content. New push
6644 of pf_prefix "core:". New command "set verbose on". Import global
6645 expect_out.
6646 (test_attach): New parameter displacement, verify its content. New
6647 push of pf_prefix "attach:". New command "set verbose on". Import
6648 global expect_out.
6649 (test_ld): New parameter displacement, pass it to the reach, test_core
6650 and test_attach calls and verify its content in the "ld.so exit" test.
6651 * gdb.base/prelink.exp: Remove gdb_exit and final return.
6652 (prelink): Update expected text, use gdb_test.
6653
e469c7fb
DE
66542010-03-10 Doug Evans <dje@google.com>
6655
6656 * gdb.base/checkpoint.exp: Fix comment.
6657 Lengthen timeout while doing >600 checkpoints test.
6658 Rename duplicate "kill all one" test to keep test names unique.
6659
60e1c644
PA
66602010-03-10 Pedro Alves <pedro@codesourcery.com>
6661
6662 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
6663
cec808ec
KS
66642010-03-08 Keith Seitz <keiths@redhat.com>
6665
889bf7c5
PA
6666 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
6667 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
6668 (dm_type_long): New function.
6669 (dm_type_unsigned_short): New function.
6670 (dm_type_unsigned_long): New function.
6671 (myint): New typedef.
6672 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
6673 long, unsigned shor and long, operator char*, and typedef.
6674 (test_lookup_operator_functions): Add operator char* test.
6675 (test_paddr_operator_functions): Likewise.
6676 (test_paddr_overloaded_functions): Use probe values for
6677 short, long, and unsigned short and long.
6678 (test_paddr_hairy_functions): If the demangler probe detected
6679 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
6680 demangler.
6681 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
6682 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
6683 and "print null_pmf".
6684 Add test "ptype a.*pmf".
6685 * gdb.cp/overload.exp: Allow optional "int" to appear with
6686 "short" and "long".
6687 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
6688 long expect value for men_overload1arg.
6689 Allow "int" to appear with "short" and "long".
6690 When testing "info break", add argument for main (void).
6691 Also allow "int" to appear with "short" and "long".
6692 Ditto with "unsigned" and "long long".
cec808ec
KS
6693 * gdb.java/jmain.exp: Do not enclose methods names in single
6694 quotes.
6695 * gdb.java/jmisc.exp: Likewise.
6696 * gdb.java/jprint.exp: Likewise.
6697 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
6698
6699 From Jan Kratochvil <jan.kratochvil@redhat.com>:
6700 * gdb.cp/exception.exp (backtrace after first throw)
6701 (backtrace after second throw): Allow a namespace before __cxa_throw.
6702 (backtrace after first catch, backtrace after second catch): Allow
6703 a namespace before __cxa_begin_catch.
6704
6705 * gdb.cp/cpexprs.exp: New file.
6706 * gdb.cp/cpexprs.cc: New file.
6707
6708 From Daniel Jacobowitz <dan@codesourcery.com>
6709 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
6710 to use string_to_regexp.
6711 (ctor, dtor): New functions. Use them to match constructor
6712 and destructor function types.
6713 (Top level): Use runto_main.
6714
f870a310
TT
67152010-03-05 Tom Tromey <tromey@redhat.com>
6716
6717 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
6718 gdb.target_charset.
6719 (pp_ns.to_string): Likewise.
6720
0c199f28
KS
67212010-03-04 Keith Seitz <keiths@redhat.com>
6722
6723 * gdb.cp/overload.exp: Test that the filename portion of a linespec
6724 can be quoted. Test that both the filename and function/line
6725 portions can be quoted at the same time.
6726
c7437ca6
PA
67272010-03-04 Pedro Alves <pedro@codesourcery.com>
6728
6729 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
6730
b111b805
DE
67312010-03-03 Doug Evans <dje@google.com>
6732
24486cb7
DE
6733 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
6734 libc contains libpthread.
6735
b111b805
DE
6736 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
6737 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
6738 of gdb_compile. Add another pattern to match android backtrace.
6739
a0e0ef55
TT
67402010-03-03 Tom Tromey <tromey@redhat.com>
6741
6742 PR gdb/11345:
6743 * gdb.base/printcmds.exp (test_printf): Add test.
6744
1ba53b71
L
67452010-03-02 H.J. Lu <hongjiu.lu@intel.com>
6746
6747 * gdb.arch/amd64-byte.exp: New.
6748 * gdb.arch/amd64-dword.exp: Likewise.
6749 * gdb.arch/amd64-pseudo.c: Likewise.
6750 * gdb.arch/amd64-word.exp: Likewise.
6751 * gdb.arch/i386-byte.exp: Likewise.
6752 * gdb.arch/i386-pseudo.c: Likewise.
6753 * gdb.arch/i386-word.exp: Likewise.
6754
f5dff777
DJ
67552010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
6756
6757 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
6758 types. Add structreg, bitfields, and flags registers.
6759 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
6760 registers.
6761
90884b2b
L
67622010-03-01 H.J. Lu <hongjiu.lu@intel.com>
6763
6764 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
6765 (load_description): Set architecture if defined.
6766
dc00d89f
PM
67672010-02-28 Phil Muldoon <pmuldoon@redhat.com>
6768
6769 * gdb.python/py-frame.exp: Add read_var block tests.
6770 * gdb.python/py-frame.c (block): New function.
6771
0e095b7e
JK
67722010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6773 Daniel Jacobowitz <dan@codesourcery.com>
6774
6775 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
6776
624f1a65
DM
67772010-02-25 David S. Miller <davem@davemloft.net>
6778
6779 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
6780 fix logic for setting all_syscalls_numbers.
6781
f3e9a817
PM
67822010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6783
6784 * Makefile.in: Add py-block and py-symbol.
6785 * gdb.python/py-symbol.exp: New File.
6786 * gdb.python/py-symtab.exp: New File.
6787 * gdb.python/py-block.exp: New File.
6788 * gdb.python/py-symbol.c: New File.
6789 * gdb.python/py-block.c: New File.
6790
f6bbabf0
PM
67912010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6792
6793 PR python/11314
6794 * lib/gdb.exp (skip_python_tests): New function.
6795 * gdb.python/py-cmd.exp: Use skip_python_tests.
6796 * gdb.python/py-frame.exp: Likewise.
6797 * gdb.python/py-function.exp: Likewise.
6798 * gdb.python/py-prettyprint.exp: Likewise.
6799 * gdb.python/py-template.exp: Likewise.
6800 * gdb.python/py-type.exp: Likewise.
6801 * gdb.python/py-value.exp: Likewise.
6802
85d721b8
PA
68032010-02-22 Pedro Alves <pedro@codesourcery.com>
6804
6805 PR9605
6806
6807 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
6808
48e32051
TT
68092010-02-19 Tom Tromey <tromey@redhat.com>
6810
6811 PR c++/8693, PR c++/9496:
6812 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
6813 regression tests.
6814
ac9c0048
JK
68152010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6816
6817 Fix compatibility with m68k as.
6818 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
6819 Use only /* comments */.
6820
57bb97a4
UW
68212010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6822
6823 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
6824 * configure: Regenerate.
6825
7d1bf85c
DJ
68262010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
6827
6828 * gdb.python/py-type.exp: Check for Python support.
6829
061b5285
PA
68302010-02-17 Pedro Alves <pedro@codesourcery.com>
6831
6832 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
6833 `regsub' syntax available.
6834
f8a8bc2c
PA
68352010-02-17 Pedro Alves <pedro@codesourcery.com>
6836
6837 * gdb.base/shmain.c (main): Remove printf call.
6838 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
6839 * gdb.base/unload.c (main): Make format of fprintf a string
6840 literal. Add missing endlines to prints to stderr.
6841 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
6842
6f451e5e
TT
68432010-02-17 Tom Tromey <tromey@redhat.com>
6844
6845 * gdb.java/jprint.java (jprint.props): New field.
6846 * gdb.java/jprint.exp (set_lang_java): Add regression test.
6847
12d79008
PA
68482010-02-17 Pedro Alves <pedro@codesourcery.com>
6849
ef801a0e 6850 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
6851 available.
6852
d252f7e5
DJ
68532010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6854
6855 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
6856 creation to support remote host testing.
6857
67bdab6c
DJ
68582010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6859
6860 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
6861 Recognize "command not found".
6862
bb391223
DJ
68632010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6864
6865 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
6866 single-stepping.
6867
70362913
DJ
68682010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6869
6870 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
6871 if arguments are not supported.
6872
493f3c00
DJ
68732010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6874
6875 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
6876 be const or non-const.
6877
8034c749
DJ
68782010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6879
6880 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
6881 mi_send_resuming_command to send -exec-continue.
6882
791dfb64
DJ
68832010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6884
6885 * gdb.base/list.exp (test_list_filename_and_function): Add test
6886 with single quotes.
6887 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
6888 matching.
6889 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
6890 Add KFAIL'd tests for PR gdb/11289.
6891
7c5fe868
DJ
68922010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6893
6894 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
6895
fdc498b8
DJ
68962010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6897
6898 * gdb.base/comp-dir/subdir/dummy.txt: New file.
6899 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
6900 a temporary directory.
6901
b519e2a6
DJ
69022010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6903
6904 * gdb.base/charset.exp: Use a single regular expression to match
6905 show host-charset and show target-charset output.
6906
74164c56
JK
69072010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6908
6909 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
6910 "Illegal process-id" expect string more exact.
6911 (attach to digits-starting nonsense is prohibited): New.
6912
701ed6dc
JK
69132010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6914
6915 * gdb.base/prelink.exp (set verbose on): New.
6916
889bf7c5 69172010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
6918
6919 * mi-reverse.exp: New file. Test for reverse option to the
6920 following MI commands: exec-continue, exec-finish, exec-next,
6921 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 6922
dadf0e9c
JB
69232010-02-09 Joel Brobecker <brobecker@adacore.com>
6924
6925 * gdb.ada/ptype_tagged_param: New testcase.
6926
714f19d5
TT
69272010-02-08 Tom Tromey <tromey@redhat.com>
6928
6929 PR c++/8017:
6930 * gdb.cp/overload.exp: Add tests.
6931 * gdb.cp/overload.cc (struct K): New.
6932 (namespace N): New.
6933 (main): Call new functions.
6934 (K::staticoverload): Define.
6935
889bf7c5 69362010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
6937
6938 PR gdb/10728
6939 * gdb.cp/pr10728-x.h: New file.
6940 * gdb.cp/pr10728-x.cc: New file.
6941 * gdb.cp/pr10728-y.cc: New file.
6942 * gdb.cp/pr10728.exp: New file.
6943 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
6944
889bf7c5 69452010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
6946
6947 PR gdb/9067
6948 * gdb.cp/pr9067.exp: New
6949 * gdb.cp/pr9067.cc: New
6950 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
6951
7b356089
JB
69522010-02-08 Joel Brobecker <brobecker@adacore.com>
6953
6954 * lib/gdb.exp (gdb_test_timeout): New global variable.
6955 Set it to timeout if not already set.
6956 (gdb_init): Reset the value of timeout to gdb_test_timeout.
6957
1be00882
DE
69582010-02-05 Doug Evans <dje@google.com>
6959
6960 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
6961 user.
6962
82856980
SW
69632010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
6964
6965 PR c++/7935:
6966 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
6967
1a334831
TT
69682010-02-04 Tom Tromey <tromey@redhat.com>
6969
6970 * gdb.cp/virtbase.exp: Make test case names unique.
6971
9c3c02fd
TT
69722010-02-02 Tom Tromey <tromey@redhat.com>
6973
6974 * gdb.cp/virtbase.exp: Add regression tests.
6975 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
6976 (main): Instantiate RHC.
6977
0cc2414c
TT
69782010-02-02 Tom Tromey <tromey@redhat.com>
6979
6980 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
6981 type-printing change.
6982
edf3d5f3
TT
69832010-02-02 Tom Tromey <tromey@redhat.com>
6984
6985 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
6986 * gdb.cp/virtbase.cc: New file.
6987 * gdb.cp/virtbase.exp: New file.
6988 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
6989
e4b7f41c
JK
69902010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6991
6992 PR libc/11214:
6993 * gdb.threads/current-lwp-dead.c: Include features.h.
6994 (HAS_NOMMU): New.
6995 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
6996
b381ea14
JK
69972010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6998
6999 * gdb.base/symbol-without-target_section.exp,
7000 gdb.base/symbol-without-target_section.c: New.
7001
c593ac0e
DJ
70022010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7003
7004 * gdb.base/bigcore.exp: Reset increased timeout.
7005 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
7006
db25f29d
DJ
70072010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7008
7009 * gdb.base/gcore.exp (capture_command_output): Use
7010 gdb_test_multiple.
7011
f9d67f43
DJ
70122010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7013
7014 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
7015 * gdb.arch/thumb2-it.exp (test_it_break): New function.
7016 (Top level): Call it.
7017
177321bd
DJ
70182010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7019
7020 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
7021
97f2ed50
DJ
70222010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7023
7024 * gdb.base/call-strs.exp, gdb.base/default.exp,
7025 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
7026 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
7027 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
7028 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
7029 gdb.base/watchpoint-solib.exp: Save and restore timeout.
7030 * gdb.base/ending-run.exp: Correct restore of timeout.
7031 * gdb.base/page.exp: Remove unnecessary timeout setting.
7032
e4e2711a
JB
70332010-01-29 Joel Brobecker <brobecker@adacore.com>
7034
7035 * gdb.ada/rec_return: New testcase.
7036
ba581dc1
JB
70372010-01-29 Joel Brobecker <brobecker@adacore.com>
7038
7039 * gdb.ada/call_pn: New testcase.
7040
4ea95be9
DJ
70412010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
7042
7043 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
7044 (Top level): Use it to resume.
7045 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
7046 the Thumb mode displaced stepping error as unsupported.
7047
df83a9bf
SW
70482010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
7049
889bf7c5
PA
7050 * gdb.cp/nsusing.exp: Added more tests.
7051 * gdb.cp/nsrecurs.exp: Ditto.
7052 * gdb.cp/nsusing.cc: Added test functions.
7053 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 7054
40b27cdc
JK
70552010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7056
7057 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
7058 absolute directory pathnames in gdb.sum file.
7059
de958931
SW
70602010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
7061
7062 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
7063 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
7064
708ead4e
TT
70652010-01-26 Tom Tromey <tromey@redhat.com>
7066
7067 PR exp/7643:
7068 * gdb.base/printcmds.exp (test_print_string_constants): Remove
7069 setup_kfail.
7070
b14e635e
SW
70712010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
7072
7073 * gdb.cp/nsrecurs.exp: New test.
7074 * gdb.cp/nsrecurs.cc: New test program.
7075 * gdb.cp/nsstress.exp: New test.
7076 * gdb.cp/nsstress.cc: New test program.
7077 * gdb.cp/nsdecl.exp: New test.
7078 * gdb.cp/nsdecl.cc: New test program.
7079
8540c487
SW
70802010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
7081
7082 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
7083 imported into file scope.
7084 Marked test as xfail.
7085 * gdb.cp/namespace-using.cc (marker5): New function.
7086 * gdb.cp/shadow.exp: New test.
7087 * gdb.cp/shadow.cc: New test program.
7088 * gdb.cp/nsimport.exp: New test.
7089 * gdb.cp/nsimport.cc: New test program.
7090
421d5d99
TT
70912010-01-25 Tom Tromey <tromey@redhat.com>
7092
7093 PR gdb/11049:
7094 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
7095 with "set print null-stop on".
7096
691f8dc1
JK
70972010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7098
7099 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
7100 Adjust it for DISASSEMBLY_OMIT_FNAME.
7101
0b92b5bb
TT
71022010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7103
7104 PR symtab/11199:
7105 * gdb.dwarf2/member-ptr-forwardref.exp,
7106 gdb.dwarf2/member-ptr-forwardref.S: New.
7107
23787403
JK
71082010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7109
7110 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
7111 (thread1_func): Protect thread1_tid with thread1_tid_cond by
7112 thread1_tid_mutex. Remove gdbstop_mutex handling.
7113 (thread2_func): Protect thread2_tid with thread2_tid_cond by
7114 thread2_tid_mutex. Remove gdbstop_mutex handling.
7115 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
7116 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
7117 pthread_cond_wait conditionalizations by while loops.
7118
b966cb8a
TT
71192010-01-20 Tom Tromey <tromey@redhat.com>
7120
7121 PR backtrace/10770:
7122 * gdb.dwarf2/pr10770.exp: New file.
7123 * gdb.dwarf2/pr10770.c: New file.
7124 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
7125
fcae584b
VP
71262010-01-20 Vladimir Prus <vladimir@codesourcery.com>
7127
7128 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
7129 that target was removed, and the test always runs native anyway.
7130
a0f49112
JK
71312010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7132
7133 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
7134 gdb.base/watchpoint-cond-gone-stripped.c: New.
7135
ceeb3d5a
TT
71362010-01-19 Tom Tromey <tromey@redhat.com>
7137
7138 PR c++/8000:
7139 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
7140 existing tests.
7141 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
7142 (main): Use AAA::SomeEnum.
7143
dd322c54
JK
71442010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7145
7146 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
7147 (test_ignore_count): Declare line_callme_body global.
7148 (run to breakpoint with ignore count): Use line_callme_body.
7149 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
7150 (set line_main_hello, set line_main_return): Reindent.
7151 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
7152 New.
7153 (continue to callee4): Use line_callee4_body.
7154 (check *stopped from CLI command): Use line_callee4_next.
7155 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
7156 (set line_main_hello, set line_main_return): Reindent.
7157 (set line_callee4_head, set line_callee4_body): New.
7158 (continue to callee4): Use line_callee4_body.
7159
4e8f195d
TT
71602010-01-18 Tom Tromey <tromey@redhat.com>
7161
7162 PR c++/9680:
7163 * gdb.cp/casts.cc: Add new classes and variables.
7164 * gdb.cp/casts.exp: Test new operators.
7165
9e14a9ba
JB
71662010-01-18 Tom Tromey <tromey@redhat.com>
7167 Thiago Jung Bauermann <bauerman@br.ibm.com>
7168
7169 * gdb.python/source2.py: New file.
7170 * gdb.python/source1: New file.
7171 * gdb.python/python.exp: Test "source" command.
7172
00bf0b85
SS
71732010-01-15 Stan Shebs <stan@codesourcery.com>
7174
7175 * gdb.trace/tfile.c: New file.
7176 * gdb.trace/tfile.exp: New file.
889bf7c5 7177
55235ad7
JK
71782010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7179
7180 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
7181
9f2982ff
JK
71822010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7183
7184 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
7185
bbfba9ed
JK
71862010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7187
7188 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
7189 (libfunc): New parameter action. Implement also selectable "sleep".
7190 * gdb.base/break-interp-main.c: Include assert.h.
7191 (libfunc): New parameter action.
7192 (main): New parameters argc and argv. Assert argc. Pass argv.
7193 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
7194 (test_attach): New proc.
7195 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
7196 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
7197
61f0d762
JK
71982010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7199
7200 * gdb.base/break-interp.exp (test_core): New proc.
7201 (test_ld): Call it.
7202
06a6f270
JK
72032010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7204
7205 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
7206 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
7207 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
7208 and gdb_compile_shlib. Use new -Wl compiler options.
7209 (dl bt, main bt): New tests.
7210
51bee8e9
JK
72112010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7212
7213 Support PIEs with no symfile_objfile.
7214 * gdb.base/break-interp.exp: New argument at the test_ld calls.
7215 (test_ld): New parameter trynosym.
7216 (test_ld <$trynosym>): New block.
7217
b8040f19
JK
72182010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7219
7220 * gdb.base/break-interp.exp: New file.
7221
be759fcf
PM
72222010-01-13 Phil Muldoon <pmuldoon@redhat.com>
7223
7224 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
7225 * gdb.python/py-prettyprint.py (pp_ls): New printer.
7226 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
7227 test.
7228 * gdb.python/py-prettyprint.c: Define lazystring test structure.
7229 * gdb.python/py-mi.exp: Add lazy string test.
7230
dc146f7c
VP
72312010-01-13 Vladimir Prus <vladimir@codesourcery.com>
7232
7233 * lib/mi-support.exp (mi_check_thread_states): Handle
7234 core number in thread listing.
7235
b4ba55a1
JB
72362010-01-12 Joel Brobecker <brobecker@adacore.com>
7237
7238 * gdb.base/maint.exp: Adjust the expected output for the
7239 "maint print type" test. Use gdb_test_multiple instead of
7240 gdb_sent/gdb_expect.
7241
08e24bd4
DE
72422010-01-11 Doug Evans <dje@google.com>
7243
6496a609
DE
7244 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
7245 from gdbserver_download. All callers updated.
7246
08e24bd4
DE
7247 * gdb.server/ext-run.exp: "info os processes" requires xml support.
7248
b5cfddf5
JK
72492010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7250
7251 Implement binary numbers parsing.
7252 * gdb.base/printcmds.exp (test_integer_literals_accepted)
7253 (test_integer_literals_rejected): New binary tests.
7254
3725885a
RW
72552010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7256
7257 * gdb.cell/configure: Regenerate.
7258
37aeb5df
JK
72592010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7260
7261 * gdb.base/corefile.exp: Move the core finding block out and call it as
7262 core_find, new variable $corefile, replace corefile by $corefile and
7263 [file tail $corefile] for usage vs. test names resp.
7264 * lib/gdb.exp (core_find): Move it as a new function here. New
7265 parameter binfile and deletefiles. New variable $destcore. Pre-delete
7266 $destcore. Return "" on error.
7267
d521f563
JK
72682010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7269
7270 Workaround PR binutils/10802.
7271 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
7272 (twice).
7273
28f24826
DJ
72742010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7275
7276 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
7277
2de75e71
JB
72782010-01-08 Joel Brobecker <brobecker@adacore.com>
7279
7280 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
7281 call, to avoid interruption.
7282
fe00719b 72832010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
7284
7285 * gdb.stabs/weird.def (args93): New.
7286
d0ef5df8
DE
72872010-01-07 Doug Evans <dje@google.com>
7288
7289 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
7290
3a08d52f
TT
72912010-01-07 Tom Tromey <tromey@redhat.com>
7292
7293 * gdb.base/source.exp: Use correct line number.
7294
7a697b8d
SS
72952010-01-05 Stan Shebs <stan@codesourcery.com>
7296
7297 * gdb.trace/tracecmd.exp: Test ftrace.
7298
7803799a
UW
72992010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7300
7301 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
7302
c54eabfa
JK
73032010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7304
7305 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
7306 "uint_for_mi_testing".
7307
02e7ef19
JB
73082010-01-01 Joel Brobecker <brobecker@adacore.com>
7309
7310 Test indented comment in file being sourced.
7311 * gdb.base/commands.exp: Test indented comment in file being sourced.
7312
abd775ce
JB
73132010-01-01 Joel Brobecker <brobecker@adacore.com>
7314
7315 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
7316 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
7317 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
7318 notice.
7319
79b55b82
JB
73202010-01-01 Joel Brobecker <brobecker@adacore.com>
7321
7322 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
7323 notice.
7324
8997583e
JK
73252010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7326
7327 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
7328 missing $after_stopped and comma (,) expectation.
7329
6da95a67
SS
73302009-12-31 Stan Shebs <stan@codesourcery.com>
7331
7332 * gdb.trace/actions.exp: Test teval action.
889bf7c5 7333
218d2fc6
TJB
73342009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7335
7336 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
7337 (top level): Call test_watchpoint_in_big_blob.
7338 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
7339 watchpoints.
7340 (func3): Write to buf.
7341
236f1d4d
SS
73422009-12-29 Stan Shebs <stan@codesourcery.com>
7343
7344 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 7345
f61e138d
SS
73462009-12-28 Stan Shebs <stan@codesourcery.com>
7347
7348 * gdb.trace/tsv.exp: New file.
7349 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 7350
0219b378
DJ
73512009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
7352
7353 * gdb.base/find.c (main): Reference search buffers.
7354 * gdb.base/included.c (main): Reference integer.
7355 * gdb.base/ptype.c (charfoo): Declare.
7356 (intfoo): Call charfoo.
7357 * gdb.base/scope0.c (useitp): New function.
7358 (usestatics): Use useitp.
7359 (useit): Add a type for val.
7360 * gdb.base/scope1.c (useit1): Take a pointer argument.
7361 (usestatics1): Update calls to useit1.
7362 * gdb.cp/call-c.cc: Declare foo.
7363 (main): Call foo.
7364 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
7365 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
7366 (main): Call C::ensureRefs and ensureOtherRefs.
7367 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
7368 variables.
7369 (ensureOtherRefs): New function.
7370 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
7371 * gdb.cp/templates.cc (main): Call t5i.value.
7372
3f78692f
JK
73732009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7374
7375 Fix compatibility with G++-4.5.
7376 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
7377 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
7378 (uncaught return): Remove.
7379
429374b8
JK
73802009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7381 Phil Muldoon <pmuldoon@redhat.com>
7382
7383 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
7384 (bp_location13, bp_location14, bp_location17, bp_location18)
7385 (marker3_proto, marker4_proto): New variables.
7386 (breakpoint info): Update output.
7387 (run until breakpoint at marker3, run until breakpoint at marker4): New
7388 tests.
7389
859825b8
JK
73902009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7391
7392 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
7393 Replace the printf call of Y by provided "y-set-1" label. New block
7394 for the second shared library.
7395 * gdb.base/unload.exp: Compile also the second library, call
7396 gdb_load_shlibs also for it. Use now gdb_breakpoint.
7397 (single pending breakpoint info): Rename to ...
7398 (pending breakpoint info before run): ... this extended test.
7399 (libfile2, libname2, libsrcfile2, libsrc2)
7400 (lib_sl2): New variables.
7401 (exec_opts): Set also SHLIB_NAME2.
7402 (pending breakpoint info on first run at shrfunc1)
7403 (pending breakpoint info on second run at shrfunc1)
7404 (pending breakpoint info on second run at shrfunc2)
7405 (print y from libfile, print y from libfile2): New tests.
7406 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
7407 * gdb.base/unloadshr2.c: New.
7408
e6a386cd
HZ
74092009-12-22 Hui Zhu <teawater@gmail.com>
7410
7411 * gdb.reverse/sigall-reverse.exp: Adjust.
7412
9e19b45e
VP
74132009-12-21 Vladimir Prus <vladimir@codesourcery.com>
7414
7415 PR gdb/10884
7416
7417 * gdb.mi/var-cmd.c (do_bitfield_tests): New
7418 (main): Call do_bitfield_tests.
aacf5b1e 7419 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 7420
d53a7b30
JB
74212009-12-20 Joel Brobecker <brobecker@adacore.com>
7422
7423 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
7424 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
7425 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
7426 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
7427 gdb.modula2/unbounded1.c: Update copyright header.
7428
191ca0a1
CM
74292009-12-10 Chris Moller <moller@mollerware.com>
7430
7431 PR gdb/9399
7432 * gdb.cp/virtfunc2.exp: New tests
7433 * gdb.cp/virtfunc2.cc: New tests
7434 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
7435
0fa6cf1b
MS
74362009-12-10 Oza Pawandeep (paawan1982@yahoo.com
7437
7438 * gdb.reverse/i387-env-reverse.c: New file.
7439 * gdb.reverse/i387-env-reverse.exp: New file.
7440 * gdb.reverse/i387-stack-reverse.c: New file.
7441 * gdb.reverse/i387-stack-reverse.exp: New file.
7442
361ae042
PM
74432009-12-08 Phil Muldoon <pmuldoon@redhat.com>
7444
7445 * gdb.python/py-type.exp (test_range): New test.
7446
bfd31e71
PM
74472009-12-03 Phil Muldoon <pmuldoon@redhat.com>
7448
7449 PR python/10805
7450
7451 * gdb.python/py-type.exp: New file.
7452 * gdb.python/py-type.c: New file.
7453 * Makefile.in: Add py-type.
7454
57a1d736
TT
74552009-12-03 Tom Tromey <tromey@redhat.com>
7456
7457 * gdb.python/py-value.exp (test_parse_and_eval): New
7458 function.
7459
1f3b5d1b
PP
74602009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7461
7462 PR gdb/11022
7463
7464 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
7465 * gdb.base/pr11022.c: New test.
7466
8b7dbdc9
JK
74672009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7468
7469 Fix spurious false FAILs.
7470 * gdb.base/structs.c (chartest): New.
7471 (main): Fill-in chartest.
7472 * gdb.base/structs.exp (anychar_re, first): New.
7473 (start_structs_test): Import global anychar_re and first.
7474 New gdb_test call "set print elements 300; ${testfile}"
7475 (start_structs_test <$first>): New block.
7476 (any): Import global anychar_re. New variable ac. Use ${ac}.
7477
6a53b2ec
JK
74782009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7479
7480 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
7481
d7167b4c
JK
74822009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7483
7484 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
7485 Force $srcfile file.
7486 * gdb.base/foll-fork.c (callee): Comment out the printf call.
7487
b1798462
UW
74882009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7489
7490 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
7491 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7492 * gdb.threads/watchthreads-reorder.exp: Likewise.
7493
b6199126
DJ
74942009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
7495
7496 PR gdb/8704
7497
7498 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
7499 "if", and "thread". Correct matching in the previous test.
7500
b22a0510
DJ
75012009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
7502
7503 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
7504
930636d2
MS
75052009-11-23 Michael Snyder <msnyder@vmware.com>
7506
7507 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
7508 * gdb.reverse-watch-precsave.exp: Ditto.
7509
21a0512e
PP
75102009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
7511
7512 * gdb.asm/asm-source.exp: Adjust.
7513 * gdb.base/help.exp: Adjust.
889bf7c5 7514
fc30d5e0
PA
75152009-11-22 Pedro Alves <pedro@codesourcery.com>
7516
7517 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
7518 (do_syscall_tests_without_xml): Set data-directory to
7519 /the/path/to/nowhere.
7520
f6bc2008
PA
75212009-11-21 Pedro Alves <pedro@codesourcery.com>
7522
7523 * gdb.threads/local-watch-wrong-thread.c,
7524 gdb.threads/local-watch-wrong-thread.exp: New files.
7525
8c2fb5de
PA
75262009-11-21 Pedro Alves <pedro@codesourcery.com>
7527
7528 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
7529 assume new `regsub' syntax available.
7530
ebec9a0f
PA
75312009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7532
a79d3c27
JK
7533 * gdb.base/watchpoint-hw-hit-once.exp,
7534 gdb.base/watchpoint-hw-hit-once.c: New.
7535
75362009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7537
7538 * gdb.threads/watchthreads-reorder.exp,
7539 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 7540
276a961b
MK
75412009-11-17 Nathan Sidwell <nathan@codesourcery.com>
7542
7543 * gdb.xml/tdesc-regs.exp: Use for m68k.
7544
4867c1fb
PA
75452009-11-15 Pedro Alves <pedro@codesourcery.com>
7546
7547 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
7548
f6838f81
DJ
75492009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7550
7551 * lib/gdb.exp (current_target_name): New procedure.
7552 (gdb_wrapper_target): New variable.
7553 (gdb_wrapper_init): Set gdb_wrapper_target.
7554 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
7555 wrapper.
7556
4ac4dd3f
DJ
75572009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7558
7559 * gdb.base/remote.exp: Delete the slowest load test.
7560 Do not load with fixed packet sizes.
7561
a7881759
DJ
75622009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7563
7564 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
7565
97a5b505
DJ
75662009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7567
7568 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
7569 srcfile when setting a breakpoint.
7570
d3e1fc54
DJ
75712009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
7572
7573 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
7574 macros.
7575
7cbcbded
DJ
75762009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7577
7578 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
7579 to be in memory.
7580 * gdb.base/display.c (force_mem): New.
7581 (do_loops): Use it. Add breakpoint comments.
7582 (do_vars): Add a breakpoint comment.
7583 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
7584 line numbers.
7585
bdea3a92
NF
75862009-11-13 Nathan Froyd <froydnj@codesourcery.com>
7587
7588 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
7589 instead of a bare "run".
7590
269f82e5
PP
75912009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7592
7593 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 7594
a69b7d9d
DJ
75952009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7596
7597 * lib/cell.exp (skip_cell_tests): Clean up test files before
7598 returning.
7599
b598bfda
DJ
76002009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7601
7602 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
7603 and the breakpoint menu. Do not call perror if a prompt is seen.
7604 Consume the following GDB prompt.
7605 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
7606 * gdb.cp/namespace.exp: Use gdb_test.
7607 * gdb.cp/templates.exp: Use gdb_test.
7608 (test_template_breakpoints): Use gdb_test_multiple.
7609
87728fa0
DJ
76102009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7611
7612 * gdb.base/break1.c (struct some_struct, values): Move earlier.
7613 (marker4): Reference values.
7614
b67c692f
DJ
76152009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7616
7617 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
7618 is missing.
7619
f0df251a
DJ
76202009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7621
7622 * gdb.base/break.c (need_malloc): New.
7623 * gdb.base/constvars.c (main): Reference crass and crisp.
7624 * gdb.base/gdb1821.c (main): Reference bar.
7625 * gdb.cp/gdb1355.cc (main): Reference s1.
7626 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
7627 (main): Call them.
7628 * gdb.cp/hang2.cc (dummy2): Define.
7629 * gdb.cp/hang3.cc (dummy3): Define.
7630 * gdb.cp/m-data.cc (main): Reference shadow.
7631
bdf7534a
NF
76322009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7633 Nathan Froyd <froydnj@codesourcery.com>
7634
7635 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
7636 remote host.
7637
f24fce77
NF
76382009-11-12 Nathan Froyd <froydnj@codesourcery.com>
7639
7640 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
7641 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
7642 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7643 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7644 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7645 * gdb.dwarf2/dw2-producer.exp: Likewise.
7646 * gdb.dwarf2/mac-fileno.exp: Likewise.
7647 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
7648 py-prettyprint.py to the remote host.
7649 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
7650
40f0318e
KS
76512009-11-11 Keith Seitz <keiths@redhat.com>
7652
7653 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
7654 use it instead of "Foo".
7655 * gdb.cp/classes.exp (do_tests): Add a test to access
7656 a method through a typedef'd class name.
7657
f3d9f7fb
NF
76582009-11-11 Nathan Froyd <froydnj@codesourcery.com>
7659
7660 * gdb.base/long_long.exp: Permit leading zeros on floating-point
7661 exponents.
7662 * gdb.base/pointers.exp: Likewise.
7663 * gdb.cp/ref-types.exp: Likewise.
7664
a4216f37
KS
76652009-11-11 Keith Seitz <keiths@redhat.com>
7666
7667 * gdb.cp/cplusfuncs.cc (class foo): Add operators
7668 new[] and delete[].
7669 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
7670 "void".
7671 (probe_demangler): Remove all single-quoting of
7672 method and variable names.
7673 (info_func_regexp): Remove the word "void" from any
7674 occurrence of "(void)".
7675 (print_addr_2): Remove all single-quoting of
7676 method names.
7677 (print_addr_2_kfail): Likewise.
7678 (print_addr): Single-quote C function names before
7679 passing to print_addr_2.
7680 (test_paddr_operator_functions): Remove single-quoting
7681 for method names.
7682 Add tests for operator new[] and operator delete[].
7683
9b14d7aa
JK
76842009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7685
7686 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
7687
85feb311
KS
76882009-11-09 Keith Seitz <keiths@redhat.com>
7689
7690 * gdb.cp/overload.exp: Add tests for resolving overloaded
7691 methods in expression parsing/evaluation.
7692
fa335448
DJ
76932009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
7694
7695 * lib/gdb.exp (default_gdb_version): Use --version instead of
7696 --command.
7697
ec3c07fc
NS
76982009-11-10 Nathan Sidwell <nathan@codesourcery.com>
7699
7700 * lib/gdb.exp (gdb_compile_test): New.
7701 (skip_ada_tests, skip_java_tests): New.
7702 (gdb_compile): Use gdb_compile_test for f77.
7703 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
7704 * lib/java.exp (compile_java_from_source): Remove runtests check,
7705 use gdb_compile_test to record result.
7706 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
7707 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
7708 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
7709 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
7710 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
7711 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
7712 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
7713 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
7714 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
7715 adjust gdb_compile invocations.
7716
b8b4e42b
JK
77172009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7718
7719 * Makefile.in (abs_builddir): New.
7720 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
7721 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
7722 `$(abs_builddir)/site.exp'.
7723
f8b7eaf3
DJ
77242009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
7725
7726 * config/m68k-emc.exp, lib/emc-support.exp,
7727 gdb.trace/gdb_c_test.c: Delete.
7728 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
7729 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7730 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7731 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7732 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7733 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
7734 casing for m68k-*-elf.
7735
c4187697
NS
77362009-11-03 Pedro Alves <pedro@codesourcery.com>
7737
7738 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
7739 * gdb.arch/i386-prologue.exp: Likewise.
7740 * gdb.arch/i386-unwind.exp: Likewise.
7741
db16b772
DJ
77422009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7743
7744 * lib/gdb.exp (gdb_expect): Fix timeout typo.
7745
bcf71277
DJ
77462009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7747
7748 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
7749
0105cee2
DJ
77502009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7751
7752 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
7753
24ddea62
JK
77542009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7755
7756 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
7757
287ccc17
JK
77582009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7759
7760 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
7761 * gdb.base/sepdebug2.c: New file.
7762
08bca259 77632009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
7764
7765 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
7766 the modified warnings for catch syscall. Verify if GDB was compiled
7767 with support for lib expat, and choose which tests to run depending
7768 on this.
7769
5d4e2b76
VP
77702009-10-30 Vladimir Prus <vladimir@codesourcery.com>
7771
7772 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
7773 that composite commands are parsed OK. And also test
7774 that breakpoint commands do work.
7775
240e538a
MS
77762009-10-23 Michael Snyder <msnyder@vmware.com>
7777
7778 gdb.reverse/consecutive-precsave.exp: Change expect pattern
7779 to allow for new disassembly style.
7780
9c419145
PP
77812009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7782
7783 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 7784
02506ff1
MS
77852009-10-22 Michael Snyder <msnyder@vmware.com>
7786
7787 * gdb.reverse/break-precsave.exp: New test.
7788 * gdb.reverse/consecutive-precsave.exp: Ditto.
7789 * gdb.reverse/finish-precsave.exp: Ditto.
7790 * gdb.reverse/i386-precsave.exp: Ditto.
7791 * gdb.reverse/machinestate-precsave.exp: Ditto.
7792 * gdb.reverse/sigall-precsave.exp: Ditto.
7793 * gdb.reverse/solilb-precsave.exp: Ditto.
7794 * gdb.reverse/step-precsave.exp: Ditto.
7795 * gdb.reverse/until-precsave.exp: Ditto.
7796 * gdb.reverse/watch-precsave.exp: Ditto.
7797
4cf866a3
MS
77982009-10-22 Michael Snyder <msnyder@vmware.com>
7799
7800 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
7801 for gdb_expect. Adjust one test's expect strings for the new
7802 format of disassemble.
7803 * gdb.reverse/finish-reverse.exp: Delete 'return'.
7804 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
7805 gdb_test_multiple.
7806 * gdb.reverse/step-reverse.exp: Delete 'return'.
7807 * gdb.reverse/until-reverse.exp: Delete blank lines.
7808 * gdb.reverse/watch-reverse.exp: Delete blank lines.
7809
2b28d209
PP
78102009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
7811
7812 * gdb.base/consecutive.exp: Adjust.
7813 * gdb.base/display.exp: Likewise.
7814 * gdb.base/pc-fp.exp: Likewise.
7815 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 7816
33b9c32b
MS
78172009-10-19 Michael Snyder <msnyder@vmware.com>
7818
7819 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
7820 * gdb.reverse/finish-reverse.c: Ditto.
7821 * gdb.reverse/sigall-reverse.c: Ditto.
7822 * gdb.reverse/solib-reverse.c: Ditto.
7823 * gdb.reverse/step-reverse.c: Ditto.
7824 * gdb.reverse/watch-reverse.c: Ditto.
7825
6c95b8df
PA
78262009-10-19 Pedro Alves <pedro@codesourcery.com>
7827 Stan Shebs <stan@codesourcery.com>
7828
7829 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
7830 * gdb.base/foll-exec.exp: Adjust to expect a process id before
7831 "Executing new program".
7832 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
7833 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
7834 left listed after having been killed.
7835 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
7836 * gdb.base/maint.exp: Adjust test.
7837
7838 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
7839 * gdb.multi/Makefile.in: New.
7840 * gdb.multi/base.exp: New.
7841 * gdb.multi/goodbye.c: New.
7842 * gdb.multi/hangout.c: New.
7843 * gdb.multi/hello.c: New.
7844 * gdb.multi/bkpt-multi-exec.c: New.
7845 * gdb.multi/bkpt-multi-exec.exp: New.
7846 * gdb.multi/crashme.c: New.
7847
279017b7
TG
78482009-10-13 Tristan Gingold <gingold@adacore.com>
7849
7850 * gdb.base/sepdebug.exp: Check debug info are found.
7851
0413d738
PA
78522009-10-08 Pedro Alves <pedro@codesourcery.com>
7853
7854 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
7855 bits.
7856
c628eecc
JK
78572009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7858
7859 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
7860
38af1bfe
JB
78612009-10-07 Joel Brobecker <brobecker@adacore.com>
7862
7863 * gdb.base/watchpoints.c: Add copyright header. Reformat one
7864 of the comments.
7865
2b0adecd
PM
78662009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
7867
7868 * gdb.base/annota1.exp: Remove obsolete match_max increase.
7869 * gdb.base/annota3.exp: Idem.
7870 * gdb.base/maint.exp: Idem.
7871
8d417781
PM
78722009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7873
889bf7c5 7874 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
7875 to default.
7876
bb61102d
PM
78772009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7878
889bf7c5 7879 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
7880 mingw and cygwin targets.
7881
ace5c364
PM
78822009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7883 Pedro Alves <pedro@codesourcery.com>
7884
889bf7c5 7885 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
7886 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
7887
c2d494a0
PM
78882009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7889
e1b52ce2
PM
7890 * gdb.base/shr1.c: Use %p in format string.
7891 * gdb.base/unload.c: Avoid warning in fprintf.
7892 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 7893
209f53f5
PM
78942009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7895
7896 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
7897 long type.
7898 (test_unlink): Correct printf string.
7899 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
7900 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
7901
8172766a
JK
79022009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7903
7904 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
7905 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
7906 * gdb.arch/ia64-breakpoint-shadow.S: New file.
7907
0f73703c
UW
79082009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7909
7910 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
7911 * gdb.objc/nondebug.exp: Likewise.
7912
b32306ca
UW
79132009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7914
7915 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
7916 target_info setting.
7917
7918 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
7919 that detect new threads during "info threads".
7920
0057022f
UW
79212009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7922
7923 * gdb.threads/manythreads.c (main): Increase thread stack size
7924 to 2*PTHREAD_STACK_MIN.
7925 * gdb.threads/multi-create.c (main): Likewise.
7926 (create_function): Likewise.
7927
f29c0325
UW
79282009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7929
7930 * gdb.base/dump.exp: Pass difference of pointer types instead
7931 of integer types as offset to restore in intarr3.srec case.
7932
fcb34849
UW
79332009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7934
7935 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
7936
d5142e3b
UW
79372009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7938
7939 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
7940
087b74b2 79412009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 7942
087b74b2
PM
7943 New test for two watchpoints, with disabling of
7944 the first inserted.
7945 * testsuite/gdb.base/watchpoints.c: New file.
7946 * testsuite/gdb.base/watchpoints.exp: New file.
7947
96c07c5b
TT
79482009-09-25 Tom Tromey <tromey@redhat.com>
7949
7950 * gdb.base/charset.exp: Test utf-16 strings with Python.
7951
b8899f2b
TT
79522009-09-25 Tom Tromey <tromey@redhat.com>
7953
7954 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
7955 UCS-4.
7956 * gdb.base/charset.c (utf_32_string): Rename.
7957 (init_utf32): Rename.
7958 (main): Update.
7959
329719ec
TT
79602009-09-22 Tom Tromey <tromey@redhat.com>
7961
7962 * gdb.python/py-function.exp: Add regression tests.
7963
11ef0d76
KS
79642009-09-21 Keith Seitz <keiths@redhat.com>
7965
7966 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
7967 with invalid operator.
7968
3fe8f3b3
KS
79692009-09-21 Keith Seitz <keiths@redhat.com>
7970
7971 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
7972 and destructor using typedef name of class.
7973 * gdb.cp/classes.cc (class Base1): Add a destructor.
7974 (base1): New typedef.
7975 (use_methods): Instanitate an object of type base1.
7976 * gdb.cp/templates.exp (test_template_typedef): New procedure.
7977 (do_tests): Call test_template_typedef.
7978 * gdb.cp/templates.cc (Baz::~Baz): New method.
7979 (intBazOne): New typedef.
7980 (main): Instantiate intBazOne.
7981
7a9fe101
PM
79822009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7983
7984 PR python/10633
7985
7986 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
7987 Function.
7988 (run_lang_tests): Add print elements test.
7989
2e4d963f
PM
79902009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7991
7992 * gdb.python/py-value.exp (test_subscript_regression): New
7993 function. Test for invalid subscripts.
7994 * gdb.python/py-value.c (main): Add test array, and pointer to it.
7995 (ptr_ref): New function.
7996
ec7e75e7
PP
79972009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7998
7999 * gdb.base/default.exp: Fix "show convenience".
8000
0cc7d26f
TT
80012009-09-15 Tom Tromey <tromey@redhat.com>
8002
8003 * lib/mi-support.exp (mi_create_varobj): Update.
8004 (mi_create_floating_varobj): Likewise.
8005 (mi_create_dynamic_varobj): New proc.
8006 (mi_varobj_update): Update.
8007 (mi_varobj_update_with_type_change): Likewise.
8008 (mi_varobj_update_kv_helper): New proc.
8009 (mi_varobj_update_dynamic_helper): Rewrite.
8010 (mi_varobj_update_dynamic): New proc.
8011 (mi_list_varobj_children): Update.
8012 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
8013 * gdb.python/python-prettyprint.py (pp_outer): New class.
8014 (pp_nullstr): Likewise.
8015 (lookup_function): Register new printers.
8016 * gdb.python/python-prettyprint.c (struct substruct): New type.
8017 (struct outerstruct): Likewise.
8018 (substruct_test): New function.
8019 (struct nullstr): New type.
8020 (string_1, string_2): New globals.
8021 (main): Add new tests.
8022 * gdb.python/python-mi.exp: Added regression tests.
8023 * gdb.mi/mi2-var-display.exp: Update.
8024 * gdb.mi/mi2-var-cmd.exp: Update.
8025 * gdb.mi/mi2-var-child.exp: Update.
8026 * gdb.mi/mi2-var-block.exp: Update.
8027 * gdb.mi/mi-var-invalidate.exp: Update.
8028 * gdb.mi/mi-var-display.exp: Update.
8029 * gdb.mi/mi-var-cmd.exp: Update.
8030 * gdb.mi/mi-var-child.exp: Update.
8031 * gdb.mi/mi-var-block.exp: Update.
8032 * gdb.mi/mi-break.exp: Update.
8033 * gdb.mi/gdb701.exp: Update.
8034
a96d9b2e
SDJ
80352009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
8036
8037 * Makefile.in: Inclusion of catch-syscall object.
8038 * gdb.base/catch-syscall.c: New file.
8039 * gdb.base/catch-syscall.exp: New file.
8040
b43b923a
MS
80412009-09-12 Michael Snyder <msnyder@vmware.com>
8042
8043 * gdb.reverse/step-reverse.exp: Explicitly check for targets
8044 that can support reverse debuggnig.
8045
cec03d70
TT
80462009-09-11 Tom Tromey <tromey@redhat.com>
8047
8048 * gdb.dwarf2/valop.S: New file.
8049 * gdb.dwarf2/valop.exp: New file.
8050
e23bb3fc
MK
80512009-09-11 Mark Kettenis <kettenis@gnu.org>
8052
8053 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
8054
37c3696d
DE
80552009-09-10 Doug Evans <dje@google.com>
8056
8057 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
8058 Add $gdb_prompt to second breakpoint regexp.
8059
5172aecb
JB
80602009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
8061
8062 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
8063 names, add missing ones.
8064 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
8065 * gdb.python/py-frame.c: Rename from python-frame.c.
8066 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
8067 testfile name.
8068 * gdb.python/py-function.exp: Rename from python-function.exp.
8069 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
8070 testfile name.
8071 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
8072 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
8073 Adjust testfile name.
8074 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
8075 * gdb.python/py-template.cc: Rename from python-template.cc.
8076 * gdb.python/py-template.exp: Rename from python-template.exp.
8077 Adjust testfile name.
8078 * gdb.python/py-value.c: Rename from python-value.c.
8079 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
8080 testfile name.
8081
b554e4bd
JK
80822009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8083
8084 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
8085 $bpt2address.
8086 (Second breakpoint address is valid on ia64)
8087 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
8088
9a68ae16
JM
80892009-09-03 Joseph Myers <joseph@codesourcery.com>
8090
8091 * gdb.base/ending-run.exp: Restrict regular expression matching
8092 line number to require closing brace following.
8093
146b9145
DE
80942009-09-03 Doug Evans <dje@google.com>
8095
8096 * gdb.base/store.exp (check_set): Fix typo in expected value message.
8097
787d21e1
TT
80982009-09-02 Tom Tromey <tromey@redhat.com>
8099
8100 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
8101
e7802207
TT
81022009-09-02 Tom Tromey <tromey@redhat.com>
8103
8104 * gdb.dwarf2/callframecfa.exp: New file.
8105 * gdb.dwarf2/callframecfa.S: New file.
8106
817aadd2
JK
81072009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8108
8109 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
8110 gdb.base/solib-overlap-main.c: New.
8111
4a76eae5
DJ
81122009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
8113
8114 PR gdb/10565
8115
8116 * gdb.base/bitfields.c (struct container, container): New.
8117 (main): Initialize it and call break5.
8118 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
8119
d4b96c9a
JK
81202009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8121
8122 Support constant DW_AT_data_member_location by GCC PR debug/40659.
8123 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
8124
4e22772d
JK
81252009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8126
8127 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
8128
2efab443
MS
81292009-08-26 Michael Snyder <msnyder@vmware.com>
8130
8131 * gdb.base/i386-reverse.c: New file.
8132 * gdb.base/i386-reverse.exp: New file.
8133 * gdb.base/Makefile.in: Add new files to be removed.
8134
07ab73a0
JM
81352009-08-26 Joseph Myers <joseph@codesourcery.com>
8136
8137 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
8138 environment-pwd for remote host.
8139 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
8140
676accff
KS
81412009-08-24 Keith Seitz <keiths@redhat.com>
8142
8143 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
8144 Add two new C++ completer tests which limit the output to a
889bf7c5 8145 given class.
676accff 8146
f9f7ad22
MS
81472009-08-24 Michael Snyder <msnyder@vmware.com>
8148
8149 * gdb.base/del.exp: Fix typo in comment.
8150 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
8151
81ecdfbb
RW
81522009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8153
8154 * configure: Regenerate.
8155 * gdb.hp/configure: Likewise.
8156 * gdb.hp/gdb.aCC/configure: Likewise.
8157 * gdb.hp/gdb.base-hp/configure: Likewise.
8158 * gdb.hp/gdb.compat/configure: Likewise.
8159 * gdb.hp/gdb.defects/configure: Likewise.
8160 * gdb.hp/gdb.objdbg/configure: Likewise.
8161 * gdb.stabs/configure: Likewise.
8162
cab0c772
UW
81632009-08-19 Doug Evans <dje@google.com>
8164
8165 * gdb.base/gdbvars.c: New file.
8166 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
8167
b8fa0bfa
PA
81682009-08-14 Pedro Alves <pedro@codesourcery.com>
8169
8170 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8171 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
8172
b84aa90a
PA
81732009-08-13 Pedro Alves <pedro@codesourcery.com>
8174
8175 * gdb.base/default.exp: Adjust "set language test": it's now an
8176 enum command. Larger help string moved to "help set language".
8177 * gdb.base/help.exp: Adjust "help set language" expected output,
8178 now lists all known languages.
8179
0d8f9b2c
NF
81802009-08-11 Nathan Froyd <froydnj@codesourcery.com>
8181
8182 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
8183 all frame arguments.
8184 * gdb.arch/altivec-regs.exp: Likewise.
8185
bda180e0
TT
81862009-08-07 Tom Tromey <tromey@redhat.com>
8187
8188 * gdb.base/setshow.exp: Add tests for changes to set language, set
8189 check range, and set check type.
8190
48cb2d85
VP
81912009-08-03 Vladimir Prus <vladimir@codesourcery.com>
8192
8193 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
8194 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 8195 Call it.
48cb2d85 8196
1ea34204
UW
81972009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8198
8199 * configure.ac: Run gdb.cell tests when appropriate.
8200 * configure: Regenerate.
8201 * lib/cell.exp: New file.
8202 * gdb.cell: New directory.
8203 * gdb.cell/configure.ac: New file.
8204 * gdb.cell/configure: New file.
8205 * gdb.cell/Makefile.in: New file.
8206 * gdb.cell/arch.exp: New file.
8207 * gdb.cell/break.c: New file.
8208 * gdb.cell/break.exp: New file.
8209 * gdb.cell/break-spu.c: New file.
8210 * gdb.cell/bt.c: New file.
8211 * gdb.cell/bt2-spu.c: New file.
8212 * gdb.cell/bt-spu.c: New file.
8213 * gdb.cell/bt.exp: New file.
8214 * gdb.cell/coremaker.c: New file.
8215 * gdb.cell/coremaker-spu.c: New file.
8216 * gdb.cell/core.exp: New file.
8217 * gdb.cell/gcore.exp: New file.
8218 * gdb.cell/data.c: New file.
8219 * gdb.cell/data.exp: New file.
8220 * gdb.cell/data-spu.c: New file.
8221 * gdb.cell/ea-cache.exp: New file.
8222 * gdb.cell/ea-cache.c: New file.
8223 * gdb.cell/ea-cache-spu.c: New file.
8224 * gdb.cell/ea-standalone.c: New file.
8225 * gdb.cell/ea-standalone.exp: New file.
8226 * gdb.cell/ea-test.c: New file.
8227 * gdb.cell/ea-test.exp: New file.
8228 * gdb.cell/f-regs.exp: New file.
8229 * gdb.cell/mem-access.c: New file.
8230 * gdb.cell/mem-access.exp: New file.
8231 * gdb.cell/mem-access-spu.c: New file.
8232 * gdb.cell/ptype.exp: New file.
8233 * gdb.cell/registers.exp: New file.
8234 * gdb.cell/size.c: New file.
8235 * gdb.cell/sizeof.exp: New file.
8236 * gdb.cell/size-spu.c: New file.
8237 * gdb.cell/solib.exp: New file.
8238 * gdb.cell/solib-symbol.exp: New file.
8239
85e747d2
UW
82402009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8241
8242 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
8243
58d6951d
DJ
82442009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8245
8246 * gdb.base/float.exp: Handle VFP registers.
8247
6e0a4f15
MS
82482009-07-14 Michael Snyder <msnyder@vmware.com>
8249
dcd5da87
MS
8250 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
8251 to bring gdb to the beginning of the calling line.
8252
6e0a4f15
MS
8253 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
8254 confusing the i386 epilogue unwinder.
8255
782b2b07
SS
82562009-07-14 Stan Shebs <stan@codesourcery.com>
8257
8258 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
8259
f662c3bc
MS
82602009-07-14 Michael Snyder <msnyder@vmware.com>
8261
8262 * gdb.reverse/step-reverse.exp (stepi into function call):
8263 Call instruction may not be first instruction in the line.
8264 (reverse stepi from a function call): Used wrong line number.
8265
8f313923
JK
82662009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8267
8268 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
8269
4662c76e
JK
82702009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8271
8272 Fix gdb.base/macscp.exp when using custom inputrc.
8273 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
8274 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
8275 env(TERM) set.
8276 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
8277 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
8278
aa81e255
JK
82792009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8280
8281 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
8282 * gdb.base/annota1.exp (thread_test): Import global $testfile.
8283 Change the compilation target to match the testcase name.
8284 * gdb.base/sect-cmd.exp: Change the compilation target to match the
8285 testcase name.
8286 * a2-run.exp: Use for setup prepare_for_testing. Change the
8287 compilation target to match the testcase name.
8288 * gdb.base/commands.exp: Likewise.
8289 * gdb.base/finish.exp: Likewise.
8290 * gdb.base/float.exp: Likewise.
8291 * gdb.base/info-target.exp: Likewise.
8292 * gdb.base/relational.exp: Likewise.
8293 * gdb.base/term.exp: Likewise.
8294 * gdb.base/until.exp: Likewise.
8295 * gdb.base/volatile.exp: Likewise.
8296 * gdb.base/whatis-exp.exp: Likewise.
8297
4c93b1d7
HZ
82982009-07-11 Hui Zhu <teawater@gmail.com>
8299
8300 * gdb.base/help.exp (disassemble): Update expected help text.
8301
812f7342
TT
83022009-07-09 Tom Tromey <tromey@redhat.com>
8303
8304 * lib/gdb.exp: Handle TRANSCRIPT.
8305 (remote_spawn, remote_close, send_gdb): New procs.
8306
fbb8f299
PM
83072009-07-10 Phil Muldoon <pmuldoon@redhat.com>
8308
8309 * gdb.python/python-prettyprint.c: Add counted null string
8310 structure.
8311 * gdb.python/python-prettyprint.exp: Print null string. Test for
8312 embedded nulls.
8313 * gdb.python/python-prettyprint.py (pp_ns): New Function.
8314 * gdb.python/python-value.exp (test_value_in_inferior): Add
8315 variable length string fetch tests.
8316 * gdb.python/python-value.c (main): Add strings for string fetch tests.
8317
c0ac0ec7
JK
83182009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8319
8320 * gdb.base/dump.exp (inaccessible memory is reported): New test.
8321
30b66ecc
TT
83222009-07-07 Tom Tromey <tromey@redhat.com>
8323
8324 * gdb.base/call-rt-st.exp: Update for change to escape output.
8325 * gdb.base/callfuncs.exp: Likewise.
8326 * gdb.base/charset.exp: Likewise.
8327 * gdb.base/constvars.exp: Likewise.
8328 * gdb.base/long_long.exp: Likewise.
8329 * gdb.base/pointers.exp: Likewise.
8330 * gdb.base/printcmds.exp: Likewise.
8331 * gdb.base/setvar.exp: Likewise.
8332 * gdb.base/store.exp: Likewise.
8333 * gdb.cp/ref-types.exp: Likewise.
8334 * gdb.mi/mi-var-child.exp: Likewise.
8335 * gdb.mi/mi-var-display.exp: Likewise.
8336 * gdb.mi/mi2-var-display.exp: Likewise.
8337 * gdb.base/charset.exp: Test octal escape sequence length.
8338 Update for change to escape output.
8339
187c4a2b
JK
83402009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8341
8342 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
8343
d80a43f9
DJ
83442009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
8345
8346 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
8347
047427a8
JK
83482009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8349
8350 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
8351 gdbserver increasing $portnum if "Can't bind address" has been seen.
8352
8b5a0f4f
PA
83532009-07-05 Pedro Alves <pedro@codesourcery.com>
8354
8355 * gdb.base/ending-run.exp: Add "step out of main" pattern for
8356 mingw32ce.
8357
7d93ba58
PA
83582009-07-05 Pedro Alves <pedro@codesourcery.com>
8359
8360 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
8361 VFP format.
8362
2277426b
PA
83632009-07-02 Pedro Alves <pedro@codesourcery.com>
8364
8365 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
8366 linux. Adjust to use "inferior", "info inferiors", "detach
8367 inferior" and "kill inferior" instead of "restart", "info fork",
8368 "detach fork" and "delete fork".
8369 * gdb.base/ending-run.exp: Spell out "info".
8370 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
8371 the "kill" command.
8372
5af949e3
UW
83732009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8374
8375 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
8376 change to prefix TLS offset in hex with 0x.
8377
5d3729b5
UW
83782009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8379
8380 * gdb.base/default.exp: Update test case for "x" changes.
8381
af589bd0
TG
83822009-07-01 Tristan Gingold <gingold@adacore.com>
8383
8384 * gdb.base/bigcore.exp: Make darwin untested.
8385
40974f91
JK
83862009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8387
8388 * gdb.base/completion.exp (directory completion): Create the directory.
8389 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
8390 escapeuniquesub.
8391 (directory completion 2): Expect now ${escapeuniquesub}.
8392 (Glob remaining of directory test): Remove one excessive newline.
8393 Expect the real output.
8394
59dd3af6
JK
83952009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8396
8397 Fix `make check//%' target after `make check' has been ran.
8398 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
8399 a mkdir call.
8400 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
8401 (%/.dir): Remove.
8402
f4e164aa
JK
84032009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8404
8405 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
8406 the expected result record.
8407
69af2122
JK
84082009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8409
8410 Remove racy FAILs relying just on the timeouts.
8411 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
8412 (annotation_level 2): Remove racy FAILs.
8413
2fd481e1
PP
84142009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8415
8416 gdb/10275
889bf7c5
PA
8417 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
8418
c38f313d
DJ
84192009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
8420
8421 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
8422
8b777f02
VP
84232009-06-30 Vladimir Prus <vladimir@codesourcery.com>
8424
8425 * gdb.mi/mi-stack.exp: Testing symbolic options
8426 to -stack-list-locals and -stack-list-arguments.
8427
00c7eacf
JK
84282009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8429
8430 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
8431
6bc80edc
TT
84322009-06-29 Tom Tromey <tromey@redhat.com>
8433
8434 * dg-extract-results.sh: New file.
8435 * Makefile.in (FORCE_PARALLEL): New variable.
8436 (CHECK_TARGET): New conditional variable.
8437 (check): Use CHECK_TARGET.
8438 (DO_RUNTEST): New variable.
8439 (check-single): New target.
8440 (TEST_DIRS): New variable.
8441 (TEST_TARGETS): Likewise.
8442 (check-parallel): New target.
8443 (check-gdb.%): New pattern.
8444 (BASE1_FILES): New variable.
8445 (BASE2_FILES): Likewise.
8446 (check-gdb.base%): New pattern.
8447 (%/.dir): New pattern.
8448 * configure: Rebuild.
8449 * aclocal.m4 (AM_CONDITIONAL): New defun.
8450 * configure.ac: Check whether user is using GNU make.
8451 (GMAKE): New conditional.
8452
794684b6
SW
84532009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
8454
8455 * gdb.cp/namespace-nested-import.cc: New test.
8456 * gdb.cp/namespace-nested-import.exp: New test.
8457
edb3359d
DJ
84582009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
8459
8460 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
8461 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
8462 * gdb.opt/Makefile.in (EXECUTABLES): Update.
8463 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
8464 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
8465 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
8466 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
8467 gdb.opt/inline-markers.c: New files.
8468 * lib/gdb.exp (skip_inline_frame_tests): New function.
8469 (skip_inline_var_tests): New function.
8470
cf657a0c
AS
84712009-06-27 Andreas Schwab <schwab@linux-m68k.org>
8472
8473 * gdb.cp/exception.exp: Don't require $hex before inner frame in
8474 backtrace.
8475
28d41a99
MS
84762009-06-27 Michael Snyder <msnyder@vmware.com>
8477
8478 * gdb.reverse: New directory.
8479 * gdb.reverse/break-reverse.c: New test.
8480 * gdb.reverse/break-reverse.exp: New test.
8481 * gdb.reverse/consecutive-reverse.c: New test.
8482 * gdb.reverse/consecutive-reverse.exp: New test.
8483 * gdb.reverse/finish-reverse.c: New test.
8484 * gdb.reverse/finish-reverse.exp: New test.
8485 * gdb.reverse/machinestate.c: New test.
8486 * gdb.reverse/ms1.c: New test.
8487 * gdb.reverse/machinestate.exp: New test.
8488 * gdb.reverse/Makefile.in: New file.
8489 * gdb.reverse/shr2.c: New test.
8490 * gdb.reverse/solib-reverse.c: New test.
8491 * gdb.reverse/solib-reverse.exp: New test.
8492 * gdb.reverse/step-reverse.c: New test.
8493 * gdb.reverse/step-reverse.exp: New test.
8494 * gdb.reverse/until-reverse.c: New test.
8495 * gdb.reverse/ur1.c: New test.
8496 * gdb.reverse/until-reverse.exp: New test.
8497 * gdb.reverse/watch-reverse.c: New test.
8498 * gdb.reverse/watch-reverse.exp: New test.
8499 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
8500 * configure: Regenerate.
8501
fe3c8b0d
DE
85022009-06-26 Doug Evans <dje@google.com>
8503
8504 * gdb.base/psymtab.exp: Turn off pending breakpoints.
8505
3a72a602
PM
85062009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
8507
8508 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
8509 windows problem for 'file delete $binfile'.
8510
27aa8d6a
SW
85112009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
8512
8513 * gdb.cp/namespace-using.exp: New test.
8514 * gdb.cp/namespace-using.cc: New test.
8515
8ac055f8
JB
85162009-05-20 Joel Brobecker <brobecker@adacore.com>
8517
8518 * gdb.ada/variant_record_packed_array: New testcase.
8519
85e306ed
TT
85202009-06-23 Tom Tromey <tromey@redhat.com>
8521
8522 * gdb.base/charset.exp (test_combination): Regression test.
8523 * gdb.base/charset.c (my_wchar_t): New typedef.
8524 (myvar): New global.
8525 (main): Set myvar.
8526
56643c5e
PM
85272009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
8528
8529 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
8530 target.
8531
1fac167a
UW
85322009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8533
8534 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
8535
7ccb0be9
UW
85362009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8537
8538 * gdb.mi/gdb680.exp: Update test for error message.
8539
568d6575
UW
85402009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8541
8542 * gdb.base/annota1.exp: Allow multiple occurrences of the
8543 frames-invalid annotation.
8544 * gdb.cp/annota2.exp: Likewise.
8545
7cd1089b
PM
85462009-06-15 Phil Muldoon <pmuldoon@redhat.com>
8547
8548 * gdb.cp/gdb2495.cc: New file.
8549 * gdb.cp/gdb2495.exp: New file.
8550
72c63395
JK
85512009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8552
8553 Report error on GDB crash during runto.
8554 * lib/gdb.exp (runto <eof>): New.
8555
3788363d
DJ
85562009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
8557
8558 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
8559 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
8560 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
8561 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
8562 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
8563 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
8564 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
8565 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
8566 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
8567 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
8568 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
8569 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
8570 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
8571 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
8572 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
8573 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
8574 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
8575 gdb.server/server-mon.exp, gdb.server/server-run.exp,
8576 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8577 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
8578 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
8579 gdb.trace/passcount.exp, gdb.trace/report.exp,
8580 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
8581 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
8582 gdb.trace/while-stepping.exp: Use a unique name for the compiled
8583 executable.
8584
17592de3
PA
85852009-06-07 Pedro Alves <pedro@codesourcery.com>
8586
8587 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
8588 defined before referencing it.
8589
701e355d
DE
85902009-06-03 Doug Evans <dje@google.com>
8591
8592 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
8593 * gdb.arch/i386-see.c: Ditto.
8594
f2292c65
PM
85952009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
8596
8597 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
8598 (check_macro): Return 1 if undefined.
8599 If first test fails, check if macro debug information is available,
8600 and report unsupported test if no macro information is found.
8601
5a437975
DE
86022009-05-29 Doug Evans <dje@google.com>
8603
8604 * gdb.threads/hand-call-in-threads.exp: New.
8605 * gdb.threads/hand-call-in-threads.c: New.
8606
c141c696
MS
86072009-05-29 Michael Snyder <msnyder@vmware.com>
8608
8609 * gdb.base/break-always.exp: Change "1" to "on".
8610 Add confirmation check.
8611
b3444185
PA
86122009-05-28 Pedro Alves <pedro@codesourcery.com>
8613
8614 * gdb.threads/threxit-hop-specific.c: New.
8615 * gdb.threads/threxit-hop-specific.exp: New.
8616 * gdb.threads/thread-execl.c: New.
8617 * gdb.threads/thread-execl.exp: New.
8618
b6313243
TT
86192009-05-27 Tom Tromey <tromey@redhat.com>
8620 Thiago Jung Bauermann <bauerman@br.ibm.com>
8621
8622 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
8623 (mi_child_regexp): Likewise.
8624 (mi_list_varobj_children_range): Likewise.
8625 (mi_get_features): Likewise.
8626 (mi_list_varobj_children): Rewrite.
8627 * gdb.python/python-mi.exp: New file.
8628
a6bac58e
TT
86292009-05-27 Tom Tromey <tromey@redhat.com>
8630 Thiago Jung Bauermann <bauerman@br.ibm.com>
8631 Phil Muldoon <pmuldoon@redhat.com>
8632 Paul Pluzhnikov <ppluzhnikov@google.com>
8633
8634 * gdb.python/python-prettyprint.exp: New file.
8635 * gdb.python/python-prettyprint.c: New file.
8636 * gdb.python/python-prettyprint.py: New file.
8637 * gdb.base/display.exp: print/r is now valid.
8638
2c74e833
TT
86392009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
8640 Tom Tromey <tromey@redhat.com>
8641 Pedro Alves <pedro@codesourcery.com>
8642 Paul Pluzhnikov <ppluzhnikov@google.com>
8643
8644 * gdb.python/python-template.exp: New file.
8645 * gdb.python/python-template.cc: New file.
8646 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8647 tests.
8648 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8649 Call it.
8650 (test_value_after_death): New proc.
8651 * gdb.python/python-value.c (PTR): New typedef.
8652 (main): New variable 'x'.
8653
89c73ade
TT
86542009-05-27 Tom Tromey <tromey@redhat.com>
8655
8656 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8657 tests.
8658 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8659 Call it.
8660
a75724bc
PA
86612009-05-27 Pedro Alves <pedro@codesourcery.com>
8662
8663 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
8664
e58b0e63
PA
86652009-05-24 Pedro Alves <pedro@codesourcery.com>
8666
8667 * gdb.threads/fork-thread-pending.c: New.
8668 * gdb.threads/fork-thread-pending.exp: New.
8669
4ac36638
JK
86702009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8671
8672 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
8673 * gdb.dwarf2/dw2-strp.S (a_string2): New.
8674
889bf7c5 86752009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 8676
889bf7c5 8677 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 8678
b242c3c2
PA
86792009-05-17 Pedro Alves <pedro@codesourcery.com>
8680
8681 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
8682 `gdb_get_line_number'. Call `callee' in both parent and child.
8683 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
8684 `gdb_get_line_number' instead of hardcoding line numbers.
8685 (catch_fork_unpatch_child): New procedure to test detaching
8686 breakpoints from child fork.
8687 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
8688 hardcoding line numbers.
8689 (do_fork_tests): Run `catch_fork_unpatch_child'.
8690
ee342b23
VP
86912009-05-17 Vladimir Prus <vladimir@codesourcery.com>
8692
8693 * gdb.mi/mi-cmd-var.exp: Check that when varobj
8694 of structure type enters or leaves the scope, it
8695 is reported by -var-update.
8696
e2009e98
DE
86972009-05-11 Doug Evans <dje@sebabeach.org>
8698
8699 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 8700 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
8701 * gdb.threads/schedlock.c (main): Fix off-by-one error.
8702
00903456
JK
87032009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8704
8705 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
8706
dc621c35
DE
87072009-04-30 Doug Evans <dje@google.com>
8708
8709 * gdb.threads/watchthreads2.exp: New testcase.
8710 * gdb.threads/watchthreads2.c: New testcase.
8711
9ab4e744
DE
87122009-04-29 Doug Evans <dje@google.com>
8713
8714 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
8715 * gdb.cp/mb-ctor.cc: Ditto.
8716 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
8717 * gdb.cp/mb-inline.h (multi_line_foo): New function.
8718 * gdb.cp/mb-inline1.cc: Call it.
8719 * gdb.cp/mb-inline2.cc: Ditto.
8720 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
8721 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
8722
484086b7
JK
87232009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8724
8725 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
8726 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
8727 Replace all uses of `decimal' by `nonzero'.
8728 (info macro FROM_COMMANDLINE): New test.
8729
379a77b5
TT
87302009-04-27 Tom Tromey <tromey@redhat.com>
8731
8732 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
8733
b92b73c2
DE
87342009-04-27 Doug Evans <dje@google.com>
8735
8736 * gdb.threads/watchthreads.c (main): Initialize args before starting
8737 the threads. Plus formatting cleanup.
8738 * gdb.threads/watchthreads.exp: Avoid errant failures due to
8739 biased scheduling of one thread.
8740
945a118d
JG
87412009-04-27 Jerome Guitton <guitton@adacore.com>
8742
8743 * gdb.cp/templates.cc (GetMax): New template.
8744 (main): Declare two instances of GetMax.
8745 * gdb.cp/templates.exp: Add new test.
8746
d389af10
JK
87472009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8748
8749 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
8750
e7f86de9
JM
87512009-04-22 Joseph Myers <joseph@codesourcery.com>
8752
8753 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
8754
334cc82d
TT
87552009-04-15 Tom Tromey <tromey@redhat.com>
8756
8757 * gdb.base/charset.exp: Add regression test.
8758
d12672cc
JB
87592009-04-14 Joel Brobecker <brobecker@adacore.com>
8760
8761 * gdb.base/exe-lock.exp: New testcase.
8762
18e8c3bc
TT
87632009-04-13 Tom Tromey <tromey@redhat.com>
8764
8765 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
8766 operator on Frame.
8767
5ecd5cbe
UW
87682009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8769
8770 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
8771 * gdb.server/ext-attach.exp: Likewise.
8772
7309f756
VP
87732009-04-03 Vladimir Prus <vladimir@codesourcery.com>
8774
8775 Eliminate some sleep usage.
8776
889bf7c5
PA
8777 * gdb.mi/basics.c (do_nothing): New.
8778 (main): Use do_nothing instead of printf, so that
8779 not to introduce race condition between output of
8780 inferiour and output of gdb. Do not use sleep as it
8781 is not generally available on embedded targets.
7309f756 8782
f4b95f6f
PA
87832009-04-02 Pedro Alves <pedro@codesourcery.com>
8784
8785 * gdb.server/ext-attach.exp: Expect an optional process id after
8786 "Detached from remote process".
8787
de40b933
JK
87882009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8789
8790 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
8791 gdb.dwarf2/dw2-unresolved.exp: New.
8792
2ae101a4
PA
87932009-04-02 Pedro Alves <pedro@codesourcery.com>
8794
8795 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
8796 mi_run_to_main.
8797
56a8e183
PA
87982009-04-02 Pedro Alves <pedro@codesourcery.com>
8799
8800 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
8801 mi_run_to_main. Skip thread exit test on remote targets.
8802 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
8803 mi_run_to_main.
8804 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
8805 mi_run_to_main.
8806 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
8807 when expecting ^connected. Detect when the target doesn't support
8808 non-stop mode.
8809 (mi_run_cmd): Detect if non-stop mode was requested by isn't
8810 supported. Return -1 on error, 0 on success.
8811 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
8812 (mi_runto): Return mi_runto_helper's result explicitly.
8813
c35fafde
PA
88142009-04-01 Pedro Alves <pedro@codesourcery.com>
8815
8816 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
8817
f8a8dce6
JB
88182009-04-01 Tom Tromey <tromey@redhat.com>
8819
8820 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
8821 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
8822 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
8823 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
8824
71c25dea
TT
88252009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
8826 Jan Kratochvil <jan.kratochvil@redhat.com>
8827
8828 PR gdb/931
8829 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
8830 output.
8831 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
8832 for gdb/931.
8833 * dw2-strp.S (DW_AT_language): Change to C++.
8834 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
8835
02d9a9ce
JB
88362009-03-31 Joel Brobecker <brobecker@adacore.com>
8837
8838 * gdb.ada/tasks: New testcase.
8839
1042e4c0
SS
88402009-03-30 Stan Shebs <stan@codesourcery.com>
8841
8842 * gdb.trace/actions.exp: Update to match new info trace format.
8843 * gdb.trace/deltrace.exp: Ditto.
8844 * gdb.trace/infotrace.exp: Ditto.
8845 * gdb.trace/passcount.exp: Ditto.
8846 * gdb.trace/save-trace.exp: Ditto.
8847 * gdb.trace/while-stepping.exp: Ditto.
8848 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
8849
f8f6f20b
TJB
88502009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8851
8852 * gdb.python/python-frame.c: New file.
8853 * gdb.python/python-frame.exp: New file.
8854
c0c6f777
TJB
88552009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
8856
8857 * gdb.python/python-value.exp: Add tests for the address
8858 attribute.
8859
3cb51905
AS
88602009-03-29 Andreas Schwab <schwab@linux-m68k.org>
8861
8862 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
8863
88fc996f
DE
88642009-03-26 Doug Evans <dje@google.com>
8865
8866 * gdb.mi/mi-nonstop-exit.exp: New file.
8867 * gdb.mi/non-stop-exit.c: New file.
8868
56ef84b1
TT
88692009-03-26 Tom Tromey <tromey@redhat.com>
8870
8871 Update for change to prologue skipping:
8872 * gdb.mi/mi2-simplerun.exp: Update.
8873 * gdb.mi/mi2-break.exp: Update.
8874 * gdb.mi/mi-simplerun.exp: Update.
8875 * gdb.mi/mi-break.exp: Update.
8876 * gdb.base/ending-run.exp: Update.
8877
def2b000
TJB
88782009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
8879
8880 * gdb.python/python-value.exp (test_value_in_inferior): Test
8881 gdb.Value.is_optimized_out attribute.
8882
442ddf59
JK
88832009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8884
8885 * gdb.dwarf2/dw2-noloc-main.c: New file.
8886 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
8887 (.text): Remove.
8888 (.data): New.
8889 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
8890 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
8891 (DW_TAG_subprogram func_cu1, noloc): Remove.
8892 (main): New.
8893 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
8894 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
8895 (file_symbols): New procedure.
8896
a8df5de4
TT
88972009-03-25 Tom Tromey <tromey@redhat.com>
8898
8899 * gdb.base/charset.exp (valid_target_charset): New proc.
8900 Use it to skip tests on invalid charsets.
8901
cc1d7add
PM
89022009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
8903
8904 * gdb.base/completion.exp: Add a test for directory completion.
8905
bcd5727b
JK
89062009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8907
8908 Fix a racy FAIL.
8909 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
8910 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
8911
cc924cad
TJB
89122009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
8913
8914 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
8915 * gdb.python/python-function.exp: Add test for function returning
8916 a GDB value.
8917
bc3b79fd
TJB
89182009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
8919
8920 * gdb.python/python-function.exp: New file.
8921
6c7a06a3
TT
89222009-03-20 Tom Tromey <tromey@redhat.com>
8923
8924 * gdb.base/store.exp: Update for change to escape output.
8925 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
8926 to escape output.
8927 * gdb.base/pointers.exp: Update for change to escape output.
8928 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
8929 to escape output.
8930 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
8931 escape output.
8932 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
8933 to escape output.
8934 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
8935 escape output.
8936 * gdb.base/setvar.exp: Update for change to escape output.
8937 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
8938 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
8939 to escape output.
8940 (test_print_string_constants): Likewise.
8941 * gdb.base/charset.exp (valid_host_charset): Check size of
8942 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
8943 cases. Handle "auto"-related output.
8944 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
8945 (uvar, Uvar): New globals.
8946
c31af87b
JG
89472009-03-19 Jerome Guitton <guitton@adacore.com>
8948
8949 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
8950 deltas.
8951 * gdb.ada/fixed_points.exp: Ditto.
8952
51272cf2
PA
89532009-03-18 Pedro Alves <pedro@codesourcery.com>
8954
8955 * return-nodebug.c: Don't include stdio.h.
8956 (init): Delete.
8957 (func): Delete definition and provide extern declaration.
8958 (t): New.
8959 (main): Don't call printf. Call func and store its result in t.
8960 * return-nodebug1.c: New.
8961 * return-nodebug.exp: Don't expect stdio output. Instead, print
8962 the global variable t. Drop printf formatters and cast types from
8963 foreach loop. Don't use prepare_for_testing. Compile
8964 return-nodebug.c and return-nodebug1.c in separate steps. Don't
8965 define FORMAT or CAST.
8966
d24948ac
PP
89672009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8968
8969 * gdb.base/solib-display.exp: Disable test for remote targers.
8970
61ff14c6
JK
89712009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8972
8973 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
8974
cb4dce93
JK
89752009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8976
8977 Fix a racy FAIL.
8978 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
8979 code from `follow parent, print pids'.
8980 (`follow child, print pids', `follow parent, print pids'): Call it.
8981 Replace `gdb_test "break..."' by gdb_breakpoint.
8982
f7c60c5e
VP
89832009-03-13 Vladimir Prus <vladimir@codesourcery.com>
8984
8985 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 8986 sync and async modes.
f7c60c5e 8987
383ace49
JB
89882009-03-12 Joel Brobecker <brobecker@adacore.com>
8989
8990 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
8991 that was checked in by mistake. Remove loading of ada.exp, since
8992 this is not necessary in this case.
8993
4ce102af
JB
89942009-03-12 Joel Brobecker <brobecker@adacore.com>
8995
8996 * gdb.ada/ptype_arith_binop.exp: New testcase.
8997
529a2aef
JB
89982009-03-12 Joel Brobecker <brobecker@adacore.com>
8999
9000 * gdb.ada/mod_from_name: New testcase.
9001
8a38181c
JB
90022009-03-12 Joel Brobecker <brobecker@adacore.com>
9003
9004 * gdb.ada/tick_last_segv: New testcase.
9005
11436dee
VP
90062009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9007
61ff14c6 9008 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 9009
1f31650a
VP
90102009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9011
61ff14c6
JK
9012 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
9013 include the token in ^running and frame info in *stopped.
1f31650a 9014
a3247a22
PP
90152009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9016
9017 * solib-display.exp: New file.
9018 * solib-display-main.c: New file.
9019 * solib-display-lib.c: New file.
61ff14c6 9020
aae64587
PA
90212009-03-05 Pedro Alves <pedro@codesourcery.com>
9022
9023 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
9024
44aabfbc
JK
90252009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9026
9027 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
9028 (list_and_check_macro): Use more specific test name.
9029 (next to definition): Make the test names unique.
9030
c087fcd3
PM
90312009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
9032
9033 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 9034
c86cf029
VP
90352009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9036
9037 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
9038 notifications.
9039 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
9040 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
9041 * lib/mi-support.exp (library_loaded_re): New.
9042 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
9043
3ea85240
VP
90442009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9045
9046 * gdb.gdb/observer.exp: Use test_notification observer, not
9047 normal_stop, everywhere.
9048 (test_normal_stop_notifications): Rename to...
9049 (test_notifications): ...this.
9050 (test_observer_normal_stop): Rename to...
9051 (test_observer): ...this.
9052
1903f0e6
DE
90532009-02-16 Doug Evans <dje@google.com>
9054
9055 * gdb.arch/amd64-disp-step.S (test_int3): New test.
9056 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
9057 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
9058 (test_prefixed_syscall,test_int3): New tests.
9059 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
9060 (test_prefixed_syscall,test_int3): New tests.
9061
1d33d6ba
VP
90622009-02-14 Vladimir Prus <vladimir@codesourcery.com>
9063
3cb51905
AS
9064 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
9065 (mi_expect_interrupt): Likewise.
9066 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
9067 response.
1d33d6ba 9068
faafb047
PM
90692009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9070
9071 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
9072 * gdb.base/pc-fp.exp (get_valueofx): Remove.
9073 Replace calls to get_valueofx by get_hexadecimal_valueof.
9074
417e16e2
PM
90752009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9076
9077 * lib/gdb.exp (get_valueof): Accept anything as a return value.
9078 (get_integer_valueof): New procedure.
9079 (get_sizeof): Use new get_integer_value_of.
9080 * gdb.base/sizeof.exp: Replace all uses of get_valueof
9081 by get_integer_valueof.
9082
7065b901
TT
90832009-02-13 Tom Tromey <tromey@redhat.com>
9084
9085 * gdb.base/remote.exp (get_sizeof): Remove.
9086 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
9087 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
9088 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
9089 * lib/gdb.exp (get_valueof): Move from long_long.exp.
9090 (get_sizeof): Likewise.
9091
5d7cb8df
JK
90922009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9093
9094 PR fortran/9806
9095 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
9096
b2febfff
PP
90972009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9098
9099 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
9100
4aa995e1
PA
91012009-02-06 Pedro Alves <pedro@codesourcery.com>
9102
9103 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
9104
d8906c6f
TJB
91052009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9106
9107 * gdb.python/python-cmd.exp: New file.
9108
ff4ab08d
TG
91092009-02-06 Tristan Gingold <gingold@adacore.com>
9110
9111 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
9112
aacd552b
TG
91132009-02-05 Tristan Gingold <gingold@adacore.com>
9114
9115 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
9116 pointer is dereferenced and use this signal name in regexp.
9117 * gdb.base/signull.exp: Ditto.
9118 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
9119 * gdb.base/signull.c (main): Ditto.
9120
08c637de
TJB
91212009-02-04 Tom Tromey <tromey@redhat.com>
9122 Thiago Jung Bauermann <bauerman@br.ibm.com>
9123
9124 * gdb.python/python-value.exp: Use `gdb.history' instead of
9125 `gdb.value_from_history'.
9126 (test_value_numeric_ops): Add test for conversion of enum constant.
9127 * gdb.python/python-value.c (enum e): New type.
9128 (evalue): New global.
9129 (main): Use argv.
9130
20261af8
JG
91312009-02-04 Jerome Guitton <guitton@adacore.com>
9132
9133 * gdb.ada/uninitialized_vars: New test program.
9134 * gdb.ada/uninitialized_vars.exp: New testcase.
9135
52e44b43
TT
91362009-02-02 Tom Tromey <tromey@redhat.com>
9137
9138 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
9139 * gdb.cp/pr2489.cc: Rename...
9140 * gdb.cp/pr9594.cc: ... to this.
9141
1c71341a
TT
91422009-02-02 Tom Tromey <tromey@redhat.com>
9143
9144 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
9145 * gdb.cp/pr2489.cc: New file.
9146 * gdb.cp/cpcompletion.exp: New file.
9147
a4295225
TT
91482009-02-02 Tom Tromey <tromey@redhat.com>
9149
9150 PR exp/9059:
9151 * gdb.cp/call-c.exp: Add regression test.
9152 * gdb.cp/call-c.cc (FooHandle): New typedef.
9153 (main): New variable 'handle'.
9154
592375cd
VP
91552009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9156
9157 * lib/mi-support.exp (et_mi_thread_list)
9158 (check_mi_and_console_threads): Adjust for current thread in
9159 -thread-list-ids output.
9160
41447f92
VP
91612009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9162
889bf7c5
PA
9163 * gdb.mi/mi-break.exp (test_disabled_creation): New.
9164 Call it.
41447f92 9165
35669430
DE
91662009-01-28 Doug Evans <dje@google.com>
9167
9168 * gdb.arch/amd64-disp-step.S: New file.
9169 * gdb.arch/amd64-disp-step.exp: New file.
9170 * gdb.arch/i386-disp-step.S: New file.
9171 * gdb.arch/i386-disp-step.exp: New file.
9172
09f00d9a
PM
91732009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
9174
9175 * gdb.base/find.exp: Set newline variable
9176 using quotes instead of braces to fix cygwin failures.
9177
1e8fb976
PA
91782009-01-23 Pedro Alves <pedro@codesourcery.com>
9179
9180 * gdb.base/radix.exp: Add tests to ensure that that set
9181 input-radix 0 and set output-radix 0 are really rejected.
9182
da061712
PA
91832009-01-23 Pedro Alves <pedro@codesourcery.com>
9184
9185 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
9186 copyright years.
9187
dd7e2d2b
PA
91882009-01-23 Pedro Alves <pedro@codesourcery.com>
9189
9190 PR gdb/9664:
9191 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
9192
392452f6
PA
91932009-01-22 Pedro Alves <pedro@codesourcery.com>
9194
9195 PR c++/9631:
9196 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
9197
8653e71c
PM
91982009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
9199
9200 * gdb.server/file-transfer.exp: Use EXEEXT variable for
9201 binfile definition to fix Windows OS failure.
9202
a12cc160
DJ
92032009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9204
9205 PR gdb/9346
9206 * gdb.base/interrupt.c (sigint_handler): New.
9207 (main): Install a SIGINT handler if SIGNALS is defined. Exit
9208 on error.
9209 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
9210 Test "signal SIGINT".
9211
b89667eb
DE
92122009-01-19 Doug Evans <dje@google.com>
9213
9214 * gdb.base/break.exp: Update expected gdb output.
9215 * gdb.base/sepdebug.exp: Ditto.
9216 * gdb.mi/mi-syn-frame.exp: Ditto.
9217 * gdb.mi/mi2-syn-frame.exp: Ditto.
9218 * gdb.base/call-signal-resume.exp: New file.
9219 * gdb.base/call-signals.c: New file.
9220 * gdb.base/unwindonsignal.exp: New file.
9221 * gdb.base/unwindonsignal.c: New file.
9222 * gdb.threads/interrupted-hand-call.exp: New file.
9223 * gdb.threads/interrupted-hand-call.c: New file.
9224 * gdb.threads/thread-unwindonsignal.exp: New file.
9225
adb483fe
DJ
92262009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
9227
9228 * gdb.base/define.exp: Test defining and hooking prefix commands.
9229 * gdb.python/python.exp: Update test for "show user" output.
9230
60023297
JK
92312009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9232
9233 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
9234 now the output exactly, using less wildcards. Expect also the output
9235 of gfortran-4.3. Update for the f-valprint.c modification from
9236 2008-04-22.
9237 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
9238 Remove gdb_test test names where matching the command.
9239
ccc57cf9
PA
92402009-01-01 Pedro Alves <pedro@codesourcery.com>
9241
9242 PR breakpoints/9681:
9243 * gdb.base/watchpoint.exp: Add regression test.
9244
c7a6ca08
PA
92452008-12-31 Pedro Alves <pedro@codesourcery.com>
9246
9247 * gdb.threads/attach-into-signal.exp: Don't use
9248 gdb_suppress_entire_file.
9249 * gdb.threads/attach-stopped.exp: Ditto.
9250 * gdb.threads/attachstop-mt.exp: Ditto.
9251
3a031f65
PA
92522008-12-31 Pedro Alves <pedro@codesourcery.com>
9253
9254 PR gdb/8812:
9255 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
9256
09e6485f
PA
92572008-12-29 Pedro Alves <pedro@codesourcery.com>
9258
9259 PR gdb/7536:
9260 * gdb.base/radix.exp: Add tests to ensure invalid input radices
9261 and unsupported output radices are really rejected.
9262
0cd53049
JK
92632008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9264
9265 * gdb.cp/punctuator.exp: Backslash the '$' signs.
9266
ba163c7e
TT
92672008-12-22 Tom Tromey <tromey@redhat.com>
9268
9269 * gdb.cp/punctuator.exp: New file.
9270
6f4de6c9
JK
92712008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9272
9273 * gdb.base/completion.exp (Completing non-existing component): New test.
9274
0f34d0b4
JK
92752008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9276
9277 Fix for PR gdb/8648.
9278 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
9279 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
9280 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
9281 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
9282
db2ad4c3
JK
92832008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9284
9285 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
9286
bb5ef15e
DP
92872008-12-16 Christophe Lyon <christophe.lyon@st.com>
9288
9289 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
9290 compiler actually generate code at the expected line number.
9291
90142adc
JZ
92922008-12-15 Jie Zhang <jie.zhang@analog.com>
9293
9294 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
9295
fad6eecd
TT
92962008-12-12 Tom Tromey <tromey@redhat.com>
9297
9298 * gdb.base/commands.exp (redefine_hook_test): New proc.
9299 Call it.
9300
17c8aaf5
TT
93012008-12-11 Tom Tromey <tromey@redhat.com>
9302
9303 * gdb.base/macscp.exp: New regression test.
9304
7c8adf68
TT
93052008-12-11 Tom Tromey <tromey@redhat.com>
9306
9307 * gdb.base/macscp.exp: Print "address.addr".
9308 * gdb.base/macscp1.c (struct outer): New struct.
9309 (address): New global.
9310
b05dcbb7
TT
93112008-12-09 Tom Tromey <tromey@redhat.com>
9312
9313 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
9314 Call it.
9315
2d476de1
DE
93162008-12-04 Doug Evans <dje@google.com>
9317
9318 * gdb.server/ext-run.exp: Relax regexp for init program.
9319
87bdc959
TG
93202008-12-03 Tristan Gingold <gingold@adacore.com>
9321
9322 * gdb.base/macscp.exp: Generate an object file during compilation
9323 to work around Darwin dsymutil limitations.
9324
e0740f77
JK
93252008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9326
9327 Test resolving external references to TLS variables.
9328 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
9329 FILE2_THREAD_LOCAL.
9330 (testfile2, srcfile2): New variables.
9331 * gdb.threads/tls.c (file2_thread_local)
9332 (function_referencing_file2_thread_local): New.
9333 * gdb.threads/tls2.c: New file.
9334
67f0aac5
JB
93352008-11-28 Joel Brobecker <brobecker@adacore.com>
9336
9337 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
9338 rather than integer, as integer might not be big enough when
9339 on 64bit targets.
67f0aac5 9340
c332165e
JG
93412008-11-27 Jerome Guitton <guitton@adacore.com>
9342
9343 * gdb.cp/formatted-ref.exp: Add equality test.
9344 * gdb.ada/formatted_ref.exp: Ditto.
9345
fc9b693c
JK
93462008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9347
9348 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
9349 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
9350
a9c64011
AS
93512008-11-20 Andreas Schwab <schwab@suse.de>
9352
9353 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
9354 matching syscall entry point.
9355 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9356 (tcatch_vfork_then_child_follow): Likewise. Finish through
9357 vfork even if we stopped at the syscall trampoline.
9358
e2fd701e
DE
93592008-11-20 Doug Evans <dje@google.com>
9360
9361 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
9362
69abc51c
TJB
93632008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
9364
9365 * gdb.arch/ppc-dfp.exp: New file.
9366 * gdb.arch/ppc-dfp.c: New file.
9367
c14c28ba
PP
93682008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9369
9370 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 9371
2e74121d
DE
93722008-11-17 Doug Evans <dje@google.com>
9373
9374 * gdb.mi/mi-syn-frame.exp: Update expected output.
9375 * gdb.mi/mi2-syn-frame.exp: Update expected output.
9376
66bb093b
VP
93772008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9378
9379 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
9380 "thread N" results in =thread-selected.
9381 * lib/mi-support (mi_run_cmd, mi_expect_stop)
9382 (mi_send_resuming_command_raw): Be prepared for
9383 =thread-selected.
9384
3d043ef6
VP
93852008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9386
a9c64011
AS
9387 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
9388 * lib/mi-support.exp: Likewise.
3d043ef6 9389
808104c8
JB
93902008-11-16 Joel Brobecker <brobecker@adacore.com>
9391
9392 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
9393 commands from the expected output for "help catch".
9394
00b22944
JB
93952008-11-15 Joel Brobecker <brobecker@adacore.com>
9396
9397 * gdb.ada/int_deref.exp: New testcase.
9398
59669435
TT
93992008-11-14 Nick Roberts <nickrob@snap.net.nz>
9400
9401 * gdb.mi/gdb2549.exp: New file.
9402
de04a248
DE
94032008-11-11 Doug Evans <dje@google.com>
9404
9405 * gdb.base/callexit.exp: New file.
9406 * gdb.base/callexit.c: New file.
9407
6b8ce727
DE
94082008-11-10 Doug Evans <dje@google.com>
9409
9410 * lib/gdb.exp (GDBFLAGS): Move -nx ...
9411 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
9412 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
9413 (default_gdb_start,default_gdb_exit): Ditto.
9414 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
9415 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
9416 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
9417 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
9418 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
9419 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
9420
1b14b8aa
AS
94212008-11-03 Andreas Schwab <schwab@suse.de>
9422
9423 * gdb.base/hashline2.exp: Fix typo.
9424 * gdb.base/hashline3.exp: Likewise.
9425
f3134b88
TT
94262008-10-30 Tom Tromey <tromey@redhat.com>
9427
9428 * gdb.base/pointers.exp: Add test.
9429 * gdb.base/pointers.c (k, S): New typedefs.
9430 (instance): New global.
9431
c2226152
AS
94322008-10-30 Andreas Schwab <schwab@suse.de>
9433
9434 * gdb.base/args.exp: Add tests for newlines.
9435
462f405c
JB
94362008-10-30 Joel Brobecker <brobecker@adacore.com>
9437
9438 gdb.base/foll-exec.exp: Update the expected output of a couple
9439 of "info breakpoints" tests.
9440
79a45b7d
TT
94412008-10-28 Tom Tromey <tromey@redhat.com>
9442
9443 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
9444
adc13a14
PA
94452008-10-24 Pedro Alves <pedro@codesourcery.com>
9446
9447 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
9448 gdb_start_cmd.
9449 Use runto_main before any test that requires execution.
9450
252fbfc8
PA
94512008-10-23 Pedro Alves <pedro@codesourcery.com>
9452
9453 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
9454 instead of SIGINT.
9455
28148e3d
JB
94562008-10-22 Joel Brobecker <brobecker@adacore.com>
9457
9458 * gdb.base/completion.exp: Update expected output following
9459 the addition of the "info tasks" command.
9460
c209f847
TT
94612008-10-22 Tom Tromey <tromey@redhat.com>
9462
9463 * gdb.base/exprs.exp (test_expr): Add test for string
9464 concatenation.
9465
f177e350
PA
94662008-10-19 Pedro Alves <pedro@codesourcery.com>
9467
9468 * configure.ac: Output gdb.python/Makefile.
9469 * configure: Regenerate.
9470 * gdb.python/Makefile.in: New.
9471
cce89356
JB
94722008-10-16 Joel Brobecker <brobecker@adacore.com>
9473
9474 * gdb.base/foll-fork.exp: Adjust the expected output to match
9475 the new description for fork/vfork catchpoints in the "info
9476 breakpoints" output.
9477
176d289d
TJB
94782008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9479
9480 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
9481
a08702d6
TJB
94822008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9483
9484 * gdb.python/python-value.c: New file.
9485 * gdb.python/python-value.exp: New file.
9486
1c5cfe86
PA
94872008-10-15 Pedro Alves <pedro@codesourcery.com>
9488
9489 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
9490
5a98ad69
DP
94912008-10-15 Denis Pilat <denis.pilat@st.com>
9492
41702f1b 9493 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 9494
dcb1a1e2
TT
94952008-10-09 Tom Tromey <tromey@redhat.com>
9496
9497 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
9498 'fprintf' and 'stderr'.
9499
9124fe48
JB
95002008-10-07 Joel Brobecker <brobecker@adacore.com>
9501
9502 * gdb.ada/ref_tick_size.exp: New testcase.
9503
45452591
DE
95042008-10-06 Doug Evans <dje@google.com>
9505
9506 * gdb.dwarf2/dw2-cu-size.exp: New file.
9507 * gdb.dwarf2/dw2-cu-size.S: New file.
9508
9509 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
9510 .Ltype_int for clarity.
9511
4fc5b208
PP
95122008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9513
9514 PR gdb/2384:
9515 * gdb.cp/gdb2384.exp: Extended to test more cases.
9516 * gdb.cp/gdb2384.cc: Likewise.
9517 * gdb.cp/gdb2384-base.h: Likewise.
9518 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 9519
d78df370
JK
95202008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9521
9522 * gdb.base/maint.exp (maint print type): Remove printing
9523 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
9524
9a044a89
TT
95252008-09-30 Tom Tromey <tromey@redhat.com>
9526
9527 * gdb.base/macscp.exp: Add completion tests.
9528 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
9529 (TWENTY_THREE): Likewise.
9530 (FORTY_EIGHT): Likewise.
9531
506800a9
TT
95322008-09-30 Tom Tromey <tromey@redhat.com>
9533
9534 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
9535 everywhere.
9536 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
9537
1a6f01b5
JK
95382008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9539
9540 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
9541 testcase is derived from. Fix racy dependency on an expected PID
9542 number. No longer support the testcase on Linux kernel 2.4.x.
9543
2fae03e8
TT
95442008-09-27 Tom Tromey <tromey@redhat.com>
9545
9546 * gdb.base/macscp.exp: Add tests for stringification, splicing,
9547 and varargs.
9548
1ad15515
PA
95492008-09-22 Pedro Alves <pedro@codesourcery.com>
9550
9551 * lib/mi-support.exp (mi_expect_interrupt): New.
9552 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
9553 from gdb.mi/mi-nonstop.exp.
9554 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
9555 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
9556 lib/mi-support.exp.
9557 Use mi_check_thread_states throughout. Avoid ".*" and do not
9558 require an anchor after -exec-run.
9559
d0b76dc6
DJ
95602008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
9561
9562 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
9563 stop is pending. Avoid ".*" when two stops are pending.
9564 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
9565 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
9566 newlines in fullnames.
9567 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
9568 (mi_expect_stop): Update comments. Only anchor in sync mode.
9569 Do not match newlines.
9570 (mi_send_resuming_command_raw): Always return status.
9571 (mi_get_stop_line): Do not match more than one line by accident.
9572 Only anchor in sync mode.
9573 (mi_run_inline_test): If -exec-next fails, give up.
9574
9990c830
UW
95752008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9576
9577 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
9578 on SPU.
9579
ebcf6f00
JB
95802008-09-10 Joel Brobecker <brobecker@adacore.com>
9581
9582 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
9583
b6db24e5
JB
95842008-09-10 Joel Brobecker <brobecker@adacore.com>
9585
9586 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
9587 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9588 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
9589 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9590 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
9591 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
9592 gdb.ada/interface.exp, gdb.ada/null_array.exp,
9593 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9594 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9595 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9596 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
9597 Include the "= " sequence in the expected output of print tests.
9598
2bf448e0
JB
95992008-09-10 Joel Brobecker <brobecker@adacore.com>
9600
9601 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
9602 description for boolean types.
9603
d51fd4c8
PA
96042008-09-09 Pedro Alves <pedro@codesourcery.com>
9605
9606 * gdb.base/hook-stop-continue.c: New.
9607 * gdb.base/hook-stop-continue.exp: New.
9608
694182d2
DJ
96092008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9610
9611 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
9612
3b8a7fc0
JG
96132008-09-08 Jerome Guitton <guitton@adacore.com>
9614
9615 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
9616 (stack_check_probe_2, stack_check_probe_loop_1)
9617 (stack_check_probe_loop_2): New functions.
9618 (main): Add call to these new functions.
9619 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
9620 functions, check that the breakpoint is inserted at the appropriate
9621 location.
9622 (insert_breakpoint): Slightly refine this procedure so that it can
9623 be called several times in the test.
9624
96cc0ae8
JG
96252008-09-08 Jerome Guitton <guitton@adacore.com>
9626
9627 * gdb.base/stack-checking.c: New file.
9628 * gdb.base/stack-checking.exp: New file.
9629
1f08b409
TJB
96302008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9631
9632 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
9633 * gdb.arch/altivec-regs.exp: Likewise.
9634 * gdb.arch/vsx-regs.exp: Likewise.
9635
3099e1c4
TJB
96362008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9637
9638 * gdb.arch/ppc-fp.exp: New file.
9639 * gdb.arch/ppc-fp.c: New file.
9640
cc69bfc1
PP
96412008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9642
9643 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
9644 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 9645
b02a33db
MS
96462008-09-04 Michael Snyder <msnyder@vmware.com>
9647
9648 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
9649 as "at" (for non-debug functions such as _start).
9650
2992cbe0
UW
96512008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9652
9653 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
9654 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
9655 software watchpoints.
9656 * gdb.base/watch_thread_num.exp: Likewise.
9657
514f746b
AR
96582008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
9659
9660 * gdb.arch/i386-bp_permanent.exp: New test.
9661
876cecd0
TT
96622008-08-24 Tom Tromey <tromey@redhat.com>
9663
9664 * gdb.base/maint.exp: Update "maint print type".
9665
80f73d71
VP
96662008-08-21 Vladimir Prus <vladimir@codesourcery.com>
9667
9668 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
9669 support. Adjust the order of "*running" notifications.
9670 * gdb.mi/non-stop.c: Don't cast from int to void* and
9671 back.
9672
d9c78d7d
MK
96732008-08-20 Mark Kettenis <kettenis@gnu.org>
9674
9675 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
9676 expect to find it in the "info frame" output.
9677
97a2d1d3
DJ
96782008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
9679
9680 * gdb.base/interp.exp: Always consume both prompts.
9681
b96e2927
PA
96822008-08-20 Pedro Alves <pedro@codesourcery.com>
9683
9684 * gdb.base/pending.exp: Test pending breakpoints without symbols
9685 loaded.
9686
8cf6e61a
VP
96872008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9688
9689 * lib/mi-support.exp (mi_expect_stop): Produce
9690 more details on failures.
9691 * gdb.mi/mi-nonstop.exp: New.
9692 * gdb.mi/non-stop.c: New.
9693
c6ebd6cf
VP
96942008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9695
a9c64011
AS
9696 * gdb.mi/mi-async.exp: Use 'set target-async'.
9697 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 9698
46a9b8ed
DJ
96992008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
9700
9701 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
9702
44feb3ce
TT
97032008-08-17 Tom Tromey <tromey@redhat.com>
9704
9705 * gdb.base/help.exp (help catch): Rewrite.
9706
311a4e6b
TJB
97072008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9708
9709 * gdb.base/define.exp: Test indented command documentation.
9710 * gdb.python/python.exp: Test indented multi-line command.
9711
604c2f83
LM
97122008-08-15 Luis Machado <luisgpm@br.ibm.com>
9713
9714 * testsuite/gdb.arch/vsx-regs.c: New source file.
9715 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
9716 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
9717
886a217c
TT
97182008-08-14 Tom Tromey <tromey@redhat.com>
9719
9720 * gdb.base/macscp.exp: Add regression test for "macro define" or
9721 "macro undef" with no arguments.
9722
c814a4f3
PP
97232008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9724
9725 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 9726
12ab8a60
UW
97272008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9728
9729 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
9730
d57a3c85
TJB
97312008-08-06 Tom Tromey <tromey@redhat.com>
9732
9733 * gdb.python/python.exp: New file.
9734
c7b778ff
JK
97352008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9736
9737 Fix for PR gdb/1543.
9738 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
9739 $LOCATION.
9740 (location): New variable.
9741 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
9742 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
9743 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
9744 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
9745 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
9746 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
9747 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
9748 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
9749 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
9750 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
9751 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
9752 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
9753 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
9754 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
9755 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
9756 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
9757 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
9758 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
9759 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
9760 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
9761 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
9762 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
9763 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
9764 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
9765 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
9766 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
9767 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
9768 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
9769 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
9770 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
9771 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
9772 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
9773 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
9774 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
9775 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
9776 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
9777 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
9778 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
9779 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
9780 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
9781 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
9782 gdb.base/type-opaque.exp, gdb.base/until.exp,
9783 gdb.base/value-double-free.c, gdb.base/varargs.exp,
9784 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
9785 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
9786 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9787 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
9788 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
9789 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9790 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9791 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9792 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
9793 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
9794 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
9795 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
9796 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
9797 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
9798 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
9799 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
9800 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
9801 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
9802 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
9803 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9804 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
9805 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
9806 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
9807 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9808 gdb.pascal/types.exp, gdb.stabs/weird.exp,
9809 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
9810 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
9811 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
9812 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
9813 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
9814 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
9815 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9816 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9817 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9818 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9819 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9820 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
9821 lib/mi-support.exp, lib/trace-support.exp: Remove reference
9822 to bug-gdb@prep.ai.mit.edu .
9823
5e06a3d1
VP
98242008-07-31 Vladimir Prus <vladimir@codesourcery.com>
9825
9826 * lib/mi-support.exp (mi_load_shlibs): New.
9827 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
9828
9d81d21b
VP
98292008-07-30 Vladimir Prus <vladimir@codesourcery.com>
9830
9831 * lib/mi-support.exp (get_mi_thread_list)
9832 (check_mi_and_console_threads): New, moved from ...
9833 * gdb.mi/mi-pthread.exp: ...here.
9834 * gdb.mi/gdb669.exp (get_mi_thread_list)
9835 (check_mi_and_console_threads): Delete.
9836 * gdb.mi/mi2-pthread.exp: Likewise.
9837
bae98fe0
TT
98382008-07-28 Tom Tromey <tromey@redhat.com>
9839
9840 * Makefile.in (just-check): Remove. Move body to...
9841 (check): ... here.
9842
57380f4e
DJ
98432008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9844
9845 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
9846 Add a test for duplicated SIGINTs.
9847
e09490f1
DJ
98482008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9849
9850 * gdb.threads/schedlock.exp (get_args): Update to work for any
9851 value of NUM.
9852 (Top level): Report the number of threads that did not resume.
9853
6387b45f
DJ
98542008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9855
9856 * gdb.dwarf2/dw2-compressed.S: Also define __start.
9857
62f64ff2
DJ
98582008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9859
9860 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
9861 non-MI prompt.
9862
fa8de41e
TT
98632008-07-26 Tom Tromey <tromey@redhat.com>
9864
9865 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
9866 (function_struct, function_struct_ptr): New globals.
9867 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
9868 function pointer in a struct.
9869
ccb3ac8a
TT
98702008-07-26 Tom Tromey <tromey@redhat.com>
9871
9872 * gdb.base/macscp.exp: Add test for macro lexing bug.
9873
d7d9f01e
TT
98742008-07-18 Tom Tromey <tromey@redhat.com>
9875
9876 * gdb.base/macscp.exp: Add macro tests.
9877
9bf07184
PP
98782008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9879
9880 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
9881
becf6477
PP
98822008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9883
9884 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
9885
0709f7d3
PP
98862008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
9887
9888 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 9889
7093c834
PP
98902008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9891
9892 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 9893
b432ffe3
JK
98942008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9895
9896 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
9897
b1a268e5
VP
98982008-07-12 Vladimir Prus <vladimir@codesourcery.com>
9899
9900 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
9901
e2995f8e
KB
99022008-07-11 Kevin Buettner <kevinb@redhat.com>
9903
9904 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
9905 of regexp to account for changes made to GDB in the printing of
9906 byte vectors.
9907
14032a66
TT
99082008-07-11 Tom Tromey <tromey@redhat.com>
9909
9910 * gdb.base/completion.exp: Add 'help' completion test.
9911
981505ef
JK
99122008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9913
9914 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
9915
10568435
JK
99162008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9917
9918 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
9919
4487aabf
PA
99202008-07-09 Pedro Alves <pedro@codesourcery.com>
9921
9922 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
9923
a4a9b1c4
PA
99242008-07-09 Pedro Alves <pedro@codesourcery.com>
9925
9926 * gdb.base/fullname.exp: Restore pwd if compiling failed.
9927
3c3185ac
JK
99282008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9929
9930 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
9931
7ebd49dc
VP
99322008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9933
9934 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
9935 previous commit. Add a comment.
9936
84e46146
PA
99372008-06-28 Pedro Alves <pedro@codesourcery.com>
9938
9939 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
9940
0f8d4a2f
VP
99412008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9942
9943 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
9944
f747e0ce
PA
99452008-06-27 Pedro Alves <pedro@codesourcery.com>
9946
9947 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
9948 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
9949 compiling an executable, link in an object that forces unbuffered
9950 output.
9951 * lib/set_unbuffered_mode.c: New file.
9952
734a5c36
JK
99532008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9954
9955 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
9956
a2840c35
VP
99572008-06-25 Vladimir Prus <vladimir@codesourcery.com>
9958
a9c64011
AS
9959 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
9960 mi_expect_stop.
9961 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
9962 Demand that *running is output.
9963 (detect_async): Perform checking every time.
9964 (mi_send_resuming_command): Extract everything into...
9965 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
9966 (mi_expect_stop): Don't accept any output before *stopped.
9967
6ae37fef
VP
99682008-06-13 Vladimir Prus <vladimir@codesourcery.com>
9969
9970 Robustify mi-simplerun.
a9c64011
AS
9971 * gdb.mi/basics.c (main): Add a call to sleep.
9972 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
9973 * gdb.mi/mi2-cli.exp: Likewise.
9974 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 9975
b4aa76f0 99762008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
9977
9978 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
9979
e1ac3328
VP
99802008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9981
a9c64011
AS
9982 * gdb.mi/mi-console.exp: Adjust.
9983 * gdb.mi/mi-syn-frame.exp: Adjust.
9984 * gdb.mi/mi2-console.exp: Adjust.
9985 * gdb.mi/mi2-syn-frame.exp: Adjust.
9986 * lib/mi-support.exp (mi_run_cmd): Adjust.
9987 (mi_send_resuming_command): Adjust.
e1ac3328 9988
f7f9a841
VP
99892008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9990
9991 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
9992 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
9993 testing of stopped.
9994 * gdb.mi/mi2-syn-frame.exp: Likewise.
9995 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
9996 (async, detect_async): New.
9997 (mi_expect_stop, mi_continue_to_line): Adjust expectation
9998 depending on if we're running in sync or async mode.
f7f9a841 9999
37cd5d19
TT
100002008-06-09 Tom Tromey <tromey@redhat.com>
10001
10002 * gdb.base/completion.exp: New tests for field name completion
10003 with spaces, and field name completion with '->'.
10004
65d12d83
TT
100052008-06-06 Tom Tromey <tromey@redhat.com>
10006
10007 * gdb.base/break1.c (struct some_struct): New struct.
10008 (values): New global.
10009 * gdb.base/completion.exp: Add field name completion test.
10010
ebfe2e3f
PP
100112008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10012
10013 * gdb.cp/call-c.exp: Test for incorrect handling of reference
10014 to pointer.
10015 * gdb.cp/call-c.cc: Likewise.
10016
bcf6fc3a
NR
100172008-06-06 Nick Roberts <nickrob@snap.net.nz>
10018
10019 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
10020 annotation.
10021
49fd4a42 100222008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 10023 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
10024
10025 * gdb.threads/execl.c, gdb.threads/execl1.c,
10026 gdb.threads/execl.exp: New tests.
a9c64011 10027
8a34ac3f
AR
100282008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
10029 Daniel Jacobowitz <dan@codesourcery.com>
10030
10031 * gdb.cp/exception.exp: Activate test, make it work with pending
10032 catchpoints.
10033
86ae69ef
JK
100342008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10035
10036 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
10037
f7f9ae2c
VP
100382008-05-28 Vladimir Prus <vladimir@codesourcery.com>
10039
a9c64011
AS
10040 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
10041 now printed.
10042 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 10043
2a2d4dc3
AS
100442008-05-27 Andreas Schwab <schwab@suse.de>
10045
10046 * gdb.base/frame-args.exp: Handle arguments that are optimized
10047 out.
10048
5099e4d9
LM
100492008-05-26 Luis Machado <luisgpm@br.ibm.com>
10050
10051 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
10052 quiet for ppc32 and group options into a single variable.
10053
d9c36a91
JB
100542008-05-23 Joel Brobecker <brobecker@adacore.com>
10055
10056 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
10057 of zero-size elements.
10058 * gdb.ada/null_array.exp: Test printing this new array.
10059
103a8671
JK
100602008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10061
10062 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
10063
07a4cc1a 100642008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
10065
10066 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
10067 of the "finish" command.
10068
55f996a7
NR
100692008-05-21 Nick Roberts <nickrob@snap.net.nz>
10070
10071 * gdb.base/annota1.exp: Test for new annotation.
10072
907fc202
UW
100732008-05-16 Pedro Alves <pedro@codesourcery.com>
10074
10075 * gdb.base/fixsection.exp: New file.
10076 * gdb.base/fixsection0.c: New file.
10077 * gdb.base/fixsection1.c: New file.
10078
e8f97270
UW
100792008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10080
10081 * gdb.base/annota1.exp: Accept printf@... in place of printf.
10082 * gdb.base/annota3.exp: Likewise.
10083
ac0bb574
NF
100842008-05-13 Nathan Froyd <froydnj@codesourcery.com>
10085
10086 * gdb.base/watch_thread_num.exp: Don't run tests that require
10087 watchpoints if the target doesn't support them.
10088
6fadd07a
DE
100892008-05-12 Doug Evans <dje@google.com>
10090
10091 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
10092
6e9a4a30
JB
100932008-05-09 Joel Brobecker <brobecker@adacore.com>
10094
10095 * gdb.ada/assign_1.exp: New testcase.
10096
08388c79
DE
100972008-05-09 Doug Evans <dje@google.com>
10098
a3c83fae
DE
10099 * gdb.base/find.exp: New file.
10100 * gdb.base/find.c: New file.
08388c79 10101
bd5ddfe8
DJ
101022008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
10103
10104 * gdb.base/commands.exp (watchpoint_command_test): Handle
10105 gdb,no_hardware_watchpoints.
10106 * gdb.base/float.exp: Allow ARM targets without floating point.
10107 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
10108
b5dd68e2 101092008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 10110 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
10111
10112 * gdb.ada/lang_switch: New test program.
10113 * gdb.ada/lang_switch.exp: New testcase.
10114
382d13d1
DE
101152008-05-05 Doug Evans <dje@google.com>
10116
10117 * gdb.base/help.exp (disassemble): Update expected help text.
10118
9dd789d0
PA
101192008-05-04 Pedro Alves <pedro@codesourcery.com>
10120
10121 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
10122
611c83ae
PA
101232008-05-04 Pedro Alves <pedro@codesourcery.com>
10124
10125 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
10126 different times.
10127
ff013f42
JK
101282008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10129
10130 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
10131 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
10132 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
10133 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
10134
96dff6a2
VP
101352008-05-04 Vladimir Prus <vladimir@codesourcery.com>
10136
10137 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
10138 notification to appear.
10139
55cd6f92
DJ
101402008-05-04 Daniel Jacobowitz <dan@debian.org>
10141
10142 * gdb.base/fullname.c: New file.
10143 * gdb.base/fullname.exp: New file.
10144 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
10145
d705c43c
PA
101462008-05-03 Pedro Alves <pedro@codesourcery.com>
10147
10148 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
10149 expressions with macros.
10150
333222e1
JK
101512008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10152
10153 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
10154
5ac01682
DJ
101552008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
10156
10157 * gdb.base/completion.exp: Handle lack of other symbols beginning
10158 with "a".
10159
10160 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
10161
237fc4c9
PA
101622008-05-02 Jim Blandy <jimb@codesourcery.com>
10163
10164 * gdb.asm/asmsrc1.s: Add scratch space.
10165
ed5e9466
DJ
101662008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10167 Daniel Jacobowitz <dan@codesourcery.com>
10168
10169 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
10170 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
10171 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
10172
b39cc962
DJ
101732007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
10174
10175 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
10176
36d520f5
JB
101772008-05-01 Joel Brobecker <brobecker@adacore.com>
10178
10179 * gdb.base/info-target.exp: New testcase.
10180
8d4e3071
DJ
101812008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10182
10183 * gdb.cp/hang.exp: Use .cc instead of .C.
10184 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
10185 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
10186
6f3f3097
DJ
101872008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10188
10189 * gdb.base/gdb1250.exp: Remove perror.
10190 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
10191
5550a914
PA
101922008-04-30 Pedro Alves <pedro@codesourcery.com>
10193
10194 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
10195 .2byte.
10196
d848e687
DJ
101972008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
10198
10199 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
10200 (maybe_kfail): New.
10201
93b5768b
PA
102022008-04-25 Pedro Alves <pedro@codesourcery.com>
10203
10204 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
10205
721c02de
VP
102062008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10207
a9c64011
AS
10208 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
10209 * gdb.mi/mi2-syn-frame.exp: Likewise.
10210 * lib/mi-support.exp: Likewise.
721c02de 10211
74960c60
VP
102122008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10213
10214 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
10215 to specify regexp for the location to stop at.
10216 * gdb.base/break-always.c: New.
10217 * gdb.base/break-always.exp: New.
10218
d24317b4
VP
102192008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10220
10221 * lib/mi-support.exp (mi_runto_helper): Adjust
10222 for the original-location field.
10223 (mi_create_breakpoint, mi_list_breakpoints): New.
10224 * gdb.mi/mi-break.exp: Adjust.
10225 * gdb.mi/mi2-break.exp: Adjust.
10226 * gdb.mi/mi-pending.exp: Adjust.
10227 * gdb.mi/mi-simplerun.exp: Adjust.
10228 * gdb.mi/mi2-simplerun.exp: Adjust.
10229 * gdb.mi/mi-syn-frame.exp: Adjust.
10230 * gdb.mi/mi2-syn-frame.exp: Adjust.
10231 * gdb.mi/mi-until.exp: Adjust.
10232 * gdb.mi/mi2-until.exp: Adjust.
10233 * gdb.mi/mi-var-display.exp: Adjust.
10234 * gdb.mi/mi2-var-display.exp: Adjust.
10235 * gdb.mi/mi-watch.exp: Adjust.
10236 * gdb.mi/mi2-watch.exp: Adjust.
10237
fdc59709 102382008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 10239
a9c64011
AS
10240 * aclocal.m4: Add override.m4.
10241 * configure: Regenerate.
fdc59709 10242
8e91f023
VP
102432008-04-19 Vladimir Prus <vladimir@codesourcery.com>
10244
10245 * gdb.mi/var-cmd.c (do_at_tests): Verify that
10246 '-var-update --all-values' reports new value even the type
10247 of a variable object has changed.
10248
233a11ab
CS
102492008-04-18 Craig Silverstein <csilvers@google.com>
10250
10251 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
10252 files.
d24317b4 10253
9c1137ad
JB
102542008-04-18 Joel Brobecker <brobecker@adacore.com>
10255
10256 * gdb.ada/atomic_enum: New test program.
10257 * gdb.ada/atomic_enum.exp: New testcase.
10258
66d0bbc7
DE
102592008-04-17 Doug Evans <dje@google.com>
10260
10261 * gdb.opt/Makefile.in: Fix whitespace.
10262
100906b0
UW
102632008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
10264
10265 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
10266
4584e32e
DE
102672008-04-17 Doug Evans <dje@google.com>
10268
10269 * gdb.base/hashline1.exp: New testcase.
10270 * gdb.base/hashline2.exp: New testcase.
10271 * gdb.base/hashline2.exp: New testcase.
10272
0a320680
PA
102732008-04-17 Pedro Alves <pedro@codesourcery.com>
10274
10275 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
10276
18ac113b
AR
102772008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
10278
10279 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
10280 temporary breakpoint to match "Temporary breakpoint".
10281 * gdb.base/break.exp (delete_breakpoints): Likewise.
10282 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
10283 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
10284 * gdb.base/display.exp: Likewise.
10285 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
10286 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
10287 * gdb.base/restore.exp (restore_tests): Likewise.
10288 * gdb.base/sepdebug.exp: Likewise.
10289 * gdb.base/watchpoint.exp: Likewise.
10290 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
10291 * gdb.mi/mi-pending.exp: Likewise.
10292 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
10293 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
10294 * gdb.mi/mi-var-cmd.exp: Likewise.
10295 * gdb.mi/mi-var-display.exp: Likewise.
10296 * gdb.mi/mi2-cli.exp: Likewise.
10297 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
10298 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
10299 * gdb.mi/mi2-var-display.exp: Likewise.
10300 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
10301 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
10302 new "disp" field.
a9c64011 10303 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
10304 reason. This is to support fix for PR2424.
10305
add38693
JK
103062008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10307
10308 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
10309
fcacd99f
VP
103102008-04-13 Vladimir Prus <vladimir@codesourcery.com>
10311
10312 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 10313 field. Add more floating varobj tests.
fcacd99f 10314 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
10315 field.
10316 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
10317 (main): Call do_at_tests.
10318 * lib/mi-support.exp (mi_create_floating_varobj)
10319 (mi_varobj_update_with_type_change): New.
fcacd99f 10320
de051565
MK
103212008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
10322
10323 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
10324 option of -var-evaluate-expression.
10325 * gdb.mi/mi2-var-display.exp: Likewise.
10326
dbc52822
VP
103272008-04-07 Vladimir Prus <vladimir@codesourcery.com>
10328
10329 Introduce test setup helpers.
a9c64011
AS
10330 * lib/gdb.exp (build_executable, clean_restart)
10331 (prepare_for_testing): New.
10332 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
10333 * gdb.base/return.exp: Likewise.
10334 * gdb.base/ending-run.exp: Likewise.
dbc52822 10335
473591da
NR
103362008-04-07 Nick Roberts <nickrob@snap.net.nz>
10337
10338 * gdb.mi/mi-async.exp: New test for asynchronous Machine
10339 Interface (MI) responses.
10340
2b2d9e11
VP
103412008-04-06 Vladimir Prus <vladimir@codesourcery.com>
10342
a9c64011
AS
10343 * gdb.cp/breakpoint.cc: New code to test conditions involving
10344 member variables.
10345 * gdb.cp/breakpoint.exp: Test condition involving member
10346 variables.
2b2d9e11 10347
bb378428
VP
103482008-04-05 Vladimir Prus <vladimir@codesourcery.com>
10349
10350 * lib/mi-support.exp (mi_expect_stop): New.
10351 (mi_run_cmd): Change the
10352 token. Use mi_send_resuming_command, use
10353 mi_expect_stop.
10354 (mi_execute_to_helper): Rename to mi_execute_to.
10355 (mi_send_resuming_command): Add more error patterns.
10356 (mi_wait_for_stop): Renamed to...
10357 (mi_get_stop_line): ...this.
10358 (mi_run_inline_test): Adjust.
10359
10360 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
10361 * gdb.mi/mi-console.exp: Likewise.
10362 * gdb.mi/mi-pending.exp: Likewise.
10363 * gdb.mi/mi-simplerun.exp: Likewise.
10364 * gdb.mi/mi-stack.exp: Likewise.
10365 * gdb.mi/mi-stepi.exp: Likewise.
10366 * gdb.mi/mi-syn-frame.exp: Add comment.
10367 * gdb.mi/mi-until.exp: Likewise.
10368 * gdb.mi/mi-var-display.exp: Likewise.
10369 * gdb.mi/mi-watch.exp: Likewise.
10370 * gdb.mi/mi2-cli.exp: Likewise.
10371 * gdb.mi/mi2-console.exp: Likewise.
10372 * gdb.mi/mi2-simplerun.exp: Likewise.
10373 * gdb.mi/mi2-stack.exp: Likewise.
10374 * gdb.mi/mi2-stepi.exp: Likewise.
10375 * gdb.mi/mi2-until.exp: Likewise.
10376 * gdb.mi/mi2-var-display.exp: Likewise.
10377 * gdb.mi/mi2-watch.exp: Likewise.
10378
62172bb9
UW
103792008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10380
10381 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
10382
10383 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
10384
a13e061a
PA
103852008-04-04 Pedro Alves <pedro@codesourcery.com>
10386
10387 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
10388 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
10389 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10390 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
10391 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
10392 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
10393 expect an mi error duplicated in stderr.
10394
eae06beb
JB
103952008-04-03 Joel Brobecker <brobecker@adacore.com>
10396
10397 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
10398 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
10399 Add a couple of tests that verify the behavior when the new setting
10400 is set to "cancel" and "all".
10401 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
10402 "ask" before we start the testing.
10403
79c6ced6
AR
104042008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
10405
10406 * gdb.cp/casts.cc: Add class reference variables.
10407 * gdb.cp/casts.exp: New test cases for up/down casting references.
10408
6c2d1a6b
MK
104092008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
10410
10411 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
10412 instead of beginning to make an extra test pass.
10413 * gdb.mi/mi2-var-display.exp: Likewise.
10414
55b411d9
MR
104152008-03-31 Maciej W. Rozycki <macro@mips.com>
10416
10417 * gdb.base/break.exp: Mark failures as such. Fix formatting.
10418
c6140da2
MD
104192008-03-31 Markus Deuling <deuling@de.ibm.com>
10420 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10421
10422 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
10423 value. Add xfail for older kernels.
10424
79732189
AR
104252008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
10426
10427 Bring mi-support in line with gdb.exp.
10428 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
10429 (mi_gdb_start): New function.
10430
33c3676e
MR
104312008-03-28 Maciej W. Rozycki <macro@mips.com>
10432
10433 * gdb.mi/mi-var-cmd.exp: Fix a typo.
10434
92e28119
VP
104352008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10436
10437 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
10438 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 10439
9e8e3afe
VP
104402008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10441
10442 * lib/mi-support.exp (mi_create_varobj_checked): New.
10443 (mi_list_varobj_children): Allow to check for a
10444 value.
10445 (mi_list_array_varobj_children): New.
10446
10447 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
10448 and mi_list_varobj_children, as opposed to hardcoding
10449 expected strings.
10450 * gdb.mi/gdb701.exp: Likewise.
10451 * gdb.mi/gdb792.exp: Likewise.
10452 * gdb.mi/mi-var-block.exp: Likewise.
10453 * gdb.mi/mi-var-cmd.exp: Likewise.
10454 * gdb.mi/mi-var-invalidate.exp: Likewise.
10455 * gdb.mi/mi2-var-block.exp: Likewise.
10456 * gdb.mi/mi2-var-child.exp: Likewise.
10457 * gdb.mi/mi2-var-cmd.exp: Likewise.
10458 * gdb.mi/mi2-var-display.exp: Likewise.
10459
9df50351
JK
104602008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10461
10462 Fix random false FAILs on i386.
10463 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
10464
31e5d73a
DJ
104652008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10466
10467 PR gdb/544
10468 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
10469
12f4afab
DJ
104702008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10471
10472 PR gdb/544
10473 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
10474
b562a0cb
DJ
104752008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10476
10477 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
10478 fixed PR gdb/544.
10479
17faa917
DJ
104802008-03-21 Pedro Alves <pedro@codesourcery.com>
10481
10482 * gdb.threads/fork-child-threads.exp: Test next over fork.
10483
6214f497
DJ
104842008-03-21 Chris Demetriou <cgd@google.com>
10485
10486 * gdb.base/break.exp (rbreak junk): New test for rbreak
10487 "Junk at end of arguments" issue.
10488
63092375
DJ
104892008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10490
10491 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
10492 *& to work on created array elements.
10493 (Top level): Test print $pc with a file. Test string operations
10494 without a target.
10495 * gdb.base/ptype.exp: Do not expect *& to work on created array
10496 elements.
10497
b21991b0
DJ
104982008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10499
10500 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10501 gdb.threads/staticthreads.exp: Update exit query.
10502
c4b347c7
SL
105032008-03-07 Sandra Loosemore <sandra@codesourcery.com>
10504
10505 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
10506
fa4727a6
DJ
105072008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
10508
10509 * gdb.base/watchpoint.c (global_ptr, func4): New.
10510 (main): Call func4.
10511 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
10512 (test_inaccessible_watchpoint): New.
10513
2f34202f
MR
105142008-02-29 Maciej W. Rozycki <macro@mips.com>
10515
10516 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
10517 select the largest.
10518
0d6ba1b1
DJ
105192008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
10520
10521 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
10522 frames-invalid annotations.
10523
e691325a
PM
105242008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
10525
a9c64011 10526 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 10527
f85b5ecc
DE
105282008-02-27 Doug Evans <dje@google.com>
10529
10530 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
10531 for bug 1738.
10532 (breakpoint_to_handler_entry): Ditto.
10533
b40e7bf3
JB
105342008-02-27 Joel Brobecker <brobecker@adacore.com>
10535
10536 * gdb.base/ending-run.exp: Use the first line of code inside
10537 function body to test breakpoints.
10538 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
10539 location where the breakpoint is inserted when using the line
10540 where a function is declared. Fix typo in the description of
10541 one of the tests.
10542 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
10543
2faca73a
PM
105442008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10545
10546 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 10547 tests.
2faca73a 10548
6f439c36
PM
105492008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10550
10551 * gdb.base/args.exp: avoid same output for tests
10552 with single quotes.
10553
54e52265
VP
105542008-02-26 Vladimir Prus <vladimir@codesourcery.com>
10555
a9c64011
AS
10556 * gdb.base/annota1.exp: Adjust for 'info break'
10557 format changes.
10558 * gdb.base/annota3.exp: Likewise.
10559 * gdb.base/break.exp: Likewise.
10560 * gdb.base/condbreak.exp: Likewise.
10561 * gdb.base/pending.exp: Likewise.
10562 * gdb.base/sepdebug.exp: Likewise.
10563 * gdb.base/unload.exp: Likewise.
10564 * gdb.cp/ovldbreak.exp: Likewise.
10565 * gdb.mi/mi-pending.exp: Likewise.
54e52265 10566
897b09ca
DE
105672008-02-07 Doug Evans <dje@google.com>
10568
10569 * gdb.cp/mb-inline.exp: New.
10570 * gdb.cp/mb-inline.h: New.
10571 * gdb.cp/mb-inline1.cc: New.
10572 * gdb.cp/mb-inline2.cc: New.
10573
b1c32d35
PM
105742008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
10575
10576 * gdb.pascal/floats.pas: New test program.
10577 * gdb.pascal/floats.exp: New testcase.
10578
1a4ca44a
TJB
105792008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
10580
10581 * gdb.base/callfuncs.c (t_float_many_args): New function.
10582 (t_double_many_args): New function.
10583 * gdb.base/callfuncs.exp: Add tests for exceeding float
10584 and double parameters passed through the stack.
10585
439048e8
JB
105862008-02-05 Joel Brobecker <brobecker@adacore.com>
10587
10588 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
10589 gdb.ada/complete/foo.adb: New files.
10590 * gdb.ada/complete.exp: New testcase.
10591
81fe8080
DE
105922008-02-03 Doug Evans <dje@google.com>
10593
301f0ecf
DE
10594 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
10595
81fe8080
DE
10596 * gdb.cp/gdb2384.exp: New file.
10597 * gdb.cp/gdb2384.cc: New file.
10598 * gdb.cp/gdb2384-base.h: New file.
10599 * gdb.cp/gdb2384-base.cc: New file.
10600
4b071aec
DE
106012008-02-02 Doug Evans <dje@google.com>
10602
10603 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
10604
61137ba6
JB
106052007-02-01 Joel Brobecker <brobecker@adacore.com>
10606
10607 * gdb.ada/sym_print_name: New test program.
10608 * gdb.ada/sym_print_name.exp: New testcase.
10609
106102007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
10611
10612 * gdb.ada/nested/hello.adb: New file.
10613 * gdb.ada/nested.exp: New testcase.
10614 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10615
98deb0da
VP
106162008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10617
10618 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
10619 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
10620 don't cause future evaluations of function to report
10621 creation of internal breakpoints.
98deb0da 10622
723a2275
VP
106232008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10624
10625 * gdb.mi/mi-break.exp (test_error): New.
10626 Call it.
10627
fb546a2f
LM
106282008-01-31 Luis Machado <luisgpm@br.ibm.com>
10629
10630 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
10631 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
10632
2d8fd90a
PM
106332008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10634
10635 * gdb.pascal/integers.pas: New test program.
10636 * gdb.pascal/integers.exp: New testcase.
10637
a7fa0ded
PM
106382008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10639
10640 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
10641
5e1a1926
TJB
106422008-01-30 Luis Machado <luisgpm@br.ibm.com>
10643
10644 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
10645 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
10646
8d04f9f0
JB
106472008-01-30 Paul Hilfinger <hilfinger@adacore.com>
10648
10649 * gdb.ada/formatted_ref: New test program.
10650 * gdb.ada/formatted_ref.exp: New testcase.
10651
10652 * gdb.cp/formatted-ref.cc: New file.
10653 * gdb.cp/formatted-ref.exp: New testcase.
10654
ce75a98f
JB
106552008-01-30 Joel Brobecker <brobecker@adacore.com>
10656
10657 * gdb.base/ptype.exp: Add testing of "ptype $pc".
10658
e835f6bf
NR
106592008-01-30 Nick Roberts <nickrob@snap.net.nz>
10660
10661 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
10662 (test_file_list_exec_source_file): Update to new macro-info field.
10663
d118ef87
PH
106642008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
10665
10666 * gdb.ada/exprs: New test program.
10667 * gdb.ada/exprs.exp: New testcase.
10668
7d35ab09
TJB
106692008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
10670
10671 * dfp-test.c (DELTA, DELTA_B): New definitions.
10672 (double_val1, double_val2, double_val3, double_val4, double_val5,
10673 double_val6, double_val7, double_val8, double_val9, double_val10,
10674 double_val11, double_val12, double_val13, double_val14, dec32_val1,
10675 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
10676 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
10677 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
10678 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
10679 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
10680 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
10681 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
10682 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
10683 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
10684 dec128_val16): New global variables.
10685 (decimal_dec128_align): New function.
10686 (decimal_mixed): Likewise.
10687 (decimal_many_args_dec32): Likewise.
10688 (decimal_many_args_dec64): Likewise.
10689 (decimal_many_args_dec128): Likewise.
10690 (decimal_many_args_mixed): Likewise.
10691 * dfp-test.exp: Add tests calling new inferior functions.
10692
2d717e4f
DJ
106932008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10694
10695 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
10696 gdb.server/ext-run.exp: New files.
10697 * lib/gdbserver-support.exp (gdbserver_download): New.
10698 (gdbserver_start): New. Update gdbserver expected
10699 output.
10700 (gdbserver_spawn): Use them.
10701 (gdbserver_start_extended): New.
10702
e85a822c
DJ
107032008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10704
10705 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
10706 Run on GNU/Linux.
10707 (do_exec_tests): Check for systems which do not support catchpoints.
10708 Do not match START.
10709 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
10710 Run on GNU/Linux. Enable verbose output.
10711 (check_fork_catchpoints): New.
10712 (explicit_fork_child_follow, catch_fork_child_follow)
10713 (tcatch_fork_parent_follow): Update expected messages.
10714 (do_fork_tests): Use check_fork_catchpoints.
10715 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
10716 Run on GNU/Linux. Enable verbose output.
10717 (check_vfork_catchpoints): New.
10718 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
10719 expected messages.
10720 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
10721
401ea829
JB
107222008-01-29 Jim Blandy <jimb@red-bean.com>
10723
10724 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
10725 host' errors.
10726 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
10727
aceaf3ad
JB
107282008-01-29 Jim Blandy <jimb@red-bean.com>
10729
10730 * gdb.threads/sigthread.c: Use barriers to ensure that
10731 child_thread and child_thread_two are always initialized before we
10732 start to use them.
10733
a5606eee
VP
107342008-01-29 Vladimir Prus <vladimir@codesourcery.com>
10735
10736 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
10737 * gdb.base/watchpoint-solib.c: New.
10738 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 10739
c55a82bb
PM
107402008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
10741
10742 * gdb.base/gdb1056.exp: Add unsigned integer test.
10743
0993fe05
DE
107442008-01-28 Doug Evans <dje@google.com>
10745
10746 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
10747
4fe42e7f
JB
107482008-01-27 Jim Blandy <jimb@codesourcery.com>
10749
c7a69933
JB
10750 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
10751
4fe42e7f
JB
10752 * gdb.base/expand-psymtabs.exp: Doc fix.
10753
5def8285
MK
107542008-01-26 Mark Kettenis <kettenis@gnu.org>
10755
10756 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10757
5313c911
NR
107582008-01-24 Nick Roberts <nickrob@snap.net.nz>
10759
a9c64011 10760 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
10761 -var-set-format.
10762
93815fbf
VP
107632008-01-23 Chris Demetriou <cgd@google.com>
10764
10765 * gdb.threads/thread_events.c: New testcase source file.
10766 * gdb.threads/thread_events.exp: New testcase expect file.
10767
467a88ee
NR
107682008-01-23 Nick Roberts <nickrob@snap.net.nz>
10769
10770 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
10771
10772 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
10773 -var-set-format.
10774
d8f82aba
DJ
107752008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10776 Vladimir Prus <vladimir@codesourcery.com>
10777
10778 * gdb.base/float.exp: Allow missing floating point for m68k and
10779 PowerPC.
10780
60c46647
VP
107812008-01-22 Vladimir Prus <vladimir@codesourcery.com>
10782
10783 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
10784 ignore count.
10785 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
10786 * gdb.mi/mi-cli.exp: Adjust.
10787 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 10788
c7dd36a1
PA
107892008-01-17 Pedro Alves <pedro@codesourcery.com>
10790
10791 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
10792 and 'dummy_ptr' integer pointer. Initialize struct_declarations
10793 with dummy_ptr's address.
10794 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
10795 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
10796 all targets.
10797 * gdb.mi/mi2-var-child.exp: Likewise.
10798
39d5313e
JB
107992008-01-09 Joel Brobecker <brobecker@adacore.com>
10800
10801 * gdb.ada/null_array: New test program.
10802 * gdb.ada/null_array.exp: New testcase.
10803
0aea4bf3
LM
108042008-01-09 Luis Machado <luisgpm@br.ibm.com>
10805
10806 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
10807 with required float modifiers.
10808
0b354900
JB
108092008-01-08 Joel Brobecker <brobecker@adacore.com>
10810
10811 * gdb.ada/funcall_param: New test program.
10812 * gdb.ada/funcall_param.exp: New testcase.
10813
cdb7f5d4
JB
108142008-01-08 Joel Brobecker <brobecker@adacore.com>
10815
10816 * gdb.ada/arrayparam: New test program.
10817 * gdb.ada/arrayparam.exp: New testcase.
10818
88e2547f
JB
108192008-01-08 Joel Brobecker <brobecker@adacore.com>
10820
10821 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
10822 landed. Should also fix random failures in the test following it.
10823
f6867ce0
TJB
108242008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
10825
10826 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
10827 for expressions with decimal float values.
10828 (test_dfp_conversions): New function to test casts to and from
10829 decimal float types.
10830 Call test_dfp_conversions.
10831 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
10832 elements.
10833 (main): Initialize ds.float4 and ds.double8 elements.
10834 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
10835 string to new error message.
10836 (d64_set_tests): Likewise.
10837 (d128_set_tests): Likewise.
10838 Add tests for expressions with decimal float variables. Add tests for
10839 conversions to and from decimal float types.
10840
f9c11282
JB
108412008-01-05 Joel Brobecker <brobecker@adacore.com>
10842
10843 * gdb.ada/packed_tagged/comp_bug.adb: New file.
10844 * gdb.ada/packed_tagged.exp: New testcase.
10845
0ecbca72
JB
108462008-01-04 Joel Brobecker <brobecker@adacore.com>
10847
10848 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
10849 gdb.ada/homonym/homonym_main.adb: New files.
10850 * gdb.ada/homonym.exp: New testcase.
10851
c18d3d89
JB
108522008-01-04 Joel Brobecker <brobecker@adacore.com>
10853
10854 * gdb.ada/packed_array.exp: Add testing of references to
10855 a packed array.
10856
ecc7085b
JB
108572008-01-04 Joel Brobecker <brobecker@adacore.com>
10858
10859 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
10860 New files.
10861 * gdb.ada/type_coercion.exp: New testcase.
10862
c474c922
JB
108632008-01-04 Joel Brobecker <brobecker@adacore.com>
10864
10865 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
10866 gdb.ada/tagged/foo.adb: New file.
10867 * gdb.ada/tagged.exp: New testcase.
10868
9005b927
JB
108692008-01-04 Joel Brobecker <brobecker@adacore.com>
10870
10871 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
10872 gdb.ada/ptype_field/foo.adb: New files.
10873 * gdb.ada/ptype_field.exp: New testcase.
10874
1a6aaad8
JB
108752008-01-03 Joel Brobecker <brobecker@adacore.com>
10876
10877 * gdb.ada/print_pc.exp: New testcase.
10878
0ef22f53
JB
108792008-01-03 Joel Brobecker <brobecker@adacore.com>
10880
10881 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
10882 gdb.ada/taft_type/p.adb: New files.
10883 * gdb.ada/taft_type.exp: New testcase.
10884
1689ecf8
JB
108852008-01-03 Joel Brobecker <brobecker@adacore.com>
10886
10887 * gdb.ada/array_bounds/bar.adb: New file.
10888 * gdb.ada/array_bounds.exp: New testcase.
10889
a4d0b9c3
JB
108902008-01-03 Joel Brobecker <brobecker@adacore.com>
10891
10892 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
10893 gdb.ada/arrayptr/foo.adb: New files.
10894 * gdb.ada/arrayptr.exp: New testcase.
10895
a31ace00
JB
108962008-01-03 Joel Brobecker <brobecker@adacore.com>
10897
10898 * gdb.base/set-lang-auto.exp: New testcase.
10899
a97fced3
JB
109002008-01-03 Joel Brobecker <brobecker@adacore.com>
10901
10902 * gdb.ada/fun_addr/foo.adb: New file.
10903 * gdb.ada/fun_addr.exp: New testcase.
10904
ef29ce1a
JK
109052008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10906
10907 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
10908 New files
10909
0fafefe3
JB
109102008-01-02 Joel Brobecker <brobecker@adacore.com>
10911
10912 * array_subscript_addr/p.adb: New file.
a9c64011 10913 * array_subscript_addr.exp: New testcase.
0fafefe3 10914
c4359f8d
JB
109152008-01-02 Joel Brobecker <brobecker@adacore.com>
10916
a9c64011 10917 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
10918 New files.
10919 * gdb.ada/str_cmp_ref.exp: New testcase.
10920
1aa1b15b
JB
109212008-01-01 Joel Brobecker <brobecker@adacore.com>
10922
10923 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
10924 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 10925 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 10926
81c9b2cf
JB
109272008-01-01 Joel Brobecker <brobecker@adacore.com>
10928
10929 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
10930 gdb.ada/ref_param/pck.ads: New files.
10931 * gdb.ada/ref_param.exp: New testcase.
10932
319e4674
JB
109332008-01-01 Joel Brobecker <brobecker@adacore.com>
10934
10935 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
10936 gdb.ada/interface/foo.adb: New files.
10937 * gdb.ada/interface.exp: New testcase.
10938
ef682c56
JB
109392007-12-31 Jim Blandy <jimb@codesourcery.com>
10940
10941 * gdb.base/multi-forks.exp: Consume all output from child
10942 processes before proceeding to next test.
10943
f6f3eb6c
JB
109442007-12-29 Jim Blandy <jimb@codesourcery.com>
10945
10946 * configure: Regenerated.
10947
f652e42f
JB
109482007-12-27 Joel Brobecker <brobecker@adacore.com>
10949
10950 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
10951 gdb.ada/fixed_cmp/fixed.adb: New files.
10952 * gdb.ada/fixed_cmp.exp: New testcase.
10953
6943e596
JB
109542007-12-27 Joel Brobecker <brobecker@adacore.com>
10955
10956 * gdb.ada/boolean_expr.exp: New testcase.
10957
aad9a193
JB
109582007-12-26 Jim Blandy <jimb@codesourcery.com>
10959
10960 * gdb.base/multi-forks.exp: Doc fix.
10961
fb5f3683
JB
109622007-12-26 Joel Brobecker <brobecker@adacore.com>
10963
10964 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10965 * gdb.ada/char_param.exp: Do not compile our test program with
10966 -gnata, this is unnecessary.
10967 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
10968
384e4a9c
JB
109692007-12-24 Joel Brobecker <brobecker@adacore.com>
10970
10971 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
10972 gdb.ada/print_chars/foo.adb: New files.
10973 * gdb.ada/print_chars.exp: New testcase.
10974
01e044f7
JB
109752007-12-24 Joel Brobecker <brobecker@adacore.com>
10976
10977 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
10978 gdb.ada/char_param/foo.adb: New files.
10979 * gdb.ada/char_param.exp: New testcase.
10980
0ce17860
JB
109812007-12-22 Jim Blandy <jimb@codesourcery.com>
10982
10983 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
10984 hard-coding source line numbers into the test.
10985 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
10986 gdb_get_line_number to find.
10987
919809b9
JB
109882007-12-22 Joel Brobecker <brobecker@adacore.com>
10989
10990 * gdb.base/ptype.c (highest): New struct type.
10991 (the_highest): New variable of that type.
10992 (main): Add dummy assignment to a field of variable the_highest.
10993 * gdb.base/ptype.exp: Test type printing of our new variable.
10994
abc8a88d
PM
109952007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
10996
10997 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 10998 and record first explicitly generated thread number.
abc8a88d
PM
10999 Use that thread number for thread specific watchpoint test.
11000 Add iteration number to repetitive tests.
11001
5158f3e3
CES
110022007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11003 Jim Blandy <jimb@codesourcery.com>
11004
11005 * gdb.base/expand-psymtabs.c: New testcase
11006 source file.
11007 * gdb.base/expand-psymtabs.exp: New testcase
11008 expect file.
11009
37e4754d
LM
110102007-12-17 Luis Machado <luisgpm@br.ibm.com>
11011
11012 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
11013 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
11014
551e5d04
JB
110152007-12-17 Joel Brobecker <brobecker@adacore.com>
11016
11017 * gdb.ada/frame_args/foo.adb: New file.
11018 * gdb.ada/frame_args/pck.ads: New file.
11019 * gdb.ada/frame_args/pck.adb: New file.
11020 * gdb.ada/frame_args.exp: New testcase.
11021
a05ee097
JB
110222007-12-17 Joel Brobecker <brobecker@adacore.com>
11023
11024 * gdb.base/frame-args.c: New file.
11025 * gdb.base/frame-args.exp: New testcase.
11026
c162e8c9 110272007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 11028 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
11029
11030 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
11031
afe8ab22 110322007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11033
afe8ab22
VP
11034 * gdb.mi/mi-pending.exp: New.
11035 * gdb.mi/mi-pending.c: New.
11036 * gdb.mi/mi-pendshr.c: New.
11037
dfdfb3ca
JB
110382007-12-06 Jim Blandy <jimb@codesourcery.com>
11039
11040 * gdb.base/default.exp: Update expected output for 'info catch'.
11041
b7fca990
JK
110422007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11043
11044 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
11045 must be set to binary.
11046
6a1afc1e
PA
110472007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
11048
11049 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
11050
a6b151f1
DJ
110512007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
11052
11053 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
11054 gdb.mi/mi-file-transfer.exp: New.
11055
43039443
JK
110562007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11057
11058 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
11059
0ef2251b
MR
110602007-11-22 Maciej W. Rozycki <macro@mips.com>
11061
11062 * gdb.trace/backtrace.exp: Fix a typo.
11063 * gdb.trace/circ.exp: Likewise.
11064 * gdb.trace/collection.exp: Likewise.
11065 * gdb.trace/limits.exp: Likewise.
11066 * gdb.trace/report.exp: Likewise.
11067 * gdb.trace/tfind.exp: Likewise.
11068 * gdb.trace/while-dyn.exp: Likewise.
11069
5443631e
NR
110702007-11-21 Nick Roberts <nickrob@snap.net.nz>
11071
11072 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
11073 objects of pointers that can't be dereferenced are now
11074 "noneditable".
11075
a4ce5b0d
UW
110762007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11077
11078 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
11079 (target_cpu): Remove.
11080
d6e956e5
VP
110812007-10-15 Vladimir Prus <vladimir@codesourcery.com>
11082
11083 * gdb.base/ending-run.exp: Expect the list of cleared
11084 breakpoint to come in natural order, not the reversed one.
a9c64011 11085
214270ab
VP
110862007-11-07 Vladimir Prus <vladimir@codesourcery.com>
11087
11088 * gdb.mi/mi-var-child.c (do_child_deletion): New.
11089 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 11090
1a619819
LM
110912007-11-05 Luis Machado <luisgpm@br.ibm.com>
11092
11093 * gdb.base/printcmds.exp: New function
11094 test_printf_with_dfp.
11095
5b01a6fa
DE
110962007-11-02 Doug Evans <dje@google.com>
11097
11098 * gdb.disasm/t01_mov.s: Remove carriage returns.
11099 * gdb.disasm/t02_mova.s: Ditto.
11100 * gdb.disasm/t03_add.s: Ditto.
11101 * gdb.disasm/t04_sub.s: Ditto.
11102 * gdb.disasm/t05_cmp.s: Ditto.
11103 * gdb.disasm/t06_ari2.s: Ditto.
11104 * gdb.disasm/t07_ari3.s: Ditto.
11105 * gdb.disasm/t08_or.s: Ditto.
11106 * gdb.disasm/t09_xor.s: Ditto.
11107 * gdb.disasm/t10_and.s: Ditto.
11108 * gdb.disasm/t11_logs.s: Ditto.
11109 * gdb.disasm/t12_bit.s: Ditto.
11110 * gdb.disasm/t13_otr.s: Ditto.
11111
ec33ab7f
JK
111122007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11113
11114 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
11115
ae0d01ff
UW
111162007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11117
11118 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
11119 provide DFP support.
11120
55eddb0f
DJ
111212007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
11122
11123 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
11124 Test "set powerpc vector-abi". Skip auto-detection tests for old
11125 toolchains.
11126
7020f05c
PA
111272007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11128
11129 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
11130 with [string compare].
11131
84bc3db9
PA
111322007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11133
11134 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
11135 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
11136
5876dc88
LM
111372007-10-25 Luis Machado <luisgpm@br.ibm.com>
11138
11139 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
11140 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
11141 * gdb.opt/Makefile.in: New makefile.
11142 * Makefile.in: Create new directory "gdb.opt".
11143 * configure.ac: Add "gdb.opt" directory.
11144 * configure: Regenerated.
a9c64011 11145
c3ea9a14
DE
111462007-10-25 Doug Evans <dje@google.com>
11147
11148 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
11149 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
11150
a9c64011 111512007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
11152 Thiago Jung Bauermann <bauerman@br.ibm.com>
11153
11154 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
11155 Floating Point expressions.
11156 * gdb.base/dfp-test.exp: new file adding tests for Decimal
11157 Floating Point variables.
11158 * gdb.base/dfp-test.c: new file containing program with Decimal
11159 Floating variables, used by gdb.base/dfp-test.exp.
11160
62a24a2b
DJ
111612007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
11162
11163 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
11164
e7b1eae6
UW
111652007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11166
11167 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
11168 compiling test case with GCC.
11169 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
11170
c641edcc
UW
111712007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11172
11173 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11174 format changes.
11175
5e5ebfe6
MS
111762007-10-18 Michael Snyder <msnyder@specifix.com>
11177
11178 * gdb.base/dbx.exp: Add missing "-re " operator.
11179
e831e7b6
GM
111802007-10-16 Gaius Mulley <gaius@glam.ac.uk>
11181
11182 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
11183 * configure.ac: Removed trailing spaces after backslash.
11184 * gdb.modula2: New directory.
11185 * gdb.modula2/Makefile.in: New file.
11186 * gdb.modula2/unbounded-array.exp: New file.
11187 * gdb.modula2/unbounded1.c: New file.
11188
7cc46491
DJ
111892007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
11190
11191 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
11192
111932007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
11194
11195 * gdb.base/sigstep.c (main): Add checks for
11196 return values for setitimer call.
11197 Call setitimer again with itimer = ITIMER_REAL
11198 if first call to setitimer fails.
11199
e91528f0
KH
112002007-10-11 Kazu Hirata <kazu@codesourcery.com>
11201
11202 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
11203 of $timeout.
11204
2ec9a4f8
DJ
112052007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11206
11207 * gdb.server/server-run.exp: Test for dynamic linker symbols.
11208
112092007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
11210
11211 * lib/gdb.exp (gdb_run_cmd): Move comment outside
11212 of gdb_expect call, to avoid interruption.
11213
64b2fa04
PA
112142007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
11215
11216 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
11217 (v_unsigned_long_long, v_long_long_array)
11218 (v_signed_long_long_array, v_unsigned_long_long_array)
11219 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
11220 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
11221 [!NO_LONG_LONG]: New.
11222 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
11223 v_long_long_member.
11224
11225 (v_long_long_func, v_signed_long_long_func)
11226 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
11227 (main) [!NO_LONG_LONG]: Initialize long long variants.
11228
11229 * gdb.base/whatis.exp: If board file requests no_long_long, build
11230 test with NO_LONG_LONG defined. Test long long, signed long long,
11231 and unsigned long long variants but only if board file doesn't
11232 disable it.
11233
a912286e 112342007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 11235 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
11236
11237 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
11238 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
11239 * configure: Regenerated.
11240 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
11241 gdb.pascal/types.exp, lib/pascal.exp: New files.
11242
471ba8c9
DJ
112432007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
11244
11245 * gdb.cp/classes.exp (do_tests): Always step to the line after the
11246 call.
11247 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
11248 to return to the call.
11249 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
11250 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
11251 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
11252 * gdb.mi/mi-until.exp (test_until): Likewise.
11253 * gdb.mi/mi2-until.exp (test_until): Likewise.
11254
fef8a650
DJ
112552007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
11256
11257 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
11258 two-char array.
11259 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
11260
d983da9c
DJ
112612007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
11262
11263 * gdb.threads/watchthreads.c (thread_function): Sleep between
11264 iterations.
11265 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
11266 at once for S/390. Generate matching fails and passes.
11267
17f62551
VP
112682007-09-27 Vladimir Prus <vladimir@codesourcery.com>
11269
11270 * gdb.mi/var-cmd.c (do_children_tests): Initialize
11271 the 'struct_declarations' variable to zeros.
a9c64011 11272
ed0616c6
VP
112732007-09-24 Vladimir Prus <vladimir@codesourcery.com>
11274
11275 * gdb.cp/mb-ctor.cc: New.
11276 * gdb.cp/mb-ctor.exp: New.
11277 * gdb.cp/mb-templates.cc: New.
11278 * gdb.cp/mb-templates.exp: New.
11279
41f1b697
DJ
112802007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
11281
11282 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
11283
3f213f78
PA
112842007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
11285
11286 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
11287 targets.
11288 * configure: Regenerate.
11289
0d381245 112902007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11291
0d381245
VP
11292 * gdb.base/annota1.exp: Adjust for 'info break'
11293 format changes.
11294 * gdb.base/annota3.exp: Likewise.
11295 * gdb.base/break.exp: Likewise.
11296 * gdb.base/condbreak.exp: Likewise.
11297 * gdb.base/pending.exp: Likewise.
11298 * gdb.base/sepdebug.exp: Likewise.
11299 * gdb.base/unload.exp: Likewise.
11300 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 11301
fe3f5fa8
VP
113022007-09-22 Vladimir Prus <vladimir@codesourcery.com>
11303
11304 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
11305 messages.
11306 * gdb.base/chng-syms.exp: Likewise.
11307 * gdb.base/unload.exp: Likewise.
a9c64011 11308
a75cf6c0
DJ
113092007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
11310
11311 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
11312
18ecae38
DJ
113132007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
11314
11315 * schedlock.c (NUM): Change to 1.
11316 (main): Use args[0] for the main thread.
11317 * schedlock.exp: Only expect two threads. Only issue one pass or fail
11318 regardless of the number of threads.
11319
5509918f
MR
113202007-09-14 Maciej W. Rozycki <macro@mips.com>
11321
4a543daf
MR
11322 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
11323 type down.
11324 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11325 test.
11326 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
11327 watchpoint type down.
11328 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11329 test.
11330
113312007-09-14 Maciej W. Rozycki <macro@mips.com>
11332
5509918f
MR
11333 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
11334 Move all the tests here and run them twice, once using software
11335 watchpoints and once using hardware watchpoints.
11336 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
11337
40b53987
DJ
113382007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
11339
11340 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
11341 test.
11342
695e2681
MK
113432007-09-10 Mark Kettenis <kettenis@gnu.org>
11344
8b3fc8d8
MK
11345 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
11346 build-id.
11347
695e2681
MK
11348 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
11349 know about $ORIGIN. Calculate output dir from $dest instead of
11350 using ${objdir}/{$subdir}.
11351
58d69f29
MK
113522007-09-09 Mark Kettenis <kettenis@gnu.org>
11353
11354 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
11355 gcore, before continuing with the test.
11356
3e347599
DJ
113572007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
11358
11359 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
11360 * gdb.mi/mi-watch.exp: Likewise.
11361
ea37ba09
DJ
113622007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11363 Jim Blandy <jimb@codesourcery.com>
11364
11365 * gdb.arch/i386-sse.exp: Do not expect character constants.
11366 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
11367 * gdb.base/display.exp: Allow print/s.
11368 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
11369 and unsigned char array changes.
11370
2025a643
DJ
113712007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11372
11373 * gdb.base/display.exp: Add tests for printf %p.
11374
26669a27
PA
113752007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
11376
11377 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
11378 the dll name to unicode.
11379
c8f021f8
JK
113802007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11381
11382 * gdb.base/default.exp (show version): Update the version text.
11383 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
11384
4cf31eea
JK
113852007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11386
11387 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
11388 New files.
11389
4935890f
JK
113902007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11391
11392 * lib/gdb.exp (build_id_debug_filename_get): New function.
11393 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
11394 Remove the generate DEBUG file for the future testcase runs.
11395 New testcase for the NT_GNU_BUILD_ID retrieval.
11396 Move the final testing step to ...
11397 (test_different_dir): ... a new function.
11398 New parameter XFAIL to XFAIL all the tests performed.
11399 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
11400 New parameter TYPE to PF_PREFIX all the tests performed.
11401
02142340
VP
114022007-08-31 Vladimir Prus <vladimir@codesourcery.com>
11403
11404 * gdb.mi/mi-var-cp.cc (path_expression): New
11405 function.
11406 * gdb.mi/mi-var-cp.exp: Run path exression tests.
11407
36acd84e
UW
114082007-08-27 Markus Deuling <deuling@de.ibm.com>
11409
11410 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
11411 to fit into SPU Local Store memory.
11412
a896d121
JB
114132007-08-23 Joel Brobecker <brobecker@adacore.com>
11414
11415 * gdb.base/default.exp: Adjust the expected output of "info
11416 warranty" after the switch to GPLv3.
11417
7b433602
JB
114182007-08-23 Joel Brobecker <brobecker@adacore.com>
11419
11420 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
11421 to 30000 (from 20000).
11422
e22f8b7c
JB
114232007-08-23 Joel Brobecker <brobecker@adacore.com>
11424
11425 Switch the license of all .exp files to GPLv3.
11426 Switch the license of all .f and .f90 files to GPLv3.
11427 Switch the license of all .s and .S files to GPLv3.
11428
5a0e3bd0
JB
114292007-08-23 Joel Brobecker <brobecker@adacore.com>
11430
11431 * configure.ac: Switch license to GPLv3.
11432
cc00619d
JB
114332007-08-23 Joel Brobecker <brobecker@adacore.com>
11434
11435 Switch the licensing to GPLv3 for all .ads and .adb files.
11436
8d26208a
DJ
114372007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
11438
11439 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
11440 and t_int_double.
11441 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
11442
4fcb9948
JB
114432007-08-17 Joel Brobecker <brobecker@adacore.com>
11444
11445 * gdb.base/step-line.c: Switch license to GPL version 3, and
11446 update copyright year.
11447 * gdb.base/step-line.inp: Likewise.
11448
b9c34f67
JB
114492007-08-17 Joel Brobecker <brobecker@adacore.com>
11450
11451 * gdb.base/gdb1555.exp: Make expected output immune to formatting
11452 changes inside gdb1555.c.
11453 * gdb.base/pending.exp: Likewise.
11454
2cc17678
DJ
114552007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
11456
11457 * config/default.exp: New file.
11458
e48883f7
DJ
114592007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11460
11461 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
11462 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
11463
1ab80e5b
MR
114642007-07-30 Maciej W. Rozycki <macro@mips.com>
11465
11466 * gdb.base/dump.exp: Force the correct endianness for binary
11467 formats not carrying this information.
11468
aba471f5
DJ
114692007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11470
11471 * gdb.threads/staticthreads.exp: Match .*sem_post.
11472
d4e07204
DJ
114732007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11474
11475 * gdb.base/readline.exp (operate_and_get_next): Match the final
11476 prompt.
11477
2b97317d
KB
114782007-07-23 Kevin Buettner <kevinb@redhat.com>
11479
11480 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
11481 to restarting SID.
11482
44efa07a
KB
114832007-07-18 Kevin Buettner <kevinb@redhat.com>
11484
11485 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
11486 prior to `gdb_start'.
11487
7b5ebade
KB
114882007-07-18 Kevin Buettner <kevinb@redhat.com>
11489
11490 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
11491 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
11492 Remove call to gdb_unload.
11493
255e7678
DJ
114942007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
11495 Daniel Jacobowitz <dan@codesourcery.com>
11496
11497 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
11498 for __WIN32__.
11499 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
11500 * gdb.base/unload.exp: Use shared library test routines.
11501
3a40aaa0
UW
115022007-07-03 Markus Deuling <deuling@de.ibm.com>
11503
11504 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
11505 * gdb.base/solib-symbol-lib.c: Likewise.
11506 * gdb.base/solib-symbol-main.c: Likewise.
11507
b0f4b84b
DJ
115082007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
11509
11510 * config/gdbserver.exp (gdb_reconnect): New.
11511 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
11512 gdb.base/solib-disc.exp: New files.
11513 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
11514 remote debugging".
11515 (gdb_compile): Add shlib_load flag.
11516 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
11517 port.
11518 (gdbserver_reconnect): New.
11519
1b05479a
DJ
115202007-07-01 Nick Roberts <nickrob@snap.net.nz>
11521 Daniel Jacobowitz <dan@codesourcery.com>
11522
11523 * gdb.base/annota3.exp: Test for if construct.
11524
86f78eb2
DJ
115252007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
11526
11527 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
11528
6a2eb474 115292007-06-21 Chris Dearman <chris@mips.com>
a9c64011 11530 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
11531
11532 * gdb.base/display.exp: Allow a newline after display/i.
11533 * gdb.base/pc-fp.exp: Likewise.
11534 * gdb.base/sigbpt.exp: Likewise.
11535
f8b73d13
DJ
115362007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11537
11538 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
11539 required features to be included.
11540
4339e69e
DJ
115412007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11542
11543 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
11544 in info threads output.
11545
23d964e7
UW
115462007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11547 Markus Deuling <deuling@de.ibm.com>
11548
11549 * gdb.arch/spu-info.exp: New testcase.
11550 * gdb.arch/spu-info.c: New file.
11551
fd20f75b
DJ
115522007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
11553
11554 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
11555 tpcs_offset. Restore lr after the call.
11556 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
11557
2226f861
DJ
115582007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
11559
11560 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
11561 (gdbserver_run): Kill any running gdbserver.
11562 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
11563
d12371a9
MR
115642007-05-17 Maciej W. Rozycki <macro@mips.com>
11565
11566 * gdb.base/sigbpt.exp: Preset segv_addr.
11567
93f02886
DJ
115682007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
11569
11570 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
11571 (gdb_compile_shlib): Likewise.
11572 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
11573 (default_gdb_init): Clear cleanfiles.
11574 (gdb_finish): Delete recorded cleanfiles.
11575 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
11576
11577 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
11578 Do not use isnative.
11579 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
11580 gdb.base/so-impl-ld.exp: Likewise.
11581 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
11582 * gdb.base/unload.exp: Likewise. Do not pass empty option to
11583 gdb_compile.
11584
b04e06d7
VP
115852007-05-15 Vladimir Prus <vladimir@codesourcery.com>
11586
11587 * config/unknown.exp: Remove.
11588
069ed931
UW
115892007-05-15 Markus Deuling <deuling@de.ibm.com>
11590
11591 * gdb.base/info-proc.exp: Check is_remote.
11592
09db0d03
UW
115932007-05-14 Markus Deuling <deuling@de.ibm.com>
11594
11595 * gdb.base/gcore.exp: Initialize variable core_supported.
11596
af2cbe8c
DJ
115972007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11598
11599 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
11600
027c0295
DJ
116012007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11602
11603 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
11604 * gdb.threads/print-threads.exp (test_all_threads): Allow
11605 negative and hexadecimal thread IDs.
11606
dc5000e7
DJ
116072007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11608
11609 * gdb.java/jprint.java (public): Avoid invalid call to static
11610 method.
11611
2e74ed18
DP
116122007-05-14 Denis Pilat <denis.pilat@st.com>
11613
11614 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
11615 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
11616 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11617 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
11618 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
11619
83547f02
UW
116202007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11621
11622 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 11623 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
11624 this mode.
11625 * gdb.base/ovlymgr.c: Provide stubs for spu target.
11626 * gdb.base/spu.ld: New file.
11627
b18be20d
DJ
116282007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
11629
11630 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
11631
be444858
DJ
116322007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
11633
11634 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
11635
b1d53152
DJ
116362007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11637
11638 * gdb.java/jmain.exp: Handle demangled names with and without method
11639 signatures.
11640
d084b331
DJ
116412007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11642
11643 * gdb.mi/mi-syn-frame.c (main, foo, bar)
11644 (have_a_very_merry_interrupt): Remove calls to puts.
11645 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
11646 inferior output.
11647 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
11648 test names.
11649
db9d7fc5
DJ
116502007-04-29 Markus Deuling <deuling@de.ibm.com>
11651 Daniel Jacobowitz <dan@codesourcery.com>
11652
11653 * gdb.base/auxv.exp (core_works): Also check is_remote.
11654 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
11655
ef783a7d 116562007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11657
ef783a7d
VP
11658 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
11659 message, not the undefined 'module' variable.
11660 * gdb.base/siginfo.exp: Likewise.
11661 * gdb.base/sigstep.exp: Likewise.
11662 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
11663 serialport.
11664 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
11665
b7b73cae
CV
116662007-04-25 Corinna Vinschen <vinschen@redhat.com>
11667
11668 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
11669 target sim fails. Return 0 otherwise.
11670 (gdb_load): Return prematurely if gdb_target_sim fails.
11671
7d90fdfa
DP
116722007-04-16 Denis Pilat <denis.pilat@st.com>
11673
11674 * gdb.base/setshow.exp: Reset height after having set it to 100.
11675
5d3e9c85
DP
116762007-04-16 Denis Pilat <denis.pilat@st.com>
11677
11678 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
11679
18e75969
DP
116802007-04-16 Denis Pilat <denis.pilat@st.com>
11681
11682 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
11683
25d5ea92
VP
116842007-04-14 Vladimir Prus <vladimir@codesourcery.com>
11685
11686 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
11687 tests. Run the frozen varobjs test.
11688 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 11689 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 11690
0b49cb80
JK
116912007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11692
11693 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
11694 gdb.base/type-opaque.exp: New files.
11695
a73bafbc 116962007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
11697
11698 * gdb.mi/mi-var-child.c
a73bafbc
VP
11699 (do_children_tests): User char[2] instead of
11700 char so that automatic printing of pointers to char
11701 don't give unpredicable result.
11702 * gdb.mi/var-cmd.c (do_locals_test): Initialize
11703 local variables.
11704 * gdb.mi/mi-var-child.exp: Step to right line
11705 of do_children_tests.
11706 * gdb.mi/mi2-var-child.exp: Likewise.
11707 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 11708 do_locals_tests.
a73bafbc
VP
11709 (do_children_tests): User char[2] instead of
11710 char so that automatic printing of pointers to char
a9c64011 11711 don't give unpredicable result.
a73bafbc 11712 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 11713 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
11714 Pass test name to mi_wait_for_stop.
11715
7ce59000
DJ
117162007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11717
11718 * gdb.asm/asm-source.exp: Remove d10v case.
11719 * lib/gdb.exp (skip_cplus_tests): Likewise.
11720 * gdb.asm/d10v.inc: Deleted.
11721
20389057
DJ
117222007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11723
11724 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
11725
8807d78b
DJ
117262007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11727
11728 * config/netware.exp: Delete file.
11729
aa3edb8e
JB
117302007-03-29 Joel Brobecker <brobecker@adacore.com>
11731
11732 * gdb.dwarf2/dw2-noloc.S: New file.
11733 * gdb.dwarf2/dw2-noloc.exp: New file.
11734
297561ac
PA
117352007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
11736
11737 * gdb.cp/method2.cc: New test.
11738 * gdb.cp/method2.exp: New test.
11739 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
11740
1f81bd39
DJ
117412007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11742
11743 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
11744
9453113a
DJ
117452007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
11746
11747 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
11748
b741e217
DJ
117492007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11750
11751 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
11752 (gdb_load): Delete, replace with...
11753 (gdb_reload): ...this.
11754 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
11755 * gdb.server/server-mon.exp: Likewise.
11756 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
11757 (gdb_start_cmd): New.
11758 (gdb_file_cmd): Save the last loaded file.
11759 (gdb_reload): New.
11760 (gdb_gnu_strip_debug): Use transform.
11761 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
11762 support here. Use new $last_loaded_file. Check mtime.
11763 (gdb_target_cmd): Handle ObjC failure case.
11764 (infer_host_exec): Delete.
11765 (gdbserver_load): Rename to...
11766 (gdbserver_run): ...this. Simplify.
11767 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
11768 (mi_gdb_load): Move most contents to a new function...
11769 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
11770 (mi_run_cmd): Use mi_gdb_target_load.
11771 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
11772 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
11773 Use gdb_run_cmd.
11774 * gdb.base/charsign.exp: Remove incorrect comment.
11775 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
11776 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
11777 gdb.base/start.exp: Use gdb_start_cmd.
11778
446ab585 117792007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 11780 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
11781
11782 * gdb.base/sigbpt.exp: Fix the message when skipping test.
11783 * gdb.base/signull.exp: Similarly.
11784
bbb88ebf
UW
117852007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11786
11787 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
11788 messages available to test cases (like chng-sym.exp).
11789
cb8c4a99
AS
117902007-03-14 Andreas Schwab <schwab@suse.de>
11791
11792 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11793 format changes.
11794
4e463ff5
DJ
117952007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
11796
11797 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
11798 (optimized_1): New.
11799 (main): Call optimized_1.
11800 (gdb2029): Correct typos. Call gdb2029_marker.
11801 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
11802 for gdb2029.
11803
b6db2c47
MK
118042007-03-12 Mark Kettenis <kettenis@gnu.org>
11805
11806 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
11807 as tabs. Remove redundant test pattern.
11808
70ed3737
UW
118092007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11810
11811 * gdb.base/long_long.exp: Accept optional symbol name in <...>
11812 for /a format output.
11813
47b67b60
DJ
118142007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
11815
11816 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
11817 collect output incrementally.
11818
b8953b0e
UW
118192007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11820
11821 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
11822 for -var-create lpcharacter test.
11823 * gdb.mi/mi2-var-cmd.exp: Likewise.
11824
7acd5c40
UW
118252007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11826
11827 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
11828 pass on targets where address zero is readable.
11829
9c6759c1
UW
118302007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11831
11832 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
11833 just a single architecture.
11834
a2f1aeb4
UW
118352007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11836
11837 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
11838 (fetch_all_registers): New function, uses gdb_test_multiple and
11839 exp_continue to fetch inferior output line-by-line.
11840 Replace all uses of do_get_all_registers by fetch_all_registers.
11841
46579ac2
UW
118422007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11843
11844 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
11845 in target_info.
11846
fc133f24
MS
118472007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11848
a9c64011 11849 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
11850 consistancy; add a default (timeout) case.
11851
7646a51d
MS
118522007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11853
11854 * gdb.base/watchpoint.exp: Fix truncated comment.
11855
dcfff61f
MS
118562007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11857
11858 * Makefile.in: Remove spurious single-quotes from sed command.
11859
664e3ee9
DJ
118602007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
11861
11862 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
11863 func.
11864 * gdb.mi/mi2-var-cmd.exp: Likewise.
11865
d7cc6f2f
JB
118662007-02-27 Joel Brobecker <brobecker@adacore.com>
11867
a9c64011
AS
11868 * gdb.dwarf2/dw2-producer.S: New file.
11869 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
11870
118712007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
11872
11873 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11874 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11875 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11876 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11877 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11878 Revert tests to use mi_gdb_test and include value field in output
11879 of -var-create.
11880
93d42b30
DJ
118812007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11882
11883 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
11884
c499ed39
DJ
118852007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11886
11887 * gdb.base/maint.exp: Remove full paths from test names.
11888 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
11889 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
11890
9836f81b
JB
118912007-02-27 Joel Brobecker <brobecker@adacore.com>
11892
11893 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
11894
c74d0ad8
DJ
118952007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11896
11897 * gdb.server/server-mon.exp: New test.
11898
2711e456
DJ
118992007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11900
11901 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
11902
ff6f572f
DJ
119032007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11904
11905 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
11906 register capitalization.
11907
fada3feb
DP
119082007-02-13 Denis Pilat <denis.pilat@st.com>
11909
11910 * gdb.mi/mi-var-invalidate.exp: New file.
11911
fb1e4ffc
DJ
119122007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11913
11914 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
11915
3da939d7
DJ
119162007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11917
11918 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
11919
123dc839
DJ
119202007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11921
11922 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
11923 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
11924
877e3645 119252007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
11926
11927 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11928 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11929 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11930 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11931 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 11932 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 11933 Update tests to include value field in output of -var-create.
a9c64011 11934
3c0a2960
AS
119352007-02-08 Andreas Schwab <schwab@suse.de>
11936
11937 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
11938
108546a0
DJ
119392007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
11940
11941 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
11942 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
11943
d701dcab
DP
119442007-02-02 Denis Pilat <denis.pilat@st.com>
11945
11946 * gdb.threads/threadapply.exp: check that frame is not changed by
11947 the thread apply all command.
11948
783e3e2f
AS
119492007-01-31 Andreas Schwab <schwab@suse.de>
11950
6d9c3a87
AS
11951 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11952
3c50d7b9
AS
11953 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
11954 in the dwarf sections.
11955 * gdb.dwarf2/mac-fileno.S: Likewise.
11956
783e3e2f
AS
11957 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
11958 bspstore register on ia64.
11959
78ff580e
AS
119602007-01-29 Andreas Schwab <schwab@suse.de>
11961
cc8e9b12
AS
11962 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
11963 "frame-begin" annotation.
11964
78ff580e
AS
11965 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
11966 number of "frames-invalid" annotations.
11967
704a4f78
DJ
119682007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11969
11970 * gdb.base/commands.exp: Call if_commands_test.
11971 (gdb_test_no_prompt, if_commands_test): New.
11972
e741bf94
MK
119732007-01-28 Mark Kettenis <kettenis@gnu.org>
11974
11975 * gdb.threads/sigthread.c (NSIGS): Make bigger.
11976
474d0ad3
AS
119772007-01-27 Andreas Schwab <schwab@suse.de>
11978
11979 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
11980 .short/.int/.quad in the dwarf sections.
11981 * gdb.dwarf2/dw2-intercu.S: Likewise.
11982 * gdb.dwarf2/dw2-intermix.S: Likewise.
11983
e784b426
JK
119842007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11985
11986 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
11987 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
11988 array.
e784b426
JK
11989 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
11990 * gdb.base/setvar.exp: Likewise.
11991
37f08e04
AS
119922007-01-26 Andreas Schwab <schwab@suse.de>
11993
9a01813a
AS
11994 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
11995 test.
11996
37f08e04
AS
11997 * gdb.base/multi-forks.exp ("restart $i"): Also match
11998 __kernel_syscall_via_break.
11999
6e2a9270
VP
120002007-01-24 Vladimir Prus <vladimir@codesourcery.com>
12001
12002 * lib/mi-support.exp (mi_delete_varobj): New.
12003 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
12004 testcase.
12005 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
12006 (main): Call the above.
12007 (reference_update_test, base_in_reference_test)
12008 (reference_to_pointer): Delete the created varobjs.
a9c64011 12009
e515b470
DJ
120102007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
12011
12012 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
12013 * configure: Regenerated.
12014 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
12015 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
12016 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
12017 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
12018 * lib/gdb.exp (gdb_skip_xml_test): New function.
12019
08d8bcd7
DJ
120202007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
12021
12022 * gdb.base/sigrepeat.exp: Correct error message.
12023
120242007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
12025 Daniel Jacobowitz <dan@codesourcery.com>
12026
12027 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
12028 gdb.arch/i386-gnu-cfi-asm.S: New files.
12029
97c3f1f3
JK
120302007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12031
12032 * lib/gdb.exp: Abort on missing `site.exp'.
12033
cb1df416
DJ
120342007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12035 Daniel Jacobowitz <dan@codesourcery.com>
12036
12037 * gdb.base/included.c, gdb.base/included.exp,
12038 gdb.base/included.h: New files.
12039
35990120
DJ
120402007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12041
12042 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
12043 (maximize_rlimit): Reduce limits on 64-bit systems.
12044
6e81a116 120452007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
12046
12047 From Marcus Deuling <deuling@de.ibm.com>:
12048 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
12049 every case.
12050
6c3c41f3
NR
120512007-01-13 Nick Roberts <nickrob@snap.net.nz>
12052
12053 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
12054 (test_path_specification): Use objdir instead of srcdir to always
12055 get an absolute filename.
12056
2f12c312
DJ
120572007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
12058
12059 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
12060
81121995
VP
120612007-01-11 Vladimir Prus <vladimir@codesourcery.com>
12062
12063 * gdb.mi/mi-var-cp.cc (reference_update_tests):
12064 Make sure the variable we're using is in scope.
12065 (reference_to_pointer): Likewise.
12066
4741b737
DJ
120672007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12068
12069 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
12070 has no debug information.
12071
054410c3
DJ
120722007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12073
12074 * gdb.base/annota1.exp: Remove extra send_gdb.
12075
818f79f6
DJ
120762007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12077
12078 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
12079
f7a6bb70
DJ
120802007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12081
12082 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
12083
57e66780
DJ
120842007-01-08 Nick Roberts <nickrob@snap.net.nz>
12085 Daniel Jacobowitz <dan@codesourcery.com>
12086
12087 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
12088 lcharacter or linteger change. Correct duplicated test name.
12089 * gdb.mi/mi2-var-cmd.exp: Likewise.
12090
3d799a95
DJ
120912007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12092
12093 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
12094
120952007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 12096
a9c64011
AS
12097 * gdb.base/nofield.c: New file.
12098 * gdb.base/nofield.exp: New testcase.
51679ba9 12099
eafb94e8
NR
121002007-01-05 Nick Roberts <nickrob@snap.net.nz>
12101
12102 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
12103
12104 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
12105 test.
12106
5e572bb4
DJ
121072007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12108
12109 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
12110
74a44383
DJ
121112007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12112
12113 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
12114 when continuing.
12115
1b572db9
DJ
121162007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12117
12118 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
12119 Expect ".exe" extension.
12120
381bc39b
DJ
121212007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12122
12123 * gdb.base/charset.exp: Add explicit filename to break.
12124 * gdb.base/dbx.exp: Add explicit filename to breaks.
12125
2b70e4c6
DJ
121262007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12127
12128 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
12129 * gdb.mi/mi2-file.exp: Likewise.
12130
303b6f5d
DJ
121312007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12132
12133 Implement specification of MI tests as comments
12134 in C and C++ sources.
12135 * lib/mi-support.exp (mi_autotest_data): New variable.
12136 (mi_autotest_source): New variable.
12137 (count_newlines, mi_prepare_inline_tests)
12138 (mi_get_inline_test, mi_continue_to_line)
12139 (mi_run_inline_test, mi_tbreak)
12140 (mi_send_resuming_command, mi_wait_for_stop): New functions.
12141 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
12142 Run inline tests.
12143 * gdb.mi/mi-var-cp.cc: Define tests here.
12144
23da0d94
VP
121452007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12146
12147 Simplify usage of mi_continue_to.
12148 * lib/mi-support.exp (mi_runto_helper): Renamed
12149 from mi_runto, added new parameter 'run_or_continue'.
12150 (mi_runto): Use mi_runto_helper.
12151 (mi_continue_to): Accept just function name as parameter.
12152 Use mi_runto_helper.
12153 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
12154 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 12155
f9e18282
JB
121562006-01-04 Joel Brobecker <brobecker@adacore.com>
12157
12158 Make this testcase a bit more realistic. The current code
12159 is too simplistic, and allows the compiler to optimize out
12160 some of the entities we need for this testcase.
12161 * gdb.ada/null_record/bar.ads (Void_Star): New type.
12162 (Do_Nothing): Add extra parameter.
12163 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
12164 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
12165 by using a variable of type Void_Star.
12166
fd678c65
JB
121672006-01-04 Joel Brobecker <brobecker@adacore.com>
12168
12169 * gdb.ada/catch_ex/foo.adb: New file.
12170 * gdb.ada/catch_ex.exp: New testcase.
12171
05cfdb42
DJ
121722007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
12173
12174 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
12175 pass --image-base to linker.
12176
2e03ee74
DJ
121772007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12178 Daniel Jacobowitz <dan@codesourcery.com>
12179
12180 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
12181 secondary prompts.
12182
0d5de010
DJ
121832007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12184
12185 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
12186 output. Test the types of members and member pointers.
12187 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
12188 gdb/2092.
12189 * gdb.cp/member-ptr.exp: Search for a comment instead of a
12190 statement. Enable for GCC. Update expected output for some tests
12191 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
12192 layout.
12193 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
12194 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
12195 (Diamond::vget_base): New.
12196 (main): Add new tests.
12197 * gdb.cp/printmethod.exp: Update expected output for member functions.
12198 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
12199 print pEe->D::vg().
12200
61a771aa
DJ
122012007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12202
12203 * gdb.threads/tls.exp: Allow stops in sem_post.
12204
2fa63963
DJ
122052006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
12206
12207 * gdb.base/annota1.exp: Allow .*printf in backtraces.
12208 * gdb.base/annota3.exp: Likewise.
12209 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
12210 again (instead of timing out).
12211 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
12212 GCC bug 26475.
12213 * gdb.java/jmisc.exp: Adjust to work with method signatures including
12214 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
12215 test from jmisc1.exp.
12216 * gdb.java/jmisc1.exp: Delete.
12217 * gdb.java/jprint.exp: Adjust to work with method signatures including
12218 return types.
12219 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
12220 * gdb.threads/linux-dp.exp: Don't be confused by program output.
12221 * lib/java.exp (compile_java_from_source): Pass the correct type
12222 to target_compile.
12223
5eefc2b7
JB
122242006-12-31 Joel Brobecker <brobecker@adacore.com>
12225
12226 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
12227 (stack_align_edx): New function.
12228 (stack_align_eax): New function.
12229 (main): Add calls to stack_align_edx and stack_align_eax.
12230 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
12231 Add testing for the cases where the register used during a stack
12232 realignment is edx. Same for eax.
12233
227c54da
DJ
122342006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
12235
12236 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
12237 and generic PE targets.
12238
cab8ac94
JB
122392006-12-29 Joel Brobecker <brobecker@adacore.com>
12240
12241 * gdb.ada/array_return.exp: Update copyright date list.
12242
ba54f318
JB
122432006-12-27 Joel Brobecker <brobecker@adacore.com>
12244
12245 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
12246 (Create_Small_Float_Vector): New function.
12247 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
12248 function body.
12249 * gdb.ada/array_return/p.adb: Use new type and function from
12250 package Pck.
12251 * gdb.ada/array_return.exp: Add a test verifying that GDB is
12252 able to print the value returned by a function returning an
12253 array of float.
12254
6b7a35dd
JB
122552006-12-20 Joel Brobecker <brobecker@adacore.com>
12256
12257 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
12258 The associated tests should be PASSing.
12259
038224f6
VP
122602006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12261
12262 Test for base in references.
12263 * gdb.mi/mi-var-cp.cc: Add test code.
12264 * gdb.mi/mi-var-cp.exp: Test for bases in references.
12265 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
12266 * gdb.mi/mi2-watch.exp: Likewise.
12267 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
12268 (mi_list_varobj_children): New function.
12269
b26ed50d
VP
122702006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12271
12272 * lib/mi-support.exp
12273 (mi_runto): Accept "()" after function name.
12274 (mi_create_varobj): New function.
12275 (mi_varobj_update): New function.
12276 (mi_Check_varobj_value): New function.
12277 * gdb.mi/mi-var-cp.exp: New file.
12278 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 12279
08232497
DJ
122802006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
12281
12282 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
12283 gdb.base/weaklib2.c: New files.
12284
d394c993 122852006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 12286
ac6c2fba
NS
12287 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
12288 info. Adjust test names.
12289
8ec659a0 12290 * gdb.base/break.c (main): Move position of malloc.
d394c993 12291 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 12292
acd65feb
VP
122932006-11-28 Vladimir Prus <vladimir@codesourcery.com>
12294
12295 * gdb.mi/mi-var-cmd.exp: Check -var-update after
12296 assignement of arrays and function pointers.
12297 * gdb.mi/var-cmd.c: Add declaration necessary for above
12298 tests.
12299
f556d5e5
NS
123002006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12301
12302 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
12303
12304 * gdb.threads/linux-dp.exp: Read thread table before and after
12305 creating each philosopher and verify it.
12306
697bc68d
NS
123072006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12308 Paul Brook <paul@codesourcery.com>
12309 Daniel Jacobowitz <dan@codesourcery.com>
12310
12311 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 12312 main to remove duplication. Add start function of the form
697bc68d
NS
12313 '_*start[1-9]*'. Add RVDS start function.
12314
29d73ae4
DJ
123152006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12316
12317 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
12318
c1d88655
UW
123192006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12320
12321 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
12322 * gdb.asm/spu.inc: New file.
12323 * gdb.base/term.exp: Disable if [target_info exists noargs].
12324 * gdb.gdb/complaints.exp: Disable if ![isnative].
12325 * gdb.gdb/selftest.exp: Likewise.
12326 * gdb.gdb/observer.exp: Likewise.
12327 * gdb.gdb/xfullpath.exp: Likewise.
12328 * gdb.base/attach.exp: Disable on SPU target.
12329 * gdb.cp/bs145503.exp: Likewise.
12330 * gdb.cp/exception.exp: Likewise.
12331 * gdb.cp/userdef.exp: Likewise.
12332
32a13b1a
DJ
123332006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12334
12335 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
12336
d8295fe9
VP
123372006-11-10 Vladimir Prus <vladimir@codesourcery.com>
12338
12339 * gdb.base/completion.exp: Fix completion tests for
12340 'info' and 'info '.
12341 * gdb.base/help.exp (help_test_raw, test_class_help)
12342 (test_prefix_command_help): Move...
12343 * lib/gdb.exp: Here.
12344 * gdb.base/main.exp: Adjust.
12345 * gdb.cp/maint.exp: Adjust.
12346 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 12347
8c394015
VP
123482006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12349
12350 * gdb.stabs/weird.exp (print_weird_var): Use
12351 gdb_test_multiple instead of gdb_expect.
12352
027fc1bc
VP
123532006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12354
12355 * gdb.base/help.exp (help_test_raw): New.
12356 (test_class_help): New.
12357 (test_prefix_command_help): New.
12358 Adjust testcases.
12359
67609209
FR
123602006-11-09 Christophe Lyon <christophe.lyon@st.com>
12361
12362 * gdb.base/constvars.c (main): Write to crass and crips, so that
12363 they are allocated by the compiler.
12364
f73adfeb
AS
123652006-10-27 Andreas Schwab <schwab@suse.de>
12366
12367 * gdb.base/multi-forks.exp: Use "detach fork" instead of
12368 "detach-fork".
12369
2f83a18e
DJ
123702006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
12371
12372 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
12373 of patterns.
12374
94277a38
DJ
123752006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12376
12377 * gdb.base/sepdebug.exp: Remove debug format test.
12378 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
12379 Handle no-symtab.
12380 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
12381
5bd2f6e2
DJ
123822006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12383
12384 * gdb.threads/manythreads.c (thread_function, main): Don't cast
12385 int to pointer or pointer to int.
12386 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
12387
8c008720
DJ
123882006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
12389
12390 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
12391
9e35dae4
DJ
123922006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12393
12394 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
12395
d9639e13
DJ
123962006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
12397
12398 PR c++/2116
12399 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
12400
390a1bd0
JB
124012006-10-06 Joel Brobecker <brobecker@adacore.com>
12402
12403 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
12404 the corresponding bug has been fixed in GDB (PR/2018).
12405
dd920c33
JB
124062006-10-06 Joel Brobecker <brobecker@adacore.com>
12407
12408 * gdb.base/subst.exp: New testcase.
12409
53bbefe9
JB
124102006-10-06 Joel Brobecker <brobecker@adacore.com>
12411
12412 * gdb.ada/array_return/pck.ads: Add copyright notice.
12413 * gdb.ada/array_return/pck.adb: Likewise.
12414 * gdb.ada/array_return/p.adb: Likewise.
12415 * gdb.ada/exec_changed/first.adb: Likewise.
12416 * gdb.ada/exec_changed/second.adb: Likewise.
12417
09851417
JB
124182006-10-06 Joel Brobecker <brobecker@adacore.com>
12419
12420 * gdb.ada/watch_arg/watch.adb: New file.
12421 * gdb.ada/watch_arg.exp: New testcase.
12422
041bf30d
VP
124232006-10-02 Vladimir Prus <vladimir@codesourcery.com>
12424
12425 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 12426 via string_to_regexp.
041bf30d 12427 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 12428
f286fbdd 124292006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
12430
12431 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
12432 Remove unused / obsolete files.
12433
7c07f349
NR
124342006-09-19 Nick Roberts <nickrob@snap.net.nz>
12435
12436 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
12437
cd5ff84a
VP
124382006-09-17 Vladimir Prus <vladimir@codesourcery.com>
12439
12440 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
12441 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 12442 the number of frames.
cd5ff84a 12443
ae018d1a
DJ
124442006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
12445
12446 * gdb.base/args.c (main): Add breakpoint marker.
12447 * gdb.base/args.exp: Use args_test for tests. Add new tests which
12448 really test empty arguments.
12449 (args_load): Delete.
12450 (args_test): New.
12451
b399c549
NR
124522006-09-13 Nick Roberts <nickrob@snap.net.nz>
12453
12454 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 12455 check for one file.
b399c549 12456
2ab1eb7a
VP
124572006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
12458
12459 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
12460 HIGH_FRAME argument to -stack-list-locals can be larger than
12461 the number of frames.
a9c64011 12462
476308bf
FF
124632006-08-18 Fred Fish <fnf@specifix.com>
12464
12465 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
12466 '$' in front of skip_vmx_tests_saved when setting that.
12467
8625200f
AS
124682006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
12469
12470 * gdb.base/trace-commands.exp: New file.
12471
089ec8f1
DJ
124722006-08-10 Joel Brobecker <brobecker@adacore.com>
12473 Daniel Jacobowitz <dan@codesourcery.com>
12474
12475 * gdb.base/step-bt.exp: Make hexadecimal address optional in
12476 expected output of the backtrace commands.
12477
b60f0898
JB
124782006-08-09 Joel Brobecker <brobecker@adacore.com>
12479
12480 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
12481 untested followed by return combination.
12482 * gdb.arch/altivec-regs.exp: Likewise.
12483 * gdb.arch/e500-abi.exp: Likewise.
12484 * gdb.arch/e500-regs.exp: Likewise.
12485 * gdb.arch/gdb1291.exp: Likewise.
12486 * gdb.arch/gdb1431.exp: Likewise.
12487 * gdb.arch/gdb1558.exp: Likewise.
12488 * gdb.arch/i386-prologue.exp: Likewise.
12489 * gdb.arch/i386-unwind.exp: Likewise.
12490 * gdb.asm/asm-source.exp: Likewise.
12491 * gdb.base/a2-run.exp: Likewise.
12492 * gdb.base/advance.exp: Likewise.
12493 * gdb.base/all-bin.exp: Likewise.
12494 * gdb.base/annota1.exp: Likewise.
12495 * gdb.base/annota3.exp: Likewise.
12496 * gdb.base/args.exp: Likewise.
12497 * gdb.base/arithmet.exp: Likewise.
12498 * gdb.base/assign.exp: Likewise.
12499 * gdb.base/async.exp: Likewise.
12500 * gdb.base/attach.exp: Likewise.
12501 * gdb.base/bang.exp: Likewise.
12502 * gdb.base/bigcore.exp: Likewise.
12503 * gdb.base/bitfields.exp: Likewise.
12504 * gdb.base/bitfields2.exp: Likewise.
12505 * gdb.base/break.exp: Likewise.
12506 * gdb.base/call-sc.exp: Likewise.
12507 * gdb.base/call-strs.exp: Likewise.
12508 * gdb.base/callfuncs.exp: Likewise.
12509 * gdb.base/checkpoint.exp: Likewise.
12510 * gdb.base/chng-syms.exp: Likewise.
12511 * gdb.base/code-expr.exp: Likewise.
12512 * gdb.base/commands.exp: Likewise.
12513 * gdb.base/completion.exp: Likewise.
12514 * gdb.base/cond-expr.exp: Likewise.
12515 * gdb.base/condbreak.exp: Likewise.
12516 * gdb.base/consecutive.exp: Likewise.
12517 * gdb.base/constvars.exp: Likewise.
12518 * gdb.base/corefile.exp: Likewise.
12519 * gdb.base/cvexpr.exp: Likewise.
12520 * gdb.base/dbx.exp: Likewise.
12521 * gdb.base/define.exp: Likewise.
12522 * gdb.base/detach.exp: Likewise.
12523 * gdb.base/display.exp: Likewise.
12524 * gdb.base/dump.exp: Likewise.
12525 * gdb.base/ena-dis-br.exp: Likewise.
12526 * gdb.base/ending-run.exp: Likewise.
12527 * gdb.base/environ.exp: Likewise.
12528 * gdb.base/eval-skip.exp: Likewise.
12529 * gdb.base/exprs.exp: Likewise.
12530 * gdb.base/fileio.exp: Likewise.
12531 * gdb.base/finish.exp: Likewise.
12532 * gdb.base/float.exp: Likewise.
12533 * gdb.base/foll-exec.exp: Likewise.
12534 * gdb.base/foll-fork.exp: Likewise.
12535 * gdb.base/foll-vfork.exp: Likewise.
12536 * gdb.base/freebpcmd.exp: Likewise.
12537 * gdb.base/funcargs.exp: Likewise.
12538 * gdb.base/gcore.exp: Likewise.
12539 * gdb.base/gdb1090.exp: Likewise.
12540 * gdb.base/gdb1250.exp: Likewise.
12541 * gdb.base/huge.exp: Likewise.
12542 * gdb.base/info-proc.exp: Likewise.
12543 * gdb.base/interrupt.exp: Likewise.
12544 * gdb.base/jump.exp: Likewise.
12545 * gdb.base/langs.exp: Likewise.
12546 * gdb.base/lineinc.exp: Likewise.
12547 * gdb.base/list.exp: Likewise.
12548 * gdb.base/logical.exp: Likewise.
12549 * gdb.base/long_long.exp: Likewise.
12550 * gdb.base/macscp.exp: Likewise.
12551 * gdb.base/maint.exp: Likewise.
12552 * gdb.base/mips_pro.exp: Likewise.
12553 * gdb.base/miscexprs.exp: Likewise.
12554 * gdb.base/multi-forks.exp: Likewise.
12555 * gdb.base/opaque.exp: Likewise.
12556 * gdb.base/overlays.exp: Likewise.
12557 * gdb.base/pc-fp.exp: Likewise.
12558 * gdb.base/pointers.exp: Likewise.
12559 * gdb.base/printcmds.exp: Likewise.
12560 * gdb.base/psymtab.exp: Likewise.
12561 * gdb.base/ptype.exp: Likewise.
12562 * gdb.base/recurse.exp: Likewise.
12563 * gdb.base/relational.exp: Likewise.
12564 * gdb.base/relocate.exp: Likewise.
12565 * gdb.base/remote.exp: Likewise.
12566 * gdb.base/reread.exp: Likewise.
12567 * gdb.base/restore.exp: Likewise.
12568 * gdb.base/return.exp: Likewise.
12569 * gdb.base/return2.exp: Likewise.
12570 * gdb.base/scope.exp: Likewise.
12571 * gdb.base/sect-cmd.exp: Likewise.
12572 * gdb.base/sep.exp: Likewise.
12573 * gdb.base/sepdebug.exp: Likewise.
12574 * gdb.base/setshow.exp: Likewise.
12575 * gdb.base/setvar.exp: Likewise.
12576 * gdb.base/sigall.exp: Likewise.
12577 * gdb.base/sigbpt.exp: Likewise.
12578 * gdb.base/signals.exp: Likewise.
12579 * gdb.base/signull.exp: Likewise.
12580 * gdb.base/sizeof.exp: Likewise.
12581 * gdb.base/solib.exp: Likewise.
12582 * gdb.base/step-line.exp: Likewise.
12583 * gdb.base/step-test.exp: Likewise.
12584 * gdb.base/structs.exp: Likewise.
12585 * gdb.base/structs2.exp: Likewise.
12586 * gdb.base/term.exp: Likewise.
12587 * gdb.base/twice.exp: Likewise.
12588 * gdb.base/until.exp: Likewise.
12589 * gdb.base/varargs.exp: Likewise.
12590 * gdb.base/volatile.exp: Likewise.
12591 * gdb.base/watchpoint.exp: Likewise.
12592 * gdb.base/whatis-exp.exp: Likewise.
12593 * gdb.base/whatis.exp: Likewise.
12594 * gdb.cp/ambiguous.exp: Likewise.
12595 * gdb.cp/annota2.exp: Likewise.
12596 * gdb.cp/annota3.exp: Likewise.
12597 * gdb.cp/bool.exp: Likewise.
12598 * gdb.cp/breakpoint.exp: Likewise.
12599 * gdb.cp/casts.exp: Likewise.
12600 * gdb.cp/class2.exp: Likewise.
12601 * gdb.cp/classes.exp: Likewise.
12602 * gdb.cp/cplusfuncs.exp: Likewise.
12603 * gdb.cp/ctti.exp: Likewise.
12604 * gdb.cp/derivation.exp: Likewise.
12605 * gdb.cp/exception.exp: Likewise.
12606 * gdb.cp/gdb1355.exp: Likewise.
12607 * gdb.cp/hang.exp: Likewise.
12608 * gdb.cp/inherit.exp: Likewise.
12609 * gdb.cp/local.exp: Likewise.
12610 * gdb.cp/m-data.exp: Likewise.
12611 * gdb.cp/m-static.exp: Likewise.
12612 * gdb.cp/member-ptr.exp: Likewise.
12613 * gdb.cp/method.exp: Likewise.
12614 * gdb.cp/misc.exp: Likewise.
12615 * gdb.cp/namespace.exp: Likewise.
12616 * gdb.cp/overload.exp: Likewise.
12617 * gdb.cp/ovldbreak.exp: Likewise.
12618 * gdb.cp/pr-1023.exp: Likewise.
12619 * gdb.cp/pr-1210.exp: Likewise.
12620 * gdb.cp/pr-574.exp: Likewise.
12621 * gdb.cp/printmethod.exp: Likewise.
12622 * gdb.cp/psmang.exp: Likewise.
12623 * gdb.cp/ref-params.exp: Likewise.
12624 * gdb.cp/ref-types.exp: Likewise.
12625 * gdb.cp/rtti.exp: Likewise.
12626 * gdb.cp/templates.exp: Likewise.
12627 * gdb.cp/try_catch.exp: Likewise.
12628 * gdb.cp/userdef.exp: Likewise.
12629 * gdb.cp/virtfunc.exp: Likewise.
12630 * gdb.disasm/am33.exp: Likewise.
12631 * gdb.disasm/h8300s.exp: Likewise.
12632 * gdb.disasm/mn10300.exp: Likewise.
12633 * gdb.disasm/sh3.exp: Likewise.
12634 * gdb.disasm/t01_mov.exp: Likewise.
12635 * gdb.disasm/t02_mova.exp: Likewise.
12636 * gdb.disasm/t03_add.exp: Likewise.
12637 * gdb.disasm/t04_sub.exp: Likewise.
12638 * gdb.disasm/t05_cmp.exp: Likewise.
12639 * gdb.disasm/t06_ari2.exp: Likewise.
12640 * gdb.disasm/t07_ari3.exp: Likewise.
12641 * gdb.disasm/t08_or.exp: Likewise.
12642 * gdb.disasm/t09_xor.exp: Likewise.
12643 * gdb.disasm/t10_and.exp: Likewise.
12644 * gdb.disasm/t11_logs.exp: Likewise.
12645 * gdb.disasm/t12_bit.exp: Likewise.
12646 * gdb.disasm/t13_otr.exp: Likewise.
12647 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
12648 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
12649 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12650 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
12651 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
12652 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12653 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12654 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
12655 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
12656 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
12657 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
12658 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
12659 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
12660 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
12661 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
12662 * gdb.mi/gdb701.exp: Likewise.
12663 * gdb.mi/gdb792.exp: Likewise.
12664 * gdb.mi/mi-basics.exp: Likewise.
12665 * gdb.mi/mi-break.exp: Likewise.
12666 * gdb.mi/mi-cli.exp: Likewise.
12667 * gdb.mi/mi-console.exp: Likewise.
12668 * gdb.mi/mi-disassemble.exp: Likewise.
12669 * gdb.mi/mi-eval.exp: Likewise.
12670 * gdb.mi/mi-file.exp: Likewise.
12671 * gdb.mi/mi-read-memory.exp: Likewise.
12672 * gdb.mi/mi-regs.exp: Likewise.
12673 * gdb.mi/mi-return.exp: Likewise.
12674 * gdb.mi/mi-simplerun.exp: Likewise.
12675 * gdb.mi/mi-stack.exp: Likewise.
12676 * gdb.mi/mi-stepi.exp: Likewise.
12677 * gdb.mi/mi-syn-frame.exp: Likewise.
12678 * gdb.mi/mi-until.exp: Likewise.
12679 * gdb.mi/mi-var-block.exp: Likewise.
12680 * gdb.mi/mi-var-child.exp: Likewise.
12681 * gdb.mi/mi-var-cmd.exp: Likewise.
12682 * gdb.mi/mi-var-display.exp: Likewise.
12683 * gdb.mi/mi-watch.exp: Likewise.
12684 * gdb.mi/mi2-basics.exp: Likewise.
12685 * gdb.mi/mi2-break.exp: Likewise.
12686 * gdb.mi/mi2-cli.exp: Likewise.
12687 * gdb.mi/mi2-console.exp: Likewise.
12688 * gdb.mi/mi2-disassemble.exp: Likewise.
12689 * gdb.mi/mi2-eval.exp: Likewise.
12690 * gdb.mi/mi2-file.exp: Likewise.
12691 * gdb.mi/mi2-read-memory.exp: Likewise.
12692 * gdb.mi/mi2-regs.exp: Likewise.
12693 * gdb.mi/mi2-return.exp: Likewise.
12694 * gdb.mi/mi2-simplerun.exp: Likewise.
12695 * gdb.mi/mi2-stack.exp: Likewise.
12696 * gdb.mi/mi2-stepi.exp: Likewise.
12697 * gdb.mi/mi2-syn-frame.exp: Likewise.
12698 * gdb.mi/mi2-until.exp: Likewise.
12699 * gdb.mi/mi2-var-block.exp: Likewise.
12700 * gdb.mi/mi2-var-child.exp: Likewise.
12701 * gdb.mi/mi2-var-cmd.exp: Likewise.
12702 * gdb.mi/mi2-var-display.exp: Likewise.
12703 * gdb.mi/mi2-watch.exp: Likewise.
12704 * gdb.stabs/exclfwd.exp: Likewise.
12705 * gdb.stabs/weird.exp: Likewise.
12706 * gdb.threads/gcore-thread.exp: Likewise.
12707 * gdb.trace/actions.exp: Likewise.
12708 * gdb.trace/backtrace.exp: Likewise.
12709 * gdb.trace/circ.exp: Likewise.
12710 * gdb.trace/collection.exp: Likewise.
12711 * gdb.trace/deltrace.exp: Likewise.
12712 * gdb.trace/infotrace.exp: Likewise.
12713 * gdb.trace/limits.exp: Likewise.
12714 * gdb.trace/packetlen.exp: Likewise.
12715 * gdb.trace/passc-dyn.exp: Likewise.
12716 * gdb.trace/passcount.exp: Likewise.
12717 * gdb.trace/report.exp: Likewise.
12718 * gdb.trace/save-trace.exp: Likewise.
12719 * gdb.trace/tfind.exp: Likewise.
12720 * gdb.trace/tracecmd.exp: Likewise.
12721 * gdb.trace/while-dyn.exp: Likewise.
12722 * gdb.trace/while-stepping.exp: Likewise.
12723
f4b618d1
JB
127242006-08-08 Joel Brobecker <brobecker@adacore.com>
12725
12726 * gdb.base/step-bt.c: New file.
12727 * gdb.base/step-bt.exp: New testcase.
12728
3d00d119
DJ
127292006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
12730
12731 * config/monitor.exp (gdb_load): Remove support for obsolete
12732 download-write-size.
12733 * gdb.base/remote.exp: Likewise. Update all callers of
12734 gdb_timed_load.
12735
017b5bd4
DJ
127362006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
12737
12738 * cursal.exp: Pass binfile to gdb_load.
12739
837c599d
DJ
127402006-08-01 Nathan Sidwell <nathan@codesourcery.com>
12741
12742 * gdb.base/cursal.exp: Add "" to gdb_load call.
12743
8dd4540b
MK
127442006-07-29 Mark Kettenis <kettenis@gnu.org>
12745
12746 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
12747 NetBSD/ELF targets.
12748
ab5c9f60
DJ
127492006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
12750
12751 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
12752 operator*.
12753
4c42eaff
DJ
127542006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
12755
12756 * gdb.base/completion.exp: Update for change in "file" behavior.
12757 * gdb.stabs/weird.exp: Likewise.
12758 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
12759 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
12760
0155cc76
NS
127612006-07-24 Nathan Sidwell <nathan@codesourcery.com>
12762
12763 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
12764 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
12765
16026cd7
AS
127662006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
12767
12768 * gdb.base/default.exp: Update source command error message.
12769 * gdb.base/help.exp: Update 'help source' message.
12770
16963cb6
DJ
127712006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
12772
12773 * gdb.cp/bs15503.exp: Update comment for no longer crashing
12774 test.
12775
6d7fd486
AS
127762006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
12777
12778 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
12779
29e8a844
DJ
127802006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12781
12782 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
12783
6afcfa39
DJ
127842006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12785
12786 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
12787
267a692b
MK
127882006-07-17 Mark Kettenis <kettenis@gnu.org>
12789
12790 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
12791 *-*-openbsd* from targets for wich we expect ARM FPA floating
12792 point format.
12793
85d2fec4
NR
127942006-07-17 Nick Roberts <nickrob@snap.net.nz>
12795
12796 * gdb.cp/annota3.exp: Expect frame-begin annotation.
12797
127982006-07-17 Mark Kettenis <kettenis@gnu.org>
12799
12800 * gdb.base/annota3.exp: Expect frame-begin annotation.
12801
85b4c6e8
JB
128022006-07-14 Joel Brobecker <brobecker@adacore.com>
12803
12804 * gdb.base/help.exp: Adjust "help unset" test to accept
12805 any list of unset commands.
12806
fb933624
DJ
128072006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
12808 Daniel Jacobowitz <dan@codesourcery.com>
12809
12810 * gdb.cp/ref-params.exp: New test.
12811 * gdb.cp/ref-params.cc: New source file.
12812 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
12813
1dff4b64
MK
128142006-07-08 Mark Kettenis <kettenis@gnu.org>
12815
12816 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
12817 spaces/tabs in regular expressions since they might not be there.
12818
40d2e0e3
AS
128192006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
12820
12821 * gdb.base/ifelse.exp: New file.
12822
f6c957d2
NS
128232006-07-04 Nathan Sidwell <nathan@codesourcery.com>
12824
12825 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
12826 line.
12827 * gdb.base/huge.exp: Loop over compilation to find a size that
12828 is acceptable.
12829 * gdb.base/remote.exp: Correct expected strings.
12830 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
12831
b9c5a23d
DJ
128322006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12833
12834 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
12835
9af2e58d
DJ
128362006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12837
12838 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
12839 native.
12840
30930ca5
DJ
128412006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12842
12843 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
12844 enable stabs testing.
12845
aa32fa1d
DJ
128462006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12847
bd4a4c80 12848 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
12849 gdb_test_multiple does.
12850
321fef15
DJ
128512006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12852
12853 * Makefile.in (host_alias): Remove.
12854 (target_alias): Use @target_noncanonical@.
12855 (site.exp): Don't set host_alias.
12856 * aclocal.m4: Remove contents. Include acx.m4.
12857 * configure: Regenerated.
12858 * configure.ac: Use ACX_NONCANONICAL_TARGET.
12859
e1c2defa
NS
128602006-06-13 Nathan Sidwell <nathan@codesourcery.com>
12861
e63b55d1
NS
12862 * lib/gdb.exp (gdb_load_cmd): New.
12863
5600ea19
NS
12864 * gdb.base/fileio.c: Add system(NULL) test.
12865 * gdb.base/fileio.exp: Check it.
12866
e1c2defa
NS
12867 * gdb.base/break.c: Add 10a breakpoint at }
12868 * gdb.base/break.exp: Add test for breakpoint at }
12869 * gdb.cp/anon-union.cc: Add code at end of function.
12870 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
12871 * gdb.mi/var-cmd.c: Add code at end of function.
12872 * gdb.mi/mi-var-display.exp: Adjust end of next.
12873 * gdb.mi/mi2-var-display.exp: Likewise.
12874 * gdb.base/fileio.c: Add stop function and insert calls at
12875 stopping places.
12876 * gdb.base/fileio.exp: Breakpoint stop function and remove
12877 explicit line number references.
12878
6c0112ec
JB
128792006-05-19 Joel Brobecker <brobecker@adacore.com>
12880
a9c64011
AS
12881 * gdb.base/del.exp (test_delete_alias): New function.
12882 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 12883
154189a4
FF
128842006-05-18 Fred Fish <fnf@specifix.com>
12885
12886 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
12887 required. Check for spurious output after program exits normally.
12888
582e64c2
FF
128892006-05-17 Fred Fish <fnf@specifix.com>
12890
12891 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
12892 gdb_load, so it works in the simulator.
12893
8ef6493a
FF
128942006-05-11 Fred Fish <fnf@specifix.com>
12895
12896 * gdb.base/bang.exp: Ignore unexpected output between the
12897 "program exited normally" and the gdb prompt, as many other
12898 tests do.
12899
692b141c
MK
129002006-05-07 Mark Kettenis <kettenis@gnu.org>
12901
12902 * gdb.base/help.exp: Make "delete checkpoint" part option for
12903 "help d" and "help delete" tests.
12904
540b8a30
UW
129052006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12906
a9c64011 12907 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
12908 expected output in some mi_gdb_test statements.
12909 * gdb.mi/mi2-basics.exp: Likewise.
12910
9b6462d9
JB
129112006-05-05 Joel Brobecker <brobecker@adacore.com>
12912
12913 * gdb.base/del.c: New file.
12914 * gdb.base/del.exp: New testcase.
12915
954de43b
DM
129162006-05-05 David S. Miller <davem@sunset.davemloft.net>
12917
12918 * gdb.base/break.exp: Do not assume a breakpoint on
12919 main will actually be in $srcfile when optimizing.
1303f75e
DM
12920 * gdb.base/savedregs.exp: Do not require that the dummy
12921 frame location match up to a symbol and source file location.
c3242428
DM
12922 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
12923 will get printed without a mi_cmd_data_list_register_values prefix.
12924 (*-data-list-register-*): Correct regular expressions to expect the new
12925 pseudo d? floating point registers.
12926 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 12927
c7e64c9a
DJ
129282006-05-05 Christophe Lyon <christophe.lyon@st.com>
12929
12930 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
12931 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
12932 is allocated by the compiler.
12933 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
12934 anons, e, anone to force their allocation by the compiler.
12935
129362006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
12937
12938 * gdb.base/help.exp: Update expected text for help d and
12939 help delete.
12940
27ce9a6d
MK
129412006-05-02 Mark Kettenis <kettenis@gnu.org>
12942
12943 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
12944 NetBSD/ELF targets.
12945
8608915f
MK
129462006-04-30 Mark Kettenis <kettenis@gnu.org>
12947
12948 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
12949 single-step breakpoint fails; make this a KFAIL on
12950 sparc*-*-openbsd*.
12951 * gdb.base/siginfo.exp: Likewise.
12952 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12953
b8db102d
MS
129542006-04-26 Michael Snyder <msnyder@redhat.com>
12955
12956 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
12957 which may have to consume output from other forks.
12958 Add tests to make sure that "delete fork" succeeded.
12959
c702009a
MS
129602006-04-20 Michael Snyder <msnyder@redhat.com>
12961
12962 * 2006-03-22 Jim Blandy <jimb@redhat.com>
12963 Add support for the Renesas M32C and M16C.
12964
12965 * gdb.asm/asm-source.exp: Add m32c target.
12966 * gdb.asm/m32c.inc: Support for m32c target.
12967
e28493f2
AS
129682006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
12969
12970 * gdb.base/commands.exp (recursive_source_test): New test.
12971
880da185
DM
129722006-04-04 David S. Miller <davem@sunset.davemloft.net>
12973
12974 * gdb.base/float.exp: Add pattern for sparc targets.
12975
61d9b92f
DJ
129762006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12977
12978 * gdb.base/commands.exp (stray_arg0_test): New test.
12979
bd717df8
PB
129802006-03-30 Paul Brook <paul@codesourcery.com>
12981
12982 * gdb.mi/mi-until.exp: kfail broken until command.
12983 * gdb.mi/mi2-until.exp: Ditto.
12984
ec793d3c
NR
129852006-03-27 Nick Roberts <nickrob@snap.net.nz>
12986
12987 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
12988
831004b7
AO
129892006-03-08 Alexandre Oliva <aoliva@redhat.com>
12990
12991 * gdb.base/prelink.exp: Anchor tested-for regular expression
12992 on gdb prompt.
12993
effe49a0
PB
129942006-03-07 Paul Brook <paul@codesourcery.com>
12995
12996 * gdb.base/assign.exp: Correct fail message.
12997
e5461016
PB
129982006-03-07 Paul Brook <paul@codesourcery.com>
12999
13000 * lib/compiler.c: Extract armcc version number.
13001 * lib/compiler.cc: Ditto.
13002
fc91c6c2
PB
130032006-03-07 Paul Brook <paul@codesourcery.com>
13004
13005 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
13006 additional_flags=-w.
13007 * gdb.arch/altivec-regs.exp: Ditto.
13008 * gdb.arch/e500-abi.exp: Ditto.
13009 * gdb.arch/e500-regs.exp: Ditto.
13010 * gdb.base/all-bin.exp: Ditto.
13011 * gdb.base/annota1.exp: Ditto.
13012 * gdb.base/annota3.exp: Ditto.
13013 * gdb.base/args.exp: Ditto.
13014 * gdb.base/arithmet.exp: Ditto.
13015 * gdb.base/assign.exp: Ditto.
13016 * gdb.base/async.exp: Ditto.
13017 * gdb.base/bang.exp: Ditto.
13018 * gdb.base/break.exp: Ditto.
13019 * gdb.base/call-rt-st.exp: Ditto.
13020 * gdb.base/completion.exp: Ditto.
13021 * gdb.base/cond-expr.exp: Ditto.
13022 * gdb.base/condbreak.exp: Ditto.
13023 * gdb.base/consecutive.exp: Ditto.
13024 * gdb.base/define.exp: Ditto.
13025 * gdb.base/display.exp: Ditto.
13026 * gdb.base/ena-dis-br.exp: Ditto.
13027 * gdb.base/environ.exp: Ditto.
13028 * gdb.base/eval-skip.exp: Ditto.
13029 * gdb.base/info-proc.exp: Ditto.
13030 * gdb.base/jump.exp: Ditto.
13031 * gdb.base/logical.exp: Ditto.
13032 * gdb.base/long_long.exp: Ditto.
13033 * gdb.base/maint.exp: Ditto.
13034 * gdb.base/miscexprs.exp: Ditto.
13035 * gdb.base/pc-fp.exp: Ditto.
13036 * gdb.base/pointers.exp: Ditto.
13037 * gdb.base/relational.exp: Ditto.
13038 * gdb.base/reread.exp: Ditto.
13039 * gdb.base/sect-cmd.exp: Ditto.
13040 * gdb.base/sep.exp: Ditto.
13041 * gdb.base/sepdebug.exp: Ditto.
13042 * gdb.base/until.exp: Ditto.
13043 * gdb.base/whatis-exp.exp: Ditto.
13044 * gdb.cp/annota2.exp: Ditto.
13045 * gdb.cp/annota3.exp: Ditto.
13046 * gdb.trace/actions.exp: Ditto.
13047 * gdb.trace/backtrace.exp: Ditto.
13048 * gdb.trace/circ.exp: Ditto.
13049 * gdb.trace/collection.exp: Ditto.
13050 * gdb.trace/deltrace.exp: Ditto.
13051 * gdb.trace/infotrace.exp: Ditto.
13052 * gdb.trace/limits.exp: Ditto.
13053 * gdb.trace/packetlen.exp: Ditto.
13054 * gdb.trace/passc-dyn.exp: Ditto.
13055 * gdb.trace/passcount.exp: Ditto.
13056 * gdb.trace/report.exp: Ditto.
13057 * gdb.trace/save-trace.exp: Ditto.
13058 * gdb.trace/tfind.exp: Ditto.
13059 * gdb.trace/tracecmd.exp: Ditto.
13060 * gdb.trace/while-dyn.exp: Ditto.
13061 * gdb.trace/while-stepping.exp: Ditto.
13062 * lib/gdb.exp: Ditto.
13063 (gdb_compile): Handle nowarning option.
13064
5f4a23d9
AO
130652006-03-07 Alexandre Oliva <aoliva@redhat.com>
13066
13067 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
13068 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
13069 Rename executable to prelinkt. Don't re-prelink if we didn't
13070 get a core file. Test prelink -u exit status to tell whether
13071 prelinking failed. Use gdb_test_multiple.
13072
9733fc94
DJ
130732006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
13074
13075 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
13076 (do_tests): Call it.
13077
cc10cae3
AO
130782006-02-28 Alexandre Oliva <aoliva@redhat.com>
13079
13080 * gdb.base/prelink.exp: New test.
13081 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
13082
15c46491
WZ
130832006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
13084
13085 * gdb.fortran/derived-type.f90: New file.
13086 * gdb.fortran/derived-type.exp: New testcase.
13087
5c9f7ded
DJ
130882006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
13089
13090 * gdb.base/default.exp: Allow ';' as a directory separator.
13091
5b96932b
AS
130922006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13093
13094 * gdb.base/help.exp (help add-symbol-file): Update.
13095
1986bccd
AS
130962006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13097
13098 * gdb.base/help.exp (help load): Update expected results.
13099
a8b7528f
FF
131002006-02-19 Fred Fish <fnf@specifix.com>
13101
13102 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
13103 specifix hex value as part of results.
13104 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 13105
f8261448
FF
131062006-02-16 Fred Fish <fnf@specifix.com>
13107
13108 * gdb.base/whatis.c: Define variables using typedefs char_addr,
13109 ushort_addr, and slong_addr, so the typedefs are not optimized
13110 away.
13111 * gdb.base/whatis.exp: Add tests using type name for struct type,
13112 union type, enum type, and typedef.
a9c64011 13113
31d8bdd2
MK
131142006-02-13 Mark Kettenis <kettenis@gnu.org>
13115
13116 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
13117
34e41e63
JB
131182006-02-13 Jim Blandy <jimb@redhat.com>
13119
13120 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
13121 case where it takes two "next" commands to skip past the init
13122 call.
13123
ac6e4f31
FF
131242006-02-12 Fred Fish <fnf@specifix.com>
13125
13126 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
13127 to handle cases where it takes two "next" commands to skip
13128 past the init call.
13129
2db2d571
JB
131302006-02-07 Joel Brobecker <brobecker@adacore.com>
13131
13132 * gdb.ada/array_return.exp: Mark the last test as expected to fail
13133 on hppa32 targets.
13134
38fcd64c
DJ
131352006-02-06 Vladimir Prus <ghost@cs.msu.su>
13136
13137 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
13138 field.
13139
1315ad46
MK
131402006-01-29 Mark Kettenis <kettenis@gnu.org>
13141
13142 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
13143
5625b943
DJ
131442006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13145
13146 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
13147 files.
13148
80df1bbe
DJ
131492006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13150
13151 * gdb.cp/maint.exp: Set complaints to a positive value.
13152
9078e690
DJ
131532006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13154
13155 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
13156 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
13157 function name.
13158
9c903399
DJ
131592006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13160
13161 * gdb.base/checkpoint.c: Update copyright notice. Include
13162 <stdlib.h>.
13163
761ae4d6
JB
131642006-01-04 Jim Blandy <jimb@redhat.com>
13165
13166 * gdb.asm/asm-source.exp: Independently provide default values for
13167 asm-flags and debug-flags. Use 'string equal' to do the
13168 comparison, not the implicit expr's '==' operator. Remove
13169 now-unneeded assignments to asm-flags. In h8300 case, place
13170 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
13171
099ac3dd
MS
131722006-01-04 Michael Snyder <msnyder@redhat.com>
13173
13174 * gdb.base/checkpoint.c: New file.
13175 * gdb.base/checkpoint.exp: New file.
13176 * gdb.base/multi-fork.c: New file.
13177 * gdb.base/multi-fork.exp: New file.
13178 * gdb.base/pi.txt: New file (data for checkpoint.c test).
13179
f4d85314
FF
131802006-01-04 Fred Fish <fnf@specifix.com>
13181
13182 * gdb.base/ptype.c (foo): Add typedef.
13183 (intfoo): Add function.
13184 * gdb.base/ptype1.c: New file.
13185 * gdb.base/ptype.exp: Handle compilation and linking with two
13186 source files. Test that proper type for "foo" is found based
13187 on source context rather than first match found in symtabs.
13188
a1b06f35
MK
131892005-12-28 Mark Kettenis <kettenis@gnu.org>
13190
13191 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
13192 * gdb.asm/openbsd.inc: Indent commands.
13193
d082a1e2
MK
131942005-12-26 Mark Kettenis <kettenis@gnu.org>
13195
c65016bd
MK
13196 * gdb.base/freebpcmd.exp: Increase timeout.
13197
d082a1e2
MK
13198 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
13199
d3c32a0e
DJ
132002005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
13201
13202 * gdb.base/default.exp: Update check for "show version".
13203
9fdb1f50
RC
132042005-12-09 Randolph Chung <tausq@debian.org>
13205
13206 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
13207 * gdb.asm/pa64.inc: New file.
13208
5f2c56f7
RC
132092005-12-09 Randolph Chung <tausq@debian.org>
13210
13211 * gdb.asm/common.inc: Indent commands.
13212 * gdb.asm/asmsrc1.s: Likewise.
13213 * gdb.asm/asmsrc2.s: Likewise.
13214
8117349c
RC
132152005-12-09 Randolph Chung <tausq@debian.org>
13216
13217 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
13218 (get_addr_of_sym): Remove duplicate print.
13219 (gen_core): xfail hppa*-*-hpux*, update expected output.
13220 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
13221 * gdb.arch/pa64-nullify.s: New file.
13222
8f07f25a
RC
132232005-12-09 Randolph Chung <tausq@debian.org>
13224
13225 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
13226
55b39184
DJ
132272005-12-07 Christophe Lyon <christophe.lyon@st.com>
13228
13229 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
13230 code generation for these functions.
13231 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
13232 error message.
13233
31e2b00f
AS
132342005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
13235
13236 * gdb.base/help.exp (help b, help br, help bre, help brea)
13237 (help break): Update the expected message.
13238
c3d0b56e
SC
132392005-11-11 Stephane Carrez <stcarrez@nerim.fr>
13240
13241 * gdb.asm/m68hc11.inc: Setup the data section.
13242 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
13243 script for this test.
13244 (m6812-*-*): Likewise.
13245
36ae0ea9
RC
132462005-11-09 Randolph Chung <tausq@debian.org>
13247
13248 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
13249
9d6f42e9
WZ
132502005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
13251
13252 * gdb.base/break.exp: Fix a comment typo.
13253
e2126a14
EZ
132542005-11-03 Jim Blandy <jimb@redhat.com>
13255
a9c64011
AS
13256 Checked in by Elena Zannoni <ezannoni@redhat.com>
13257
889bf7c5 13258 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 13259
e0ac7199
CV
132602005-11-02 Corinna Vinschen <vinschen@redhat.com>
13261
13262 * gdb.arch/gdb1558.c: Include stdio.h.
13263
31d3fb18
MK
132642005-10-31 Mark Kettenis <kettenis@gnu.org>
13265
13266 * gdb.asm/asm-source.exp: Use -e instead of --entry.
13267
e52b687c
MK
132682005-10-31 Mark Kettenis <kettenis@gnu.org>
13269
13270 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
13271
f4711d79
PG
132722005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
13273
a9c64011
AS
13274 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13275 vscr" tests to better match output.
f4711d79 13276
987a9106
JB
132772005-10-12 Jim Blandy <jimb@redhat.com>
13278
13279 * gdb.base/structs.exp (any): New function.
13280 (test_struct_returns): Don't make any assumptions at all about
13281 what value the function returns when GDB can't set the return
13282 value.
13283
2336bb58
JB
132842005-10-09 Joel Brobecker <brobecker@adacore.com>
13285
13286 * gdb.ada/arrayidx/p.adb: New file.
13287 * gdb.ada/arrayidx.exp: New testcase
13288
132892005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
13290
13291 * gdb.ada/array_return/pck.ads: New file.
13292 * gdb.ada/array_return/pck.adb: New file.
13293 * gdb.ada/array_return/p.adb: New file.
13294 * gdb.ada/array_return.exp: New testcase.
13295
705335ea
JB
132962005-10-03 Joel Brobecker <brobecker@adacore.com>
13297
a9c64011
AS
13298 * gdb.base/arrayidx.c: New file.
13299 * gdb.base/arrayidx.exp: New testcase.
705335ea 13300
11ee9940
NR
133012005-09-29 Nick Roberts <nickrob@snap.net.nz>
13302
13303 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
13304 frames-invalid and breakpoints-invalid are no longer generated
13305 with level 3 so don't expect them in the output.
13306
39fb8e9e
BR
133072005-09-27 Bob Rossi <bob@brasko.net>
13308
a9c64011 13309 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
13310 from test. Escape the | in mi_gdb_test call.
13311 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
13312 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
13313 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
13314 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
13315 expected regex's in mi_gdb_test calls.
13316 * lib/mi-support.exp: Remove arbitrary .* from tests.
13317 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
13318 Fully anchor GDB/MI expected results in mi_gdb_test.
13319 * lib/gdb.exp (string_to_regexp): Escape the ] character.
13320 * gdb.base/sizeof.exp: Remove escape character. Correct test.
13321
2af48f68
PB
133222005-09-26 Paul Brook <paul@codesourcery.com>
13323
13324 * long_long.exp: Exclude eabi targets from arm FPA float format test.
13325
f34502bc
WZ
133262005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13327
13328 * bfp-test.c: New file.
13329 * bfp-test.exp: New testcase.
13330
ca929517
WZ
133312005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13332
13333 * gdb.fortran/subarray.exp: New testcase to test the evaluation
13334 of subarray and substring variable.
13335 * gdb.fortran/subarray.f: New source file for the test of subarray
13336 and substring variable evaluation.
13337 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
13338 of string constant.
13339
c761af65
DJ
133402005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
13341
13342 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
13343 copyright dates.
13344
561d7a1d
PG
133452005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
13346
13347 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
13348 powerpc altivec' test with an almost identical 'info vector' test.
13349
b2b64cc9
PG
133502005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13351
a9c64011
AS
13352 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13353 vscr" tests to match output.
b2b64cc9 13354
6ac4d15a
PG
133552005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13356
a9c64011
AS
13357 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
13358 output.
6ac4d15a 13359
40e55bef
BR
133602005-09-11 Bob Rossi <bob@brasko.net>
13361
889bf7c5
PA
13362 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
13363 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
13364 commands that return an MI output command and an asyncronous MI output
13365 command.
40e55bef
BR
13366 * gdb.mi/mi-console.exp: Ditto.
13367
3c7385ec
BR
133682005-09-11 Bob Rossi <bob@brasko.net>
13369
13370 * gdb.mi/mi-var-child.c: Include <string.h>.
13371
a6cd0eb3
DJ
133722005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
13373
13374 * killed.exp: Correct gdb_expect syntax.
13375
2f168eed
CV
133762005-08-09 Corinna Vinschen <vinschen@redhat.com>
13377
13378 * lib/mi-support.exp (mi_gdb_load): Fix typo.
13379
ecd3fd0f
BR
133802005-08-02 Bob Rossi <bob@brasko.net>
13381
13382 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
13383 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
13384 Change tests to inferior-tty-set/show.
13385 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
13386 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
13387 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
13388 inferior. Use mi_gdb_test to get GDB and Inferior output.
13389 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
13390 descriptor.
13391 (mi_inferior_tty_name): Add inferior PTY file name.
13392 (mi_gdb_start): Add INFERIOR_PTY parameter.
13393 (mi_gdb_test): Add IPATTERN parameter.
13394
f1ea48cb 133952005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 13396
f1ea48cb
BR
13397 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
13398 parameter to mi_gdb_test.
13399 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
13400
6e650a67
DJ
134012005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13402
13403 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
13404 struct_declarations.
13405 * gdb.mi/mi-var-child.exp: Step over the initialization of
13406 struct_declarations.
13407
8be260b6
DJ
134082005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13409
13410 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
13411 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
13412 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
13413 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
13414 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
13415 file.
13416
4e660f07
NR
134172005-07-27 Nick Roberts <nickrob@snap.net.nz>
13418
13419 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
13420 (do_children_tests): Assign values to the extra elements.
13421
13422 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
13423 them for tests for "-var-update --no-values" and
a9c64011 13424 "-var-update --all-values".
4e660f07
NR
13425 Add test for "-var-list-children --simple-values".
13426
13427 * gdb.mi/basics.c (callee4): Add integer array D[3]...
13428
13429 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
13430 "-stack-list-locals --simple-values" Improve doc strings and
13431 comments.
13432
6bdae935
MK
134332005-07-18 Mark Kettenis <kettenis@gnu.org>
13434
598b7a6f
MK
13435 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
13436 *-*-openbsd*.
13437 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
13438
6bdae935
MK
13439 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
13440 sigaltsatck'.
13441
1323e929 134422005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 13443
1323e929
BR
13444 * gdb.base/default.exp (tty): Changed output of command.
13445 * gdb.base/help.exp (help tty): Ditto.
13446
b1a9c082
MK
134472005-07-12 Mark Kettenis <kettenis@gnu.org>
13448
13449 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
13450
10a844a2
MK
134512005-07-10 Mark Kettenis <kettenis@gnu.org>
13452
13453 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
13454 -stack-select-frame without arguments.
13455 (test_stack_frame_listing): Add test for newly implemented command
13456 -stack-info-frame.
13457
3cb3b8df
BR
134582005-07-06 Bob Rossi <bob@brasko.net>
13459
13460 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
13461 command.
13462 (Copyright): Update copyright.
13463
a0c5fbcf
WZ
134642005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
13465
13466 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
13467 tests to evaluate exponentiation expression.
13468
984971d0
AS
134692005-06-29 Andreas Schwab <schwab@suse.de>
13470
13471 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
13472 main to avoid warnings.
13473
13474 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
13475
fe03833f
NR
134762005-06-20 Nick Roberts <nickrob@snap.net.nz>
13477
13478 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
13479 -stack-select-frame without arguments.
13480 (test_stack_frame_listing): Add test for newly implemented command
13481 -stack-info-frame.
a9c64011 13482
7a55f279
WZ
134832005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
13484
0ffa0ea5
DJ
13485 * gdb.fortran/array-element.f: New file.
13486 * gdb.fortran/array-element.exp: New testcase.
7a55f279 13487
26585198
DJ
134882005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13489
13490 * gdb.base/bigcore.exp: Correct checks for systems which can
13491 not dump a large core file.
13492
c1bd25fd
DJ
134932005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13494
13495 * gdb.base/relocate.c: Add a copyright notice.
13496 (dummy): Remove.
13497 * gdb.base/relocate.exp: Test printing the values of variables
13498 from a relocatable file.
13499
589e074d
DJ
135002005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
13501
13502 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
13503 excess MI output after an error.
13504
0915f927
JB
135052005-05-29 Joel Brobecker <brobecker@adacore.com>
13506
13507 * gdb.arch/alpha-step.c: New file.
13508 * gdb.arch/alpha-step.exp: New testcase.
13509
76ff342d
DJ
135102005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
13511 Dennis Brueni <dennis@slickedit.com>
13512
13513 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
13514 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
13515 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
13516 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
13517 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13518 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
13519 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
13520
96b0c7ac
DJ
135212005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
13522 Wu Zhou <woodzltc@cn.ibm.com>
13523
13524 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
13525 IBM's xlc compiler.
13526 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
13527 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
13528
f21565d2
JB
135292005-05-13 Jim Blandy <jimb@redhat.com>
13530
13531 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
13532 calling gdb_suppress_entire_file.
13533 * gdb.base/charset.exp: Same.
13534 * gdb.base/call-rt-st.exp: Same.
13535
6006a3a1
BR
135362005-05-05 Bob Rossi <bob_rossi@cox.net>
13537
13538 * lib/gdb.exp (fullname_syntax): Added global regex.
13539 (fullname_syntax_POSIX): Ditto.
13540 (fullname_syntax_UNC): Ditto.
13541 (fullname_syntax_DOS_CASE): Ditto.
13542 (fullname_syntax_DOS): Ditto.
13543 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
13544 fullname_syntax variable to scope and use it.
13545 (test_file_list_exec_source_files): Ditto.
13546 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
13547
c3b69c04
DJ
135482005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
13549
13550 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
13551
3c95e6af
PG
135522004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
13553
a9c64011
AS
13554 * lib/gdb.exp (skip_altivec_tests): New function, based on
13555 check_vmx_hw_available from the GCC testsuite.
13556 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
13557 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 13558
78df6c56
JB
135592005-05-02 Jim Blandy <jimb@redhat.com>
13560
13561 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
13562 calling gdb_suppress_entire_file.
13563
1690f9cf
DJ
135642005-04-30 Randolph Chung <tausq@debian.org>
13565
13566 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
13567 Slightly relax "sem_post" name checking.
13568
5ea106f7
PG
135692005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13570
13571 * gdb.base/unload.exp: Use new shared library infrastructure.
13572
bf7234cf
PG
135732005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13574
13575 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 13576 infrastructure.
bf7234cf 13577
547b869a
CV
135782005-04-29 Corinna Vinschen <vinschen@redhat.com>
13579
13580 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
13581 * gdb.asm/h8300.inc: New file.
13582
f07e55f0
PG
135832005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13584
13585 * gdb.base/shlib-call.exp: Change to use new shared library
13586 infrastructure.
13587
3cbba3d1
PG
135882005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13589
a9c64011
AS
13590 * gdb.base/pending.exp: Change to use new shared library
13591 infrastructure.
3cbba3d1 13592
ed6df200
PG
135932005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13594
a9c64011
AS
13595 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
13596 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 13597
8c8f4ebe
PG
135982005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
13599
a9c64011
AS
13600 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
13601 shared objects being adjusted and update copyright years.
8c8f4ebe 13602
607fbc54
DJ
136032005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
13604
13605 * ChangeLog: Correct some 2003-01-13 dates.
13606 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
13607 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
13608 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
13609 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
13610 gdb.trace/tfind.exp: Update copyright years.
13611
57bf0e56
DJ
136122005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
13613 Daniel Jacobowitz <dan@codesourcery.com>
13614
13615 * lib/gdb.exp (gdb_compile): Handle shlib=.
13616 (gdb_compile_shlib): New function.
13617
9b593790
PG
136182005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
13619
a9c64011 13620 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 13621
9494c6a5
DJ
136222005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13623
13624 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
13625 gdb.server.
13626 * configure.ac: Likewise.
13627 * configure: Regenerated.
13628 * gdb.gdbserver/Makefile.in: Moved to...
13629 * gdb.server/Makefile.in: ... here.
13630 * gdb.gdbserver/server.c: Moved to...
13631 * gdb.server/server.c: ... here.
13632 * gdb.gdbserver/server-run.exp: Moved to...
13633 * gdb.server/server-run.exp: ... here.
13634
6f8eac0e
DJ
136352005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13636
13637 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
13638 * configure.ac: Create gdb.gdbserver/Makefile.
13639 * configure: Regenerated.
13640 * lib/gdbserver-support.exp: New file, derived from
13641 config/gdbserver.exp.
13642 * config/gdbserver.exp: Use gdbserver-support.exp.
13643 * gdb.gdbserver/Makefile.in: New file.
13644 * gdb.gdbserver/server.c: New file.
13645 * gdb.gdbserver/server-run.exp: New file.
13646
6e87504d
PG
136472005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
13648
a9c64011
AS
13649 * lib/gdb.exp (test_compiler_info): Return compiler_info
13650 if no arguments are given.
6e87504d 13651
d1779be4
PG
136522005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
13653
13654 * gdb.arch/altivec-abi.exp: Check for compiler and set
13655 use altivec' flag accordingly.
13656 * gdb.arch/altivec-regs.exp: Likewise.
13657
88750304
DJ
136582005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
13659
13660 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
13661
f3fb768d
AS
136622005-03-27 Andreas Schwab <schwab@suse.de>
13663
13664 * gdb.base/bigcore.c (main): Add missing mode argument in open
13665 call.
13666
7e813ac5
DJ
136672005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
13668
13669 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
13670 downloads.
13671 * config/gdbserver.exp (gdb_load): Likewise.
13672
8e3049aa
PB
136732005-03-14 Paul Brook <paul@codesourcery.com>
13674
13675 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
13676 targets.
13677
a9df7c44
JB
136782005-03-09 Joel Brobecker <brobecker@adacore.com>
13679
13680 * gdb.dwarf2/dup-psym.S: New file.
13681 * gdb.dwarf2/dup-psym.exp: New testcase.
13682
9f0d94e8
JB
136832005-03-09 Joel Brobecker <brobecker@adacore.com>
13684
13685 * gdb.ada/exec_changed/first.adb: New file.
13686 * gdb.ada/exec_changed/second.adb: New file.
13687 * gdb.ada/exec_changed.exp: New testcase.
13688
5f579bc5
NS
136892005-03-08 Nathan Sidwell <nathan@codesourcery.com>
13690
36e9969c
NS
13691 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
13692 (A2): New class.
13693 (main): Test operator+.
13694 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
13695 breakpoint test.
13696
5f579bc5
NS
13697 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
13698 * gdb.base/signull.exp: Disable if gdb,nosignals.
13699 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
13700 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
13701 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
13702 * gdb.mi/mi2-console.exp: Likewise.
13703 * gdb.trace/collection.exp (run_trace_experiment): Consume the
13704 continue output at start.
13705 (gdb_collect_locals_test): Robustify regexp.
13706 * gdb.trace/passc-dyn.exp: Fix comment typo.
13707 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
13708
be46087e
CV
137092005-03-08 Corinna Vinschen <vinschen@redhat.com>
13710
13711 * gdb.asm/asm-source.exp: Add iq2000 case.
13712 * gdb.asm/iq2000.inc: New file.
13713
384e1a61 137142005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 13715
384e1a61
MI
13716 * gdb.base/command.exp: Change hardcoded value to regular expression.
13717 * gdb.base/float.exp: Add powerpc to the list of targets checked.
13718
584b6e9e
DJ
137192005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
13720
13721 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
13722 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
13723 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
13724 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
13725 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
13726
ab5b5d61
MK
137272005-03-05 Mark Kettenis <kettenis@gnu.org>
13728
13729 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
13730 changes.
13731
ae051c1b
PG
137322004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
13733
a9c64011
AS
13734 * lib/compiler.c: Add test for IBM's xlc compiler.
13735 * lib/compiler.cc: Likewise.
ae051c1b 13736
3f0f6ed2
JB
137372004-02-24 Joel Brobecker <brobecker@adacore.com>
13738
13739 * gdb.ada/fixed_points.exp: Create compilation object directory
13740 before running the test.
13741 * gdb.ada/null_record.exp: Likewise.
13742 * gdb.ada/packed_array.exp: Likewise.
13743 * gdb.ada/start.exp: Likewise.
13744
724f452b
JB
137452005-02-15 Joel Brobecker <brobecker@adacore.com>
13746
13747 * gdb.ada/packed_array/pa.adb: New file.
13748 * gdb.ada/packed_array.exp: New testcase.
13749
57f5cdfb 137502005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 13751
1f393151
MK
13752 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
13753 files.
13754
ebdda337
MK
13755 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
13756 on *-*-openbsd*. Correctly match whitespace in regukar
13757 expressions.
13758
cf309262
DJ
137592005-02-10 Daniel Jacobowitz <dan@debian.org>
13760
13761 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
13762 PR exp/1821
13763 * gdb.base/gdb1821.c: New test file.
13764 * gdb.base/gdb1821.exp: New test file.
13765
3be49e7a
JB
137662005-02-09 Joel Brobecker <brobecker@adacore.com>
13767
13768 * gdb.base/start.c: New file.
13769 * gdb.base/start.exp: New testcase.
13770
e292e67d
JB
137712005-02-09 Joel Brobecker <brobecker@adacore.com>
13772
13773 * gdb.ada/start/dummy.adb: New file.
13774 * gdb.ada/start.exp: New testcase.
13775
dbdfa66c
CV
137762005-02-09 Corinna Vinschen <vinschen@redhat.com>
13777
13778 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
13779 for printing symbols and statistics.
13780 Add test for using relative pathnames in "maint print msymbols" test.
13781 Mark "maint info sections DATA" XFAIL on Cygwin.
13782 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
13783 tests.
13784
d7941671
AC
137852005-02-09 Andreas Schwab <schwab@suse.de>
13786
13787 Committed by Andrew Cagney <cagney@gnu.org>
13788 * gdb.base/remotetimeout.exp: New file.
13789
74e5ef44
MK
137902005-02-07 Mark Kettenis <kettenis@gnu.org>
13791
13792 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
13793
464dd14d
JB
137942005-02-03 Joel Brobecker <brobecker@adacore.com>
13795
13796 * gdb.ada/gnat_ada.gpr: New file.
13797 * gdb.ada/gnat_ada.gin: Delete, no longer used.
13798 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
13799 * configure.ac: No longer generate gnat_ada.gpr.
13800 * configure: Regenerate.
13801 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
13802 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
13803 * gdb.ada/null_record/bar.ads: Likewise.
13804 * gdb.ada/null_record/bar.adb: Likewise.
13805 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
13806 * gdb.ada/null_record.exp (testdir): New variable.
13807 (testfile): executable is now in testdir subdirectory.
13808 (srcfile): Use full path to the main compilation unit.
13809 * gdb.ada/fixed_points.exp: Same changes as above.
13810
30d756ae
NR
138112005-02-03 Nick Roberts <nickrob@snap.net.nz>
13812
13813 * gdb.base/interp.exp: New test.
13814
9d799f85
AC
138152005-01-24 Andrew Cagney <cagney@gnu.org>
13816
13817 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
13818
15656118
AC
138192005-01-19 Andrew Cagney <cagney@gnu.org>
13820
a892c31b
AC
13821 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
13822 configure.ac not configure.in.
13823
15656118
AC
13824 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
13825 of powerpc*-*-*.
13826 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 13827 * gdb.base/list.exp (test_list_function)
15656118
AC
13828 (test_list_filename_and_function): Ditto.
13829 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
13830
a7b01baf
AC
138312005-01-16 Andrew Cagney <cagney@gnu.org>
13832
17d92a02
AC
13833 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
13834
a7b01baf
AC
13835 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
13836
bc8332bb
AC
138372005-01-14 Andrew Cagney <cagney@gnu.org>
13838
13839 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
13840 * gdb.mi/mi2-var-cmd.exp: Ditto.
13841
4d074752
CV
138422005-01-10 Corinna Vinschen <vinschen@redhat.com>
13843
13844 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
13845
bec39cab
AC
138462005-01-07 Andrew Cagney <cagney@gnu.org>
13847
13848 * configure.ac: Rename configure.in, require autoconf 2.59.
13849 * configure: Re-generate.
13850 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
13851 * gdb.stabs/configure: Re-generate.
13852 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
13853 * gdb.hp/configure: Re-generate.
13854 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
13855 autoconf 2.59.
13856 * gdb.hp/gdb.objdbg/configure: Re-generate.
13857 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
13858 autoconf 2.59.
13859 * gdb.hp/gdb.defects/configure: Re-generate.
13860 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
13861 autoconf 2.59.
13862 * gdb.hp/gdb.compat/configure: Re-generate.
13863 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
13864 autoconf 2.59.
13865 * gdb.hp/gdb.base-hp/configure: Re-generate.
13866 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
13867 autoconf 2.59.
13868 * gdb.hp/gdb.aCC/configure: Re-generate.
13869
f10b16d4
JB
138702004-12-15 Jim Blandy <jimb@redhat.com>
13871
13872 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
13873 under NPTL when there is debugging info available for libpthread.
13874
fb6e1814
JG
138752004-12-13 Jerome Guitton <guitton@gnat.com>
13876
13877 * gdb.ada/fixed_points.c: New file.
13878 * gdb.ada/fixed_points.exp: New file.
13879
fe46cd3a
RC
138802004-12-03 Randolph Chung <tausq@debian.org>
13881
13882 * gdb.arch/pa-nullify.exp: New file.
13883 * gdb.arch/pa-nullify.s: New file.
13884
8de0841b
RC
138852004-11-30 Randolph Chung <tausq@debian.org>
13886
13887 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
13888 instead of "tbug". Fix regexp to work properly with gdb_test.
13889
c8170782
PH
138902004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
13891
13892 * gdb.base/bitfields2.exp: New test.
13893 * gdb.base/bitfields2.c: New file.
13894
954269c2
RE
138952004-11-28 Richard Earnshaw <rearnsha@arm.com>
13896
13897 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
13898
0107feed
RC
138992004-11-16 Randolph Chung <tausq@debian.org>
13900
13901 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
13902
f073ae8c
DJ
139032004-11-14 Daniel Jacobowitz <dan@debian.org>
13904
13905 * gdb.threads/threadapply.exp: Correct "macro details" test.
13906
19ad59e7
JJ
139072004-11-11 Jeff Johnston <jjohnstn@redhat.com>
13908
13909 * gdb.threads/threadapply.exp: New test.
13910 * gdb.threads/threadapply.c: New file.
13911
9cf0961b
MK
139122004-11-07 Mark Kettenis <kettenis@gnu.org>
13913
13914 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
13915 frames.
13916
c789492a
FL
139172004-11-05 Felix Lee <felix+log1@specifixinc.com>
13918
13919 * gdb.base/cursal.exp: New file.
13920 * gdb.base/cursal.c: New file.
13921
a1e167bb
AC
139222004-11-03 Andrew Cagney <cagney@gnu.org>
13923
13924 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
13925
b7cbf173
MK
139262004-10-30 Mark Kettenis <kettenis@gnu.org>
13927
13928 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
13929 NetBSD/ELF targets.
13930
88f9d34f
JB
139312004-10-29 Joel Brobecker <brobecker@gnat.com>
13932
13933 * gdb.threads/bp_in_thread.c: New file, copied from
13934 pthread_cond_wait.c.
13935 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
13936 file, rather than reusing the .c file from another testcase.
13937
ca7d6a0c
JB
139382004-10-20 Joel Brobecker <brobecker@gnat.com>
13939
13940 * gdb.ada/null_record.exp: Check where we stopped after
13941 sending the start command, instead of where the associated
13942 temporary breakpoint was inserted.
13943
0d863d03
AC
139442004-10-14 Andrew Cagney <cagney@gnu.org>
13945
13946 * gdb.mi/gdb701.c (main): Return 0.
13947
d11e72cb
DJ
139482004-10-13 Daniel Jacobowitz <dan@debian.org>
13949
d40539a4 13950 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 13951
e1923096
JJ
139522004-10-12 Jeff Johnston <jjohnstn@redhat.com>
13953
13954 * gdb.threads/schedlock.c: Add comment markers to use to find
13955 line numbers.
13956 * gdb.threads/schedlock.exp: Adjust regex to handle the new
13957 comments.
13958 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
13959 breakpoint lines.
13960
ec8ba2c9
DJ
139612004-10-12 Daniel Jacobowitz <dan@debian.org>
13962
13963 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
13964
0eb3658b
DJ
139652004-10-12 Daniel Jacobowitz <dan@debian.org>
13966
13967 * configure.in: Add gdb.dwarf2.
13968 * configure: Regenerated.
13969 * Makefile.in: Add gdb.dwarf2.
13970 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
13971 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
13972 gdb.dwarf2/file1.txt: New files.
13973
a271cc33
OF
139742004-10-11 Orjan Friberg <orjanf@axis.com>
13975
a9c64011 13976 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
13977 of "run", since the latter doesn't work with remote targets. Adjust
13978 the breakpoint numbering accordingly.
13979 * gdb.threads/pthread_cond_wait.exp: Ditto.
13980
895ce074
MC
139812004-10-08 Michael Chastain <mec.gnu@mindspring.com>
13982
13983 * gdb.base/overlays.exp: Update copyright years.
13984
6be3092d
KI
139852004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
13986
13987 * gdb.base/overlays.exp: Disable if target is Linux.
13988
e05389b8
FL
139892004-10-06 Felix Lee <felix+log1@specifixinc.com>
13990
13991 * config/gdbserver.exp (gdb_load): Use right filename on remote.
13992
73cb587d
KI
139932004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
13994
13995 * gdb.asm/asm-source.exp: Add m32r-linux target.
13996 * gdb.asm/m32r-linux.inc: New file.
13997
3c0edcdc
AC
139982004-09-24 Andrew Cagney <cagney@redhat.com>
13999 David Anderson <anderson@redhat.com>
14000
14001 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
14002 command fails, assume things will work.
14003 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
14004 (_GNU_SOURCE): Define.
14005 (print_unsigned, print_hex): Change parameter to "long long".
14006 (print_byte_count): New function, use to print byte counts.
14007 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
14008 O_LARGEFILE.
14009 (main): Compute an upper bound on a corefile in max_core_size.
14010 Limit memory chunk size to max_core_size. Limit total memory
14011 allocated to max_core_size.
14012
4bb3667f
AC
140132004-09-23 Andrew Cagney <cagney@gnu.org>
14014
14015 * gdb.base/bigcore.exp: Replace the code that creates a corefile
14016 from a separate process with code that creates a corefile by
14017 making the inferior dump core.
14018
60fe1a51
MK
140192004-09-23 Mark Kettenis <kettenis@gnu.org>
14020
14021 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
14022 block.
14023
8e937346
MC
140242004-09-23 Michael Chastain <mec.gnu@mindspring.com>
14025
14026 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
14027 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
14028 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
14029 Likewise.
14030
7213f6d6
JJ
140312004-09-20 Jeff Johnston <jjohnstn@redhat.com>
14032
14033 * gdb.java/jprint.exp: New test case for java inferior call.
14034 * gdb.java/jprint.java: Ditto.
14035
eac69dca
JB
140362004-09-15 Joel Brobecker <brobecker@gnat.com>
14037
14038 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
14039
22227696
MC
140402004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14041
14042 * gdb.threads/killed.c: Include <stdlib.h>.
14043 * gdb.threads/pthreads.c: Likewise.
14044
7dd403a4
MC
140452004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14046
14047 * gdb.threads/killed.c: Add copyright notice.
14048
33f2d567
JM
140492004-09-10 Jason Molenda (jmolenda@apple.com)
14050
a9c64011
AS
14051 * gdb.base/define.exp: Two new tests to verify zero space chars
14052 after 'if' and 'while' commands in a user-defined command is correctly
14053 parsed.
33f2d567 14054
e05b62ac
AC
140552004-09-08 Andrew Cagney <cagney@gnu.org>
14056
14057 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
14058 delivery test with duplicate at end of file.
14059
9cbe82da
MK
140602004-09-06 Mark Kettenis <kettenis@jive.nl>
14061
14062 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
14063
564803d9
MC
140642004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14065
14066 * config/hppro.exp: Removed.
14067
7c6807ce
MC
140682004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14069
14070 * config/sparclet.exp: Removed.
14071
bf7e26dd
MC
140722004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14073
14074 * config/udi.exp: Removed.
14075
714e341b
MC
140762004-09-02 Michael Chastain <mec.gnu@mindspring.com>
14077
14078 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
14079 of "exp_continue".
14080 (advancei): Likewise.
14081
1236e623
JJ
140822004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14083
14084 * gdb.base/unload.exp: Fix so messages aren't duplicated.
14085
3bdcad15
MI
140862004-09-01 Manoj Iyer <manjo@austin.ibm.com>
14087
228af206 14088 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
14089 to check for nodebug in executable.
14090 * gdb.gdb/observer.exp (setup_test): Likewise.
14091 * gdb.gdb/selftest.exp (test_with_self): Likewise.
14092 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
14093
c72b934c
AC
140942004-09-01 Andrew Cagney <cagney@gnu.org>
14095
14096 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14097 files.
14098
edd9b715
JJ
140992004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14100
14101 * gdb.base/unload.exp: Fix expected warning message to match
14102 latest format.
14103
fb4ce06b
CV
141042004-09-01 Corinna Vinschen <vinschen@redhat.com>
14105
14106 * gdb.base/call-rt-st.exp: Fix typos.
14107
ce78e7c3
MI
141082004-08-31 Manoj Iyer <manjo@austin.ibm.com>
14109
14110 * gdb.threads/thread_check.exp: New testcase.
14111 * gdb.threads/thread_check.c: New testcase.
14112
2dedb159
AC
141132004-08-31 Andrew Cagney <cagney@gnu.org>
14114
14115 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
14116 (skip_to_handler_entry): New procedures. Test stepping into a
14117 handler when the breakpoint is at the handler's entry point.
14118
68f53502
AC
141192004-08-30 Andrew Cagney <cagney@gnu.org>
14120
14121 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
14122 gdb/1757.
14123
3e3ffd2b
MC
141242004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14125
14126 With code from Manoj Iyer <manjo@austin.ibm.com>:
14127 * lib/gdb.exp (gdb_file_cmd): Return more information in the
14128 return value. Add an arm for "no debugging symbols found".
14129 Change a stray "error" to "perror".
14130 (gdb_run_cmd): Adapt to new return value.
14131 * gdb.base/remote.exp: Adapt to new return value.
14132 * gdb.gdb/complaints.exp: Likewise.
14133 * gdb.gdb/observer.exp: Likewise.
14134 * gdb.gdb/selftest.exp: Likewise.
14135 * gdb.gdb/xfullpath.exp: Likewise.
14136
4b6f5fd2
JB
141372004-08-27 Joel Brobecker <brobecker@gnat.com>
14138
14139 * gdb.threads/bp_in_thread.exp: New testcase.
14140
e5b25496
MC
141412004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14142
14143 Fix PR testsuite/1735.
14144 * gdb.threads/schedlock.c (thread_function): Add a cast
14145 to suppress a gcc warning.
14146 * gdb.threads/thread-specific.c (thread_function): Likewise.
14147
934353d6
MC
141482004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14149
14150 * gdb.base/unload.c: Include <stdlib.h>.
14151
f98a0aef 141522004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 14153
f98a0aef 14154 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
14155 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
14156 synchronized after the "return".
14157
5a2e8882
MC
141582004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14159
14160 * gdb.mi/basics.c: Include <stdio.h>.
14161 * gdb.mi/pthreads.c: Include <stdlib.h>.
14162 * gdb.mi/var-cmd.c: Include <stdlib.h>.
14163
a9640423
MC
141642004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14165
14166 * gdb.threads/schedlock.c: Add copyright notice.
14167
b04e311d
AC
141682004-08-25 Andrew Cagney <cagney@gnu.org>
14169
14170 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
14171 (skip_over_handler, breakpoint_over_hander): New test procedures.
14172 (advance, advancei): Add a proper prefix, do not use
14173 rerun_to_main.
14174 * gdb.base/sigstep.c (main): Change to use an infinite loop.
14175
7c27f15b
MC
141762004-08-24 Michael Chastain <mec.gnu@mindspring.com>
14177
14178 * gdb.mi/basics.c: Add copyright notice.
14179 * gdb.mi/var-cmd.c: Add copyright notice.
14180
fffc87ae
MC
141812004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14182
14183 * lib/gdb.exp: Remove signed_keyword_not_used.
14184 * lib/compiler.c: Likewise.
14185 * lib/compiler.cc: Likewise.
14186
d782e0bf
MC
141872004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14188
14189 * gdb.base/whatis.c: Remove conditional disabling of "signed".
14190 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
14191
96033e83
MC
141922004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14193
14194 * gdb.base/whatis.c: Add copyright notice.
14195
cf38c229
MK
141962004-08-20 Mark Kettenis <kettenis@gnu.org>
14197
14198 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
14199 it to skip the breakpoints encoded in the inline assembly.
14200
f4b49756
MC
142012004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14202
14203 * Makefile.in: Add gdb.fortran.
14204
2f193b69
MC
142052004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14206
14207 * gdb.base/call-sc.exp (test_scalar_returns):
14208 Fix cut-and-paste glitch in "Make fun return now".
14209
89a237cb
MC
142102004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14211
14212 * configure.in: Add gdb.fortran.
14213 * configure: Regenerate.
14214 * gdb.fortran/Makefile.in: New file.
14215 * lib/gdb.exp (skip_fortran_tests): New procedure.
14216
469aff8e
MC
142172004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14218
14219 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
14220 reference to bug-gnu@prep.ai.mit.edu.
14221 * gdb.mi/mi-var-child.exp: Likewise.
14222 * gdb.mi/mi-var-cmd.exp: Likewise.
14223 * gdb.mi/mi-var-display.exp: Likewise.
14224 * gdb.mi/mi2-var-block.exp: Likewise.
14225 * gdb.mi/mi2-var-child.exp: Likewise.
14226 * gdb.mi/mi2-var-cmd.exp: Likewise.
14227 * gdb.mi/mi2-var-display.exp: Likewise.
14228
00b51b9f
MK
142292004-08-15 Mark Kettenis <kettenis@gnu.org>
14230
14231 * gdb.base/unload.c (main): Make local variable msg const.
14232
45f07fef
MC
142332004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14234
14235 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
14236 to bug-gnu@prep.ai.mit.edu.
14237 * gdb.mi/mi-disassemble.exp: Likewise.
14238 * gdb.mi/mi-eval.exp: Likewise.
14239 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
14240 default line number.
14241 * gdb.mi/mi-return.exp: Likewise.
14242 * gdb.mi/mi-simplerun.exp: Likewise.
14243 * gdb.mi/mi-stack.exp: Likewise.
14244 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
14245 number with explicit range test.
14246 * gdb.mi/mi-watch.exp: Likewise.
14247 * gdb.mi/mi2-break.exp: Likewise.
14248 * gdb.mi/mi2-cli.exp: Likewise.
14249 * gdb.mi/mi2-disassemble.exp: Likewise.
14250 * gdb.mi/mi2-eval.exp: Likewise.
14251 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
14252 default line number.
14253 * gdb.mi/mi2-return.exp: Likewise.
14254 * gdb.mi/mi2-simplerun.exp: Likewise.
14255 * gdb.mi/mi2-stack.exp: Likewise.
14256 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
14257 number with explicit range test.
14258 * gdb.mi/mi2-watch.exp: Likewise.
14259
dd8c8ee7
MC
142602004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14261
14262 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
14263 * gdb.cp/m-static.exp: Likewise.
14264 * gdb.cp/rtti.exp: Likewise.
14265
4e838464
MK
142662004-08-14 Mark Kettenis <kettenis@gnu.org>
14267
14268 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
14269
8d8cb839
EZ
142702004-08-14 Eli Zaretskii <eliz@gnu.org>
14271
14272 * ChangeLog: Prefix Local Variables with semi-colons and indent
14273 the reference to older ChangeLog files, to fix fontification in
14274 Emacs.
14275
deea8bb0
MC
142762004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14277
14278 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
14279 * gdb.mi/mi2-break.exp: Likewise.
14280
c3297504
MC
142812004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14282
14283 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
14284
25808999
MC
142852004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14286
14287 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
14288
226a8d71
MC
142892004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14290
14291 * gdb.cp/classes.exp: Remove unused declarations. Just let
14292 test names default instead of providing special names. Remove
14293 extraneous demangler test.
14294
37fdf854
JJ
142952004-08-12 Jeff Johnston <jjohnstn@redhat.com>
14296
14297 * gdb.base/unload.exp: New test for breakpoints in dynamically
14298 loaded libraries.
14299 * gdb.base/unload.c: Ditto.
14300 * gdb.base/unloadshr.c: Ditto.
14301
2d3a7986
MC
143022004-08-12 Michael Chastain <mec.gnu@mindspring.com>
14303
14304 * gdb.cp/classes.exp (test_ptype_class_objects): Call
14305 cp_test_ptype_class.
14306 (test_enums): Likewise.
14307
c72b934c
AC
143082004-08-10 Andrew Cagney <cagney@gnu.org>
14309
14310 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14311 files.
14312
cc503c8a
AC
143132004-08-10 Andrew Cagney <cagney@gnu.org>
14314
14315 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
14316 init_malloc call.
14317
902f2ccb
MC
143182004-08-10 Michael Chastain <mec.gnu@mindspring.com>
14319
14320 * ChangeLog: Add copyright notice. The notice is copied
14321 from emacs 21.3 top level ChangeLog.
14322
78c90502
MC
143232004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14324
14325 * lib/cp-support.exp: New file.
14326 * lib/cp-support.exp (cp_test_type_class): New function.
14327 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
14328 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
14329 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
14330 cp_test_ptype_class.
14331
88e5ea78
MC
143322004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14333
14334 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
14335 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
14336 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
14337 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
14338 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14339 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
14340 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
14341 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
14342 gdb.mi/mi2-watch.exp: Update copyright years.
14343
6a89fc9c
MK
143442004-08-09 Mark Kettenis <kettenis@gnu.org>
14345
14346 * gdb.base/sigaltstack.exp: Provide proper anchoring.
14347
1482e0de
MC
143482004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14349
14350 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
14351 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
14352 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
14353 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14354 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
14355 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
14356 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
14357 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14358 gdb.mi/mi-watch.exp: Update copyright years.
14359
1a5ce3f3
DJ
143602004-08-08 Daniel Jacobowitz <dan@debian.org>
14361
14362 PR gdb/1738
14363 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
14364 from a breakpoint with a pending signal.
14365
04f6ecf2
DJ
143662004-08-08 Daniel Jacobowitz <dan@debian.org>
14367
14368 PR gdb/1736
14369 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
14370 * gdb.base/sigaltstack.exp (finish_test): Consume output until
14371 the prompt.
14372 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
14373
54d90d35
DJ
143742004-08-08 Daniel Jacobowitz <dan@debian.org>
14375
14376 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
14377
d2f6abb0
DJ
143782004-08-08 Daniel Jacobowitz <dan@debian.org>
14379
14380 PR gdb/1736
14381 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
14382 for i?86-*-linux*.
14383
5598c03d
DJ
143842004-08-08 Daniel Jacobowitz <dan@debian.org>
14385
14386 * gdb.arch/i386-prologue.exp: Compile without debug information.
14387
c6fee705
MC
143882004-08-08 Michael Chastain <mec.gnu@mindspring.com>
14389
14390 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
14391 rather than asking gdb to search.
14392
dd90efdb
MC
143932004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14394
14395 * gdb.base/gcore.c: Include <string.h>.
14396
1e84bec1
MC
143972004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14398
14399 * gdb.base/gcore.c: Add copyright notice.
14400
e425eb2b
MC
144012004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14402
14403 * gdb.base/freebpcmd.c: Include <stdio.h>.
14404 * gdb.base/long_long.c: Include <string.h>.
14405 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
14406 * gdb.base/siginfo.c: Include <string.h>.
14407 * gdb.base/sigstep.c: Include <string.h>.
14408
cb9aaed5
MC
144092004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14410
14411 * gdb.base/complex.c: Include <stdlib.h>.
14412
55944f3d
MC
144132004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14414
14415 * gdb.base/complex.c: Add copyright notice.
14416
7b2953d9
MC
144172004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14418
14419 * gdb.base/charset.c: Include <stdlib.h>.
14420
c9133d23
MC
144212004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14422
14423 * gdb.base/auxv.c: Include <stdlib.h>.
14424
0a8490ad
MC
144252004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14426
14427 * gdb.base/auxv.c: Add copyright notice.
14428
3426d5ec
MC
144292004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14430
14431 * gdb.base/coremaker.c: Add copyright notice.
14432 * gdb.base/coremaker2.c: Add copyright notice.
14433
8da195dd
AC
144342004-08-04 Andrew Cagney <cagney@gnu.org>
14435
14436 * gdb.base/store.exp: Update copyright.
14437 (check_set, up_set, check_struct, up_struct): Add a prefix to test
14438 names, do not import gdb_prompt.
14439
8d394f98
AC
144402004-08-01 Andrew Cagney <cagney@gnu.org>
14441
14442 Fix PR testsuite/1729.
14443 * gdb.base/dump.exp: Add test name to callers of capture_value, do
14444 not use capture_value with value 4.
14445 (capture_value): Add optional test name parameter.
14446 (test_reload_saved_value, test_restore_saved_value): Use $msg as
14447 the prefix, pass to capture_value.
14448
b6702b23
MK
144492004-08-01 Mark Kettenis <kettenis@gnu.org>
14450
14451 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
14452 * gdb.arch/i386-prologue.c (standard): New prototype and function.
14453 (main): Call new function.
14454
c203e0ca
MC
144552004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14456
14457 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
14458
a7995a30
MC
144592004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14460
14461 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
14462
9366563b
MC
144632004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14464
b6eeaf26 14465 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
14466 Accept more values of vtbl pointer. Remove some messages
14467 about "obsolete gcc or gdb".
14468
2fc1f950
MC
144692004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14470
14471 * gdb.cp/classes.exp: Accept more varieties of ptype output.
14472
c724d49b
MC
144732004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14474
14475 * gdb.base/asm-source.exp: Properly convert target board
14476 debug flags from gcc format to binutils format.
14477
736b0fce
MK
144782004-07-28 Mark Kettenis <kettenis@gnu.org>
14479
14480 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
14481 gdb1718". PR backtrace/1718 partially fixed.
14482
5633ea5c
JJ
144832004-07-27 Jeff Johnston <jjohnstn@redhat.com>
14484
14485 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
14486
575eebb1
NC
144872004-07-26 Nick Clifton <nickc@redhat.com>
14488
14489 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
14490 good default value for a specific architecture is available then
14491 set it to that value. Otherwise default to the -gstabs switch.
14492 Remove the -g... switches from the asm-flags variable. Allow the
14493 target board info to override the value if it wants to. Pass the
14494 switch on the assembler command line.
14495
62104619
MK
144962004-07-23 Mark Kettenis <kettenis@gnu.org>
14497
14498 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
14499 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
14500 (main): Call new function.
14501
4a1135b8
MC
145022004-07-22 Michael Chastain <mec.gnu@mindspring.com>
14503
14504 Test for PR exp/1715.
14505 * gdb.base/radix.exp: Refactor common procedures. Make all
14506 test names unique. Change XFAIL to KFAIL.
14507
8a12c1f0
MC
145082004-07-20 Michael Chastain <mec.gnu@mindspring.com>
14509
14510 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
14511 * gdb.ada/gnat_ada.gin: ... to here.
14512 * configure.in: Use gnat_ada.gin.
14513 * configure: Regenerate.
14514
23b451cf
AC
145152004-07-20 Andrew Cagney <cagney@gnu.org>
14516
14517 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
14518 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
14519 XFAILs. Clean up test messages and comments. Check backtraces.
14520 Delete re-sync code.
14521
ab618a02
MC
145222004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14523
14524 Fix PR cli/740.
14525 * gdb.base/annota1.exp: Honor gdb,nosignals.
14526 * gdb.base/annota3.exp: Likewise.
14527
46dad340
MC
145282004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14529
14530 * lib/java.exp: Update copyright notice.
14531
756d8c70
AC
145322004-07-19 Andrew Cagney <cagney@gnu.org>
14533
14534 * gdb.base/selftest.exp: Copy file from here ...
14535 * gdb.gdb/selftest.exp: ... to here.
14536
586027e6
AC
145372004-07-16 Andrew Cagney <cagney@redhat.com>
14538
14539 * lib/insight-support.exp: Delete file.
14540 * lib/java.exp (java_init): Fix copyright.
14541
029d2200
AC
145422004-07-16 Andrew Cagney <cagney@gnu.org>
14543
14544 * gdb.base/restore.c: Append "prologue" to comments marking the a
14545 function's prologue.
14546 * gdb.base/restore.exp: Update copyright, re-indent.
14547 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
14548 callerN" prefix where needed. Update patterns that match a
14549 function's prologue.
14550
653b62c5
MC
145512004-07-16 Michael Chastain <mec.gnu@mindspring.com>
14552
14553 * gdb.base/restore.c: Add copyright notice.
14554
f7d690e5
AC
145552004-07-16 Andrew Cagney <cagney@gnu.org>
14556
14557 * gdb.base/logical.exp: Update copyright.
14558 (evaluate): New procedure. Use to re-implement tests using
14559 several tables.
14560
d629a7cb
MH
145612004-07-14 Martin Hunt <hunt@redhat.com>
14562
14563 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
14564 which fixes some problems where init.tcl was not found.
14565
9c7bb332
AC
145662004-07-13 Andrew Cagney <cagney@gnu.org>
14567
6bf46641
AC
14568 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
14569 (check_sizeof, check_valueof): Do not include the output in the
14570 test name. Use gdb_test.
14571 (get_valueof): Use gdb_test_multiple.
14572
c4ffd4c0
AC
14573 * gdb.base/step-test.exp: Update copyright. Use
14574 gdb_test_multiple. Ensure that test names do not include
14575 architecture dependent output.
14576
ab89363a
AC
14577 * gdb.gdb/observer.exp: Update copyright.
14578 (setup_test): Use gdb_test_multiple.
14579 (attach_first_observer, attach_second_observer)
14580 (attach_third_observer, detach_first_observer)
14581 (detach_second_observer, detach_third_observer)
14582 (reset_counters, check_counters): Make $message a prefix.
14583 (test_normal_stop_notifications): Add "args" parameter - a list of
14584 init functions to be called. Make $message a prefix,
14585 (test_observer_normal_stop): Change the message prefixes so that
14586 they are unique, pass the attach / detach procedures to
14587 test_normal_stop_notifications.
14588
ec58997a
AC
14589 * gdb.base/signull.exp (test_segv): Prefix all tests with
14590 "${name}". Clean up test messages.
14591
b475183b
AC
14592 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
14593
9c7bb332
AC
14594 * gdb.base/ena-dis-br.exp: Update copyright.
14595 (break_at): New function. Replace send_gdb with gdb_test,
14596 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
14597 ignore count, not stopped at bpt", with KFAIL.
14598
2dd95497
CV
145992004-07-13 Corinna Vinschen <vinschen@redhat.com>
14600
14601 * gdb.base/attach.exp: Remove cleanupfile handling.
14602
419e626b
AC
146032004-07-12 Andrew Cagney <cagney@gnu.org>
14604
14605 * gdb.base/annota1.exp: Cleanup corefile test name.
14606 * gdb.base/annota3.exp: Ditto.
14607
8b1b3228
AC
146082004-07-12 Andrew Cagney <cagney@gnu.org>
14609
78650829
AC
14610 * gdb.base/signals.exp: Clean up copyright, re-indent.
14611
8b1b3228
AC
14612 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
14613 gdb_test and gdb_test_multiple.
14614
935c2760
JJ
146152004-07-08 Jeff Johnston <jjohnstn@redhat.com>
14616
14617 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 14618 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
14619 provide line number info for first statement in main.
14620
1544280f
AC
146212004-07-08 Andrew Cagney <cagney@gnu.org>
14622
1279f4ff
AC
14623 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
14624
1544280f
AC
14625 * gdb.base/sigbpt.exp: Make the common part of each test name a
14626 prefix instead of suffix.
14627
bcc82369
BR
146282004-07-07 Bob Rossi <bob_rossi@cox.net>
14629
14630 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
14631 test from test_tbreak_creation_and_listing to
14632 test_file_list_exec_source_file
14633 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
14634 Changed name of test from test_tbreak_creation_and_listing to
14635 test_file_list_exec_source_file
14636
23f4b0aa
JJ
146372004-07-07 Jeff Johnston <jjohnstn@redhat.com>
14638
14639 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
14640 the jmisc() constructor instead of <init>.
14641 * gdb.java/jmisc1.exp: Ditto.
14642
56401cd5
AC
146432004-07-07 Andrew Cagney <cagney@gnu.org>
14644
14645 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
14646 corrupting the PC.
14647
44ae2f6a
MC
146482004-07-06 Michael Chastain <mec.gnu@mindspring.com>
14649
14650 * gdb.cp/templates.exp: Accept whitespace change in demangler
14651 output.
14652
45a83408
AC
146532004-07-06 Andrew Cagney <cagney@gnu.org>
14654
14655 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
14656
d205ad70
MC
146572004-07-02 Michael Chastain <mec.gnu@mindspring.com>
14658
14659 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
14660 * lib/compiler.cc: Likewise.
14661
06ea1a61
MC
146622004-06-30 Michael Chastain <mec.gnu@mindspring.com>
14663
14664 * lib/compiler.cc: Work around string preprocessing problem
14665 with old hp c++ compiler.
14666 * lib/compiler.c: Likewise.
14667
daab1251
CV
146682004-06-29 Corinna Vinschen <vinschen@redhat.com>
14669
14670 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
14671 directives to conditionalize symbol prefixing.
14672 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
14673 additional_flags handling. Add underscore prefix for Cygwin.
14674 * gdb.arch/i386-unwind.c: Use preprocessor directives to
14675 conditionalize symbol prefixing.
14676 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
14677 additional_flags handling. Add underscore prefix for Cygwin.
14678
cc984116
CV
146792004-06-29 Corinna Vinschen <vinschen@redhat.com>
14680
14681 * gdb.base/bigcore.exp: Skip test on Cygwin.
14682
c279b077
MC
146832004-06-28 Michael Chastain <mec.gnu@mindspring.com>
14684
14685 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
14686 formats for "info register". Use gdb_test_multiple. Fix
14687 the "invalid register" test.
14688
0e915747
CV
146892004-06-28 Corinna Vinschen <vinschen@redhat.com>
14690
14691 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
14692 PID for Cygwin. Add Cygwin specific strings to check for in some
14693 tests.
14694 (do_attach_tests): Add a test for user interaction when attaching
14695 to a process with no matching symbol table already loaded.
14696
11422c86
AC
146972004-06-26 Andrew Cagney <cagney@gnu.org>
14698
14699 Test PR java/1567 and PR java/1565.
14700 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
14701 * gdb.java/jmisc2.exp: Delete file.
14702
cefbce26
MC
147032004-06-26 Michael Chastain <mec.gnu@mindspring.com>
14704
14705 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
14706
e19f872c
CV
147072004-06-25 Corinna Vinschen <vinschen@redhat.com>
14708
14709 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
14710 attach process.
14711
d931ba3b
MC
147122004-06-23 Michael Chastain <mec.gnu@mindspring.com>
14713
14714 * gdb.cp/pr-1553.exp: Remove.
14715
aef68c48
MC
147162004-06-22 Michael Chastain <mec.gnu@mindspring.com>
14717
14718 * gdb.cp/pr-1553.cc: Remove.
14719 * gdb.cp/pr-1553.exp: Disable this test.
14720
8d5df71a
JB
147212004-06-20 Jim Blandy <jimb@redhat.com>
14722
a9c64011 14723 Fix PR testsuite/1680.
8d5df71a
JB
14724 * gdb.arch/i386-sse.exp: Properly quote curly braces in
14725 regular expressions.
14726
4ac6f39d
MC
147272004-06-19 Michael Chastain <mec.gnu@mindspring.com>
14728
14729 Fix PR testsuite/1679.
14730 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
14731 Issue an UNSUPPORTED result instead.
14732
1b413552
JB
147332004-06-18 Jim Blandy <jimb@redhat.com>
14734
14735 * gdb.base/charset.exp: Only send a control-C if we see a new
14736 prompt and incomplete command.
14737
6daa6ebd
MC
147382004-06-18 Michael Chastain <mec.gnu@mindspring.com>
14739
14740 * gdb.cp/pr-574.cc: Add copyright notice.
14741
51fa4ae0
JB
147422004-06-17 Jim Blandy <jimb@redhat.com>
14743
14744 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
14745 cases where the regexp has no groups; this grabs random text from
14746 the previous test suite, whatever that was.
14747
8fea26c5
MC
147482004-06-17 Michael Chastain <mec.gnu@mindspring.com>
14749
14750 * gdb.cp/printmethod.cc: Add copyright notice.
14751
1e3aeb41
MC
147522004-06-16 Michael Chastain <mec.gnu@mindspring.com>
14753
14754 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
14755
9d9030bc
AC
147562004-06-16 Andrew Cagney <cagney@gnu.org>
14757
14758 * gdb.base/signull.c: Update copyright. Include <string.h>.
14759 (bowler): Replace data_pointer with data_read
14760 and data_write cases. Add code_descriptor case.
14761 (zero, desc): New array and pointer.
14762 (data, code): Change to simple pointers.
14763 * gdb.base/signull.exp: Fix probe pattern matching a function
14764 descriptor SIGSEGV. Replace data_pointer with data_read and
14765 data_write tests.
14766
acd4ad44
AC
147672004-06-16 Andrew Cagney <cagney@gnu.org>
14768
14769 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
14770
08fd625c
MC
147712004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14772
14773 * gdb.base/long_long.c: Add copyright notice.
14774
1903502c
MC
147752004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14776
14777 * gdb.base/long_long.exp: Remove reference to
14778 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
14779 to gdb_breakpoint and gdb_continue_to_breakpoint.
14780
83313cb1
JB
147812004-06-14 Jim Blandy <jimb@redhat.com>
14782
14783 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
14784 endian case.
14785
1bf404ef
AC
147862004-06-14 Andrew Cagney <cagney@gnu.org>
14787
14788 * gdb.base/gcore.exp (capture_command_output): Delete the always
14789 passing tests containing inferior values.
14790 * gdb.base/ending-run.exp: Do not include the breakpoint address
14791 in the test message. Update copyright.
14792 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
14793 size in the test name, use gdb_test_multiple. Update copyright.
14794
ef220b33
MC
147952004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14796
14797 * gdb.cp/ref-types.cc: Add copyright notice.
14798
4f70a4c9
MC
147992004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14800
14801 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
14802 hp_aCC_compiler.
14803 * lib/compiler.cc: Likewise.
14804 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
14805 'set' commands. Log diagnostics for other lines. Set
14806 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
14807
335928ac
MC
148082004-06-13 Michael Chastain <mec.gnu@mindspring.com>
14809
14810 * gdb.cp/try_catch.cc: Add copyright notice.
14811
2efb12e8
MC
148122004-06-12 Michael Chastain <mec.gnu@mindspring.com>
14813
14814 * gdb.cp/userdef.cc: Add copyright notice.
14815
0bbed51a
MC
148162004-06-11 Michael Chastain <mec.gnu@mindspring.com>
14817
14818 * gdb.cp/virtfunc.cc: Add copyright notice.
14819
e12a46c9
RC
148202004-06-11 Randolph Chung <tausq@debian.org>
14821
14822 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
14823 problem.
14824
338e05af
AC
148252004-06-10 Andrew Cagney <cagney@gnu.org>
14826
14827 * lib/compiler.cc, lib/compiler.c: Append either
14828 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
14829 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
14830 instead of gcc-3-3.
14831
dc3f10cb
AC
148322004-06-09 Andrew Cagney <cagney@gnu.org>
14833
b4d946af
AC
14834 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
14835 gdb/1455, bug is specific to "long long" and "double".
a9c64011 14836
dc3f10cb
AC
14837 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
14838 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
14839 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
14840 fixed.
14841
b5c0bfa2
AC
148422004-06-09 Andrew Cagney <cagney@gnu.org>
14843
14844 * gdb.base/structs.exp (test_struct_returns): Replace
14845 "return_value_unknown" and "finish_value_unknown" by
14846 "return_value_known" and "finish_value_known". Instead of
14847 "return_value_unknown" iff "finish_value_unknown", check
14848 "return_value_known" implies "finish_value_known".
14849
caeb605f
MH
148502004-06-08 Martin Hunt <hunt@redhat.com>
14851
14852 * gdb.base/float.exp: Add pattern for mips targets.
14853
c892bb64
RC
148542004-06-08 Randolph Chung <tausq@debian.org>
14855
14856 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
14857 message for unknown architectures more clear.
14858
48306d3e
JB
148592004-06-08 Joel Brobecker <brobecker@gnat.com>
14860
14861 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
14862 start the execution of the program.
14863
83ecb59f
JB
148642004-06-07 Jim Blandy <jimb@redhat.com>
14865
14866 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
14867 * gdb.arch/i386-cpuid.h: New helper file.
14868
55264cb4
RC
148692004-06-07 Randolph Chung <tausq@debian.org>
14870
14871 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
14872 has started.
14873
23cadb28
RM
148742004-06-04 Roland McGrath <roland@redhat.com>
14875
14876 Fix PR gdb/1647.
14877 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
14878 differently to be robust to output buffering differences.
14879
51d01eda
MC
148802004-06-04 Michael Chastain <mec.gnu@mindspring.com>
14881
14882 * gdb.threads/pthreads.exp: Update copyright years.
14883 (check_control_c): Change asynchronous 'after' to synchronous.
14884
f4fc3b93
RM
148852004-06-04 Roland McGrath <roland@redhat.com>
14886
14887 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
14888 next gdb prompt.
14889
4013522b
MC
148902004-06-02 Michael Chastain <mec.gnu@mindspring.com>
14891
14892 Fix PR gdb/1636.
14893 * gdb.threads/manythreads.exp: Change asynchronous 'after'
14894 calls to synchronous.
14895
7a8f1e6b
JB
148962004-05-26 Jim Blandy <jimb@redhat.com>
14897
14898 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
14899
81bb3443
RC
149002004-05-24 Randolph Chung <tausq@debian.org>
14901
14902 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
14903 * gdb.asm/pa.inc: New file.
14904
8f5a3103
MK
149052004-05-22 Mark Kettenis <kettenis@gnu.org>
14906
14907 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
14908
734b8fe8 149092004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 14910 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
14911
14912 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
14913 GDB prompt.
14914
725603e1
UW
149152004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14916
f4fc3b93 14917 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
14918 setjmp/longjmp. Use sigaction instead of signal.
14919
8b923272 149202004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 14921 Michael Snyder <msnyder@redhat.com>
8b923272
JB
14922
14923 * gdb.threads/pthread_cond_wait.c: New file.
14924 * gdb.threads/pthread_cond_wait.exp: New testcase.
14925
8bfabb04
AC
149262004-05-13 Andrew Cagney <cagney@redhat.com>
14927
14928 * gdb.base/signull.exp, gdb.base/signull.c: New files.
14929 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
14930
42edda50
AC
149312004-05-11 Andrew Cagney <cagney@redhat.com>
14932
14933 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
14934 fixed but revealed gdb/1639.
14935
d303a6c7
AC
149362004-05-10 Andrew Cagney <cagney@redhat.com>
14937
14938 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
14939 func1" and "next to 2nd alarm", kernel bug avoided.
14940
bf08c2a1
DJ
149412004-05-10 Daniel Jacobowitz <dan@debian.org>
14942
14943 PR external/1568
14944 * gdb.base/bigcore.exp: Check the size of the dumped core file.
14945 XFAIL if it is smaller than bytes_allocated.
14946 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
14947 (main): Make chunks_allocated unsigned. Correct comment.
14948
c0586a34
JB
149492004-05-07 Joel Brobecker <brobecker@gnat.com>
14950
14951 * gdb.arch/powerpc-aix-prologue.c: New file.
14952 * gdb.arch/powerpc-aix-prologue.exp: New file.
14953
f2785d12
JB
149542004-05-07 Jim Blandy <jimb@redhat.com>
14955
14956 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
14957 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
14958
bd7f6e30
JB
149592004-05-06 Joel Brobecker <brobecker@gnat.com>
14960
14961 * gdb.base/sep.exp: No longer setup_kfail when the program was
14962 built with dwarf2.
14963
0a5e7efe
JI
149642004-05-05 Jim Ingham <jingham@apple.com>
14965
14966 * gdb.base/pending.exp: Make sure pending breakpoints
14967 preserve the ignore count.
f4fc3b93 14968
a8958849
MK
149692004-04-27 Jerome Guitton <guitton@gnat.com>
14970
14971 * i386-prologue.exp: Add testcase for jump instruction as first
14972 instruction of the real code.
14973 * i386-prologue.c (jump_at_beginning): New function.
14974
7e103f5b
MK
149752004-04-28 Mark Kettenis <kettenis@gnu.org>
14976
14977 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
14978 x86_64-*-*.
14979
5d38b224
MK
149802004-04-28 Mark Kettenis <kettenis@gnu.org>
14981
14982 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
14983 i*86-*-*.
14984
0ef32fd9
MK
149852004-04-25 Mark Kettenis <kettenis@gnu.org>
14986
14987 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
14988 expression that checks the return type.
14989
71d7dd7c
AC
149902004-04-23 Andrew Cagney <cagney@redhat.com>
14991
14992 * gdb.base/call-sc.exp: New test of scalar call/return values.
14993 * gdb.base/call-sc.c: Ditto.
14994
1e9f977e
JJ
149952004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14996
14997 * gdb.threads/manythreads.c: Reduce thread stack size.
14998
899d9e3a
JJ
149992004-04-23 Jeff Johnston <jjohnstn@redhat.com>
15000
15001 * gdb.threads/manythreads.c: Add copyright notice.
15002
61bcae62
AC
150032004-04-23 Andrew Cagney <cagney@redhat.com>
15004
15005 * gdb.base/siginfo.exp: Better handle step out of signal.
15006 * gdb.base/sigstep.exp: Ditto.
15007
7339a42e 150082004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 15009 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
15010
15011 * gdb.threads/manythreads.c: New testcase.
15012 * gdb.threads/manythreads.exp: Ditto.
15013
5c98409b
JB
150142004-04-22 Jim Blandy <jimb@redhat.com>
15015
15016 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
15017 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
15018
3b611f1a
MC
150192004-04-21 Michael Chastain <mec.gnu@mindspring.com>
15020
15021 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
15022
f0fd9238
AC
150232004-04-21 Andrew Cagney <cagney@redhat.com>
15024
15025 * gdb.base/sigstep.c: New file.
15026 * gdb.base/sigstep.exp: New file.
15027
90990674
JB
150282004-04-16 Joel Brobecker <brobecker@gnat.com>
15029
15030 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
15031 call to observer_notify_normal_stop.
15032
78cef34b
AC
150332004-04-15 Andrew Cagney <cagney@redhat.com>
15034
15035 * gdb.base/siginfo.c: New file.
15036 * gdb.base/siginfo.exp: New file.
15037
d2343407
JB
150382004-04-12 J. Brobecker <brobecker@gnat.com>
15039
15040 * gdb.base/sep.exp: Fix typo in comment.
15041
a2dba3c8
JB
150422004-04-12 J. Brobecker <brobecker@gnat.com>
15043
15044 * gdb.base/sep.c: New file.
15045 * gdb.base/sep-proc.c: New file.
15046 * gdb.base/sep.exp: New testcase.
15047
15f7b60e
MK
150482004-04-09 Mark Kettenis <kettenis@gnu.org>
15049
15050 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
15051 support.
15052
44f4de1a
AC
150532004-04-05 Andrew Cagney <cagney@redhat.com>
15054
15055 * gdb.base/sigaltstack.c: New file.
15056 * gdb.base/sigaltstack.exp: New file.
15057
ef04f396
JB
150582004-04-04 Joel Brobecker <brobecker@gnat.com>
15059
15060 * gdb.base/foll-fork.exp: Update the expected output for
15061 "help set follow-fork-mode", to match a change that was made
15062 to the help of this variable on 2004-01-13.
15063
d40d2c92
JB
150642004-04-01 Joel Brobecker <brobecker@gnat.com>
15065
15066 * lib/ada.exp: Add copyright notice.
15067 * bar.ads: Likewise.
15068 * bar.adb: Likewise.
15069 * null_record.adb: Likewise.
15070 * null_record.exp: Likewise.
15071 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
15072
f86ef5a3
JB
150732004-04-01 Joel Brobecker <brobecker@gnat.com>
15074
15075 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
15076 * configure: Regenerate.
15077
414e70e3
JB
150782004-04-01 Joel Brobecker <brobecker@gnat.com>
15079
15080 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
15081 to build the application. Remove the message printed when in
15082 verbose mode, redundant with the UNSUPPORTED message above.
15083
f0aaee49
JB
150842004-03-31 Joel Brobecker <brobecker@gnat.com>
15085
15086 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
15087 * gdb.ada (null_record.exp): New testcase.
15088
ac81cb54
JB
150892004-03-31 Joel Brobecker <brobecker@gnat.com>
15090
15091 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
15092
854af2f7
JB
150932004-03-31 Joel Brobecker <brobecker@gnat.com>
15094
15095 * gdb.ada: New subdirectory.
15096 * gdb.ada/Makefile.in: New file.
15097 * gdb.ada/gnat_ada.gpr.in: New file.
15098
034cb681
JB
150992004-03-31 Joel Brobecker <brobecker@gnat.com>
15100
15101 * lib/ada.exp: New file.
15102
78a1a894
DJ
151032004-03-24 Daniel Jacobowitz <drow@mvista.com>
15104
15105 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
15106 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
15107
4b2b3b3e
AC
151082004-03-22 Andrew Cagney <cagney@redhat.com>
15109
15110 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
15111 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
15112 Problem identified by Ulrich Weigand.
15113
23c73aa3
DC
151142004-03-17 David Carlton <carlton@kealia.com>
15115
15116 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
15117 PR c++/826.
15118
d63a86f8
RM
151192004-03-16 Roland McGrath <roland@redhat.com>
15120
15121 * gdb.base/auxv.exp: New file.
15122 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
15123
0e02aa50
DC
151242004-03-12 David Carlton <carlton@kealia.com>
15125
15126 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
15127 * gdb.cp/pr-1553.cc: Ditto.
15128 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
15129 pass branch.
15130
c20b71be
MC
151312004-03-12 Michael Chastain <mec.gnu@mindspring.com>
15132
15133 * gdb.cp/templates.exp: Accept more template types.
15134
c7414a01
MC
151352004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15136
15137 From Corinna Vinschen with modifications.
15138 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
15139 local variable obj_with_enum.
15140 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
15141 results with obj_with_enum.
15142
ed69573c
MC
151432004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15144
15145 * gdb.cp/classes.cc: New file, copied from misc.cc.
15146 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
15147
28301461
MC
151482004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15149
15150 * gdb.cp/misc.cc: Add copyright notice.
15151
1198ecbe
DC
151522004-03-05 David Carlton <carlton@kealia.com>
15153
15154 * gdb.cp/rtti.exp: Add 'print *obj3' test.
15155 * gdb.cp/rtti.h: Update copyright.
15156 (namespace n2::n3): New.
15157 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
15158 (n2::n3::func3): New.
15159 (main): Call n2::n3::func3.
15160 * gdb.cp/rtti2.cc: Update copyright.
15161 (n2::create3): New.
15162
9e08c470
MK
151632004-03-04 Mark Kettenis <kettenis@gnu.org>
15164
15165 * gdb.asm/openbsd.inc: Fix typo.
15166
4bebc3aa
FF
151672004-03-03 Fred Fish <fnf@redhat.com>
15168
15169 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
15170 "val" instead of unused "size". Update copyright year.
15171
6ea9fb37
DJ
151722004-02-29 Daniel Jacobowitz <drow@mvista.com>
15173
15174 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
15175 to use unsigned char.
15176 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
15177 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
15178
23b23974
DJ
151792004-02-29 Daniel Jacobowitz <drow@mvista.com>
15180
15181 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
15182 line of output.
15183
7574fd53
DJ
151842004-02-28 Daniel Jacobowitz <drow@mvista.com>
15185
15186 * gdb.base/relocate.c (dummy): Initialize.
15187
a195357f
DJ
151882004-02-28 Daniel Jacobowitz <drow@mvista.com>
15189
15190 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
15191 a breakpoint at exit.
15192
72fd54a9
FF
151932004-02-27 Fred Fish <fnf@redhat.com>
15194
15195 * gdb.base/chng-syms.exp: Add expect condition to match failing
15196 case that isn't a timeout.
15197
b9d23137
AC
151982004-02-27 Andrew Cagney <cagney@redhat.com>
15199
15200 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
15201 support.
15202
15d208f6 152032004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 15204
15d208f6
FF
15205 * gdb.arch/gdb1431.c: Remove.
15206 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
15207 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
15208 of "until" incorrectly.
15209
98f9cd2d
JB
152102004-02-26 J. Brobecker <brobecker@gnat.com>
15211
15212 * gdb.cp/class2.cc (empty): New class.
15213 (refer): New function.
15214 (main): Declare an object of type empty and use it.
15215 * gdb.cp/class2.exp: Print the value of an object of type empty.
15216
9b50c11b
JJ
152172004-02-26 Jeff Johnston <jjohnstn@redhat.com>
15218
15219 * gdb.base/langs.exp: Update query string to match the
15220 new nquery format used for pending breakpoints.
15221
0dcd613f
AC
152222004-02-26 Andrew Cagney <cagney@redhat.com>
15223
15224 Fix PR i18n/1570.
15225 * gdb.base/charset.c: Update copyright notice.
15226 (main, init_string): Remove the escape character '\e' tests.
15227 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
15228 * gdb.base/charset.exp (valid_host_charset): Ditto.
15229 * gdb.base/setvar.exp: Ditto.
15230
b8a56647
AC
152312004-02-24 Andrew Cagney <cagney@redhat.com>
15232
90d59e34
AC
15233 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
15234 mmapped data in core file" PASS and FAIL messages consistent.
15235
b8a56647
AC
15236 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
15237 setting a breakpoint. Work around PR java/1565.
15238
9f27c604
JJ
152392004-02-23 Jeff Johnston <jjohnstn@redhat.com>
15240
15241 * lib/gdb.exp (gdb_breakpoint): Update query string to match
15242 new nquery format.
15243 * gdb.base/pending.exp: Ditto.
15244
3224a706
MK
152452004-02-22 Mark Kettenis <kettenis@gnu.org>
15246
15247 * configure.in: Run stabs tests on *BSD.
15248 * configure: Regenerated.
15249
41e0a9ca
MK
152502004-02-21 Mark Kettenis <kettenis@gnu.org>
15251
15252 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
15253
1e1b3428
FF
152542004-02-20 Fred Fish <fnf@redhat.com>
15255
15256 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
15257 blank in test for "returns short", for consistency with other
15258 "returns xxx" tests. Update copyright year.
15259
f9a7572a
FF
152602004-02-19 Fred Fish <fnf@redhat.com>
15261
15262 New testcase for PR breakpoint/1558.
15263 * gdb.arch/gdb1558.exp: New file.
15264 * gdb.arch/gdb1558.c: New file.
15265
b2ce2854
EZ
152662004-02-19 Elena Zannoni <ezannoni@redhat.com>
15267
15268 * gdb.base/nodebug.exp: Fix typo.
15269
e7c9ff01
JB
152702004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15271
15272 Committed by Jim Blandy <jimb@redhat.com>.
15273
62f4b920
JB
15274 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
15275
2db536a1
JB
15276 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
15277
e7c9ff01
JB
15278 * gdb.base/float.exp: Support s390*-*-* targets.
15279
f3205b34
AF
152802004-02-17 Adam Fedor <fedor@gnu.org>
15281
15282 * gdb.base/gdb1555.exp: New file.
15283 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
15284
9d62932d
EZ
152852004-02-17 Elena Zannoni <ezannoni@redhat.com>
15286
15287 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
15288
344c9711
FF
152892004-02-16 Fred Fish <fnf@redhat.com>
15290
15291 * gdb.arch/gdb1291.c: Remove
15292 * gdb.arch/gdb1291.s: New test input file.
15293 * gdb.arch/gdb1291.exp: Expand test to check case that should not
15294 fail. Test for correct result, known incorrect result, other
15295 failures and timeouts.
15296
2d822687
AC
152972004-02-16 Andrew Cagney <cagney@redhat.com>
15298
15299 * gdb.base/bigcore.exp: New file.
15300 * gdb.base/bigcore.c: New file.
15301
dac15b66
AC
153022004-02-13 Andrew Cagney <cagney@redhat.com>
15303
15304 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
15305 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
15306 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
15307 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
15308 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
15309 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
15310 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
15311 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
15312 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
15313 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
15314
6bdfc2c4
JJ
153152004-02-11 Jeff Johnston <jjohnstn@redhat.com>
15316
15317 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
15318 executed is an alloc instruction.
15319
87b3ede8
DC
153202004-02-11 David Carlton <carlton@kealia.com>
15321
15322 * gdb.cp/breakpoint.exp: New.
15323 * gdb.cp/breakpoint.cc: New.
15324
6e19e2bf
MC
153252004-02-11 Michael Chastain <mec.gnu@mindspring.com>
15326
15327 Partial fix for PR gdb/1543.
15328 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
15329 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
15330 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
15331 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
15332 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
15333 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
15334 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
15335 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
15336 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
15337 to bug-gdb@prep.ai.mit.edu .
15338 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
15339 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
15340 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
15341 Likewise.
15342
5c5455dc
AC
153432004-02-10 Andrew Cagney <cagney@redhat.com>
15344
15345 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
15346 using gdb_internal_error_resync.
15347
9cf689d7
DJ
153482004-02-09 Daniel Jacobowitz <drow@mvista.com>
15349
15350 * gdb.threads/thread-specific.exp: Stop early if no threads are
15351 found.
15352
d2dc51db
MC
153532004-02-09 Michael Chastain <mec.gnu@mindspring.com>
15354
15355 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
15356
14b1a056
DJ
153572004-02-08 Daniel Jacobowitz <drow@mvista.com>
15358
15359 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
15360 breakpoints.
15361
83f66e8f
DJ
153622004-02-07 Daniel Jacobowitz <drow@mvista.com>
15363
15364 * config/sim.exp (gdb_load): Handle $arg == "".
15365 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
15366 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
15367
30fc0091
EZ
153682004-02-07 Elena Zannoni <ezannoni@redhat.com>
15369
a9c64011
AS
15370 * gdb.base/maint.exp: Update test to reflect
15371 obstack changes.
30fc0091 15372
4d806929
JJ
153732004-02-04 Jeff Johnston <jjohnstn@redhat.com>
15374
15375 * gdb.base/pendshr.c (pendfunc): New function that calls
15376 pendfunc1.
15377 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
15378
7bfdd688
FF
153792004-02-04 Fred Fish <fnf@redhat.com>
15380
15381 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
15382 function symbols and update copyright years.
15383 * gdb.arch/gdb1291.c: Ditto.
15384
aaa08ee4
MC
153852004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15386
15387 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
15388
dbad7755
MC
153892004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15390
15391 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
15392
ec4646ef
MC
153932004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15394
15395 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
15396
1b802196
FF
153972004-02-02 Fred Fish <fnf@redhat.com>
15398
15399 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
15400 remote targets. Update copyright years.
15401
18fe2033
JJ
154022004-02-02 Jeff Johnston <jjohnstn@redhat.com>
15403
15404 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
15405 support.
15406 * gdb.base/langs.exp: Fix test which attempts to create
15407 breakpoint on non-existent function to handle new pending
15408 support.
15409 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
15410 a breakpoint.
15411 * gdb.base/pending.exp: New test.
15412 * gdb.base/pending.c: New file.
15413 * gdb.base/pendshr.c: Ditto.
15414
8d577d32
DC
154152004-02-02 David Carlton <carlton@kealia.com>
15416
15417 * gdb.cp/overload.exp: Add overloadNamespace tests.
15418 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
15419 (overloadNamespace, XXX): New.
15420 (main): Call XXX::marker2.
15421
3ad13771
FF
154222004-02-01 Fred Fish <fnf@redhat.com>
15423
15424 * gdb.base/dump.exp: Use runto_main instead of "runto main".
15425 * gdb.base/finish.exp: Ditto.
15426 * gdb.base/gcore.exp: Ditto.
15427 * gdb.base/huge.exp: Ditto.
15428 * gdb.base/info-proc.exp: Ditto.
15429 * gdb.base/return2.exp: Ditto.
15430 * gdb.threads/gcore-thread.exp: Ditto.
15431
44c75849
DJ
154322004-02-01 Daniel Jacobowitz <drow@mvista.com>
15433
15434 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
15435
005bc093
MK
154362004-02-01 Mark Kettenis <kettenis@gnu.org>
15437
15438 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
15439 that opening the file succeeds on OpenBSD.
15440
c47cebdb
DJ
154412004-02-01 Daniel Jacobowitz <drow@mvista.com>
15442
15443 * gdb.threads/thread-specific.c: New file.
15444 * gdb.threads/threads-specific.exp: New test script.
15445 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
15446 to expect_out.
15447
5a01311c
MK
154482004-02-01 Mark Kettenis <kettenis@gnu.org>
15449
15450 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
15451 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
15452 only on the "print_small_structs from print_long_arg_list" test.
15453
ce22a4f1
DJ
154542004-02-01 Daniel Jacobowitz <drow@mvista.com>
15455
15456 * gdb.base/completion.exp: Kill a stray backslash.
15457
15458 From Jim Ingham <jingham@apple.com>:
15459 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
15460 agrees with the result from sending a tab.
15461
abbab9d3
DJ
154622004-01-31 Daniel Jacobowitz <drow@mvista.com>
15463
15464 * gdb.base/chng-syms.exp: Remove stray newline.
15465
53904d1e
MK
154662004-01-31 Mark Kettenis <kettenis@gnu.org>
15467
15468 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
15469 *-*-openbsd*.
15470 * gdb.asm/openbsd.inc: New file.
15471
3a4b3aac
MK
154722004-01-30 Mark Kettenis <kettenis@gnu.org>
15473
15474 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
15475 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
15476 *-*solaris2*. Remove commented out default settings for
15477 asm-flags. Replace gdb_compile with target_link.
15478
ebac27b4
MC
154792004-01-29 Michael Chastain <mec.gnu@mindspring.com>
15480
15481 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
15482 for all tests. Remove old hp-ux and cygnus xfail cases.
15483
d8679d84
PH
154842004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
15485
15486 * gdb.base/chng-syms.exp: New file.
15487 * gdb.base/chng-syms.c: New file.
15488
0a55bc22
MC
154892004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15490
15491 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
15492 Provide arms for current output in all my configurations.
15493
94b8e876
MC
154942004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15495
15496 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
15497 * lib/compiler.cc: Likewise.
15498 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
15499 get the right preprocessor. Eval the output directly. Remove
15500 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
15501 hp_f77_compiler and hp_f90_compiler completely.
15502 (gdb_preprocess): Delete.
15503 (get_compiler): Delete.
15504
7cf03d44
MK
155052004-01-24 Mark Kettenis <kettenis@gnu.org>
15506
15507 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
15508 <string.h>.
15509
68b6dce9
NR
155102004-01-24 Nick Roberts <nick@nick.uklinux.net>
15511
15512 * gdb.mi/mi-stack.exp: Update copyright.
15513
b368761e
DC
155142004-01-23 David Carlton <carlton@kealia.com>
15515
15516 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
15517 test for cp_lookup_transparent_type.
15518 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
15519 call them.
15520
f2061b53
DJ
155212004-01-23 Daniel Jacobowitz <drow@mvista.com>
15522
15523 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
15524 after -var-update.
15525
37fc574a
DC
155262004-01-23 David Carlton <carlton@kealia.com>
15527
15528 * gdb.cp/namespace.cc (C::ensureRefs): New.
15529 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
15530
8e94b928
NR
155312004-01-20 Nick Roberts <nick@nick.uklinux.net>
15532
15533 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
15534 case "-stack-list-locals 2".
15535 * gdb.mi/mi-var-child.exp: Test for case
15536 "-var-list-children --all-values NAME".
15537
997b0952
MC
155382004-01-18 Michael Chastain <mec.gnu@mindspring.com>
15539
15540 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
15541
52470da3
MK
155422004-01-18 Mark Kettenis <kettenis@gnu.org>
15543
7049b4b8
MK
15544 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
15545 used with gdb_test_multiple.
15546
52470da3
MK
15547 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
15548 read at address 0. This fixes PR testsuite/1504.
15549
da6012e5
DJ
155502004-01-18 Daniel Jacobowitz <drow@mvista.com>
15551
15552 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
15553 Remove downloading, guessing the host executable, the calls to
15554 gdb_file_cmd and gdb_target_cmd, and "load" support.
15555 (infer_host_exec): New function broken out from gdb_load.
15556 (gdb_load): New wrapper for gdbserver_gdb_load.
15557 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
15558 gdb_target_cmd. Use -target-select.
15559 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
15560 Download binaries to the host. Clear last_mi_remote_file when
15561 we load a new binary.
15562 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
15563 call gdbserver_gdb_load and mi_gdb_target_cmd.
15564
32c70722
MC
155652004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15566
15567 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
15568 type patterns.
15569
b0cecf36
MC
155702004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15571
15572 * gdb.cp/templates.exp: Fix typo in test name of
15573 "print Foo<volatile char*>::foo".
15574
4120d7e6
MC
155752004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15576
15577 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
15578
f679e530
BE
155792004-01-16 Ben Elliston <bje@wasabisystems.com>
15580
15581 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
15582 (clean mostlyclean): Remove empty rm.
15583
091c48f6
MC
155842004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15585
15586 * gdb.base/setvar.exp: Add copyright years.
15587
3e5fc8d2
DC
155882004-01-14 David Carlton <carlton@bactrian.org>
15589
15590 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
15591 PR c++/1511 and update coment.
15592 * gdb.cp/templates.exp: Update patterns to match current output.
15593 If changes involve something other than whitespace, KFAIL
15594 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
15595
63d06c5c
DC
155962004-01-14 David Carlton <carlton@kealia.com>
15597
15598 * gdb.cp/namespace.exp: Add tests involving classes defined within
15599 namespaces.
15600 * gdb.cp/namespace.cc (C::CClass): New.
15601 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
15602
a51dab88
EZ
156032004-01-14 Elena Zannoni <ezannoni@redhat.com>
15604
15605 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
15606 what debug info we have. Print a better message if something goes
15607 wrong while producing the separate debug info file.
15608
a476ccc9
MC
156092004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15610
15611 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
15612
f453692c
MC
156132004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15614
15615 * gdb.base/callfuncs.c: Add copyright notice.
15616
f40063a5
MC
156172004-01-13 Michael Chastain <mec.gnu@mindspring.com>
15618
15619 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
15620 inheritance. PR gdb/1498, PR gcc/13539.
15621
19ac3974
EZ
156222004-01-13 Elena Zannoni <ezannoni@redhat.com>
15623
a9c64011
AS
15624 * gdb.threads/gcore-thread.exp: Prefix name of binary with
15625 test specific name.
15626 * gdb.mi/gdb669.exp: Ditto.
15627 * gdb.mi/mi-pthreads.exp: Ditto.
15628 * gdb.mi/mi1-pthreads.exp: Ditto.
15629 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 15630
56c97c6e
MC
156312004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15632
15633 * gdb.cp/member-ptr.cc: Add copyright notice.
15634
a0644324
MC
156352004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15636
15637 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
15638 some patterns for recent versions of gcc and hpacc. Delete
15639 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
15640 Delete tests that access a NULL pointer-to-member-data. This
15641 script is still disabled for gcc.
15642
32fabe09
EZ
156432004-01-12 Elena Zannoni <ezannoni@redhat.com>
15644
15645 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 15646 escaped correctly.
32fabe09 15647
1f8a6abb
EZ
156482004-01-12 Elena Zannoni <ezannoni@redhat.com>
15649
15650 * gdb.base/sepdebug.exp: New file.
15651 * gdb.base/sepdebug.c: New file.
15652 * lib/gdb.exp (separate_debug_filename): New procedure.
15653 (gdb_gnu_strip_debug): New procedure.
15654
48efe704
AC
156552004-01-12 Andrew Cagney <cagney@redhat.com>
15656
15657 * gdb.mi/ChangeLog: Delete file. Renamed to ...
15658 * gdb.mi/ChangeLog-1999-2003: New file.
15659
a9415475
AC
156602004-01-12 Andrew Cagney <cagney@redhat.com>
15661
15662 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
15663 "Renaming a directory to a non-empty directory returns ENOTEMPTY
15664 or EEXIST", treat EBUSY as an XFAIL.
15665
83b8cf9d
MC
156662004-01-11 Michael Chastain <mec.gnu@mindspring.com>
15667
15668 * gdb.base/scope.exp: Remove obsolete setup_xfail for
15669 hp_cc_compiler.
15670
9939d2a8
MC
156712004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15672
15673 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
15674 decorations.
15675
1ff8cadf
MC
156762004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15677
15678 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
15679 and "(aCC)" decorations. Remove obsolete doco about old
15680 test results.
15681
6fa9022e
MC
156822004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15683
15684 * gdb.cp/exception.exp: Fix typo in doco.
15685
209721fe
MK
156862004-01-09 Mark Kettenis <kettenis@gnu.org>
15687
15688 * gdb.base/gdb1476.exp: Fix typo.
15689
ef11303e
MC
156902004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15691
15692 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
15693 file.
15694
041ab88c
MC
156952004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15696
15697 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
15698 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
15699 Use gdb_compile. Remove restriction on gcc. Add some patterns
15700 for recent version of gdb. Delete second half, which was a copy
15701 of the first half with different build flags. This test is
15702 still disabled because it is still not ready for production.
15703
e36d075a
MC
157042004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15705
15706 * gdb.cp/exception.cc: Add copyright notice.
15707 * gdb.cp/exception.exp: Add a notice that this file is broken
15708 because of line number changes caused by addition of copyright
15709 notice.
15710
42b190ad
MC
157112004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15712
15713 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
15714 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
15715
8f25f06b
MC
157162004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15717
15718 * gdb.cp/classes.exp: Accept gnu abi 2.
15719 * gdb.cp/derivation.exp: Likewise.
15720 * gdb.cp/overload.exp: Likewise.
15721 * gdb.cp/virtfunc.exp: Likewise.
15722
06ded8b8
MC
157232004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15724
15725 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
15726 semicolon after end of function.
15727
77c26ae3
MC
157282004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15729
15730 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
15731 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
15732 boilerplate code for compiling and running the program under
15733 test. Add some string method tests.
15734
20757486
MC
157352004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15736
15737 * gdb.cp/bs15503.cc: Add copyright notice.
15738 * gdb.cp/bs15503.exp: Adjust line number.
15739
0fd3b503
MC
157402004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15741
15742 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
15743 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
15744
10d1bea8
MC
157452004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15746
15747 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
15748 hp_cc_compiler.
15749
2789202a
MC
157502004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15751
15752 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
15753 * gdb.cp/ctti.exp: Use the marker instead of "next".
15754 With gcc, run further before bailing.
15755
b862f14c
MC
157562004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15757
15758 * gdb.cp/cttiadd.cc: Add copyright notice.
15759 * gdb.cp/cttiadd1.cc: Likewise.
15760 * gdb.cp/cttiadd2.cc: Likewise.
15761 * gdb.cp/cttiadd3.cc: Likewise.
15762
96da2469
MC
157632004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15764
15765 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
15766 Use gdb_test, gdb_test_multiple. Use floating-point values that
15767 have exact representations in IEEE-ish formats.
15768
053248ff
MC
157692004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15770
15771 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
15772 compilers. Delete duplicate call to get_compiler_info.
15773 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
15774 * gdb.base/volatile.exp: Likewise.
15775
84acecdd
MK
157762004-01-07 Mark Kettenis <kettenis@gnu.org>
15777
15778 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
15779 memory at address 0.
15780
fe11a27f
MC
157812004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15782
15783 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
15784 to test for hp-ux assembler. Fix copyright years.
15785
60ad077b
AC
157862004-01-07 Andrew Cagney <cagney@redhat.com>
15787
15788 * gdb.base/fileio.c (strerrno): Add "EBUSY".
15789
1c9b8f33
AC
157902004-01-07 Andrew Cagney <cagney@redhat.com>
15791
15792 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
15793 when creating the read-only file. From analysis by Roland McGrath
15794 and Elena Zannoni.
15795
753ccc7a
MC
157962004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15797
15798 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
15799
eca3e36b
MC
158002004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15801
15802 * gdb.base/cvexpr.c: Be type-safe with function pointers and
15803 data pointers.
15804
f8d4bac4
MC
158052004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15806
15807 * gdb.cp/m-static.exp: Compile one source file at a time.
15808 Delete unused call to get_compiler_info.
15809
9b4e0f94
MC
158102004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15811
15812 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
15813 * gdb.base/call-rt-st.exp: Likewise.
15814 * gdb.base/nodebug.exp: Likewise.
15815 * gdb.base/volatile.exp: Likewise.
15816 * gdb.cp/ref-types.exp: Likewise.
15817 * gdb.cp/templates.exp: Likewise.
15818
023c1024
MK
158192004-01-05 Mark Kettenis <kettenis@gnu.org>
15820
15821 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
15822
19703c4a
MC
158232004-01-05 Michael Chastain <mec.gnu@mindspring.com>
15824
15825 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
15826 hppa*-hp-hpux*.
15827
18b67037
MK
158282004-01-04 Mark Kettenis <kettenis@gnu.org>
15829
ba6219c8
MK
15830 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15831 x86_64-*-*.
15832
18b67037
MK
15833 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15834 sparc64-*-* and sparc*-solaris2*.
15835
1bfbbb9d
MK
158362004-01-04 Mark Kettenis <kettenis@gnu.org>
15837
15838 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
15839 return ${tests}" test. The ${tests} already mentions the
15840 filename.
15841
06846494
MC
158422004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15843
15844 * gdb.cp/local.exp: Accept gcc abi 2.
15845
3b0cb202
MC
158462004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15847
15848 * gdb.cp/templates.exp: Accept gcc abi 2.
15849
0643ec3f
MC
158502004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15851
15852 * lib/compiler.cc: Remove supports_template_debugging.
15853 * gdb.cp/templates.exp: Do not test supports_template_debugging.
15854
d231d0b1
MC
158552004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15856
15857 * gdb.cp/namespace.exp: Accept gcc abi 2.
15858
44ffb27c
MC
158592004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15860
15861 * gdb.cp/method.exp: Accept gcc abi 2.
15862
184ad485
MC
158632004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15864
15865 * gdb.cp/classes.exp: Generate identical results as old version.
15866 * gdb.cp/derivation.exp: Likewise.
15867 * gdb.cp/overload.exp: Likewise.
15868 * gdb.cp/virtfunc.exp: Likewise.
15869
116f09e7
MC
158702004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15871
15872 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
15873 mysterious bug with sourceware version of expect.
15874
b1379776
MC
158752004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15876
15877 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
15878 current versions of gcc, including gcc abi 2. Remove gratuitous
15879 restart of test program. Use gdb_test_multiple and gdb_test for
15880 all tests. Add patterns to xfail missing "const" in "const char *"
15881 and kfail PR gdb/1155.
15882
6b7a4c0e
MC
158832004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15884
15885 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
15886 current versions of gcc, including gcc abi 2. Remove gratuitous
15887 restart of test program. Use gdb_test_multiple and gdb_test for
15888 all tests. Add patterns to kfail PR gdb/1498.
15889
51615d72
MC
158902003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15891
15892 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
15893 current versions of gcc, including gcc abi 2. Use "breakpoint"
15894 and "continue" instead of restarting the target program. Use
15895 gdb_test_multiple and gdb_test for all tests.
15896
7b79a9d7
MK
158972004-01-01 Mark Kettenis <kettenis@gnu.org>
15898
15899 * gdb.asm/asm-source.exp: Update copyright year. Link statically
15900 for *-*-solaris2*.
15901
1cd3489f
MC
159022003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15903
15904 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
15905 current versions of gcc, including gcc abi 2. Use "breakpoint"
15906 and "continue" instead of restarting the target program several
15907 times. Use gdb_test_multiple and gdb_test for all tests.
15908
850742db
MC
159092003-12-18 Michael Chastain <mec.gnu@mindspring.com>
15910
15911 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
15912 source files.
15913
eb4bbda8
MC
159142003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15915
15916 * gdb.base/environ.exp: Handle compiling test case from multiple
15917 source files.
15918
e42c7771
MC
159192003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15920
15921 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
15922
80e4b428
JB
159232003-12-17 Jim Blandy <jimb@redhat.com>
15924
5f06973a
JB
15925 * gdb.base/freebpcmd.c: Add copyright notice.
15926
80e4b428
JB
15927 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
15928
0ab84fb7
MC
159292003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15930
15931 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
15932
1b3bb3d0
JB
159332003-12-13 Jim Blandy <jimb@redhat.com>
15934
15935 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
15936
3a4c9371
KB
159372003-12-12 Kevin Buettner <kevinb@redhat.com>
15938
15939 * gdb.asm/frv.inc: New file.
15940 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
15941
a1dea79a
FF
159422003-12-09 Fred Fish <fnf@redhat.com>
15943
15944 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
15945 functions to break1.c and leave prototypes behind. Add more
15946 "set breakpoint NN here" comments.
15947 * gdb.base/break1.c: New file.
15948
15949 * gdb.base/break.exp: Handle compiling test case from multiple
15950 source files and change source file references as needed.
15951 * gdb.base/completion.exp: Ditto.
15952 * gdb.base/condbreak.exp: Ditto.
15953 * gdb.base/define.exp: Ditto.
15954 * gdb.base/ena-dis-br.exp: Ditto.
15955 * gdb.base/info-proc.exp: Ditto.
15956 * gdb.base/maint.exp: Ditto.
15957 * gdb.base/until.exp: Ditto.
15958
15959 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
15960 hardcoded line numbers.
15961 * gdb.base/define.exp: Ditto.
15962 * gdb.base/ena-dis-br.exp: Ditto.
15963 * gdb.base/maint.exp: Ditto.
15964 * gdb.base/until.exp: Ditto.
15965
15966 * gdb.base/completion.exp: Use "break1" for completion tests since
15967 "break" is no longer a unique prefix.
15968
5266b69c
AC
159692003-12-06 Andrew Cagney <cagney@redhat.com>
15970
15971 * gdb.base/structs.exp (test_struct_returns): When applicable, set
15972 "return_value_unimplemented". When an unimplemented struct return
15973 architecture, report incorrect values as a KFAIL
15974
374451f0
MC
159752003-12-05 Michael Chastain <mec.gnu@mindspring.com>
15976
15977 * gdb.cp/rtti.exp: Accept new wording of warning from
15978 cp_lookup_rtti_type.
15979
ba9b20a7
MC
159802003-12-05 Michael Chastain <mec.gnu@mindspring.com>
15981
15982 Partial fix for PR testsuite/1456.
15983 * gdb.base/scope.exp (test_at_main): Replace references to
15984 gcc_compiled with calls to test_compiler_info.
15985 (test_at_foo): Likewise.
15986 (test_at_bar): Likewise.
15987
b74b6d0b
MC
159882003-12-04 Michael Chastain <mec.gnu@mindspring.com>
15989
15990 Partial fix for PR testsuite/1456.
15991 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
15992 to test_compiler_info.
15993
ccfa3402
MC
159942003-12-03 Michael Chastain <mec.gnu@mindspring.com>
15995
15996 * gdb.base/so-impl-ld.exp: Update copyright notice.
15997
f6246aba
MC
159982003-12-02 Michael Chastain <mec.gnu@mindspring.com>
15999
16000 Partial fix for PR testsuite/1456.
16001 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
16002 to test_compiler_info.
16003
13ae734a
MC
160042003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16005
16006 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
16007 from current versions of gdb. Clean up regular expressions.
16008 Delete redundant timeout case.
16009
d8e1cdee
MC
160102003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16011
16012 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
16013 from current versions of gdb. Clean up regular expressions.
16014 Delete redundant timeout case.
16015
96457b64
MC
160162003-12-01 Michael Chastain <mec.gnu@mindspring.com>
16017
16018 Partial fix for PR testsuite/1456.
16019 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
16020 gcc_compiled with call to test_compiler_info.
16021
f35309fc
MC
160222003-11-30 Michael Chastain <mec.gnu@mindspring.com>
16023
16024 Partial fix for PR testsuite/1456.
16025 * gdb.base/list.exp (test_list_function): Delete unused declaration
16026 of gcc_compiled.
16027
d7afdf9b
MC
160282003-11-29 Michael Chastain <mec.gnu@mindspring.com>
16029
16030 Partial fix for PR testsuite/1456.
16031 * gdb.base/complex.exp: Replace reference to gcc_compiled with
16032 call to test_compiler_info.
16033
71507b56
MK
160342003-11-29 Mark Kettenis <kettenis@gnu.org>
16035
16036 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
16037 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
16038 it to create the appropriate note.inc.
16039 * gdb.asm/asmsrc1.s: Include "note.inc".
16040 * gdb.asm/netbsd.inc: New file.
16041 * gdb.asm/empty.inc: New file.
16042
f81f93f7
MC
160432003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16044
16045 Partial fix for PR testsuite/1456.
16046 * gdb.base/constvars.exp: Replace references to gcc_compiled with
16047 calls to test_compiler_info.
16048
9a77938e
MC
160492003-11-27 Michael Chastain <mec.gnu@mindspring.com>
16050
16051 Partial fix for PR testsuite/1456.
16052 * gdb.base/volatile.exp: Replace references to gcc_compiled with
16053 calls to test_compiler_info.
16054
e8367dc7
MK
160552003-11-27 Mark Kettenis <kettenis@gnu.org>
16056
16057 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
16058 pattern for the KFAILs.
16059
526c61ee
AF
160602003-11-25 Adam Fedor <fedor@gnu.org>
16061
16062 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
16063 * gdb.objc/objcdecode.m: New file.
16064
28f2d600
AF
160652003-11-25 Adam Fedor <fedor@gnu.org>
16066
16067 * gdb.objc/nondebug.exp: Test for PR objc/1236.
16068 * gdb.objc/nondebug.m: New file.
16069
a3895cee
BE
160702003-11-26 Ben Elliston <bje@wasabisystems.com>
16071
16072 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16073 NetBSD as it does on FreeBSD. Modelled on a similar change by
16074 Mark Kettenis on 2003-05-30.
16075 (link-flags): Set to "--entry _start" regardless of target.
16076 Special linker flags are to be appended to $link-flags.
16077 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
16078
c9f2c8a3
MC
160792003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16080
16081 * gdb.cp/method.exp: Accept output of new demangler.
16082
15a0587a 160832003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
16084
16085 * gdb/class2.exp: New file.
16086 * gdb/class2.cc: New file.
16087
3c00b570
MC
160882003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16089
16090 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
16091 of new demangler.
16092
7027acc7
MK
160932003-11-23 Mark Kettenis <kettenis@gnu.org>
16094
16095 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
16096 of gdb_test "run".
16097
b0e1598a
MK
160982003-11-23 Mark Kettenis <kettenis@gnu.org>
16099
16100 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
16101 "continue" into "run".
16102
4d9eda44
MC
161032003-11-23 Michael Chastain <mec.gnu@mindspring.com>
16104
16105 Partial fix for PR testsuite/1456.
16106 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
16107 call to test_compiler_info.
16108 * gdb.cp/ctti.exp: Likewise.
16109 * gdb.cp/derivation.exp: Likewise.
16110 * gdb.cp/member-ptr.exp: Likewise.
16111 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
16112 reference to gcc_compiled.
16113
161142003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
16115
16116 Fix PR testsuite/1463.
16117 * gdb.base/structs.exp (start_structs_test): Call
16118 get_debug_format before using the debug format.
16119
d422fe19
AC
161202003-11-22 Andrew Cagney <cagney@redhat.com>
16121
16122 * lib/gdb.exp (gdb_test_multiple): Add simple example.
16123 * gdb.base/structs.exp: Use gdb_test_multiple.
16124
039cf96d
AC
161252003-11-20 Andrew Cagney <cagney@redhat.com>
16126
6882279b
AC
16127 * gdb.base/structs.exp: Handle and recover from internal errors.
16128 Replace "foo${n}" with "foo<n>" in test messages.
16129
e53890ae
AC
16130 * gdb.base/structs.exp: Update copyright. Rewrite.
16131 * gdb.base/structs.c: Update copyright. Rewrite.
16132
2b211c59
AC
16133 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
16134 resync count exceeded.
d63a86f8 16135
039cf96d
AC
16136 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
16137 from the internal error.
16138 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
16139 Original from Jim Blandy.
16140 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 16141
eac98b22
AC
161422003-11-19 Andrew Cagney <cagney@redhat.com>
16143
16144 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
16145 KFAIL.
16146
67455b2a
MK
161472003-11-17 Mark Kettenis <kettenis@gnu.org>
16148
16149 New testcase for PR backtrace/1435.
16150 * gdb.arch/i386-unwind.exp: New file.
16151 * gdb.arch/i386-unwind.c: New file.
16152
853d6e5b
AC
161532003-11-17 Andrew Cagney <cagney@redhat.com>
16154
16155 * lib/gdb.exp (compiler_info): New global.
16156 (test_compiler_info): New function.
16157 (get_compiler_info): Set compiler_info.
16158 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
16159 "compiler_info" to gcc-<major>-<minor>.
16160
38cf6e11
MC
161612003-11-15 Michael Chastain <mec.gnu@mindspring.com>
16162
16163 * gdb.trace/configure: Remove.
16164
a50d3602
EZ
161652003-11-13 Elena Zannoni <ezannoni@redhat.com>
16166
16167 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 16168 breakpoints.
a50d3602
EZ
16169 * gdb.base/break.exp: Remove all references to explicit line
16170 numbers.
16171
d9407aaa
NC
161722003-11-11 Nick Clifton <nickc@redhat.com>
16173
16174 * gdb.base/shreloc.exp: Do not run for targets which do not
16175 support shared objects.
16176
db488fc1
CV
161772003-11-10 Corinna Vinschen <vinschen@redhat.com>
16178
16179 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
16180 Don't run tests if nofileio flag is given.
16181
6a90a18e
EZ
161822003-11-07 Elena Zannoni <ezannoni@redhat.com>
16183
16184 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 16185 as well as 'Watchpoint'.
6a90a18e 16186
0b915e9c
EZ
161872003-11-06 Elena Zannoni <ezannoni@redhat.com>
16188
16189 Reported by Jim Ingham <jingham@apple.com>:
16190 * gdb.base/annota1.exp: Match at least one occurrence of the
16191 signal handler annotation.
16192
d7e4b55f
EZ
161932003-11-06 Elena Zannoni <ezannoni@redhat.com>
16194
a9c64011
AS
16195 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
16196 as well as 'Watchpoint'.
d7e4b55f 16197
2fe4e8d0
MC
161982003-11-05 Michael Chastain <mec@shout.net>
16199
16200 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
16201
6ef88553
KW
162022003-11-03 Kris Warkentin <kewarken@qnx.com>
16203
16204 * gdb.arch/gdb1291.c: New test file.
16205 * gdb.arch/gdb1291.exp: New test script.
16206 * gdb.arch/gdb1431.c: New test file.
16207 * gdb.arch/gdb1431.exp: New test script.
16208
ae7dc4d8
MC
162092003-10-22 Michael Chastain <mec@shout.net>
16210
16211 * gdb.mi/pthreads.c: Add copyright notice.
16212
c39d7427
MC
162132003-10-22 Michael Chastain <mec@shout.net>
16214
16215 * gdb.threads/pthreads.c: Add copyright notice.
16216
8b7d96c1
MC
162172003-10-20 Michael Chastain <mec@shout.net>
16218
16219 * gdb.base/gdb1056.exp: New test script.
16220
d1d69fdd
DJ
162212003-10-13 Daniel Jacobowitz <drow@mvista.com>
16222
16223 * gdb.threads/killed.exp: Use gdb_run_cmd.
16224
7d605576
DJ
162252003-10-13 Daniel Jacobowitz <drow@mvista.com>
16226
16227 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
16228 create a core file.
16229 * gdb.threads/gcore-thread.exp: Likewise.
16230
618ec112
CV
162312003-10-13 Corinna Vinschen <vinschen@redhat.com>
16232
16233 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
16234 type, based on char type.
16235 (struct bit_flags_short_t): New bitfield type, based on short type.
16236 (init_bit_flags_char): New fuction.
16237 (init_bit_flags_short): Ditto.
16238 (print_bit_flags_char): Ditto.
16239 (print_bit_flags_short): Ditto.
16240 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
16241
9367a73c
MC
162422003-10-11 Michael Chastain <mec@shout.net>
16243
16244 * gdb.base/call-rt-st.exp: Update copyright year.
16245
1decf120
KI
162462003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
16247
16248 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
16249 * gdb.disasm/sh3.s: Ditto.
16250
5445b2ae
DJ
162512003-10-07 Daniel Jacobowitz <drow@mvista.com>
16252
16253 * gdb.threads/switch-threads.exp: New test.
16254 * gdb.threads/switch-threads.c: New source file.
16255
aec24853
CV
162562003-10-07 Corinna Vinschen <vinschen@redhat.com>
16257
16258 * gdb.base/ending-run.exp: Add sh specific case.
16259
adc7428d
AC
162602003-10-06 Andrew Cagney <cagney@redhat.com>
16261
16262 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
16263 * gdb.disasm/mn10200.exp: Delete obsolete file.
16264
c9d37158
DJ
162652003-09-29 Daniel Jacobowitz <drow@mvista.com>
16266
16267 * ChangeLog: Correct an entry command.exp -> commands.exp.
16268 * gdb.base/commands.exp (bp_deleted_in_command_test)
16269 (temporary_breakpoint_commands): Check noargs.
16270
79c2c32d
DC
162712003-09-25 David Carlton <carlton@kealia.com>
16272
16273 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
16274 of some print tests, where appropriate. Add tests for C::D::cd,
16275 E::ce, F::cXfX, G::XgX.
16276 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
16277
594e6d67
RE
162782003-09-25 Richard Earnshaw <rearnsha@arm.com>
16279
16280 * lib/java.exp (java_init): Import target_alias before using it.
16281
10f0d451
DC
162822003-09-25 David Carlton <carlton@kealia.com>
16283
16284 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
16285
274bcba0
EZ
162862003-09-23 Elena Zannoni <ezannoni@redhat.com>
16287
d63a86f8 16288 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 16289 weirdness.
274bcba0 16290
cdbf20f7
MC
162912003-09-17 Michael Chastain <mec@shout.net>
16292
16293 * gdb.cp/gdb1355.exp: New file.
16294 * gdb.cp/gdb1355.c: New file.
16295
71e06f80
CV
162962003-09-15 Corinna Vinschen <vinschen@redhat.com>
16297
16298 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
16299 * gdb.asm/sh.inc: New file.
16300
5c4e30ca
DC
163012003-09-11 David Carlton <carlton@kealia.com>
16302
bd45b7af
DC
16303 * gdb.cp/namespace.exp: Add tests for namespace types.
16304 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
16305 (test_namespace): New.
16306
1c199746
EZ
163072003-09-11 Elena Zannoni <ezannoni@redhat.com>
16308
a9c64011 16309 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 16310 * gdb.stabs/weird.exp: Ditto.
1c199746 16311
04ed252f
MC
163122003-09-08 Michael Chastain <mec@shout.net>
16313
16314 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
16315
d8a2d9e7
MC
163162003-09-07 Michael Chastain <mec@shout.net>
16317
16318 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
16319 'parse error'.
16320
161afb24
MK
163212003-09-07 Mark Kettenis <m.kettenis@osp.nl>
16322
16323 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
16324
49f2741a
MC
163252003-08-30 Michael Chastain <mec@shout.net>
16326
16327 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
16328 * gdb.gdb/observer.exp: Ditto.
16329 * gdb.gdb/xfullpath.exp: Ditto.
16330
8afa723e
MK
163312003-08-29 Mark Kettenis <kettenis@gnu.org>
16332
16333 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
16334 *-*-*bsd*.
16335
f31dfe3b
JJ
163362003-08-28 Jeff Johnston <jjohnstn@redhat.com>
16337
16338 * gdb.base/dump.exp: Skip for ia64.
16339
4630e498
JJ
163402003-08-25 Jeff Johnston <jjohnstn@redhat.com>
16341
16342 * gdb.asm/asm-source.exp: Add ia64 support.
16343 * gdb.asm/ia64.inc: New file.
16344
1105b7ef
MC
163452003-08-22 Michael Chastain <mec@shout.net>
16346
16347 * gdb.cp: New directory.
16348 * gdb.cp/*: Copy from gdb.c++/*.
16349 * gdb.c++/*: Remove.
16350 * Makefile.in: Change gdb.c++ to gdb.cp.
16351 * configure.in: Ditto.
16352 * configure: Regnerate.
16353
c945b932
MK
163542003-08-18 Mark Kettenis <kettenis@gnu.org>
16355
16356 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
16357 * gdb.arch/i386-prologue.c (gdb1338): Add function.
16358
2b66634b
DJ
163592003-08-17 Daniel Jacobowitz <drow@mvista.com>
16360
16361 * mi-var-display.exp (-var-list-children weird): Accept function
16362 pointers with argument types.
16363 * mi1-var-display.exp (-var-list-children weird): Likewise.
16364 * mi2-var-display.exp (-var-list-children weird): Likewise.
16365
a356f73b
DJ
163662003-08-17 Daniel Jacobowitz <drow@mvista.com>
16367
16368 * gdb.base/annota3.exp: Add missing newline.
16369
483417b8
MC
163702003-08-06 Michael Chastain <mec@shout.net>
16371
16372 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
16373
c99c59c3
MS
163742003-08-12 Michael Snyder <msnyder@redhat.com>
16375
16376 * gdb.base/float.exp: Add test for SH.
16377
55ed7501
MK
163782003-08-10 Mark Kettenis <kettenis@gnu.org>
16379
16380 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
16381
1a371f2e
EZ
163822003-08-07 Elena Zannoni <ezannoni@redhat.com>
16383
16384 * gdb.base/completion.exp: Remove reduntant completion test
16385 on filename.
16386
e0f353ce
EZ
163872003-08-07 Elena Zannoni <ezannoni@redhat.com>
16388
a9c64011
AS
16389 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
16390 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
16391 gdb.trace/save-trace.exp: Make sure that full pathnames are
16392 escaped correctly.
e0f353ce 16393
5710a1af 163942003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 16395
a9c64011
AS
16396 * configure.in: Don't generate config.h from config.hin.
16397 * configure: Regenerate.
16398 * config.hin: Remove file.
16399 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
16400 * gdb.threads/pthreads.c: Ditto.
5710a1af 16401
dcd81ce9
DJ
164022003-08-07 Daniel Jacobowitz <drow@mvista.com>
16403
16404 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16405 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
16406 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
16407 Replace ld24 with seth/add3.
16408
6009d884
AC
164092003-08-02 Andrew Cagney <cagney@redhat.com>
16410
16411 * gdb.base/annota3.exp: New file.
16412 * gdb.base/annota3.c: New file.
16413 * gdb.c++/annota3.exp: New file.
16414 * gdb.c++/annota3.cc: New file.
16415
51514e06
MC
164162003-07-29 Michael Chastain <mec@shout.net>
16417
16418 * gdb.threads/tls.c (spin): Check errno only if sem_wait
16419 actually failed.
16420 (do_pass): Likewise.
16421 * gdb.threads/tls.exp: Always initialize no_of_threads.
16422
4ee6625b
DJ
164232003-07-27 Daniel Jacobowitz <drow@mvista.com>
16424
16425 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
16426 pattern.
16427 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
16428 * gdb.threads/tls.exp: Recognize one case of the host library not
16429 supporting TLS.
16430
225f2bf6
AC
164312003-07-27 Andrew Cagney <cagney@redhat.com>
16432
16433 * gdb.base/fileio.exp: Use SH when running commands using
16434 remote_exec.
16435
bcb27c9f
DJ
164362003-07-24 Daniel Jacobowitz <drow@mvista.com>
16437
16438 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16439 * gdb.base/relocate.c (dummy): New padding array.
16440
3d67be83
MS
164412003-07-22 Michael Snyder <msnyder@redhat.com>
16442
d63a86f8 16443 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
16444
16445 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
16446 patterns to be more general, accepting old and new output.
16447 Some output chars (such as '+') also must be quoted.
d63a86f8 16448 Some addresses are displayed numerically instead of
3d67be83
MS
16449 symbolically.
16450
57ba3b85
MS
164512003-07-23 Michael Snyder <msnyder@redhat.com>
16452
686d097c
MS
16453 * gdb.base/return2.exp: Don't test long-long return.
16454
57ba3b85
MS
16455 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
16456 * gdb.disasm/t01_mov.exp: Ditto.
16457 * gdb.disasm/t02_mova.s: Ditto.
16458 * gdb.disasm/t02_mova.exp: Ditto.
16459 * gdb.disasm/t03_add.s: Ditto.
16460 * gdb.disasm/t03_add.exp: Ditto.
16461 * gdb.disasm/t04_sub.s: Ditto.
16462 * gdb.disasm/t04_sub.exp: Ditto.
16463 * gdb.disasm/t05_cmp.s: Ditto.
16464 * gdb.disasm/t05_cmp.exp: Ditto.
16465 * gdb.disasm/t06_ari2.s: Ditto.
16466 * gdb.disasm/t06_ari2.exp: Ditto.
16467 * gdb.disasm/t07_ari3.s: Ditto.
16468 * gdb.disasm/t07_ari3.exp: Ditto.
16469 * gdb.disasm/t08_or.s: Ditto.
16470 * gdb.disasm/t08_or.exp: Ditto.
16471 * gdb.disasm/t09_xor.s: Ditto.
16472 * gdb.disasm/t09_xor.exp: Ditto.
16473 * gdb.disasm/t10_and.s: Ditto.
16474 * gdb.disasm/t10_and.exp: Ditto.
16475 * gdb.disasm/t11_logs.s: Ditto.
16476 * gdb.disasm/t11_logs.exp: Ditto.
16477 * gdb.disasm/t12_bit.s: Ditto.
16478 * gdb.disasm/t12_bit.exp: Ditto.
16479 * gdb.disasm/t13_otr.s: Ditto.
16480 * gdb.disasm/t13_otr.exp: Ditto.
16481
e00759ef
EZ
164822003-07-22 Elena Zannoni <ezannoni@redhat.com>
16483
16484 * gdb.threads/tls.exp :Add kfail for 'info address' case.
16485
8bc2021f
EZ
164862003-07-22 Elena Zannoni <ezannoni@redhat.com>
16487
a9c64011
AS
16488 * gdb.threads/tls.c : New file.
16489 * gdb.threads/tls.exp : New file.
16490 * gdb.threads/tls-main.c : New file.
16491 * gdb.threads/tls-shared.c : New file.
16492 * gdb.threads/tls-shared.exp : New file.
8bc2021f 16493
89320c4c
AS
164942003-07-22 Andreas Schwab <schwab@suse.de>
16495
16496 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
16497
180dea7c
AS
164982003-07-20 Andreas Schwab <schwab@suse.de>
16499
16500 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
16501 due to insn reordering.
16502
0714963c
AC
165032003-07-15 Andrew Cagney <cagney@redhat.com>
16504
16505 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
16506
98a23b3f
MC
165072003-07-15 Michael Chastain <mec@shout.net>
16508
16509 * gdb.base/gdb1250.exp: New file.
16510 * gdb.base/gdb1250.c: New file.
16511
27e417a2
ML
165122003-07-09 Michal Ludvig <mludvig@suse.cz>
16513
16514 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
16515 expansion of size_t to 'unsigned long', not only to 'unsigned'.
16516
8bc2021f
EZ
165172003-07-09 Elena Zannoni <ezannoni@redhat.com>
16518
a9c64011
AS
16519 * gdb.threads/tls.c: New file.
16520 * gdb.threads/tls.exp: New file.
16521 * gdb.threads/tls-main.c: New file.
16522 * gdb.threads/tls-shared.c: New file.
16523 * gdb.threads/tls-shared.exp: New file.
8bc2021f 16524
d99968dc
EZ
165252003-07-09 Elena Zannoni <ezannoni@redhat.com>
16526
16527 * gdb.base/annota1.exp: Make sure that we properly escape the
16528 full path of the source file. Xfail more permissive patterns,
d63a86f8 16529 due to a compiler debug info problem.
d99968dc 16530
83876b3b
AS
165312003-07-07 Andreas Schwab <schwab@suse.de>
16532
2705e972
AS
16533 * gdb.asm/m68k.inc: New file.
16534 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
16535
83876b3b
AS
16536 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
16537 arguments"): Also match negative number.
16538
16539 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
16540
3a871b37
DJ
165412003-07-03 Daniel Jacobowitz <drow@mvista.com>
16542
16543 * gdb.base/store.c (charest): New typedef.
16544 (add_char): Rename to add_charest, update.
16545 (wack_char): Rename to wack_charest, update types. Return l + r
16546 to keep r live across the call.
16547 (wack_short, wack_int, wack_long, wack_longest, wack_float)
16548 (wack_double, wack_doublest): Return l + r to keep r live across
16549 the call.
16550 * gdb.base/store.exp: Accomodate store.c changes.
16551
b2a7f303
DC
165522003-06-30 David Carlton <carlton@kealia.com>
16553
16554 * gdb.c++/maint.exp (test_invalid_name): New.
16555 (test_first_component): Add tests for invalid names.
16556
3c6cb4a1
MC
165572003-06-29 Michael Chastain <mec@shout.net>
16558
16559 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
16560 output of '<VTT for class>' for virtual base classes.
16561
f1c2644b
DJ
165622003-06-29 Daniel Jacobowitz <drow@mvista.com>
16563
16564 * gdb.base/completion.exp: Tab-complete "complet" instead of
16565 "compl".
16566 * gdb.base/complex.exp, gdb.base/complex.c: New files.
16567
18080350
DJ
165682003-06-29 Daniel Jacobowitz <drow@mvista.com>
16569
16570 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
16571 * gdb.base/volatile.exp: Likewise.
16572
f56973f8
DJ
165732003-06-29 Daniel Jacobowitz <drow@mvista.com>
16574
16575 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
16576 gdb/1265.
16577
165782003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
16579 Daniel Jacobowitz <drow@mvista.com>
16580
16581 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
16582 initial line count of 'captured_main' from 26 to 32.
16583 (test_with_self): Allow xmalloc call to be interleaved with the
16584 preceding two lines.
16585
e766d4d6
JB
165862003-06-24 Joel Brobecker <brobecker@gnat.com>
16587
16588 * gdb.base/bang.exp: New testcase.
16589
f125c9a4
JB
165902003-06-23 Joel Brobecker <brobecker@gnat.com>
16591
16592 * gdb.base/langs.exp: Add some tests for the "minimal" language
16593 support.
16594
6e25beaf
EZ
165952003-06-23 Elena Zannoni <ezannoni@redhat.com>
16596
16597 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
16598 the testcase.
16599
2f816dda
DJ
166002003-06-22 Daniel Jacobowitz <drow@mvista.com>
16601
16602 * gdb.base/relocate.exp: Test add-symbol-file with a variable
16603 offset.
16604
db5a5748
DJ
166052003-06-22 Daniel Jacobowitz <drow@mvista.com>
16606
16607 * gdb.c++/pr-1210.cc: New file.
16608 * gdb.c++/pr-1210.exp: New file.
16609
1df0c130
DJ
166102003-06-21 Daniel Jacobowitz <drow@mvista.com>
16611
16612 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
16613 000-exec-continue.
16614
a92feac0
MK
166152003-06-15 Mark Kettenis <kettenis@gnu.org>
16616
16617 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
16618 on *-*-*bsd* instead of *-*-freebsd*.
16619
81a58f5b
AC
166202003-06-14 Andrew Cagney <cagney@redhat.com>
16621
16622 * gdb.base/store.exp: Test longest and doublest. Test all
16623 parameters. Weaken return statement match.
16624 * gdb.base/store.c: Add longest and doublest - aka long long and
16625 long double functions. Put all parameters into local register
16626 variables. Use negative values.
16627
b257a0d3
AC
166282003-06-14 Andrew Cagney <cagney@redhat.com>
16629
16630 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
16631 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
16632 exit status.
16633 * gdb.base/fileio.exp: Disable target when nointerrupts and
16634 noinferiorio, instead of limiting it to remote. Use remote_exec
16635 instead of system.
d63a86f8 16636
21c38304
JJ
166372003-06-12 Jeff Johnston <jjohnstn@redhat.com>
16638
16639 * gdb.base/float.exp: Add ia64 support.
16640
1bcdb424
CV
166412003-06-12 Corinna Vinschen <vinschen@redhat.com>
16642
16643 * gdb.base/fileio.exp: Run only on remote targets.
16644
6aeb981f
CV
166452003-06-10 Corinna Vinschen <vinschen@redhat.com>
16646
16647 * gdb.base/fileio.c: New file, testing File-I/O.
16648 * gdb.base/fileio.exp: Ditto.
16649
53df362e
RG
166502003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
16651
16652 * gdb.base/shreloc.exp: New file, check symbol values obtained from
16653 shared objects after relocation at load time (gdb PR/1132).
16654 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 16655 as above, part of the shared object relocation test.
53df362e 16656
ffee1b46
MK
166572003-06-08 Mark Kettenis <kettenis@gnu.org>
16658
b5ca3722
MK
16659 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
16660 fully filled history list.
16661 * gdb.base/gdb_history: New file.
16662
03ed860d
MK
16663 * gdb.base/signals.exp: XFAIL "continue to func1" on
16664 i*86-*-freebsd*.
16665
ffee1b46
MK
16666 * gdb.base/attach.exp: When trying to attach to a nonexistent
16667 process, make it possible to specify the PID based on the target,
16668 and do so for *-*-freebsd*.
16669
d80dbb52
RH
166702003-06-02 Richard Henderson <rth@redhat.com>
16671
16672 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
16673
6dd77b81
RH
166742003-06-02 Richard Henderson <rth@redhat.com>
16675
16676 * gdb.base/selftest.exp: Next over lim_at_start initialization.
16677
f6347e16
RH
166782003-06-02 Richard Henderson <rth@redhat.com>
16679
16680 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
16681
2c161407
DJ
166822003-06-01 Daniel Jacobowitz <drow@mvista.com>
16683
16684 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
16685 of globalvar.
16686
572eb746
MK
166872003-06-01 Mark Kettenis <kettenis@gnu.org>
16688
16689 * gdb.asm/asm-source.exp: Check for memory read errors in
16690 disassembler test on *BSD too.
16691
9e9617a5
RH
166922003-06-01 Richard Henderson <rth@redhat.com>
16693
16694 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
16695 for .frame.
16696 (gdbasm_call): Lose ldgp.
16697 (gdbasm_startup): Add frame information.
16698 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
16699
7b34ad4e
MK
167002003-05-31 Mark Kettenis <kettenis@gnu.org>
16701
16702 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
16703 i?86-*-*.
16704
10059fdf
MK
167052003-05-30 Mark Kettenis <kettenis@gnu.org>
16706
16707 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16708 FreeBSD.
16709
acf4b816
RH
167102003-05-29 Richard Henderson <rth@redhat.com>
16711
16712 * gdb.asm/alpha.inc: New file.
16713 * gdb.asm/asm-source.exp: Use it.
16714
e9ecd949
JB
167152003-05-29 Jim Blandy <jimb@redhat.com>
16716
16717 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
16718 'core.PID'.
16719
e3e5a4f3
JB
167202003-05-22 Jim Blandy <jimb@redhat.com>
16721
16722 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
16723 backtrace.
d63a86f8 16724
72fe3d25
DC
167252003-05-20 David Carlton <carlton@math.stanford.edu>
16726
16727 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
16728 this time.
16729
58da2eb2
DC
167302003-05-19 David Carlton <carlton@bactrian.org>
16731
16732 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
16733 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
16734
1fcb5155
DC
167352003-05-19 David Carlton <carlton@bactrian.org>
16736
16737 * gdb.c++/namespace.exp: Add namespace scope and anonymous
16738 namespace tests.
16739 Bump copyright date.
16740 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
16741 (main): Call C::D::marker2.
16742 * gdb.c++/namespace1.cc: New file.
16743
85e85163
JJ
167442003-05-14 Jeff Johnston <jjohnstn@redhat.com>
16745
16746 Roland McGrath <roland@redhat.com>
d63a86f8 16747 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
16748 there is no manager thread.
16749
a25fbfec
JJ
167502003-05-08 Jeff Johnston <jjohnstn@redhat.com>
16751
d63a86f8
RM
16752 * gdb.threads/schedlock.exp: Remove assumption that all threads
16753 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
16754 in one of the child threads rather than the main thread.
16755
be375bae
JB
167562003-05-07 Jim Blandy <jimb@redhat.com>
16757
09bf6082
JB
16758 Add support for assembly source testing on the s390x.
16759 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
16760 architecture.
16761 * gdb.asm/s390x.inc: New file.
16762
be375bae
JB
16763 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
16764 succession of 'if' statements.
16765
00905d52
AC
167662003-05-05 Andrew Cagney <cagney@redhat.com>
16767
16768 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
16769
b1e29e33
AC
167702003-05-05 Andrew Cagney <cagney@redhat.com>
16771
16772 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
16773 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
16774
e33d66ec
EZ
167752003-05-02 Elena Zannoni <ezannoni@redhat.com>
16776
16777 * gdb.base/charset.exp: Update based on new behavior of set/show
16778 charset commands.
16779
2b6fd0d8
AC
167802003-05-01 Andrew Cagney <cagney@redhat.com>
16781
16782 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
16783 variable do not give memory errors.
16784
130cacce
AF
167852003-04-30 Adam Fedor <fedor@gnu.org>
16786
16787 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
16788 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
16789 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
16790 gdb.objc/basicclass.m: : New files
16791
16792 * lib/gdb.exp (gdb_compile_objc): New procedure.
16793
bea71854
DJ
167942003-04-27 Daniel Jacobowitz <drow@mvista.com>
16795
16796 * gdb.base/signals.exp: Make backtrace tests more specific.
16797
0f20eeea
DC
167982003-04-23 David Carlton <carlton@bactrian.org>
16799
16800 * gdb.c++/maint.exp (test_first_component): Add tests for
16801 'operator' in more locations.
16802
c8c4d8dc
KB
168032003-04-16 Kevin Buettner <kevinb@redhat.com>
16804
16805 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
16806
3fe60e3c
EZ
168072003-04-16 Elena Zannoni <ezannoni@redhat.com>
16808
16809 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 16810 func marke' instead. Update test name.
3fe60e3c 16811
9219021c
DC
168122003-04-15 David Carlton <carlton@math.stanford.edu>
16813
16814 * gdb.c++/maint.exp: New file.
16815
5dd55bdd
EZ
168162003-04-14 Elena Zannoni <ezannoni@redhat.com>
16817
16818 * gdb.threads/schedlock.c: Change type of thread function argument
16819 to long, to avoid warnings on 64-bit platforms.
16820
00890572
EZ
168212003-04-14 Elena Zannoni <ezannoni@redhat.com>
16822
a9c64011
AS
16823 * gdb.base/attach.exp: Add new message from ptrace in case of
16824 attaching to nonexistent process.
d63a86f8 16825
93201743
JB
168262003-04-11 Jim Blandy <jimb@redhat.com>
16827
16828 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16829 gdb.c++/userdef.cc: Place comments on the lines to which the
16830 marker function might return.
16831 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16832 gdb.c++/userdef.exp: Look for those comments to check that we've
16833 returned to the right place, instead of checking line numbers.
16834
2a11c64d
EZ
168352003-04-11 Elena Zannoni <ezannoni@redhat.com>
16836
a9c64011
AS
16837 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
16838 match on sourcefile name, instead of directory name.
2a11c64d 16839
68ab8fc5
EZ
168402003-04-10 Elena Zannoni <ezannoni@redhat.com>
16841
d63a86f8 16842 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
16843 working directory name.
16844
5624293a
JB
168452003-04-09 Jim Blandy <jimb@redhat.com>
16846
16847 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16848 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
16849 after an inferior function call, report the failure, but allow the
16850 test to continue.
16851
f1f02ee4
SC
168522003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16853
16854 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16855 with -DPROTOTYPES.
16856
6eb79af0
SC
168572003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16858
16859 * gdb.base/break.exp: Revert last patch.
16860
8dfb4cf0
SC
168612003-04-04 Stephane Carrez <stcarrez@nerim.fr>
16862
16863 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16864 with -DPROTOTYPES.
16865
ed4c619a
AC
168662003-04-02 Andrew Cagney <cagney@redhat.com>
16867
16868 * gdb.base/callfuncs.exp: Make "print add" messages unique.
16869 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
16870 matching directories by the name breakpoint.
16871 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
16872 Make "continue to marker1" consistent.
16873 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
16874 message consistent.
16875 * lib/gdb.exp: Put "the program is no longer running", and "the
16876 program exited" in parenthesis.
16877 * lib/mi-support.exp: Ditto.
d63a86f8 16878
4e35d5f0 168792003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 16880
4e35d5f0
BR
16881 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
16882
71900fe8
AC
168832003-03-29 Andrew Cagney <cagney@redhat.com>
16884
16885 * gdb.base/sizeof.c (main): Print the value of '\377'.
16886 * gdb.base/sizeof.exp: Check the sign of '\377'.
16887
c0655a16
MC
168882003-03-27 Michael Chastain <mec@shout.net>
16889
16890 * gdb.base/gdb1090.exp: New file.
16891 * gdb.base/gdb1090.cc: New file.
16892
5b2a3989
JB
168932003-03-27 J. Brobecker <brobecker@gnat.com>
16894
16895 * gdb.gdb/observer.exp: New regression test.
16896
79876890
MC
168972003-03-27 Michael Chastain <mec@shout.net>
16898
16899 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
16900 * gdb.base/ptype.exp: Likewise.
16901
6eac95e3
CV
169022003-03-27 Corinna Vinschen <vinschen@redhat.com>
16903
16904 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
16905
e8c71839
MC
169062003-03-26 Michael Chastain <mec@shout.net>
16907
16908 * gdb.base/ptype.exp: Actually use some typedef'd types.
16909
71b10041
SC
169102003-03-21 Stephane Carrez <stcarrez@nerim.fr>
16911
16912 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
16913 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
16914
2512cf80
CV
169152003-03-20 Corinna Vinschen <vinschen@redhat.com>
16916
16917 * gdb.base/default.exp: Fix regular expression.
16918
0d195a4f
CV
169192003-03-20 Corinna Vinschen <vinschen@redhat.com>
16920
16921 * gdb.base/args.exp: Fix regular expression.
16922
8a2dbca8
CV
169232003-03-20 Corinna Vinschen <vinschen@redhat.com>
16924
16925 * gdb.base/help.exp: Allow Win32 child process.
16926
bf028682
CV
169272003-03-20 Corinna Vinschen <vinschen@redhat.com>
16928
16929 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
16930 when stepping out of main().
16931
182dbe85
CV
169322003-03-20 Corinna Vinschen <vinschen@redhat.com>
16933
16934 * gdb.base/default.exp: Check for win32 specific message when calling
16935 "run" without executable.
16936
d67a6ba5
CV
169372003-03-20 Corinna Vinschen <vinschen@redhat.com>
16938
16939 * gdb.base/args.exp: Expect .exe in output.
16940
a955b5bb
CV
169412003-03-20 Corinna Vinschen <vinschen@redhat.com>
16942
16943 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
16944 Cygwin native.
16945
bf6bad4b
AC
169462003-03-17 Andrew Cagney <cagney@redhat.com>
16947
16948 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
16949 vector registes.
16950 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
16951 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
16952
293e9a31
DC
169532003-03-17 David Carlton <carlton@math.stanford.edu>
16954
16955 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
16956 test, for PR breakpoints/38.
16957 Call test_watchpoint_and_breakpoint.
16958 * gdb.base/watchpoint.c (func3): New function.
16959 (main): Call func3.
16960
5330f2db
DC
169612003-03-04 David Carlton <carlton@math.stanford.edu>
16962
16963 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
16964 Garply<Garply<char> >:: garply".
16965 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
16966 with respect to PR c++/1111; note also PR c++/1113.
16967 (test_template_breakpoints): KFAIL "constructor breakpoint" with
16968 respect to PR c++/1062.
16969 KFAIL "destructor breakpoint" with respect to PR c++/1112.
16970
6ece72da
DC
169712003-03-03 David Carlton <carlton@math.stanford.edu>
16972
16973 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
16974 with respect to PR c++/57.
16975 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
16976 c++/826.
16977 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
16978 respect to PR c++/57.
16979
85ca1584
DC
169802003-03-03 David Carlton <carlton@math.stanford.edu>
16981
16982 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
16983 respect to PR c++/33 into FAILs.
16984
98e9c5b8
MC
169852003-03-03 Michael Chastain <mec@shout.net>
16986
7bedbf27
MC
16987 * configure.in: Update copyright years.
16988
169892003-03-03 Michael Chastain <mec@shout.net>
16990
16991 * Makefile.in: Update copyright years.
98e9c5b8 16992
f683e100
DC
169932003-02-28 David Carlton <carlton@math.stanford.edu>
16994
16995 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
16996 print class instead of struct and/or superfluous protection
16997 specifiers, as long as the resulting output is equivalent to the
16998 source code.
16999 Delete FIXME from end of messages on tests that don't need
17000 fixing.
17001
a9e0cf2c
DC
170022003-02-28 David Carlton <carlton@math.stanford.edu>
17003
17004 * gdb.c++/templates.exp (do_tests): Allow const in the two
17005 Foo<volatile char *>::foo tests.
17006
e8d359df
MS
170072003-02-27 Michael Snyder <msnyder@redhat.com>
17008
d63a86f8 17009 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
17010 will be consistant.
17011
0b71dc91
DC
170122003-02-26 David Carlton <carlton@math.stanford.edu>
17013
17014 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
17015 char *>::foo" test with respect to PR c++/33. Create a new test
17016 which is identical to that one except that it doesn't put the
17017 space between the "char" and the "*"; KFAIL it, too.
17018
dd14ab43
DC
170192003-02-26 David Carlton <carlton@math.stanford.edu>
17020
17021 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
17022 template types into either PASSes or KFAILs (corresponding to PR
17023 c++/57). Tweak indentation. Update copyright.
17024
1146c7f1
SC
170252003-02-23 Stephane Carrez <stcarrez@nerim.fr>
17026
17027 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
17028
74641dfb
MC
170292003-02-13 Michael Chastain <mec@shout.net>
17030
17031 * gdb.base/exprs.exp: Remove i960 remnants.
17032 * gdb.base/funcargs.exp: Likewise.
17033 * gdb.base/list.exp: Likewise.
17034 * gdb.base/ptype.exp: Likewise.
17035
559cd2d0
DC
170362003-02-14 David Carlton <carlton@math.stanford.edu>
17037
17038 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
17039 pEe->D::vg()" from XFAIL to KFAIL.
17040
c4f90d87
JM
170412003-02-13 Jason Molenda (jmolenda@apple.com)
17042
17043 * gdb.base/maint.exp: Update maint print statistics regexp to include
17044 new entries.
17045
cbc4d97c
MC
170462003-02-13 Michael Chastain <mec@shout.net>
17047
17048 * gdb.c++/inherit.exp: Remove call to get_debug_format.
17049
40f235b7
MC
170502003-02-12 Michael Chastain <mec@shout.net>
17051
17052 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
17053 * gdb.c++/inherit.exp: Likewise.
17054 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
17055 * gdb.c++/templates.exp: Likewise.
17056 * gdb.c++/virtfunc.exp: Likewise.
17057
c56716b0
JM
170582003-02-06 Jason Molenda (jason-cl@molenda.com)
17059
17060 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
17061 why the code is written that way.
17062
070afcf8
MC
170632003-02-05 Michael Chastain <mec@shout.net>
17064
17065 * gdb.base/dump.exp: Add missing copyright line.
17066
5d0331e5
JM
170672003-02-05 Jason Molenda (jason-cl@molenda.com)
17068
f7ae6d3e 17069 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
17070 at the beginning so the breakpoint doesn't get set on the loop.
17071
92851186
MC
170722003-02-05 Michael Chastain <mec@shout.net>
17073
17074 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
17075 output for configurations with gcc 2.95.3.
17076
cbf1e085
AC
170772003-02-05 Keith Seitz <keiths@redhat.com>
17078 Andrew Cagney <ac131313@redhat.com>
17079
17080 * gdb.mi/mi-cli.exp: New file.
d63a86f8 17081
29518e1e
MC
170822003-02-04 Michael Chastain <mec@shout.net>
17083
17084 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
17085 Call perror and then continue.
17086
5af1d5f3
MC
170872003-02-03 Michael Chastain <mec@shout.net>
17088
17089 * gdb.c++/pr-1023.cc: New file.
17090 * gdb.c++/pr-1023.exp: New file.
17091
6b549786
JB
170922003-02-05 Jim Blandy <jimb@redhat.com>
17093
17094 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
17095 it's local to foobar. Check for it there, and check that it's not
17096 present in main.
17097 * gdb.c++/local.cc (marker2): New function.
17098 (foobar): Call marker1.
17099 (main): Call marker2 instead of marker1.
17100
67f16606
AC
171012003-02-04 Andrew Cagney <ac131313@redhat.com>
17102
17103 * gdb.disasm/mn10200.exp: Obsolete file.
17104 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
17105 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
17106 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
17107
1c5cb38e
DC
171082003-02-04 David Carlton <carlton@math.stanford.edu>
17109
17110 * gdb.c++/overload.exp: Test intToChar(1).
17111 * gdb.c++/overload.cc (intToChar): New.
17112 (main): Call intToChar.
17113
d1fe6965
DC
171142003-02-03 David Carlton <carlton@math.stanford.edu>
17115
17116 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
17117 'might_kfail' arg.
17118 KFAIL some of the continue_to_bp_overloaded calls, according to
17119 PR c++/1025.
17120
9ba61c5d
MC
171212003-02-01 Michael Chastain <mec@shout.net>
17122
17123 * gdb.base/advance.c (marker1): New marker function.
17124 * gdb.base/advance.exp: When the 'advance' command lands on the
17125 return breakpoint, it can legitimately stop on either the
17126 current line or the next line. Accommodate both outcomes.
17127 * gdb.base/until.exp: Likewise.
17128
e7494ffb
AC
171292003-02-02 Andrew Cagney <ac131313@redhat.com>
17130
17131 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
17132 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
17133 now a list, not a tuple.
17134 * gdb.mi/mi-var-display.exp: Ditto.
17135 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 17136
075559bc
AC
171372003-02-01 Andrew Cagney <ac131313@redhat.com>
17138
17139 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
17140 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
17141 stack backtraces.
17142 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 17143
2bd4c7b1
MK
171442003-02-01 Mark Kettenis <kettenis@gnu.org>
17145
17146 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17147 gdb.mi/mi1-pthreads.exp: Return instead of calling
17148 gdb_suppress_entire_file.
17149
eabd8992
MS
171502003-02-01 Mark Salter <msalter@redhat.com>
17151
17152 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
17153
71469e2f
MS
171542003-01-31 Mark Salter <msalter@redhat.com>
17155
17156 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
17157 Support empty arg.
17158
38a94d44
MC
171592003-01-30 Michael Chastain <mec@shout.net>
17160
17161 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
17162 This was a workaround for a UTF-8 bug in readline 4.3. The bug
17163 has been fixed in gdb/readline on 2003-01-09.
17164
19ea9e73
MS
171652003-01-29 Michael Snyder <msnyder@redhat.com>
17166
e8d359df
MS
17167 * gdb.base/maint.exp: Allow for leading underscore in symbol.
17168 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
17169 * gdb.base/args.exp: Skip if target does not support args passing.
17170
2307bd6a
DJ
171712003-01-22 Daniel Jacobowitz <drow@mvista.com>
17172
19ea9e73 17173 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
17174 gdb_test. Accept a list of expect arguments as the third
17175 parameter.
17176 (gdb_test): Use it.
17177
f2dd3617
EZ
171782003-01-20 Elena Zannoni <ezannoni@redhat.com>
17179
17180 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
17181 allow for different test tree configurations. Update some
17182 tescases accordingly.
17183 * gdb.arch/altivec-regs.exp: Ditto.
17184 * gdb.asm/asm-source.exp: Ditto.
17185 * gdb.base/advance.exp: Ditto.
17186 * gdb.base/display.exp: Ditto.
d63a86f8 17187 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
17188 * gdb.base/mips_pro.exp: Ditto.
17189 * gdb.base/overlays.exp: Ditto.
17190 * gdb.base/relocate.exp: Ditto.
17191 * gdb.base/setshow.exp: Ditto.
17192 * gdb.base/step-line.exp: Ditto.
17193 * gdb.base/step-test.exp: Ditto.
17194 * gdb.base/until.exp: Ditto.
17195 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
17196
c71cdefd
DC
171972003-01-17 David Carlton <carlton@math.stanford.edu>
17198
17199 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
17200 corresponding to PR c++/945.
17201 Update copyright.
17202
fdba05d7
DC
172032003-01-17 David Carlton <carlton@math.stanford.edu>
17204
17205 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
17206 corresponding to PR c++/68.
17207
172082003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
17209
17210 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
17211 (test_paddr_hairy_functions): Call print_addr_2_kfail for
17212 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
17213
c362c33a
EZ
172142003-01-15 Elena Zannoni <ezannoni@redhat.com>
17215
0fbc361c
EZ
17216 * gdb.base/break.exp: Fix change of default location, because of
17217 removal of until tests.
17218 * gdb.base/help.exp: Update test for new 'until' help message.
17219 Add test for help on 'advance'.
a9c64011 17220 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 17221
dabf8a35
MK
172222003-01-15 Mark Kettenis <kettenis@gnu.org>
17223
17224 * gdb.base/default.exp: Adapt "info float" test for recent changes
17225 to that command. Add test for "info vector".
17226 * gdb.base/float.exp: New file. Add test for "info float" that
17227 resembles the old test in gdb.base/default.exp.
17228
a1769aca
DC
172292003-01-15 David Carlton <carlton@math.stanford.edu>
17230
17231 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
17232
82025e13
EZ
172332003-01-15 Elena Zannoni <ezannoni@redhat.com>
17234
17235 * gdb.base/break.exp: Move the tests of until command from here...
17236 * gdb.base/until.exp: ... to here. New file. Add other tests.
17237 * gdb.base/advance.c: New file.
17238 * gdb.base/advance.exp: New file.
17239
8f9ab801
EZ
172402003-01-14 Elena Zannoni <ezannoni@redhat.com>
17241
a9c64011
AS
17242 * gdb.base/args.c: New file.
17243 * gdb.base/args.exp: New file.
8f9ab801 17244
9ae66589
DJ
172452003-01-14 Daniel Jacobowitz <drow@mvista.com>
17246
17247 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
17248
8d77e5c3
DJ
172492003-01-14 Daniel Jacobowitz <drow@mvista.com>
17250
17251 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
17252
12d2f0a1
DJ
172532003-01-14 Daniel Jacobowitz <drow@mvista.com>
17254
17255 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
17256 dates.
17257
6ca37014
DJ
172582003-01-13 Daniel Jacobowitz <drow@mvista.com>
17259
17260 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
17261
b0023472
DJ
172622003-01-13 Daniel Jacobowitz <drow@mvista.com>
17263
17264 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
17265 (ptype &*"foo").
17266 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
17267
607fbc54 172682003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
17269
17270 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
17271 * gdb.mi/mi1-console.exp: Likewise.
17272
607fbc54 172732003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
17274
17275 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
17276 * gdb.mi/mi1-console.exp: Likewise.
17277
a1fb14a2
DJ
172782003-01-13 Daniel Jacobowitz <drow@mvista.com>
17279
17280 * gdb.c++/overload.exp: Remove some fixed XFAILs.
17281
c4cf40b7
DJ
172822003-01-09 Daniel Jacobowitz <drow@mvista.com>
17283
17284 * gdb.base/detach.exp: New test.
17285
696d5a5b
DJ
172862003-01-09 Daniel Jacobowitz <drow@mvista.com>
17287
17288 * Makefile.in (ALL_SUBDIRS): New variable.
17289 (subdirs, clean, distclean): Use it.
17290 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
17291 regenerating Makefile, since it is generated from the top level.
17292 * gdb.asm/Makefile.in: Likewise.
17293 * gdb.base/Makefile.in: Likewise.
17294 * gdb.c++/Makefile.in: Likewise.
17295 * gdb.disasm/Makefile.in: Likewise.
17296 * gdb.java/Makefile.in: Likewise.
17297 * gdb.mi/Makefile.in: Likewise.
17298 * gdb.threads/Makefile.in: Likewise.
17299 * gdb.trace/Makefile.in: Likewise.
17300
754533e4
DC
173012003-01-09 David Carlton <carlton@math.stanford.edu>
17302
17303 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
17304 Add copyright year 2003.
17305
d8b3e9ee
MC
173062003-01-06 Michael Chastain <mec@shout.net>
17307
17308 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
17309 When selecting a thread, 'line' and 'file' are optional.
17310 * gdb.mi/mi1-pthreads.exp: Likewise.
17311
8e9e0fe6
AS
173122003-01-06 Andreas Schwab <schwab@suse.de>
17313
17314 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
17315 failures.
17316
b5ab8ff3
DJ
173172003-01-04 Daniel Jacobowitz <drow@mvista.com>
17318
17319 Fix PR gdb/844
17320 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
17321 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
17322
17323 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
17324 instead of calling gdb_suppress_entire_file.
17325 * gdb.threads/print-threads.exp: Likewise.
17326 * gdb.threads/schedlock.exp: Likewise.
17327
17328 * gdb.threads/killed.exp: Return instead of calling
17329 gdb_suppress_entire_file.
17330 * gdb.threads/linux-dp.exp: Likewise.
17331 * gdb.threads/pthreads.exp: Likewise.
17332
1e698235
DJ
173332003-01-04 Daniel Jacobowitz <drow@mvista.com>
17334
17335 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
17336 stabs.
17337 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
17338 * gdb.base/whatis.exp: Always allow (void) after function names.
17339
147ff08c
DJ
173402003-01-04 Daniel Jacobowitz <drow@mvista.com>
17341
17342 * gdb.c++/casts.exp: Correct regexp.
17343
dc62bfc2
MK
173442003-01-04 Mark Kettenis <kettenis@gnu.org>
17345
17346 * configure.in: Call AC_CONFIG_HEADER. Don't call
17347 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
17348 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
17349 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
17350 aforementioned directories in the AC_OUPUT call.
17351 * config.hin: New file.
17352 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17353 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
17354 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
17355 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
17356 pass -I$objdir instead of -I$objdir/$subdir in compilation.
17357 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
17358 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
17359 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
17360 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
17361 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
17362 gdb.threads/configure.in, gdb.threads/configure,
17363 gdb.threads/config.in, gdb.trace/configure.in,
17364 gdb.trace/configure: Removed.
17365
77afa639
MC
173662003-01-03 Michael Chastain <mec@shout.net>
17367
17368 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
17369 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
17370
7634bb6e
DJ
173712003-01-03 Daniel Jacobowitz <drow@mvista.com>
17372
17373 * gdb.base/store.exp: Fix regular expressions.
17374
b39c905e
MK
173752002-12-28 Mark Kettenis <kettenis@gnu.org>
17376
17377 * configure.in: Rewrite.
17378 * configure: Regenerated.
17379
0a8551dd
DC
173802003-01-03 David Carlton <carlton@math.stanford.edu>
17381
17382 * gdb.base/psymtab.exp: New file.
17383 * gdb.base/psymtab1.c: Ditto.
17384 * gdb.base/psymtab2.c: Ditto.
17385
c60b7188
AF
173862002-12-23 Adam Fedor <fedor@gnu.org>
17387
17388 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
17389
ee73db83
DC
173902002-12-23 David Carlton <carlton@math.stanford.edu>
17391
17392 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
17393 and current_directory initialization.
17394
d6c1774e
JB
173952002-12-22 Jim Blandy <jimb@redhat.com>
17396
f0a847b8
JB
17397 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
17398 rather than as part of the output file name.
17399
d6c1774e
JB
17400 * gdb.base/attach.exp: There's no need to copy the test program to
17401 /tmp; that was only ever necessary on HP/UX, and this test is
17402 entirely disabled there anyway.
17403
f0708dbb
JB
174042002-12-21 Jim Blandy <jimb@redhat.com>
17405
4c2acfea
JB
17406 * gdb.c++/psmang.exp: Doc fix.
17407
f0708dbb
JB
17408 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
17409 test.
17410
9579e000
DC
174112002-12-20 David Carlton <carlton@math.stanford.edu>
17412
17413 * gdb.c++/annota2.exp: KFAIL annotate-quit.
17414
d1810171
MC
174152002-12-18 Michael Chastain <mec@shout.net>
17416
17417 * gdb.c++/annota2.exp: Add copyright year 2002.
17418
76565097
DC
174192002-12-17 David Carlton <carlton@math.stanford.edu>
17420
17421 * gdb.c++/try_catch.cc: Add marker comments.
17422 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
17423 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
17424 * gdb.c++/m-static.cc: Ditto.
17425 * gdb.c++/m-static1.cc: Ditto.
17426 * gdb.c++/try_catch.cc: Ditto.
17427
da81390b
JJ
174282002-12-16 Jeff Johnston <jjohnstn@redhat.com>
17429
17430 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
17431 to see whether we are using the new -environment-directory
17432 command which resets via -r or the old version of the command
17433 which may prompt the user. Part of fix for gdb/741.
17434
b304d130
AC
174352002-12-13 Andrew Cagney <ac131313@redhat.com>
17436
17437 * gdb.fortran/types.exp: Update obsolete comment.
17438 * gdb.fortran/exprs.exp: Ditto.
17439 * lib/gdb.exp: Delete obsolete code.
17440 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
17441 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
17442 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
17443 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
17444 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
17445 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
17446 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
17447 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
17448 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
17449 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
17450 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
17451 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
17452 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
17453 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
17454 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
17455 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
17456 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
17457 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
17458 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
17459 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
17460 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
17461 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
17462 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
17463 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
17464 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
17465 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
17466 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
17467 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
17468 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
17469 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
17470 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
17471 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
17472 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
17473 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
17474 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
17475 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
17476 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
17477
a23b6e6a
DC
174782002-12-11 David Carlton <carlton@math.stanford.edu>
17479
17480 * gdb.c++/m-data.exp: Add test for members that shadow global
17481 variables: see PR gdb/804.
17482 * gdb.c++/m-data.cc: Ditto.
17483
6604731b
DJ
174842002-12-10 Daniel Jacobowitz <drow@mvista.com>
17485
17486 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
17487
de46ecd7
DC
174882002-12-06 David Carlton <carlton@math.stanford.edu>
17489
17490 * gdb.base/store.c: Don't declare functions static.
17491
27e829d0
AC
174922002-12-04 Andrew Cagney <ac131313@redhat.com>
17493
17494 * gdb.base/store.exp, gdb.base/store.c: New files.
17495
92806416
DJ
174962002-12-03 Daniel Jacobowitz <drow@mvista.com>
17497
17498 * gdb.base/selftest.exp: Update for current gdb.
17499
3bcbaac5
DJ
175002002-12-03 Daniel Jacobowitz <drow@mvista.com>
17501
17502 * gdb.base/maint.exp: Only dump symbols from one source file
17503 or objfile.
17504
f4f00b1f
DJ
175052002-12-03 Daniel Jacobowitz <drow@mvista.com>
17506
17507 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
17508 function call.
17509
f1c8a949
JB
175102002-11-25 Jim Blandy <jimb@redhat.com>
17511
17512 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
17513 function appearing in error message.
17514
9e297a97
DJ
175152002-11-21 Daniel Jacobowitz <drow@mvista.com>
17516
17517 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
17518
1f312e79
JJ
175192002-11-08 Jeff Johnston <jjohnstn@redhat.com>
17520
d63a86f8
RM
17521 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
17522 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
17523 should be in mi console format. This is part of fix for PR gdb/604.
17524
83c31e7d
FN
175252002-09-18 Fernando Nasser <fnasser@redhat.com>
17526
17527 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
17528 which explicitly prints the zero offset as "+0".
17529
322b3f65
DJ
175302002-10-22 Daniel Jacobowitz <drow@mvista.com>
17531
17532 * gdb.threads/schedlock.c (args): Make unsigned.
17533
175342002-10-21 Daniel Jacobowitz <drow@mvista.com>
17535
17536 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
17537 numbers. Allow "foo2|selected stack frame".
17538 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
17539 * gdb.asm/asmsrc2.s: Likewise.
17540 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
17541 comments.
17542 * gdb.asm/mips.inc: New file.
17543
5e2fe5b8
AF
175442002-10-18 Adam Fedor <fedor@gnu.org>
17545
17546 * gdb.base/default.exp: Update expected output to include 'ObjC'.
17547 * gdb.base/help.exp: Likewise.
17548
abe1a5d0
KB
175492002-10-17 Kevin Buettner <kevinb@redhat.com>
17550
17551 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
17552 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
17553
10abb1d4
JB
175542002-10-02 Jim Blandy <jimb@redhat.com>
17555
17556 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
17557
1f609b42
AC
175582002-10-01 Andrew Cagney <ac131313@redhat.com>
17559
17560 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
17561 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
17562 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
17563 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
17564 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
17565 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
17566 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
17567
0aee02e4
AC
175682002-09-29 Andrew Cagney <ac131313@redhat.com>
17569
17570 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
17571 * mi0-disassemble.exp, mi0-eval.exp: Delete.
17572 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
17573 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
17574 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
17575 * mi0-var-block.exp, mi0-var-child.exp: Delete.
17576 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 17577
6fde09ad
KB
175782002-09-27 Kevin Buettner <kevinb@redhat.com>
17579
17580 * gdb.base/annota1.exp (info break): Make directory components of
17581 path optional since not all compilers emit this debug information.
17582
889bf7c5
PA
17583 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
17584 step ends up stepping out of the function instead of stopping on
17585 the epilogue.
6fde09ad 17586
9e8aab75
KS
175872002-09-26 Keith Seitz <keiths@redhat.com>
17588
17589 * lib/insight-support.exp (gdbtk_start): Figure out where
17590 the insight executable is based on where gdb is. Use this
17591 executable to start insight instead of gdb.
17592
e36180d7
AC
175932002-09-25 Andrew Cagney <cagney@redhat.com>
17594
17595 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
17596
9dd34b2b
AC
175972002-09-24 Andrew Cagney <ac131313@redhat.com>
17598
17599 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
17600 test_isolated_complaints.
17601 (test_empty_complaint): New function.
17602 (test_empty_complaints): New function. Check no output when no
17603 complaints.
d63a86f8 17604
dea97812
KB
176052002-09-19 Jim Blandy <jimb@redhat.com>
17606
a9c64011 17607 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 17608
54951bd7
AC
176092002-09-19 Andrew Cagney <ac131313@redhat.com>
17610
17611 * gdb.gdb/complaints.exp: New file.
17612
dec43320
AC
176132002-09-18 Andrew Cagney <ac131313@redhat.com>
17614
17615 * gdb.base/maint.exp: Check `help maint internal-warning'.
17616
e70d6e3f
DC
176172002-09-18 David Carlton <carlton@math.stanford.edu>
17618
17619 * gdb.c++/m-static.exp: Remove breakpoints depending on line
17620 numbers, and replace them by a single breakpoint after the
17621 constructors are all finished.
17622 Add test 4.
17623 * gdb.c++/m-static.cc: Add test 4.
17624 * gdb.c++/m-static.h: New file.
17625 * gdb.c++/m-static1.cc: New file.
17626
17627 * gdb.c++/printmethod.exp: New file.
17628 * gdb.c++/printmethod.cc: New file.
17629
17630 * gdb.c++/pr-574.exp: New file.
17631 * gdb.c++/pr-574.cc: New file.
17632
afb5c968
CV
176332002-09-18 Corinna Vinschen <vinschen@redhat.com>
17634
17635 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
17636 embedded targets which never actually exit.
17637
31e45dee
FN
176382002-09-18 Fernando Nasser <fnasser@redhat.com>
17639
17640 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
17641 "don't step after run" as unresolved or unsupported, instead of xfail.
17642
a283c5a1
CV
176432002-09-18 Corinna Vinschen <vinschen@redhat.com>
17644
17645 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
17646 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
17647 Add newline to expected string in "step out of main (status wrapper)"
17648 case.
17649
11350d2a
CV
176502002-09-18 Corinna Vinschen <vinschen@redhat.com>
17651
17652 * lib/gdb.exp (rerun_to_main): Allow restarting application.
17653 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
17654
0deec7d6
TT
176552002-09-17 Tom Tromey <tromey@redhat.com>
17656
17657 * gdb.base/printcmds.exp (test_print_string_constants): Expect
17658 \000, not \0, in double-quoted string.
17659
b2b4a1b5
CV
176602002-09-14 Corinna Vinschen <vinschen@redhat.com>
17661
c9d37158 17662 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
17663 string after running the commands execution on breakpoint tests.
17664
1c56143a
CV
176652002-09-13 Corinna Vinschen <vinschen@redhat.com>
17666
17667 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
17668
37f8da45
JB
176692002-09-12 Joel Brobecker <brobecker@gnat.com>
17670
17671 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
17672
08b468e0
KS
176732002-09-10 Keith Seitz <keiths@redhat.com>
17674
17675 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
17676 runto proc.
17677 (mi_run_to_main): Use mi_runto.
17678 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
17679
dc360f58
KS
176802002-09-10 Keith Seitz <keiths@redhat.com>
17681
17682 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
17683 regexp for stopping at main. Could have multiple event notifications.
17684 Don't assume that main was declared with no parameters.
17685 (mi_next): Use mi_step_to.
17686 (mi_step): Use mi_next_to.
17687
ce3abcfb
CV
176882002-09-09 Corinna Vinschen <vinschen@redhat.com>
17689
17690 * gdb.base/default.exp: Fix expected string in `info float' test.
17691
d1f5b980
BE
176922002-09-09 Ben Elliston <bje@redhat.com>
17693
17694 * config/mips.exp: Update comments.
17695 * config/mips-idt.exp: Likewise.
17696 * config/nind.exp: Likewise.
17697 * config/slite.exp: Likewise.
17698 * config/sparclet.exp: Likewise.
17699 * config/udi.exp: Likewise.
17700 * config/vx.exp: Likewise.
17701 * config/vxworks29k.exp: Likewise.
17702
2f71430b
JB
177032002-09-05 Jim Blandy <jimb@redhat.com>
17704
17705 * gdb.threads/killed.exp: Fix test failure message.
17706
7ddebc7e
KS
177072002-09-04 Keith Seitz <keiths@redhat.com>
17708
17709 * lib/mi-support.exp: Update copyright.
17710 (mi_gdb_test): Increase the priority of the expected pattern
17711 so that it matches gdb_test.
17712
0ae67eb3
KS
177132002-09-03 Keith Seitz <keiths@redhat.com>
17714
17715 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
17716 Use integer comparison instead of string comparison for testing
17717 whether binary was built.
17718
38fc42c8
JB
177192002-09-03 Jim Blandy <jimb@redhat.com>
17720
17721 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
17722
b6ff0e81
JB
177232002-08-29 Jim Blandy <jimb@redhat.com>
17724
17725 * gdb.threads/pthreads.exp: Move the portable thread compilation
17726 code into a function in lib/gdb.exp, and call that from here.
17727 * lib/gdb.exp (gdb_compile_pthreads): New function.
17728
07c98896
KS
177292002-08-29 Keith Seitz <keiths@redhat.com>
17730
17731 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
17732 expect_out so that callers can get at it.
17733
0312286c
DJ
177342002-08-23 Daniel Jacobowitz <drow@mvista.com>
17735
17736 * gdb.threads/print-threads.c: New file.
17737 * gdb.threads/print-threads.exp: New file.
17738 * gdb.threads/schedlock.c: New file.
17739 * gdb.threads/schedlock.exp: New file.
17740
dd039bc4
EZ
177412002-08-22 Elena Zannoni <ezannoni@redhat.com>
17742
a9c64011
AS
17743 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
17744 not altivec.c.
dd039bc4 17745
1f36144c
MK
177462002-08-17 Mark Kettenis <kettenis@gnu.org>
17747
17748 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
17749 targets. The problem should be fixed now.
17750
16057ec7 177512002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
17752
17753 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
17754 2002-07-24 change that removes final dots from error messages.
17755
3c1499ad
TT
177562002-08-13 Tom Tromey <tromey@redhat.com>
17757
17758 * gdb.base/readline.exp: New file.
17759
a20ce2c3
AC
177602002-08-01 Andrew Cagney <ac131313@redhat.com>
17761
17762 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
17763 supress message.
17764
db034ac5
AC
177652002-08-01 Andrew Cagney <cagney@redhat.com>
17766
17767 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
17768 CHILL_FOR_TARGET and CHILL_LIB.
17769 * configure.in (configdirs): Remove gdb.chill.
17770 * configure: Regenerate.
17771 * lib/gdb.exp: Obsolete references to chill.
17772 * gdb.fortran/types.exp: Ditto.
17773 * gdb.fortran/exprs.exp: Ditto.
17774
3e000b18
KB
177752002-07-30 Kevin Buettner <kevinb@redhat.com>
17776
17777 * gdb.base/shlib-call.exp (additional_flags): Conditionally
17778 set Irix-specific compile and link flags.
17779
28f4966b
KB
177802002-07-29 Kevin Buettner <kevinb@redhat.com>
17781
17782 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
17783 source files. The ``-o'' option doesn't work with the ``-E'' option
17784 when using the Irix compiler.
17785
46c0d5a6
DJ
177862002-07-19 Daniel Jacobowitz <drow@mvista.com>
17787
17788 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
17789 Improve support for reusing an exec file. Copy exec file
17790 to target, and run gdbserver on the target instead of on the host.
17791
eecf4bed
JB
177922002-07-18 Jim Blandy <jimb@redhat.com>
17793
0f815cdf
JB
17794 * gdb.base/ending-run.exp: Don't expect to see the program end in
17795 some orderly fashion when we're running on a real stand-alone
17796 board.
17797
eecf4bed
JB
17798 * gdb.base/interrupt.exp: Correct logic for skipping tests on
17799 targets that don't support interrupts.
17800
52d309e4
JB
178012002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
17802
17803 * gdb.base/attach.exp: Add patterns to match output from /proc-based
17804 systems.
17805 Move comments in expect statements to inside the actions, so that they
17806 don't get matched against.
17807
ff683d9e
MK
178082002-07-10 Mark Kettenis <kettenis@gnu.org>
17809
17810 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
17811 function when asleep" test.
17812
b5356753
AC
178132002-07-10 Andrew Cagney <ac131313@redhat.com>
17814
17815 * gdb.base/page.exp: Rewrite to handle problems with very long
17816 `info set' output. Update copyright.
17817
6aa4d13a
AC
178182002-06-26 Andrew Cagney <ac131313@redhat.com>
17819
17820 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
17821 gdb.threads-hp.
17822 * gdb.hp/configure: Regenerate.
17823 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
17824 * gdb.hp/gdb.threads-hp/configure: Delete file.
17825 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
17826
8cf8c2b8
AC
178272002-06-22 Andrew Cagney <ac131313@redhat.com>
17828
17829 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
17830 setlocale, bindtextdomain and textdomain.
17831
6827a8f8
JB
178322002-06-11 Jim Blandy <jimb@redhat.com>
17833
919d772c
JB
17834 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
17835 preprocessor macro information is present.
17836
6827a8f8
JB
17837 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
17838 tests.
17839
c15b0d21
MS
178402002-06-06 Michael Snyder <msnyder@redhat.com>
17841
c5984d70
MS
17842 * gdb.base/overlays.exp: Record addresses of overlay
17843 functions in TCL variables rather than in GDB variables,
17844 to avoid having GDB convert them to pointers (with loss
17845 of information).
17846
d63a86f8 17847 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 17848 default linker script changes.
c15b0d21
MS
17849 * gdb.base/long_long.exp: Add check for sizeof (long double).
17850
be26fe0d
ML
178512002-06-06 Michal Ludvig <mludvig@suse.cz>
17852
17853 * gdb.asm/asm-source.exp: Add x86-64 target.
17854 * gdb.asm/x86_64.inc: New.
d63a86f8 17855
258093ca 178562002-05-30 Michael Chastain <mec@shout.net>
258093ca 17857
4b3153f1 17858 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
17859 * gdb.c++/m-static.cc: New file.
17860 * gdb.c++/m-static.exp: New file.
17861
241264c6
MS
178622002-05-28 Michael Snyder <msnyder@redhat.com>
17863
17864 * gdb.base/call-ar-st.exp: Allow for reduced floating point
17865 precision.
17866
9bba8c8f 178672002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 17868
4b3153f1 17869 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
17870 * gdb.c++/m-data.cc: New file.
17871 * gdb.c++/m-data.exp: New file.
17872
178732002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 17874
4b3153f1 17875 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 17876 * gdb.c++/try_catch.cc: New file.
d63a86f8 17877 * gdb.c++/try_catch.exp: New file.
9bba8c8f 17878
def1b996
MC
178792002-05-27 Michael Chastain <mec@shout.net>
17880
17881 * gdb.c++/local.exp: Accept more nested types in output.
17882
522ba268
MC
178832002-05-26 Michael Chastain <mec@shout.net>
17884
17885 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
17886
277254ba
MS
178872002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
17888
17889 * lib/gdb.exp (gdb_wrapper_init): Just because
17890 gdb_wrapper_file exists, this does not mean that the file
17891 should not be rebuilt. That is what gdb_wrapper_initialized
17892 is for.
17893 (default_gdb_init): Reset gdb_wrapper_initialized.
17894
b61a8733
MS
178952002-05-23 Michael Snyder <msnyder@redhat.com>
17896
d63a86f8 17897 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
17898 the precision of the floating point test results.
17899 * gdb.base/call-rt-st.exp: Ditto.
17900
b61a8733
MS
17901 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
17902 * gdb.base/call-rt-st.exp: Ditto.
17903
56f6e910
MC
179042002-05-19 Michael Chastain <mec@shout.net>
17905
17906 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
17907
ad0b0016
EZ
179082002-05-19 Elena Zannoni <ezannoni@redhat.com>
17909
a9c64011
AS
17910 * configure.in (configdirs): Add gdb.arch.
17911 * configure: Regenerate.
ad0b0016 17912
f617d2b6
JB
179132002-05-17 Jim Blandy <jimb@redhat.com>
17914
17915 * gdb.base/completion.exp: Recognize the more detailed error
17916 messages produced by the macro expander's lexical analyzer.
17917
eac2a696
EZ
179182002-05-14 Elena Zannoni <ezannoni@redhat.com>
17919
a9c64011
AS
17920 * gdb.arch/altivec-abi.c: New file.
17921 * gdb.arch/altivec-abi.exp: New file.
17922 * gdb.arch/altivec-regs.c: New file.
17923 * gdb.arch/altivec-regs.exp: New file.
eac2a696 17924
2fdde8f8
DJ
179252002-05-14 Daniel Jacobowitz <drow@mvista.com>
17926
17927 * gdb.base/maint.exp (maint print type): Update for new type
17928 structure.
d63a86f8 17929
e31f1a7c
EZ
179302002-05-14 Elena Zannoni <ezannoni@redhat.com>
17931
17932 * gdb.arch: New directory.
17933 * gdb.arch/configure.in: New file.
17934 * gdb.arch/configure: New file.
17935 * gdb.arch/Makefile.in: New file.
17936
db589741
CV
179372002-05-13 Corinna Vinschen <vinschen@redhat.com>
17938
17939 * gdb.asm/asm-source.exp: Add v850 as supported target.
17940 * gdb.asm/v850.inc: New file.
17941
8ce2a7dc
DJ
179422002-05-13 Daniel Jacobowitz <drow@mvista.com>
17943
17944 * gdb.c++/annota2.exp (annotate-quit): Add comment.
17945
df763c7f
DJ
179462002-05-12 Daniel Jacobowitz <drow@mvista.com>
17947
17948 * gdb.base/break.exp: Check 'break "marker2"'.
17949
377daeed
MS
179502002-05-10 Michael Snyder <msnyder@redhat.com>
17951
17952 * gdb.base/long_long.exp: Fix typo.
17953
c4b7bc2b
JB
179542002-05-10 Jim Blandy <jimb@redhat.com>
17955
ecac9a4e
JB
17956 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
17957 a bug.
17958
c4b7bc2b
JB
17959 * gdb.base/printcmds.exp (test_integer_literals_rejected):
17960 Recognize more detailed error message produced by the macro
17961 expander's lexical analyzer.
17962 * lib/gdb.exp (test_print_reject): Same.
17963
e71019a1
MK
179642002-05-09 Mark Kettenis <kettenis@gnu.org>
17965
17966 * gdb.c++/method.exp: Fix typo.
17967
fedfc8e6
MS
179682002-05-08 Michael Snyder <msnyder@redhat.com>
17969
166a1957
MS
17970 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
17971 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 17972 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
17973 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
17974 Add iftarget clause for strongarm.
d63a86f8 17975
f1c47eb2
MS
179762002-05-06 Michael Snyder <msnyder@redhat.com>
17977
cb9a9d3e
MS
17978 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
17979 (gdb_continue_to_end): Accept output from status wrapper.
17980 * gdb.base/ending-run.exp: Add case for output from status wrapper.
17981 Clean up fail messages to match pass messages.
17982
f1c47eb2
MS
17983 Enable the "needs_status_wrapper" testsuite feature.
17984 * lib/gdb.exp (gdb_wrapper_init): New procedure.
17985 (gdb_compile): Conditionally call gdb_wrapper_init.
17986 * gdb.base/a2-run.exp: Recognize output from status wrapper.
17987 * gdb.c++/method.exp: Recognize output from status wrapper.
17988
6079c749
BE
179892002-05-06 Ben Elliston <bje@redhat.com>
17990From Graydon Hoare <graydon@redhat.com>
17991
17992 * config/sid.exp: Include support for "rawsid" protocol.
17993
188baff3
JB
179942002-05-03 Jim Blandy <jimb@redhat.com>
17995
17996 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
17997 * gdb.c++/hang3.C: New file.
17998
b9c07f0f
AC
179992002-05-04 Andrew Cagney <ac131313@redhat.com>
18000
18001 * gdb.base/default.exp: Remove obsolete code.
18002 * gdb.c++/misc.exp: Ditto. Update copyright.
18003 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
18004 * gdb.base/whatis.exp: Ditto. Update copyright.
18005 * gdb.base/scope.exp: Ditto. Update copyright.
18006 * gdb.base/ptype.exp: Ditto. Update copyright.
18007 * gdb.base/printcmds.exp: Ditto. Update copyright.
18008 * gdb.base/opaque.exp: Ditto. Update copyright.
18009 * gdb.base/list.exp: Ditto.
18010 * gdb.base/funcargs.exp: Ditto. Update copyright.
18011 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
18012 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
18013 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
18014 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
18015 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
18016 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
18017
5c7a0397
MS
180182002-05-02 Michael Snyder <msnyder@redhat.com>
18019
d6dcc264 18020 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
18021 * gdb.base/long_long.exp: Add xscale target.
18022 * gdb.base/default.exp: Add xscale target.
18023
eb7f1c48
JB
180242002-05-01 Jim Blandy <jimb@redhat.com>
18025
18026 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
18027 gdb.c++/hang.exp: New test.
18028
a6befae8
FF
180292002-05-01 Fred Fish <fnf@redhat.com>
18030
18031 * gdb.base/completion.exp: Handle completions of "./Make" for
18032 more than one completion possibility, as is the case when we
18033 build and test in the source tree.
18034
0a310277
AG
180352002-04-29 Anthony Green <green@redhat.com>
18036
18037 * gdb.java/jmisc1.exp: New file.
18038 * gdb.java/jmisc2.exp: New file.
18039
6ff9af88
DJ
180402002-04-24 Daniel Jacobowitz <drow@mvista.com>
18041
18042 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
18043
96b3d632
EZ
180442002-04-23 Elena Zannoni <ezannoni@redhat.com>
18045
18046 * gdb.base/help.exp: Change 'help status' to allow for target
18047 dependent output differences.
18048
5019bb54
MC
180492002-04-22 Michael Chastain <mec@shout.net>
18050
18051 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
18052
a805a116
MC
180532002-04-22 Michael Chastain <mec@shout.net>
18054
18055 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
18056
a1706bfd
DM
180572002-04-17 David S. Miller <davem@redhat.com>
18058
18059 * gdb.asm/sparc64.inc: New file.
18060 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
18061
a73a20a2
EZ
180622002-04-19 Elena Zannoni <ezannoni@redhat.com>
18063
18064 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
18065 instruction file directly into the build tree. Clean up at end of
18066 test.
18067
ba678339
DM
180682002-04-18 David S. Miller <davem@redhat.com>
18069
18070 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
18071 handle 64-bit platforms correctly.
18072 * gdb.base/maint.exp: Likewise.
18073
b03399da
KB
180742002-04-18 Kevin Buettner <kevinb@redhat.com>
18075
18076 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
18077 ``-fpic'' when compiling files comprising a shared library, but
18078 it does need additional linker flags in order to find shared
18079 libraries at run time.
18080
e2004992
KB
180812002-04-18 Kevin Buettner <kevinb@redhat.com>
18082
18083 * gdb.base/cvexpr.c (use): New function.
18084 (main): Invoke use() on all global variables to prevent
18085 some linkers from deleting these otherwise unused symbols.
18086
d8937120
MC
180872002-04-17 Michael Chastain <mec@shout.net>
18088From David S. Miller <davem@redhat.com>
18089
18090 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
18091 handle 64-bit platforms correctly.
18092
ffd61a58
MS
180932002-04-12 Michael Snyder <msnyder@redhat.com>
18094From Jim Blandy <jimb@redhat.com>
a9c64011 18095 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
18096 script can handle this instead.
18097 * gdb.base/bar.c (barx): Same.
18098 * gdb.base/baz.c (bazx): Same.
18099 * gdb.base/grbx.c (grbxx): Same.
18100
18101 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
18102 manager doesn't automatically unmap overlays unnecessarily.
18103
6b8426a6
MH
181042002-04-10 Martin M. Hunt <hunt@redhat.com>
18105
18106 * gdb.base/ending-run.exp: Fix pattern for Mips targets
18107 stepping out of main.
18108
34af4875
MC
181092002-04-09 Michael Chastain <mec@shout.net>
18110
18111 * gdb.c++/local.cc (main): Move call to marker1() inside nested
18112 scope so that the nested scope tests will make sense.
18113 * gdb.c++/local.exp: Write patterns that actually work with gcc
18114 (the HP patterns "were never known to work with gcc").
18115 Keep the old aCC patterns too.
18116
2d1676a0
DJ
181172002-04-09 Daniel Jacobowitz <drow@mvista.com>
18118
18119 * gdb.base/attach.exp: Correct target board test.
18120
3a63e3f9
MC
181212002-04-08 Michael Chastain <mec@shout.net>
18122
18123 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
18124 in a const method. Add some xfail and fail cases for configurations
18125 that do not emit the "const ...".
18126
f18dabd2
MC
181272002-04-07 Michael Chastain <mec@shout.net>
18128
18129 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
18130 Accept "A * const" and "const A * const" as type of "this".
18131 Fix spelling of getFunky throughout. Make messages uniform.
18132
0fcddd82
EZ
181332002-04-07 Elena Zannoni <ezannoni@redhat.com>
18134
a9c64011 18135 Work around for PR gdb/285:
0fcddd82
EZ
18136 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
18137
16a8534a
EZ
181382002-04-07 Elena Zannoni <ezannoni@redhat.com>
18139
18140 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
18141 instructions file at run time instead of configure time.
18142 Sometimes we run the test in a directory that is not the one we
18143 configured in.
18144 * gdb.asm/configure.in: Delete creation of symlink.
18145 * gdb.asm/configure: Regenerate.
18146
24181d81
JB
181472002-04-05 J. Brobecker <brobecker@gnat.com>
18148
18149 * gdb.gdb/xfullpath.exp: New test, to exercise the new
18150 xfullpath () function.
18151
7cdb7107
DJ
181522002-04-04 Daniel Jacobowitz <drow@mvista.com>
18153
18154 * gdb.asm/Makefile.in: Correct dependencies.
18155
18156 * gdb.asm/powerpc.inc: New file.
18157 * gdb.asm/asm-source.exp: Add PowerPC.
18158 * gdb.asm/configure.in: Likewise.
18159 * gdb.asm/configure: Regenerated.
18160
a7d17088
DJ
181612002-04-04 Daniel Jacobowitz <drow@mvista.com>
18162
18163 * gdb.base/relocate.exp: New file.
18164 * gdb.base/relocate.c: New file.
18165
cd721503
FF
181662002-04-04 Fred Fish <fnf@redhat.com>
18167
18168 * gdb.base/step-test.exp: Update comment regarding stopping in
18169 memcpy/bcopy calls inserted as part of the compiler runtime.
18170
b22ad7a7
MS
181712002-04-04 Michael Snyder <msnyder@redhat.com>
18172
18173 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
18174
5f279fa6
DJ
181752002-04-03 Daniel Jacobowitz <drow@mvista.com>
18176
18177 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
18178 (gdb_expect): Remove $notransfer hack.
18179
dd0fd3ce
DJ
181802002-04-02 Daniel Jacobowitz <drow@mvista.com>
18181
18182 * gdb.c++/classes.exp ("calling method for small class"): Match
18183 updated register output.
18184
1e50cda1
DJ
181852002-03-30 Daniel Jacobowitz <drow@mvista.com>
18186
18187 Fix PR gdb/452
18188 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
18189 when finished. Make gdb_file_cmd send "exec-file" when
18190 appropriate.
18191
24015922
DJ
181922002-03-30 Daniel Jacobowitz <drow@mvista.com>
18193
18194 * gdb.base/attach.exp: Remove extra setup_xfail.
18195
dd7dfd64
MS
181962002-03-26 Michael Snyder <msnyder@redhat.com>
18197
18198 * gdb.base/default.exp: Add tests for dump, append, and restore.
18199 * gdb.base/help.exp: Add tests for dump, append, and restore.
18200 * gdb.base/dump.exp: New file, test dump, append and restore.
18201 * gdb.base/dump.c: New file.
18202
48b2f8d7
MS
182032002-03-27 Michael Snyder <msnyder@redhat.com>
18204
d63a86f8 18205 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
18206 clean-ups in help messages.
18207
05b4d525
FF
182082002-03-26 Fred Fish <fnf@redhat.com>
18209
18210 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
18211 have debugging info for those functions and the compiler uses them
18212 internally to copy structs around.
18213
d7679631
FF
182142002-03-26 Fred Fish <fnf@redhat.com>
18215
18216 * gdb.base/list.exp: Revert the change made yesterday and add note
18217 about why we don't list the default lines for remote targets.
18218
523ac3f9
MS
182192002-03-25 Michael Snyder <msnyder@redhat.com>
18220
18221 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
18222
754b2b8d
FF
182232002-03-25 Fred Fish <fnf@redhat.com>
18224
18225 * gdb.base/list.exp: This test works on remote targets so remove
18226 the short circuit for remote targets. Update copyright.
18227
33c3e192
FF
182282002-03-25 Fred Fish <fnf@redhat.com>
18229
18230 * gdb.base/attach.exp: Fix logic error that was suppressing this
18231 test for all non hppa*-*-hpux* targets, instead of the hp target.
18232 Move comments closer to the suppression point. Also now need to
18233 check that we are running natively.
18234
d43e73ee
MS
182352002-03-22 Michael Snyder <msnyder@redhat.com>
18236
882c8f02
MS
18237 * gdb.base/default.exp: Add test for gcore. Update copyright.
18238 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 18239
04c12f60
FF
182402002-03-06 Fred Fish <fnf@redhat.com>
18241
18242 * gdb.base/funcargs.c: Remove extraneous ';' character.
18243 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
18244
b43df995
MC
182452002-03-04 Michael Chastain <mec@shout.net>
18246
18247 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
18248 accommodate gcc v3 function signature.
18249 * gdb.mi/mi0-var-cmd-exp: Ditto.
18250
92362027
AC
182512002-02-24 Andrew Cagney <ac131313@redhat.com>
18252
18253 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
18254 ``GNU/Linux'' or ``Linux kernel''
18255 * testsuite/gdb.threads/pthreads.c: Ditto.
18256
258ad32d
MC
182572002-02-24 Michael Chastain <mec@shout.net>
18258
18259 * gdb.threads/pthreads.c (thread1): Add a return statement.
18260 (thread2): Likewise.
18261 (foo): Likewise.
18262
04c3b3d4
MC
182632002-02-23 Michael Chastain <mec@shout.net>
18264
18265 * gdb.threads/linux-dp.c (philosopher): Add a return statement
18266 to placate gcc.
18267
5a2a0a20
MC
182682002-02-23 Michael Chastain <mec@shout.net>
18269
18270 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
18271 test "ptype bint". The test passes on all my stabs configurations.
18272
a640f7fc
JB
182732002-02-21 Jim Blandy <jimb@redhat.com>
18274
27924826
JB
18275 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
18276 filename at a time, and watch for the ones we want to see.
18277
a640f7fc
JB
18278 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
18279 types of pointers to prototyped functions.
18280
edcc8c75
AC
182812002-02-20 Andrew Cagney <ac131313@redhat.com>
18282
18283 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
18284 signed, unsigned and straight char.
18285 (padding_char, padding_short, padding_int, padding_long,
18286 padding_long_long, padding_float, padding_double,
18287 padding_long_double): New global variables.
18288 (fill, fill_structs): New functions.
18289
18290 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
18291 for correctly sized writes. Update copyright.
18292 (get_valueof): New procedure.
18293 (get_sizeof): Call get_valueof.
18294 (check_valueof): New procedure.
18295 (check_padding): New procedure.
18296
ac57ea44
MC
182972002-02-20 Michael Chastain <mec@shout.net>
18298
18299 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
18300 to setup_xfail. Document some of the remaining calls.
18301
7a10c941
MC
183022002-02-18 Michael Chastain <mec@shout.net>
18303
18304 * gdb.c++/userdef.exp: Update copyright year.
18305
fb8acdcc
DJ
183062002-02-18 Daniel Jacobowitz <drow@mvista.com>
18307
18308 * gdb.c++/userdef.exp: Test overloaded operators properly.
18309 Remove xfails.
18310
fda6ae12
MS
183112002-02-14 Michael Snyder <msnyder@redhat.com>
18312
18313 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
18314
676a0442
DJ
183152002-02-14 Daniel Jacobowitz <drow@mvista.com>
18316
18317 * gdb.base/a2-run.exp: Check for a remote target properly.
18318 * gdb.base/annota1.exp: Likewise.
18319 * gdb.base/list.exp: Likewise.
18320 * gdb.base/reread.exp: Likewise.
18321 * gdb.base/scope.exp: Likewise.
18322 * gdb.base/shlib-call.exp: Likewise.
18323 * gdb.base/term.exp: Likewise.
18324 * gdb.c++/annota2.exp: Likewise.
18325
78b4f468
RE
183262002-02-13 Richard Earnshaw <rearnsha@arm.com>
18327
18328 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
18329
9a81ba51
MC
183302002-02-10 Michael Chastain <mec@shout.net>
18331
18332 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
18333 (call_after_alloca): Ditto.
18334
004af6c7
DJ
183352002-02-10 Daniel Jacobowitz <drow@mvista.com>
18336
18337 * gdb.base/ending-run.exp: Guard "cont" test with
18338 gdb_skip_stdio_test.
18339
37225f62
JB
183402002-02-06 Jim Blandy <jimb@redhat.com>
18341
18342 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
18343 from here...
18344 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
18345 To here. Disable this test on non-HP platforms. Add big comment.
18346
fe6fdd96
MS
183472002-02-04 Michael Snyder <msnyder@redhat.com>
18348
18349 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
18350 other than d10v and m32r.
18351
036fad3f
RE
183522002-02-02 Richard Earnshaw <rearnsha@arm.com>
18353
18354 * gdb.base/default.exp: Rewrite test patterns to reduce time
18355 taken to match them.
18356
7148ab62
DJ
183572002-01-30 Daniel Jacobowitz <drow@mvista.com>
18358
18359 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
18360 Allow a start function above main.
18361 * gdb.threads/linux-dp.exp: Fix copyright date.
18362
396cc255
DJ
183632002-01-30 Daniel Jacobowitz <drow@mvista.com>
18364
a9c64011
AS
18365 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
18366 (check_philosopher_stack): Check for manager thread before checking
18367 for a just-starting thread.
396cc255 18368
f038d31b
DJ
183692002-01-30 Daniel Jacobowitz <drow@mvista.com>
18370
18371 From Neil Booth <neil@daikokuya.demon.co.uk>:
18372 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
18373 warnings.
18374
b3ff9d9a
FF
183752002-01-21 Fred Fish <fnf@redhat.com>
18376
18377 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
18378 not caller.
18379
39ad761d
JB
183802002-01-21 Jim Blandy <jimb@redhat.com>
18381
18382 * gdb.base/reread.exp: Check that GDB properly re-reads the
18383 executable file when it changes while no inferior is running.
18384
aaf320fa
FF
183852002-01-21 Fred Fish <fnf@redhat.com>
18386
a9c64011
AS
18387 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
18388 optionally accept the "shlib events" variation.
aaf320fa 18389
808a31f5
JB
183902002-01-21 Jim Blandy <jimb@redhat.com>
18391
18392 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
18393 call `fflush' after every `printf', so that the output is produced
18394 at predictable points, regardless of whatever buffering does (or
18395 doesn't) take place.
18396 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
18397 at different points.
18398
4420d5e2
DJ
183992002-01-20 Daniel Jacobowitz <drow@mvista.com>
18400
18401 * gdb.c++/inherit.exp: Update copyright years.
18402 * gdb.c++/method.exp: Likewise.
18403
3e36a0f4
DJ
184042002-01-20 Daniel Jacobowitz <drow@mvista.com>
18405
18406 * gdb.c++/classes.exp: Update for improved v3 support and skipping
18407 artificial methods/arguments.
18408 * gdb.c++/derivation.exp: Likewise.
18409 * gdb.c++/inherit.exp: Likewise.
18410 * gdb.c++/method.exp: Likewise.
18411 * gdb.c++/virtfunc.exp: Likewise.
18412
b4ceaee6
AC
184132002-01-18 Andrew Cagney <ac131313@redhat.com>
18414
18415 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
18416 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
18417 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
18418 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
18419 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
18420 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
18421
ecace851
JB
184222002-01-17 Jim Blandy <jimb@redhat.com>
18423
18424 * gdb.asm/asm-source.exp (info symbol): Take another shot at
18425 anchoring the pattern matching the entry point symbol's name.
18426
375fc983
AC
184272002-01-17 Andrew Cagney <ac131313@redhat.com>
18428
18429 * gdb.base/maint.exp: Update ``maint internal-error'' to match
18430 continue/quit query. Update copyright.
18431
fe6fdd96
MS
184322002-01-14 Michael Snyder <msnyder@redhat.com>
18433
18434 * gdb.base/gcore.exp: Remove extra debugging output.
18435
e017c81f
DJ
184362002-01-13 Daniel Jacobowitz <drow@mvista.com>
18437
18438 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
18439 for slightly dubious v2 mangled string.
18440
37ab3bf8
DJ
184412002-01-13 Daniel Jacobowitz <drow@mvista.com>
18442
18443 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
18444
1bc05c3a 184452002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 18446
1bc05c3a 18447 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 18448
1bc05c3a
JM
18449 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
18450 constructors.
18451 * gdb.c++/derivation.exp: Likewise.
18452 * gdb.c++/templates.exp: Likewise.
18453 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 18454
1bc05c3a
JM
184552002-01-10 Michael Snyder <msnyder@redhat.com>
18456
18457 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 18458
a911c360
MS
184592002-01-08 Michael Snyder <msnyder@redhat.com>
18460
18461 * gdb.base/gcore.exp: New test for generate-core-file command.
18462 * gdb.base/gcore.c: Testcase for above.
18463 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
18464
ea2119ec
JM
184652002-01-08 Jason Merrill <jason@redhat.com>
18466
18467 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
18468
68203136
FF
184692002-01-07 Fred Fish <fnf@redhat.com>
18470
18471 * gdb.c++/overload.exp: Remove unconditional xfails for:
18472 print foo_instance1.overloadargs(1)
18473 print foo_instance1.overloadargs(1, 2)
18474 print foo_instance1.overloadargs(1, 2, 3)
18475 print foo_instance1.overloadargs(1, 2, 3, 4)
18476 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
18477 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
18478 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
18479 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
18480 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
18481 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
18482 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
18483 print foo_instance1.overload1arg()
18484 print foo_instance1.overload1arg((char)arg2)
18485 print foo_instance1.overload1arg((signed char)arg3)
18486 print foo_instance1.overload1arg((unsigned char)arg4)
18487 print foo_instance1.overload1arg((int)arg7)
18488 print foo_instance1.overload1arg((unsigned int)arg8)
18489 print foo_instance1.overload1arg((float)arg11)
18490 print foo_instance1.overload1arg((double)arg12)
d63a86f8 18491
21b9b5b1
MS
184922002-01-07 Michael Snyder <msnyder@redhat.com>
18493
18494 * gdb.base/huge.exp: New test. Print a very large target data object.
18495 (skip_huge_test): New test variable. Define if you want to skip this
18496 test. The test reads an 8 megabyte data object from the target, so it
18497 might be very time consuming on remote targets with a slow connection.
18498 * gdb.base/huge.c: New file. Test case for above.
18499
725f922e
FF
185002002-01-07 Fred Fish <fnf@redhat.com>
18501
18502 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
18503 g_instance.bfoo, and g_instance.cfoo.
18504
889bf7c5 185052002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 18506
889bf7c5
PA
18507 * gdb.base/break.c (multi_line_if_conditional): New function.
18508 (multi_ilne_while_conditional): Likewise.
18509 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
18510 IF or WHILE condition puts the breakpoint at the start of
18511 the condition.
f286b2c3 18512
634d57ec
JL
18513 * gdb.base/selftest.exp (backtrace through signal handler): Remove
18514 hppa*-*-hpux* expected failure.
18515 * gdb.base/structs.exp (do_function_calls): Similarly.
18516
18517 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
18518 watchpoints.
18519
9fbfe2dc
AC
185202002-01-06 Andrew Cagney <ac131313@redhat.com>
18521
18522 Fix PR gdb/66.
18523 * gdb.base/structs.exp: Replace skip for a29k with skip for
18524 gdb,cannot_call_functions.
18525 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
18526 * gdb.base/callfuncs.exp: Ditto.
18527 * gdb.base/call-rt-st.exp: Ditto.
18528 * gdb.base/call-strs.exp: Ditto.
18529 * gdb.base/callfwmall.exp: Ditto.
18530 * gdb.base/scope.exp: Obsolete xfail a29k.
18531 * gdb.c++/misc.exp: Ditto.
18532 * gdb.c++/cplusfuncs.exp: Ditto.
18533 * gdb.base/ptype.exp: Ditto.
18534 * gdb.base/printcmds.exp: Ditto.
18535 * gdb.base/opaque.exp: Ditto.
18536 * gdb.base/list.exp: Ditto.
18537 * gdb.base/funcargs.exp: Ditto.
18538 * gdb.base/default.exp: Ditto.
18539
8ddad156
MS
185402002-01-04 Michael Snyder <msnyder@redhat.com>
18541
ca4976a6 18542 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
18543 * gdb.base/maint.exp: Add tests for maint info sections options.
18544
1b074332
JL
18545Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
18546
18547 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
18548
7d159115
CV
185492001-12-20 Corinna Vinschen <vinschen@redhat.com>
18550
18551 * gdb.asm/arm.inc: New file.
18552 * gdb.asm/asm-source.exp: Add arm targets.
18553 * gdb.asm/configure.in: Ditto.
18554 * gdb.asm/configure: Recreated from configure.in.
18555
8fb87725
JL
18556Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
18557
afabe08c
JL
18558 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
18559 with HP's compiler.
18560 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18561 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18562 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18563 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18564
18565 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
18566 either HP's compilers or GCC.
18567
db521deb
JL
18568 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
18569 a SIGBUS or SIGSEGV.
18570
18571 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
18572
18573 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
18574 can be compiled with either HP's compiler or GCC.
18575
cfa88ab7
JL
18576 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
18577 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
18578 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
18579
ca344dff
JL
18580 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
18581 to match current gdb output. Update due to using auto-solib-limit
18582 for limiting instead of overloading auto-solib-add.
18583 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
18584 test program.
18585
3f3c6e55 18586 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
18587 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
18588 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18589 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18590 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18591 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18592 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
18593 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
18594 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
18595 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
18596 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
18597 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
18598 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 18599
8fb87725
JL
18600 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
18601 a SIGTRAP to the inferior.
18602
cf599fa7
CV
186032001-12-19 Corinna Vinschen <vinschen@redhat.com>
18604
18605 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
18606 Substitute call to target_link by call to gdb_compile.
18607
2cd045cd
JL
18608Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
18609
a9c64011
AS
18610 * gdb.base/break.exp: Fix HP specific search string when testing
18611 backtracing in a called function.
2cd045cd 18612
a9c64011
AS
18613 * gdb.base/constvars.exp: Only set lang to C++ if we're
18614 compiling the test with HP's compilers.
18615 * gdb.base/volatile.exp: Similarly.
2cd045cd 18616
99ebe9ac
JB
186172001-12-19 Jim Blandy <jimb@redhat.com>
18618
18619 * gdb.base/printcmds.exp: Expect the null character to be printed
18620 as '\0', and the '\013' to be printed as '\v'.
18621 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
18622 * gdb.base/setvar.exp: Same.
18623
b9891b29
JB
186242001-12-17 Jim Blandy <jimb@redhat.com>
18625
0eba65ab
JB
18626 * gdb.base/completion.exp: Rather than completing very long
18627 filenames, which can make the readline library produce output we
18628 don't recognize, cd to the directory first, and then complete
18629 using nice, short relative paths.
18630
6970b5b1
JB
18631 * gdb.base/completion.exp: On some systems, there is, in fact, a
18632 variable named `b' in scope, since GDB treats all static
a9c64011
AS
18633 variables as being in scope. So use `no_var_named_this'
18634 instead of `b'.
6970b5b1 18635
b9891b29 18636 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 18637 can't find the core file's registers as a failure.
b9891b29 18638
e6ccd35f
JSC
186392001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
18640
a9c64011
AS
18641 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
18642 test expect string more specific.
e6ccd35f 18643
105ba819
CV
186442001-12-13 Corinna Vinschen <vinschen@redhat.com>
18645
18646 * gdb.asm/asm-source.exp: Add support for xstormy16.
18647 * gdb.asm/configure.in: Ditto.
18648 * gdb.asm/configure: Rebuild.
18649 * gdb.asm/xstormy16.inc: New file.
18650
e9e79dd9
FF
186512001-12-10 Fred Fish <fnf@redhat.com>
18652
18653 * gdb.base/maint.exp: Update to match changes in type dumping code.
18654
347dc97d
JB
186552001-12-10 Jim Blandy <jimb@redhat.com>
18656
18657 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
18658 matching the entry point symbol's name at the beginning of the
18659 line.
347dc97d 18660
5178b9d6
DJ
186612001-12-07 Daniel Jacobowitz <drow@mvista.com>
18662
18663 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
18664 gdb.c++/inherit.exp, gdb.c++/method.exp,
18665 gdb.c++/namespace.exp, gdb.c++/templates.exp,
18666 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
18667 and class layout support.
18668
af890c52
DJ
186692001-12-07 Daniel Jacobowitz <drow@mvista.com>
18670
18671 * gdb.c++/classes.exp: Add test for static member function.
18672 * gdb.c++/misc.cc: Add class with static member function.
18673
7a345fb3
JB
186742001-12-07 Jim Blandy <jimb@redhat.com>
18675
f2e54a80 18676 If GDB says it can't find the struct the function returned, report
8032bf31
JB
18677 those tests as `unsupported'.
18678 * gdb.base/call-rt-st.exp (print_struct_call): New function.
18679 Rewrite subsequent tests to use it.
18680
18681 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
18682 those tests as `unsupported'.
18683 * gdb.base/structs.exp (call_struct_func): New function.
18684 (do_function_calls): Use call_struct_func to call the functions
18685 returning structs.
18686
0bc69509
JB
18687 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
18688 whether functions are prototyped or not, so we can't possibly pass
18689 arguments to t_float_values2 properly.
18690
7a345fb3
JB
18691 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
18692 value of `timeout' for targets other than the mips*tx39-*.
18693
edb6ede1
MS
186942001-12-06 Michael Snyder <msnyder@redhat.com>
18695
d63a86f8 18696 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
18697 and detect whether the start symbol has a leading underscore.
18698
2d842f13
JB
186992001-12-04 Jim Blandy <jimb@redhat.com>
18700
18701 * gdb.base/completion.exp: Clarify indentation.
18702
68550daf
JB
187032001-12-03 Jim Blandy <jimb@redhat.com>
18704
18705 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
18706 variables on the S/390, not `.word'.
18707
cd5195a8
JB
187082001-11-30 Jim Blandy <jimb@redhat.com>
18709
18710 Add assembly-source tests for s390-ibm-linux.
18711 * gdb.asm/s390.inc: New file.
18712 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
18713 the S/390 architecture.
a9c64011 18714 * gdb.asm/configure: Regenerated.
cd5195a8 18715
ca9efc90
MS
187162001-11-30 Michael Snyder <msnyder@redhat.com>
18717
18718 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
18719 next, info source, info sources, info line, global and static
18720 variables, and static functions.
18721 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
18722 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
18723 * gdb.asm/asmsrc1.s: Add a static function and some variables.
18724 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
18725 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
18726 (gdbasm_leave): Restore frame pointer.
18727 (gdbasm_startup): Copy stack set-up from crt0.S.
18728
d0e66976
FN
187292001-11-26 Fernando Nasser <fnasser@redhat.com>
18730
18731 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
18732 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
18733 to a local (non-static) variable. Copy tstruct.a to a static buffer
18734 and return a pointer to that buffer.
18735 * gdb.base/callfwmall.c (t_structs_a): Ditto.
18736
e2334072
MK
187372001-11-24 Mark Kettenis <kettenis@gnu.org>
18738
18739 * gdb.asm/configure.in: Fix recognition of ix86 target.
18740 * gdb.asm/configure: Regenerate.
18741
756caa3d
MS
187422001-11-21 Michael Snyder <msnyder@redhat.com>
18743
18744 * gdb.asm/sparc.inc: New file.
18745 * gdb.asm/asm-source.exp: Recognize sparc target.
18746 * gdb.asm/configure.in: Recognize sparc target.
18747 * gdb.asm/configure: Regenerate.
d63a86f8 18748
9a4d72d5
MS
187492001-11-21 Michael Snyder <msnyder@redhat.com>
18750
18751 * gdb.asm/m32r.inc: New file.
18752 * gdb.asm/asm-source.exp: Recognize m32r target.
18753 * gdb.asm/configure.in: Recognize m32r target.
18754 * gdb.asm/configure: Regenerate.
18755
a773d1cd
MS
187562001-11-20 Michael Snyder <msnyder@redhat.com>
18757
017ac23d
MS
18758 * gdb.asm/i386.inc: New file.
18759 * gdb.asm/asm-source.exp: Recognize ix86 target.
18760 * gdb.asm/configure.in: Recognize ix86 target.
18761 * gdb.asm/configure: Regenerate.
18762
a773d1cd
MS
18763 * gdb.c++/namespace.exp: Fix quotes in output messages.
18764
bb632afb
MS
187652001-11-14 Michael Snyder <msnyder@redhat.com>
18766
25d559ca 18767 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
18768 qualifier in a type cast expression, to designate an address
18769 in the instruction space (Harvard architecture).
18770
4749e309
MS
187712001-11-13 Michael Snyder <msnyder@redhat.com>
18772
18773 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
18774 Tests for expressions using 'const' and 'volatile'.
18775
25050984
CV
187762001-11-13 Corinna Vinschen <vinschen@redhat.com>
18777
18778 * gdb.asm/asm-sources.exp: Allow defining linker flags.
18779
1902c51f
DJ
187802001-11-12 Daniel Jacobowitz <drow@mvista.com>
18781
18782 * lib/mi-support.exp (mi_run_to_helper): Move comments
18783 outside of gdb_expect.
18784
dcf95b47
DJ
187852001-11-11 Daniel Jacobowitz <drow@mvista.com>
18786
18787 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
18788 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
18789 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
18790 mi0_run_to): New functions.
18791 * gdb.mi/mi-simplerun.exp: Use them.
18792 * gdb.mi/mi0-simplerun.exp: Likewise.
18793 * gdb.mi/mi-var-cmd.exp: Likewise.
18794 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 18795
45b074e1
AC
187962001-11-10 Andrew Cagney <ac131313@redhat.com>
18797
18798 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
18799 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
18800
bf50d346
AC
188012001-11-09 Andrew Cagney <ac131313@redhat.com>
18802
18803 * gdb.base/restore.exp: Include $expected value in restored test
18804 message.
18805
9383332c
AC
188062001-11-09 Andrew Cagney <ac131313@redhat.com>
18807
18808 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
18809 implemented.
18810
db62520a
MS
188112001-11-08 Michael Snyder <msnyder@redhat.com>
18812
18813 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
18814 Add pass/fail message for stop at breakpoint in call dummy function.
18815
b5703437
MS
188162001-11-07 Michael Snyder <msnyder@redhat.com>
18817
d63a86f8
RM
18818 * gdb.c++/templates.exp (test_template_breakpoints):
18819 If we get an overload menu, but it does not match what
760f6330 18820 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
18821 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
18822 making the whitespace optional. Argument for "new" may be
18823 "unsigned" as well as "unsigned int/long".
d63a86f8 18824 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
18825 making the whitespace optional. Also replace "(void) with
18826 "((void|)), making the keyword "void" optional.
d63a86f8 18827 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
18828 making the whitespace optional. Also replace "(void) with
18829 "((void|)), making the keyword "void" optional.
3bf40917
MS
18830 * gdb.base/callfuncs.c (t_float_values): This function must
18831 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 18832 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
18833 can be tested against both cases. Usually one case involves
18834 promotion of float to double, while the other does not.
18835 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
18836 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
18837 includes a stack frame for "start".
18838
c8ab4e6d
JB
188392001-11-05 Jim Blandy <jimb@redhat.com>
18840
18841 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
18842 pointers are 32 bits long, and that offsets of relocs are always
18843 stored in the data (REL-style), and not in the reloc entry itself
18844 (RELA-style).
18845 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
18846 stabs.
18847
3f08ced9
MS
188482001-11-01 Michael Snyder <msnyder@redhat.com>
18849
18850 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
18851 and regular expression operators by using quoting.
18852
cbfa24cd
MS
188532001-10-31 Michael Snyder <msnyder@redhat.com>
18854
18855 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
18856 depending on what the symbol table contains.
18857 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
18858 the output of the ptype command. Similarly, accept both "const &"
18859 and "const&".
18860
aaa68313
CV
188612001-10-31 Corinna Vinschen <vinschen@redhat.com>
18862
18863 * gdb.base/miscexprs.c (main): Add usage of preprocessor
18864 symbol `STORAGE' to allow to choose the storage class of
18865 the local datastructures.
18866 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
18867 compiler directive.
18868
91740388
MS
188692001-10-30 Michael Snyder <msnyder@redhat.com>
18870
18871 * gdb.base/jump.exp: Allow it to run for all targets.
18872
1b7c05e7
CV
188732001-10-29 Corinna Vinschen <vinschen@redhat.com>
18874
18875 * gdb.base/call-ar-st.c (print_double_array): Match for loop
18876 with new double_array size.
18877 (main): Change storage class of all local variables to static.
18878 Reduce size of double_array to 9.
18879 * gdb.base/call-ar-st.exp: Increase timeout value.
18880 Change expected output for double array to match new size in
18881 call-ar-st.c.
18882
36a22261
CV
188832001-10-29 Corinna Vinschen <vinschen@redhat.com>
18884
18885 * gdb.base/ending-run.exp: Create identical output when passing
18886 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 18887 Stormy16 target.
36a22261 18888
92b8ae91
MK
188892001-10-28 Mark Kettenis <kettenis@gnu.org>
18890
18891 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
18892 that we catch the expected failure under Linux/x86.
18893
cb135b83
OF
188942001-10-29 Orjan Friberg <orjanf@axis.com>
18895
18896 * gdb.base/setvar.exp: Escape curly braces.
18897 * gdb.stabs/weird.exp: Ditto.
18898
6884aa54
DJ
188992001-10-27 Daniel Jacobowitz <drow@mvista.com>
18900
18901 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
18902 * gdm.mi/mi0-hack-cli.exp: Likewise.
18903
0398c9aa
AC
189042001-10-25 Andrew Cagney <ac131313@redhat.com>
18905
18906 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
18907 messages.
18908
d20bf2e8
AC
189092001-10-21 Andrew Cagney <ac131313@redhat.com>
18910
18911 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
18912 checking MI enabled.
18913
03dd63aa
CV
189142001-10-09 Corinna Vinschen <vinschen@redhat.com>
18915
18916 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
18917
1d9d99f3
FCE
189182001-10-04 Frank Ch. Eigler <fche@redhat.com>
18919
18920 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
18921 if gdb child process crashes, just signal an error.
18922
838ae6c4
JB
189232001-10-02 Jim Blandy <jimb@redhat.com>
18924
18925 * lib/gdb.exp (test_xfail_format): Simplify.
18926
18927 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
18928 front of the variable name `format'. Simplify `if'.
18929
8f0cbc1c
DJ
189302001-10-01 Daniel Jacobowitz <drow@mvista.com>
18931
18932 * gdb.threads/pthreads.exp: Wait for output and delay
18933 before sending ^C.
18934
1f08dafd
DJ
189352001-10-01 Daniel Jacobowitz <drow@mvista.com>
18936
18937 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
18938 some incorrect output instead of timing out.
18939 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
18940
674f90ff
CV
189412001-09-28 Corinna Vinschen <vinschen@redhat.com>
18942
18943 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
18944 check to allow additional `int'.
18945
9b284272
DJ
189462001-09-27 Daniel Jacobowitz <drow@mvista.com>
18947
18948 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
18949 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
18950
b55a4771
MS
189512001-09-27 Michael Snyder <msnyder@redhat.com>
18952
18953 * lib/gdb.exp (test_debug_format): New proc.
18954 (setup_xfail_format): Use new proc test_debug_format.
18955 * gdb.base/constvars.exp (local_compiler_xfail_check): New
18956 proc; use new service proc test_debug_format.
18957 Replace all other "gcc_compiled" tests with this test.
18958 * gdb.base/volatile.exp (local_compiler_xfail_check): New
18959 proc; use new service proc test_debug_format.
18960 Replace all other "gcc_compiled" tests with this test.
18961
189622001-09-27 Michael Snyder <msnyder@redhat.com>
18963
18964 * gdb.base/cvexpr.exp: New file.
18965 * gdb.base/cvexpr.c: New file
18966 Test for expressions using const and volatile keywords.
18967
4e6667ac
CV
189682001-09-26 Corinna Vinschen <vinschen@redhat.com>
18969
18970 * gdb.base/constvars.exp: Check for different orders of keywords
18971 and additional "int" strings in output.
18972
4f337972
AC
189732001-09-22 Andrew Cagney <ac131313@redhat.com>
18974
18975 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
18976 responses from "help maint".
18977
2015650d
FCE
189782001-09-19 Frank Ch. Eigler <fche@redhat.com>
18979
18980 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
18981 to localhost:NNN instead of :NNN, in case Xvfb is listening
18982 only on TCP.
18983
f3bcedc1
CV
189842001-09-19 Corinna Vinschen <vinschen@redhat.com>
18985
18986 * gdb.base/recurse.exp: When checking leaving the watchpoint
18987 scope, recognize when gdb is in function's epilogue and pass.
18988
6b819c92
KS
189892001-09-18 Keith Seitz <keiths@redhat.com>
18990
18991 * lib/insight-support.exp (_gdbtk_export_target_info): Add
18992 support for running tests against sid targets.
18993 (gdbtk_done): Ditto.
18994
a10c9419
CV
189952001-09-18 Corinna Vinschen <vinschen@redhat.com>
18996
18997 * gdb.base/ending-run.c (main): Set stdout buffersize
18998 to the same reasonable value for any target.
18999 * gdb.base/ending-run.exp: Add a regular expression
19000 to make testsuite happy on Sanyo Stormy16 target.
19001
739d0d99
CV
190022001-09-17 Corinna Vinschen <vinschen@redhat.com>
19003
19004 * gdb.base/display.c (do_loops): Add float variable `f'.
19005 Increment f in loop.
19006 * gdb.base/display.exp: Increment timeout by 60 seconds.
19007 Change float display test to use variable `f'.
19008
1b8947f0
JB
190092001-09-17 Jim Blandy <jimb@redhat.com>
19010
19011 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
19012 overflowing the limited breakpoint tables on some ROM monitors
19013 (like the ROM68K).
19014
9890ac81
FCE
190152001-09-15 Frank Ch. Eigler <fche@redhat.com>
19016
19017 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
19018 the "-ac" (disable access control) flag.
19019
6db765ea
JH
190202001-08-30 Jeff Holcomb <jeffh@redhat.com>
19021
19022 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
19023 ints.
19024
4c32cc04
KS
190252001-08-30 Keith Seitz <keiths@redhat.com>
19026
19027 * lib/gdb.exp: Move all insight-related functionality into
19028 separate file.
19029 * lib/insight-support.exp: New file.
19030
8d6e6f81
FCE
190312001-08-29 Frank Ch. Eigler <fche@redhat.com>
19032
19033 * config/sid.exp (sid_start): Never set sid verbosity; disable
19034 expect_background {} that consumed its stdout; tolerate </dev/null.
19035 Attempt to set endianness override in "sid" protocol mode. Cleanup.
19036
6a90e1d0
AC
190372001-08-18 Andrew Cagney <ac131313@redhat.com>
19038
19039 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
19040 CLI jump command to start it.
19041 (mi_run_to_main): Fail immediatly when unexpected output.
19042
1759b3c3
AC
190432001-08-18 Andrew Cagney <ac131313@redhat.com>
19044
19045 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
19046 beginning of function. Fix PR gdb/191.
19047
61d11d80
FCE
190482001-08-16 Frank Ch. Eigler <fche@redhat.com>
19049
19050 * config/sid.exp (sid_start): Don't warn if we cannot figure out
19051 what to force sid endianness to.
19052
942a4df2
KS
190532001-08-15 Keith Seitz <keiths@redhat.com>
19054
19055 * lib/gdb.exp (gdbtk_start): Don't set environment
19056 variables for TCL_LIBRARY and friends. Insight will
19057 now figure these out for itself.
19058
0521c418
MS
190592001-08-02 Michael Snyder <msnyder@redhat.com>
19060
19061 * gdb.base/completion.exp: Remove the symbol "a64l" from
19062 the expect string; this is target-specific, and not related
19063 to what is being tested.
19064
74a9a58a
DB
190652001-08-02 Dave Brolley <brolley@redhat.com>
19066
19067 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
19068
c70819fa
MS
190692001-07-25 Michael Snyder <msnyder@redhat.com>
19070
c2b8fa57
MS
19071 * gdb.base/consecutive.exp: New file. Test stepping over
19072 breakpoints on consecutive instructions.
19073 * gdb.base/consecutive.c: New file.
19074
c70819fa
MS
19075 * gdb.base/call-rt-st.exp: Use double-backslash to quote
19076 curly braces in regular expressions.
19077
2b1a1355
MS
190782001-07-25 Michael Snyder <msnyder@redhat.com>
19079
19080 * gdb.base/ending-run.exp: Accept "Program exited normally" as
19081 legitimate output from stepping out of main.
19082
413eca6f
KS
190832001-07-22 Keith Seitz <keiths@redhat.com>
19084
19085 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
19086 the empty string, do not run the tests.
19087
7e5a9322
SC
190882001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19089
19090 * gdb.base/long_long.exp: Detect size of pointer. Take into
19091 account 2-byte pointers when testing for p/a results.
19092
de58f10f
SC
190932001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19094
d63a86f8 19095 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
19096 and defined to 1K for m68hc11.
19097 (random_data): Reduce table to 1K for embedded platforms (68hc11).
19098 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
19099 (sizeof_random_data): New variable to tell the size of the data table;
19100 don't test past this size; always run to main.
19101
d6f5fea1
SC
191022001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19103
19104 * gdb.base/return2.exp: return of long long and double fails for
19105 68HC11; don't execute these tests on that platform.
19106 * gdb.base/return.exp: Return of a double fails for 68hc11.
19107
c477543d
SC
191082001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19109
19110 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
19111 tests that print a float.
19112 * call-rt-st.exp: Likewise.
19113
63cf1c79
MK
191142001-07-12 Mark Kettenis <kettenis@gnu.org>
19115
19116 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
19117 running this test on Linux.
19118
112f9ab5
MC
191192001-06-24 Michael Chastain <chastain@redhat.com>
19120
19121 * gdb.base/arithmet.exp: Remove some tests to make all test names
19122 unique.
19123
4970cb0f
MS
191242001-07-03 Michael Snyder <msnyder@redhat.com>
19125
19126 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
19127 the output of the ptype command.
19128
d85da69f
MS
191292001-07-02 Michael Snyder <msnyder@redhat.com>
19130
4c8a82de
MS
19131 * gdb.base/completion.exp: Don't assume that break.c is the only
19132 source file that may contain functions named "marker".
d85da69f
MS
19133 * gdb.base/corefile.exp: Quote the curly braces in regexp.
19134
8afc772b
AC
191352001-06-28 Andrew Cagney <ac131313@redhat.com>
19136
19137 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
19138 of files to delete.
19139
19140 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
19141 * gdb.disasm/h8300s.exp: New file.
19142 gdb.disasm/h8300s.s: Likewise.
19143
cff22675
AC
191442001-06-27 Andrew Cagney <ac131313@redhat.com>
19145
19146 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
19147 empty breakpoint tables.
19148
68c81b54
AC
191492001-06-25 Andrew Cagney <ac131313@redhat.com>
19150
19151 * lib/mi-support.exp: Update args=... part of stop-reason
19152 patterns. Accept either a list or a tuple.
19153
2dd62704
AC
191542001-06-23 Andrew Cagney <ac131313@redhat.com>
19155
19156 * lib/mi-support.exp: Remove local emacs variable defining
19157 change-log-default-name.
19158
b4127474
MC
191592001-06-22 Michael Chastain <chastain@redhat.com>
19160
19161 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
19162 This is operationally compatible with the previous version.
19163
8dbfb380
JB
191642001-06-13 Jim Blandy <jimb@redhat.com>
19165
19166 * lib/gdb.exp (gdb_test): Doc fix.
19167
f2d8c86d
MC
191682001-06-10 Michael Chastain <chastain@redhat.com>
19169
19170 * gdb.base/exprs.exp: Remove a duplicate test.
19171
81564d34
JB
191722001-06-06 Jim Blandy <jimb@redhat.com>
19173
19174 * gdb.base/return2.exp (main): Use values to test float and double
19175 returns that are not NaN's, to avoid being confused by IEEE
19176 comparison rules.
19177
da55addb
MS
191782001-06-04 Michael Snyder <msnyder@redhat.com>
19179
19180 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 19181 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
19182 rather than wait for 12 more tests to time out.
19183
42c65987
JB
191842001-06-06 Jim Blandy <jimb@redhat.com>
19185
b18bced9 19186 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 19187 Don't forget to match the GDB prompt.
b18bced9 19188
42c65987
JB
19189 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
19190
5b41e5f0
JB
191912001-06-04 Jim Blandy <jimb@redhat.com>
19192
19193 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
19194 command.
19195
015e046f
KB
191962001-05-31 Kevin Buettner <kevinb@redhat.com>
19197
19198 * gdb.base/annota1.exp (info break): Match four or more spaces
19199 after "Address".
19200
fb1ffbbe
MC
192012001-05-31 Michael Chastain <chastain@redhat.com>
19202
19203 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
19204 (dm_type_int_star): Likewise.
19205 (dm_type_long_star): Likewise.
19206 (dm_type_void_star): Likewise.
19207
5ea2a32c
KB
192082001-05-29 Kevin Buettner <kevinb@redhat.com>
19209
19210 * gdb.base/completion.exp (INPUTRC): Set this environment variable
19211 to a known value in order to get consistent results regardless
19212 of the setting of INPUTRC or the presence or contents of .inputrc.
19213
ae23c492
MS
192142001-05-24 Michael Snyder <msnyder@redhat.com>
19215
ac55707e
MS
19216 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
19217 Don't require that the main thread and the manager thread are the
19218 first in the list.
19219
ae23c492
MS
19220 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
19221 debugging. If test fails, issue an "unsupported" not a "fail".
19222
400071f1
JB
192232001-05-24 Jim Blandy <jimb@redhat.com>
19224
19225 Don't assume that short is shorter than int.
19226 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
19227 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 19228 this isn't true.
400071f1
JB
19229 ("print unsigned char == (~0)"): Add test that verifies that ~0,
19230 an int, is not equal to ~0 stored in an unsigned char. This tests
19231 the same thing that the previous test meant to, but works on
19232 16-bit machines, too.
19233 ("print unsigned char != (~0)"): Same test, complemented.
19234
0816a3e5
MS
192352001-05-24 Michael Snyder <msnyder@redhat.com>
19236
19237 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 19238 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
19239 and prevents dejagnu getting out of step.
19240
f6dc23a9
KB
192412001-05-23 Kevin Buettner <kevinb@redhat.com>
19242
19243 * gdb.base/finish.exp (finish_void): Revise pattern for
19244 stopping on the call statement to not permit stopping at
19245 the start of the instructions comprising the call sequence.
19246
7dbd117d
MC
192472001-05-19 Michael Chastain <chastain@redhat.com>
19248
19249 * gdb.base/callfuncs.exp: Make all test names unique.
19250 * gdb.base/commands.exp: Make all test names unique.
19251 * gdb.base/condbreak.exp: Make all test names unique.
19252 * gdb.base/dbx.exp: Make all test names unique.
19253 * gdb.base/default.exp: Make all test names unique.
19254 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
19255 and TIMEOUT messages to their corresponding PASS message.
19256 * gdb.base/ending-run.exp: Make all test names unique.
19257 * gdb.base/long_long.exp: Remove duplicate test.
19258
6b0b0a9e
KB
192592001-05-21 Kevin Buettner <kevinb@redhat.com>
19260
19261 * gdb.base/finish.exp (finish_void): Allow "finish" command to
19262 stop on the call statement as well as the statement after the
19263 call.
19264
2caa35cb
MS
192652001-05-21 Michael Snyder <msnyder@redhat.com>
19266
19267 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
19268
40713331
EZ
192692001-05-10 Elena Zannoni <ezannoni@redhat.com>
19270
a9c64011
AS
19271 * gdb.base/completion.exp: Revamp test. Make it execute on all
19272 platforms.
40713331 19273
c2c1be8d
EZ
192742001-05-10 Elena Zannoni <ezannoni@redhat.com>
19275
a9c64011
AS
19276 * config/gdbserver.exp (gdb_load): Handle the case
19277 in which the arguments to gdbserver are given in the
19278 baseboard configuration file.
19279 Also handle the case in which the server needs to do a
19280 load.
2c9cd303 19281
9671de48
KS
192822001-05-07 Keith Seitz <keiths@cygnus.com>
19283
a9c64011
AS
19284 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
19285 set up the display for testing.
19286 (gdbtk_start): Convert all paths to paths that tcl will like.
19287 Export target information to environment.
19288 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
19289 necessary.
19290 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
19291 (to_tcl_path): New proc to convert a given pathname into
19292 a path acceptible as an argument to a tcl command.
19293 (_gdbtk_export_target_info): New proc to export target info
19294 into the environment for gdbtk testing.
19295 (gdbtk_done): New proc to signal end-of-test.
9671de48 19296
5a360f47
JB
192972001-05-06 Jim Blandy <jimb@redhat.com>
19298
19299 * restore.c: Make the code of caller0 correspond to its comment.
19300
66c756c6
MS
193012001-05-03 Michael Snyder <msnyder@redhat.com>
19302
19303 * config/sid.exp (gdb_target_sid): Check for error messages.
19304 On error or timeout, don't make expect exit (which will terminate
19305 all subsequent tests); instead just make gdb exit.
d63a86f8 19306 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
19307 return a negative value.
19308
a966fde5
JB
193092001-04-24 Jim Blandy <jimb@redhat.com>
19310
851c18e0
JB
19311 * gdb.c++/templates.exp: If we see the prompt for the overload
19312 list, but we haven't recognized any of the longer patterns,
19313 arrange for this test to fail, not hang.
19314
a966fde5
JB
19315 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
19316 variations.
19317
db144853
MC
193182001-04-22 Michael Chastain <chastain@redhat.com>
19319
19320 * gdb.c++/local.exp: Use the 'runto' library function.
19321 * gdb.c++/namespace.exp: Likewise.
19322 * gdb.c++/overload.exp: Likewise.
19323
3207ec21
KB
193242001-03-26 Kevin Buettner <kevinb@redhat.com>
19325
19326 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
19327 * gdb.base/step-line.exp: New file. Test step/next in presence of
19328 #line directives.
19329 * gdb.base/step-line.c: New file. Test program for the above.
19330 * gdb.base/step-line.inp: New file. We pretend that this file has
19331 been transformed by some other tool into step-line.c.
19332
13b57657
JB
193332001-03-21 Jim Blandy <jimb@redhat.com>
19334
19335 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
19336 unmangled operator names.
19337
754cbe1c
JB
193382001-03-20 Jim Blandy <jimb@redhat.com>
19339
19340 * gdb.threads/linux-dp.exp: Recognize an additional message
19341 generated by GDB when it doesn't understand how to debug threads
19342 on the target system.
19343
177495c9
AC
193442001-03-19 Andrew Cagney <ac131313@redhat.com>
19345
19346 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
19347
f266096b
MC
193482001-03-12 Michael Chastain <chastain@redhat.com>
19349
19350 * gdb.c++/derivation.exp: Use the 'runto' library function.
19351
cac3c2ff
MC
193522001-03-12 Michael Chastain <chastain@redhat.com>
19353
19354 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
19355
b6c11a24
MC
193562001-02-24 Michael Chastain <chastain@redhat.com>
19357
19358 * gdb.c++/ref-types.exp: Change handwritten code to library
19359 function 'runto'.
19360
6bae5bce
OF
193612001-03-16 Orjan Friberg <orjanf@axis.com>
19362
19363 * gdb.base/signals.exp: Set count to 0 explicitly.
19364
0015fd9a
MS
193652001-03-15 Mark Salter <msalter@redhat.com>
19366
19367 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
19368 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
19369 (gdb_load): Add support for additional target_info: gdb_download_size
19370 and gdb_load_timeout.
0015fd9a 19371
fc33412a
DT
19372Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
19373
19374 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
19375 file -- to prevent failing when the compile fails but we have no
19376 intention of running the tests anyway.
fc33412a
DT
19377
19378 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
19379 tests if set.
19380
19381 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 19382 integers.
fc33412a
DT
19383
19384 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
19385 * gdb.c++/namespace.exp: Ditto.
19386
115f06de
OF
193872001-03-07 Orjan Friberg <orjanf@axis.com>
19388
19389 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
19390 * gdb.base/pointers.exp: Relax pattern match of decimals.
19391
b6ba6518
KB
193922001-03-06 Kevin Buettner <kevinb@redhat.com>
19393
19394 * Makefile.in, config/abug.exp, config/cfdbug.exp,
19395 config/cpu32bug.exp, config/dve.exp, config/est.exp,
19396 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
19397 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
19398 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
19399 config/sh.exp, config/sid.exp, config/slite.exp,
19400 config/sparclet.exp, config/udi.exp, config/unknown.exp,
19401 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
19402 config/vxworks.exp, config/vxworks29k.exp,
19403 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
19404 gdb.base/all-bin.exp, gdb.base/annota1.exp,
19405 gdb.base/arithmet.exp, gdb.base/assign.exp,
19406 gdb.base/async.exp, gdb.base/attach.exp,
19407 gdb.base/bitfields.exp, gdb.base/bitops.exp,
19408 gdb.base/break.exp, gdb.base/call-ar-st.exp,
19409 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
19410 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
19411 gdb.base/commands.exp, gdb.base/completion.exp,
19412 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
19413 gdb.base/constvars.exp, gdb.base/corefile.exp,
19414 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
19415 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
19416 gdb.base/ending-run.exp, gdb.base/environ.exp,
19417 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
19418 gdb.base/finish.exp, gdb.base/foll-exec.exp,
19419 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
19420 gdb.base/funcargs.exp, gdb.base/help.exp,
19421 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
19422 gdb.base/logical.exp, gdb.base/long_long.exp,
19423 gdb.base/maint.exp, gdb.base/mips_pro.exp,
19424 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
19425 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
19426 gdb.base/pointers.exp, gdb.base/printcmds.exp,
19427 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
19428 gdb.base/regs.exp, gdb.base/relational.exp,
19429 gdb.base/remote.exp, gdb.base/reread.exp,
19430 gdb.base/restore.exp, gdb.base/return2.exp,
19431 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
19432 gdb.base/selftest.exp, gdb.base/setshow.exp,
19433 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
19434 gdb.base/sigall.exp, gdb.base/signals.exp,
19435 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
19436 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
19437 gdb.base/step-test.exp, gdb.base/structs.c,
19438 gdb.base/structs.exp, gdb.base/structs2.exp,
19439 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
19440 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
19441 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
19442 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19443 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
19444 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
19445 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
19446 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
19447 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
19448 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
19449 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
19450 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
19451 gdb.fortran/types.exp, gdb.java/jmisc.exp,
19452 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
19453 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
19454 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
19455 gdb.trace/circ.exp, gdb.trace/collection.exp,
19456 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
19457 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
19458 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
19459 gdb.trace/report.exp, gdb.trace/save-trace.exp,
19460 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
19461 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
19462 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
19463 notices.
19464
dc96c6c7 194652001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
19466
19467 * gdb.base/varargs.c (find_max_double): Fix printf format string:
19468 first arg is int not float.
19469
dc96c6c7 194702001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
19471
19472 * gdb.base/reread.exp: Unsupported for non-native targets;
19473 doesn't work for remote debugging.
19474
9b0c4aeb
FN
194752001-02-19 Fernando Nasser <fnasser@redhat.com>
19476
19477 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
19478 * gdb.base/ending-run.exp: Properly handle the BSP state when
19479 stepping past the end of main.
9b0c4aeb 19480
02aa71d5
MC
194812001-02-19 John Moore <jmoore@redhat.com>
19482
19483 * gdb.base/commands.exp (infrun_breakpoint_command_test):
19484 Converted HPUX fix for non-expected items following multiple
19485 step commands into general solution for all platforms.
19486
1fa449a4
MC
194872001-02-18 Michael Chastain <chastain@redhat.com>
19488
19489 * gdb.c++/classes.exp (do_tests): Change runto statements
19490 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19491 statements demangler agnostic.
19492 * gdb.c++/virtfunc.exp (do_tests): Likewise.
19493 (gdb_virtfunc_restart): Likewise.
19494
b2f9ec70
MC
194952001-02-14 Michael Chastain <chastain@redhat.com>
19496
19497 * gdb.c++/inherit.exp (do_tests): Change runto statements
19498 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19499 statements demangler agnostic.
19500
cf74b8ca
AC
19501Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
19502
19503 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
19504 ``continue to bkpt at common_routine in thread 2'' and ``stopped
19505 before calling common_routine 15 times'' tests.
cf74b8ca 19506
99f78f56
MC
195072001-02-11 Michael Chastain <chastain@redhat.com>
19508
19509 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
19510 Helps the test script figure out which demangler is in use.
19511 (dm_type_foo_ref): Ditto.
19512 (dm_type_int_star): Ditto.
19513 (dm_type_long_star): Ditto.
19514 (dm_type_unsigned_int): Ditto.
19515 (dm_type_void): Ditto.
19516 (dm_type_void_star): Ditto.
99707966 19517 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
19518 Probe the gdb demangler and set variables to accommodate
19519 formatting differences.
19520 (info_func_regexp): New function. Same as info_func, but
19521 matches against a regexp.
19522 (info_func): Match against a literal string.
19523 (print_addr_2): New function. Match against a literal string,
19524 which can be different from the input to gdb.
19525 (print_addr): Simply call print_addr_2 with the same argument twice.
19526 (test_lookup_operator_functions): Use demangler formatting variables.
19527 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
19528 the tests in the same order as the C++ class declaration.
19529 (test_paddr_operator_functions): Ditto.
19530 (test_paddr_overloaded_functions): Ditto.
19531 (test_paddr_hairy_functions): Use demangler formatting variables.
19532 Add reference to gdb/19 for related tests.
19533 (do_tests): Call probe_demangler.
19534
1de8f023
KB
195352001-01-30 Kevin Buettner <kevinb@redhat.com>
19536
19537 * gdb.c++/templates.cc (printf): Remove unused function definition.
19538
ca3f91ed
MS
195392001-01-26 Felix Lee <flee@redhat.com>
19540
19541 * sid.exp (sid_exit): Pass host, not target, to remote_close.
19542
195432001-01-25 matthew green <mrg@redhat.com>
19544
19545 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
19546 up sid.
19547 (sid_exit): Call `remote_pop_conn' after GDB is gone.
19548
195492001-01-25 matthew green <mrg@redhat.com>
19550
19551 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 19552 Deprecate $sid_spawn_id.
ca3f91ed
MS
19553 (sid_exit): Remove code necessary only for `spawn.'
19554
195552001-01-25 matthew green <mrg@redhat.com>
19556
19557 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
19558
fb18ec4a
MC
195592001-01-28 Michael Chastain <chastain@redhat.com>
19560
19561 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
19562 to call when tests fail. It takes gdb out of the overloaded
19563 function choice menu back to the main prompt, so that the test
19564 program stays synchronized.
19565 (set_bp_overloaded): New proc to collect all the common
19566 code for setting a breakpoint on an overloaded name. Calls
19567 take_gdb_out_of_choice_menu when needed.
19568 (menu_overload1arg): New variable to collect the repeated
19569 instances of the expected menu for an overloaded name. Change
19570 the regular expression to handle changes in g++ type encoding:
19571 "void" can be either "void" or "", and "unsigned int" can be
19572 either "unsigned int" or "unsigned".
19573 (continue_to_bp_overloaded): Change regular expressions to handle
19574 changes in g++ type encoding.
19575 (no proc): Call take_gdb_out_of_choice_menu when needed.
19576 Remove redundant calls to "info break". Accept either "canceled"
19577 or "cancelled". Change regular expressions in "info break"
19578 calls to handle changes in g++ type encoding. Give all tests
19579 unique strings.
19580
9c646a6e
BE
195812001-01-17 Ben Elliston <bje@redhat.com>
19582
19583 * config/sid.exp: New file.
19584
9549d9c1
AC
19585Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
19586
19587 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
19588
dc96c6c7 195892000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
19590
19591 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
19592 Add a RE to accept a non-ascii char if one is ever presented.
19593
b4df4f68
FN
195942000-12-20 Fernando Nasser <fnasser@redhat.com>
19595
297dd0fd 19596 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 19597
dc96c6c7 195982000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 19599
d63a86f8 19600 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
19601 in regexp. One '\' does not suffice on Linux.
19602
4a7bddb6
MC
196032000-12-09 Michael Chastain <chastain@redhat.com>
19604
19605 * gdb.base/break.exp (test_clear_command): Use a marker function
19606 rather than 'main' for the test function. Also move this
19607 test to an execution point where the marker function names are
19608 guaranteed to be bound to functions. (Executing tests after a
19609 'finish' from main runs into name conflicts with local names
19610 in __libc_start_main).
19611
dc96c6c7 196122000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
19613
19614 * gdb.base/finish.exp: New test for gdb's "finish" command.
19615 * gdb.base/return2.exp: New test for gdb's "return" command.
19616 * gdb.base/return2.c: New source file for above.
19617
dc96c6c7 196182000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
19619
19620 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
19621 * gdb.base/miscexprs.exp: Ditto.
19622 * gdb.base/pointers.exp: Ditto.
19623 * gdb.c++/derivation.exp: Ditto.
19624 * gdb.c++/local.exp: Ditto.
19625 * gdb.c++/namespace.exp: Ditto.
19626 * gdb.c++/overload.exp: Ditto.
19627 * gdb.c++/ref-types.exp: Ditto.
19628
dc96c6c7 196292000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
19630
19631 * gdb.base/constvars.exp: Test result of "up" command.
19632 * gdb.base/miscexprs.exp: Ditto.
19633 * gdb.base/pointers.exp: Ditto.
19634 * gdb.base/scope.exp: Ditto.
19635 * gdb.c++/derivation.exp: Ditto.
19636 * gdb.c++/local.exp: Ditto.
19637 * gdb.c++/namespace.exp: Ditto.
19638 * gdb.c++/overload.exp: Ditto.
19639 * gdb.c++/ref-types.exp: Ditto.
19640
44097287
FN
196412000-11-22 Michael Chastain <chastain@redhat.com>
19642
19643 * mips_pro.exp: Accept either "middle -> top -> main" or
19644 "middle -> main" in the backtrace, because gcc can optimize
19645 tail calls to jumps. Remove setup_xfail for the hppa case.
19646 Add a comment with the original warning messages from PR 3016,
19647 which was filed in 1993, to preserve them for posterity.
19648
9d2e1bab
ND
196492000-11-17 Nick Duffek <nsd@redhat.com>
19650
19651 * lib/gdb.exp (gdb_test): Override timeout with board info.
19652
1aca8eb7
ND
196532000-11-17 Nick Duffek <nsd@redhat.com>
19654
19655 * gdb.base/display.exp: Don't kill running stub. Add "again" to
19656 the second kill and detach messages.
19657
93076499
ND
196582000-11-17 Nick Duffek <nsd@redhat.com>
19659
19660 * configure.in: Add AC_EXEEXT.
19661 * configure: Regenerate.
19662 * Makefile.in (just-check): Export EXEEXT.
19663 * lib/gdb.exp ($EXEEXT): Import from environment.
19664 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
19665 expect "maint dump-me" on Cygwin.
19666 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
19667 $EXEEXT.
19668
30e87cd3
ND
196692000-11-17 Nick Duffek <nsd@redhat.com>
19670
19671 * gdb.base/break.exp: Test backtrace and finish from called
19672 function on all platforms, not just HP-UX.
19673
dc96c6c7 196742000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
19675
19676 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
19677 code from gdb_target_monitor, so it can be used independantly
19678 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 19679
dc96c6c7 196802000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
19681
19682 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
19683 * gdb.base/corefile.exp: Expect the message "Program is being
19684 debugged already" when we send the "corefile" command, since
19685 the preceeding gdb_load may have connected gdb to a remote target.
19686 * gdb.base/display.exp: Disable hardware watchpoints if new
19687 board info variable "no_hardware_watchpoints" is true.
19688 Replace single-letter commands with more readable ones.
19689 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
19690 if new board info variable "no_hardware_watchpoints" is true.
19691 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
19692 to see if stdio (printf) testing is possible.
19693 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
19694 board info variable "no_hardware_watchpoints" is true. Use new
19695 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
19696
39124dea
FN
196972000-11-13 Fernando Nasser <fnasser@redhat.com>
19698
19699 From Orjan Friberg <orjanf@axis.com>:
19700 * gdb.base/printcmds.exp: Escape curly braces followed by a number
19701 in array print pattern match.
19702
a9e2e984
FN
197032000-11-09 Fernando Nasser <fnasser@redhat.com>
19704
19705 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
19706 spelling "cancelled" to U.S. spelling "canceled" to match changes
19707 made to gdb.
19708 * gdb.c++/ovldbreak.exp: Ditto.
19709
c7db355b
PS
197102000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19711
19712 * gdb.base/callfuncs.c (main): Moved to end of file, call
19713 t_double_values to initialize the FPU before inferior calls are made.
19714 * gdb.base/callfuncs.exp: Test for register preservation after calling
19715 inferior functions. Add tests for continuining, finishing and
19716 returning from a stop in a call dummy.
19717
dc96c6c7 197182000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
19719
19720 * gdb.base/commands.exp: Break up long lines, and re-indent.
19721
dc96c6c7 197222000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
19723
19724 * config/gdbserver.exp: Rewritten from the ground up, to make it
19725 compatible with the current dejagnu tree, and to make it work with
19726 the new "gdbserver" in libremote.
19727
dc96c6c7 197282000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
19729
19730 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
19731 * gdb.base/varargs.exp: Skip entire test if no printf support.
19732 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
19733 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
19734
dc96c6c7 197352000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
19736
19737 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
19738 no floating point support.
19739 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
19740 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
19741 * gdb.base/call-rt-st.exp: Ditto.
19742 * gdb.base/call-strs.exp: Ditto.
19743
bac5fc66
JG
197442000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
19745
19746 * gdb.base/sizeof.c: include <stdio.h>.
19747
19748 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
19749 'finish', otherwise uncaptured gdb_prompt would potentially
19750 throw remaining test points out of sync.
bac5fc66 19751
b22a6027
SB
197522000-07-26 Scott Bambrough <scottb@netwinder.org>
19753
19754 * gdb.base/recurse.exp: Run tests for all targets.
19755 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
19756 gnu-oldld case on ARM.
19757 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
19758 for ARM targets.
d63a86f8 19759
d8231941
AG
19760Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
19761
19762 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
19763 * gdb.java/configure: Rebuild.
19764
8caabe69
AG
19765Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
19766
19767 * gdb.java/jv-exp.exp: New file.
19768
9d273ca3
AG
19769Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
19770
19771 * configure: Rebuilt.
19772 * configure.in (configdirs): Add gdb.java.
19773 * gdb.java/jmisc.java: New file.
19774 * gdb.java/jmisc.exp: New file.
19775 * gdb.java/Makefile.in: New file.
19776 * gdb.java/configure: Rebuilt.
19777 * gdb.java/configure.in: New file.
19778 * lib/java.exp: New file.
19779
4f823a66
AC
19780Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
19781
19782 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 19783 underflow.
4f823a66 19784
2391e11d
AC
19785Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
19786
19787 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 19788 and the compilers sizes.
2391e11d 19789
54602222
ND
197902000-07-09 Nick Duffek <nsd@redhat.com>
19791
19792 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
19793 (use_methods): New function.
19794 (main): Call use_methods().
19795 * gdb.c++/classes.exp (test_method_param_class): New procedure.
19796 (do_tests): Call test_method_param_class.
19797
2bec0572
ND
197982000-07-09 Nick Duffek <nsd@redhat.com>
19799
19800 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
19801 spelling.
19802 (test_enums): New procedure. Move enum tests from end of script
19803 to here. Set breakpoint on function name instead of line number.
19804 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
19805 (enums2): New marker function.
19806 (enums1): New function.
19807 (main): Call enums1(). Move enum tests to enums1().
19808
78492fde
AC
19809Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
19810
19811 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 19812 compile/link program. Update line numbers.
78492fde
AC
19813 * gdb.asm/d10v.inc: Define ``startup''.
19814 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 19815
49a2cef8
AC
19816Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
19817
19818 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
19819
3e6c8688
EZ
198202000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19821
19822 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 19823 of 'help maint print' command.
3e6c8688 19824
9ff5cbe9
AC
19825Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
19826
19827 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 19828 they use gdb_expect_list.
9ff5cbe9 19829
17c579bd
AC
19830Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
19831
19832 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
19833 memory-read-packet-size'' instead of ``set endian big'' to test
19834 long commands.
17c579bd 19835
e6d71bf3
DB
198362000-06-03 Daniel Berlin <dan@cgsoftware.com>
19837
19838 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 19839 g++, and stop skipping them.
e6d71bf3
DB
19840
19841 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
19842 work under g++.
19843
d63a86f8 19844 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
19845 initialization.
19846
dc96c6c7 198472000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
19848
19849 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
19850 the regular expression: accept an (almost) arbitrary sequence of
19851 "frames-invalid" and "breakpoints-invalid" messages both before
19852 and after the "starting" message.
19853
dc96c6c7 198542000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
19855
19856 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 19857
dc96c6c7 198582000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
19859
19860 * gdb.base/annota1.exp (annotate-signal-handler-caller):
19861 Relax the regular expression a little, make it pass on Solaris 8.
19862
8216cda9
KB
198632000-05-12 Kevin Buettner <kevinb@redhat.com>
19864
19865 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 19866 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
19867 Instead, it is permissible for gdb to stop on the line of the
19868 call itself.
19869
1a570b2f
MS
198702000-05-12 Michael Snyder <msnyder@.cygnus.com>
19871
19872 * gdb.base/break.exp (bp on small function, optimized file):
19873 Add a second pass pattern. The behavior differs here between stabs
19874 and dwarf for one-line functions. Stabs preserves two line symbols
19875 (one before the prologue and one after) with the same line number,
19876 but dwarf regards these as duplicates and discards one of them.
19877 Therefore the address after the prologue (where the breakpoint is)
19878 has no exactly matching line symbol, and GDB reports the breakpoint
19879 as if it were in the middle of a line rather than at the beginning.
19880
dc96c6c7 198812000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 19882
d63a86f8 19883 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
19884 rather than "send_gdb" (for consistancy).
19885
7d418785
AC
19886Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
19887
19888 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
19889 * gdb.c++/templates.cc: Properly check for GCC version number.
19890 * lib/compiler.cc: Likewise
19891
dc96c6c7 198922000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 19893
d63a86f8 19894 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
19895 gdb may not stop at the first line of main, due to code motion.
19896
dc96c6c7 198972000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
19898
19899 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
19900 This test depends on parsing the printf output from the target.
19901 Since the sparclet stub doesn't do stdio, this will never work.
19902 * gdb.base/call-rt-st.exp: ditto.
19903 * gdb.base/call-strs: ditto.
19904
dc96c6c7 199052000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
19906
19907 * gdb.base/miscexprs.exp: make sizeof long array test portable.
19908
19909 * gdb.base/ending-run.exp: After connecting to a remote target,
19910 but before running, the target will appear to be in a random
19911 location. Specify both a file and a line for breakpoints.
19912 Also, the function that calls main may be called 'init'
19913 rather than 'start'.
19914
a5a51225
EZ
199152000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19916
19917 * gdb.base/help.exp: Update output for add-symbol-file command.
19918
7930cc7c
FN
199192000-04-10 Fernando Nasser <fnasser@cygnus.com>
19920
19921 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19922 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
19923
23e37ab1
C
199242000-04-07 J.T. Conklin <jtc@redback.com>
19925
e93c542c
C
19926 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
19927
23e37ab1
C
19928 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
19929
591b8fa3
PDM
19930Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
19931
19932 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 19933 values that can be represented exactly.
591b8fa3
PDM
19934 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
19935 above change, and to not check against the directory part of the source
19936 file name.
19937 (step into print_long_arg_list): Likewise.
19938 (print print_small_structs from print_long_arg_list): Likewise.
19939 (print print_long_arg_list): Likewise.
19940
7a495180
EZ
199412000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19942
30b53638 19943 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 19944
beb998c6
AC
19945Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
19946
19947 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
19948
1c689132
DB
199492000-03-25 Daniel Berlin <dan@cgsoftware.com>
19950
19951 * gdb.base/commands.exp (deprecated_command_test): Add test for
19952 deprecate with no arguments.
19953
c1790a9d
JL
199542000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
19955
19956 * gdb.base/break.exp: Add new test for setting breakpoints on
19957 optimized code so we can test breakpoints work even when function
19958 prologues may be optimized away
19959
003ba290
FN
199602000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
19961
19962 From David Whedon <dwhedon@gordian.com>
a9c64011 19963 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 19964
6837a0a2
DB
199652000-03-22 Daniel Berlin <dan@cgsoftware.com>
19966
19967 * gdb.base/help.exp: Added test for new apropos command.
19968
b9593231
KB
199692000-03-21 Kevin Buettner <kevinb@redhat.com>
19970
19971 * gdb.base/pointers.c (usevar): New function.
19972 (main): Make sure that global variables v_int_pointer2, rptr,
19973 and y are all referenced someplace in the program by calling
19974 usevar() on them. [Some linkers delete symbols which are
19975 never referenced. The space remains, but there's no way to
19976 get a (symbolic) handle on the variable from the debugger.]
19977
751a959b
EZ
199782000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19979
19980 * gdb.base/printcmds.c: Add typedeffed arrays.
19981
19982 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 19983 procedure to test arrays that are typedef'd.
751a959b 19984
73a93a32
JI
199852000-03-13 James Ingham <jingham@leda.cygnus.com>
19986
19987 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 19988 the library directories.
73a93a32 19989
fb40c209
AC
19990Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
19991
19992 * configure.in (configdirs): Add sub directory gdb.mi.
19993 * configure: Re-generate.
19994
19995 * gdb.mi: New directory.
d63a86f8 19996
ee4dd2c9
AC
199972000-02-25 Scott Bambrough <scottb@netwinder.org>
19998
19999 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 20000 a long long value as a double on ARM platforms.
ee4dd2c9 20001
70f0cc22
JB
200022000-02-16 Jim Blandy <jimb@redhat.com>
20003
20004 * gdb.base/break.exp ("breakpoint line number"): Make sure the
20005 default source file is set properly before running this test.
20006
853819b8
EZ
200072000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20008
20009 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 20010 gdbtk/library directory, not in gdbtcl2.
853819b8 20011
dfcd3bfb
JM
200122000-02-04 Jim Blandy <jimb@redhat.com>
20013
20014 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
20015 backslash from regexp pattern.
20016
20017 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
20018 procedure. Use it to run all the "continue to bp overloaded"
20019 tests. Note that this changes the names of the tests slightly.
20020 If the breakpoint hit message includes a hex PC value, because
20021 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
20022 from the real source code, still consider that a pass.
20023
20024 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
20025 XFAIL here if the breakpoint message contains a hex address. Note
20026 similar change on 1999-11-02.
20027
20028 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
20029
20030 * gdb.base/ptype.exp: Establish a default source file before
20031 calling get_debug_format.
20032
200332000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
20034
20035 * gdb.base/watchpoint.exp: Remove duplication of test messages.
20036
8b93c638
JM
200372000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20038
20039 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
20040 of successive stepi commands -- while in the prologue we should see
20041 the function entry bracket.
20042
200432000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20044
20045 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
20046 reach __change_mode() when stepping through the end of main().
20047
c5394b80
JM
200482000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
20049
20050 * gdb.base/default.exp: Fix expected pattern.
20051 * gdb.base/help.exp: Same.
20052
0d06e24b
JM
200532000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20054
20055 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 20056 Don't use xfail's because that affects only the following test.
d63a86f8 20057
0d06e24b 20058 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 20059 solaris or linux.
0d06e24b
JM
20060
20061 * gdb.base/selftest.exp: Update to reflect changes to main.c.
20062
dc96c6c7 200632000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 20064
d63a86f8 20065 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
20066 "A syntax error" rather than "A parse error". Accept both.
20067
200682000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
20069
20070 * gdb.base/default.exp: Remove OS dependent string from "target
20071 remote" test.
20072 * gdb.base/help.exp: Same for "help target remote" test.
20073
c3f6f71d
JM
200742000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20075
20076 From Jim Kingdon <kingdon@redhat.com>:
20077
20078 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
20079 prompt (cleanup rather than necessity, but still might keep output
20080 from spilling to next test).
c3f6f71d
JM
20081
200822000-01-02 Fred Fish <fnf@cygnus.com>
20083
20084 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
20085 AIX, which defines them in <sys/types.h>.
20086
ed9a39eb 200871999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 20088
ed9a39eb 20089 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 20090 float" test.
ed9a39eb
JM
20091
200921999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 20093
ed9a39eb 20094 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
20095
20096 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
20097 outermost frame disallowed".
20098
200991999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
20100
20101 * gdb.base/setvar.exp: New tests for setting the value of a struct
20102 with a constant list.
20103
201041999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20105
20106 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
20107 require the user to type a cast before setting the value of a struct.
20108
de57eccd
JM
201091999-12-06 Jim Blandy <jimb@cygnus.com>
20110
20111 * gdb.base/default.exp: Expect the new 'info float' command on
20112 all i386 platforms.
20113
20114 * gdb.threads/linux-dp.exp: Expand our ability to recognize
20115 LinuxThreads libraries that don't support debugging.
20116
c2d11a7d
JM
20117Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20118
20119 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
20120 Change the buffer type to ``unsigned char'' to simplify size
20121 arithmetic.
c2d11a7d
JM
20122
20123 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
20124 stub only handles 400-1 byte packets. Verify that the download
20125 worked.
c2d11a7d
JM
20126
201271999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
20128
20129 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
20130 tests, using UNRESOLVED for the untested cases. Also, does not wait
20131 for a timeout if the prompt was received before a recognizable pattern.
20132
201331999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
20134
20135 * lib/gdb.exp (gdb_expect_list): Fix spelling.
20136
201371999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20138
20139 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 20140 watchpoints.
c2d11a7d
JM
20141
201421999-11-24 Jason Merrill <jason@casey.cygnus.com>
20143
20144 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
20145
20146 * gdb.c++/local.exp: Be more flexible in recognizing local class
20147 name mangling. Don't allow horribly truncated method names.
20148 * gdb.c++/derivation.exp: Expect protected inheritance.
20149 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
20150 * gdb.c++/virtfunc.exp: Likewise.
20151 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
20152 when printing a nested enum.
20153
201541999-11-22 Jim Blandy <jimb@cygnus.com>
20155
20156 * gdb.base/step-test.exp: Properly await GDB's response to setting
20157 a breakpoint on the call to large_struct_by_value.
20158
20159 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
20160 just because we have debug info for the `start' function.
20161
201621999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
20163
20164 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
20165 "Unknown signal" messages, which indicate (on LinuxThreads) that
20166 GDB doesn't know how to debug threads on this system. This is
20167 better than hanging while philosopher 0 dumps chatter into gdb.log.
20168
201691999-11-18 Tom Tromey <tromey@cygnus.com>
20170
20171 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
20172
201731999-11-18 Fred Fish <fnf@cygnus.com>
20174
20175 * gdb.base/coremaker2.c: Add sample program for generating
20176 cores that is more self contained than coremaker.c. Eventually
20177 I'll add more code to this and tie it into the testsuite.
20178
4ce44c66
JM
201791999-11-12 Stan Shebs <shebs@andros.cygnus.com>
20180
20181 * gdb.base/dollar.exp: Remove, now in gdb.hp.
20182
201831999-11-10 Jimmy Guo <guo@cup.hp.com>
20184
20185 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 20186 from $srcdir/lib/.
4ce44c66 20187 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 20188 and gdb.c++/.
4ce44c66
JM
20189
20190 * gdb.c++/derivation.exp: remove redundant get compiler info code.
20191
d63a86f8 20192 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
20193 'continue with watch' test point.
20194
201951999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
20196
20197 Merged from p2linux-990323-branch:
d63a86f8 20198
4ce44c66
JM
20199 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
20200
11cf8741
JM
20201Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
20202
20203 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 20204 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
20205
20206Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
20207
20208 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 20209 gdb_expect_list.
11cf8741
JM
20210
20211Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
20212
20213 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
20214
202151999-11-03 Mark Salter <msalter@cygnus.com>
20216
20217 * gdb.base/break.exp: Fix "stub continue" pattern.
20218
202191999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
20220
20221 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
20222
202231999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
20224
20225 * gdb.base/display.exp ("finish"): Add timeout clause.
20226
20227 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
20228 plain prompt clause, so this doesn't have to time out in order to
20229 fail.
20230
20231 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 20232 breakpoint hit messages include an address.
11cf8741
JM
20233
20234 * gdb.base/display.exp: Don't forget to escape parens in regular
20235 expressions. Unix regexp notatation sucks.
20236
202371999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20238
20239 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 20240 order for 'signalled' message.
11cf8741 20241
5c44784c
JM
202421999-11-01 Stan Shebs <shebs@andros.cygnus.com>
20243
20244 From Jimmy Guo <guo@cup.hp.com>:
20245 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
20246 * gdb.base/annota1.c: Add code for tests to work with.
20247
202481999-10-26 Frank Ch. Eigler <fche@cygnus.com>
20249
20250 * gdb.base/remote.exp: New test for remote downloading settings.
20251 * gdb.base/remote.c: New file with large .data.
20252
917317f4
JM
202531999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
20254
20255 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
20256 for LinuxThreads support, merged from the Code Fusion branch.
20257
20258Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
20259
20260 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
20261 containing exp_continue into a while within an expect. Don't
20262 attempt a start more than three times. Check return value from
20263 gdb_load.
d63a86f8 20264
2df3850c
JM
20265Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
20266
20267 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 20268 a pass case.
2df3850c 20269
2acceee2
JM
202701999-10-01 Kevin Buettner <kevinb@cygnus.com>
20271
20272 * gdb.base/break.c (main): Added a statement that we can step
20273 off of.
20274 * gdb.base/break.exp: Added tests for setting a breakpoint
20275 at an offset and stepping onto a breakpoint.
20276
202771999-10-01 Fred Fish <fnf@cygnus.com>
20278
d63a86f8 20279 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
20280 gdb output.
20281
c2c6d25f
JM
202821999-09-18 Jim Blandy <jimb@cris.red-bean.com>
20283
20284 * gdb.base/break.exp: Code locations are in hex, don't forget!
20285 (For HP-UX.)
20286
202871999-09-17 Stan Shebs <shebs@andros.cygnus.com>
20288
20289 * condbreak.exp: Use break.c as test program.
20290 * condbreak.c: Remove, redundant with break.c.
20291
202921999-09-15 Stan Shebs <shebs@andros.cygnus.com>
20293
20294 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 20295 Z-packets if the target needs it.
c2c6d25f
JM
20296
202971999-09-13 James Ingham <jingham@leda.cygnus.com>
20298
20299 * gdb.c++/overload.exp: Added tests for listing overloaded
20300 functions with function pointers in the arg, explicitly calling
20301 out the version you want.
20302
cff3e48b
JM
203031999-09-09 Stan Shebs <shebs@andros.cygnus.com>
20304
20305 * long_long.exp: Add variations of test cases that work for
20306 targets with 16-bit ints and 32-bit doubles.
20307
d4f3574e
SS
203081999-09-08 Stan Shebs <shebs@andros.cygnus.com>
20309
20310 * break.c (main): Compare a possibly-uninitialized argc with an
20311 unlikely value that fits in 16 bits.
20312
203131999-09-07 Stan Shebs <shebs@andros.cygnus.com>
20314
20315 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
20316 0xfeeb, don't want negative numbers if ints are 16 bits.
20317
20318 * lib/gdb.exp (skip_cplus_tests): New proc.
20319 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
20320 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
20321 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
20322 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
20323 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
20324 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
20325 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
20326 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
20327
20328 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
20329
20330Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
20331
20332 * gdb.base/corefile.exp (up): Allow a parameter to appear
20333 in the frame that we're going up to.
20334
20335 From Jim Blandy <jimb@cygnus.com>:
20336
20337 * gdb.base/default.exp (info float): Expect some output now.
20338
20339 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
20340 returning floating-point values to fail on the x86.
20341 * gdb.base/callfwmall.exp (do_function_calls): Same.
20342
20343 * gdb.base/list.exp (test_listsize): Correct expectations for
20344 listing line 1 with listsize 2. Also, listing a single line
20345 works now, as does listing three lines. [Kevin's note: There
20346 were a number of other cases fixed too where the expectations
20347 differed...]
20348
203491999-09-02 Stan Shebs <shebs@andros.cygnus.com>
20350
20351 * gdb.base/selftest.exp: Add case for when version prints as
20352 constant string instead of char pointer.
20353
104c1213
JM
203541999-08-25 Stan Shebs <shebs@andros.cygnus.com>
20355
20356 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 20357 stepping out of main.
104c1213
JM
20358
20359 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
20360 G++ used.
20361
20362 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 20363 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
20364
20365 * gdb.c++/ovldbreak.exp: Update match string in test that
20366 includes a warning of multiple breakpoints.
20367
203681999-08-24 Stan Shebs <shebs@andros.cygnus.com>
20369
20370 * gdb.base/display.exp: Improve precision of step-after-finish
20371 added yesterday.
20372
20373 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 20374 test.
104c1213
JM
20375
20376 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
20377 configs when using G++, not just hppa*.
20378
203791999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20380
20381 * gdb.base/async.c: New file.
20382 * gdb.base/async.exp: New file.
20383
20384Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
20385
20386 * gdb.base/break.exp: Tweak PA specific tests to properly handle
20387 PA64.
20388
53a5351d
JM
20389Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
20390
104c1213
JM
20391 * gdb.base/display.exp: "finish" can leave us mid-line on many
20392 targets, deal with it. Add a small constant to main, instead of
20393 1000 since main+1000 may not be a valid address in the target.
20394
53a5351d
JM
20395 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
20396 on hpux11.
20397
20398 * gdb.base/attach.exp: Handle another hpux11 error message variant
20399 when attaching to a process that does not exist.
20400
204011999-08-19 J.T. Conklin <jtc@redback.com>
20402
20403 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 20404 characters in 'continue to 1241' test.
53a5351d
JM
20405
204061999-08-17 Stan Shebs <shebs@andros.cygnus.com>
20407
20408 * gdb.base/call-ar-st.exp: Add a shorter match case for the
20409 stop in print_long_arg_list, define and use a whitespace
20410 variable in print_small_structs test, add an XFAIL for Solaris.
20411 * gdb.base/dbx.exp: XFAIL func commands until somebody is
20412 interested enough to fix.
20413
7be570e7
JM
204141999-08-13 Keith Seitz <keiths@cygnus.com>
20415
20416 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
20417 (dbx_gdb_load): Remove. Use gdb_load instead, since that
20418 proc knows about targets other than the natives.
20419 (test_assign): Use "gdb_run_cmd" to "run" the target.
20420 Check that we've actually hit the breakpoint at main.
20421 When we attempt to assign a value to a local variable, check
20422 that the variable is in the current scope, i.e., don't use
20423 a test with an empty result.
20424
20425Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
20426
20427 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 20428 command.
7be570e7
JM
20429
204301999-08-09 Stan Shebs <shebs@andros.cygnus.com>
20431
20432 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20433 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
20434 gdb.compat, gdb.threads-hp.
20435 gdb.hp/configure, gdb.hp/configure.in: New files.
20436 gdb.hp/Makefile.in: Recurse into new subdirs.
20437 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
20438 gdb.hp/gdb.objdbg: New directory, tests for debugging info
20439 in object files.
20440 gdb.hp/tools: New directory, aux tools for HP-specific tests.
20441
96baa820
JM
204421999-08-05 Stan Shebs <shebs@andros.cygnus.com>
20443
20444 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 20445 funky printf, remove a bogus p/a test.
96baa820
JM
20446
204471999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20448
20449 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
20450 connected to the target. This is necessary when running not
20451 natively.
96baa820
JM
20452
204531999-08-03 Stan Shebs <shebs@andros.cygnus.com>
20454
20455 * gdb.base/step-test.exp: Removed some extraneous messages.
20456
20457 * gdb.base/long_long.exp: Don't run memory examination tests
20458 on little-endian targets (they will need a different set of
20459 results to match).
20460
204611999-08-02 Stan Shebs <shebs@andros.cygnus.com>
20462
20463 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
20464 until somebody decides to fix GDB.
20465
20466 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 20467 constant as "ULL".
96baa820
JM
20468 * gdb.base/long_long.exp: Loosen x/c test, add partial result
20469 matches for a couple x/2 commands.
20470
a0b3c4fd
JM
204711999-07-30 Stan Shebs <shebs@andros.cygnus.com>
20472
20473 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
20474 by merging in ref-types2 tests.
20475 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
20476
20477 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20478 * gdb.c++/Makefile.in: Add standard actions.
20479 (EXECUTABLES): Rename from PROGS, update list.
20480 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
20481 from gdb.hp.
20482 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
20483 foo and bar locals.
20484 * gdb.c++/anon-union.exp: Fix tests to match.
20485 * gdb.c++/classes.exp: Run if HP compiler used, add extra
20486 expect matches to handle output variations.
20487 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
20488 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 20489 output, add HP alternatives for new and delete prints.
a0b3c4fd 20490 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 20491 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
20492 * gdb.c++/demangle.exp: Use $style when reporting failure.
20493 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
20494 * gdb.c++/inherit.exp: Run if HP compiler used, add some
20495 match alternatives.
20496 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 20497 compilers.
a0b3c4fd
JM
20498 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
20499 * gdb.c++/method.exp: Add match alternatives.
20500 * gdb.c++/misc.cc: Add bool types.
20501 * gdb.c++/misc.exp: Add tests for bool types.
20502 * gdb.c++/overload.exp: Add xfails.
20503 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
20504 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
20505 add some more template parameter tests (only for HP currently).
20506 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
20507 * gdb.c++/virtfunc.cc: Add return type and value for main.
20508 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
20509 match alternatives.
d63a86f8 20510
a0b3c4fd
JM
205111999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20512
20513 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
20514
205151999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
20516
20517 * gdb.base/signals.exp: Don't expect getting a backtrace from
20518 within a signal handler to fail on Linux.
20519
205201999-07-29 Stan Shebs <shebs@andros.cygnus.com>
20521
20522 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20523 * lib/gdb.exp: Remove some gratuitious semicolons.
20524 (delete_breakpoints): Increase timeout.
20525 (gdb_expect): Add -notransfer option.
20526 (gdb_test): Use -notransfer option.
20527 (get_compiler_info): Add f77 case.
20528 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 20529 case.
a0b3c4fd
JM
20530 (gdb_preprocess): Call get_compiler.
20531
20532 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
20533 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
20534 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
20535 gdb.base/long_long.exp, gdb.base/printcmds.exp,
20536 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
20537 third arg to gdb_test.
a0b3c4fd
JM
20538 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
20539 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 20540 HP-UX xfails, add others.
a0b3c4fd
JM
20541 * gdb.base/completion.exp: Reflect name change of self-test.
20542 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
20543 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
20544 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
20545 HP failure number.
a0b3c4fd
JM
20546 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
20547 useless HP-UX 10.30 references.
20548 * gdb.base/maint.exp: Loosen matches.
20549 * gdb.base/pointers.c (main): Declare more_code.
20550 * gdb.base/pointers.exp: Match on output of a `next'.
20551 * gdb.base/structs.c: Add prototypes.
20552 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
20553 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
20554
205551999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20556
20557 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 20558 command.
a0b3c4fd
JM
20559
205601999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20561
20562 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
20563 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
20564
20565 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
20566 debug info. Deal with lack of signal hanlder info in stack.
20567
a9c64011 20568 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
20569 * gdb.base/annota1.exp: If printf has debug info, deal with it.
20570
5a2468f5
JM
205711999-07-19 Stan Shebs <shebs@andros.cygnus.com>
20572
20573 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 20574 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 20575
adf40b2e
JM
20576Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20577
20578 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 20579 a1-selftest.exp.
adf40b2e
JM
20580 * gdb.base/configure: Re-generate.
20581
205821999-07-12 Stan Shebs <shebs@andros.cygnus.com>
20583
20584 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
20585 in trying to run first and name is too long.
20586
20587 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
20588 pointers2.c and pointers2.exp, respectively.
20589 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
20590 doschk happier.
20591
43e526b9
JM
205921999-07-08 Stan Shebs <shebs@andros.cygnus.com>
20593
20594 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
20595 callfuncs2.c and callfuncs2.exp.
20596
20597 * gdb.base/list.exp: Remove mistaken xfails.
20598 * gdb.base/list0.h: Add optional prototypes.
20599
9846de1b
JM
20600Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
20601
a9c64011 20602 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 20603 calling malloc.
a9c64011
AS
20604 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
20605 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 20606 use.
9846de1b
JM
20607
206081999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20609
20610 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
20611 * gdb.base/annota2.cc, annota2.exp: Move from here.
20612 * gdb.c++/annota2.cc, annota2.exp: To here.
20613 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
20614
43ff13b4
JM
20615Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
20616
20617 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 20618 a consistent format.
43ff13b4 20619
085dd6e6
JM
206201999-06-25 Stan Shebs <shebs@andros.cygnus.com>
20621
20622 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20623 * lib/gdb.exp (get_compiler_info): Add detection for assorted
20624 HP compilers, also set the globals $true and $false.
20625
20626 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
20627 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
20628 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
20629 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
20630 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
20631 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
20632 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
20633 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
20634 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
20635 whatis.c} Add C++ compatible function definitions and return
20636 types, add includes for library functions.
085dd6e6
JM
20637 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
20638 * gdb.base/step-test.c (myglob): Rename from glob.
20639 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
20640 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
20641 files, move here from gdb.hp.
085dd6e6 20642 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
20643 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
20644 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
20645 Adjust line numbers in regexps.
085dd6e6
JM
20646
20647 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
20648 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
20649 instead of 0/1.
20650
20651 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
20652 foll-vfork.exp: New files, move here from gdb.hp.
20653 * gdb.base/page.exp: New file, test of pagination command.
20654
20655 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
20656 recursion test.
20657 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
20658
20659 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 20660 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
20661
20662 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 20663 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 20664 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 20665 watchpoint test.
085dd6e6
JM
20666 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
20667 them work.
20668 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
20669 expressions properly.
20670 * gdb.base/corefile.exp: Loosen the match slightly.
20671 * gdb.base/default.exp: Allow "Error accessing memory" message
20672 also.
20673 * gdb.base/display.exp: Skip over x/0 j if PA64.
20674 * gdb.base/funcargs.exp: Add xfails for HP-UX.
20675 * gdb.base/interrupt.exp: Ditto.
20676 * gdb.base/langs.exp: Add symbolic matches governed by compiler
20677 in use.
20678 * gdb.base/list.exp: Add xfails for HP-UX.
20679 * gdb.base/long_long.exp: Refine some of the numeric matches.
20680 * gdb.base/mips_pro.exp: Xfail on HP-UX.
20681 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
20682 * gdb.base/nodebug.exp: Succeed on more varieties of output.
20683 * gdb.base/opaque.exp: Remove some HP-UX xfails.
20684 * gdb.base/ptype.exp: Succeed on more varieties of output.
20685 * gdb.base/scope.exp: Add xfails for HP-UX.
20686 * gdb.base/sect-cmd.exp: Add more cases.
20687 * gdb.base/setvar.exp: Add xfails for HP-UX.
20688 * gdb.base/shlib-call.exp: Loosen some matches slightly.
20689 * gdb.base/signals.exp: Match on void symbolically.
20690 * gdb.base/step-test.exp: Add case for PA64.
20691 * gdb.base/term.exp: Add exit and restart.
20692 * gdb.base/twice.exp: Clean up after self.
20693 * gdb.base/varargs.exp: Disable overload resolution explicitly.
20694 * gdb.base/whatis.exp: Allow more ways to pass tests.
20695
20696 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 20697 no longer useful.
085dd6e6
JM
20698
20699Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
20700
20701 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 20702 list of patterns.
085dd6e6 20703 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
20704 print_double_array(double_array)", "continuing to breakpoint
20705 1018", "print print_double_array(array_d)" and "continuing to
20706 1034" tests.
d63a86f8 20707
085dd6e6
JM
207081999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
20709
a9c64011 20710 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
20711
207121999-06-24 Stan Shebs <shebs@andros.cygnus.com>
20713
20714 * config/mt-*: Remove, these haven't been used since 1996.
20715
207161999-06-22 Stan Shebs <shebs@andros.cygnus.com>
20717
20718 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 20719 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
20720 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
20721
9e0b60a8
JM
207221999-06-18 Stan Shebs <shebs@andros.cygnus.com>
20723
20724 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
20725 simpler match case for the ptype of the big class.
20726
207271999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20728
20729 * gdb.exp: Fix test for gdb_prompt existence.
20730
207311999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20732
20733 * gdb.exp (gdb_test): Add fail after calls to perror.
20734
207351999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20736
20737 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
20738
207391999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20740
20741 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
20742
0f71a2f6
JM
20743Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
20744
20745 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 20746 malloc() is linked in.
0f71a2f6
JM
20747
207481999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20749
20750 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
20751 step at end.
20752
20753 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
20754
207551999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
20756
20757 * gdb.java/jv-print.exp: New file. (Our first Java test!)
20758
cce74817
JM
20759Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
20760
20761 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
20762 * gdb.base/mips_pro.exp: Likewise.
20763
207641999-06-02 Keith Seitz <keiths@cygnus.com>
20765
20766 * gdb.c++/templates.cc: Change all "new" operators to throw
20767 an exception.
20768 * gdb.c++/cplusfuncs.cc: Likewise.
20769
20770 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
20771
20772Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
20773
20774 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
20775 * gdb.base/ending-run.exp: When stepping out of main, accept a
20776 step into an arbitrary assembler file.
cce74817 20777
392a587b
JM
207781999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20779
d63a86f8 20780 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 20781 "breakpoint-invalid" to be printed.
d63a86f8 20782 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
20783 number of "frames-invalid" and "breakpoint-invalid" to be printed.
20784 * gdb.base/annota2.cc: Initialize a.x to 0.
20785
9e086581
JM
207861999-05-17 Keith Seitz <keiths@cygnus.com>
20787
20788 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
20789 when "skip_float_tests" set.
20790 Ditto for "print print_double_array(array_d)", "print print_small_structs",
20791 "print print_ten_doubles", and "step into print_long_arg_list".
20792 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
20793 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
20794 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
20795 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
20796 "skip_float_tests" is set.
20797 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
20798 when "skip_float_tests" set.
d63a86f8 20799
cd0fc7c3
SS
208001999-05-06 Keith Seitz <keiths@cygnus.com>
20801
20802 * gdb.base/annota2.cc: Include stdio.h.
20803
20804Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
20805
20806 * gdb.base/crossload.exp: Remove, this has been disabled ever
20807 since BFD stopped including all targets, and cross-GDB gets
20808 plenty of testing anyway.
20809 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
20810 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
20811 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
20812 * gdb.base/README: Remove, was doc for this.
20813 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 20814 needed.
cd0fc7c3 20815
b83266a0
SS
208161999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20817
20818 * gdb.base/call-ar-st.exp: Fix one regular expression in test
20819 output.
20820
20821 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
20822 * gdb.base/annota2.exp: New file. More annotation tests.
20823 * gdb.base/annota1.c: New file. Source file for annota1.exp.
20824 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
20825
208261999-04-23 Angela Marie Thomas <angela@cygnus.com>
20827
20828 * config/cfdbug.exp: New file.
20829
7a292a7a
SS
208301999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
20831
20832 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
20833 Marcus Daniel's and Dale Hawkins's demangler crashes.
20834
20835 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
20836 test_lucid_style_demangling, test_arm_style_demangling,
20837 test_hp_style_demangling): Try Tom Tromey's core-dumping
20838 identifier under each demangling style.
7a292a7a
SS
20839
208401999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
20841
20842 * gdb.c++/demangle.exp: Include the current demangling style
20843 in all test names.
20844 (current_demangling_style): New global variable.
20845 (set_demangling_style, test_demangling_core, test_demangling,
20846 test_demangling_exact): New functions.
20847 (test_gnu_style_demangling, test_lucid_style_demangling,
20848 test_arm_style_demangling, test_hp_style_demangling): Use those,
20849 instead of calling gdb_test and gdb_test_exact directly.
20850 (catch_demangling_errors): New function, which reports errors
20851 signalled by the demangling test functions in an orderly way.
20852 (do_tests): Use catch_demangling_errors.
20853
208541999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
20855
20856 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 20857 grouping in expressions, not {}.
7a292a7a
SS
20858
20859 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 20860 initialized yet.
7a292a7a
SS
20861
208621999-04-01 Stan Shebs <shebs@andros.cygnus.com>
20863
20864 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
20865 are listed.
20866
208671999-03-26 Stan Shebs <shebs@andros.cygnus.com>
20868
20869 * gdb.stabs/weird.exp: Test for CC being defined before
20870 looking at its value.
20871
208721999-03-25 Stan Shebs <shebs@andros.cygnus.com>
20873
20874 * gdb.base/call-ar-st.exp: Remove stray '#'.
20875 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
20876 "short int" and "long int".
20877 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 20878 change, to mollify finicky HP compiler.
7a292a7a
SS
20879 * gdb.hp/reg-test.exp (testfile): Fix file name.
20880 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 20881
7a292a7a
SS
20882 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
20883 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
20884 alternate form of enum ptype.
20885
c906108c
SS
208861999-03-23 Stan Shebs <shebs@andros.cygnus.com>
20887
7a292a7a
SS
20888 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
20889 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
20890 passing skip_hp_tests, so as not to waste time on guaranteed
20891 failure.
7a292a7a 20892
c906108c
SS
20893 * gdb.c++/overload.cc: Pass string instead of char addr, always
20894 init ccpfoo.
20895 * gdb.c++/templates.cc: Fix syntax error.
20896
7a292a7a
SS
20897Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20898
20899 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 20900 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
20901 command.
20902
209031999-03-18 James Ingham <jingham@cygnus.com>
20904
20905 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
20906
20907 * gdb.c++/method.exp: It was testing an uninitialized int on the
20908 stack and assuming it was positive.
20909
20910 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
20911
20912 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 20913 keep it from killing the rest of the tests.
7a292a7a
SS
20914 Use gdb_continue_to_end.
20915
20916 * gdb.base/sigall.exp: use gdb_continue_to_end.
20917
20918 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
20919
20920 * gdb.base/display.exp: use runto_main, not run.
20921
d63a86f8
RM
20922 * gdb.base/default.exp: Check for the current error message in the
20923 r abbreviation test.
7a292a7a
SS
20924 Add strongarm to the targets that know info float.
20925
d63a86f8 20926 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
20927 run which doesn't work with monitors.
20928
20929 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
20930
20931 * gdb.base/break.exp: use the gdb_continue_to_end proc.
20932
20933 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
20934 program. Traps the case (in Cygmon) when the program never really
20935 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
20936 more places, so I used my name. Sorry Mark...
20937
20938 * config/monitor.exp (gdb_target_monitor): added another
20939 target_info parameter: remotebinarydownload. This will set the
20940 remotebinarydownload flag if this is causing some boards trouble.
20941
209421999-03-18 Mark Salter <msalter@cygnus.com>
20943
20944 * lib/gdb.exp (continue_to_exit): New function.
20945
20946 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
20947 * gdb.base/ending-run.exp: Ditto.
20948 * gdb.base/step-test.exp: Ditto.
20949
209501999-03-16 Stan Shebs <shebs@andros.cygnus.com>
20951
20952 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
20953 (suggested by Art Haas <ahaas@neosoft.com>).
20954
209551999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
20956
889bf7c5 20957 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
20958
20959Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
20960
20961 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 20962 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
20963
209641999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
20965
20966 * gdb.base/call-strs.exp: Don't assume that `step' will step over
20967 a call to strlen; sometimes we do have sources.
20968
209691999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
20970
20971 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 20972 character, so GDB won't print garbage after its end.
d63a86f8 20973
c906108c
SS
20974 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
20975 breakpoint there instead. Sometimes GCC emits memcpy to handle
20976 the large structures being passed by value, so we step into that
20977 instead of sum_array_print, which obscures what we're really testing.
20978 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
20979 the bizarre steps into memcpy, so do that here. Add check for
20980 stepping into function calls that pass large structures by value.
20981 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
20982 Remove all references to specific line numbers.
20983 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
20984 New type and function.
20985 (main): Call large_struct_by_value, passing it a large struct by value.
20986 * lib/gdb.exp (gdb_get_line_number): New function.
20987
20988 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
20989 more portable.
20990
7a292a7a
SS
209911999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
20992
c906108c
SS
20993 * lib/gdb.exp: Doc fixes.
20994
7a292a7a
SS
209951999-03-05 Nick Clifton <nickc@cygnus.com>
20996
d63a86f8 20997 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
20998
209991999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
21000
c906108c 21001 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
21002 commands. They're not germane to this test, and they don't work
21003 that way on remote targets.
c906108c 21004
3fc11d3e
JM
210051999-03-01 James Ingham <jingham@cygnus.com>
21006
21007 * Changelog entries merged over from gdb development branch.
21008
3fc11d3e
JM
21009 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
21010
21011 * lib/gdb.exp (gdbtk_analyze_results): Generic function
21012 for outputting results of test run.
21013
2d4a1622 21014 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
21015
21016 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 21017
7a292a7a
SS
210181999-02-25 Felix Lee <flee@cygnus.com>
21019
21020 * lib/gdb.exp (debug_format): initialize
21021
c906108c
SS
210221999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
21023
21024 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
21025 * gdb.base/call-rt-st.c: Ditto.
21026
c906108c
SS
210271999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
21028
21029 * gdb.threads/pthreads.exp (horiz): New variable.
21030 (test_startup): Fix regexps that capture thread numbers.
21031
210321999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
21033
21034 * gdb.base/smoke.exp: Disambiguate two test case names (both
21035 called ``print'').
21036
21037Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21038
21039 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 21040 compilation.
c906108c
SS
21041
210421999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21043
21044 * gdb.base/miscexprs.exp: Change patterns to match GDB's
21045 actual output formatting.
21046 * gdb.base/smoke.exp: GDB removes leading 0's.
21047 * gdb.base/volatile.exp: Don't check type of remuneration;
21048 that variable is no longer defined in constvars.c.
21049 * gdb.base/step-test.c (main): Exit with explicit exit code.
21050 * gdb.base/step-test.exp: Remove two nexti checks--they are
21051 not portable.
21052
210531999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21054
21055 * gdb.base/help.exp ("help delete display"): Fix test to match
21056 gdb's output.
21057
21058 * gdb.base/long_long.c (known_types): Initialize values to zero.
21059 * gdb.base/long_long.exp: Step one more line
21060 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
21061 leading zeros. Explicitly ask for hex formatting. Use
21062 unique test case names.
c906108c
SS
21063
21064Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21065
d63a86f8 21066 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
21067
21068 * gdb.c++/method.exp: Add missing close brace.
21069
210701999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
21071
21072 * gdb.base/maint.exp: Use 'set height 0' to disable page
21073 prompting, not 'set height 400'.
21074
21075 Fix a bunch of timeouts.
21076 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
21077 four separate tests, so expect doesn't take forever to match a ton
21078 of text against a regexp with lots of .* forms.
21079 ("maint print psymbols", "maint print symbols"): Make some of
21080 these greps more selective, so that expect doesn't try to wade
21081 through huge piles of output and time out.
21082
21083 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
21084
21085 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
21086 tests: one which doesn't expect shlib events to be reported, and
21087 another which does, but is XFAIL for all platforms other than
21088 HP/UX.
c906108c
SS
21089
21090 * gdb.base/break.exp: Teach the test suite that the `catch
21091 fork', `catch vfork', and `catch exec' commands produce error
21092 messages on platforms that don't provide these features.
21093
21094Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21095
21096 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
21097 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
21098 (shortening names from solib_threshold.exp etc), won't run on
21099 anything but HP-UX for the foreseeable future.
c906108c 21100 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 21101 reflect move.
c906108c
SS
21102
21103Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
21104
21105 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 21106 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
21107
21108Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
21109
21110 * gdb.base/shlib-call.exp: add test cases to verify that gdb
21111 successfully re-sets breakpoints in shared libraries.
21112 * gdb.base/shmain.c (main): return 0, don't fall off the end.
21113
21114Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21115
d63a86f8
RM
21116 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
21117 and compiled w/o GCC.
c906108c
SS
21118
21119 * gdb.hp/watch-cmd.exp: ditto.
21120
21121 * gdb.hp/watch-hp.exp: ditto.
21122
21123 * gdb.hp/xdb1.exp: ditto.
21124
21125 * gdb.hp/xdb2.exp: ditto.
21126
21127 * gdb.hp/dbx.exp: ditto.
21128
21129Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
21130
21131 * constvars.c: Remove C++-isms.
21132 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 21133 with GCC.
c906108c
SS
21134
21135Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
21136
21137 The following changes are part of the HP merge.
21138
21139 * gdb.base/break.exp: new tests to verify that catchpoints for
21140 fork, vfork, and exec don't trigger inappropriately.
21141
21142 * gdb.base/opaque.exp: compile one file at a time, then link.
21143
21144 * gdb.base/signals.exp: be more restrictive about which hppa
21145 systems receive a setup_xfail. new tests.
21146
21147 * gdb.base/solib_threshold.build: new file.
21148 * gdb.base/solib_threshold.exp: new file.
21149 * gdb.base/solib_threshold.link_opts: new file.
21150 * gdb.base/solib_threshold.mk: new file.
21151 * gdb.base/gen_solib_threshold.c: new file.
21152
21153 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
21154 tests. New tests for enums inside classes.
21155
21156 * gdb.c++/compiler.cc: indicate support of template debugging.
21157
21158 * gdb.c++/demangle.exp: run hp style demangling tests.
21159
21160 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
21161 tests.
21162
21163 * gdb.c++/misc.cc: changes to support new tests.
21164
21165 * gdb.c++/templates.cc: changes to support HP's compiler; changes
21166 to support new tests.
21167
21168 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
21169 gcc, then skip these tests.
21170
21171Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
21172
21173 The following files are part of the HP merge; some had longer
21174 names at HP, but have been renamed to be no more than 14
21175 characters in length.
21176
21177 * gdb.hp/ambiguous.cc: new file.
21178 * gdb.hp/ambiguous.exp: new file.
21179 * gdb.hp/attach.exp: new file.
21180 * gdb.hp/attach2.exp: new file.
21181 * gdb.hp/classes-hp.exp: new file.
21182 * gdb.hp/ctti.exp: new file.
21183 * gdb.hp/ctti-add.cc: new file.
21184 * gdb.hp/ctti-add1.cc: new file.
21185 * gdb.hp/ctti-add2.cc: new file.
21186 * gdb.hp/ctti-add3.cc: new file.
21187 * gdb.hp/dbx.exp: new file.
21188 * gdb.hp/exception.cc: new file.
21189 * gdb.hp/exception.exp: new file.
21190 * gdb.hp/foll-exec.c: new file.
21191 * gdb.hp/foll-exec.exp: new file.
21192 * gdb.hp/foll-fork.c: new file.
21193 * gdb.hp/foll-fork.exp: new file.
21194 * gdb.hp/foll-vfork.c: new file.
21195 * gdb.hp/foll-vfork.exp: new file.
21196 * gdb.hp/inherit-hp.exp: new file.
21197 * gdb.hp/more-steps.exp: new file.
21198 * gdb.hp/namespace.cc: new file.
21199 * gdb.hp/namespace.exp: new file.
21200 * gdb.hp/optimize.exp: new file.
21201 * gdb.hp/pxdb.c: new file.
21202 * gdb.hp/pxdb.exp: new file.
21203 * gdb.hp/quicksort.exp: new file.
21204 * gdb.hp/reg-test.exp: new file.
21205 * gdb.hp/reg-test.s: new file.
21206 * gdb.hp/sized-enum.c: new file.
21207 * gdb.hp/sized-enum.exp: new file.
21208 * gdb.hp/start-stop.exp: new file.
21209 * gdb.hp/templ-hp.cc: new file.
21210 * gdb.hp/templ-hp.exp: new file.
21211 * gdb.hp/thr-lib.c: new file.
21212 * gdb.hp/thr-lib.exp: new file.
21213 * gdb.hp/thr-lib.h: new file.
21214 * gdb.hp/thr-liblib.c: new file.
21215 * gdb.hp/virtfun-hp.c: new file.
21216 * gdb.hp/virtfun-hp.exp: new file.
21217 * gdb.hp/watch-cmd.exp: new file.
21218 * gdb.hp/watch-hp.exp: new file.
21219 * gdb.hp/xdb1.exp: new file.
21220 * gdb.hp/xdb2.exp: new file.
21221 * gdb.hp/xdb3.exp: new file.
21222
21223Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
21224
21225 The following files are part of the HP merge; some had longer
21226 names at HP, but have been renamed to be no more than 14
21227 characters in length.
21228
21229 * gdb.base/ss.h: new file.
21230 * gdb.base/call-ar-st.c: new file.
21231 * gdb.base/call-ar-st.exp: new file.
21232 * gdb.base/call-rt-st.c: new file.
21233 * gdb.base/call-rt-st-exp: new file.
21234 * gdb.base/call-strs.exp: new file.
21235 * gdb.base/ena-dis-br.exp: new file.
21236 * gdb.base/environ.exp: new file.
21237 * gdb.base/long_long.exp: new file.
21238 * gdb.base/sect-cmd.exp: new file.
21239 * gdb.base/shlib-cl2.exp: new file.
21240 * gdb.base/smoke.exp: new file.
21241 * gdb.base/so-impl-ld.c: new file.
21242 * gdb.base/so-impl-ld.exp: new file.
21243 * gdb.base/so-indr-cl.c: new file.
21244 * gdb.base/so-indr-cl.exp: new file.
21245 * gdb.base/varargs.exp: new file.
21246 * gdb.base/volatile.exp: new file.
21247 * gdb.base/whatis-exp.exp: new file.
7a292a7a 21248 * gdb.base/display.exp: new file.
c906108c
SS
21249 * gdb.c++/derivation.exp: new file.
21250 * gdb.c++/local.exp: new file.
21251 * gdb.c++/member-ptr.exp: new file.
21252 * gdb.c++/overload.exp: new file.
21253 * gdb.c++/ovldbreak.exp: new file.
21254 * gdb.c++/ref-types.exp: new file.
21255 * gdb.c++/ref-types2.exp: new file.
21256 * gdb.c++/userdef.exp: new file.
d63a86f8 21257
c906108c
SS
21258Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
21259
21260 * gdb.base/default.exp: Reflect wording change in remote.c.
21261
dc96c6c7 21262Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21263
21264 * gdb.base/help.exp: Update to reflect current text.
21265
21266Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
21267
21268 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
21269 they're stack variables and contain garbage.
21270 * gdb.c++/anon-union.exp: new file.
21271
21272 The following changes were made by David Taylor
889bf7c5
PA
21273 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21274 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21275 in changes by HP.
c906108c
SS
21276
21277 * gdb.base/bitops.exp: new file.
21278 * gdb.base/default.exp: change expected messages for catch and
21279 info catch tests to reflect HP merge changes.
21280 * gdb.base/enable-disable-break.exp
21281 * gdb.base/ending-run.c: new file.
21282 * gdb.base/long_long.c: new file.
21283 * gdb.base/maint.exp: new file.
21284 * gdb.base/pointers2.exp: new file.
21285 * gdb.base/shlib-call2.exp: new file.
21286 * gdb.base/solib.exp: new file.
21287 * gdb.base/step-test.c: new file.
21288 * gdb.c++/anon-union.cc: new file.
21289 * gdb.c++/local.cc: new file.
21290 * gdb.c++/member-pointer.cc: new file.
21291 * gdb.c++/method.cc: new file.
21292 * gdb.c++/ref-types.cc: new file.
21293 * gdb.c++/ref-types2.cc: new file.
21294 * gdb.c++/userdef.cc: new file.
d63a86f8 21295
c906108c
SS
21296 * gdb.base/scope.exp: compile one file at a time, then link.
21297 * gdb.base/langs.exp: ditto.
21298 * gdb.base/list.exp: ditto.
d63a86f8 21299
c906108c
SS
21300Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
21301
21302 The following changes were made by David Taylor
889bf7c5
PA
21303 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21304 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21305 in changes by HP.
d63a86f8 21306
c906108c
SS
21307 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
21308 skip tests. When compiling pass c++ flag to gdb_compile.
21309 * gdb.c++/
d63a86f8 21310
c906108c
SS
21311 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
21312 test for on hppa*-*-hpux*; use args to see if c++ was specified.
21313 (skip_hp_tests): new function.
21314 (gdb_preprocess): new function.
21315
21316 * configure.in (hpdir): decide whether to configure gdb.hp.
21317 * configure: regenerated.
21318
21319 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
21320 to delete on clean.
21321 (EXECUTABLES): update to reflect new additions.
21322 * gdb.base/commands.exp: update message expected.
21323 * gdb.base/default.exp: add copyright notice.
21324 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
21325 * gdb.base/help.exp: update messages to reflect current text.
21326 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
21327 targets for recurse tests.
21328 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
21329 skip this file.
21330
21331 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
21332 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
21333 compilation.
21334 * gdb.c++/misc.exp: ditto.
21335 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
21336 run the tests. tell gdb_compile that it's a c++ compilation.
21337
21338 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 21339
c906108c
SS
21340 * gdb.base/all-bin.exp: new file.
21341 * gdb.base/arithmet.exp: new file.
21342 * gdb.base/assign.exp: new file.
21343 * gdb.base/completion.exp: new file.
21344 * gdb.base/cond-expr.exp: new file.
21345 * gdb.base/condbreak.exp: new file.
21346 * gdb.base/define.exp: new file.
21347 * gdb.base/dollar.exp: new file.
21348 * gdb.base/environment.exp: new file.
21349 * gdb.base/eval-skip.exp: new file.
21350 * gdb.base/jump.exp: new file.
21351 * gdb.base/logical.exp: new file.
21352 * gdb.base/pointers.exp: new file.
21353 * gdb.base/relational.exp: new file.
21354 * gdb.base/section_command.exp: new file.
21355 * gdb.base/whatis-expr.exp: new file.
21356
21357 * gdb.base/all-types.c: new file.
21358 * gdb.base/call-array-struct.c: new file.
21359 * gdb.base/call-return-struct.c: new file.
21360 * gdb.base/call-strings.c: new file.
21361 * gdb.base/callfuncs2.c: new file.
21362 * gdb.base/condbreak.c: new file.
21363 * gdb.base/constvars.c: new file.
21364 * gdb.base/display.c: new file.
21365 * gdb.base/int-type.c: new file.
21366 * gdb.base/jump.c: new file.
21367 * gdb.base/miscexprs.c: new file.
21368 * gdb.base/pointers.c: new file.
21369 * gdb.base/pointers2.c: new file.
21370 * gdb.base/shmain.c: new file.
21371 * gdb.base/shr1.c: new file.
21372 * gdb.base/shr2.c: new file.
21373 * gdb.base/solib.c: new file.
21374 * gdb.base/solib1.c: new file.
21375 * gdb.base/solib2.c: new file.
21376 * gdb.base/varargs.c: new file.
21377 * gdb.c++/derivation.cc: new file.
21378 * gdb.c++/overload.cc: new file.
21379 * gdb.c++/ovldbreak.cc: new file.
21380 * gdb.hp/attach.c: new file.
21381 * gdb.hp/attach2.c: new file.
21382 * gdb.hp/average.c: new file.
21383 * gdb.hp/compiler.c: new file.
21384 * gdb.hp/compiler.cc: new file.
21385 * gdb.hp/execd-program.c: new file.
21386 * gdb.hp/follow-exec.c: new file.
21387 * gdb.hp/follow-fork.c: new file.
21388 * gdb.hp/follow-vfork-and-exec.c: new file.
21389 * gdb.hp/misc-hp.cc: new file.
21390 * gdb.hp/more-steps.c: new file.
21391 * gdb.hp/optimize.c: new file.
21392 * gdb.hp/quicksort.c: new file.
21393 * gdb.hp/run-hp.c: new file.
21394 * gdb.hp/start-stop.c: new file.
21395 * gdb.hp/sum.c: new file.
21396 * gdb.hp/templates-hp.cc: new file.
21397 * gdb.hp/thread-local-in-lib.c: new file.
21398 * gdb.hp/thread-local-in-lib.h: new file.
21399 * gdb.hp/thread-local-in-lib.lib.c: new file.
21400 * gdb.hp/vforked-program.c: new file.
21401 * gdb.hp/virtfunc-hp.cc: new file.
21402 * gdb.hp/watchpoint-hp.c: new file.
21403 * gdb.hp/xdb.c: new file.
21404 * gdb.hp/xdb0.c: new file.
21405 * gdb.hp/xdb0.h: new file.
21406 * gdb.hp/xdb1.c: new file.
21407
21408Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
21409
21410 The following change was made by Edith Epstein
889bf7c5
PA
21411 <eepstein@cygnus.com> as part of a project to merge in changes
21412 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
21413
21414 * gdb.c++/demangle.exp: changed the expected output for some
21415 ARM-style mangling -- removed second reference to datatype.
889bf7c5 21416 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 21417 T1<char>::~T1<char>(void)
c906108c 21418 becomes,
a9c64011
AS
21419 maint demangle __dt__11T1__pt__2_cFv
21420 T1<char>::~T1(void)
c906108c 21421
889bf7c5 21422 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 21423
c906108c
SS
21424Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
21425
21426 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
21427 * gdb.trace/backtrace.exp: Likewise.
21428 * gdb.trace/circ.exp: Likewise.
21429 * gdb.trace/collection.exp: Likewise.
21430 * gdb.trace/deltrace.exp: Likewise.
21431 * gdb.trace/infotrace.exp: Likewise.
21432 * gdb.trace/limits.exp: Likewise.
21433 * gdb.trace/packetlen.exp: Likewise.
21434 * gdb.trace/passc-dyn.exp: Likewise.
21435 * gdb.trace/passcount.exp: Likewise.
21436 * gdb.trace/report.exp: Likewise.
21437 * gdb.trace/save-trace.exp: Likewise.
21438 * gdb.trace/tfind.exp: Likewise.
21439 * gdb.trace/tracecmd.exp: Likewise.
21440 * gdb.trace/while-dyn.exp: Likewise.
21441 * gdb.trace/while-stepping.exp: Likewise.
21442
214431998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
21444
21445 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
21446
21447Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
21448
21449 From Brendan Kehoe:
21450 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
21451 int return types.
21452
21453Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
21454
21455 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 21456 remote dos host testing right.
c906108c
SS
21457
21458Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
21459
21460 * gdb.base/corefile.exp: remove some xfails.
21461
21462Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
21463
21464 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 21465 have different timestamps.
c906108c
SS
21466
21467Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
21468
21469 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 21470 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
21471
21472Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
21473
21474 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 21475 delta.
c906108c
SS
21476
21477Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
21478
21479 * gdb.base/default.exp: Add brace missing from previous delta.
21480
21481Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
21482
21483 * gdb.base/default.exp: Support test for info float for all
21484 varieties of arm toolchain.
21485
dc96c6c7 21486Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21487
21488 * gdb.trace/*.exp: remove "remote_download" command.
21489
dc96c6c7 21490Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21491
21492 * gdb.trace/*.exp: remove -gdwarf from compile.
21493
21494Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
21495
21496 * gdb.trace/configure.in(AC_INIT): typo
21497 * gdb.trace/configure: regenerated
21498
dc96c6c7 21499Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21500
21501 * config/m68k-emc.exp: New file.
21502 * lib/<emc-support.exp trace-support.exp}: New files.
21503 * configure.in: add new test directory gdb.trace.
21504 * gdb.trace/{configure configure.in Makefile.in}: New files.
21505 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
21506 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
21507 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
21508 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
21509 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
21510 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
21511 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 21512
dc96c6c7 21513Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21514
21515 * gdb.c++/classes.exp: Change all regular expressions to match
21516 arbitrary combinations of newline/carriage-return, so that they
21517 will work equally well on Unix and Windows.
21518 * gdb.c++/inherit.exp: ditto.
21519 * gdb.c++/virtfunc.exp: ditto.
21520
215211998-08-11 Dawn Perchik <dawn@cygnus.com>
21522
21523 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
21524
c2d11a7d
JM
21525Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
21526
21527 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
21528 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
21529 to use a0-a3/d0-d3 as needed.
21530
21531Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
21532
21533 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
21534 * gdb.disasm/am33.exp: Corresponding changes.
21535
c906108c
SS
215361998-07-11 Felix Lee <flee@cygnus.com>
21537
21538 * gdb.base/callfuncs.exp: add cmp10 test.
21539 * gdb.base/callfuncs.c (cmp10): new function.
21540
21541Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
21542
d63a86f8 21543 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
21544 into two parts to get around a synchronization problem in expect.
21545
3fc11d3e
JM
21546Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
21547
21548 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
21549
21550 * configure.in: Add options for gdbtk testsuite.
21551
21552 * configure: Regenerate.
21553
21554 * gdb.gdbtk: New directory to hold gdbtk tests.
21555
c906108c
SS
21556Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21557
21558 * gdb.fortran/types.exp: Escape brackets in expect patterns
21559 for test_float_literal_types_accepted tests.
21560 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
21561 before run test.
21562
c2d11a7d
JM
21563Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
21564
21565 * am33.exp: Just compile, do not link the testcase.
21566 * am33.s: Add ".am33" pseudoop to force am33 mode.
21567
c906108c
SS
215681998-06-25 Felix Lee <flee@cygnus.com>
21569
21570 * gdb.base/setshow.exp: make sure $pc is sane.
21571
21572 * gdb.stabs/weird.exp: split expect patterns properly.
21573
c2d11a7d
JM
21574Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
21575
21576 * gdb.disasm/am33.s: New disassembler testfile for the am33.
21577 * gdb.disasm/am33.exp: Run it.
21578
dc96c6c7 21579Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21580
21581 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
21582 match processing (and eliminate spurious timeouts when running).
21583
dc96c6c7 21584Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21585
21586 * gdb.base/signals.exp (test_handle_all_print): put back Mach
21587 exception test, but conditionalize it on target [mach | gnu].
21588
dc96c6c7 21589Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21590
21591 * gdb.base/overlays.exp: fixup compile line for linker script.
21592
21593Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
21594
21595 * gdb.fortran/types.exp: don't guess at float size.
21596
21597Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
21598
21599 * gdb.base/exprs.exp: delete test that depends on int size.
21600
21601Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
21602
21603 * config/sim.exp: Removed checks for target triplets.
21604 (gdb_target_sim): Use gdb,target_sim_options.
21605
21606Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
21607
21608 * gdb.base/reread.exp: New file.
21609 * gdb.base/reread1.c: New file.
21610 * gdb.base/reread2.c: New file.
21611
21612Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
21613
21614 * config/sim.exp: Use 'target sim -sparclite' when running
21615 SPARClite programs.
21616
21617Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
21618
21619 * gdb.base/structs2.exp: New file.
21620 * gdb.base/structs2.c: New file.
21621
21622Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
21623
21624 * gdb.asm/common.inc: New file.
21625 * gdb.asm/d10v.inc: New file.
21626 * asm-source.exp: Pass -I's to gas to find .inc files.
21627 Update line numbers in expected output.
21628 * asmsrc1.s: Rewrite.
21629 * asmsrc2.s: Rewrite.
21630 * configure.in: Create arch.inc symlink.
21631 * configure: Regenerate.
21632 * Makefile.in (distclean): Delete arch.inc.
21633
21634Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
21635
21636 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
21637 (t_enum_value2): ditto
21638 (t_enum_value3): ditto
21639 (main): ditto
c906108c
SS
21640Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21641
21642 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
21643 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
21644 change.
21645 Use gdb_test instead of send_gdb/gdb_expect sequences.
21646
21647Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
21648
21649 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
21650 not void.
21651
21652Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
21653
21654 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
21655 subroutines. Used to test gdbs ability to single step through PC
21656 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
21657
21658Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
21659
21660 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
21661 more rigorous EGCS C++ error checking.
21662
21663Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21664
a9c64011
AS
21665 * gdb.base/help.exp: Clean up `help set args' and `help show args'
21666 tests.
21667 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
21668 function when asleep.
21669 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
21670 for i*86 Linux and SVR4 signal handling problems.
21671 Remove linux xfail for `next to handler in signals_tests_1', fixed
21672 by recent infrun.c change.
21673 Limit backtrace to 10 frames to avoid timeout problems with infinite
21674 stack backtraces.
21675 Adjust expect pattern in `handle all print' test to match Apr 28 1997
21676 target.[ch] change.
c906108c
SS
21677
21678Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
21679
21680 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
21681 for a newline from gdb before continuing.
21682 (default_gdb_exit): Just look for y or n.
21683 (gdb_test): Detect abnormal exit from GDB running on DOS; if
21684 it does, fail the rests of the tests in the file.
21685
21686Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
21687
21688 * config/cygmon.exp: New file.
21689
21690Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
21691
21692 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 21693 main" test on remote targets.
c906108c
SS
21694
21695 * gdb.base/scope.exp: Fix problem with filelocal_bss before
21696 run test on remote targets.
21697
21698Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
21699
21700 * gdb.asm: New directory.
21701 * configure.in: Configure it.
21702 * configure: Regenerate.
21703 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
21704 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
21705
21706Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
21707
21708 * config/mn10300-eval.exp: New file to support MN10300 eval board.
21709
dc96c6c7 21710Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 21711
a9c64011
AS
21712 * gdb.base/overlays (several files): Merge the two overlay
21713 managers into one. Change variables (foox, barx, bazx, grbxx)
21714 back into ints but force them to load in their proper sections.
c906108c
SS
21715
21716Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
21717
21718 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 21719 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
21720 (D10VCopy): Handle memory regions crossing 16k boundaries.
21721 (D10VCopy): Transfer data in 32 bit chunks.
21722
21723Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
21724
21725 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 21726 correct.
c906108c
SS
21727
21728 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 21729 map. Include space for printf in .text segment.
c906108c
SS
21730
21731 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 21732 updated d10v memory VMA/LMA map.
c906108c 21733 (D10VCopy): Call D10VTranslate.
d63a86f8 21734
c906108c
SS
21735Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
21736
21737 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
21738
21739 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
21740 that it won't be put into the .sdata - small data -
21741 section. Update reference.
c906108c
SS
21742 * gdb.base/baz.c (bazx, baz): Ditto.
21743 * gdb.base/foo.c (foox, foo): Ditto.
21744 * gdb.base/grbx.c (grbxx, grbx): Ditto.
21745
21746 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 21747 to be arrays.
d63a86f8 21748
dc96c6c7 21749Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 21750
a9c64011
AS
21751 * gdb.base/overlays.exp: fix up and get working again.
21752 Add tests for backtraces from an overlay function.
d63a86f8 21753
c906108c
SS
21754Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
21755
21756 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
21757 "calling function with watchpoint enabled".
21758
21759Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
21760
21761 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 21762 gdb_suppress_tests for d10v-*-*.
c906108c
SS
21763 * lib/gdb.exp (gdb_suppress_tests): Disable this function
21764 pending review of whether it is useful or not.
21765
21766Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
21767
21768 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
21769
21770Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
21771
21772 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
21773 * config/dve.exp: New file to support Densan boards.
21774
21775Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
21776
21777 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 21778 reads and BSD.
c906108c
SS
21779
21780Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
21781
21782 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
21783 response.
21784
21785 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
21786
21787Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
21788
21789 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 21790 test.
c906108c
SS
21791
21792 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 21793 target_sizeof_long and target_bigendian_p.
c906108c 21794 (structs_by_value, structs_by_reference): Check values according
889bf7c5 21795 to targets word size and endianess.
d63a86f8 21796
c906108c
SS
21797Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
21798
21799 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 21800 output.
c906108c
SS
21801
21802Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
21803
21804 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 21805 Update test of set args help to match source change.
c906108c
SS
21806
21807Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
21808
21809 * gdb.base/default.exp: Expect help system output to be in
21810 alphabetical order.
21811 * gdb.base/help.exp: Ditto.
21812
21813Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
21814
21815 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
21816 "i*86-pc-linux-gnu*".
21817 * gdb.base/interrupt.exp: Ditto.
21818 * gdb.base/corefile.exp: Ditto.
21819
21820 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 21821 define vxworks when building the testcase.
c906108c
SS
21822
21823 * gdb.base/ptype.exp: Fix testnames to be unique.
21824 * gdb.base/radix.exp: Ditto.
21825 * gdb.base/term.exp: Ditto.
21826 * gdb.base/whatis.exp: Ditto.
21827 * gdb.c++/classes.exp: Ditto.
21828
21829Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
21830
21831 * gdb.base/callfuncs.exp: Fix indentation.
21832
21833 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
21834 suppress_flag has been set.
21835 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
21836 target feature.
21837
21838Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
21839
21840 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
21841 the testcase.
21842
21843 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 21844 set_debug_traps() and breakpoint().
c906108c
SS
21845 * gdb.c++/misc.cc (main): Ditto.
21846 * gdb.c++/templates.cc (main): Ditto.
21847 * gdb.c++/virtfunc.cc (main): Ditto.
21848
21849Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
21850
21851 * lib/gdb.exp(gdb_step_for_stub): New function.
21852 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
21853 exists, reload the executable and do a "continue" instead of
21854 doing a jump.
21855 (runto_main): Use gdb_step_for_stub.
d63a86f8 21856
c906108c 21857 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 21858 tests to have unique names.
c906108c
SS
21859 * gdb.base/callfuncs.exp: Ditto.
21860 * gdb.base/commands.exp: Ditto.
21861 * gdb.base/default.exp: Ditto.
21862 * gdb.base/help.exp: Ditto.
21863 * gdb.base/list.exp: Ditto.
21864 * gdb.base/opaque.exp: Ditto.
21865 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
21866 similar tests.
d63a86f8 21867
c906108c
SS
21868 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
21869 * gdb.c++/cplusfuncs.cc: Ditto.
21870 * gdb.c++/virtfunc.cc: Ditto.
21871
21872 * config/monitor.exp: Keep track of the last file we saw, rather
21873 than trying to get the info from gdb.
21874
21875 * gdb.fortran/types.exp: Move comment to previous line.
21876
21877Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
21878
21879 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 21880 target mode.
c906108c
SS
21881
21882Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
21883
21884 From Bob Manson:
21885 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 21886 string from GDB when it connects.
c906108c
SS
21887
21888 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
21889
21890Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
21891
21892 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
21893 if we can't get a debug format from GDB (we may be testing an
21894 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
21895
21896 * gdb.stabs/weird.exp: Fix quoting.
21897
21898 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
21899
21900Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
21901
21902 * config/arm-ice.exp: New file.
21903
21904Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
21905
21906 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 21907 until it has been modified to work with the new testsuite.
c906108c 21908
99707966 21909 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
21910 testcase won't compile, cause all of the testcases in the file to
21911 fail instead.
c906108c
SS
21912
21913 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
21914 (gdb_clear_suppressed): New procedure.
21915 (gdb_stop_suppressing_tests): Only clear suppress_flag if
21916 it contains a positive value.
21917
21918Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
21919
21920 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
21921
21922 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
21923
21924Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
21925
21926 * lib/gdb.exp (setup_xfail_format): New function.
21927 (get_debug_format): New function to get debug format.
21928 (debug_format): New global variable to hold last value set
21929 by get_debug_format.
21930 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 21931 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
21932 * gdb.c++/ptype.exp: Ditto.
21933 * gdb.c++/classes.exp: Ditto.
21934 * gdb.c++/cplusfuncs.exp: Ditto.
21935 * gdb.c++/inherit.exp: Ditto.
21936 * gdb.c++/templates.exp: Ditto.
21937 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 21938
c906108c
SS
21939Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
21940
21941 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
21942 host doesn't have a currently-open connection.
21943
21944 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
21945 any gdb stub target. Handle cases where gdb doesn't respond when
21946 interrupted in a sane fashion.
c906108c
SS
21947
21948 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 21949 same thing in a totally different way.
c906108c
SS
21950
21951 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 21952 setting "timeout".
c906108c 21953 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 21954 default_gdb_init now.
c906108c
SS
21955
21956Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
21957
21958 * gdb.base/printcmds.exp: Fix "check for floating addition"
21959 regexp to accept results within approx +/- .01 of exact value.
21960 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
21961
21962Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
21963
21964 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 21965 properly.
c906108c
SS
21966 (gdb_expect): Add optional timeout parameter, and add timeout
21967 value to various calls.
21968 (gdb_suppress_tests): Only give one warning message per group.
21969
21970Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
21971
21972 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
21973 global variables. Handle getting a value for $timeout more
21974 gracefully.
c906108c
SS
21975
21976Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
21977
21978 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 21979 initialize.
c906108c 21980 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 21981 by a target configuration file.
c906108c
SS
21982 (gdb_expect): Pass the timeout to remote_expect.
21983
21984 * config/monitor.exp(gdb_load): Fix typo in regexp.
21985
21986Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
21987
21988 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
21989
21990Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
21991
21992 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
21993 here. Call gdb_target_exec before rebooting the target, to make
21994 sure the connection to the target is closed.
c906108c
SS
21995 (gdb_load): Pass the name of the executable to gdb_target_monitor.
21996 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
21997 Also detect "Timeout reading from remote" error.
21998
21999 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
22000 gdb_target_monitor. Don't call gdb_file_cmd here; let
22001 gdb_target_monitor do it.
c906108c
SS
22002
22003 * gdb.disasm/hppa.exp: Don't use exec_output.
22004
22005Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
22006
22007 * gdb.base/list.exp: If we're debugging a non-native target,
22008 try to set the pc register to point to the start of the
22009 program before doing the first list command.
22010
22011 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 22012 test_calls after restarting.
c906108c
SS
22013
22014 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 22015 reloading.
c906108c
SS
22016
22017 * gdb.base/watchpoint.exp: Fix typo.
22018
22019 * gdb.base/setshow.exp: Check for use_gdb_stub.
22020
22021 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 22022 stub case.
c906108c
SS
22023 * gdb.base/langs.exp: Ditto.
22024
22025 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
22026 gdb_load_offset. If we weren't given a file to load, figure out
22027 what the current file is and use it.
c906108c
SS
22028
22029 * config/i386-bozo.exp: New file.
22030
22031Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
22032
22033 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
22034 feature.
22035
22036 * config/proelf.exp: New entry.
22037
22038Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
22039
22040 * lib/gdb.exp: Remove spurious .* patterns at the beginning
22041 of regexps.
22042
22043 * gdb.base/watchpoint.exp: Don't run the test_stepping
22044 tests if gdb can't call functions on the target.
22045
22046 * gdb.base/setshow.exp: Don't run the set prompt tests if
22047 the board has gdb_prompt set.
22048
22049Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
22050
22051 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
22052 * gdb.base/commands.exp: Likewise.
22053 * gdb.base/setshow.exp: Likewise.
22054
22055Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
22056
22057 * config/monitor.exp(gdb_start): Look for gdb_prompt target
22058 feature.
22059
22060 * config/i960.exp: New file.
22061
22062Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
22063
22064 * gdb.base/funcargs.exp: Check for gdb,short_int target
22065 feature instead of looking for explicit target triplets.
22066
dc96c6c7 22067Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 22068
d63a86f8 22069 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
22070 "p 123DEADBEEF", to check parse_number.
22071 * top.c: change "to enable to enable" to "to enable" in a couple
22072 of help strings.
22073
22074Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
22075
22076 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
22077 on the mn10300.
d63a86f8 22078
c906108c
SS
22079Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
22080
22081 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
22082 where the test executable is run with explicit args.
22083 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
22084
22085Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
22086
22087 * gdb.base/run.c: Use FAKEARGV to build test executable that
22088 does not require a command line arg, since most simulators
22089 don't currently support passing such an arg into the simulated
22090 program.
22091 * gdb.base/commands.exp: Change tests to insert the proper
22092 value as the arg to the first recursive factorial call. Change
22093 compilation line to define FAKEARGV at compile time.
22094
22095Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
22096
22097 * gdb.base/recurse.exp: Enable these tests for the mn10300.
22098 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
22099 function with watchpoint enabled" test.
22100
22101Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
22102
22103 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 22104 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
22105
22106 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 22107 "Tests restarted" messages.
c906108c
SS
22108
22109Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
22110
22111 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
22112
dc96c6c7 22113Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22114
22115 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
22116 for INFO SYMBOL; add help tests for OVERLAY commands.
22117 * gdb.base/default.exp: add tests for INFO SYMBOL command;
22118 add tests for OVERLAY commands
22119 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
22120 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
22121 * gdb.base/sigall.c: add usestubs code frag
22122 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 22123
c906108c
SS
22124Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
22125
22126 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
22127 failures.
22128 (gdb_stop_suppressing_tests): Note that tests have restarted.
22129
22130Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
22131
22132 * config/h8300.exp: New file.
22133
22134Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
22135
22136 * gdb.base/setshow.exp: Check for the existence of a
22137 feature, not its value.
22138
22139Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
22140
22141 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
22142
22143 * gdb.base/scope.exp: It's now init0(), not init().
22144
22145 * gdb.base/scope0.c: For now, change init() to be init0().
22146
22147 * config/monitor.exp: Use gdb_serial in preference to serial
22148 or netport.
22149
22150 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 22151 and it's not already set.
c906108c
SS
22152
22153Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
22154
22155 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 22156 isn't using a stub and if it supports argument passing.
c906108c
SS
22157
22158Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
22159
22160 * config/udi.exp(gdb_start): Make sure UDICONF is set
22161 properly before starting gdb.
22162
22163Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
22164
22165 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
22166 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
22167 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
22168
22169Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
22170
22171 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 22172 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
22173
22174 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
22175
22176 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
22177
22178 * config/monitor.exp: Make sure we disconnect from the target.
22179 Also, try a reboot/reload cycle instead of failing if the
22180 load fails.
22181
22182Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
22183
22184 * gdb.base/default.exp: Don't set match_max.
22185 * gdb.base/help.exp: Ditto.
22186 * gdb.base/list.exp: Ditto.
22187 * gdb.base/signals.exp: Ditto.
22188
22189 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
22190 set, use remote_ld to download the testcase instead of
22191 the GDB loader.
22192
22193Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
22194
22195 * config/vr5000.exp: New file.
22196
22197 * config/monitor.exp(gdb_target_monitor): Add pattern for
22198 "Ending remote" to detect errors in connecting.
22199
22200 * gdb.base/setshow.exp: Add .* within auto language test.
22201
22202 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
22203 target feature.
22204
22205 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 22206 and reboot the board if necessary.
c906108c
SS
22207
22208 * gdb.base/setvar.exp(test_set): Handle multiple prints within
22209 a set of tests. Remove print.* from the patterns being checked.
22210
22211Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
22212
22213 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
22214 refer to gdb_spawn_id.
22215
22216 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
22217 longer used.
22218 * config/sparclet.exp: Ditto.
22219 * config/sparclet-old.exp: Ditto.
22220 * config/slite.exp: Ditto.
22221 * config/sim.exp: Ditto.
22222 * gdb.base/funcargs.exp: Ditto.
22223
22224 * lib/gdb.exp:Remove references to gdb_spawn_id.
22225 (gdb_expect): Move to remote.exp.
22226
22227Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
22228
22229 * config/monitor.exp: Detect the "Couldn't establish connection"
22230 message from GDB.
22231
22232Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
22233
22234 * gdb.base/bitfields.exp: Use runto instead of explicit
22235 gdb_run_cmd/gdb_expect sequences.
22236
22237 * gdb.base/break.exp(text_next_with_recursion): Add match for
22238 gdb_expect call.
22239
22240 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
22241 We also need to handle the "A program is being debugged already"
22242 prompt from gdb. Use gdb_test to set the baud rate.
22243
22244 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
22245 to 20000. Really. I mean it.
22246
22247Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22248
22249 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
22250 fails. If suppress_flag is set, skip perror message about not
22251 being able to send to GDB.
c906108c 22252 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 22253 GDB.
c906108c
SS
22254 (gdb_expect): If suppress_flag is set, always fail immediately.
22255 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
22256 (gdb_init): Call gdb_stop_suppressing_tests.
22257 (default_gdb_exit): Ditto.
22258 (default_gdb_start): Ditto.
22259
22260 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 22261 gdb_stop_suppressing_tests as appropriate.
c906108c 22262 * gdb.base/break.exp: Ditto.
889bf7c5 22263 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
22264 * gdb.base/commands.exp: Ditto.
22265 * gdb.base/exprs.exp: Ditto.
889bf7c5 22266 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
22267 * gdb.base/list.exp: Ditto.
22268 * gdb.base/recurse.exp: Ditto.
889bf7c5 22269 * gdb.base/scope.exp: Ditto.
c906108c
SS
22270 * gdb.base/structs.exp: Ditto.
22271 * gdb.c++/inherit.exp: Ditto.
22272
22273Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
22274
22275 * config/vr4300.exp: New file.
22276
99707966 22277 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 22278
99707966 22279 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
22280
22281Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
22282
22283 * lib/gdb.exp(gdb_init): New function.
22284
22285 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 22286 for each individual variable set.
c906108c
SS
22287
22288 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
22289 name.
22290
22291 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
22292
22293 * gdb.base/scope.exp: Use gdb_test.
22294
22295 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
22296 aborting; the testsuite driver will do that for us (see
22297 gdb_finish). Also, use gdb_test in a few more places.
22298
22299Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
22300
22301 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
22302
22303Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
22304
22305 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
22306 and "add_tests" are not at the same address.
22307
22308Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
22309
22310 * gdb.base/ptype.exp: Use gdb_test.
22311
22312Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
22313
22314 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
22315 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
22316 left in. No longer expect them to fail.
22317
22318 * gdb.stabs/*.mt; Deleted, no longer used.
22319 * gdb.stabs/configure.in: Remove references to target makefile
22320 frags.
22321 * gdb.stabs/configure: Rebuilt.
22322
22323 * gdb.disasm/*.mt: Deleted, no longer used.
22324 * gdb.disasm/configure.in: Remove references to target makefile
22325 frags. Use "sh3.s" as the unique filename for this directory.
22326 * gdb.disasm/configure: Rebuilt.
22327
22328 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
22329 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
22330 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
22331
22332Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
22333
22334 * config/udi.exp: Use mondfe,name instead of remote_host.
22335
22336Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
22337
22338 * gdb.base/watchpoint.exp: Don't expect a failure when calling
22339 a function with a watchpoint enabled on the mn10200.
22340
22341 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
22342 before trying to create it!
22343
22344Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
22345
22346 * config/vx.exp: Use hostname instead of netport.
22347
22348 * config/vxworks.exp: New file.
22349
22350 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
22351
22352 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 22353 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
22354 occurs.
22355
22356 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
22357 $gdb_spawn_id directly.
22358 (gdb_run_cmd): Try _start as well as start. Use the target feature
22359 gdb,start_symbol as the symbol to start from when jumping.
22360
22361Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
22362
22363 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
22364 redundant) test.
22365
22366 * gdb.base/recurse.exp: Relax final value test for 'b' so that
22367 it doesn't lose for 16bit integer systems.
22368
22369Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
22370
22371 * gdb.fortran/types.exp: If the target doesn't support "double"
22372 data types, then expect "real" types to only be 4 bytes.
22373
22374 * gdb.c++/virtfunc.exp: Expect failure for virtual function
22375 call tests if the target doesn't support inferior function calls.
22376
22377 * gdb.base/printcmds.exp: Allow minor deviation in FP values
22378 in printf tests.
22379
22380Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
22381
22382 * gdb.base/help.exp: Disable "help set", "help show", and
22383 "help support". Simplify regexp for "help stack".
22384
22385 * gdb.base/default.exp: Set match_max to 5000 and the timeout
22386 to 60 seconds. Temporarily set match_max to 15000 around the
22387 "info copying" test.
22388
22389 * gdb.base/nodebug.exp: Don't try to do an inferior function
22390 call if the target doesn't support them.
22391 * gdb.base/printcmds.exp: Likewise.
22392 * gdb.base/setvar.exp: Likewise.
22393 * gdb.base/structs.exp: Likewise.
22394 * gdb.c++/templates.exp: Likewise.
22395 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
22396
22397 * gdb.base/recurse.exp: Enable for the mn10200.
22398
22399 * configure.in: Do configure gdb.stabs directory for *-*-elf
22400 targets.
22401 * configure: Rebuilt.
22402
22403 * gdb.base/break.exp: Check for gdb,noresults before testing
22404 exit status and/or results from the target.
22405 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
22406 * lib/gdb.exp: Remove old (now bogus) initialization of
22407 noinferior, noargs, noresults and nosignals.
22408
22409Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
22410
22411 * config/sh.exp: New file.
22412
22413 * config/slite.exp: Try to connect multiple times to the board
22414 before rebooting. Only send a "monitor run" if need_monitor_run
22415 is set.
22416
22417 * gdb.base/break.exp: Don't do the "stub continue" test if
22418 the target has gdb_stub set.
22419
22420 * gdb.base/callfuncs.exp: Increase the timeout.
22421
22422 * gdb.base/interrupt.exp: Don't even try to compile the testcase
22423 if the target has gdb,noinferiorio set.
22424
22425 * gdb.base/list.exp: Increase match_max to 10000 characters.
22426
22427 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
22428
22429 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
22430 target.
22431
22432 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
22433
22434Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
22435
22436 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
22437 trying to delete the copy of gdb. Catch the file delete so we
22438 don't die if the delete fails; also, the file should be copied to
22439 the host, not to the build.
c906108c
SS
22440
22441Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
22442
22443 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 22444 parenthesis in case it contains multiple regexps separated
c906108c
SS
22445 with |.
22446
22447 * gdb.base/watchpoint.exp: Use gdb_test.
22448 * gdb.base/default.exp: Ditto.
22449
22450Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
22451
99707966 22452 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 22453
c906108c
SS
22454 * gdb.base/scope.exp: Use gdb_test.
22455 * gdb.c++/classes.exp: Ditto.
22456 * gdb.c++/inherit.exp: Ditto.
22457
22458Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
22459
22460 * gdb.base/crossload.exp: Don't use execute_anywhere, use
22461 remote_exec instead.
22462 * gdb.base/corefile.exp: Don't be ridiculous.
22463 * gdb.base/*.c: Add missing stub invocations.
22464
22465Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
22466
22467 * config/slite.exp: Miscellaneous fixes.
22468
22469 * lib/gdb.exp: Fix runto.
22470
22471 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
22472 the target.
22473
22474 * gdb.base/watchpoint.exp: Fix regexp.
22475
22476 * lib/gdb.exp(default_gdb_exit): Add a catch to the
22477 close and wait commands, as the descriptor may now be
22478 invalid. Always call "remote_close host".
22479
22480Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
22481
22482 Major rewrite for testsuite revision.
d63a86f8 22483
c906108c
SS
22484 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
22485 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
22486 instead of relying on spawn_id to always contain a valid
22487 spawn id.
22488 (get_compiler_info): New procedure to build the ${binfile}.ci
22489 file, instead of replicating this in N different places.
22490 (gdb_compile): New procedure.
d63a86f8 22491
c906108c 22492 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
22493 appropriate arguments) instead of compile. Use gdb_test in a lot
22494 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
22495 at the start of a testcase, as this is no longer done magically.
22496
22497 config/*-gdb.exp: Rename without the -gdb suffix.
22498
22499 config/mips.exp: Use remote_close instead of exit_remote_shell.
22500 config/monitor.exp: Use target_info instead of looking at
22501 baud, timeout, etc.
22502 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
22503
22504Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22505
22506 * gdb.c++/templates.exp (test_ptype_of_templates),
22507 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
22508 Update expect patterns for destructors and assignment operators
22509 to match corresponding c-typeprint.c changes.
22510 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
22511 to destructor breakpoint test, GDB should be able to set the
22512 destructor breakpoint without specifying arguments.
22513
22514Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
22515
22516 * gdb.threads/pthreads.exp: Change result for failure to compile due
22517 to lack of pthreads runtime support from an error to simply an
22518 unsupported test, per dejagnu standards.
22519
22520Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22521
22522 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
22523 where GDB exits to reduce pattern match time.
22524 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
22525
22526 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
22527
dc96c6c7 22528Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22529
22530 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
22531 * gdb.base/default.exp: ditto.
22532 * gdb.base/nodebug.exp: ditto.
22533 * gdb.base/printcmds.exp: ditto.
22534 * gdb.base/ptype.exp: ditto.
22535 * gdb.base/setvar.exp: ditto.
22536 * gdb.base/structs.exp: ditto.
22537 * gdb.base/setshow.c: Guard against uninitialized values of argc.
22538
22539Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
22540
22541 * configure, */configure: Rebuild with autoconf 2.12.
22542
22543Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
22544
22545 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
22546 use new i*86-pc-linux*-gnu quads.
22547 * gdb.base/corefile.exp: Ditto.
22548 * gdb.base/signals.exp: Ditto.
22549 * gdb.base/sigall.exp: Ditto.
22550 * gdb.base/interrupt.exp: Ditto.
22551
22552 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
22553 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
22554 RedHat 4.0.
d63a86f8 22555
c906108c 22556 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
22557 linux. This allows the test case to at least compile on latest
22558 linux, but still not run due to missing the threads runtime library.
c906108c
SS
22559
22560Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22561
22562 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
22563 directory to search gdb directory. Accept and step over conditional
22564 stack alignment code. Consume $prompt in failure cases.
22565 Reset timeout to $oldtimeout instead of some arbitrary value.
22566 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
22567 timeout problems with infinite stack backtraces.
22568 * gdb.base/ptype.exp (ptype struct link, union tu_link):
22569 Accept function parameters for linkfunc member.
22570
22571Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
22572
22573 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
22574 (CXXFLAGS): Remove, unreferenced.
22575 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
22576 previous -B options and also add -B option to pick up cross compiled
22577 runtime.
c906108c
SS
22578 (TARGET_INCLUDES): Add for -I options and add code to initialize when
22579 doing cross compiles.
22580 (target_alias): Declare global.
22581 (xgcc): Set variable to full path of gcc in build tree. Use findfile
22582 to verify that gcc exists in build tree, and if so set CC to that
22583 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 22584
c906108c
SS
22585Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
22586
22587 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
22588 ptype test for anonymous union. Fixup testcase to match
22589 current gcc debug output.
22590
22591Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
22592
22593 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
22594 force argument to an unsigned long type.
22595
22596Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
22597
22598 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 22599 tests and anonymous union print/ptype tests.
c906108c
SS
22600 * gdb.base/list.exp (test_forward-search): Increase timeout by
22601 5 minutes for the "search extremely long line" case.
22602 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
22603 completely optional and that the pass/fail messages use the command as
22604 the message if that third arg is a null string.
22605 (gdb_test_exact): Arrange that a null string pattern means match a
22606 null string output rather than any output, which might include random
889bf7c5 22607 errors.
c906108c
SS
22608 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
22609 backtrace test.
22610 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
22611 always failing and failure is now exposed by gdb.exp changes.
22612
22613Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
22614
22615 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
22616 weren't being noted.
22617
22618Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22619
22620 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
22621 * gdb.stabs/weird.exp: Remove v_comb xfails.
22622
dc96c6c7 22623Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22624
22625 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 22626 list.exp scope.exp watchpoint.exp]
c906108c 22627 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 22628
dc96c6c7 22629Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22630
22631 * config/monitor.exp: Increase download timeout to 1000 seconds.
22632
dc96c6c7 22633Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22634
22635 * config/m32r.exp: Increase timeout to 120 seconds.
22636
22637Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
22638
22639 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
22640 and accept older ordering as obsolescent gcc or gdb.
22641 * gdb.c++/templates.exp: Ditto.
22642 * gdb.c++/virtfunc.exp: Ditto.
22643
22644Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
22645
22646 * gdb.base/coremaker.c: Add code to mmap some data so we
22647 can check that it ends up in the core file.
22648 * gdb.base/corefile.exp: Add test to read mmapped data
22649 from core file.
22650
dc96c6c7 22651Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22652
22653 * config/m32r.exp: New file.
22654
22655Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
22656
22657 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
22658 that cflags can contains -gstabs, and work correctly for other tests.
22659
dc96c6c7 22660Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22661
22662 * gdb.base/setshow.exp: New file, tests show and set.
22663 * gdb.base/setshow.c: New file, tests show and set.
22664 * gdb.base/help.exp: Add test for help set|show annotate.
22665 * gdb.base/default.exp: Add test for set|show annotate.
22666
22667Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
22668
22669 * testsuite/gdb.base/break.exp: Make backtrace from factorial
22670 errors unique.
22671 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
22672 explicitly.
22673
22674Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
22675
22676 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
22677 and width commands. This is done elsewhere.
22678 * (gdb_start): Don't call gdb_start_sim here. That's already
22679 done in gdb_load. This fixes lots of failures in default.exp.
22680
22681Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
22682
22683 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
22684 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
22685 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
22686 in the same we we treat other failures (since it may be an expected
889bf7c5 22687 condition), rather than as an error.
c906108c
SS
22688 * gdb.base/signals.exp (test_handle_all_print): Revert back to
22689 old test format.
22690
22691Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
22692
22693 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
22694 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 22695 twice. Nuke the duplicates.
c906108c 22696 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 22697 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
22698 Remove config.h along with other config files.
22699
22700Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
22701
22702 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
22703 "p func1 ()" and note that rests of tests are skipped.
22704 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 22705 setup_xfails for "print func2::coremaker_local".
c906108c
SS
22706 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
22707 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
22708 affected by the previous run test.
22709 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
22710 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
22711 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
22712 "pass int powerset tuple" and "pass modeless int powerset tuple".
22713 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
22714 "real write 4" and "real write 8".
22715 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 22716 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
22717 "print \$i after tuple assign 2", and
22718 "print vs2 after tuple assign 2".
22719 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
22720 meaningful error message and return -1 so the caller can
22721 suppress further tests and avoid a cascade of errors.
d63a86f8 22722
c906108c
SS
22723Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
22724
22725 * gdb.base/a1-selftest.exp: Tweak tests to account for new
22726 format for printing version.
22727 * gdb.base/default.exp: Ditto.
22728 * gdb.base/interrupt.exp: Fix problem with cascade of
22729 errors if child process dies while calling a function.
d63a86f8 22730
c906108c
SS
22731Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
22732
22733 * Makefile.in (VPATH): Add
22734 * Makefile.in (Makefile, config.status): Fix rules so things get
22735 remade when necessary.
22736
22737Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
22738
22739 * Makefile.in (just-check): Add path to sibling expect dir
22740 to environment variable specified by RPATH_ENVVAR.
22741
22742Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
22743
22744 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
22745 (just-check): Add shared library paths for libstdc++, tk,
22746 tcl, bfd, and opcodes to the environment variable specified
22747 in RPATH_ENVVAR.
22748 * configure.in: Add support to recognize --enable-shared flag
22749 and generate correct value for RPATH_ENVVAR.
22750 * configure: Regenerated with autoconf.
22751
22752Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
22753
22754 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 22755 include all osf versions.
c906108c
SS
22756 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
22757 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
22758 when target is linux. When failing to build pthreads test
22759 executable, give more meaningful message.
22760 * gdb.threads/pthreads.c: Hpux also uses old definition of second
22761 arg for pthread_create.
d63a86f8 22762
c906108c
SS
22763Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
22764
22765 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 22766 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 22767 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 22768 and -lpthreads (everybody else).
c906108c
SS
22769 (test_startup): Fail gracefully if threads are not supported.
22770 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
22771 "p/c array_index("abcdef",2)" when not gcc compiled.
22772 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
22773 "print func2::coremaker_local" when not gcc compiled.
22774 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
22775 "ptype on opaque struct tagname (statically)",
22776 "ptype on opaque struct tagname (dynamically) 1", and
22777 "ptype on opaque struct tagname (dynamically) 2"
22778 for not compiled with gcc.
22779 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
22780 backtrace when compiled with gcc.
d63a86f8 22781 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
22782 than always return success.
22783
22784Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
22785
22786 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
22787
22788Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
22789
22790 * gdb.base/structs.exp: Undo last change.
22791
22792Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
22793
22794 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
22795 encapsulate all the steps/nexts done during self test, starting
22796 at main, and makes them less sensitive to optimization issues.
22797 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
22798 signal handler" test.
22799 * gdb.threads/pthreads.exp: Only run this for native configs.
22800 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
22801 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
22802 tests.
22803 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
22804 for "runto test_calls(void)" test.
d63a86f8 22805
c906108c
SS
22806Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
22807
22808 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
22809 and don't expect address info in breakpoint confirmations.
22810
22811Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
22812
22813 * gdb.base/list.exp (test_forward_search): Increase timeout
22814 temporarily by 60 seconds for searching extremely long line,
889bf7c5 22815 and then reset to old value when done. Increase expect input
c906108c
SS
22816 buffer to 10000.
22817
22818Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
22819
22820 * gdb.base/list.exp (test_forward_search): Fix to handle very
22821 long source line without overflowing expect's input buffer.
22822
22823Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
22824
22825 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
22826 "buffer_full".
22827
22828 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
22829 "buffer_full".
22830
22831 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
22832 "buffer_full".
22833
22834 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
22835 "buffer_full".
22836
22837Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
22838
22839 * configure.in (configdirs): Add gdb.threads.
22840 * configure: Regenerated with autoconf.
22841 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
22842 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
22843 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 22844
c906108c
SS
22845Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
22846
22847 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
22848
22849Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
22850
22851 * gdb.base/signals.exp (test_handle_all_print): Test separately for
22852 each signal's status in the output of "handle all print".
22853 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
22854 the \r\n sequence that immediately precedes the gdb prompt.
22855 * gdb.base/a1-selftest.exp: Save original timeout and restore
22856 after test.
22857
22858Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
22859
22860 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
22861 symbol.
22862
22863Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
22864
22865 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
22866
22867Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
22868
22869 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
22870 timeout by 60 seconds.
22871
22872Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
22873
22874 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
22875 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
22876 error return.
22877
22878Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
22879
22880 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
22881 gdb initialization, also report how long dejagnu waited. Restore
22882 old timeout before doing error return. Temporarily increase timeout
889bf7c5 22883 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
22884
22885Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
22886
22887 * lib/gdb.exp: Report timeout value for verbosity level 2.
22888 * config/gdbserver.exp: Ditto.
22889 * config/hppro.exp: Ditto.
22890 * config/mips-gdb.exp: Ditto.
22891 * config/monitor.exp: Ditto.
22892 * config/netware.exp: Ditto.
22893 * config/sim-gdb.exp: Ditto.
22894 * config/slite-gdb.exp: Ditto.
22895 * config/udi-gdb.exp: Ditto.
22896 * config/unix-gdb.exp: Ditto.
22897 * config/vx-gdb.exp: Ditto.
22898 * gdb.base/a1-selftest.exp: Ditto.
22899 * gdb.base/a2-run.exp: Ditto.
22900 * gdb.base/break.exp: Ditto.
22901 * gdb.base/corefile.exp: Ditto.
22902 * gdb.base/list.exp: Ditto.
22903 * gdb.base/recurse.exp: Ditto.
22904 * gdb.base/scope.exp: Ditto.
22905 * gdb.base/signals.exp: Ditto.
22906
22907Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22908
22909 * gdb.threads/Makefile.in (docdir): Removed.
22910
22911Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22912
22913 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 22914 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 22915 @srcdir@.
d63a86f8 22916 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
22917 autoconf 2.5 or higher.
22918 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
22919
22920Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
22921
22922 * configure: Regenerated.
22923 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
22924 avoid name clashes with SunOS headers.
22925
22926Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
22927
22928 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
22929
22930Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
22931
22932 * gdb.base/callfuncs.exp: Finish last change -- make sure the
22933 prototype information ends up in the compiler info file.
22934
22935Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
22936
22937 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
22938 attempting to regenerate it. Eliminate use of a temporary file
22939 and just generate the info file directly. Source it immediately,
22940 for consistency of use.
22941 * gdb.base/corefile.exp: Ditto
22942 * gdb.base/exprs.exp: Ditto.
22943 * gdb.base/funcargs.exp: Ditto.
22944 * gdb.base/langs.exp: Ditto.
22945 * gdb.base/list.exp: Ditto.
22946 * gdb.base/mips_pro.exp: Ditto.
22947 * gdb.base/nodebug.exp: Ditto.
22948 * gdb.base/opaque.exp: Ditto.
22949 * gdb.base/ptype.exp: Ditto.
22950 * gdb.base/scope.exp: Ditto.
22951 * gdb.base/setvar.exp: Ditto.
22952 * gdb.base/signals.exp: Ditto.
22953 * gdb.base/whatis.exp: Ditto.
22954 * gdb.c++/templates.exp: Ditto.
22955 * gdb.c++/virtfunc.exp: Ditto.
22956 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 22957 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
22958
22959Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22960
22961 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
22962 it got fixed by the recent lookup_minimal_symbol_by_pc change.
22963 Increase timeout, a lot of single stepping might be needed if the
22964 target has no hardware watchpoints.
22965
22966Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
22967
22968 * gdb.base/break.exp: Ignore compiler warnings when compiling
22969 break.c.
22970 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
22971 * gdb.base/default.exp: Add h8300 xfails. Handle messages
22972 from remote-sim.
22973 * gdb.base/exprs.exp: Add h8300 xfails.
22974 * gdb.base/funcargs.exp: Likewise.
22975 * gdb.base/nodebug.exp: Likewise.
22976 * gdb.base/printcmds.exp: Likewise.
22977 * gdb.base/ptype.exp: Likewise.
22978 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
22979 h8300 xfails.
d63a86f8 22980 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
22981 on the h8300.
22982 * gdb.base/funcargs.c: Explicitly make last constant argument to
22983 call_after_alloca_subr an unsigned long type.
22984 * gdb.base/return.c: Include stdio.h.
22985
22986Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
22987
22988 * config/abug.exp: New file for the older Motorola Bug monitor
22989 that runs on the mvme13x series VME boards.
22990 * config/monitor.exp: Use the new config array for target settings
22991 if they exist.
22992
22993Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
22994
22995 * sim-gdb.exp: Make the SH simulator allocate less space when
22996 it is targeted.
22997
22998Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
22999
23000 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
23001 test.
23002
23003Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
23004
23005 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
23006 "rs6000-*-*" for "list function in include file" when gcc compiled.
23007 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
23008 for "p ctable1[120]".
23009 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
23010 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
23011 Remove setup_xfail for "rs6000-*-*" for
23012 "print 'scope0.c'::filelocal before run".
23013 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
23014 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
23015 since some compilers don't allow both options to be given
23016 on the same command line. Create object file and move it.
d63a86f8 23017
c906108c
SS
23018Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
23019
23020 * gdb.base/corefile.exp: Always regenerate the core file, since
23021 we always regenerate the coremaker program. Detect special case
23022 where registers cannot be read from core file.
d63a86f8 23023
c906108c
SS
23024Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
23025
23026 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
23027 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
23028 * gdb.c++/templates.exp: Only match on basename of file since
23029 some formats like xcoff don't encode directory information.
23030 * gdb.stabs/weird.exp: Use the right sed script for powerpc
23031 and rs6000 AIX xcoff targets.
23032 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
23033 * configure: Regenerate.
23034 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
23035 here, rather than in distclean.
d63a86f8 23036
c906108c
SS
23037Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
23038
23039 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
23040 defined, and use it to compile the test case with -O2. The
23041 native compilation still uses no optimization.
23042 * gdb.base/mips_pro.c: Remove inline assembly code since
23043 it is compiled PIC by default, which results in assembler
23044 warnings that make the testsuite think the compilation
23045 was unsuccessful.
23046
23047Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
23048
23049 * gdb.c++/misc.exp: Add note to message for
23050 "print s.a for foo struct" that this is a known gcc 2.7.2
23051 and earlier bug.
23052
23053Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
23054
23055 * gdb.base/break.exp: Fix pattern for matching "Delete all
23056 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
23057 setup_xfail for deleting all breakpoints test. Fix various
23058 timeout messages to include "(timeout)".
23059 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
23060 for "p t_float_values2(3.14159,float_val2)".
23061 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
23062 for "continue to call2g" when gcc compiled.
23063 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
23064 "up to foo in langs.exp", "show language at foo in langs.exp",
23065 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
23066 and "show language at fsub in langs.exp".
23067 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
23068 "list line 1 in include file", "list message for lines past EOF",
23069 "list function in include file", "list list0.h:foo", and
23070 "list filename:function; nonexistant function".
23071 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
23072 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
23073 and "ptype t_char_array" to be for native cc only.
d63a86f8 23074
c906108c
SS
23075Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
23076
d63a86f8 23077 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 23078 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 23079 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
23080
23081Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
23082
23083 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
23084 "bt in signals.exp". This problem only appears when running
23085 the testsuite, and then only intermittently.
23086
23087Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
23088
23089 * gdb.base/return.exp (return_tests): Differentiate between
23090 two tests of continuing.
23091
23092Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
23093
23094 * */Makefile.in (maintainer-clean): Remove config.log.
23095 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
23096 * gdb.c++/Makefile.in (PROGS): Add inherit.
23097 (clean): Remove *.ci.
23098
23099Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
23100
23101 * gdb.c++/misc.cc: Add test code from Mike Stump.
23102 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
23103
23104Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
23105
23106 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
23107 to "alpha-*-osf2*" and add comment.
23108 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
23109 setup_xfail for "step over execarg initialization" and
23110 "step over corearg initialization".
c906108c
SS
23111 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
23112 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
23113 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 23114 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
23115 "print func2::coremaker_local", and "backtrace in corefile.exp".
23116 * gdb.base/signals.exp: Build and source signals.ci.
23117 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
23118 to be for gcc only.
23119 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 23120
c906108c
SS
23121Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23122
23123 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
23124 Feb 3 procfs.c change.
23125
23126Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
23127
23128 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
23129
23130Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
23131
23132 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
23133 from dejagnu's apparent default of 10 seconds, which gives random
23134 results when running the tests over NFS on moderately loaded systems.
23135 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
23136
23137Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
23138
23139 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
23140 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 23141 result reports.
c906108c
SS
23142
23143Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
23144
23145 * configure.in (CY_AC_PATH_TCLH): Remove.
23146 * configure: Regenerate.
23147
23148Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
23149
23150 * gdb.c++/Makefile.in (clean): Add missing '{'.
23151
23152Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
23153
23154 * lib/gdb.exp: Provide a default value for noinferior.
23155
23156 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
23157 Load libgloss.exp.
23158
23159Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
23160
23161 * gdb.disasm/hppa.exp: Compile directly into an executable, use
23162 the executable, not the .o to run the tests from.
23163
23164Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
23165
23166 * gdb.base/break.exp: Don't test for program exit or exit status
23167 if $noresults if nonzero.
23168 * gdb.base/langs.exp: Likewise.
23169 * gdb.base/watchpoint.exp: Likewise.
23170
23171 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
23172 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
23173 trying to compile the testcase.
23174
23175Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
23176
23177 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
23178 * gdb.base/signals.exp (continue to handler): Likewise.
23179
23180Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
23181
23182 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
23183
23184 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
23185
23186Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
23187
23188 * gdb.base/corefile.exp: Recognize "not found" as failure
23189 when trying to determine if a core file was generated.
23190 If no core file was generate the first time, try again without
23191 the ulimit -c to work around braindamaged shells.
23192
23193Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
23194
23195 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
23196 [] tests with "test" and enclose string in quotes.
23197 * gdb.stabs/configure: Rebuild
d63a86f8 23198
c906108c
SS
23199Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
23200
23201 Changes in sync with expect:
23202 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
23203 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
23204 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
23205 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
23206 argument to AC_REQUIRE.
23207 * configure: Regenerated.
23208
23209Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
23210
23211 * gdb.base/corefile.exp: When generating a core, discard any
23212 error messages about ulimit not found and the "core dumped"
23213 message from the shell that runs the coredumper.
23214
23215Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
23216
23217 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
23218
23219 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
23220 which sed script to run. Expect failure for v_comb test
23221 on PA targets too.
d63a86f8 23222
c906108c
SS
23223Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
23224
23225 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 23226 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
23227
23228Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
23229
23230 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
23231 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 23232 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
23233 * lib/gdb.exp (default_gdb_start): Fix typo.
23234 * gdb.base/corefile.exp: Allow "Core was generated by ..."
23235 messages to not include the full program name that caused
23236 the core dump since some systems (such as solaris) apparently
23237 truncate this path to about 80 characters.
23238 When generating a core file first try increasing the core file
23239 size limit to unlimited since some systems may default it to
23240 zero, and it is harmless to try it. Move the test for failing
23241 to generate a core file to where it will actually get executed.
23242 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
23243 new gdb result from g++ debug info improvements and make old
23244 pattern obsolescent. Also account for size_t differences
23245 (may be int or long).
23246 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
23247 initialization before function call is placed in the delay slot
23248 and thus appears to be skipped over by commands such as "next".
23249
23250Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
23251
23252 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
23253
23254Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
23255
23256 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
23257 input source file; fix code to compile test to deal with this
23258 convention.
23259 * gdb.c++/*.exp: Likewise.
23260
23261Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
23262
23263 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
23264 "bt in signals.exp".
23265
23266Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
23267
23268 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
23269 "step over execarg initialization" and
889bf7c5 23270 "step over corearg initialization".
c906108c
SS
23271
23272Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
23273
23274 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
23275 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
23276
23277Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
23278
23279 From Rob Savoye (rob@poseidon.cygnus.com)
23280 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
23281 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
23282 configure.in}, gdb.disasm/{Makefile.in, configure.in},
23283 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
23284 configure.in}: Major reworking for autoconfig.
c906108c
SS
23285 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
23286 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 23287 New files.
c906108c
SS
23288 * config/unix-gdb.exp: Make GDB global.
23289 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
23290 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
23291 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
23292 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
23293 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
23294 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 23295 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
23296 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
23297 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
23298 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
23299 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 23300 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
23301 to returns as necessary, arrange for test to compile own testcase
23302 executable.
c906108c 23303 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 23304
c906108c
SS
23305Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
23306
23307 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 23308 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
23309 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
23310 "backtrace through signal handler".
23311
23312Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23313
23314 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
23315 continuing from a job control stop signal.
23316 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
23317
23318Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
23319
23320 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
23321 * gdb.base/corefile.exp: Likewise.
23322 * gdb.base/funcargs.exp: Likewise.
23323
23324Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
23325
23326 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
23327 * config/monitor.exp: Add support for setting baud rate.
23328
23329Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
23330
23331 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
23332 i*86-*-linux* xfails for "backtrace through signal handler".
23333 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
23334 "print func2::coremaker_local".
23335 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 23336 alpha-dec-osf2* xfail for
c906108c
SS
23337 "delete all breakpoints when none".
23338
23339Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
23340
23341 * gdb.base/break.exp: Change test that deletes all breakpoints
23342 when no user breakpoints are installed. A post 4.15 change
23343 causes gdb to no longer prompt in this case.
23344
23345Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
23346
23347 * gdb.base/return.exp (return_tests): Change xfail for test
23348 "correct value returned double test" to stop xfailing at
23349 Solaris 2.5. Apparently the bug has been fixed.
23350
23351Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
23352
23353 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
23354 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
23355
23356Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
23357
23358 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
23359 * gdb.disasm/hppa.s: Corresponding changes.
23360
23361Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
23362
23363 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
23364 makefile fragment.
23365 * config/mt-hpux: Deleted.
23366
23367Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
23368
d63a86f8 23369 * Many files: When warning about suppressed tests due to a
c906108c
SS
23370 nonexistant test binary, avoid incrementing the warning count.
23371
23372Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
23373
23374 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 23375
c906108c
SS
23376Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23377
23378 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
23379 "sparc-*-solaris2*".
23380
23381Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23382
23383 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
23384 Add global and local variables and initialize them.
23385 * gdb.base/corefile.exp: Test correct mapping of corefile sections
23386 by printing variables. Remove rs6000 and powerpc xfails, BFD now
23387 extracts the file name and terminating signal from the core file.
23388 * TODO: Remove note about tests for correct mapping of corefile.
23389 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
23390 from optimizing it away.
23391 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
23392 handles common blocks.
23393
23394Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
23395
23396 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
23397 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
23398
23399Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
23400
23401 * Makefile.in (maintainer-clean): New target, synonym for
23402 realclean.
23403 * gdb.base/Makefile.in (maintainer-clean): Likewise.
23404 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
23405 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
23406 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
23407 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
23408 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
23409
23410Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
23411
23412 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
23413 xfails when not gcc compiled for "print foo::funclocal".
23414 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
23415 "print foo::funclocal at foo",
23416 "print 'scope1.c'::foo::funclocal at foo",
23417 "print foo::funclocal_bss at foo",
23418 "print 'scope1.c'::foo::funclocal_bss at foo",
23419 "print foo::funclocal_ro at foo",
23420 "print 'scope1.c'::foo::funclocal_ro at foo",
23421 "print bar::funclocal at foo" and
23422 "print 'scope1.c'::bar::funclocal at foo".
23423 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
23424 gcc compiled for "print foo::funclocal at bar".
23425 Expand all messages to ensure that they identify that
23426 the test is at bar().
23427 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
23428 gcc compiled for:
23429 "ptype on opaque struct pointer (statically)",
23430 "ptype on opaque struct tagname (statically)",
23431 "ptype on opaque struct pointer (dynamically) 1",
23432 "ptype on opaque struct tagname (dynamically) 1",
23433 "ptype on opaque struct pointer (dynamically) 2" and
23434 "ptype on opaque struct tagname (dynamically) 2
23435 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
23436 gcc compiled for:
23437 "p datalocal"
23438 "whatis datalocal",
23439 "ptype datalocal",
23440 "p bsslocal",
23441 "whatis bsslocal", and
23442 "ptype bsslocal".
23443 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
23444 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
23445 when not gcc compiled.
23446 * gdb.base/funcargs.exp (float_and_integral_args): Add
23447 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
23448 compiled.
23449 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
23450 "backtrace from call6a" when not gcc compiled.
23451 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
23452 "backtrace from call7a" when not gcc compiled.
23453 * gdb.base/callfuncs.exp (do_function_calls):
23454 Add "hppa*-*-hpux*" xfail when not gcc compiled for
23455 "p t_char_array_values(char_array_val2,char_array_val1)",
23456 "p t_char_array_values(char_array_val1,char_array_val2)",
23457 "p t_char_array_values("carray 1","carray 2")",
23458 "p t_char_array_values("carray 1",char_array_val2)",
23459 "p t_char_array_values(char_array_val1,"carray 2")",
23460 "p sum_args(1,{2})",
23461 "p sum_args(2,{2,3})",
23462 "p sum_args(3,{2,3,4})",
23463 "p sum_args(4,{2,3,4,5})"
23464 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
23465 "backtrace in corefile.exp" when not gcc compiled.
23466
23467Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23468
23469 * gdb.base/signals.exp: Rewrite `handle all print' test as
23470 a procedure. Accept blanks or TABs as whitespace, increase
23471 timeout and expect input buffer size for the large output
23472 from the command. Remove "i*86-*-bsdi2.0" xfail.
23473
23474Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23475
23476 * gdb.base/setvar.exp: Add new testcases for truncation when
23477 assigning invalid values to bitfields.
23478
23479Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
23480
d63a86f8 23481 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
23482 mips-sgi-irix* xfail for
23483 "call inferior func with struct - returns char *"
23484 and fix test so that an optional (unsigned char *) cast is
889bf7c5 23485 accepted in the result.
c906108c
SS
23486
23487Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
23488
23489 * gdb.base/funcargs.exp (float_and_integral_args): Remove
23490 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23491 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
23492 * gdb.base/signals.exp: Remove duplicate "handle all print" test
23493 that accidentally got checked in.
23494
23495Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
23496
d63a86f8 23497 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
23498 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
23499 compiled test.
23500 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
23501 Add mips-sgi-irix5* xfail for not gcc compiled.
23502 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
23503 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
23504 "p top", "whatis top", "p middle", and "whatis middle".
23505 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
23506 "whatis signed char" for not gcc compiled.
23507 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
23508 "set variable signed char=-1 (-1)" and
23509 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
23510 * gdb.base/funcargs.exp (float_and_integral_args):
23511 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
23512 Add mips-sgi-irix* xfail when not gcc compiled for
23513 "continue to call2b".
23514 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
23515 "continue to call2g".
23516 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
23517 "backtrace from call6a"
23518 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
23519 "backtrace from call7k".
23520 Add mips-sgi-irix5* xfail when not gcc compiled for
23521 "backtrace from call7a".
23522 (localvars_after_alloca): Fix gdb_test cmds for
23523 "print * after runto ...".
23524 Remove rs6000-*-* xfails for
23525 "print i after runto localvars_after_alloca" and
23526 "print l after runto localvars_after_alloca"
23527 for all compilers.
23528 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 23529 when not compiled with gcc, for:
c906108c
SS
23530 "print signed char == (minus)",
23531 "print signed char != (minus)",
23532 "print signed char < (minus)",
23533 "print signed char > (minus)".
23534 * gdb.base/callfuncs.exp (do_function_calls):
23535 Add mips-sgi-irix* xfail, when compiled with native compiler, for
23536 "call inferior func with struct - returns char *".
d63a86f8 23537 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
23538 "correct value returned double test" to include Solaris 2.4.
23539 * gdb.base/funcargs.exp (float_and_integral_args):
23540 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 23541
c906108c
SS
23542Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23543
23544 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
23545 enumeration bitfields if compiling with GNU C.
23546 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
23547 to empty' prompt.
23548
23549Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
23550
23551 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
23552 test for PRO targets.
23553
23554 * gdb.base/funcargs.exp: Avoid ever setting more than 8
23555 breakpoints in the inferior at any given time by making
23556 two groups of breakpoints for call2*, call6* and call7*
23557 tests.
23558
23559Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23560
23561 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
23562 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
23563 from optimizing it away.
23564 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
23565 "call inferior func with struct".
23566
23567Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
23568
23569 * configure.in: Only configure gdb.chill for particular targets.
23570
23571Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
23572
23573 * gdb.base/Makefile.in: Add action to .c.o transformation
23574 rule that generates a .ci file for each .o file and remove
23575 explicit .c.o rules except for callfuncs.o.
23576 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
23577 generates a .ci file for each .o file and remove explicit
23578 .cc.o rules.
23579 (clean): Remove *.tmp *.ci files.
23580 (EXECUTABLES): Remove templ-info.exp.
23581 * gdb.base/compiler.c: New file.
23582 * gdb.c++/compiler.cc: New file
23583 * gdb.base/scope.exp: Source gdb.base/scope.ci.
23584 Change rs6000-*-* xfail for
23585 "print 'scope0.c'::filelocal_ro" and
23586 "print 'scope1.c'::filelocal" and
23587 "print 'scope1.c'::filelocal_bss" and
23588 "print 'scope1.c'::filelocal_ro" and
23589 "print 'scope1.c'::foo::funclocal" and
23590 "print 'scope1.c'::foo::funclocal_ro" and
23591 "print 'scope1.c'::bar::funclocal" and
23592 "print 'scope0.c'::filelocal_ro" and
23593 "print 'scope1.c'::filelocal at foo" and
23594 "print 'scope1.c'::filelocal_bss at foo" and
23595 "print 'scope1.c'::filelocal_ro at foo" and
23596 "print 'scope1.c'::foo::funclocal at foo" and
23597 "print 'scope1.c'::foo::funclocal_bss at foo" and
23598 "print 'scope1.c'::foo::funclocal_ro at foo" and
23599 "print 'scope1.c'::bar::funclocal at foo" and
23600 "print 'scope0.c'::filelocal_ro" and
23601 "print 'scope1.c'::filelocal" and
23602 "print 'scope1.c'::filelocal_bss" and
23603 "print 'scope1.c'::filelocal_ro" and
23604 "print 'scope1.c'::foo::funclocal" and
23605 "print 'scope1.c'::foo::funclocal_bss" and
23606 "print 'scope1.c'::foo::funclocal_ro" and
23607 "print 'scope1.c'::bar::funclocal" and
23608 "print 'scope1.c'::bar::funclocal_bss"
23609 to only be xfail'd when not compiled with gcc.
d63a86f8 23610 Add rs6000-*-* xfail for
c906108c
SS
23611 "print 'scope0.c'::filelocal_bss before run"
23612 when compiled with gcc.
23613 (test_at_main): Add rs6000-*-* xfail for
23614 "print filelocal_ro in test_at_main"
23615 when compiled with gcc.
23616 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 23617 Add rs6000-*-aix* xfail for
c906108c
SS
23618 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
23619 "ptype t_char_array", not compiled with gcc.
23620 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
23621 xfail for "list foo (in include file)" when gcc compiled.
23622 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 23623 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
23624 "run to call0a" if not compiled with gcc.
23625 (unsigned_integral_args): Add rs6000-*-* xfail for
23626 "run to call1a" if not compiled with gcc.
23627 (float_and_integral_args): Add rs6000-*-* xfail for
23628 "run to call2a" if not compiled with gcc and for
23629 "continue to call2b" for any compiler.
23630 Add rs6000-*-* xfail to
23631 "print f1 after run to call2a" for gcc compiled.
23632 (discard_and_shuffle): Add rs6000-*-* xfail for
23633 "run to call6a".
23634 (shuffle_round_robin): Add rs6000-*-* xfail for
23635 "backtrace from call7a" if not compiled with gcc.
23636 Add rs6000-*-* xfail for
23637 "backtrace from call7b" if compiled with gcc.
23638 (call_after_alloca): Add rs6000-*-* xfail for
23639 "print c in call_after_alloca" and
23640 "print s in call_after_alloca" and
23641 "backtrace from call_after_alloca_subr"
23642 if not compiled with gcc.
23643 (localvars_in_indirect_call): Add rs6000-*-* xfail for
23644 "print c in localvars_in_indirect_call" and
23645 "print c in localvars_in_indirect_call" and
23646 "backtrace in indirectly called function" and
23647 "stepping into indirectly called function"
23648 if not compiled with gcc.
23649 (localvars_after_alloca): Add rs6000-*-* xfail for
23650 "print c after runto localvars_after_alloca" and
23651 "print s after runto localvars_after_alloca" and
23652 "print i after runto localvars_after_alloca" and
23653 "print l after runto localvars_after_alloca"
23654 for all compilers.
23655 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
23656 than whatis-info.exp.
23657 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
23658 than opaque-info.exp.
23659 Setup rs6000-*-* xfail for
d63a86f8 23660 "ptype on opaque struct pointer (statically)" and
c906108c
SS
23661 "ptype on opaque struct pointer (dynamically)" when
23662 not compiled with gcc.
23663 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
23664 rather than callf-info.exp.
23665 (do_function_calls): Add clear_xfail for rs6000-*-* for
23666 "p t_float_values2(3.14159,float_val2)". Seems to work
23667 fine there, both with xlc and gcc. Need to find out what
23668 it is doing right and fix other platforms.
23669 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
23670 "call inferior func with struct - returns int",
23671 "call inferior func with struct - returns long",
23672 "call inferior func with struct - returns float",
23673 "call inferior func with struct - returns double",
23674 "call inferior func with struct - returns char *",
23675 but only if not gcc compiled (presumes xlc compiled).
23676 Change rs6000-*-* xfails for
23677 "call inferior func with struct - returns char" and
23678 " call inferior func with struct - returns short" to only
23679 xfail if not using gcc.
23680 (clean mostlyclean): Remove *.ci and *.tmp files.
23681 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
23682 than templ-info.exp.
23683 * gdb.base/langs.exp: Source gdb.base/langs.ci.
23684 Add rs6000-*-* xfail for "up to foo in langs.exp"
23685 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 23686 when not gcc compiled.
d63a86f8 23687
c906108c
SS
23688Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23689
23690 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
23691 * gdb.base/corefile.exp: Likewise.
23692 * gdb.base/list.exp: Likewise.
23693 * gdb.base/scope.exp: Likewise.
23694 * gdb.base/siganls.exp: Likewise.
23695
23696 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
23697 compiler output.
23698 * gdb.base/whatis.exp: Likewise.
23699
23700Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
23701
23702 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
23703 failure (opcode table has been fixed to match reality).
23704
23705Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
23706
23707 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
23708 "call inferior func with struct - returns char",
23709 "call inferior func with struct - returns short"
23710
23711 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
23712 "print 'scope0.c'::filelocal at main",
23713 "print 'scope0.c'::filelocal_bss in test_at_main",
23714 "print 'scope0.c'::filelocal at foo",
23715 "print 'scope0.c'::filelocal_bss in test_at_foo",
23716 "print 'scope0.c'::filelocal at bar",
23717 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 23718
c906108c
SS
23719 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
23720 in source file 1". This bug seems to have been fixed with both
23721 gcc and native cc (was native assembler bug?).
23722
23723Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
23724
23725 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
23726 "backtrace through signal handler" to "i*86-*-sysv4*".
23727 * gdb.base/signals.exp: Add xfail for "'next' behaved as
23728 continue" case. Add "known SVR4 bug" to fail message.
23729 Add "i*86-*-bsdi2.0" xfail for "handle all print".
23730 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
23731 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
23732 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
23733 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
23734 "up to foo in langs.exp", "show language at foo in
23735 langs.exp", "up to cppsub_ in langs.exp", "show
23736 language at cppsub_ in langs.exp", "up to fsub in
23737 langs.exp", and "show language at fsub in langs.exp".
23738 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
23739 "bactrace in corefile.exp".
23740 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
23741 "call inferior function with struct - returns float" and
23742 "call inferior function with struct - returns double".
d63a86f8 23743
c906108c
SS
23744Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
23745
23746 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
23747 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
23748 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
23749 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
23750
23751Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
23752
23753 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
23754 (or overriden) "CHILL" macro rather then bare "gcc".
23755 Also look for ../../gcc/xgcc since that is what we will
23756 actually need, not "Makefile". Remove following assignment
23757 of CHILL to CHILL_FOR_TARGET because that results in
23758 recursive definition.
23759
23760Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
23761
23762 * gdb.base/corefile.exp: Change xfail for backtrace in
23763 corefile.exp from linuxaout to all linux.
23764 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
23765 cases where we miss the breakpoint at the signal handler
23766 for some reason. Setup xfail for linuxoldld/linuxaout and
23767 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
23768 hitting SIGURG breakpoint.
23769 * gdb.base/signals.exp: Setup xfail for "next" acting like
23770 continue to add linuxoldld. Setup xfail for all linux for
23771 "next to handler in signals_tests_1", "backtrace in
23772 signals_tests_1", "continue to func1", "pass SIGUSR1",
23773 and continue to handler".
23774
23775Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
23776
23777 * Update all FSF addresses except those in COPYING* files.
23778
23779Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
23780
23781 * gdb.base/a2-run.exp: Change messages to be more explicit about
23782 the status of args, and quote binfile in results.
23783
23784Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
23785
23786 * gdb.base/callfuncs.exp: Add tests for passing structs to
23787 inferior functions and return various types.
23788 * gdb.base/callfuncs.c: Add functions to receive a struct
23789 and return a member of the struct, in various types.
23790
23791Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23792
23793 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
23794
23795Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
23796
23797 * config/vxworks29k.exp: New file, sources vxworks.exp.
23798
23799Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23800
23801 * config/gdbremote.exp: New file. Testing framework using
23802 gdbserver.
23803
23804Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
23805
23806 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
23807 "call function when asleep" and "send end of file".
23808 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
23809 for "backtrace in corefile.exp".
23810 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
23811 for "backtrace through signal handler".
23812 * gdb.base/corefile.exp: Make sure we actually generate a core file
23813 before trying the core tests. Some systems allow the user to suppress
23814 generation of core files and default to that (linux for example).
23815 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
23816 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
23817
23818Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23819
23820 * gdb.threads: New directory with some crude multi-threaded
23821 gdb tests (step.exp and step2.exp).
23822 * config/mt-lynx (STEP_EXECUTABLE): Define.
23823 (THREADFLAGS): Define.
23824
23825Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
23826
23827 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
23828
23829 * gdb.base/signals.exp: Disable whole file for lynx until
23830 further notice.
23831
23832 * gdb.base/signals.exp: xfail test where "next" acts like
23833 "continue" for lynx.
23834
23835 * gdb.base/interrupt.exp: xfail test for calling function while
23836 inferior is asleep for lynx.
23837
23838 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
23839 than one cr-lf after each command.
23840
23841Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23842
23843 * configure.in: Reinstate setting of stabsdirs variable, fix
23844 typo in setting up configdirs for native builds.
23845
23846 * gdb.base/return.exp: Fix typo in return double test.
23847 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
23848 compiler from optimizing them away.
23849
23850Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
23851
23852 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
23853 sequences to be echo'd by gdb when using gdb_test.
23854 * gdb.chill/chexp.exp: Likewise.
23855 * gdb.fortran/exprs.exp: Likewise
23856
23857Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23858
23859 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
23860 after the inferior gdb has started.
23861
23862 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
23863 after each command.
23864 * gdb.base/funcargs.exp: Likewise.
23865 * gdb.base/gdbvars.exp: Likewise.
23866 * gdb.base/interrupt.exp: Likewise.
23867 * gdb.base/list.exp: Likewise.
23868 * gdb.base/watchpoint.exp: Likewise.
23869 * gdb.c++/demangle.exp: Likewise.
23870 * gdb.c++/inherit.exp: Likewise.
23871 * gdb.chill/chexp.exp: Likewise.
23872 * gdb.fortran/exprs.exp: Likewise.
23873
23874 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
23875 test if we can't handle IO to/from the inferior.
23876
23877 * gdb.c++/misc.exp: Always check for a program already being
23878 started after sending a "run" command to gdb.
23879
23880 * gdb.base/twice.exp: Start with a fresh gdb.
23881
23882 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
23883 only depend on gdb's expression code, not the chill runtime.
23884
23885 * gdb.base/return.c: Put return values into variables so we
23886 can have gdb print them rather than depending on the program
23887 to print them.
23888 * gdb.base/return.exp: Corresponding changes.
23889
23890 * lib/gdb.exp: Provide default value for noinferiorio.
23891 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
23892 the inferior.
23893
23894 * gdb.base/break.exp: Always check for a program already being
23895 started after sending a "run" command to gdb.
23896 (text_next_with_recursion): Don't check the output from the
23897 program's printf statement. Instead just make sure the program
23898 exited.
23899
23900 * gdb.base/commands.exp: Protect tests which need arguments with
23901 $noargs conditionals.
23902
23903Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23904
23905 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
23906 of structure member arrays to match gdb/valops.c:value_addr change.
23907
23908Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
23909
23910 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
23911 cases.
23912
23913Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
23914
23915 * configure.in (configdirs): Remove gdb.chill from default list
23916 of subdirs and then add it back in only if doing a native build.
23917 The current chill compiler does not yet work in any cross build.
23918 * Revert all signal changes from Jul 6.
23919 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
23920 for sh-hms targets, allowing these tests to link, with no other
23921 changes. Testing is suppressed by setting "nosignals" in site.exp.
23922
23923Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
23924
23925 * configure.in (signaldirs): Define and add to configdirs for all
23926 targets except some specific ones that are known to not support signals.
23927 Also clean up formatting.
23928 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
23929 (signals, sigall): Remove rules to build.
23930 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
23931 Moved to new gdb.signals directory.
23932 * gdb.signals: New test directory.
23933 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
23934 signals.c signals.exp}: New or moved files.
23935
23936Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
23937
23938 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
23939
23940Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
23941
23942 * gdb.base/return.exp: Xfail `return double' test failure
23943 on at least Solaris 2.3 and handle future/past versions on
23944 a case by case basis as appropriate. Also update message
23945 to include i*86 failures.
23946
23947Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23948
23949 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
23950
23951 * lib/gdb.exp: Fix comment which erroneously identified
23952 gdb_file_cmd as gdb_load (the 19 May change was in fact to
23953 gdb_file_cmd not gdb_load).
23954 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
23955
23956 * gdb.base/setvar.exp: Make test names consistent between pass and
23957 fail cases. Use gdb_test more.
23958
23959Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23960
23961 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
23962
23963Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23964
23965 * gdb.base/help.exp: Fix expected help string for `show commands'.
23966
23967Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
23968
23969 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
23970
23971 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
23972 of a text section.
23973
23974Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
23975
23976 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
23977 that loop eventually terminates. Fix Connection refused logic so
23978 that testsuite will expire nicely.
23979
23980Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
23981
23982 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
23983 config/rom68k.exp: New tcl glue for the appropriate monitors.
23984 These all just end up calling monitor.exp.
23985 * config/monitor.exp (gdb_target_monitor): Handle `Connection
23986 refused' by retrying. Cleanup some timeout issues.
23987 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
23988 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
23989 callers don't have to set/restore global timeout variable.
23990
23991 * The following set of changes centralizes management of the global
23992 timeout variable. This way, it can be set in one target dependent
23993 place instead of dozens of places scattered throughout the test suite.
23994 If you need to lengthen a timeout, then you should either set timeout
23995 in one of the config/{target}.exp files, or multiply it by a factor.
23996 Setting it to an absolute value is always going to lose for some
23997 targets.
23998 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
23999 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
24000 * gdb.base/funcargs.exp: Don't set timeout.
24001 * gdb.base/list.exp (test_forward_search): Only use local timeout.
24002 * gdb.base/printcmds.exp (test_print_string_constants
24003 test_print_array_constants): Don't set timeout.
24004 * gdb.base/ptype.exp: Don't set timeout.
24005 * gdb.base/recurse.exp: Don't set timeout.
24006 * gdb.base/return.exp: Don't set timeout.
24007 * gdb.base/watchpoint.exp: Don't set timeout.
24008 * gdb.c++/classes.exp (do_tests): Don't set timeout.
24009 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
24010
24011Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
24012
24013 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
24014
24015Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24016
24017 * lib/gdb.exp: Disable chill tests for irix5.
24018
24019Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24020
24021 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
24022 each test pass or fail.
24023
24024Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24025
24026 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
24027 xlc not gcc.
24028
24029Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
24030
24031 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
24032
24033Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
24034
24035 * config/est.exp: Fix copyright and comments. Remove dead code.
24036 Use targetname, serialport and baud variables instead of fixed
24037 constants.
24038 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
24039 * config/cpu32bug.exp: New file to support cpu32bug monitors.
24040
24041Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24042
24043 * gdb.base/watchpoint.exp: Don't run
24044 test_watchpoint_triggered_in_syscall for sunos.
24045
24046Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24047
24048 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
24049 they don't seem to exist. Do include stdio.h.
24050
24051Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24052
24053 * gdb.base/a1-selftest.exp: Add alpha xfail.
24054
24055Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24056
24057 * gdb.base/watchpoint.c (main): Prompt before calling read().
24058 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24059 Revise accordingly. Remove cruft about sending "123" several
24060 times, until it gets noticed. Clean up the "print buf[0]" stuff
24061 so that it passes or fails, and waits for prompts in the usual way.
24062
24063Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24064
24065 * gdb.base/recurse.exp: Fix comment.
24066
24067 * TODO: Remove item about printing variables in nodebug.exp. Add
24068 item about enabling tests which are only run on some targets.
24069
24070 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
24071 fail, make test names unique, use new gdb_test convention
24072 regarding pattern, use gdb_test more, etc.).
24073
24074 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
24075 fail, make test names unique, etc.).
24076
24077Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24078
24079 * gdb.base/nodebug.c: Change return type of top and middle to
24080 short.
24081 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
24082 are fixed by the recent mdebugread.c changes. Allow `short ()'
24083 as type for top and middle.
24084
24085Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24086
24087 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
24088 nearly as I can tell, the whole thing was an accident in Stu's
24089 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
24090 to replace a send/expect pair with gdb_test, but ended up only
24091 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
24092 of 30 Mar 1995 took care of it, but left this vestigial comment
24093 which I am now nuking.
24094
24095Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24096
24097 * gdb.base/break.exp: Look for different line number for
24098 breakpoint at main depending on usestubs.
24099
24100Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24101
24102 * gdb.base/list.exp: Adjust some alternate expect patterns to
24103 match recent list0.c change. Add alternate expect pattern for
24104 output from `list default lines around main' for optimizing
24105 compilers.
24106
24107Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24108
24109 * lib/gdb.exp: If nosignals is not set, set it to 0.
24110
24111Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
24112
24113 * config/slite-gdb.exp: Responds to load symbol table prompt.
24114 * gdb.base/break.exp: Adjust line number, fix rerun.
24115 * gdb.base/langs0.c: Add #ifdef usestubs.
24116
24117Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
24118
24119 * gdb.base/list.exp: Adjust line contents after adding new lines in
24120 list0.c. Also fix a syntax error.
24121
24122 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
24123 * gdb.base/break.exp: ditto.
24124 * gdb.base/list.exp: ditto.
24125 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
24126 * gdb.base/run.c: ditto.
24127 * gdb.base/list0.c: ditto.
24128 * gdb.base/funcargs.c: ditto.
24129
24130Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
24131
24132 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
24133 $targetname, $serialport and $baud instead of hardwired variables.
24134 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
24135 target doesn't support signals.
24136
24137Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
24138
24139 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
24140
24141Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24142
24143 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
24144 Don't rely on the value of an auto variable before it has been
24145 initialized. Use gdb_test more.
24146
24147Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24148
24149 * lib/gdb.exp (default_gdb_version): A version number must start
24150 with a digit, but other than that contains all characters up to
24151 the first whitespace character.
24152
24153Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24154
24155 * gdb.base/commands.exp (breakpoint_command_test): New tests.
24156
24157Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24158
24159 * gdb.c++/*.exp: Warn if executable does not exist. The original
24160 reason for skipping the warning was that configure.in sometimes
24161 intentionally skipped building the executables but the tcl code
24162 had no way of knowing. That (a) was always bogus with respect to
24163 error handling, (b) is no longer true (right now there is no way
24164 to skip C++ tests).
24165
24166 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
24167
24168Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24169
24170 * gdb.base/list.exp: Add expect patterns for output from
24171 SunPRO compiled executables.
24172 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
24173 types.
24174
24175Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24176
24177 * gdb.base/break.exp (test_next_with_recursion): Accept any line
24178 number (we are already testing that the correct source line text
24179 gets printed).
24180
24181 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
24182 that is what is intended, but something needed to be done to get
24183 sunos4 native working again.
24184
24185 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
24186
24187 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
24188 apparently went with a (very) old xfail.
24189
24190Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
24191
24192 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
24193 runto_main is a proc in gdb.exp that will do 'step' for target use
24194 stubs.
24195 * gdb.base/exprs.exp: ditto.
24196 * gdb.base/interrupt.exp: ditto.
24197 * gdb.base/opaque.exp: ditto.
24198 * gdb.base/printcmds.exp: ditto.
24199 * gdb.base/ptype.exp: ditto.
24200 * gdb.base/scope.exp: ditto.
24201 * gdb.base/setvar.exp: ditto.
24202 * gdb.base/signals.exp: ditto.
24203 * gdb.base/twice.exp: ditto.
24204 * gdb.c++/classes.exp: ditto.
24205 * gdb.c++/inherit.exp: ditto.
24206 * gdb.c++/templates.exp: ditto.
24207 * gdb.base/break.exp: no run and hit main for stubs. Change line
24208 numbers for breakpoints and info breakpoint.
24209 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
24210 breakpoint().
24211 * gdb.base/callfuncs.c: ditto.
24212 * gdb.base/exprs: ditto.
24213 * gdb.base/interrupt.c: ditto.
24214 * gdb.base/opaque0.c: ditto.
24215 * gdb.base/printcmds.c: ditto.
24216 * gdb.base/ptype.c: ditto.
24217 * gdb.base/scope0.c: ditto.
24218 * gdb.base/setvar.c: ditto.
24219 * gdb.base/signals.c: ditto.
24220 * gdb.base/twice.c: ditto.
24221 * gdb.c++/misc.cc: ditto.
24222 * gdb.c++/templates.cc: ditto.
24223
24224Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24225
24226 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
24227
24228 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
24229 somewhere between `read' and `main.c'. I'm pretty sure the
24230 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
24231 and it isn't particularly useful.
24232
24233 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
24234
24235Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24236
24237 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
24238
24239Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
24240
24241 * config/mt-slite: add LIBS and -nostdlib.
24242 * config/slite-gdb.exp: add this new file to support sparclite target.
24243
24244Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
24245
24246 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
24247
24248 * gdb.base/a2-run.exp: Change argument to istarget from
24249 "*-*-vxworks" to "*-*-vxworks*".
24250 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
24251
24252Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
24253
24254 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
24255 will not runto main but do a 'step' to step out of breakpoint().
24256 * config/mt-slite: add -Dusestubs.
24257
24258Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24259
24260 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
24261 instead of just @.
24262
24263 * gdb.base/signals.exp: Add test for "handle all print".
24264 * TODO: Remove "handle all print". Also remove item about
24265 checking copyright date (I don't like the idea of a spurious FAIL
24266 based on when we run the tests).
24267
24268 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
24269 for SunOS4 (reason for failure not investigated). Remove
24270 redundant test for $binfile.
24271
24272 * gdb.base/nodebug.c (array_index): Call malloc.
24273
24274 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
24275
24276Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
24277
24278 * gdb.base/recurse.exp: Update gdb_test invocation to use new
24279 conventions and slightly simplify the matching regexp.
24280
24281Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24282
24283 * gdb.base/break.exp: Update gdb_test invocation to use new
24284 convention.
24285
24286 * lib/gdb.exp: If noargs is not set, set it to 0.
24287
24288 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
24289 tests unique.
24290
24291 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
24292
24293Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24294
24295 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
24296 one argument of type "<non-float parameter>".
24297
24298Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
24299
24300 * config/rom68k.exp: New file to support Motorola IDP board.
24301 * gdb.base/a2-run.exp: Skip this file if noargs is set.
24302 * gdb.base/break.c: Change things around so that this program
24303 doesn't depend upon args. This is necessary to make remote
24304 targets work (in general, they can't take args).
24305 * gdb.base/break.exp: Don't try to send args to program. Don't
24306 expect output. Also, replace lots of code with gdb_test.
24307
24308Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24309
24310 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
24311 printing of '\'' (which is what the comment says we are testing,
24312 even though we were not), not '''.
24313 (test_integer_literals_rejected): Test that printing ''' is an error.
24314
24315 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24316 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
24317 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
24318 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
24319 Use gdb_test not test_print_accept.
24320 * lib/gdb.exp: Remove test_print_accept.
24321
24322 * gdb.base/signals.exp (signal_tests_1): Make pass message
24323 consistent with fail message.
24324
24325 * gdb.base/whatis.exp: Remove xfails for printing char vs.
24326 unsigned char; the bug (PR 1821) is fixed.
24327
24328 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
24329
24330 * gdb.base/scope.exp (test_at_localscopes): Call pass for
24331 successful tests--makes xfailing them work right.
24332
24333Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24334
24335 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
24336 only \r\n, not .*. The test can pass .* as the last thing in
24337 $pattern if that is what it wants. In addition to providing this
24338 flexibility, this change should speed up pattern matching in cases
24339 where the pattern already ended with .* (there were a number of
24340 them). This change also helps catch bad patterns--in the old
24341 scheme the typo "char \*" instead of "char \\*" would pass. Now
24342 it is caught.
24343 * Many .exp files: Update callers.
24344
24345 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
24346 clearer and does not spuriously match multiple ('s. Likewise for
24347 ) and *.
24348
24349 * gdb.base/nodebug.exp: Test ability to call a function and pass
24350 it a string (even with no debugging info).
24351
24352 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
24353 "p '\'", which is the same as "p ''" once tcl gets done with
24354 quoting, to "p '\\'", which I suspect is what is intended (one
24355 backslash gets sent to GDB).
24356
24357 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
24358
24359Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24360
24361 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
24362 1817) was fixed literally years ago.
24363
24364Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24365
24366 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
24367 test, it causes stepping out of call_after_alloca_subr with
24368 optimizing compilers.
24369 (localvars_in_indirect_call): Consume GDB prompt if `finish'
24370 fails.
24371
24372 * gdb.c++/templates.exp: Source templ-info.exp only if
24373 the templates executable exists.
24374
24375 * gdb.c++/misc.cc (class Contains_static_instance,
24376 class Contains_nested_static_instance),
24377 gdb.c++/classes.exp (test_static_members): Test printing of
24378 a class that contains a static instance of the class.
24379
24380Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24381
24382 * gdb.base/langs2.c (cppsub_): Don't prototype.
24383 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
24384 only, I believe).
24385
24386Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24387
24388 * lib/gdb.exp (skip_chill_tests): New procedure.
24389
24390 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
24391
24392Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
24393
24394 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
24395 each expect pattern. Cuts runtime from 12 to about 4 seconds.
24396
24397Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24398
24399 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
24400
24401 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
24402 disassemble 8, not 16, instructions for part 4.
24403
24404 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
24405 support the latter anymore.
24406
24407 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
24408 -DNO_PROTOTYPES.
24409 * gdb.base/callfuncs.c: Control use of prototypes based on
24410 NO_PROTOTYPES, not __STDC__.
24411 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
24412 t_float_values2 tests if prototypes in use.
24413
24414 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
24415 t_double_values): When checking differences against DELTA, check
24416 that difference is within the range (-DELTA,DELTA), not just
24417 (-infinity,DELTA).
24418
24419Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
24420
24421 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
24422 'file' command firts, then 'target', then 'load', this is due to gdb
24423 target set up.
24424 * config/mips-gdb.exp: Fix a couple regular exp bugs.
24425
24426Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
24427
24428 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
24429 FP load/store variants.
24430 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
24431
24432Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24433
24434 * gdb.base/term.exp: Do not give a warning if not native, it is
24435 not an abnormal condition.
24436
24437Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
24438
24439 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
24440 t_char_array".
24441
24442Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24443
24444 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
24445 are getting the version number.
24446
24447 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
24448 if not native, it is not an abnormal condition.
24449
24450Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24451
24452 * lib/gdb.exp: Just use "file exists", rather than undocumented
24453 dejagnu procedure "findfile".
24454
24455Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24456
24457 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
24458 (LDFLAGS): Set to -Xlinker -Ur.
24459
24460 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
24461 Removed, these values are set by lib/gdb.exp.
24462
24463 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
24464
24465Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24466
24467 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
24468 of replicating gdb startup code.
24469
24470 * config/mt-vxworks (LDFLAGS): Set to -r.
24471 (CFLAGS_FOR_TARGET): Removed.
24472
24473 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
24474 (gdb) and gdb for vxworks uses (vxgdb).
24475
24476 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
24477 executable is not in the tree and host != target, use sed and
24478 program_transform_name to determine the gdb name used by the
24479 target.
24480
24481 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
24482 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
24483
24484Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24485
24486 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
24487 floats, chars, and shorts where there are ANSI-style function
24488 definitions.
24489
24490 * gdb.base/langs.exp, gdb.base/langs*: New test.
24491 * gdb.base/Makefile.in: Build it.
24492 * TODO: Remove item about checking that C names don't get C++
24493 demangling applied; this test tests it.
24494
24495Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24496
24497 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
24498 went with the const70 xfail. The xfail went away a year ago.
24499
24500 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
24501
24502 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
24503 for hp300.
24504
24505 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
24506
24507 * gdb.base/a1-selftest.exp: Don't run on hp300.
24508
24509Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24510
24511 * Makefile.in (site.exp): Set host_alias and target_alias as well
24512 as host_triplet and target_triplet.
24513
24514Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24515
24516 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
24517
24518 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
24519 places as other ecoff systems).
24520
24521 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
24522 ultrix.
24523
24524Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24525
24526 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
24527 remove them.
24528 * gdb.base/nodebug.exp: Accept "function" in addition to "text
24529 variable and "variable" in addition to "data variable".
24530 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
24531
24532 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
24533 2.
24534 * gdb.base/list1.c (long_line): Add additional statement at start
24535 of function.
24536 * gdb.base/list.exp (test_forward_search): Update line number to
24537 reflect new statement.
24538
24539Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24540
24541 * gdb.base/signals.exp: Reinitialize searched source directories
24542 after gdb_start call.
24543
24544Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
24545
24546 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
24547 * gdb.stabs/Makefile.in: Likewise.
24548
24549 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
24550 change. Instead split the tests into smaller pieces.
24551 * gdb.disasm/hppa.s: Corresponding changes.
24552
24553Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24554
24555 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24556 Quote ^C when passing it to stty. For some shells ^ is a pipe.
24557
24558 * gdb.base/funcargs.exp: Modify many tests so that every test
24559 either passes or fails. Make some test names unique.
24560
24561Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24562
24563 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24564 Call stty to set interrupt character.
24565
24566 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
24567 for HP assembler versus GNU assembler based on actual behavior of
24568 $(CC), rather than assuming that $(AS) is always the GNU assembler.
24569
24570 * TODO: Suggest a few more stepping tests.
24571
24572Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
24573
24574 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
24575 restart GDB for h8300 after a continue.
24576 (return): Add pattern to match a29k-udi behavior.
24577 * gdb.base/nodebug.exp: Remove obsolete comment.
24578 * gdb.base/regs.exp: New file, testing of register displays.
24579 * gdb.base/return.exp: Fix typo in reference to $objdir.
24580 * gdb.base/whatis.exp: Always start with a fresh GDB.
24581
24582Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24583
24584 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
24585 higher, these tests generate a lot of output.
24586
24587Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24588
24589 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
24590 code following the catch silently ignored some errors; without the
24591 catch they should be thrown like any other tcl error. Also, the
24592 catch used "" instead of {} which meant all the callers who wanted
24593 to include one of the characters "[]$ had to quote it an extra time.
24594 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
24595 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
24596 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
24597 Remove extra quoting.
24598
24599Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
24600
24601 * gdb.base/commands.exp: Make test names unique; every test either
24602 passes or fails. Update some comments.
24603
24604 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
24605
24606Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24607
24608 The following fixes a FAIL caused by the fact that the alpha stabs
24609 configuration didn't use the ".if alpha" code in weird.def.
24610 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
24611 bit pointer, so the 32 bit version works even on the alpha.
24612 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
24613 Remove the stuff which allowed us to have separate versions for
24614 alpha and everything else.
24615
24616 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
24617 regexp which "info func operator\[\](" is supposed to match. Fix
24618 string to send to GDB. Note that GDB still doesn't work right. Add a
24619 new test for "info func .perator\[\](" which GDB does handle correctly.
24620
24621 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
24622
24623Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24624
24625 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
24626 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
24627 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
24628 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
24629 it makes the tests harder to understand and confuses test-o-matic.
24630 The preferred style is that each test provides a PASS or a FAIL,
24631 and has a unique message (e.g. "continue #54" not just "continue")
24632 which is the same for the pass and the fail.
24633 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24634 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
24635 to lib/gdb.exp.
24636 * gdb.base/printcmds.exp: Use test_print_accept. Remove
24637 prt_accept which was basically the same thing. Likewise for
24638 test_print_reject and prt_reject.
24639 * lib/gdb.exp (test_print_reject): Add some more error message
24640 patterns to match from the former printcmds.exp (prt_reject).
24641 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
24642 One defect of the passcount stuff is that some of it failed to
24643 report XPASS where appropriate.
24644 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
24645 stuff before and after arg in expected pattern.
24646 (test_paddr_operator_functions): Re-do test without print_addr_of;
24647 this is the only test which seems to want extra stuff there.
24648
24649Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24650
24651 * gdb.base/nodebug.exp: Update new tests to reflect improved
24652 wording of gdb output.
24653
24654 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
24655 and "ptype" work on variables in files compiled without -g.
24656 Replaces commented out "maint print msymbol" tests.
24657
24658Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24659
24660 * gdb.base/setvar.c (dummy): Call malloc.
24661
24662 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
24663 losing with the irix4 sed.
24664
24665 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
24666 ALRM" on irix4.
24667
24668Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24669
24670 * TODO: Remove items about corefile.exp testing new exec-file and
24671 backtrace; both are now done. Add items about printing enums.
24672
24673Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24674
24675 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
24676 "get signal $thissig" test fails.
24677
24678 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
24679
24680Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24681
24682 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
24683 compiler warning with dec alpha compiler.
24684
24685 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
24686 extra \n from gdb_test call (this explains why the prompt test
24687 that I removed yesterday was there).
24688 (user_defined_command_test): Remove extra \n and prompt test.
24689
24690 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
24691 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
24692 doesn't exist.
24693 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
24694 Also remove alpha workaround, which turns out to be because
24695 SIGABRT == SIGLOST.
24696
24697 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
24698
24699 * gdb.base/help.exp: Don't test "help show".
24700
24701Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24702
24703 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
24704 "set print address" is on.
24705 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
24706 pass prompt to gdb_test; gdb_test already looks for the prompt.
24707
24708 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
24709
24710 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
24711 was a vestige of the manual TESTSTRATEGY, and the purpose of it
24712 was to make sure that gdb can read a core file. But (a) the "read
24713 the corefile" part didn't make it to a1-selftest.exp, we just
24714 delete the corefile after creating it, and (b) we test reading
24715 corefiles in corefile.exp anyway. Also, this test left around a
24716 xgdb process on Solaris.
24717
24718 * gdb.base/corefile.exp: Also test backtrace.
24719
24720Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
24721
24722 * gdb.base/commands.exp: Test a simple user defined command with
24723 arguments and if/while statements; verify the full user command is
24724 printed by "show user".
24725
24726 * gdb.base/commands.exp: Test if/while commands as part of a
24727 breakpoint command list; verify they appear in breakpoint
24728 information.
24729
24730Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24731
24732 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
24733 than by dividing by zero.
24734
24735Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
24736
24737 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
24738 performing an inferior call with watchpoints enabled.
24739 * gdb.base/watchpoint.c (main): Delete second unnecessary read
24740 call.
24741
24742Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24743
24744 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
24745 of "file" command.
24746
24747 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
24748 Add additional pattern for when "int operator int(void);" appears
24749 in a different order.
24750
24751Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24752
24753 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
24754
24755 * gdb.base/help.exp: Replace most of docstrings for "info signals"
24756 and "signal" with ".*".
24757
24758Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24759
24760 * TODO: Add note about "handle all nostop".
24761
24762 * gdb.base/{sigall.c, sigall.exp}: New test.
24763 * gdb.base/Makefile.in: Add it.
24764
24765Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
24766
24767 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
24768 when invoking GDB, suppresses any windowing interface.
24769
24770Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
24771
24772 * config/sim-gdb: New file, simulator testing support.
24773
24774Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
24775
24776 * gdb.base/interrupt.exp: Test calling func1 twice.
24777
24778Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
24779
24780 * gdb.base/list.exp (test_forward_search): Set timeout higher
24781 when we'll be getting lots of output from gdb.
24782
24783 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
24784 "init_malloc" to after the expect statement. Run it if that
24785 regexp is taken, but also for two others which happen if source
24786 cannot be found.
24787
24788Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24789
24790 * gdb.base/printcmds.exp: New test, for printing register before
24791 program is running.
24792
24793Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24794
24795 * gdb.base/list.exp: Correct some alternate expect patterns
24796 to reflect changes in list1.c.
24797
24798Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24799
24800 * TODO: Add item regarding large frames.
24801
24802 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
24803
24804 * TODO: Remove item about enabling return.exp; it
24805 is enabled. Suggest a few more "return" tests.
24806
24807Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24808
24809 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
24810 anonymous unions.
24811
24812Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24813
24814 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
24815 and pr-5646.o, so "make" is the same as "make all", not "make
24816 pr-4975.o".
24817
24818Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
24819
24820 * gdb.base/list.exp: Adjust expectations to reflect changes in
24821 list1.c.
24822 (test_forward_search): New test proc.
24823 * gdb.base/list1.c (long_line): New function, has long source line.
24824
24825Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
24826
24827 * gdb.base/a1-selftest.exp: Change initial stepping to know about
24828 additional line of code that was added.
24829
24830Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
24831
24832 * gdb.disasm/hppa.s: Break the large branching tests into smaller
24833 tests so as not to overflow expect's input buffers.
24834 * gdb.disasm/hppa.exp: Corresponding changes.
24835
24836Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24837
24838 Beginnings of template debugging tests.
24839 * gdb.c++/templ-info.cc: New file to test for template
24840 debugging capability of the compiler.
24841 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
24842 templ-info.cc.
24843 * gdb.c++/templates.cc: Add explicit template instantiations
24844 to enable compiling with -fno-implicit-templates. Add destructor
24845 and 'value' method to T5 class for template tests.
24846 * gdb.c++/templates.exp: Add testcases for printing of template
24847 types, setting breakpoints on template methods and calling a
d63a86f8 24848 template method.
c906108c
SS
24849
24850Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
24851
24852 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
24853 branch target since some assemblers (gas-2.5) may emit a
24854 relocation for the branch instead of resolving it in the
24855 assembler.
24856
24857Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24858
24859 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
24860 through signal handler.
24861
24862Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24863
24864 * configure.in (*-*-netware): Use config/mt-netware.
24865
24866 * config/mt-netware: New file.
24867 * config/mt-i386-netware: Removed, separate configs for different
24868 netware architectures are no longer needed now that we have
24869 --with-headers.
24870
24871Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24872
24873 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
24874 by the recent changes to use ANSI C arithmetic conversions.
24875
24876Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24877
24878 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
24879 bug involving using inferior_pid to figure out whether to select a
24880 frame.
24881
24882Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
24883
24884 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
24885 match the current disassembler output.
24886
24887Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
24888
24889 * gdb.fortran/exprs.exp: Expect VOID instead of void.
24890 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
24891 types, expect "int" as type of integer values (for now).
24892
24893Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
24894
24895 * gdb.base/commands.exp: New tests for if/while commands.
24896
24897Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
24898
24899 * lib/gdb.exp (runto): Replace sub-pattern for hex value
24900 by .*, since hex values have different syntax in Chill mode.
24901
24902Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24903
24904 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
24905 linefeed from expect pattern for repeated types with indices > 9.
24906
24907Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
24908
24909 First part of Fortran test suite.
24910 * gdb.fortran: New directory.
24911 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
24912
24913Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24914
24915 * gdb.base/default.exp: Update expect pattern for load command
24916 without arguments.
24917
24918Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
24919
24920 * configure.in: Change i386 to i[345]86.
24921 * gdb.base/configure.in: Likewise.
24922 * gdb.c++/configure.in: Likewise.
24923 * gdb.chill/configure.in: Likewise.
24924
24925Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
24926
24927 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
24928 patterns, since that is not a valid context for comments.
24929
24930Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
24931
24932 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
24933 repeated types and repeated types with indices > 9.
24934
24935Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
24936
24937 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
24938 2417; old bug has been fixed.
24939
24940Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
24941
24942 * gdb.base/interrupt.exp: When trying to wake up the inferior,
24943 send the newline ourselves instead of assuming gdb_test will do
24944 so when passed an empty input string.
24945
24946 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
24947 stabs testcode.
24948
24949Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24950
24951 * lib/gdb.exp (gdb_test): Don't send anything if the first
24952 argument is an empty string. This makes cases where we want to
24953 match output that is already in expect's buffers (for example,
24954 matching a breakpoint after gdb_run_cmd has been called) work
24955 reliably.
24956
24957Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24958
24959 * config/netware.exp: New file.
24960
24961Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24962
24963 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
24964 the -B and -L prefixes so we can find the debugging stub.
24965
24966 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
24967 there and we are using the gcc from the tree.
24968
24969 * gdb.base/types.c: Removed.
24970
24971 * gdb.base/configure.in: Look for makefile fragments in ../config.
24972 Recognize i386-*-netware.
24973 * gdb.c++/configure.in: Likewise.
24974
24975Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24976
24977 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
24978 the correct TCL syntax.
24979
24980Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24981
24982 * gdb.base/opaque.exp: use runto instead of messing around with
24983 breakpoints. Simplify by using gdb_test.
24984
24985 * gdb.base/bitfields.exp: restart between tests on netware targets
24986 because breakpoints aren't relocated after target death. Run
24987 processes to completion.
24988
24989 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
24990
24991Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
24992
24993 * Makefile.in: Remove extra tabs that confuse some versions
24994 of "make". Use the newly built gdb to test with by default,
24995 rather than the first one in the tester's search path.
24996
24997Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
24998
24999 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
25000
25001 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
25002 condition help.
25003
25004Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25005
25006 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
25007
25008 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
25009 running.
25010 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
25011 * gdb.base/funcargs.exp: Likewise.
25012
25013 * gdb.base/bitfields.exp: Simplify by using gdb_test.
25014 * gdb.base/funcargs.exp: Likewise.
25015
25016 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
25017 message is "".
25018
25019Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25020
25021 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
25022 return,signals,twice}.exp: Handle non-existant binaries
25023 consistantly.
25024
25025 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
25026 * gdb.base/Makefile.in: Don't try to generate a core dump, we
25027 might testing a cross development system.
25028
25029Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25030
25031 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
25032 runtest script is relative to ${srcdir}, not ${rootdir}.
25033
25034Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
25035
25036 * gdb.base/signals.exp: Allow for optionality of breakpoint
25037 address.
25038
25039Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25040
25041 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
25042
25043Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25044
25045 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
25046 for size_t definition.
25047 * gdb.c++/templates.cc: Likewise
25048
25049 * config/mt-i386-netware: New file.
25050
25051 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
25052 defined.
25053
25054 * gdb.base/Makefile.in: Added support for systems that name core
25055 files by appending "core" to the program name.
25056 * gdb.base/a1-selftest.exp: Likewise.
25057
25058Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25059
25060 * gdb.base/return.exp: Add comment and message for `return double'
25061 test failure on Sparc Solaris.
25062
25063Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
25064
25065 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
25066
25067Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25068
25069 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
25070 from optimizing them away.
25071 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
25072 patterns to include default constructors and assignment operators,
25073 to match gcc versions beyond 2.5.8. Accept any cplus demangling
25074 character in the output of the virtual base pointer.
25075
25076Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25077
25078 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
25079 expression match in print_addr_of to avoid unintented matches.
25080 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
25081 versions up to 2.5.8.
25082
25083Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25084
25085 * gdb.base/list.exp: Tweak alternate pattern for listing of an
25086 included file to run under newer versions of expect.
25087 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
25088 consecutive >'s in templates to accomodate recent cplus-dem.c change.
25089 Remove xfail for the virtual table of BDDHookV.
25090
25091Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
25092
25093 * lib/gdb.exp (string_to_regexp): Set a default result.
25094 (default_gdb_start): Fix misleading message.
25095
25096Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
25097
25098 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
25099 Remove all CC, etc definitions.
25100 * config/mt-hpux: New file.
25101 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
25102 (CFLAGS, LDFLAGS): Define.
25103 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
25104
25105 * Makefile.in (site.exp): Don't insert host_os, etc.
25106 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
25107 (distclean): Check existence of subdir.
25108 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
25109 * gdb.base/Makefile.in: General cleanup and simplification.
25110 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25111 to build executables. Use default rule to build .o files.
25112 (EXPECT, RUNTEST, CC): Fix relative pathname.
25113 (site.exp): Don't insert host_os, etc.
25114 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
25115 and/or SIGUSR1 defined.
25116 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
25117 * gdb.c++/Makefile.in: General cleanup and simplification.
25118 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25119 (CFLAGS): Remove.
25120 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
25121
25122Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
25123
25124 * gdb.base/recurse.exp: Misc changes to get tests running again
25125 after Kung's changes to the watchpoint code.
25126 * gdb.base/watchpoint.exp: Likewise.
25127
25128Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
25129
25130 * lib/gdb.exp (string_to_regexp): Convert {\} also.
25131
25132Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
25133
25134 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
25135 * lib/gdb.exp (default_gdb_start): Define.
25136 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
25137 gdb.base/funcargs.exp, gdb.base/opaque.exp,
25138 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
25139 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
25140 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
25141 Don't call gdb_target_udi in between tests.
25142
25143Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25144
25145 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
25146 (which was basically just a local version of the same thing). In
25147 addition to avoiding duplication, gdb_test_exact is faster.
25148 * lib/gdb.exp (gdb_test_exact): Fix typo.
25149
25150 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
25151 don't give an error.
25152
25153 * gdb.base/term.exp: Call delete_breakpoints before starting.
25154
25155 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
25156 (t10): Add comment.
25157
25158Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25159
25160 Reorganization of the GDB Test Suite.
25161
25162 * gdb.base: New directory, contains all the basic tests.
25163 * gdb.c++: New directory, tests specific to C++.
25164 * gdb.chill: New directory, tests specific to Chill.
25165 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
25166 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
25167 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
25168 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
25169 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
25170 t30-31 to chill).
25171 * */gdbme.*: Rename to match appropriate expect scripts.
25172 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
25173 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
25174 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
25175 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
25176 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
25177 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
25178 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
25179 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
25180 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
25181 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
25182 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
25183 gdb.c++/virtfunc.cc: New names of C++ files.
25184 * gdb.chill/chillvars.ch: New name of Chill file.
25185 * gdb.base/configure.in, gdb.c++/configure.in,
25186 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
25187 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
25188 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
25189 * configure.in (configdirs): Update to reflect directory changes.
25190 (target_abbrev): No longer define for any configuration.
25191 * Makefile.in: Cosmetic improvements to header comments.
25192
25193Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
25194
25195 Various changes to gdb.t31:
25196
25197 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
25198 * gdbme.ch: Make all key-words and predefineds be upper-case.
25199 * chillvars.exp: Expect key-words and predefinds in upper-case.
25200
25201 * chillvars.exp: Use gdb_test_exact many places.
25202 Change expected output for arrays (which now includes index labels).
25203
25204 * pr-5020.exp, gdme.ch (module PR_5020):
25205 New test, for PR-5020.
25206
25207Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
25208
25209 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
25210 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
25211
25212Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
25213
25214 * Makefile.in: Fix bit-rot in definitions of CHILL,
25215 CHILL_FOR_TARGET and Chill_LIB.
25216 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
25217 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
25218 CHILL, and CHILL_LIB.
25219
25220Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
25221
25222 * Revert the previous changes. Please see Rob's directory
25223 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
25224
25225Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
25226
25227 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
25228 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
25229 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
25230 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
25231 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
25232 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
25233 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
25234 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
25235 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
25236 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
25237 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
25238 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
25239 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
25240 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
25241 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
25242 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
25243 changes from 94Q1.
25244
25245Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
25246
25247 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
25248 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
25249 Rob's new testing fragments.
25250
25251Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
25252
25253 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 25254 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
25255
25256Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25257
25258 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
25259 version also, match on casted version strings, and match on
25260 gdb startup case where the line numbers might be messed up.
25261
25262Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
25263
25264 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 25265 (CFLAGS): Delete it from here.
c906108c
SS
25266
25267Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
25268
25269 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
25270
25271Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
25272
25273 * Makefile.in (RUNTEST): Default to just "runtest".
25274
25275Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25276
25277 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
25278 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
25279 the code has been restructured.
25280
25281Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25282
25283 * gdb.t00/default.exp (set write): Allow any number of \r and/or
25284 \n, not just one of each.
25285
25286 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
25287 /bin/cc gives a warning if you do.
25288
25289Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
25290
d63a86f8 25291 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
25292 __t10ListS_link1ZUiRCUiPT0
25293
25294Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25295
25296 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
25297 on local variables in recursive functions.
25298
25299 * gdb.t07/Makefile.in: Build the new test.
25300
25301Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25302
25303 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
25304 directly. Instead compare the return values from actual calls.
25305
25306Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
25307
25308 * Makefile.in (check): Set TCL_LIBRARY for runtest.
25309
25310Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25311
25312 * From Peter Schauer with minor modifications.
a9c64011
AS
25313 * gdb.t15/return.exp (return_tests): Handle targets where "return"
25314 stops in mid-line in the caller. Add xfail for returning a float
25315 value on X86 targets.
c906108c
SS
25316
25317Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25318
25319 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
25320 to avoid expect lossage.
25321 (fmem_LRbug_tests): Likewise.
25322 * gdb.disasm/hppa.s: Corresponding changes.
25323
25324 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
25325 conditions to work with latest dejagnu/expect.
25326
25327 * gdb.t15/funcargs.exp (finish from indirect call): No longer
25328 expected to fail on the PA.
25329 (backtrace in call with trampolines): Explicitly require main
25330 to be frame #1 (no trampolines should show up in backtrace).
25331
25332 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
25333 "continue -expect".
25334 * gdb.t06/break.exp: Likewise.
25335 * gdb.t07/watchpoint.exp: Likewise.
25336 * gdb.t13/bitfields.exp: Likewise.
25337 * gdb.t15/{funcargs,return}.exp: Likewise.
25338 * gdb.stabs/weird.exp: Likewise.
25339 * config/{mips,udi}-gdb.exp: Likewise.
25340
25341 * hppa.sed: Enclose comments within a sed command to avoid
25342 losing with the old OSF1 sed.
25343
25344Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25345
25346 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
25347 sequent dynix.
25348 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
25349 * gdb.t15/funcargs.exp: Conditionally step again to really
25350 finish from marker_call_with_trampolines. Handle the case where
25351 the first step from within call_with_trampolines already steps
25352 us back to main.
25353 * gdb.t15/gdbme.c: Add comment to closing brace of
25354 call_with_trampolines for funcargs.exp.
25355
25356Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25357
d63a86f8 25358 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
25359 Fix typo(s).
25360
25361Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25362
25363 * gdb.t07/gdbme.c: More code for watchpoint testing.
25364
25365 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
25366 "Hardware watchpoint" throughout file.
25367 (test_watchpoint_triggered_in_syscall): New test.
25368 (test_complex_watchpoint): New test.
25369
25370Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25371
25372 * gdbme.c (call_with_trampolines): New function to try and step
25373 into. Tests trampoline problems on the PA.
25374
25375 * funcargs.exp (localvars_in_indirect_call): No longer expect
25376 stepping into indirect call to fail on PAs.
25377 (test_stepping_over_trampolines): New test.
25378
25379Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25380
25381 * TODO: Add suggestions for static member function tests, and
25382 completion tests.
25383
25384Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25385
25386 * TODO: Add suggestions for "p/a" tests.
25387
25388 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
25389 (default_gdb_exit): Replace all the hair with sending "quit" to
25390 the process with a simple close.
25391
25392Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25393
25394 * TODO: Add suggestions for shared library tests.
25395
25396Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25397
25398 * TODO: Add suggestions for x/s tests.
25399
25400Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25401
25402 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
25403 "enable once", and "enable breakpoints once" with ".*".
25404
25405Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25406
25407 * TODO: Add suggestions about structure passing tests.
25408
25409Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25410
25411 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
25412 the primary1 test, use work around if __GNUC__ < 2.
25413 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
25414 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
25415 Test for bad output rather than waiting for timeout. Issue
25416 second continue only if first continue failed.
25417
25418Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25419
25420 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
25421 operator[] test with gdb_test because the old code didn't seem to
25422 be getting the quoting right with the new dejagnu.
25423
25424Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
25425
25426 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
25427 one from the path.
25428 * Makefile.in: Use a fresh expect if there is one, use runtest
25429 from the src tree if there is one.
d63a86f8 25430
c906108c
SS
25431Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25432
25433 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
25434 next over recursive call. Revise the tests from that point on
25435 (which had been skipped) to match GDB's actual (correct) output.
25436
25437 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
25438 with next over a breakpoint whose condition is false.
25439
25440 * gdb.t00/help.exp: Comment out "help set print" tests just like
25441 (and for same reason as) "help set" test.
25442
25443Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25444
25445 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
25446 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
25447
25448Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25449
25450 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
25451 necessary gdb_target_udi.
25452
25453 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
25454
25455 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
25456 1838 and 2417; they are fixed.
25457
25458 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
25459 gdb.t03/ptype.exp (ptype structure, ptype union):
25460 Remove xfails; the test is looser than when the xfails were added.
25461
25462 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
25463 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
25464
25465 * gdb.t01/run.exp: Only run shell test if isnative.
25466
25467 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
25468 since "run" automatically loads if necessary. Call gdb_target_udi
25469 after the "file" since "file" kills any execution target.
25470
25471 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
25472 GDB. GDB doesn't work that way (not anymore at least) on UDI.
25473 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
25474 argument for UDI.
25475
25476Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25477
25478 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
25479
25480 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
25481
25482Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25483
25484 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
25485 properly quoting regexps. This makes the second argument to
25486 demangle a fixed string, which matches the callers, instead of a
25487 shell-style pattern which is what the previous implementation
25488 used. Update some of the callers.
25489
25490Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25491
25492 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
25493 (comib_nullified_tests): Fix typo.
25494 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
25495 strings. No longer expected to fail.
25496
25497 * gdb.disasm/hppa.s (addib_tests): Fix typo.
25498 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
25499 strings. No longer expected to fail.
25500
25501 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
25502 string. No longer expected to fail.
25503
25504Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25505
25506 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
25507 No longer expected to fail.
25508
25509 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
25510 string. No longer expected to fail.
25511
25512Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25513
25514 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
25515 only in the names (I probably got most of them). I was even
25516 generous with some which differed in underscores in names, and
25517 probably missed a few, and I *still* was able to remove almost a
25518 third of the file with almost no impact on testsuite coverage.
25519
25520Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25521
25522 * gdb.t00/default.exp: Match udi_attach error message as well as
25523 the one from child_attach.
25524
25525 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
25526
25527 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
25528
25529 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
25530 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
25531
25532 * Move test with enums and partial symbols back to
25533 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
25534 Reverts the change of 26 May 93. Per today's change to
25535 stabs.texinfo, the behavior that weird.exp was expecting was
25536 unreasonable; what is important is that the compiler+gdb get
25537 things right, which happens with a recent gcc. Also fix the test
25538 to deal with native compilers which put out the stab gdb can't
25539 deal with.
25540
25541Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25542
25543 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
25544 in the names. The main thing these accomplish is to slow things down.
25545 Many more such duplicates surely remain.
25546
25547 * gdb.t00/help.exp: Comment out "help support" test just like
25548 (and for same reason as) "help set" test.
25549
25550Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
25551
25552 * gdb.t06/break.exp: Remove setup_xfails for
25553 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
25554 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
25555 about known bug in gcc to include up through 2.5.8.
25556 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
25557 well as "_vb$".
25558 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
25559 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
25560 with latest gcc and gdb.
25561 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
25562 well as "_vb$".
25563
25564Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25565
25566 * configure.in (hppa*-*-*): Also configure and build stabs-only
25567 tests.
25568
25569Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25570
25571 * gdb.t10/hppa.mt: A makefile fragment for the PA.
25572 * gdb.t10/configure.in (hppa*-*-*): Use it.
25573
25574Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25575
25576 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
25577
25578Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25579
25580 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
25581 versions prior to 1.13.5.
25582
25583Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25584
25585 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
25586 the prompt is at the start of a line.
25587
25588Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25589
25590 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
25591 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
25592 in the copr tests now.
25593 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
25594 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
25595 expected to fail.
25596
25597Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
25598
25599 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
25600 gdb.t31/chillvars.exp, lib/gdb.exp:
25601 Tweak to run under either version of expect.
25602 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
25603 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
25604 * gdb.t11/list.exp: Remove extraneous whitespace.
25605
25606Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25607
25608 * gdb.t16/printcmds.exp (test_print_strings): Accept
25609 "(unsigned char *) " before the string.
25610
25611 * TODO: Add notes about printing of fancy types and GDB expressions.
25612
25613Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
25614
25615 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
25616 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 25617 if doing mips-idt-ecoff.
c906108c
SS
25618
25619Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
25620
25621 * Most .exp files: Tweak to run under either version of expect.
25622
25623Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25624
25625 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
25626 xfails; I'm not sure why they are failing, but not because of PR 1806.
25627
25628Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
25629
25630 * config/unix-gdb.exp: Remove gdb_unload cause it's already
25631 defined in lib/gdb.exp.
25632
25633Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25634
25635 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
25636 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
25637 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
25638 have to be typeless.
25639
25640Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25641
25642 * TODO: Add suggestion for copyright year test.
25643
25644Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
25645
25646 * configure.in (*-*-lynxos*): Add stabs tests.
25647
25648Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25649
25650 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
25651 so insert a tab before any assembler directive in column zero.
25652
25653 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
25654 stores.
25655 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
25656 stores.
25657 (fpu_short_memory_tests): Likewise.
25658
25659Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25660
25661 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
25662 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
25663 .stabs directives in comments.
25664
25665Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25666
25667 * TODO: New file, describing tests we could write.
25668 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
25669
25670Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25671
25672 * gdb.t06/signals.exp: Add kludge to force re-sync.
25673
25674 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
25675 to xgdb instead of gdb, get out of gdb.
25676
25677Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
25678
25679 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
25680 for info.
25681
25682Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25683
25684 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
25685 * gdb.stabs/configure.in (hppa*-*-*): Use it.
25686 * gdb.stabs/hppa.sed: New sed script for the PA.
25687
25688Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25689
25690 * gdb.stabs: Re-write weird.def and configuration to use sed
25691 instead of cpp. sed is portable and POSIX; cpp is neither.
25692
25693Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25694
25695 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
25696
25697Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25698
25699 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
25700
25701Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25702
25703 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
25704 "_vb$".
25705 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
25706 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
25707
25708Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25709
25710 * lib/gdb.exp: Comment out code which depends on non-existent
25711 `transform' procedure.
25712
25713Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
25714
25715 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
25716 * lib/gdb.exp: Transform tool name.
25717 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
25718 1.1's new error handling system.
25719
25720Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25721
25722 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
25723
25724Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25725
25726 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
25727 They made pattern matching so slow that timeouts happened on
25728 heavily loaded systems. Now any output from "show print" which
25729 gets us back to the GDB prompt is a PASS.
25730
25731Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
25732
25733 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
25734
25735Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25736
25737 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
25738
25739 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
25740 It is not from PR 3220.
25741
25742Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25743
25744 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
25745 just started failing because they depended on the order the
25746 subcommands are presented, or exact docstring text. This kind of
25747 test is a pain and has minimal benefit.
25748
25749Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25750
25751 * gdb.t09/corefile.exp: At end of test, use "core" command with
25752 no arguments.
25753
25754Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
25755
25756 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
25757 17}/Makefile.in: Make it possible to run the testsuite with Sun
25758 make and CC = cross gcc by adding explicit build rules for .o
25759 files.
25760
25761Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25762
25763 * gdb.t15/funcargs.exp: Don't put comments on same line as
25764 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 25765
c906108c
SS
25766Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25767
25768 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
25769
25770Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
25771
25772 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
25773 * gdb.t20/inherit.exp: remove three dumplicate entries.
25774
25775Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25776
25777 * gdb.t06/break.exp: For "next over recursive call", fail on any
25778 incorrect output, not just on "factorial (value=2)".
25779
25780Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25781
25782 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
25783 working now. Add an xfail if accesing a bss variable causes
25784 a memory error if the target is not yet run.
25785
25786Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25787
25788 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
25789 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
25790 name of __st* demangling (2 strings). Did Kung really get the
25791 more than 95 others right without testing them?
25792
25793Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
25794
25795 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
25796
25797Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
25798
25799 * configure.in (configdirs): Add gdb.disasm
25800 * gdb.disasm: New directory for GDB disassembler tests.
25801 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
25802
25803Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25804
25805 * gdb.t00/help.exp: Don't test "help set".
25806
25807 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
25808 from within expect statements. None of these happen anymore and
25809 they cause regressions to be silently unnoticed.
25810
25811 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
25812 messages) about known failures with gcc cygnus-2.4.5-930417.
25813
25814 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
25815 comp-info.exp so it gets built if it doesn't exist.
25816
25817 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
25818 it is no longer used.
25819 * gdb.t13/comp-info.c: Removed.
25820
25821Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25822
25823 * gdb.t06/signals.exp: Add xfail for sun3.
25824
25825Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25826
25827 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
25828 relevant because ^C doesn't get sent but failure can be reproduced
25829 interactively).
25830
25831Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25832
25833 * gdb.stabs/alpha.mt: New configuration file for alpha.
25834 * gdb.stabs/configure.in: Use it.
25835 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
25836 sharing with alpha.mt, redefine long to word via preprocessor.
25837 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
25838 for alpha.
25839 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
25840 native cc.
25841 * gdb.t00/teststrategy.exp: Change expect string so that we
25842 consume the `(xgdb)' from the command echo and from the gdb prompt.
25843 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
25844 gdb currently compares all values as long, so this failure probably
25845 applies to any configuration where LONGEST is bigger than a target int.
25846 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
25847 with gcc.
25848 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
25849 to handle opaque pointers, gcc is.
25850 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
25851 as first argument. Include <sys/types.h> and change all operator
25852 new definitions to use size_t.
25853 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
25854 now that we use size_t.
25855
25856Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25857
a9c64011 25858 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 25859 a long or float array cast all array members to the same type.
a9c64011 25860 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 25861 with 64 bit longs.
a9c64011 25862 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 25863 on alpha.
a9c64011 25864 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
25865
25866Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25867
25868 * gdb.t24 (demangle.exp): Constructors of templates have names like
25869 vector<int>::vector(int) not vector<int>::vector<int>(int). See
25870 section 14.6 of the ARM.
25871
25872 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
25873 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
25874 accomplish little and slow down the testsuite.
25875
25876 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
25877 Accept spaces various places.
25878
25879Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25880
25881 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
25882 with watchpoint enabled.
25883
25884 * Makefile.in: Remove definition of CC and remove the second
25885 definition of CXX (the "CXX = gcc" one remains). These definitions
25886 were causing backquotes to be expanded within backquotes, which
25887 doesn't work.
25888
25889Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
25890
25891 * gdb.t17/callfuncs.exp: Add "return 0" to end.
25892
25893Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25894
a9c64011
AS
25895 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
25896 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
25897 by mips cc and contains no stabs entries.
25898
25899Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
25900
25901 * config/vx-gdb.exp: Use fake device to load files rather than
25902 NFS.
25903 * lib/gdb.exp: New proc to do "file" command.
25904 * config/unix-gdb.exp: Use new "file" proc.
25905
25906Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
25907
25908 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
25909 Rework board rebooting slightly.
25910 (gdb_exit): Don't exit from the remote shell; there isn't one.
25911 * gdb.stabs/weird.exp: If a program is being debugged already,
25912 kill it.
25913 * gdb.t04/setvar.exp: Stop and restart gdb.
25914 * gdb.t05/expr.exp: Likewise.
25915 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
25916 restart gdb and reload the program.
25917 * gdb.t08/opaque.exp: Likewise.
25918 * gdb.t12/scope.exp: Likewise.
25919 * gdb.t13/bitfields.exp: Likewise.
25920 * gdb.t15/funcargs.exp: Likewise.
25921 * gdb.t20/classes.exp: Likewise.
25922 * gdb.t03/ptype.exp: Increase timeout.
25923 * gdb.t16/printcmds.exp (test_print_string_constants,
25924 test_print_array_constants): Likewise.
25925 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
25926 * gdb.t20/classes.exp (do_tests): Likewise.
25927 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
25928
25929Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
25930
25931 * gdb.stabs: Renamed *wierd* to *weird*.
25932
25933Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25934
25935 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
25936 for timeout. Add "known gcc 2.4.5 bug" to failure message.
25937
25938Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25939
25940 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
25941 (do_tests): Remove xfail for whatis on one_var and two_var.
25942
25943Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
25944
25945 * Makefile.in: Made cross building work better by adding
25946 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
25947
25948Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25949
25950 * gdb.t15/{return.c,return.exp,Makefile.in}:
25951 New test, currently commented out.
25952
25953Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
25954
25955 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
25956 still running and removes the leftover named socket so GDb can do
25957 clean restarts.
25958
25959Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
25960
25961 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
25962 console, not GDB.
25963 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
25964 cross testing works better with "make check"
25965 * config/unix-gdb: Use default procedures for exit and version.
25966 * config/vx-gdb.exp: Cleaned up and massaged back to working order
25967 with the newest VxWorks.
25968
25969Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25970
25971 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
25972 old form.
25973
25974 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
25975 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
25976
25977 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
25978
25979 * config/unix-gdb.exp: Remove this version of gdb_exit
25980 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
25981 Rob says he'll look at it when he gets back to testing boards.
25982
25983Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
25984
25985 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
25986 an expected fail for certain ptype commands.
25987
25988 * gdb.t20/classes.exp: Update expected results of "ptype class
25989 Base1" to account for the constructor that now appears in the type.
25990
25991Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
25992
25993 * configure.in (configdirs): Restore gdb.t04, which mysteriously
25994 disappeared from list.
25995 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
25996 "alldone" proc with call to cleanup and exit.
25997 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
25998 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
25999 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
26000 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
26001 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
26002 "alldone" proc with simple returns that suppress remaining
26003 tests. The alldone proc went away many months ago.
26004
26005Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26006
26007 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
26008
26009 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
26010
26011Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26012
26013 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
26014 as vax gdb will display them.
26015
26016Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26017
26018 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
26019 optimizers.
26020
26021 * scope.exp: Change "bad value for localval" messages so each one
26022 is unique.
26023
26024 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
26025 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
26026
26027 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
26028
26029Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26030
26031 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
26032 doesn't exist (due to optimization).
26033
26034Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26035
26036 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
26037 contains \r because the filename is long.
26038
26039 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
26040 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
26041
26042Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26043
26044 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
26045 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
26046 Ultrix.
26047 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
26048 int tests.
26049 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
26050
26051Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
26052
26053 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
26054
26055 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 26056 to match does not match the passing case but still matches the
c906108c
SS
26057 failing case.
26058
26059Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26060
26061 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
26062
26063Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
26064
26065 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
26066 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
26067 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
26068 Remove various versions of gdb_exit.
26069 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
26070 gdb_exit.
26071 * config/unix-gdb.exp: gdb_exit remains here, and should override
26072 the generic version, since it's doing a lot of wierd stuff that
26073 the other versions aren't. FIXME, fold it in, or abandon this
26074 version.
26075
26076Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26077
26078 * gdb.t24/demangle.exp: Add tests for PR 3220.
26079
26080Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26081
26082 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
26083
26084Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
26085
26086 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
26087 "i386-*-*". Works for i486 as well.
26088
26089 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
26090 bug, and expand domain of xfail to all SVR4 systems, since the
26091 actual problem is likely to be in generic SVR4 /proc support.
26092
26093Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26094
26095 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
26096
26097Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
26098
26099 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
26100 xfails for other systems. Match a missing 'Continuing.' as an
26101 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
26102
26103 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
26104 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
26105 Only issue warning for missing executables if -all option is used.
26106
26107 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
26108 file if -all option is used. It's like an unpredictable XFAIL.
26109
26110Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26111
26112 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
26113 for dynamically linked binaries.
26114
26115 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
26116
26117Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26118
26119 * gdb.t20/inherit.exp: Change message for "print tagless struct"
26120 to state that this is a known bug in old versions of g++.
26121
26122Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26123
26124 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
26125 while waiting for `Continuing'.
26126
26127Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
26128
26129 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
26130 in text, data, and bss.
26131 * gdb.t10/nodebug.c: Add local and global test variables for
26132 initialized and uninitialized data.
26133
26134Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26135
26136 * config/unix-gdb.exp (gdb_exit): Add "wait".
26137
26138Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26139
26140 * gdb.t06/signals.exp: xfail the continue from the handler for all
26141 targets.
26142
26143 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
26144 function with watchpoints enabled, the i386 call dummy starts with
26145 a call.
26146
26147 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
26148 386 bsd names its corefiles.
26149
26150Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
26151
26152 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
26153 compilers don't grok it.
26154 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
26155 with small octal ints rather than character constants, which
26156 are signed and might not fit if first promoted to int.
26157
26158Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
26159
26160 * gdb.t09/Makefile.in (clean): Remove corefile.
26161
26162Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26163
26164 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
26165
26166Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26167 and Jim Kingdon (kingdon@cygnus.com)
26168
26169 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
26170 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
26171 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
26172
26173Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26174
26175 * gdb.t17/interrupt.exp: Add xfail for hppa.
26176
26177Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26178
26179 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
26180 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
26181 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
26182 to determine signed-ness of bitfields and use the result to setup
26183 the xfail.
26184 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
26185 * gdb.t15/funcargs.exp: Use them to step until the second indirect
26186 call line is reached if necessary.
26187
26188Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26189
26190 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
26191
26192Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26193
26194 * gdb.t06/break.exp: Also test `clear' command.
26195
26196Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26197
26198 * gdb.t00/teststrategy.exp: Remove extra quote.
26199
26200 * gdb.t07/watchpoint.exp: Change xfail for calling function with
26201 watchpoint enabled to be for all non-68k machines.
26202
26203 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
26204
26205Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26206
26207 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
26208 targets use aout.mt instead of ecoff.mt as gas understands
26209 standard aout format.
26210
26211Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26212
26213 * lib/gdb.exp (runto): Don't insist that function we are running to
26214 was compiled with -g.
26215
26216 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
26217
26218 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
26219 to get back into the read system call.
26220 Accept leading newline in case where we woke it up.
26221
26222Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26223
26224 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
26225 to make the stabs test work on ecoff systems using gcc and -with-stabs.
26226 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
26227 enable ecoff configuration.
26228
26229Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26230
26231 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
26232
26233Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26234
26235 * gdb.t16/printcmds.exp: Add another printf test.
26236
26237Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
26238
26239 * configure.in: If configured -with-stabs on any target, add
26240 stabsdirs to configdirs.
26241
26242Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26243
26244 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
26245 fun" so pattern does not match the command itself.
26246
26247Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26248
26249 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
26250
26251Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26252
26253 * gdb.t17/interrupt.exp: Test for more things.
26254
26255Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26256
26257 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
26258 compiler arranges the code and line numbers.
26259
26260 * gdb.t17/interrupt.exp: Don't send \n after ^C.
26261
26262Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26263
26264 * gdb.t00/help.exp: Increase expect input buffer size.
26265
26266Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26267
26268 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
26269
26270 * gdb.t07/watchpoint.exp: Add xfail for hppa.
26271
26272 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
26273
26274 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
26275 [0-9]*, not just [0-9].
26276
26277Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26278
26279 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
26280
26281 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
26282
26283Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26284
26285 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
26286
26287Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26288
26289 * gdb.t06/signals.c: Add xfails for sun3.
26290
26291 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
26292
26293 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
26294 test_stepping tests.
26295
26296Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26297
26298 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
26299
26300 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
26301
26302 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
26303 rather than actually putting it through cpp twice.
26304
26305 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
26306
26307Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
26308
26309 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
26310 no longer needed.
26311
26312Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26313
26314 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
26315
26316 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
26317 C++ features prints as "struct", make it a pass, not an xfail.
26318
26319Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26320
26321 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
26322 Don't require VA to print as "class" rather than "struct".
26323
26324Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
26325
26326 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
26327
26328Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26329
26330 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
26331
26332Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26333
26334 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
26335 order.
26336
26337Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26338
26339 * gdb.t16/printcmds.exp: Add printf tests.
26340
26341 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
26342
26343 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
26344
26345Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
26346
26347 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
26348 pass counts, to counteract any existing or future setup_xfails.
26349
26350Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26351
26352 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
26353 {BEGIN,END}_COMMON for common block instead of STAB.
26354 * gdb.stabs/wierd.exp: Add xfail for rs6000.
26355
26356 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
26357 intp_var should be N_GSYM not N_LSYM.
26358 wierd-aout.S: Use a label for the value of the N_SO.
26359 wierd.def: Remove all backslashes.
26360 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
26361
26362Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26363
26364 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
26365 get the expected next to inheritance3.
26366
26367Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26368
26369 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
26370 now that gcc-2.4 gets it right.
26371
26372Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26373
26374 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
26375
26376 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
26377 generating comp-info.exp which works for cross-compilation.
26378
26379Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
26380
26381 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
26382 "*-*-sysv4.*".
26383
26384Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
26385
26386 * gdb.t01/run.exp: Start with a fresh gdb.
26387 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
26388 SVR4.x.
26389
26390Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
26391
26392 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
26393 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
26394 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
26395 Makefile.in (distclean, realclean): Remove gdbme.c from list of
26396 things to remove.
26397
26398Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
26399
26400 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
26401 test cases from bug reports.
26402
26403Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
26404
26405 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
26406 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
26407 avoid spurious xfails.
26408 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
26409 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
26410 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
26411
26412Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
26413
26414 * gdb.t00/teststrategy.exp: Rework to provide more useful
26415 description of each test, fix problem with systems that define
26416 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
26417 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
26418 results for "next over recursive call" so timeouts aren't taken
26419 by error.
26420
26421Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
26422
26423 * gdb.t12/scope.exp: Test printing of variables before run.
26424
26425 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
26426 printed in wrong order due to sorting.
26427
26428Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
26429
26430 * gdb.t00/teststrategy.exp: Fix expected results for printing
26431 user entered string constant. Is array of char, prints with no
26432 address.
26433
26434 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
26435 commands.
26436 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
26437 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
26438 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
26439 of struct of char arrays.
26440 * gdb.t00/radix.exp: New tests for radix commands.
26441
26442Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
26443
26444 * gdb.t16/printcmd.exp: Print a variable before running program
26445 (with xfail for AIX).
26446
26447Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
26448
26449 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
26450
26451 * gdb.t16/printcmd.exp: Don't print variables before running program.
26452
26453 * gdb.t06/break.exp: Don't require envp argument to main.
26454
26455 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
26456
26457 * gdb.t02/whatis.exp, gdb.t11/list.exp:
26458 Add xfails for rs6000.
26459
26460 * gdb.t02/whatis.exp: Change other tests not to re-test something
26461 we already tested.
26462
26463 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
26464 each type used has a variable of that type.
26465
26466Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
26467
26468 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
26469
26470Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
26471
26472 * configure.in: change srctrigger to be a file, not a directory
26473
26474Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
26475
26476 * configure.in (mips-idt-ecoff*): Added trailing '*'.
26477
26478 * gdb.t11/list.exp: Fixed a couple of typos.
26479
26480Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
26481
26482 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
26483 is fixed and PR is closed.
26484 * gdb.t16 (gdbme.c): Add simple test string variable.
26485 * gdb.t16 (printcmds.exp): Add tests with simple test string
26486 variable, primarily for boundaries on "set print elements".
26487
26488Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
26489
26490 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
26491 Make leading 0's optional and don't expect a tab in the middle
26492 of the number.
26493
26494 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
26495
26496 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
26497 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
26498 don't end command passed to gdb_test with newline.
26499
26500 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
26501 signed keyword away, don't expect signed bitfields to be signed.
26502
26503 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
26504 printing with only as many 1's as are in the field as well as printing
26505 with 32 1's (see comment).
26506
26507Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
26508
26509 * gdb.t00/default.exp: Start with a fresh gdb.
26510 * configure.in (configdirs): Remove gdb.t31 until the chill
26511 compiler works again. It no longer is able to find chillrt0
26512 since it isn't in libchill.a anymore.
26513 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
26514 wierd.o, make more modular.
26515 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
26516 spurious newlines that caused problems.
26517
26518Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26519
26520 * Move test with enums and partial symbols from gdb.t03/ptype.exp
26521 to gdb.stabs/wierd.exp since GCC has worked around the bug.
26522 gdb.stabs/wierd.{exp,def}: Many new tests.
26523
26524 * gdb.t00/default.exp: update info line for new message.
26525
26526 * gdb.t02/{whatis.exp,gdbme.c}:
26527 Test that "char *" doesn't print as "caddr_t".
26528
26529Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26530
26531 * gdb.t00/help.exp: Use .* in place of some help messages which
26532 just changed.
26533 gdb.t00/default.exp: Update "info frame" test for new message.
26534 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
26535 Remove some xfails
26536
26537Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26538
26539 * gdb.t03/{gdbme.c,ptype.exp}:
26540 Add tests for typedef'd struct and union without tags.
26541 Also check "whatis" on a variable of a typedef'd enum without a tag.
26542
26543 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
26544 PRMS 1823; the bug still exists but isn't reproduced by this test
26545 anymore), and remove rs6000 XFAIL (the bug is fixed).
26546
26547 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
26548 duplicated from whatis.exp. For those that are left, accept
26549 "long", "long int", or "int" for long variables (whatis.exp already
26550 has an XFAIL for "int", so no need to fail it here).
26551
26552 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
26553 Deal with GCC's names for types now that GDB uses the compiler's names.
26554
26555 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
26556 setup_xfail's for sunos4. If we #defined the signed keyword away,
26557 don't expect GDB to know that char it is signed.
26558
26559 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
26560
26561Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
26562
26563 * configure.in (configdirs): Add gdb.t24 for C++ tests that
26564 should work on any system, regardless of debugging format.
26565 * gdb.t21/demangle.exp: Move to gdb.t24.
26566 * gdb.t24/demangle.exp: Move from gdb.t21.
26567 * gdb.t24/{Makefile.in, configure.in}: New files.
26568
26569Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26570
26571 * configure.in: Do gdb.stabs and C++ tests only for stabs.
26572 * gdb.stabs: New directory.
26573
26574Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26575
26576 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
26577 not just "Quit anyway?".
26578
26579Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
26580
26581 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
26582 that all setup_xfails are immediately followed by clear_xfails.
26583
26584Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
26585
26586 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
26587 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
26588 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
26589 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
26590 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
26591 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26592 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26593 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
26594 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
26595 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
26596 gdb.t31/chillvars.exp, lib/gdb.exp:
26597 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
26598 bug-gdb@prep.ai.mit.edu.
26599
26600Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
26601
26602 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
26603 with 0.0, not integer 0.
26604
26605Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
26606
26607 * gdb.t06/break.exp: Update for "Kill the program" message change.
26608
26609Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
26610
26611 * Makefile.in (GDBFLAGS): Set to -nx.
26612 * Makefile.in (site.exp): Use GDBFLAGS.
26613
26614Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26615
26616 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
26617 Makefiles.
26618 (check): depend on just-check.
26619 (just-check): added so that tests can be run without a noop
26620 build pass.
26621
26622Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26623
26624 Switch to using configure's configdirs.
26625 * Makefile.in (Makefile): add configure.in dependency.
26626 (SUBDIRS): removed redundant assignment.
26627 * configure.in: switch subdirs assignment to configdirs.
26628 * gdb.t*/configure.in: new files.
26629
26630Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
26631
26632 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
26633 works.
26634
26635Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
26636
26637 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
26638 in explicit rules. Apparently this is not supported by some makes.
26639
26640Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
26641
26642 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
26643
26644Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26645
26646 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
26647 disappeared.
26648
26649Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
26650
26651 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
26652
26653Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
26654
26655 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
26656 watchpoint problem that is now fixed.
26657 * gdb.t30/chexp.exp: Remove setup_xfail for printing
26658 uninitialized convenience variables.
26659 * gdb.t31/chillvars.exp: Fix expected patterns for printing
26660 structures.
26661
26662Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26663
26664 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
26665 which causes expect to get out of sync with gdb on long output
26666 from help set.
26667 * gdb.t09/corefile.exp: Make expected pattern for core file
26668 failing signal and frame output format less sun specific.
26669
26670Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
26671
26672 * gdb.t31/chillvars.exp: Add and remove initial dummy
26673 breakpoint, so that symbol table is forced in.
26674 (Needed at least on Sunos4, though it seems not SVR4.)
26675 * gdb.t31/chillvars.exp: Update for changed output format.
26676
26677Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
26678
a9c64011 26679 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
26680
26681Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
26682
26683 * Makefile.in: Added --srcdir when invoking runtest, removed the
26684 need for a local config file. (optional now)
26685
26686Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
26687
26688 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
26689 failure count used to force early termination. Add some more
26690 expected failures for gnu style demangling.
26691
26692Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26693
26694 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
26695 pmi variable from gdb.t20/gdbme to get optimized away.
26696 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
26697 Check for written corefile upon timeout _and_ eof.
26698
26699Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26700
26701 * config/unix-gdb.exp: Add missing return 0.
26702
26703Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26704
26705 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
26706 test termination.
26707
26708Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
26709
26710 * configure.in (subdirs): Put back gdb.t17 which mysteriously
26711 disappeared.
26712
26713Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
26714
26715 * gdb.t10/crossload.exp: Disable the i860-elf test until such
26716 time as i860 support works.
26717
d63a86f8 26718 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
26719 "backtrace 100\r" rather than just "backtrace\r", to match last
26720 change.
26721
26722Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
26723
26724 * config/udi-gdb.exp (gdb_exit): Remove close command.
26725 (gdb_target_udi): New procedure to set the UDI target.
26726 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
26727 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
26728 Added waits for prompts after several question responses. Added
26729 some more responses used by a29k-amd-udi-gdb.
26730 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
26731 pass different arguments, restart UDI connection after program
26732 completion.
26733 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
26734 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26735 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
26736 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
26737 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
26738 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
26739 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26740 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
26741 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
26742 after program completion.
26743 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
26744 compiled with a SELECT_VECS setting.
26745 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
26746 infinite recursion.
26747
26748 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
26749 Added checks for COFF results, and made them expected failures for
26750 all targets. It would be better to make them expected failures
26751 for COFF targets only.
26752
26753Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
26754
26755 * Makefile.in: add null dvi target, don't bother to recurse
26756 through test directories for info and install-info; rename
26757 $(datadir) to be dejagnu instead of deja-gnu
26758
26759Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
26760
26761 * gdb.t31/gdbme.ch: Re-enable code that previously caused
26762 compiler to coredump.
26763 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
26764 code.
26765
26766Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
26767
26768 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
26769 coredump.
26770 * gdb.t31/chillvars.exp: Comment out tests that depend on that
26771 code.
26772
26773Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
26774
26775 * gdb.t03/ptype.exp: tests for return code from gdb_test.
26776 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
26777 which in a shell. Deletes xgdb when done.
26778 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
26779 Tests the return from the "set height" or "set width" commands.
26780 Added a few return codes where needed.
26781
26782Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
26783
26784 * Makefile.in (SUBDIRS): Add gdb.t17.
26785 * configure.in (subdirs): Add gdb.t17.
26786 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
26787 files to test gdb's calling of functions in the inferior with
26788 the correct arguments and gdb's ability to retrieve any
26789 result returned.
26790
26791Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
26792
26793 * config/unix-gdb.exp (gdb_exit): Remove close commands that
26794 may be called after gdb goes away. Previous versions of expect
26795 needed these to avoid file descriptor leaks, but they cause
26796 errors with the current revision of expect.
26797 * gdb.t00/gdbvars.exp: Use -re on expected output after
26798 setting sevenbit-strings.
26799 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
26800 to set sevenbit-strings consistent across tests.
26801 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
26802 set sevenbit-strings consistent across tests.
26803
26804Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
26805
26806 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
26807 expected output to match current "expect" expectations.
26808
26809Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
26810
26811 * gdb.t00/default.exp: Change expected output for default "source"
26812 command, to match new gdb behavior which requires a filename to
26813 source.
26814
26815Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
26816
26817 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
26818 expected fail for i486-*-* that misses the marker2 function.
26819 * gdb.t10/crossload.exp (bfddefault): Allow successful
26820 recognition of a format to pass even if no symbols are found.
26821 Explicitly catch failures where the format is not recognized
26822 or is ambiguous, and add the reason to the fail message.
26823 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
26824 the cause is and invalid target and add reason to failure message.
26825 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
26826 elf32-i386, elf32-sparc, and elf32-i860.
26827 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
26828 Set up expected failure for 'filename'::variable scope resolution,
26829 which is now apparently broken on all targets.
26830 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
26831 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
26832 gdb.t23/templates.exp: Change failure for missing binfile into
26833 just a warning.
26834 gdb.t21/demangle.exp: Change all cfront references to 'arm'
26835 references.
26836
26837Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
26838
26839 * gdb.t00/default.exp: Add expected output for default "source"
26840 command, to match new gdb behavior.
26841 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
26842
26843Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
26844
26845 * config/*-gdb.exp: returns an error, rather than exiting on
26846 internal errors.
26847
26848Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
26849
26850 * gdb.t03/gdbme.c: Add pointer to struct variable.
26851 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
26852 referencing struct members.
26853
26854Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
26855
26856 * configure.in (mips-idt-ecoff): New target.
26857 * config/mips-gdb.exp: New file for remote board using MIPS remote
26858 debugging protocol.
26859
26860 * Redid configuration scheme. Removed gdb.t*/configure.in.
26861 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
26862 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
26863 distclean targets. Built executables via .o files. Adjusted
26864 tests to account for source files in $(srcdir) rather than
26865 $(objdir).
26866 * lib/gdb.exp (runto): Don't expect () after the function name,
26867 because it may have arguments.
26868
26869Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
26870
26871 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
26872 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
26873 expected failures for mips-idt-* and mips-sgi-*.
26874 * gdb.t00/default.exp (attach): Kill process if requested.
26875 * gdb.t00/help.exp (help target core, help target): Accept a gdb
26876 that does not read core files.
26877 * gdb.t01/run.exp: Removed checks for exit status code.
26878 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
26879 it is linked in.
26880 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
26881 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
26882 appropriate, rather than doing it by hand.
26883 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
26884 execution.
26885 * gdb.t10/crossload.exp: Kill existing program if needed.
26886 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
26887 appropriate, rather than doing it by hand. Always increase
26888 timeout for this test, not just for VxWorks.
26889
26890Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
26891
26892 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
26893 of Chill STRUCT types and STRUCT values.
26894 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
26895 than "char".
26896 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 26897 struct2): New struct definitions and initializations to test
c906108c
SS
26898 simple Chill STRUCT types.
26899
26900Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
26901
26902 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
26903 the null byte at the end of strings.
26904 * gdb.t00/default.exp: Make show version insensitive to copyright
26905 date.
26906 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
26907 to avoid dependencies on target char signedness.
26908 * gdb.t16/printcmds.exp: Update expected results for explicitly
26909 unsigned char.
26910 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
26911 now work.
26912 * gdb.t21/demangle.exp: Add many more patterns for template
26913 demangling, most of them being expected failures.
26914 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
26915 string we are matching for, to match on the whole string.
26916 * gdb.t21/demangle.exp: Add many new test strings to demangle,
26917 and fix a whole bunch that had incorrect expected output but were
26918 passing anyway because of the bug in "proc demangle".
26919 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
26920 type.
26921 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
26922
26923Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
26924
a9c64011
AS
26925 * gdb/testsuite: made modifications to testcases, etc., to allow
26926 them to work properly given the reorganization of deja-gnu and the
26927 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
26928
26929Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
26930
26931 * gdb/testsuite: Initial creation of gdb/testsuite.
26932 Migrated dejagnu testcases and support files for testing nm to
26933 gdb/testsuite from deja-gnu. These files were moved "as is"
26934 with no modifications. This migration is part of a major overhaul
26935 of dejagnu. The modifications to these testcases, etc., which
26936 will allow them to work with the new version of dejagnu will be
26937 made in a future update.
48efe704 26938
8d8cb839 26939 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 26940\f
8d8cb839
EZ
26941;; Local Variables:
26942;; mode: change-log
26943;; left-margin: 8
26944;; fill-column: 74
26945;; version-control: never
26946;; End:
902f2ccb 26947
0b302171 26948 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
26949 Copying and distribution of this file, with or without modification,
26950 are permitted provided the copyright notice and this notice are preserved.