]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
gdb:
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
5808517f
YQ
12012-03-03 Yao Qi <yao@codesourcery.com>
2
3 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
4
dfe2ac14
JK
52012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6
7 Setup KFAIL for PR server/13796.
8 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
9
8bbc467a
JB
102012-03-02 Joel Brobecker <brobecker@adacore.com>
11
12 * gdb.ada/operator_bp: New testcase.
13
c0eac87f
JB
142012-03-02 Joel Brobecker <brobecker@adacore.com>
15
16 * gdb.ada/info_locals_renaming: New testcase.
17
4f42c881
TT
182012-03-02 Tom Tromey <tromey@redhat.com>
19
20 * gdb.base/nextoverexit.c: New file.
21 * gdb.base/nextoverexit.exp: New file.
22
7380c0c9
EBM
232012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
24
25 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
26 parameter.
27
1faeff08
MR
282012-03-01 Maciej W. Rozycki <macro@mips.com>
29
30 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
31 core registers.
32
320b6f49
MR
332012-03-01 Maciej W. Rozycki <macro@mips.com>
34 Maciej W. Rozycki <macro@codesourcery.com>
35 Daniel Jacobowitz <dan@codesourcery.com>
36
37 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
38
ad5f7d6e
PA
392012-03-01 Pedro Alves <palves@redhat.com>
40
41 PR gdb/13767
42
43 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
44 (gdb_collect_globals_test): Call it.
45
d3dc44a6
KS
462012-03-01 Keith Seitz <keiths@redhat.com>
47
48 * gdb.cp/method2.exp: Output of overload menu is now
49 alphabetized. Update tests for "break A::method".
50 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
51 of hard-coding them.
52 Overload menu is alphabetized: rewrite to accommodate.
53 Unset variables LINE and TYPES which are used in other tests.
54 Compute the output of "info break".
55 Update the breakpoint table after all breakpoints are deleted.
56 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
57 compute ACTUALS and the method body based on parameters.
58 Update expected output accordingly.
59 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
60 unique comments to allow the use of gdb_get_line_number.
61
622012-03-01 Keith Seitz <keiths@redhat.com>
63
64 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
65 some Tcl syntax.
66 * gdb.cp/ovldbreak.exp: Likewise.
67
7949c2a0
KS
682012-03-01 Keith Seitz <keiths@redhat.com>
69
70 * gdb.base/help.exp (help show user): Update expected result
71 for new doc string changes (add "non-python").
72
7d74f244
DE
732012-03-01 Scott J. Goldman <scottjg@vmware.com>
74
75 * gdb.python/py-cmd.exp: Add test to verify that python commands can
76 be put in the user-defined category and that the commands appear in
77 "help user-defined".
78
1b611343
JB
792012-02-29 Joel Brobecker <brobecker@adacore.com>
80
81 * gdb.ada/tagged_not_init: New testcase.
82
99b1c762
JB
832012-02-29 Joel Brobecker <brobecker@adacore.com>
84
85 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
86 * gdb.ada/enum_idx_packed: New testcase.
87
2d4a02ee
JB
882012-02-29 Joel Brobecker <brobecker@adacore.com>
89
90 * gdb.ada/aliased_array: New testcase.
91
2e6fda7d
JB
922012-02-29 Joel Brobecker <brobecker@adacore.com>
93
94 * gdb.ada/whatis_array_val: New testcase.
95
9a7f938f
JK
962012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
97
98 Fix disp-step-syscall.exp: fork: single step over fork.
99 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
100 whitespaces.
101 (single step over $syscall): Remove its check.
102 (single step over $syscall final pc): New check.
103
8703a944
JK
1042012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
105
106 Support processors without SSSE3.
107 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
108 pabsd into ...
109 (ssse3_test): ... a new function.
110 (main): Call ssse3_test.
111 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
112 Update expected values everywhere.
113 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
114 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
115 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
116 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
117 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
118 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
119 Move these tests lower.
120 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
121 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
122 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
123 New tests.
124
c03e6ccc
YQ
1252012-02-29 Yao Qi <yao@codesourcery.com>
126 Pedro Alves <palves@redhat.com>
127
128 * gdb.trace/trace-mt.c: New.
129 * gdb.trace/trace-mt.exp: New.
130
7964b62a
TS
1312012-02-28 Thomas Schwinge <thomas@codesourcery.com>
132
2c8910ba
TS
133 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
134 numbers instead of hardcoding them.
135 * gdb.base/annota1.c: Provide suitable markers.
136 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
137 numbers instead of hardcoding them.
138 * gdb.base/annota3.c: Provide suitable markers.
139
140 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
141 * gdb.base/annota3.c: Likewise.
142 * gdb.base/sigall.c: Likewise.
143 * gdb.base/signals.c: Likewise.
144 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 145
5a41c0b7
MR
1462012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
147
148 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
149 failure return path.
150
ebbbe5c5
LM
1512012-02-27 Luis Machado <lgustavo@codesourcery.com>
152
153 * gdb.base/save-bp.exp: Account for new condition evaluator output.
154
8d126d8a
LM
1552012-02-24 Luis Machado <lgustavo@codesourcery.com>
156
157 * gdb.base/cond-eval-mode.exp: New file.
158
11337c2f
PA
1592012-02-24 Pedro Alves <palves@redhat.com>
160
161 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
162 (top level): Use with_test_prefix.
163
13fc3e3c
PA
1642012-02-24 Pedro Alves <palves@redhat.com>
165
166 * gdb.threads/attach-into-signal.exp (corefunc): Use
167 with_test_prefix.
168
07c1b626
JK
1692012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
170
171 Fix false FAILs on old CPUs without SSE.
172 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
173 Return untested for Illegal instruction.
174
596ba138
JK
1752012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
176
177 Fix false FAILs with glibc debug infos installed.
178 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
179 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
180
aeaa2474
SA
1812012-02-22 Sterling Augustine <saugustine@google.com>
182
183 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
184 constant with cast.
185
aed555c9
PA
1862012-02-21 Pedro Alves <palves@redhat.com>
187
188 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
189
78afebb4
PA
1902012-02-21 Pedro Alves <palves@redhat.com>
191
192 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
193
fdcfef12
PA
1942012-02-21 Pedro Alves <palves@redhat.com>
195
196 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
197 with_test_prefix.
198
0f4d39d5
PA
1992012-02-21 Pedro Alves <palves@redhat.com>
200
201 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
202 with_test_prefix here.
203 (top level): Do it here instead. Remove `:' from the
204 with_test_prefix string.
205 * gdb.base/attach-pie-misread.exp: Remove the leading space the
206 the suffix `:' from the with_test_prefix prefix string.
207 * gdb.base/break-interp.exp: Ditto.
208 * gdb.base/catch-load.exp: Ditto.
209 * gdb.base/disp-step-syscall.exp: Ditto.
210 * gdb.base/jit-so.exp: Ditto.
211 * gdb.base/jit.exp: Ditto.
212 * gdb.base/sepdebug.exp: Ditto.
213 * gdb.base/solib-display.exp: Ditto.
214 * gdb.base/solib-overlap.exp: Ditto.
215 * gdb.base/watch-cond-infcall.exp: Ditto.
216 * gdb.base/watchpoint.exp: Ditto.
217 * gdb.dwarf2/dw2-noloc.exp: Ditto.
218 * gdb.mi/mi-watch.exp: Ditto.
219 * gdb.mi/mi2-watch.exp: Ditto.
220 * gdb.threads/non-ldr-exc-1.exp: Ditto.
221 * gdb.threads/non-ldr-exc-2.exp: Ditto.
222 * gdb.threads/non-ldr-exc-3.exp: Ditto.
223 * gdb.threads/non-ldr-exc-4.exp: Ditto.
224 * gdb.threads/watchpoint-fork.exp: Ditto.
225 * gdb.threads/watchthreads-reorder.exp: Ditto.
226 * gdb.trace/change-loc.exp: Ditto.
227 * gdb.trace/pending.exp: Ditto.
228 * gdb.trace/status-stop.exp: Ditto.
229 * gdb.trace/strace.exp: Ditto.
230 * gdb.trace/trace-break.exp: Ditto.
231 * gdb.trace/unavailable.exp: Ditto.
232 * lib/gdb.exp (with_test_prefix): Always prefix with space and
233 suffix with colon. Adjust leading comments.
234
6a5870ce
PA
2352012-02-21 Pedro Alves <palves@redhat.com>
236 Tom Tromey <tromey@redhat.com>
237
238 * lib/gdb.exp: Add description of test prefixes.
239 (with_test_prefix): New procedure.
240 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
241 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
242 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
243 instead of lappend to append to pf_prefix.
244 * gdb.base/catch-load.exp: Use with_test_prefix.
245 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
246 * gdb.base/jit-so.exp: Use with_test_prefix.
247 * gdb.base/jit.exp: Use with_test_prefix.
248 * gdb.base/return-nodebug.exp (do_test): Use append instead of
249 lappend to append to pf_prefix.
250 * gdb.base/sepdebug.exp: Use with_test_prefix.
251 * gdb.base/solib-display.exp: Use with_test_prefix.
252 * gdb.base/solib-overlap.exp: Use with_test_prefix.
253 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
254 * gdb.base/watchpoint.exp: Use with_test_prefix.
255 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
256 * gdb.mi/mi-watch.exp: Use with_test_prefix.
257 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
258 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
259 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
260 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
261 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
262 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
263 append instead of lappend to append to pf_prefix.
264 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
265 * gdb.trace/change-loc.exp: Use with_test_prefix.
266 * gdb.trace/pending.exp: Use with_test_prefix.
267 * gdb.trace/status-stop.exp: Use with_test_prefix.
268 * gdb.trace/strace.exp: Use with_test_prefix.
269 * gdb.trace/trace-break.exp: Use with_test_prefix.
270 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
271 instead of lappend to append to pf_prefix.
272
35dc4a6b
JK
2732012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
274
275 Fix racy FAILs.
276 * gdb.base/inferior-died.c (main): Add return of 0.
277 * gdb.base/inferior-died.exp (continue): Fix expectation of
278 asynchronous events.
279 (p 1): New test.
280
c5a006e6
PA
2812012-02-20 Pedro Alves <palves@redhat.com>
282
283 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
284 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
285 gdb's internal debug output. For the non-threaded case, look for
286 "Program received signal SIGLARM", for the threaded case, peek at
287 the thread's siginfo.
288
cc51a170
PA
2892012-02-20 Pedro Alves <palves@redhat.com>
290
291 General cleanup, make output test messages unique, and build
292 different executable files for the non-threaded and threaded
293 cases.
294
295 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
296 Delete.
297 (executable_nothr, executable_thr): New globals.
298 (top level): Adjust to delete both executables.
299 (corefunc): New parameter $executable. Set $pf_prefix instead of
300 hand writing a prefix in tests. Issue a clean_restart and enable
301 lin-lwp debug output here.
302 (top level): Adjust. Use build_executable. Don't start gdb here,
303 and don't enable lin-lwp debug output here.
304 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
305
c755f03d
JK
3062012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
307
308 Fix racy FAILs.
309 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
310 "continue" command.
311
6bec5e0a
JK
3122012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
313
314 Fix for gdbserver non-extended mode.
315 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
316 and gdb_run_cmd.
317
2e8265fd
TT
3182012-02-17 Tom Tromey <tromey@redhat.com>
319
320 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
321 * gdb.python/py-events.exp: Check 'dir' output.
322 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
323
9e507076
YQ
3242012-02-17 Yao Qi <yao@codesourcery.com>
325
326 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
327
32d22ab1
TT
3282012-02-16 Tom Tromey <tromey@redhat.com>
329
330 * gdb.base/inferior-died.c: Don't include stdio.h.
331
9addecb9
TT
3322012-02-16 Tom Tromey <tromey@redhat.com>
333
334 * gdb.base/inferior-died.c: New file.
335 * gdb.base/inferior-died.exp: New file.
336
4cb6da1c
AR
3372012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
338
339 * gdb.base/break-inline.exp: New file.
340 * gdb.base/break-inline.c: New file.
341
3af2590d
TT
3422012-02-15 Tom Tromey <tromey@redhat.com>
343
344 * gdb.base/pc-fp.exp: Add "info register" tests.
345
29988831
TT
3462012-02-15 Tom Tromey <tromey@redhat.com>
347
348 * gdb.base/regs.exp: Remove.
349
10010058
PA
3502012-02-15 Pedro Alves <palves@redhat.com>
351
352 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
353 the target doesn't support tracepoints.
354 * gdb.trace/circ.exp: Ditto.
355 * gdb.trace/collection.exp: Ditto.
356 * gdb.trace/packetlen.exp: Ditto.
357 * gdb.trace/passc-dyn.exp: Ditto.
358 * gdb.trace/report.exp: Ditto.
359 * gdb.trace/tfind.exp: Ditto.
360 * gdb.trace/tspeed.exp: Ditto.
361 * gdb.trace/tsv.exp: Ditto.
362 * gdb.trace/unavailable.exp: Ditto.
363 * gdb.trace/while-dyn.exp: Ditto.
364
a2e0062d
PA
3652012-02-15 Pedro Alves <palves@redhat.com>
366
367 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
368 gdb_test_multiple, and call unsupported instead of fail, if the
369 remote side does not support the request.
370
a1999d40
PA
3712012-02-15 Pedro Alves <palves@redhat.com>
372
373 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
374 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
375 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
376 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
377 * gdb.server/server-run.exp: Make sure gdb is disconnected.
378 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
379 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
380 doesn't start with "extended-" already.
381
7cee1e54
PA
3822012-02-15 Pedro Alves <palves@redhat.com>
383
384 Support extended-remote. Avoid cascading timeouts.
385
386 * gdb.base/attach.exp (do_attach_tests): Add expected output for
387 the extended-remote target. If attaching with no file fails, load
388 the file manually.
389 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
390
816338b5
SS
3912012-02-14 Stan Shebs <stan@codesourcery.com>
392
393 * gdb.base/ena-dis-br.exp: Add enable count test.
394
cc30c4bd
PA
3952012-02-13 Pedro Alves <palves@redhat.com>
396
397 * config/mips-idt.exp: Delete.
398 * gdb.base/a2-run.exp: Remove mips-idt xfails.
399 * gdb.base/bitfields.exp: Remove mips-idt restarts.
400 * gdb.base/break.exp: Remove mips-idt references.
401 * gdb.base/chng-syms.exp: Ditto.
402 * gdb.base/default.exp: Ditto.
403 * gdb.base/funcargs.exp (funcargs_reload): Delete.
404 (top level): Don't call it.
405 * gdb.base/opaque.exp: Remove mips-idt restarts.
406 * gdb.base/ptype.exp: Remove mips-idt xfails.
407 * gdb.base/scope.exp: Remove mips-idt restarts.
408 * gdb.base/sepdebug.exp: Remove mips-idt references.
409 * gdb.base/watchpoint.exp (maybe_clean_restart)
410 (maybe_reinitialize): Delete.
411 (test_disabling_watchpoints, test_disabling_watchpoints)
412 (test_watchpoint_triggered_in_syscall)
413 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
414 Don't call them.
415
57008375
JK
4162012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
417
418 * gdb.server/server-exec-info.exp: New file.
419
4a2d9c08
PA
4202012-02-10 Pedro Alves <palves@redhat.com>
421
422 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
423 always non-empty.
424 (test_attach): Always pass $exec to test_attach_gdb.
425
09fa21bd
TT
4262012-02-08 Tom Tromey <tromey@redhat.com>
427
428 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
429 before inferior is started.
430
f0823d2c
TT
4312012-02-07 Tom Tromey <tromey@redhat.com>
432
433 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
434 Symbol.value.
435 * gdb.python/py-symbol.c (qq): Set default value.
436
4372012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
438
439 * gdb.python/py-symbol.c (qq): New global.
440 * gdb.python/py-symbol.exp: Add test for frame-less
441 lookup_symbol.
442 * gdb.python/py-symtab.exp: Fix line number.
443
f7e44f65
JB
4442012-02-03 Joel Brobecker <brobecker@adacore.com>
445
446 * gdb.ada/mi_task_arg: New testcase.
447
4c9ed63c
PA
4482012-02-02 Pedro Alves <palves@redhat.com>
449
450 * gdb.reverse/until-precsave.exp: Also put "record save" under the
451 extended timeout.
452
c0b9f2c6
PA
4532012-02-02 Pedro Alves <palves@redhat.com>
454
455 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
456 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
457
5f8cefd7
PA
4582012-02-02 Pedro Alves <palves@redhat.com>
459
460 * gdb.base/term.exp: Rewrite.
461 * gdb.base/term.c: New.
462
2f3a2569
PA
4632012-02-02 Pedro Alves <palves@redhat.com>
464
465 * gdb.base/default.exp (run "r" abbreviation, run): Add
466 extended-remote expected output.
467
f149aabd
TT
4682012-02-02 Tom Tromey <tromey@redhat.com>
469
470 * gdb.cp/dispcxx.exp: New file.
471 * gdb.cp/dispcxx.cc: New file.
472
03bef283
TT
4732012-02-01 Tom Tromey <tromey@redhat.com>
474
475 * gdb.base/jit-simple.exp: New file.
476 * gdb.base/jit-simple.c: New file.
477
a79b18b5
YQ
4782012-01-30 Yao Qi <yao@codesourcery.com>
479
480 * gdb.base/skip.exp: Make test result unique.
481
f0d1a53e
JK
4822012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
483
484 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
485 compatibility with valgrind-3.7.0.
486
4b3c9f41
PA
4872012-01-27 Pedro Alves <palves@redhat.com>
488
489 * gdb.base/watchpoint.exp (no_hw): New global.
490 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
491 disable hw watchpoints.
492 (test_wide_location_1, test_wide_location_2): If no_hw is set,
493 don't expect hw watchpoints.
494 (no_hw_watchpoints): Always clean restart.
495 (do_tests): New procedure, factored out from the top level.
496 (top level): Run tests twice. Once with hw watchpoints enabled,
497 another time with hw watchpoints disabled.
498
a13491c8
PA
4992012-01-27 Pedro Alves <palves@redhat.com>
500
501 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
502 out from the top level.
503 (top level): Call it instead.
504
f2c8a051
PA
5052012-01-27 Pedro Alves <palves@redhat.com>
506
507 * gdb.base/watchpoint.exp (top level): Re-enable hardware
508 watchpoints sooner.
509
654d7a9e
PA
5102012-01-27 Pedro Alves <palves@redhat.com>
511
512 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
513
274f47f3
PA
5142012-01-27 Pedro Alves <palves@redhat.com>
515
516 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
517 "You may have requested too many hardware
518 breakpoints/watchpoints".
519
e4d63ba2
PA
5202012-01-27 Pedro Alves <palves@redhat.com>
521
522 * gdb.base/watchpoint.exp (maybe_clean_restart)
523 (maybe_reinitialize): New.
524 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
525 expect "hit N times".
526 (test_disabling_watchpoints, test_complex_watchpoint)
527 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
528 Call maybe_clean_restart.
529 (top level): Use clean_restart. Remove "mips-idt-*"
530 reinitialization.
531
dbd95daf
PA
5322012-01-27 Pedro Alves <palves@redhat.com>
533
534 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
535
f3ad2025
PA
5362012-01-27 Pedro Alves <palves@redhat.com>
537
538 * gdb.base/watchpoint.exp: Clean restart after tests that don't
539 require `initialize' anymore. Remove unnecessary `initialize'
540 calls.
541
100aa3ae
PA
5422012-01-27 Pedro Alves <palves@redhat.com>
543
544 * gdb.base/watchpoint.exp (wp_set): Delete.
545 (initialize, test_simple_watchpoint, top level): Remove dead code.
546
c79a8e11
PA
5472012-01-27 Pedro Alves <palves@redhat.com>
548
549 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
550 typo.
551
048fe15a
PA
5522012-01-27 Pedro Alves <palves@redhat.com>
553
554 * config/extended-gdbserver.exp: New file.
555 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
556 comment.
557 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
558 * boards/native-extended-gdbserver.exp: New file.
559
4033a6bf
PA
5602012-01-26 Pedro Alves <palves@redhat.com>
561
562 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
563 and gdb_test_multiple.
564
3d7f4b81
PA
5652012-01-26 Pedro Alves <palves@redhat.com>
566
567 Make test messages unique, and more identifiable.
568 * gdb.multi/watchpoint-multi.exp: Change test messages.
569
484abf42
TT
5702012-01-25 Tom Tromey <tromey@redhat.com>
571
572 * gdb.base/solib-disc.exp: Fix regexps.
573
edcc5120
TT
5742012-01-24 Tom Tromey <tromey@redhat.com>
575
576 * lib/mi-support.exp (mi_expect_stop): Add special case for
577 solib-event.
578 * gdb.base/catch-load-so.c: New file.
579 * gdb.base/catch-load.exp: New file.
580 * gdb.base/catch-load.c: New file.
581 * gdb.base/break-interp.exp (reach_1): Update regexp.
582
30b91c90
JK
5832012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
584
585 Fix fuzzy results.
586 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
587 lpsimple and func.
588
53fe1783
GB
5892012-01-24 Gary Benson <gbenson@redhat.com>
590
591 Delete #if 0'd out code.
592 * gdb.base/default.exp (info catch): Remove.
593 * gdb.base/gdb_history (info catch): Likewise.
594 * gdb.base/help.exp (info catch): Likewise.
595
d0d8b0c6
JK
5962012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
597
598 Fix watchpoints to be specific for each inferior.
599 * gdb.multi/watchpoint-multi.c: New file.
600 * gdb.multi/watchpoint-multi.exp: New file.
601
4403d8e9
JK
6022012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
603
604 Fix watchpoints across inferior fork.
605 * gdb.threads/watchpoint-fork-child.c: New file.
606 * gdb.threads/watchpoint-fork-mt.c: New file.
607 * gdb.threads/watchpoint-fork-parent.c: New file.
608 * gdb.threads/watchpoint-fork-st.c: New file.
609 * gdb.threads/watchpoint-fork.exp: New file.
610 * gdb.threads/watchpoint-fork.h: New file.
611
050a2e1d
PA
6122012-01-23 Pedro Alves <palves@redhat.com>
613
614 * gdb.base/call-signal-resume.exp: Allow output after "return".
615
6a52fb62
PA
6162012-01-20 Pedro Alves <palves@redhat.com>
617
618 * gdb.python/py-finish-breakpoint.py: Fix typo.
619
145b16a9
UW
6202012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
621
622 * gdb.base/info-proc.exp: Also run on remote targets. Main
623 "info proc" command is now always present; whether target supports
624 actual info proc operation is detected when attempting to issue
625 the command.
626
26f6125e
JK
6272012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
628
629 * .gdbinit: Remove.
630
eb5227ce
PA
6312012-01-19 Pedro Alves <palves@redhat.com>
632
633 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
634 look at the funtions' returns.
635 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
636 (jprint.print(int, int)): Change return type to int. Adjust.
637
1db33378
PP
6382012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
639
640 PR gdb/9538
641 * gdb.base/sepdebug.exp: New test.
642
b9736cf8
PA
6432012-01-18 Pedro Alves <palves@redhat.com>
644
645 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
646 Allow output before ^done.
647
4aac40c8
TT
6482012-01-16 Tom Tromey <tromey@redhat.com>
649
650 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
651 Add tests for relative directory.
652
cafec441
TT
6532012-01-16 Tom Tromey <tromey@redhat.com>
654
655 * gdb.base/printcmds.c (enum flag_enum): New.
656 (three): New global.
657 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
658 enum printing.
659 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
660 FlagEnumerationPrinter.
661 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
662 * gdb.python/py-pp-maint.c (enum flag_enum): New.
663 (fval): New global.
664
abcc4978
PA
6652012-01-16 Pedro Alves <palves@redhat.com>
666
667 * lib/gdb.exp (banned_procedures): New variable.
668 (banned_variables_traced): Rename to ...
669 (banned_traced): ... this.
670 (gdb_init): Also trace banned procedures.
671 (gdb_finish): Also untrace banned procedures.
672
97ccebe8
PA
6732012-01-16 Pedro Alves <palves@redhat.com>
674
675 Remove all calls to strace.
676
2af7517b
JK
6772012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
678
679 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
680 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
681
9241a8bc
PP
6822012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
683
684 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
685 * gdb.base/pie-execl.exp: Likewise.
686
3848a17f
KS
6872012-01-12 Keith Seitz <keiths@redhat.com>
688
689 PR mi/10586
690 * gdb.mi/var-cmd.c (struct anonymous): New structure.
691 (do_anonymous_type_tests): New function.
692 (main): Call do_anonymous_type_tests.
693 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
694 (verify_everything): New procedure.
695 * gdb.mi/mi-var-cp.cc (class A): New class.
696 (anonymous_structs_and_unions): New function.
697 (main): Call anonymous_structs_and_unions.
698 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
699 (verify_everything): New procedure.
700
440e2fca
KS
7012012-01-12 Keith Seitz <keiths@redhat.com>
702
703 * lib/mi-support.exp: Expand comments about PATH_EXPR.
704 (varobj_tree::get_path_expr): Assume that all varobjs are
705 compound unless they are known simple types.
706 Adjust path expressions based on parent type, path parent type,
707 and tree language.
708 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
709 the root varobj.
710 (mi_walk_varobj_tree): Add LANGUAGE parameter.
711
675399c9
PA
7122012-01-11 Pedro Alves <palves@redhat.com>
713
714 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
715 core files on this machine" anymore.
716
97ddaa9b
PH
7172012-01-11 Paul Hilfinger <hilfingr@adacore.com>
718
719 * gdb.base/watchpoint.c (recurser): Initialize local_x.
720 (main): Repeat recurser call.
721 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
722 equivalent to 'local_x'.
723
ea733575
PH
7242012-01-11 Paul Hilfinger <hilfingr@adacore.com>
725 Joel Brobecker <brobecker@adacore.com>
726
727 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
728
2ca0b532
PA
7292012-01-05 Pedro Alves <alves.ped@gmail.com>
730
731 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
732 * gdb.python/py-events.c (first): Add bits for new "step N" test.
733 * gdb.python/py-events.exp: Test that "step N" tripping on a
734 breakpoint emits a breakpoint event.
735
6e681866
JB
7362012-01-03 Joel Brobecker <brobecker@adacore.com>
737
738 * gdb.base/auxv.exp: Reformat the copyright notice.
739
3c2d6aff
YQ
7402012-01-03 Yao Qi <yao@codesourcery.com>
741
742 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
743 (strace_trace_on_diff_addr): New.
744 * gdb.trace/strace.c: (main): Add two local variables.
745
0852fee3
UW
7462011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
747
748 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
749 * gdb.cell/gcore.exp: Likewise.
750 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
751 to verify the correct instance of main is selected.
752
12c3e59c
JB
7532012-01-02 Joel Brobecker <brobecker@adacore.com>
754
755 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
756 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
757 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
758 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
759 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
760 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
761 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
762 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
763 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
764 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
765 gdb.threads/thread_check.c: Reformat copyright header.
766
c0f378ec
EBM
7672011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
768
e4a7ca93 769 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
770 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
771 is not enabled.
772
3bc96cfb
JK
7732011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
774
775 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
776 parameter to self_exec, adjust the function.
777 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
778 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
779 (set var do_exit = 0): Remove test.
780 (newline at end of file): Add one.
781
095bcf5e
JB
7822011-12-27 Joel Brobecker <brobecker@adacore.com>
783
784 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
785 New files.
786
18d19bd1
JK
7872011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
788
789 Fix racy FAILs.
790 * gdb.threads/fork-thread-pending.c (barrier): New variable.
791 (thread_function, thread_forker): Call pthread_barrier_wait for it.
792 (main): Call pthread_barrier_init for it.
793
e809353a
JK
7942011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
795
796 Fix double send_gdb leading to racy FAILs.
797 * gdb.base/break.exp (set silent break bp_location1): Replace
798 3x send_gdb and gdb_expect by gdb_test.
799 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
800 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
801 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
802 instead of send_gdb. Twice.
803 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
804 3x send_gdb and gdb_expect by gdb_test.
805 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
806
da8cb7ec
JK
8072011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
808
809 * gdb.linespec/linespec.exp: Compile using {c++}.
810
ae1a303e
JK
8112011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
812
813 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
814 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
815 (verify GCC PR debug/51668): New test.
816
cc72b2a2
KP
8172011-12-23 Kevin Pouget <kevin.pouget@st.com>
818
819 Introduce gdb.FinishBreakpoint in Python.
820 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
821 py-finish-breakpoint2
822 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
823 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
824 instead of line number.
825 * gdb.python/py-finish-breakpoint.c: New file.
826 * gdb.python/py-finish-breakpoint.exp: New file.
827 * gdb.python/py-finish-breakpoint.py: New file.
828 * gdb.python/py-finish-breakpoint2.cc: New file.
829 * gdb.python/py-finish-breakpoint2.exp: New file.
830 * gdb.python/py-finish-breakpoint2.py: New file.
831
3b7962f9
JK
8322011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
833
834 Partial fix of compatibility with gcc-4.7.
835 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
836 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
837 Add comment to add a PASS case in the future.
838
6538471c
JK
839 Fix compatibility with gcc-4.7.
840 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
841
7052e42c
UW
8422011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
843
844 PR tdep/12797
845 * gdb.base/callfuncs.exp: Remove KFAIL.
846
9ac7f98e
JB
8472011-12-21 Joel Brobecker <brobecker@adacore.com>
848
849 * gdb.ada/task_bp: New testcase.
850
f6eeced0
JK
8512011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
852
853 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
854 -DNO_SECTIONS.
855 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
856
72225e17
JK
8572011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
858
859 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
860 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
861 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
862 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
863 conditional for gcc <= 4.5.
864
13ac8d2c
JK
8652011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
866
867 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
868 by XFAIL.
869 * gdb.cp/static-method.exp (info addr A::func())
870 (list static-method.cc:xxx::(anonymous namespace)::A::func)
871 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
872 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
873 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
874 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
875 (test value of F in k3_m): Likewise.
876 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
877 Likewise.
878
049682ba
JK
8792011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
880
881 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
882 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
883 Remove.
884 * gdb.threads/attachstop-mt.c: Remove.
885 * gdb.threads/attachstop-mt.exp: Remove.
886
2c9d8796
MK
8872011-12-17 Mark Kettenis <kettenis@gnu.org>
888
889 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
890
e0f9f062
DE
8912011-12-16 Doug Evans <dje@google.com>
892
f4aa2101 893 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
894 * boards/native-gdbserver.exp: New file.
895
e0f9f062
DE
896 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
897 gdbserver output.
898 (gdbserver_default_get_remote_address): New function.
899 (gdbserver_start): Call gdb,get_remote_address to compute argument
900 to "target remote" command.
901
80b6e756
PM
9022011-12-16 Phil Muldoon <pmuldoon@redhat.com>
903
1c3ad6ab 904 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
905 python print-stack. Add set/show python print-stack
906 off|full|message tests.
907
1576bd00
YQ
9082011-12-15 Yao Qi <yao@codesourcery.com>
909
910 * gdb.trace/strace.c: New
911 * gdb.trace/strace.exp: New.
912
d6a0f6e0
TT
9132011-12-14 Tom Tromey <tromey@redhat.com>
914
915 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
916
31015e1d
DE
9172011-12-14 Doug Evans <dje@google.com>
918
919 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
920
7b50312a
PA
9212011-12-14 Pedro Alves <pedro@codesourcery.com>
922
923 PR threads/10729
924
925 * gdb.mi/watch-nonstop.c: New file.
926 * gdb.mi/mi-watch-nonstop.exp: New file.
927
924437bc
PA
9282011-12-13 Pedro Alves <pedro@codesourcery.com>
929 Doug Evans <dje@google.com>
930
931 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
932 (clean_restart): Remove references to the gdb_stub target board
933 variable.
934 (gdb_step_for_stub): Delete.
935
936 * gdb.base/annota1.exp: Remove all references to [target_info
937 exists gdb_stub], gdb_step_for_stub and usestubs.
938 * gdb.base/annota3.exp: Ditto.
939 * gdb.base/async.exp: Ditto.
940 * gdb.base/break.exp: Ditto.
941 * gdb.base/code-expr.exp: Ditto.
942 * gdb.base/commands.exp: Ditto.
943 * gdb.base/completion.exp: Ditto.
944 * gdb.base/condbreak.exp: Ditto.
945 * gdb.base/consecutive.exp: Ditto.
946 * gdb.base/cvexpr.exp: Ditto.
947 * gdb.base/define.exp: Ditto.
948 * gdb.base/display.exp: Ditto.
949 * gdb.base/ena-dis-br.exp: Ditto.
950 * gdb.base/environ.exp: Ditto.
951 * gdb.base/gnu-ifunc.exp: Ditto.
952 * gdb.base/maint.exp: Ditto.
953 * gdb.base/pending.exp: Ditto.
954 * gdb.base/sect-cmd.exp: Ditto.
955 * gdb.base/sepdebug.exp: Ditto.
956 * gdb.base/unload.exp: Ditto.
957 * gdb.base/watchpoint-solib.exp: Ditto.
958 * gdb.cp/annota2.exp: Ditto.
959 * gdb.cp/annota3.exp: Ditto.
960 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
961 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
962 * gdb.mi/mi-pending.exp: Ditto.
963 * gdb.trace/circ.exp: Ditto.
964 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
965 * gdb.base/list.exp: Ditto.
966
967 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
968 breakpoint function and all references to the usestubs macro.
969 * gdb.base/exprs.c: Ditto.
970 * gdb.base/freebpcmd.c: Ditto.
971 * gdb.base/bitfields.c: Ditto.
972 * gdb.base/bitfields2.c: Ditto.
973 * gdb.base/break.c: Ditto.
974 * gdb.base/call-sc.c: Ditto.
975 * gdb.base/call-signals.c: Ditto.
976 * gdb.base/callfuncs.c: Ditto.
977 * gdb.base/charset.c: Ditto.
978 * gdb.base/consecutive.c: Ditto.
979 * gdb.base/constvars.c: Ditto.
980 * gdb.base/funcargs.c: Ditto.
981 * gdb.base/int-type.c: Ditto.
982 * gdb.base/interrupt.c: Ditto.
983 * gdb.base/langs0.c: Ditto.
984 * gdb.base/list0.c: Ditto.
985 * gdb.base/mips_pro.c: Ditto.
986 * gdb.base/miscexprs.c: Ditto.
987 * gdb.base/nodebug.c: Ditto.
988 * gdb.base/opaque0.c: Ditto.
989 * gdb.base/pointers.c: Ditto.
990 * gdb.base/printcmds.c: Ditto.
991 * gdb.base/ptype.c: Ditto.
992 * gdb.base/recurse.c: Ditto.
993 * gdb.base/reread1.c: Ditto.
994 * gdb.base/reread2.c: Ditto.
995 * gdb.base/restore.c: Ditto.
996 * gdb.base/return.c: Ditto.
997 * gdb.base/run.c: Ditto.
998 * gdb.base/scope0.c: Ditto.
999 * gdb.base/sepdebug.c: Ditto.
1000 * gdb.base/setshow.c: Ditto.
1001 * gdb.base/setvar.c: Ditto.
1002 * gdb.base/sigall.c: Ditto.
1003 * gdb.base/signals.c: Ditto.
1004 * gdb.base/structs.c: Ditto.
1005 * gdb.base/structs2.c: Ditto.
1006 * gdb.base/testenv.c: Ditto.
1007 * gdb.base/twice.c: Ditto.
1008 * gdb.base/unwindonsignal.c: Ditto.
1009 * gdb.base/watchpoint.c: Ditto.
1010 * gdb.base/watchpoints.c: Ditto.
1011 * gdb.base/whatis.c: Ditto.
1012 * gdb.cp/classes.cc: Ditto.
1013 * gdb.cp/cplusfuncs.cc: Ditto.
1014 * gdb.cp/derivation.cc: Ditto.
1015 * gdb.cp/formatted-ref.cc: Ditto.
1016 * gdb.cp/misc.cc: Ditto.
1017 * gdb.cp/overload.cc: Ditto.
1018 * gdb.cp/ovldbreak.cc: Ditto.
1019 * gdb.cp/ref-params.cc: Ditto.
1020 * gdb.cp/ref-types.cc: Ditto.
1021 * gdb.cp/templates.cc: Ditto.
1022 * gdb.cp/virtfunc.cc: Ditto.
1023 * gdb.hp/gdb.aCC/run.c: Ditto.
1024 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
1025 * gdb.hp/gdb.compat/xdb0.c: Ditto.
1026 * gdb.reverse/consecutive-reverse.c: Ditto.
1027 * gdb.reverse/sigall-reverse.c: Ditto.
1028 * gdb.reverse/until-reverse.c: Ditto.
1029 * gdb.reverse/watch-reverse.c: Ditto.
1030 * gdb.trace/actions.c: Ditto.
1031 * gdb.trace/circ.c: Ditto.
1032 * gdb.trace/collection.c: Ditto.
1033
fabde485
PA
10342011-12-13 Pedro Alves <pedro@codesourcery.com>
1035
1036 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
1037 (func6, func7): New.
1038 (main): Call func6 and func7.
1039 * gdb.base/watchpoint.exp (test_wide_location_1)
1040 (test_wide_location_2): New.
1041 (top level): Re-enable hardware watchpoints if necessary. Call
1042 test_wide_location_1 and test_wide_location_2.
1043
ff7d1690
YQ
10442011-12-11 Yao Qi <yao@codesourcery.com>
1045
1046 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
1047
a6af7abe
JB
10482011-12-11 Joel Brobecker <brobecker@adacore.com>
1049
1050 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
1051 expected output for unsupported case.
1052
61638e15
JK
10532011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1054
1055 PR testsuite/12649
1056 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
1057 Protect gdb_test_multiple by final $gdb_prompt match.
1058
0a00efc3
JK
10592011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1060
1061 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
1062 New variable, new test.
1063 (list static-method.cc:xxx::(anonymous namespace)::A::func)
1064 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
1065 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
1066 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
1067 them if HAVE_GCC_45682_FIXED is not set.
1068
4511b1ba
YQ
10692011-12-10 Yao Qi <yao@codesourcery.com>
1070
1071 * gdb.trace/status-stop.exp: New.
1072 * gdb.trace/status-stop.c: New.
1073
27949e73
JK
10742011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1075
1076 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
1077 timeout.
1078
d8ea7931
TT
10792011-12-08 Tom Tromey <tromey@redhat.com>
1080
1081 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
1082 condition.
1083
1cc310d2
SS
10842011-12-07 Stan Shebs <stan@codesourcery.com>
1085
1086 * gdb.trace/tfind.exp: Update for output changes.
1087
d482a875
PA
10882011-12-07 Pedro Alves <pedro@codesourcery.com>
1089
1090 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
1091 throws "Cannot insert catchpoints in this configuration".
1092 * gdb.ada/mi_catch_ex.exp: Likewise.
1093
f0ba3972
PA
10942011-12-06 Pedro Alves <pedro@codesourcery.com>
1095
1096 * gdb.base/break-always.exp: Test changing memory at addresses
1097 with breakpoints inserted.
1098
f8eba3c6
TT
10992011-12-06 Joel Brobecker <brobecker@acacore.com>
1100
1101 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
1102 involving a fully qualified function name.
1103
11042011-12-06 Tom Tromey <tromey@redhat.com>
1105
1106 * gdb.ada/homonym.exp: Add three breakpoint tests.
1107
11082011-12-06 Tom Tromey <tromey@redhat.com>
1109
1110 * gdb.base/solib-weak.exp (do_test): Remove kfail.
1111 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
1112 * gdb.objc/objcdecode.exp: Update for output changes.
1113 * gdb.linespec/linespec.exp: New file.
1114 * gdb.linespec/lspec.cc: New file.
1115 * gdb.linespec/lspec.h: New file.
1116 * gdb.linespec/body.h: New file.
1117 * gdb.linespec/base/two/thefile.cc: New file.
1118 * gdb.linespec/base/one/thefile.cc: New file.
1119 * gdb.linespec/Makefile.in: New file.
1120 * gdb.cp/templates.exp (test_template_breakpoints): Update for
1121 output changes.
1122 * gdb.cp/re-set-overloaded.exp: Remove kfail.
1123 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
1124 makes one breakpoint.
1125 * gdb.cp/method2.exp (test_break): Update for output changes.
1126 * gdb.cp/mb-templates.exp: Update for output changes.
1127 * gdb.cp/mb-inline.exp: Update for output changes.
1128 * gdb.cp/mb-ctor.exp: Update for output changes.
1129 * gdb.cp/ovsrch.exp: Use fully-qualified names.
1130 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
1131 has multiple matches.
1132 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
1133 error message change.
1134 * gdb.base/list.exp (test_list_filename_and_number): Update for
1135 error message change.
1136 * gdb.base/break.exp: Disable pending breakpoints. Update for
1137 output changes.
1138 * configure.ac: Add gdb.linespec.
1139 * configure: Rebuild.
1140 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
1141
c642a434
UW
11422011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
1143
1144 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
1145 last_break register on s390*-*-* targets.
1146
b18003d1
JB
11472011-12-06 Joel Brobecker <brobecker@adacore.com>
1148
1149 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
1150 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
1151 of parameter X in procedure Foo.
1152
fe96589c
SS
11532011-12-05 Stan Shebs <stan@codesourcery.com>
1154
1155 * gdb.trace/tfind.exp: Update help string matches.
1156
1820ab47
JK
11572011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1158
1159 * gdb.server/ext-run.exp (get process list): Accept also systemd
1160 as PID 1.
1161
e11ac3a3
JK
11622011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1163 Pedro Alves <pedro@codesourcery.com>
1164
1165 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
1166 starting GDB.
1167 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
1168 $use_gdb_stub.
1169 * gdb.base/display.exp: Likewise.
1170 * gdb.base/ending-run.exp: Likewise.
1171 * gdb.base/list.exp (test_listsize): Likewise.
1172 * gdb.base/setshow.exp: Likewise.
1173 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
1174 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
1175 check by global $use_gdb_stub.
1176 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
1177 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
1178 (default_gdb_init): Unset global $use_gdb_stub.
1179 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
1180 by global $use_gdb_stub.
1181 * lib/gdbserver-support.exp: Extend comments for set_board_info
1182 gdb_protocol and gdb,socketport.
1183 (gdbserver_start_extended): Set global gdbserver_protocol and
1184 gdbserver_gdbport. Clear global use_gdb_stub.
1185 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
1186 from target use_gdb_stub.
1187 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
1188
1d41d75c
DE
11892011-12-03 Doug Evans <dje@google.com>
1190
1191 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
1192 (gdb_step_for_stub): Add comments.
1193
d6d7a51a
MR
11942011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
1195
1196 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
1197 to the caller.
1198 (gdb_test_multiple): Likewise.
1199
05acf274
JK
12002011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1201
1202 Fix gdb.mi/mi-solib.exp without system debug info installed.
1203 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
1204 expect attribute, return 0 for it. Update comments.
1205
2268b414
JK
12062011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1207
1208 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
1209 (corrupted list): Adjust the expectation.
1210
585861ea
JK
12112011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1212
1213 PR threads/13448
1214 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
1215 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
1216 * gdb.threads/tls-var-main.c: New file.
1217 * gdb.threads/tls-var.c: New file.
1218 * gdb.threads/tls-var.exp: New file.
1219
968643aa
JK
12202011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1221
1222 PR testsuite/12649
1223 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
1224 Protect gdb_test_multiple by final $gdb_prompt match.
1225 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
1226 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1227 (test_tracepoints): Likewise.
1228
9750bca9
JK
12292011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1230
1231 PR breakpoints/13346
1232 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
1233 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
1234 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
1235
ac1349b7
JB
12362011-12-01 Joel Brobecker <brobecker@adacore.com>
1237
1238 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
1239 * gdb.ada/homonym/homonym.adb: For use of all types defined
1240 locally inside both Get_Value subprograms.
1241
26d44faf
JK
12422011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1243
1244 Fix racy FAILs.
1245 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
1246 of send_gdb.
1247
514f6425
UW
12482011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1249
1250 * gdb.base/testenv.exp: Skip on remote targets. Unset global
1251 environment variable after test completed.
1252
4255c8d2
UW
12532011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1254
1255 * gdb.base/solib-nodir.exp: Skip if remote target.
1256 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
1257 application. Call gdb_load_shlibs.
1258 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
1259
a35ad96a
JB
12602011-11-29 Joel Brobecker <brobecker@adacore.com>
1261
1262 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
1263
1a1d5513
JB
12642011-11-28 Joel Brobecker <brobecker@adacore.com>
1265
1266 * gdb.ada/fullname_bp: New testcase.
1267
50b4ddf8
JK
12682011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1269
1270 PR testsuite/12649
1271 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
1272 Wrap send_gdb into a new gdb_test.
1273
fb0aec57
JK
1274 Code cleanup.
1275 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
1276 Convert send_gdb and gdb_expect to gdb_test_multiple.
1277
2376d946
JK
12782011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1279
1280 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
1281
1eec78bd
KS
12822011-11-23 Keith Seitz <keiths@redhat.com>
1283
1284 * lib/mi-support.exp (varobj_tree): New namespace and procs.
1285 (mi_varobj_tree_test_children_callback): New proc.
1286 (mi_walk_varobj_tree): New proc.
1287
36dfb11c
TT
12882011-11-22 Tom Tromey <tromey@redhat.com>
1289
1290 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
1291 Add "use_mi_command" argument.
1292 (mi_run_cmd, mi_run_with_cli): New procs.
1293 * gdb.mi/solib-lib.c: New file.
1294 * gdb.mi/solib-main.c: New file.
1295 * gdb.mi/mi-solib.exp: New file.
1296
0e965dd0
DE
12972011-11-21 Doug Evans <dje@google.com>
1298
1299 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
1300 _Unwind_DebugHook is missing.
1301
f196051f
SS
13022011-11-20 Stan Shebs <stan@codesourcery.com>
1303
1304 * gdb.trace/tstatus.exp: New.
1305 * gdb.trace/actions.c: Include string.h.
1306
bfccc43c
YQ
13072011-11-18 Yao Qi <yao@codesourcery.com>
1308
1309 * gdb.trace/pending.exp: New.
1310 * gdb.trace/pending.c: New.
1311 * gdb.trace/pendshr1.c: New.
1312 * gdb.trace/pendshr2.c: New.
1313 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
1314 tracepoint location becomes pending.
1315 (tracepoint_change_loc_2): New.
1316
73cd8ab1
DM
13172011-11-16 David S. Miller <davem@davemloft.net>
1318
1319 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
1320 target is sparc*-*-linux*
1321
77426730
PK
13222011-11-15 Paul Koning <paul_koning@dell.com>
1323
1324 * gdb.python/py-type.exp: New testcases for exceptions on scalar
1325 types.
1326
ed59ded5
DE
13272011-11-14 Doug Evans <dje@google.com>
1328
1329 * gdb.base/shell.exp: New file.
1330
405f8e94
SS
13312011-11-14 Stan Shebs <stan@codesourcery.com>
1332
1333 * gdb.trace/ftrace.c: New.
1334 * gdb.trace/ftrace.exp: New.
1335
1e4d1764
YQ
13362011-11-14 Yao Qi <yao@codesourcery.com>
1337
1338 * gdb.trace/change-loc-1.c: New.
1339 * gdb.trace/change-loc-2.c: New.
1340 * gdb.trace/change-loc.c: New.
1341 * gdb.trace/change-loc.exp: New.
1342 * gdb.trace/change-loc.h: New.
1343 * gdb.trace/trace-break.c (marker): Define new symbol.
1344 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
1345 New.
1346 (break_trace_same_addr_6): New.
1347
71eba9c2 13482011-11-12 Matt Rice <ratmice@gmail.com>
1349
1350 * gdb.base/info-macros.exp: Make tests for info definitions
1351 test info macro. Add tests for info macro argument processing.
1352 Rename a few tests.
1353
1d93e29a
KS
13542011-11-11 Keith Seitz <keiths@redhat.com>
1355
1356 PR gdb/12843
1357 * gdb.base/linespecs.exp: New file.
1358
a4b5b48a
DE
13592011-11-11 Doug Evans <dje@google.com>
1360
1361 * gdb.threads/print-threads.exp: Extend timeout for slower
1362 tests.
1363
f6b47be4
DE
13642011-11-10 Doug Evans <dje@google.com>
1365
792a0230
DE
1366 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
1367 "record to end of main" test.
1368
f6b47be4
DE
1369 * gdb.python/py-type.c (TS): New typedef.
1370 (ts): New global.
1371 * gdb.python/py-type.exp: Test field list of typedef.
1372
22355c90
JB
13732011-11-10 Joel Brobecker <brobecker@adacore.com>
1374
1375 * gdb.ada/small_reg_param: New testcase.
1376
a7860e76
TT
13772011-11-09 Tom Tromey <tromey@redhat.com>
1378
1379 * gdb.cp/destrprint.exp: New file.
1380 * gdb.cp/destrprint.cc: New file.
1381
72a2e3dc
MI
13822011-11-08 Meador Inge <meadori@codesourcery.com>
1383
1384 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
1385 (switch_stack_to_other): New test function.
1386 * gdb.arch/thumb-prologue.exp: New test cases.
1387
c7195df2 13882011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
1389
1390 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
1391
d3895d7d
YQ
13922011-11-08 Yao Qi <yao@codesourcery.com>
1393
1394 * gdb.exp (supports_process_record): New.
1395 (supports_reverse): New.
1396 * gdb.reverse/break-precsave.exp: Call support_process_record
1397 to run test conditionally.
1398 * gdb.reverse/consecutive-precsave.exp: Likewise.
1399 * gdb.reverse/i386-precsave.exp: Likewise.
1400 * gdb.reverse/machinestate-precsave.exp: Likewise.
1401 * gdb.reverse/solib-precsave.exp: Likewise.
1402 * gdb.reverse/step-precsave.exp: Likewise.
1403 * gdb.reverse/until-precsave.exp: Likewise.
1404 * gdb.reverse/watch-precsave.exp: Likewise.
1405 * gdb.reverse/break-reverse.exp: Call support_reverse to run
1406 test conditionally.
1407 * gdb.reverse/consecutive-reverse.exp: Likewise.
1408 * gdb.reverse/finish-precsave.exp: Likewise.
1409 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1410 * gdb.reverse/finish-reverse.exp: Likewise.
1411 * gdb.reverse/i386-reverse.exp: Likewise.
1412 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1413 * gdb.reverse/machinestate.exp: Likewise.
1414 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
1415 * gdb.reverse/sigall-precsave.exp: Likewise.
1416 * gdb.reverse/sigall-reverse.exp: Likewise.
1417 * gdb.reverse/solib-reverse.exp: Likewise.
1418 * gdb.reverse/step-reverse.exp: Likewise.
1419 * gdb.reverse/until-reverse.exp: Likewise.
1420 * gdb.reverse/watch-reverse.exp: Likewise.
1421
a59306a3
YQ
14222011-11-05 Yao Qi <yao@codesourcery.com>
1423
1424 * gdb.trace/trace-break.exp: Add test on setting two
1425 fast tracepoints at the same address.
1426
87769f59
JK
14272011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1428
1429 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
1430
3065dfb6
SS
14312011-11-02 Stan Shebs <stan@codesourcery.com>
1432
1433 * gdb.trace/collection.c: Add code using strings.
1434 * gdb.trace/collection.exp: Add tests of string collection.
1435
89e208db
JK
14362011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1437
1438 * gdb.base/skip-solib.exp (executable_main): New variable.
1439 (binfile_main): Base it on that.
1440 Use $executable_main in clean_restart calls. Drop gdb_exit and
1441 gdb_start calls.
1442
405e54e9
JK
14432011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1444
1445 Fix racy FAILs.
1446 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
1447 breakpoint_re globals import by async. Set string_regex to .* for
1448 async. Remove the optional thread_selected_re and breakpoint_re
1449 globals expectations.
1450
58e8570a
JM
14512011-11-01 Joseph Myers <joseph@codesourcery.com>
1452
1453 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
1454 well as Cygwin.
1455
7b35ec7f 14562011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
1457
1458 Add tests for skip command.
89e208db
JK
1459 * gdb.base/skip-solib-lib.c: New
1460 * gdb.base/skip-solib-main.c: New
1461 * gdb.base/skip-solib.exp: New
1462 * gdb.base/skip.c: New
1463 * gdb.base/skip.exp: New
1464 * gdb.base/skip1.c: New
1465 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 1466
b9fd1791
PA
14672011-10-31 Yao Qi <yao@codesourcery.com>
1468 Pedro Alves <pedro@codesourcery.com>
1469
1470 * gdb.trace/trace-break.c: New.
1471 * gdb.trace/trace-break.exp: New.
1472
4323fecc
JK
14732011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1474
1475 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
1476 break-here-2.
1477
0e5bf2a8
PA
14782011-10-28 Pedro Alves <pedro@codesourcery.com>
1479
1480 * gdb.threads/no-unwaited-for-left.c: New.
1481 * gdb.threads/no-unwaited-for-left.exp: New.
1482 * gdb.threads/non-ldr-exc-1.c: New.
1483 * gdb.threads/non-ldr-exc-1.exp: New.
1484 * gdb.threads/non-ldr-exc-2.c: New.
1485 * gdb.threads/non-ldr-exc-2.exp: New.
1486 * gdb.threads/non-ldr-exc-3.c: New.
1487 * gdb.threads/non-ldr-exc-3.exp: New.
1488 * gdb.threads/non-ldr-exc-4.c: New.
1489 * gdb.threads/non-ldr-exc-4.exp: New.
1490
3a3dad98
JK
14912011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1492
1493 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
1494 * gdb.base/attach-pie-misread.exp: Likewise.
1495 * gdb.base/break-interp.exp: Likewise.
1496 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
1497 testcases for use_gdb_stub.
1498 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
1499 (continue): New testcase.
1500 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
1501 * gdb.threads/attach-into-signal.exp: Likewise.
1502 * gdb.threads/attach-stopped.exp: Likewise.
1503 * gdb.threads/attachstop-mt.exp: Likewise.
1504
d6a5d40c
PK
15052011-10-28 Paul Koning <paul_koning@dell.com>
1506
1507 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
1508
ca539be8
JK
15092011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1510
1511 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
1512 (mi_gdb_test): Import globals thread_selected_re
1513 and breakpoint_re. Expect them optionally at the regex start.
1514
d234ef5c
DE
15152011-10-27 Doug Evans <dje@google.com>
1516
1517 * gdb.python/python.exp: Test source -s.
1518
ab964825
PK
15192011-10-26 Paul Koning <paul_koning@dell.com>
1520
1521 * gdb.python/lib-types.cc (struct A): New structure.
1522 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 1523
54d8a644
PK
15242011-10-25 Paul Koning <paul_koning@dell.com>
1525
1526 PR python/13327
d234ef5c 1527
54d8a644
PK
1528 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
1529 fetch_lazy method.
1530
b0221781
YQ
15312011-10-24 Yao Qi <yao@codesourcery.com>
1532
1533 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
1534 target is tic6x-*-*.
1535
6cda5a20
JB
15362011-10-21 Joel Brobecker <brobecker@adacore.com>
1537
1538 * gdb.ada/mi_task_info/task_switch.adb: New file.
1539 * gdb.ada/mi_task_info.exp: New file.
1540
5ed9db04
JK
15412011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1542
1543 * gdb.cp/expand-psymtabs-cxx.exp: New file.
1544 * gdb.cp/expand-psymtabs-cxx.cc: New file.
1545
9df2fbc4
PM
15462011-10-20 Phil Muldoon <pmuldoon@redhat.com>
1547
1548 PR python/12656
1549
1550 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
1551 global_block tests.
1552
736086ba
TT
15532011-10-18 Tom Tromey <tromey@redhat.com>
1554
1555 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
1556
4af31552
TT
15572011-10-18 Tom Tromey <tromey@redhat.com>
1558
1559 * gdb.base/source.exp: Don't include full file name in test name.
1560 * gdb.python/python.exp: Don't include full file name in test
1561 name.
1562
43136979
AR
15632011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1564
1565 * gdb.base/attach-pie-noexec.c: New files.
1566 * gdb.base/attach-pie-noexec.exp: New files.
1567
543a9323
JM
15682011-10-17 Joseph Myers <joseph@codesourcery.com>
1569
1570 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
1571 prompt for each extra line in command.
1572
21ae7a4d
JK
15732011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1574
1575 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
1576 Revert the part of:
1577 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1578 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1579 Change the expected string.
1580
20ec36d9
JK
15812011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1582
1583 Fix results with system glibc debug info installed.
1584 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
1585 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
1586 Accept also __libc_ symbol prefix and no prefix.
1587
6501c2fc
KS
15882011-10-14 Keith Seitz <keiths@redhat.com>
1589
1590 PR c++/13225
1591 * gdb.cp/converts.cc (foo3_1): New function.
1592 (foo3_2): New functions.
1593 * gdb.cp/converts.exp: Add tests for int to pointer conversion
1594 and null pointer conversions of integer constant zero.
1595 Add test to check if all arguments are checked for incompatible
1596 conversion BADNESS.
1597
55b1fd0c
TT
15982011-10-14 Tom Tromey <tromey@redhat.com>
1599
1600 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
1601 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
1602 linespec.
1603
22c05d8a
JK
16042011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1605
1606 Fix internal error regression.
1607 * gdb.dwarf2/implptr-optimized-out.S: New file.
1608 * gdb.dwarf2/implptr-optimized-out.exp: New file.
1609
1d6edc3c
JK
16102011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1611
1612 Fix empty DWARF expressions DATA vs. SIZE conditionals.
1613 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
1614 (loclist): New.
1615 (4): New abbrev.
1616 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
1617 Use prepare_for_testing, remove clean_restart.
1618 (p arraynoloc, p arraycallnoloc): New tests.
1619
9ec72168
JK
16202011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1621
1622 * gdb.cp/namespace-enum.exp (executable): New variable.
1623 (binfile): Use ${objdir}/${subdir}/ prefix.
1624 Use ${executable} for clean_restart.
1625
9c6c53f7
SA
16262011-10-11 Sterling Augustine <saugustine@google.com>
1627
1628 * gdb.cp/Makefile.in: Add namespace-enum test.
1629 * gdb.cp/namespace-enum.exp: New file.
1630 * gdb.cp/namespace-enum.c: New file.
1631 * gdb.cp/namespace-enum-main.c: New file.
1632
fac7ceb3
UW
16332011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
1634
1635 * gdb.python/py-shared.exp: Relax filename check to handle remote:
1636 sysroot.
1637
941b2081
JK
16382011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1639
1640 Reimplement @entry in input expressions.
1641 * gdb.base/exprs.c (v_int_array_init): New variable.
1642 * gdb.base/exprs.exp (print v_int_array_init)
1643 (print *v_int_array_init@1, print *v_int_array_init@2)
1644 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
1645 (print v_int_array_init[1]@1): New tests.
1646
0344e878
JM
16472011-10-10 Joseph Myers <joseph@codesourcery.com>
1648
1649 * gdb.cp/gdb2495.exp: Do not include directories in filename in
1650 expected message.
1651
5a56e9c5
DE
16522011-10-09 Doug Evans <dje@google.com>
1653
1654 * gdb.base/alias.exp: Add tests for alias command.
1655
2bda9cc5
JK
16562011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1657
1658 * gdb.arch/amd64-entry-value.s: New file.
1659 * gdb.mi/mi2-amd64-entry-value.s: New file.
1660
a471c594
JK
16612011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1662
1663 Display @entry parameter values even for references.
1664 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
1665 functions.
1666 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
1667 reference and datap_input.
1668 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
1669 breakpoints.
1670 (continue to breakpoint: entry_reference: reference)
1671 (entry_reference: bt at entry)
1672 (continue to breakpoint: entry_reference: breakhere_reference)
1673 (entry_reference: bt, entry_reference: ptype regparam)
1674 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
1675 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
1676 (entry_reference: p regcopy, entry_reference: p nodataparam)
1677 (entry_reference: p nodataparam@entry): New tests.
1678
36b11add
JK
16792011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1680
1681 Support @entry in input expressions.
1682 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
1683 (entry_stack: p s1@entry, entry_stack: p s2@entry)
1684 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
1685 (tailcall: p j@entry): New tests.
1686 * gdb.cp/koenig.cc (A::entry): New function.
1687 (main): Call it.
1688 * gdb.cp/koenig.exp (p entry (c)): New test.
1689
e18b2753
JK
16902011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1691
1692 Display @entry parameter values (without references).
1693 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
1694 (different, validity, invalid): New functions.
1695 (main): Call them.
1696 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
1697 stacktest, breakhere_stacktest, different, breakhere_different,
1698 breakhere_validity and breakhere_invalid.
1699 (entry: bt): Update for @entry.
1700 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
1701 (entry_validity: *, entry_invalid: *): Many new tests.
1702 * gdb.base/break.exp
1703 (run until breakpoint set at small function, optimized file): Accept
1704 also the @entry suffix.
1705 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
1706 * gdb.mi/mi2-amd64-entry-value.c: New files.
1707 * gdb.mi/mi2-amd64-entry-value.exp: New files.
1708
2d6c5dc2
JK
17092011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1710
1711 Protect entry values against self tail calls.
1712 * gdb.arch/amd64-entry-value.cc (self2, self): New.
1713 (main): Call self.
1714 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
1715 (set debug entry-values 1, self: bt debug entry-values): New tests.
1716
111c6489
JK
17172011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1718
1719 Recognize virtual tail call frames.
1720 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
1721 (amb_b, amb_a): New.
1722 (main): Call a and b.
1723 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
1724 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
1725 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
1726 New tests.
1727
8e3b41a9
JK
17282011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1729
1730 Implement basic support for DW_TAG_GNU_call_site.
1731 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
1732 * gdb.arch/amd64-entry-value.cc: New file.
1733 * gdb.arch/amd64-entry-value.exp: New file.
1734
181cebd4
JK
17352011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1736
1737 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
1738 * gdb.dwarf2/implptr-64bit.S: New file.
1739 * gdb.dwarf2/implptr-64bit.exp: New file.
1740
741f5e3c
JK
17412011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1742
1743 Fix initial language detection with -readnow.
1744 * gdb.cp/readnow-language.cc: New file.
1745 * gdb.cp/readnow-language.exp: New file.
1746
a73d2258
JK
17472011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1748
1749 Fix printed anonymous struct name.
1750 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
1751
af369495
JM
17522011-10-09 Joseph Myers <joseph@codesourcery.com>
1753
1754 * gdb.base/solib-symbol.exp: Do not include directories in
1755 filenames in expected messages.
1756
1fa57852
DE
17572011-10-07 Doug Evans <dje@google.com>
1758
1759 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
1760
bd054e06
KP
17612011-10-07 Kevin Pouget <kevin.pouget@st.com>
1762
1763 Allow Python notification of new object-file loadings.
1764 * gdb.python/py-events.exp: Test newobjfile event.
1765 * gdb.python/py-events.py: Register newobjfile callback.
1766 * gdb.python/py-events.c: Add call to shared library
1767 * gdb.python/py-events-shlib.c: New file.
1768
8031b6f8
JM
17692011-10-06 Joseph Myers <joseph@codesourcery.com>
1770
1771 * gdb.base/fixsection.exp: Do not include directories in filename
1772 in expected message.
1773
7fea6923
PM
17742011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
1775
1776 Add tests for passing of environment variables to inferior.
1777 * gdb.base/testenv.c: New test source.
1778 * gdb.base/testenv.exp: New expect test.
1779
687f2a88
PK
17802011-10-04 Paul Koning <paul_koning@dell.com>
1781
1782 * gdb.python/py-value.c (main): Break before return.
1783
cb6be26b
KP
17842011-10-04 Kevin Pouget <kevin.pouget@st.com>
1785
1786 PR python/12691: Add the inferior to Python exited event
1787 * gdb.python/py-events.exp: Test the inferior attribute of exited
1788 event with a fork.
1789 * gdb.python/py-events.py: Print inferior number on exit.
1790 * gdb.python/py-events.c: Fork the inferior.
1791
fb213700
EBM
17922011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1793
1794 * gdb.base/jit.exp: Add testcase name to log message
1795
aa2071bd
PK
17962011-10-03 Paul Koning <paul_koning@dell.com>
1797 Jan Kratochvil <jan.kratochvil@redhat.com>
1798
1799 * gdb.python/py-value.exp
1800 (python inval = gdb.parse_and_eval('*(int*)0'))
1801 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
1802 (set argc=2, python print argc_lazy): New tests.
1803
dd11a36c
JB
18042011-10-02 Joel Brobecker <brobecker@adacore.com>
1805
1806 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
1807
46f886f1
JK
18082011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1809 Pedro Alves <pedro@codesourcery.com>
1810
1811 * gdb.python/py-value.exp (test_value_in_inferior): New variable
1812 can_read_0, test for it.
1813 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
1814 (parse_and_eval with memory error): ... here, make it untested if
1815 can_read_0.
1816
c5cb204f
MP
18172011-09-30 Marek Polacek <mpolacek@redhat.com>
1818
1819 * gdb.python/python.exp (verify pagination beforehand)
1820 (verify pagination afterwards): Fix race by splitting the line.
1821
68fb0ec0
JM
18222011-09-29 Joseph Myers <joseph@codesourcery.com>
1823
1824 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
1825 for 64-bit multilibs from i?86-* targets.
1826
6aee0d90
MP
18272011-09-29 Marek Polacek <mpolacek@redhat.com>
1828
1829 * lib/gdb.exp: Fix a typo in one of the comments.
1830
e9101ff5
MP
18312011-09-29 Marek Polacek <mpolacek@redhat.com>
1832
1833 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
1834 matching pattern.
1835
7a81bdbf
PK
18362011-09-28 Paul Koning <paul_koning@dell.com>
1837
1838 * gdb.python/py-type.c (enum E): New.
1839 * gdb.python/py-type.exp (test_fields): Add tests for Python
1840 mapping access to fields.
1841 (test_enums): New test for field access on enums.
1842
6710bf39
SS
18432011-09-27 Stan Shebs <stan@codesourcery.com>
1844
1845 * gdb.trace/collection.exp: Test collection of $_ret.
1846
b2a6bdeb
AT
18472011-09-22 Andreas Tobler <andreast@fgznet.ch>
1848
1849 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
1850 list of compilation switches for <*-*-freebsd*>.
1851
3c9057f3
SS
18522011-09-19 Stan Shebs <stan@codesourcery.com>
1853
1854 * gdb.trace/tspeed.exp: New file.
1855 * gdb.trace/tspeed.c: New file.
1856
34518530
YQ
18572011-09-18 Yao Qi <yao@codesourcery.com>
1858
1859 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
1860 instructions.
1861 (test_adr_32bit, test_pop_pc): Likewise.
1862 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
1863 Thumb instructions.
1864 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
1865 in gdb_test_multiple.
1866 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
1867
ab254057
YQ
18682011-09-17 Yao Qi <yao@codesourcery.com>
1869
1870 * lib/gdb.exp (can_single_step_to_signal_handler): New.
1871 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
1872 support single step to signal handler.
1873
9c317b71
YQ
18742011-09-17 Yao Qi <yao@codesourcery.com>
1875
1876 * gdb.base/disp-step-fork.c: New.
1877 * gdb.base/disp-step-syscall.exp: New.
1878 * gdb.base/disp-step-vfork.c: New.
1879
a8123151
JB
18802011-09-16 Joel Brobecker <brobecker@adacore.com>
1881
1882 * gdb.ada/tasks.exp: Make the expected output for
1883 the `info tasks' tests more resilient to spacing
1884 changes.
1885
63a9aad8
JK
18862011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1887
1888 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
1889 (reached breakpoint 2, reached breakpoint 3): Update expected output.
1890
2aa48337
KP
18912011-09-15 Kevin Pouget <kevin.pouget@st.com>
1892
1893 PR Python/12692 Add gdb.selected_inferior() to Python interface.
1894 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
1895
6839b47f
KP
18962011-04-30 Kevin Pouget <kevin.pouget@st.com>
1897
1898 Handle multiple breakpoint hits in Python interface:
1899 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
1900 presence.
1901 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
1902 breakpoint hits.
1903
0935723e
JK
19042011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1905 Jan Kratochvil <jan.kratochvil@redhat.com>
1906
1907 * gdb.python/py-events.exp: Remove pretty printing comment.
1908 * gdb.python/py-evsignal.exp: New file.
1909 * gdb.python/py-evthreads.c: Include signal.h.
1910 (thread3): Remove variable count3. Remove variable bad and use raise
1911 instead.
1912 (thread2): Remove variable count2. Move thread3 pthread_create here,
1913 merge pthread_join to a single line.
1914 (main): Remove variable count1. Merge pthread_join with pthread_create
1915 to a single line.
1916 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
1917 KFAIL python/12966 for gdbserver. Test return value of
1918 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
1919 gdb_expect by gdb_test and gdb_test_multiple.
1920 (thread 2, thread 3): New tests.
1921
4801a9a3
PA
19222011-09-12 Matt Rice <ratmice@gmail.com>
1923 Pedro Alves <pedro@codesourcery.com>
1924
1925 PR gdb/13175
1926
1927 * gdb.base/interp.exp: New tests.
1928 * gdb.base/interp.c: New file.
1929
24ece742
DE
19302011-09-12 Doug Evans <dje@google.com>
1931
1932 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
1933 * gdb.dwarf2/typeddwarf.exp: Ditto.
1934
7f062217
JK
19352011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1936
1937 Fix compatibility with x32 arch.
1938 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
1939 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
1940 is_x86_like_target.
1941 * testsuite/gdb.trace/collection.exp: Likewise.
1942 * testsuite/gdb.trace/report.exp: Likewise.
1943 * testsuite/gdb.trace/unavailable.exp: Likewise.
1944 * testsuite/gdb.trace/while-dyn.exp: Likewise.
1945 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
1946 (is_x86_like_target): Check also is_amd64_regs_target.
1947
08711b9a
JK
19482011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1949
1950 PR breakpoints/12435
1951 * gdb.arch/amd64-prologue-xmm.c: New file.
1952 * gdb.arch/amd64-prologue-xmm.exp: New file.
1953 * gdb.arch/amd64-prologue-xmm.s: New file.
1954
b99b5f66
JK
19552011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1956
1957 * gdb.dwarf2/dw2-param-error-main.c: New file.
1958 * gdb.dwarf2/dw2-param-error.S: New file.
1959 * gdb.dwarf2/dw2-param-error.exp: New file.
1960
a391a2f6
PA
19612011-09-08 Pedro Alves <pedro@codesourcery.com>
1962
1963 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
1964 inferior's pid and look for a core dump named core.$pid. Use
1965 `remote_file' commands on the host instead of hand coding shell
1966 commands on the build.
1967 * gdb.base/valgrind-db-attach.exp: Kill the program before
1968 finishing the test.
1969
7d8e6458 19702011-09-02 Matt Rice <ratmice@gmail.com>
1971
1972 * lib/prompt.exp: New file for testing the first prompt.
1973 * gdb.python/py-prompt.exp: Ditto.
1974 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
1975
68e77c9e
PA
19762011-09-02 Pedro Alves <pedro@codesourcery.com>
1977
1978 * gdb.threads/gcore-thread.exp: Set the global core_supported to
1979 0, before testing gcore.
1980
9655e943
JK
19812011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1982
df6dc84d
JK
1983 * dw2-ifort-parameter-debug.S: Update copyright year.
1984 * dw2-ifort-parameter.c: Update copyright year.
1985 * dw2-ifort-parameter.exp: Update copyright year.
1986
9655e943
JK
1987 * dw2-ifort-parameter-debug.S: New file.
1988 * dw2-ifort-parameter.c: New file.
1989 * dw2-ifort-parameter.exp: New file.
1990
353d1d73
JK
19912011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1992
1993 * gdb.base/commands.exp (error_clears_commands_left): New function.
1994 (): Call it.
1995
5c07461a
JK
19962011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1997
1998 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
1999 (C): Initialize `a'.
2000 * gdb.mi/mi-inheritance-syntax-error.exp
2001 (-data-evaluate-expression $path): Expect `a' as 5.
2002
0d932b2f
MK
20032011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
2004
2005 PR mi/11912
2006 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
2007 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
2008 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
2009 keyword in output of -var-info-path-expression.
2010
bdb54049
JK
20112011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2012
2013 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
2014 * gdb.trace/collection.exp: Likewise.
2015 * gdb.trace/report.exp: Likewise.
2016 * gdb.trace/unavailable.exp: Likewise.
2017 * gdb.trace/while-dyn.exp: Likewise.
2018
59cde39c
KS
20192011-08-18 Keith Seitz <keiths@redhat.com>
2020
2021 PR c++/12266
2022 * gdb.cp/meth-typedefs.cc: New file.
2023 * gdb.cp/meth-typedefs.exp: New file.
2024
fa3a4f15
PM
20252011-08-17 Phil Muldoon <pmuldoon@redhat.com>
2026
2027 * gdb.python/python.exp: Add extended-prompt tests.
2028
c1049fca
JK
20292011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2030
2031 * gdb.arch/i386-dr3-watch.exp
2032 (watchpoint on gap1 does not fit debug registers)
2033 (delete all watchpoints): Fix racy expect strings.
2034
d93f7b5c
YQ
20352011-08-14 Yao Qi <yao@codesourcery.com>
2036
2037 * gdb.base/maint.exp: set data_section to ".neardata".
2038 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
2039 * gdb.base/savedregs.exp: Handle SIGILL.
2040 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
2041 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
2042
457e09f0
DE
20432011-08-12 Doug Evans <dje@google.com>
2044
2045 * gdb.python/py-symbol.exp: Add test for symbol.type.
2046
5d0bb2fb
UW
20472011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
2048
2049 * gdb.threads/pthreads.exp: Enable on non-native configurations.
2050 * gdb.mi/mi-pthreads.exp: Likewise.
2051 * gdb.mi/mi2-pthreads.exp: Likewise.
2052 * gdb.mi/gdb669.exp.exp: Likewise.
2053
fcdfa280
PA
20542011-08-09 Pedro Alves <pedro@codesourcery.com>
2055
2056 * lib/mi-support.exp (detect_async): Rename to...
2057 (mi_detect_async): ... this.
2058 * gdb.mi/mi-nonstop-exit.exp: Adjust.
2059 * gdb.mi/mi-nonstop.exp: Adjust.
2060 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
2061 * gdb.mi/mi-nsintrall.exp: Adjust.
2062 * gdb.mi/mi-nsmoribund.exp: Adjust.
2063 * gdb.mi/mi-nsthrexec.exp: Adjust.
2064
9d8fa392
PA
20652011-08-09 Pedro Alves <pedro@codesourcery.com>
2066
2067 * gdb.base/display.c (do_loops): New `p_i' local.
2068 * gdb.base/display.exp: Test displaying a variable that is
2069 temporarily at a bad address.
2070
b6cede78
JK
20712011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2072
2073 * gdb.dwarf2/dw2-op-stack-value.S: New file.
2074 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
2075
67bedb8c
JK
20762011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2077
2078 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
2079 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
2080 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 2081
af6e93b2
PA
20822011-08-05 Pedro Alves <pedro@codesourcery.com>
2083
2084 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
2085 procedure.
2086 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
2087
1cf0e11f
YQ
20882011-08-05 Yao Qi <yao@codesourcery.com>
2089
2090 * gdb.base/callfuncs.exp: Set language after main.
2091 * gdb.cp/cplusfuncs.exp: Likewise.
2092 * gdb.cp/inherit.exp: Likewise.
2093
a1e28cb2
UW
20942011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2095
2096 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
2097 * gdb.base/watch-vfork.exp: Skip on remote targets.
2098
d4f5bbb9
UW
20992011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2100
2101 * gdb.threads/thread-find.exp: Support remote targets.
2102
724f4f80
UW
21032011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2104
2105 * gdb.base/jit.exp: Download solib_binfile to target.
2106 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
2107 and call dlopen without full path name.
2108 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
2109 dlopen without full path name.
2110
934709f0
PW
21112011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2112
2113 * gdb.base/break-always.exp: Complete the test
2114 with duplicated breakpoints and enabling/disabling them.
2115
c26106c4
TT
21162011-08-02 Tom Tromey <tromey@redhat.com>
2117
2118 PR gdb/11289:
2119 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
2120
9300444e 21212011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
2122
2123 PR gdb/13045
2124 * gdb.base/float.exp: Add new test case for PR gdb/13045
2125 * gdb.base/float.c: New file.
2126
00bd41d6
PM
21272011-07-28 Phil Muldoon <pmuldoon@redhat.com>
2128
2129 * gdb.python/py-mi.exp: Test printers returning string hint, and
2130 also not returning a value.
2131 * gdb.python/py-prettyprint.c: Add testcase for above.
2132 * gdb.python/py-prettyprint.py: Add test printer for above.
2133
d24f74ce
JK
21342011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2135
2136 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
2137 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
2138 (.Ldie30) Add as field "data4".
2139 (.Ldie32) Rename field "b" to "shl".
2140 (abbrev4) Change for the "data4" field.
2141 (abbrev5, abbrev6) Remove.
2142 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
2143 (p &s.shl): ... here. Add comment.
2144 (p &s.data4): New.
2145
bb7da2bf
JK
21462011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2147
2148 Fix crash on lval_computed values.
2149 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
2150
11081198
JK
21512011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2152
2153 * gdb.base/help.exp (help whatis): Update the expected string.
2154
3c6e0cb3
JK
21552011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2156
2157 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
2158 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
2159 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
2160 Change the expected string.
2161
efa80663
PA
21622011-07-26 Pedro Alves <pedro@codesourcery.com>
2163
2164 * gdb.base/watchpoint.exp
2165 (test_disable_enable_software_watchpoint): New procedure.
2166 (top level): Run it.
2167
db8e4570
UW
21682011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
2169
2170 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
2171 executable file "${binfile}", C++ version "${binfile}-cxx".
2172 * gdb.python/py-prettyprint.exp: Likewise.
2173 * gdb.python/py-symbol.exp: Likewise.
2174 * gdb.python/py-type.exp: Likewise.
2175 * gdb.python/py-value.exp: Likewise.
2176 * gdb.python/py-template.exp (test_template_arg): Pass full executable
2177 file name instead of just suffix.
2178
543305c9
JK
21792011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2180
2181 Fix implicit pointer offsets.
2182 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
2183 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
2184 (continue to breakpoint: continue to baz breakpoint for implptr)
2185 (sanity check element 0, sanity check element 1)
2186 (enter the inlined function, check element 0 for the offset)
2187 (check element 1 for the offset)
2188 (continue to breakpoint: ignore the second baz breakpoint): New tests.
2189 (set foo breakpoint for implptr): Update the breakpoint number.
2190
b3215adc
UW
21912011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2192
2193 * gdb.python/py-mi.exp: Use different file names for different
2194 versions of the executable under test.
2195 * gdb.python/py-prettyprint.exp: Likewise.
2196 * gdb.python/py-symbol.exp: Likewise.
2197 * gdb.python/py-template.exp: Likewise.
2198 * gdb.python/py-type.exp: Likewise.
2199 * gdb.python/py-value.exp: Likewise.
2200
182b9acc
UW
22012011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2202
2203 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
2204 flag after restarting GDB if necessary.
2205
e6052b5d
UW
22062011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2207
2208 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
2209
1ced966e
PA
22102011-07-22 Pedro Alves <pedro@codesourcery.com>
2211
2212 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
2213 backend doesn't leave used debug registers behind.
2214
3543a589
TT
22152011-07-22 Tom Tromey <tromey@redhat.com>
2216
2217 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
2218 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
2219 argument.
2220 * gdb.dwarf2/typeddwarf-amd64.S: New file.
2221
14d15303 22222011-07-21 Matt Rice <ratmice@gmail.com>
2223
2224 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
2225 in mostlyclean rule. Add files ending in .core.
2226
9b158ba0 22272011-07-21 Matt Rice <ratmice@gmail.com>
2228
2229 PR macros/12999
2230 * gdb.base/info-macros.c: New test sources.
2231 * gdb.base/info-macros.exp: New tests.
2232
d17b6f81
PM
22332011-07-21 Phil Muldoon <pmuldoon@redhat.com>
2234
2235 * gdb.python/python.exp: Add prompt substitution tests.
2236
918dd910
JK
22372011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2238
2239 Fix crash if referenced CU is aged out.
2240 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
2241 New.
2242 * gdb.dwarf2/implptr.exp: Likewise.
2243
0e37a63c
JK
22442011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2245
2246 * gdb.dwarf2/implptr.S: Rebuilt.
2247 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
2248 (bar): Use them for j, k, l.
2249 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
2250 COMPILE.
2251 (print j in implptr:bar): Update for the intp typedef.
2252 (print p[0].x in implptr:foo): Use more exact regex.
2253
f65cf84c
TT
22542011-07-18 Tom Tromey <tromey@redhat.com>
2255
2256 * gdb.cp/static-method.exp: Add missing single quote.
2257
d5b4a7be
YQ
22582011-07-18 Yao Qi <yao@codesourcery.com>
2259
2260 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
2261 supported.
2262 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2263 * gdb.mi/mi-nonstop.exp: Likewise.
2264 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2265 * gdb.mi/mi-nsintrall.exp: Likewise.
2266 * gdb.mi/mi-nsmoribund.exp: Likewise.
2267 * gdb.mi/mi-nsthrexec.exp: Likewise.
2268 * gdb.python/py-evthreads.exp: Likewise.
2269
e9ea2662
JK
22702011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2271
2272 Code cleanup.
2273 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
2274 it. Substitute it instead of test_compiler_info everywhere.
2275
ce451573
UW
22762011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2277
2278 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
2279 remote targets as well.
2280
756d88a7
UW
22812011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2282
2283 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
2284 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
2285
31f83dc5
UW
22862011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2287
2288 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
2289 a remote machine, not the host.
2290 (gdb_compile_shlib): Set soname if target is remote.
2291
059241a0
PP
22922011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2293
2294 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
2295
28a0b48c 22962011-07-13 Matt Rice <ratmice@gmail.com>
2297
2298 * gdb.python/py-objfile-script-gdb.py: Renamed to
2299 py-objfile-script-gdb.py.in.
2300 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
2301 py-objfile-script-gdb.py.
2302 * gdb.python/py-objfile-script.exp: Update reference to
2303 py-objfile-script-gdb.py.
2304
9a771b67
JK
23052011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2306
2307 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
2308 reference undefined label.
2309
04ad99e6
JK
23102011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2311
2312 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
2313 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
2314 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
2315 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
2316
713389e0
PM
23172011-07-11 Phil Muldoon <pmuldoon@redhat.com>
2318
2319 PR python/12438
2320 * gdb.python/python.exp: Add maint set/show python print-stack
2321 deprecated tests. Add set/show python print-backtrace tests.
2322
97d146f8
JK
23232011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2324
2325 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
2326 debug info.
2327
facde0e5 23282011-07-06 Matt Rice <ratmice@gmail.com>
2329
2330 * gdb.python/python.exp: Update filename paths.
2331 * gdb.python/py-symtab.exp: Ditto.
2332
438640d1
MP
23332011-07-06 Marek Polacek <mpolacek@redhat.com>
2334
2335 * gdb.python/py-evthreads.exp: Add missing `$'.
2336
33a365df
MF
23372011-07-06 Jie Zhang <jie.zhang@analog.com>
2338
2339 * config/bfin.exp: New file.
2340 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
2341 * gdb.asm/bfin.inc: New file.
2342
8f7ae686
MP
23432011-07-06 Marek Polacek <mpolacek@redhat.com>
2344
df46027d 2345 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
2346 the whole output.
2347
eb2a6f42
TT
23482011-07-05 Tom Tromey <tromey@redhat.com>
2349
2350 * gdb.java/jprint.java (jprint.hi): New field.
2351 * gdb.java/jprint.exp: Print string.
2352
177b42fe
TJB
23532011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
2354
2355 * gdb.base/call-sc.c: Fix typos.
2356 * gdb.base/ifelse.exp: Likewise.
2357 * gdb.base/structs.c: Likewise.
2358
3b2a0cf2
JB
23592011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2360
2361 * gdb.base/jit-so.exp: New test.
2362 * gdb.base/jit-dlmain.c: New file.
2363 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
2364
46fc714c
JK
23652011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2366
2367 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
2368 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
2369 * gdb.cp/pr9167.exp (p b): Likewise.
2370 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
2371 (test value of P in inner_m, test type of Z in inner_m): Call
2372 setup_xfail for gcc <= 4.5.
46fc714c 2373
418c7cf7
JK
23742011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2375
2376 * gdb.cp/paren-type.cc: New files.
2377 * gdb.cp/paren-type.exp: New files.
2378
3d50dd94
JK
23792011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2380
2381 Stop on first linespec terminator instead of eating what we can.
2382 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
2383 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
2384 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
2385 (break C::f()): ... this one.
2386 (break C::operator()()): New test.
2387 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
2388 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
2389 test.
2390
dcf9f4ab
JK
23912011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2392
2393 Fall back linespec to minimal symbols.
2394 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
2395 error message.
2396 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
2397 * gdb.cp/minsym-fallback-main.cc: New file.
2398 * gdb.cp/minsym-fallback.cc: New file.
2399 * gdb.cp/minsym-fallback.exp: New file.
2400 * gdb.cp/minsym-fallback.h: New file.
2401
3f542ed1
JK
24022011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2403
2404 * gdb.cp/no-dmgl-verbose.cc: New file.
2405 * gdb.cp/no-dmgl-verbose.exp: New file.
2406
24072011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
2408
2409 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
2410 __GI_.
2411 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
2412 (f): New function.
2413 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
2414 (complete p 'func<short>(): ... here.
2415 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
2416 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
2417 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
2418 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
2419 Make them KFAIL gcc/49546.
2420
00eb2c4a
JB
24212011-07-01 Joel Brobecker <brobecker@adacore.com>
2422
2423 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
2424
85a20c42
JK
24252011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2426
2427 Test GCC PR debug/49546.
2428 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
2429 (test type of F in k3_m, test value of F in k3_m): New.
2430 * gdb.cp/temargs.cc (struct S3, struct K3): New.
2431 (main): New variable k3. Call k3.k3_m.
2432
d2d43431
JB
24332011-07-01 Jean-Charles Delay <delay@adacore.com>
2434
2435 * gdb.ada/packed_array.exp: Fix expected outout.
2436
54ae186f
JB
24372011-07-01 Jean-Charles Delay <delay@adacore.com>
2438
2439 * gdb.ada/packed_array.exp: fixed expected output.
2440
8f17729f
JB
24412011-07-01 Joel Brobecker <brobecker@adacore.com>
2442
2443 * gdb.ada/same_enum: New testcase.
2444
f5aa6869
JB
24452011-07-01 Joel Brobecker <brobecker@adacore.com>
2446
2447 * gdb.ada/ptr_typedef: New testcase.
2448
828292f2
JB
24492011-07-01 Joel Brobecker <brobecker@adacore.com>
2450
2451 * gdb.ada/arrayptr.exp: Add ptype test.
2452
18920c42
JB
24532011-07-01 Joel Brobecker <brobecker@adacore.com>
2454
2455 * gdb.ada/char_enum: New testcase.
2456
3536d9e3 24572011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
2458
2459 * gdb.base/dump.exp (capture_pointer_with_type): New.
2460 Get value from address instead of name.
2461 Start GDB once, and do `dump' and `restore'
2462 tests together.
2463
db863c42
MF
24642011-06-30 Jie Zhang <jie.zhang@analog.com>
2465 Mike Frysinger <vapier@gentoo.org>
2466
2467 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
2468 helper functions for getting/setting remotetimeout variable.
2469 * lib/gdb.exp (gdb_load): If the target is remote, set
2470 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
2471 with $loadtimeout. Set $load_ok to 0 before doing the load.
2472 Instead of returning, immediately, set $load_ok to 0. Call
2473 set_remotetimeout with $oldremotetimeout, and then return if
2474 $load_ok is 1.
2475
e9e642a8
AB
24762011-06-30 Andrew Burgess <aburgess@broadcom.com>
2477
2478 * gdb.python/py-template.exp: Don't run this test if the target
2479 does not support c++ tests.
2480
32019081
JK
24812011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2482
2483 Fix non-only rename list for Fortran modules import.
2484 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
2485 tests.
2486 * gdb.fortran/module.f90 (module moduse): New.
2487 (program module): use moduse, test var_x, var_y and var_z.
2488
0ecee54c
TT
24892011-06-29 Tom Tromey <tromey@redhat.com>
2490
2491 PR testsuite/12040:
2492 * gdb.fortran/array-element.exp: Use f90, not f77.
2493 * gdb.fortran/complex.exp: Use f90, not f77.
2494 * gdb.fortran/derived-type.exp: Use f90, not f77.
2495 * gdb.fortran/library-module.exp: Use f90, not f77.
2496 * gdb.fortran/logical.exp: Use f90, not f77.
2497 * gdb.fortran/module.exp: Use f90, not f77.
2498 * gdb.fortran/multi-dim.exp: Use f90, not f77.
2499 * gdb.fortran/subarray.exp: Use f90, not f77.
2500
3b2b8fea
TT
25012011-06-29 Tom Tromey <tromey@redhat.com>
2502
2503 * gdb.fortran/charset.exp: New file.
2504 * gdb.fortran/charset.f90: New file.
2505
42159ca5
TT
25062011-06-29 Tom Tromey <tromey@redhat.com>
2507
2508 PR testsuite/12040:
2509 * lib/future.exp: New file, mostly extracted from ada.exp.
2510 Rewrote compatibility code to use rename.
2511 (gdb_find_gfortran): New proc.
2512 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
2513 gfortran patch.
2514 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
2515 Move to future.exp.
2516 * lib/gdb.exp: Always load future.exp.
2517
af69a5ce
YQ
25182011-06-28 Yao Qi <yao@codesourcery.com>
2519
2520 * gdb.cp/exception.cc: Don't include iostream.
2521 (bar): Remove print statement.
2522 (catcher): New.
2523 (main): Remove print statements. Call function catcher.
2524 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
2525 Set breakpoint on catcher, and check the value of parameter.
2526
ab5c6a72
YQ
25272011-06-23 Yao Qi <yao@codesourcery.com>
2528
2529 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
2530 1.2 is disabled. KFAIL for uclinux.
2531
9497469f
MP
25322011-06-23 Marek Polacek <mpolacek@redhat.com>
2533
2534 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
2535 mi_gdb_test.
2536
b9132588
MP
25372011-06-23 Marek Polacek <mpolacek@redhat.com>
2538
5d197ed0 2539 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 2540
e55595ca
MP
25412011-06-23 Marek Polacek <mpolacek@redhat.com>
2542
5d197ed0
MP
2543 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
2544
25452011-06-23 Marek Polacek <mpolacek@redhat.com>
2546
2547 * gdb.mi/mi2-basics.exp: Fix races. Honour the
2548 `test_exec_and_symbol_mi_operatons' return value.
2549 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2550 gdb_test_multiple.
2551 (test_exec_and_symbol_mi_operatons): Likewise.
2552 (test_path_specification): Likewise.
e55595ca 2553
be777e08
YQ
25542011-06-23 Yao Qi <yao@codesourcery.com>
2555
2556 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
2557 supported.
2558 * lib/gdb.exp (support_displaced_stepping): New.
2559
615556d6
YQ
25602011-06-23 Yao Qi <yao@codesourcery.com>
2561
2562 * gdb.threads/execl.exp: Skip on remote target.
2563
833b0ca7
MP
25642011-06-21 Marek Polacek <mpolacek@redhat.com>
2565
5d197ed0 2566 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
2567 mi_gdb_test.
2568
1ee4023a
MP
25692011-06-20 Marek Polacek <mpolacek@redhat.com>
2570
5d197ed0 2571 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 2572
d0b1d624
MP
25732011-06-20 Marek Polacek <mpolacek@redhat.com>
2574
5d197ed0 2575 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
2576 mi_gdb_test.
2577
79aa92c1
MP
25782011-06-20 Marek Polacek <mpolacek@redhat.com>
2579
5d197ed0 2580 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 2581
5ce5db06
YQ
25822011-06-14 Yao Qi <yao@codesourcery.com>
2583
2584 gdb/testsuite/
2585 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
2586
533a737e
JK
25872011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2588
2589 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
2590
d0e53741
TT
25912011-06-10 Tom Tromey <tromey@redhat.com>
2592
2593 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
2594 Add tests for pointer-to-member-function.
2595 * gdb.cp/temargs.cc (S::somefunc): New function.
2596 (K2): New class.
2597 (main): Instantiate K2; call method.
2598
b5916bbd
JB
25992011-06-08 Joel Brobecker <brobecker@adacore.com>
2600
2601 * gdb.python/py-inferior.c (f2): Make str an array rather
2602 than a pointer.
2603 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
2604
5be4dfca
JK
26052011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2606
2607 * gdb.base/async-shell.c: New file.
2608 * gdb.base/async-shell.exp: New file.
2609
9f47e254
PA
26102011-06-06 Pedro Alves <pedro@codesourcery.com>
2611
2612 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
2613
64b9b334
JB
26142011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
2615
2616 From Stephen Kitt <steve@sk2.org>
2617 * gdb.base/help.exp: Adjust following some spelling corrections
2618 in GDB.
2619
dbc0f131
YQ
26202011-06-01 Yao Qi <yao@codesourcery.com>
2621
2622 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2623
fd336a18
KS
26242010-05-31 Keith Seitz <keiths@redhat.com>
2625
2626 PR c++/12750
2627 * gdb.cp/static-method.cc: New file.
2628 * gdb.cp/static-method.exp: New file.
2629
fa8b9902
KS
26302010-05-31 Keith Seitz <keiths@redhat.com>
2631
2632 PR symtab/12704
2633 * gdb.cp/anon-ns.cc: New file.
2634 * gdb.cp/anon-ns.exp: New file.
2635
0a5b1e09
PA
26362011-05-31 Pedro Alves <pedro@codesourcery.com>
2637
2638 * gdb.arch/i386-dr3-watch.c: New file.
2639 * gdb.arch/i386-dr3-watch.exp: New file.
2640
0578b8d1
YQ
26412011-05-30 Yao Qi <yao@codesourcery.com>
2642
2643 * gdb.base/callfuncs.c (t_structs_fc): New.
2644 (t_structs_dc, t_structs_ldc): New.
2645 (t_double_many_args):
2646 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
2647 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
2648 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
2649 * gdb.base/callfuncs.exp: Call new functions.
2650
6680506e
YQ
26512011-05-30 Yao Qi <yao@codesourcery.com>
2652
ff4d2c60
YQ
2653 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
2654 Call rerun_and_prepare for each test to isolate effects.
2655
26562011-05-30 Yao Qi <yao@codesourcery.com>
2657
2658 * gdb.base/varargs.c (find_max_float_real): New.
2659 (find_max_double_real, find_max_long_double_real): New.
2660 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
2661 * lib/gdb.exp (setup_kfail_for_target): New.
2662
e43ec454
YQ
26632011-05-30 Yao Qi <yao@codesourcery.com>
2664
2665 * gdb.base/funcargs.c (callca, callcb, callcc): New.
2666 (callcd, callce, callcf, callc1a, callc1b): New.
2667 (callc2a, callc2b): New.
2668 * gdb.base/funcargs.exp (complex_args): New.
2669 (complex_integral_args, complex_float_integral_args): New.
2670 * lib/gdb.exp (support_complex_tests): New. Determine
2671 whether to run test cases on _Complex types.
2672
432b4d03
JK
26732011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2674
2675 * gdb.threads/leader-exit.c: New file.
2676 * gdb.threads/leader-exit.exp: New file.
2677
6caf069d
MP
26782011-05-27 Marek Polacek <mpolacek@redhat.com>
2679
9497469f 2680 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 2681
97fce28b
MP
26822011-05-27 Marek Polacek <mpolacek@redhat.com>
2683
2684 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
2685 remove the `supported' variable.
2686 * gdb.mi/mi-nonstop.exp: Likewise.
2687 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2688 * gdb.mi/mi-nsintrall.exp: Likewise.
2689 * gdb.mi/mi-nsmoribund.exp: Likewise.
2690 * gdb.mi/mi-nsthrexec.exp: Likewise.
2691
9da8c2a0
PA
26922011-05-26 Pedro Alves <pedro@codesourcery.com>
2693
2694 * gdb.reverse/finish-reverse-bkpt.exp: New test.
2695
2c03e5be
PA
26962011-05-26 Pedro Alves <pedro@codesourcery.com>
2697
2698 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
2699
2e21250d
KS
27002011-05-24 Keith Seitz <keiths@redhat.com>
2701
2702 PR breakpoint/12803
2703 * gdb.cp/cmpd-minsyms.cc (a): New method.
2704 (b): New method.
2705 (c): New method.
2706 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
2707
cdac0397
PA
27082011-05-24 Pedro Alves <pedro@codesourcery.com>
2709
2710 * gdb.base/commands.exp (watchpoint_command_test): Check that the
2711 watchpoint's command list didn't execute when the watchpoint went
2712 out of scope.
2713
ee5683ab
PM
27142011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
2715
2716 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
2717 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
2718 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
2719 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2720 * gdb.arch/i386-permbkpt.exp: Likewise.
2721 * gdb.arch/i386-prologue.exp: Likewise.
2722 * gdb.arch/i386-size-overlap.exp: Likewise.
2723 * gdb.arch/i386-size.exp: Likewise.
2724 * gdb.arch/i386-unwind.exp: Likewise.
2725 * gdb.reverse/i386-precsave.exp: Likewise.
2726 * gdb.reverse/i386-reverse.exp: Likewise.
2727 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2728 * gdb.reverse/i387-env-reverse.exp: Likewise.
2729 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2730
c91c8c16
PA
27312011-05-24 Pedro Alves <pedro@codesourcery.com>
2732
2733 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
2734 file doesn't error, using MI.
2735
c50491a7
TT
27362011-05-23 Tom Tromey <tromey@redhat.com>
2737
2738 * gdb.base/charset.exp (string_display): Add tests to assign to
2739 arrays.
2740 * gdb.base/charset.c (short_array, int_array, long_array): New.
2741
4a07b7da
PA
27422011-05-20 Pedro Alves <pedro@codesourcery.com>
2743
2744 Cope with async mode.
2745
4a07b7da
PA
2746 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
2747 into gdb_test + mi_expect_stop.
2748
b275f2d2
PA
27492011-05-20 Pedro Alves <pedro@codesourcery.com>
2750
2751 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
2752 (callme): Remove printf call.
2753
eec52c44
PM
27542011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
2755
2756 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
2757 quote pattern to avoid problems with Cygwin/mingw expect versions.
2758 * gdb.base/default.exp (show convenience): Use double
2759 quote pattern for regular expressions.
2760
b3c8eb43
JK
27612011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2762
2763 Fix -readnow for -gdwarf-4 unused type units.
2764 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
2765 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2766
ed731959
JK
27672011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2768
2769 * gdb.base/kill-after-signal.c: New file.
2770 * gdb.base/kill-after-signal.exp: New file.
2771
3b48433d
PA
27722011-05-16 Pedro Alves <pedro@codesourcery.com>
2773
2774 * gdb.ada/start.exp: Call untested with the correct test filename.
2775 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
2776 test filename. Make the test's binary unique.
2777 * gdb.arch/i386-signal.exp: Call untested with the correct test
2778 filename.
2779 * gdb.arch/i386-size-overlap.exp: Ditto.
2780 * gdb.arch/Makefile.in (EXECUTABLES): Update.
2781 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2782 * gdb.cp/call-c.exp: Ditto.
2783 * gdb.mi/mi-reverse.exp: Call untested with the correct test
2784 filename. Make the test's binary unique.
2785 * gdb.mi/Makefile.in (EXECUTABLES): Update.
2786 * gdb.python/py-mi.exp: Ditto.
2787 * gdb.python/Makefile.in (EXECUTABLES): Update.
2788 * gdb.reverse/i386-precsave.exp: Ditto.
2789 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
2790 test filename.
2791 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2792 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
2793 unique.
2794 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
2795 test filename.
2796 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
2797 * gdb.trace/tfile.exp: Ditto.
2798
ba4a8bdd
YQ
27992011-05-14 Yao Qi <yao@codesourcery.com>
2800
2801 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
2802 type.
2803
dbaefcf7
DE
28042011-05-13 Doug Evans <dje@google.com>
2805
2806 * gdb.python/py-objfile-script.exp: New file.
2807 * gdb.python/py-objfile-script.c: New file.
2808 * gdb.python/py-objfile-script-gdb.py: New file.
2809 * testsuite/gdb.python/py-section-script.exp: Test
2810 "info auto-load-scripts".
2811
9930639c
TT
28122011-05-13 Tom Tromey <tromey@redhat.com>
2813
2814 * gdb.dwarf2/clztest.exp: New file.
2815 * gdb.dwarf2/clztest.c: New file.
2816 * gdb.dwarf2/clztest.S: New file.
2817
05272e11
DE
28182011-05-13 Doug Evans <dje@google.com>
2819
cc63ef9b
DE
2820 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
2821 String16 tests.
05272e11 2822
6edba76f
TT
28232011-05-13 Tom Tromey <tromey@redhat.com>
2824
2825 * lib/gdb.exp (is_x86_like_target): New proc.
2826 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
2827 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
2828 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
2829 -nostdlib to compiler.
2830 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
2831 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
2832 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
2833 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
2834 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
2835
028d0ed5
TJB
28362011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2837
2838 * gdb.python/py-function.exp: Test setting a value from a function
2839 which executes a command.
2840
8a9b8146
TT
28412011-05-12 Tom Tromey <tromey@redhat.com>
2842
2843 * gdb.dwarf2/typeddwarf.S: New file.
2844 * gdb.dwarf2/typeddwarf.c: New file.
2845 * gdb.dwarf2/typeddwarf.exp: New file.
2846
10483e8e
MP
28472011-05-12 Marek Polacek <mpolacek@redhat.com>
2848
2849 * gdb.mi/mi-basics.exp: Fix races. Honour the
2850 `test_exec_and_symbol_mi_operatons' return value.
2851 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2852 gdb_test_multiple.
2853 (test_exec_and_symbol_mi_operatons): Likewise.
2854 (test_path_specification): Likewise.
2855
faf067f1
JK
28562011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2857
2858 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
2859 (gdb_touch_execfile): Remove catch wrappers. New variable time.
2860 Replace `file copy' and `file rename' by `file mtime'. Twice.
2861
7ff911a3
JK
28622011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2863
2864 * gdb.base/readline-ask.c: New file.
2865 * gdb.base/readline-ask.exp: New file.
2866 * gdb.base/readline-ask.inputrc: New file.
2867
a536c6d7
UW
28682011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2869
2870 * gdb.cell/bt.exp: Delete breakpoints before running to signal
2871 to avoid race condition.
2872 * gdb.cell/coremaker.c: Use small stack size.
2873 * gdb.cell/ea-standalone.exp: Use file name without path as
2874 argument to c_to.
2875 * gdb.cell/fork.exp: Allow other output when continuing to end.
2876
d472a426
JK
28772011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2878
2879 * gdb.threads/corethreads.c: New file.
2880 * gdb.threads/corethreads.exp: New file.
2881
28822011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
2883
2884 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
2885 Try to compile the test using -Wl,-z,norelro first.
2886 (load_core): New variable libthread_db_seen, initialize it.
2887 (zeroed-threads cannot be listed): Protect it by XFAIL on
2888 !$libthread_db_seen.
2889
8be455d7
JK
28902011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2891
2892 PR 12573
2893 * gdb.dwarf2/dw2-skip-prologue.S: New file.
2894 * gdb.dwarf2/dw2-skip-prologue.c: New file.
2895 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
2896
1976171a
JK
28972011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2898
2899 * gdb.cp/psymtab-parameter.cc: New file.
2900 * gdb.cp/psymtab-parameter.exp: New file.
2901
7db6f30f
JK
29022011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2903
2904 Fix a race.
2905 * gdb.cp/static-print-quit.exp (print c): Split to ...
2906 (print c - <return>, print c - q <return>, print c - to quit):
2907 ... these. Make the testfile untested on gdb-7.1.
2908
85161e9e 29092011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
2910
2911 * lib/gdb.exp (exec_target_file, exec_symbol_file,
2912 gdb_rename_execfile, gdb_touch_execfile): New.
2913 * gdb.base/reread.exp: Use new procs to handle multiple
2914 exec files.
2915
0c51be18
YQ
29162011-05-05 Yao Qi <yao@codesourcery.com>
2917
2918 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
2919 (test_adr_32bit, test_pop_pc): New.
2920 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
2921 (test_adr_32bit, test_pop_pc): New.
2922
4d393d60
JM
29232011-05-04 Joseph Myers <joseph@codesourcery.com>
2924
2925 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
2926 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
2927 targets.
2928 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
2929 handle targets.
2930
8ffd0459
JK
29312011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2932
2933 * gdb.base/completion.exp (complete help info wat): Rename to ...
2934 (complete 'help info wat'): ... here.
2935 Remove all `-re ".*' and `-re "^.*' redundant regexes.
2936 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
2937
8e28d804
PA
29382011-05-04 Pedro Alves <pedro@codesourcery.com>
2939
2940 * gdb.base/completion.exp: Use gdb_test_multiple instead of
2941 gdb_test and explicit $gdb_prompt/timeout matches.
2942
3eb2ef34
YQ
29432011-05-04 Yao Qi <yao@codesourcery.com>
2944
2945 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
2946 and __thumb2__.
2947
aaaf81a3
MP
29482011-05-03 Marek Polacek <mpolacek@redhat.com>
2949
2950 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
2951 in place of `gdb_test "delete breakpoints"'. This eliminates two
2952 testcases.
2953
c4cbc0df
PA
29542011-05-02 Pedro Alves <pedro@codesourcery.com>
2955
2956 PR testsuite/12649
2957 Fix races.
2958
2959 * gdb.base/completion.exp: Remove all sleep calls. Remove
2960 unnecessary regexs. Don't explicitly expect anything after the
2961 prompt. Eat the prompt if necessary.
2962
b4cbb4a3
EBM
29632011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2964
2965 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
2966 accept to show the caller line again as well as the line after.
2967
d65aec65
PM
29682011-04-29 Phil Muldoon <pmuldoon@redhat.com>
2969
2970 PR mi/12531
2971
2972 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
2973 compile target.
2974 * gdb.python/py-prettyprint.exp: Add C++ object for
2975 CPLUS_FAKE_CHILD test.
2976
30852783
UW
29772011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
2978
2979 * gdb.base/signest.exp: New file.
2980 * gdb.base/signest.c: Likewise.
2981
c7b1f0d9
JK
29822011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2983
2984 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
2985 thread and breakpoint notifications.
2986
559a7a62
JK
29872011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2988
2989 * gdb.base/fortran-sym-case.c: New file.
2990 * gdb.base/fortran-sym-case.exp: New file.
2991 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
2992 * gdb.dwarf2/dw2-case-insensitive.c: New file.
2993 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
2994
8344e389
JK
29952011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2996
2997 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
2998 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
2999 false #1', `if true else false #2' and `if true else false #3'.
3000
2484c66b
UW
30012011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
3002
3003 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
3004 while delivering signal.
3005
8d3788bd
VP
30062011-04-27 Vladimir Prus <vladimir@codesourcery.com>
3007
3008 MI breakpoint notifications.
3009
3010 * testsuite/gdb.mi/mi-cli.exp: Adust.
3011 * testsuite/gdb.mi/mi2-cli.exp: Adust.
3012 * testsuite/gdb.mi/mi-watch.exp: Adust.
3013 * testsuite/gdb.mi/mi2-watch.exp: Adust.
3014 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
3015 notifications.
3016
3e03848b
JK
30172011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3018
3019 * gdb.base/gdbindex-stabs-dwarf.c: New file.
3020 * gdb.base/gdbindex-stabs.c: New file.
3021 * gdb.base/gdbindex-stabs.exp: New file.
3022
918c9108
YQ
30232011-04-25 Yao Qi <yao@codesourcery.com>
3024
3025 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
3026 with /*...*/.
3027 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
3028
90556b8c
JK
30292011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3030
3031 * gdb.python/py-value.exp (test_objfiles): Name the first test
3032 `py-value in file.filename'.
3033
03f2bd59
JK
30342011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3035
3036 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
3037 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
3038 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
3039 !gdbserver_reconnect_p..
3040 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
3041
7b08b9eb
JK
30422011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3043
3044 * gdb.cp/cpcompletion.exp (complete class methods)
3045 (complete class methods beginning with F): Move them above runto. New
3046 comment about the runto delimiter.
3047
b78974c3
PA
30482011-04-20 Pedro Alves <pedro@codesourcery.com>
3049
3050 * gdb.base/maint.exp: Test that "maint print registers" works
3051 without a running program.
3052
20429c40 30532011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 3054
20429c40
MP
3055 * gdb.base/setshow.exp: Fix racy tests.
3056 ($old_gdb_prompt): New variable.
3057
7a9dd1b2
TT
30582011-04-19 Tom Tromey <tromey@redhat.com>
3059
3060 * gdb.mi/mi-nsmoribund.exp:
3061 * gdb.hp/gdb.objdbg/objdbg01.exp:
3062 * gdb.base/structs.exp (test_struct_returns):
3063 * gdb.base/call-sc.exp (test_scalar_returns):
3064 * gdb.base/bigcore.exp: Remove duplicate words.
3065
02835898
JK
30662011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3067
3068 * gdb.base/break-interp-lib.c (v, vptr): New variables.
3069 * gdb.base/break-interp.exp (test_attach): New comment.
3070
254f582e
JK
30712011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3072
3073 * gdb.threads/gcore-thread.exp ($core0file): New variable.
3074 (clear __stack_user.next, clear stack_used.next)
3075 (save a zeroed-threads corefile): New test.
3076 Call core_load for $core0file.
3077 (zeroed-threads cannot be listed): New test.
3078
4fe85f5c
JK
30792011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3080
3081 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
3082 filename.
3083 ($srcfile): Preserve the original value.
3084 ($testfile): Match it the .exp filename.
3085 ($corefile): New variable. Substitute it around.
3086 Use clean_restart.
3087 ($prev_timeout): Remove.
3088 (load_core): Move core loading into this proc.
3089 Fix restore of $timeout if load_core fails.
3090
63524580
JK
30912011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3092
3093 * gdb.base/eu-strip-infcall.c: New file.
3094 * gdb.base/eu-strip-infcall.exp: New file.
3095
90359a16
JK
30962011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3097
3098 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
3099 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
3100
626e7282
JK
31012011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3102
3103 Fix Python access to inlined frames.
3104 * gdb.python/py-frame-inline.c: New file.
3105 * gdb.python/py-frame-inline.exp: New file.
3106
3363d018
EBM
31072011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
3108
3109 * gdb.base/gdb1090.exp: Change breakpoint location to read the
3110 content of 's24' correctly (avoiding "optimized out").
3111 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
3112
28781456
JK
31132011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3114
3115 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
3116
4a4106ca
TJB
31172011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
3118
3119 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
3120 expect a colon in watch -location output.
3121
d26ccb4f
JK
31222011-04-13 Marek Polacek <mpolacek@redhat.com>
3123
df46027d 3124 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
3125 New testcase `expect response to define backtrace'. Also remove
3126 redundant `default' block.
3127
e1ab1f9c
JK
31282011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3129
3130 * gdb.python/py-prettyprint.c (struct hint_error): New.
3131 (main): New variable hint_error.
3132 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
3133 "print hint_error".
3134 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
3135 (register_pretty_printers): Register it.
3136
0c2e6019
TT
31372011-04-04 Tom Tromey <tromey@redhat.com>
3138
3139 * gdb.cp/maint.exp (test_help): Update.
3140 (test_namespace): Likewise.
3141
af57139d
JB
31422011-04-01 Joel Brobecker <brobecker@adacore.com>
3143
3144 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
3145 * gdb.ada/arrayptr.exp: Add new tests.
3146
956a9fb9
JB
31472011-04-01 Joel Brobecker <brobecker@adacore.com>
3148
3149 * gdb.ada/mi_catch_ex: New testcase.
3150
d0c4d642
PA
31512011-04-01 Pedro Alves <pedro@codesourcery.com>
3152
3153 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
3154 base::overload(void) method without specifying "const".
3155
18819fa6
UW
31562011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3157
3158 * gdb.arch/thumb-singlestep.S: New file.
3159 * gdb.arch/thumb-singlestep.exp: Likewise.
3160
a4c8e806
TT
31612011-03-31 Tom Tromey <tromey@redhat.com>
3162
3163 * gdb.python/py-prettyprint.py (exception_flag): New global.
3164 (NoStringContainerPrinter._iterator.next): Check it.
3165 * gdb.python/py-prettyprint.c (main): New variable nstype2.
3166 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
3167
53832f31
TT
31682011-03-29 Tom Tromey <tromey@redhat.com>
3169
3170 * gdb.cp/anon-struct.cc: New file.
3171 * gdb.cp/anon-struct.exp: New file.
3172
e4620230
JK
31732011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3174
3175 Test STT_GNU_IFUNC support.
3176 * gdb.base/gnu-ifunc-lib.c: New file.
3177 * gdb.base/gnu-ifunc.c: New file.
3178 * gdb.base/gnu-ifunc.exp: New file.
3179
d0fb5eae
JK
31802011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3181
3182 Support a ring of related breakpoints.
3183 * gdb.base/watchpoint-delete.c: New file.
3184 * gdb.base/watchpoint-delete.exp: New file.
3185
20106cfb
JK
31862011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3187
3188 * gdb.ada/arrayparam.exp (print first after function call): Use
3189 explicit package name. Add a comment
3190 (print lasta after function call): Rename ...
3191 (print last after function call): ... it and use explicit package
3192 name.
3193 (print length after function call): Use explicit package name.
3194 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
3195 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
3196 (multiple matches for symbol i): Rename ...
3197 (multiple matches for symbol integervar): ... it.
3198 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
3199 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
3200
e7ab5e63
AB
32012011-03-25 Andrew Burgess <aburgess@broadcom.com>
3202
3203 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
3204 environment variable to make grep output more predictable. Move
3205 all the environment setup into gdb_init so it's done once per test
3206 case rather than each time we start gdb.
3207
9ef07c8c
TT
32082011-03-24 Tom Tromey <tromey@redhat.com>
3209
3210 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
3211 test.
3212
dd90784c
JK
32132011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3214
3215 * gdb.dwarf2/dw2-entry-value-main.c: New file.
3216 * gdb.dwarf2/dw2-entry-value.S: New file.
3217 * gdb.dwarf2/dw2-entry-value.exp: New file.
3218
05775840
PM
32192011-03-22 Phil Muldoon <pmuldoon@redhat.com>
3220
3221 PR python/12183
3222
3223 * gdb.python/py-function.exp: Add GdbError tests.
3224
8661b11b
PA
32252011-03-18 Pedro Alves <pedro@codesourcery.com>
3226
3227 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
3228 (reglocal_test_func, statlocal_test_func): New functions.
3229 (globals_test_func): Call new functions.
3230 * gdb.trace/unavailable.exp (gdb_collect_args_test)
3231 (gdb_collect_locals_test): New procedure.
3232 (gdb_trace_collection_test): Call new procedures.
3233
0fdb4f18
PA
32342011-03-18 Pedro Alves <pedro@codesourcery.com>
3235
3236 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
3237 (test_register, test_register_unavailable): New procedures.
3238 (gdb_unavailable_registers_test): New procedure.
3239 (gdb_trace_collection_test): Call it.
3240
99c3dc11
PM
32412011-03-18 Phil Muldoon <pmuldoon@redhat.com>
3242
3243 PR python/12149
3244
3245 * gdb.python/python.exp: Add gdb.write tests.
3246
29703da4
PM
32472010-03-17 Phil Muldoon <pmuldoon@redhat.com>
3248
3249 * gdb.python/Makefile.in: Add py-objfile.
3250 * gdb.python/py-objfile.exp: New file.
3251 * gdb.python/py-objfile.c: New file.
3252 * gdb.python/py-block.exp: Add is_valid tests.
3253 * gdb.python/py-inferior.exp: Ditto.
3254 * gdb.python/py-infthread.exp: Ditto.
3255 * gdb.python/py-symbol.exp: Ditto.
3256 * gdb.python/py-symtab.exp: Ditto.
3257
598997c8
KS
32582011-03-16 Keith Seitz <keiths@redhat.com>
3259
3260 PR c++/12273
3261 * gdb.cp/cmpd-minsyms.exp: New test.
3262 * gdb.cp/cmpd-minsyms.cc: New file.
3263
3264 PR c++/11734
3265 * gdb.cp/ovsrch.exp: New test.
3266 * gdb.cp/ovsrch.h: New file.
3267 * gdb.cp/ovsrch1.cc: New file.
3268 * gdb.cp/ovsrch2.cc: New file.
3269 * gdb.cp/ovsrch3.cc: New file.
3270 * gdb.cp/ovsrch4.cc: New file.
3271
c91513d8
PP
32722011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3273
3274 PR gdb/12528
3275 * gdb.base/Makefile.in: Adjust EXECUTABLES.
3276 * gdb.base/break-on-linker-gcd-function.exp: New test.
3277 * gdb.base/break-on-linker-gcd-function.cc: New file.
3278
7470fc63
AT
32792011-03-15 Andreas Tobler <andreast@fgznet.ch>
3280
3281 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
3282
959e7469
PM
32832011-03-15 Phil Muldoon <pmuldoon@redhat.com>
3284
3285 * lib/gdb.exp (gdb_unload): Add another termination case.
3286
9373cf26
JK
32872011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3288
3289 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
3290 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
3291 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
3292 Provide a stub byte there.
3293 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
3294 DW_AT_entry_pc.
3295 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
3296
24e9cda0
UW
32972011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
3298
3299 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
3300 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
3301 "generic ABI, auto".
3302 (altivec_abi_tests): Accept vectors returned by reference.
3303
7371cf6d
PM
33042010-03-14 Phil Muldoon <pmuldoon@redhat.com>
3305
3306 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
3307
ce77046a
UW
33082011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
3309
3310 * gdb.python/py-section-script.exp: Skip test if no Python support.
3311
176400c3
UW
33122011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
3313
3314 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
3315
ecec24e6
PM
33162011-03-10 Phil Muldoon <pmuldoon@redhat.com>
3317
3318 * gdb.python/py-parameter.exp: Update tests to the new Python
3319 parameter API. Add "no documentation" test. Add deprecated API
3320 backward compatibility test.
3321
5dbdd470
TT
33222011-03-09 Tom Tromey <tromey@redhat.com>
3323
3324 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
3325 gdb_continue_to_end.
3326
b66e66ee
MK
33272011-03-09 Mark Kettenis <kettenis@gnu.org>
3328
3329 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
3330 tabs.
3331
eceb0c5f
TT
33322011-03-09 Tom Tromey <tromey@redhat.com>
3333
3334 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
3335 parentheses.
3336 (gdb_continue_to_end): Add "allow_extra" parameter. Use
3337 $command.
3338 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
3339 argument to gdb_continue_to_end.
3340 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
3341 argument to gdb_continue_to_end.
3342 * gdb.cp/annota3.exp: Fix regex.
3343 * gdb.cp/annota2.exp: Fix regex.
3344 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
3345 gdb_continue_to_end.
3346 * gdb.base/call-signal-resume.exp: Revert earlier patch.
3347 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
3348 gdb_continue_to_end.
3349
63154eca
PA
33502011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3351
3352 * gdb.server/ext-run.exp
3353 (load new file without any gdbserver inferior): New test.
3354
967d1f9b
TT
33552011-03-07 Tom Tromey <tromey@redhat.com>
3356
3357 * Makefile.in (TAGS): Rewrite.
3358
d68dcbb9
JK
33592011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3360
3361 * gdb.trace/report.exp (12.1: trace report #1): New match for the
3362 initial commands echo. New match for `Found trace'. Anchor all the
3363 other matches. Anchor and match for `No trace frame found' the final
3364 match.
3365
6bf58e63
TT
33662011-03-07 Tom Tromey <tromey@redhat.com>
3367
3368 * Makefile.in (TAGS): New target.
3369
fda326dd
TT
33702011-03-07 Tom Tromey <tromey@redhat.com>
3371
3372 * lib/opencl.exp (skip_opencl_tests): Update for exit message
3373 change.
3374 * lib/mi-support.exp (mi_gdb_test): Update for exit message
3375 change.
3376 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
3377 exit message change.
3378 (skip_altivec_tests): Update for exit message change.
3379 (skip_vsx_tests): Likewise.
3380 (gdb_continue_to_end): Likewise. Add 'command' argument.
3381 * lib/cell.exp (skip_cell_tests): Update for exit message change.
3382 * gdb.threads/tls.exp: Update for exit message change.
3383 * gdb.threads/thread-unwindonsignal.exp: Use
3384 gdb_continue_to_end.
3385 * gdb.threads/step.exp (step_it): Update for exit message change.
3386 (continue_all): Likewise.
3387 * gdb.threads/print-threads.exp (test_all_threads): Update for
3388 exit message change.
3389 * gdb.threads/interrupted-hand-call.exp: Use
3390 gdb_continue_to_end.
3391 * gdb.threads/execl.exp: Use gdb_continue_to_end.
3392 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
3393 gdb_continue_to_end.
3394 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
3395 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
3396 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
3397 * gdb.cp/method.exp: Update for exit message change.
3398 * gdb.cp/mb-templates.exp: Update for exit message change.
3399 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
3400 * gdb.cp/annota3.exp: Update for exit message change.
3401 * gdb.cp/annota2.exp: Update for exit message change.
3402 * gdb.cell/fork.exp: Use gdb_continue_to_end.
3403 * gdb.base/term.exp: Update for exit message change.
3404 * gdb.base/step-test.exp (test_i): Update for exit message change.
3405 * gdb.base/sigstep.exp (advance): Update for exit message change.
3406 (advancei): Likewise.
3407 * gdb.base/siginfo.exp: Update for exit message change.
3408 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
3409 * gdb.base/reread.exp: Use gdb_continue_to_end.
3410 * gdb.base/langs.exp: Use gdb_continue_to_end.
3411 * gdb.base/interrupt.exp: Update for exit message change.
3412 * gdb.base/gdb1555.exp: Update for exit message change.
3413 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
3414 * gdb.base/ending-run.exp: Update for exit message change.
3415 * gdb.base/chng-syms.exp: Update for exit message change.
3416 * gdb.base/checkpoint.exp: Update for exit message change.
3417 * gdb.base/catch-syscall.exp (check_for_program_end): Use
3418 gdb_continue_to_end.
3419 (test_catch_syscall_with_wrong_args): Likewise.
3420 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
3421 * gdb.base/break-interp.exp (test_ld): Update for exit message
3422 change.
3423 * gdb.base/bang.exp: Update for exit message change.
3424 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
3425 (do_call_attach_tests): Likewise.
3426 * gdb.base/a2-run.exp: Update for exit message change.
3427 * gdb.arch/ppc-dfp.exp: Update for exit message change.
3428 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
3429 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
3430
dd19bd70
JK
34312011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3432
3433 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
3434
30e62689
TT
34352011-03-03 Tom Tromey <tromey@redhat.com>
3436
3437 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
3438 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
3439 * gdb.hp/gdb.aCC/configure.ac: Remove.
3440 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
3441 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
3442 * gdb.hp/gdb.base-hp/configure.ac: Remove.
3443 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
3444 * gdb.hp/gdb.compat/configure (Makefile): Remove.
3445 * gdb.hp/gdb.compat/configure.ac: Remove.
3446 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
3447 * gdb.hp/gdb.defects/configure (Makefile): Remove.
3448 * gdb.hp/gdb.defects/configure.ac: Remove.
3449 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
3450 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
3451 * gdb.hp/gdb.objdbg/configure.ac: Remove.
3452 * gdb.hp/configure.ac: Remove.
3453 * gdb.hp/configure: Remove.
3454 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
3455 substitution.
3456 (Makefile): Remove rule.
3457 * gdb.cell/configure.ac: Remove.
3458 * gdb.cell/configure: Remove.
3459 * gdb.stabs/Makefile.in (Makefile): Remove.
3460 (distclean): Don't remove config.status or config.log.
3461 * gdb.stabs/configure (Makefile): Remove.
3462 * gdb.stabs/configure.ac: Remove.
3463 * configure: Rebuild.
3464 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
3465 Remove stabs- and cell-specific logic. Test for existence of
3466 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
3467 subdirectories, gdb.cell, and and gdb.stabs.
3468 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
3469
c171f854
JB
34702011-03-03 Joel Brobecker <brobecker@adacore.com>
3471
3472 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
3473 end of buffer.
3474
9a5193cb
JB
34752011-03-02 Joel Brobecker <brobecker@adacore.com>
3476
3477 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
3478 gdb_test when running a test where we expected no output back.
3479
9bb4c1bb
MS
34802011-02-28 Michael Snyder <msnyder@vmware.com>
3481
3482 * gdb.cp/overload.cc: Change initializer value to integer.
3483
3bd0f5ef
MS
34842011-02-27 Michael Snyder <msnyder@vmware.com>
3485
3486 * gdb.multi/base.exp: Add test for remove-inferiors.
3487
2279eaad
JB
34882011-02-26 Joel Brobecker <brobecker@adacore.com>
3489
3490 * gdb.python/py-frame.exp: Simplify the initialization phase
3491 using prepare_for_testing.
3492
c82c0b55
MS
34932011-02-25 Michael Snyder <msnyder@vmware.com>
3494
3495 * gdb.multi/base.exp: Add tests for info inferiors with args.
3496
1d94651b
JK
34972011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3498
3499 * gdb.dwarf2/dw2-ranges.S: Rename to ...
3500 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
3501 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
3502 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
3503 asmfile3. Comment the STABS (#3) file compilation. Compile
3504 everything through assembler. Provide KFAIL for symtab/12497.
3505 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
3506 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
3507 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
3508 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
3509
3bd0f5ef
MS
35102011-02-24 Michael Snyder <msnyder@vmware.com>
3511
3512 * gdb.base/break.exp: Add tests for delete breakpoints using
3513 convenience variables and value history references.
3514
12c1418e
MS
35152011-02-24 Michael Snyder <msnyder@vmware.com>
3516
3517 * gdb.base/break.exp: Remove debugging 'printf' accidentally
3518 left behind in previous check-in.
3519
e5a67952
MS
35202011-02-23 Michael Snyder <msnyder@vmware.com>
3521
3522 * gdb.base/break.exp: Add tests for "info break" with arguments.
3523 * gdb.trace/infotrace.exp: Update patterns for error and help.
3524 * gdb.base/completion.exp: Update pattern.
3525 * gdb.base/ena-dis-br.exp: Update pattern.
3526 * gdb.base/help.exp: Update patterns.
3527
35282011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
3529
3530 * gdb.base/memattr.exp: New test.
3531 * gdb.base/memattr.c: Test load for memattr.exp.
3532
6e6fbe60
DE
35332011-02-22 Doug Evans <dje@google.com>
3534
3535 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
3536
1d41d745
MS
35372011-02-22 Michael Snyder <msnyder@vmware.com>
3538
3539 * Makefile.in: Make more clean.
3540 * gdb.ada/Makefile.in: Ditto.
3541 * gdb.arch/Makefile.in: Ditto.
3542 * gdb.asm/Makefile.in: Ditto.
3543 * gdb.base/Makefile.in: Ditto.
3544 * gdb.cp/Makefile.in: Ditto.
3545 * gdb.dwarf2/Makefile.in: Ditto.
3546 * gdb.java/Makefile.in: Ditto.
3547 * gdb.mi/Makefile.in: Ditto.
3548 * gdb.modula2/Makefile.in: Ditto.
3549 * gdb.python/Makefile.in: Ditto.
3550 * gdb.server/Makefile.in: Ditto.
3551 * gdb.stabs/Makefile.in: Ditto.
3552 * gdb.threads/Makefile.in: Ditto.
3553 * gdb.trace/Makefile.in: Ditto.
3554
79ba84ca
MS
35552011-02-22 Michael Snyder <msnyder@vmware.com>
3556
df46027d 3557 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
3558 info threads.
3559
b9b35694
JB
35602011-02-22 Joel Brobecker <brobecker@adacore.com>
3561
3562 * gdb.python/py-breakpoint.exp: Fix the expected output of
3563 one of the "maint info breakpoints" tests to accept the output
3564 generated on platforms that do not have hardware watchpoints.
3565
8bfb830f
JB
35662011-02-22 Joel Brobecker <brobecker@adacore.com>
3567
3568 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
3569 clean_restart. Be a little stricter in the expected output
3570 for one of the tests. Fix a typo in one of the comments.
3571
c45f3c54
JB
35722011-02-22 Joel Brobecker <brobecker@adacore.com>
3573
3574 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
3575 Delete variable binfile, no longer use. Add or modify test
3576 comments to make them unique.
3577
b97c863c
MS
35782011-02-21 Michael Snyder <msnyder@vmware.com>
3579
3580 * Makefile.in: Update for make clean.
3581 * gdb.ada/Makefile.in: Ditto.
3582 * gdb.arch/Makefile.in: Ditto.
3583 * gdb.asm/Makefile.in: Ditto.
3584 * gdb.base/Makefile.in: Ditto.
3585 * gdb.cp/Makefile.in: Ditto.
3586 * gdb.dwarf2/Makefile.in: Ditto.
3587 * gdb.java/Makefile.in: Ditto.
3588 * gdb.mi/Makefile.in: Ditto.
3589 * gdb.modula2/Makefile.in: Ditto.
3590 * gdb.python/Makefile.in: Ditto.
3591 * gdb.server/Makefile.in: Ditto.
3592 * gdb.stabs/Makefile.in: Ditto.
3593 * gdb.threads/Makefile.in: Ditto.
3594 * gdb.trace/Makefile.in: Ditto.
3595
aea5b279
MS
35962011-02-21 Michael Snyder <msnyder@vmware.com>
3597
3598 * gdb.threads/thread-find.exp: Update patterns for changes in
3599 output of "info threads" command.
3600
e3039479
UW
36012011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3602 Ulrich Weigand <uweigand@de.ibm.com>
3603
3604 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
3605 (skip_hw_watchpoint_tests): Likewise.
3606 (skip_hw_watchpoint_multi_tests): Likewise.
3607
b800ec70
UW
36082011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
3609
3610 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
3611 (skip_hw_watchpoint_tests): Likewise.
3612 (skip_hw_watchpoint_multi_tests): Likewise.
3613 (skip_hw_watchpoint_access_tests): Likewise.
3614
3615 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
3616 * gdb.base/pr11022.exp: Likewise.
3617 * gdb.base/watch-read.exp: Likewise.
3618 * gdb.base/watch_thread_num.exp: Likewise.
3619 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3620 * gdb.base/watchpoint-hw.exp: Likewise.
3621 * gdb.base/watchpoint.exp: Likewise.
3622 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
3623 * gdb.threads/watchthreads-reorder.exp: Likewise.
3624 * gdb.threads/watchthreads.exp: Likewise.
3625 * gdb.threads/watchthreads2.exp: Likewise.
3626
91033e37
JB
36272011-02-21 Joel Brobecker <brobecker@adacore.com>
3628
3629 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
3630 the debugger is unable to find the array bounds.
3631
eeaafae2
JK
36322011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3633
3634 * gdb.cp/typedef-operator.exp: New file.
3635 * gdb.cp/typedef-operator.cc: New file.
3636
e338d953
MS
36372011-02-17 Michael Snyder <msnyder@vmware.com>
3638
3639 * gdb.threads/thread-find.exp: Fix regular expressions.
3640
e67ad678
JB
36412011-02-17 Joel Brobecker <brobecker@adacore.com>
3642
3643 * gdb.ada/packed_array: Expand testcase to test printing of
3644 unconstrained packed array.
3645
93084bca
JB
36462011-02-17 Joel Brobecker <brobecker@adacore.com>
3647
3648 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
3649
a0c78a73
PA
36502011-02-16 Pedro Alves <pedro@codesourcery.com>
3651
f65d5553 3652 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
3653 (main): Initialize it before collecting, and and clear it
3654 afterwards.
f65d5553
PA
3655 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3656 collecting with '{type} addr', where the addr expression is not an
3657 rvalue.
a0c78a73 3658
3dfcbbd2
KW
36592011-02-16 Ken Werner <ken.werner@de.ibm.com>
3660
3661 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
3662 a bool variable. Expect correct OpenCL names for vector types. Use the
3663 uc3 variable name instead of referring to the uchar3 built-in type.
3664 Escape the asterisk at the half pointer test.
3665
08807d5a
PA
36662011-02-16 Pedro Alves <pedro@codesourcery.com>
3667
f65d5553 3668 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
3669 (main): Initialize it before collecting, and and clear it
3670 afterwards.
f65d5553
PA
3671 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3672 collecting overlapping memory ranges.
08807d5a 3673
60f98dde
MS
36742011-02-15 Michael Snyder <msnyder@vmware.com>
3675
3676 * gdb.base/default.exp: Add tests for thread commands.
3677 * gdb.base/help.exp: Add tests for thread commands.
3678 * gdb.threads/thread-find.exp: New test for thread find command.
3679
648cd113
KW
36802011-02-15 Ken Werner <ken.werner@de.ibm.com>
3681
3682 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
3683
494e194e
YQ
36842011-02-15 Yao Qi <yao@codesourcery.com>
3685
3686 PR tdep/12352
3687 * gdb.arch/arm-disp-step.S : New test for str instruction.
3688 * gdb.arch/arm-disp-step.exp : Likewise.
3689
d9492458
TJB
36902011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
3691
3692 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
3693 "vector_register2_vr" test strings. Test the extended floating
3694 point registers (F32~F63).
3695 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
3696 IBM XL C compiler. Make the test program use a register provided
3697 by the compiler for the lxvd2x instruction.
3698
8af8e3bc
PA
36992011-02-14 Pedro Alves <pedro@codesourcery.com>
3700
3701 * gdb.trace/unavailable.cc (class Base, class Middle, class
3702 Derived): New types.
3703 (derived_unavail, derived_partial, derived_whole): New globals.
3704 (virtual_partial): New global.
3705 (virtualp): Point at virtual_partial.
3706 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
3707 related to unavailable vptr.
3708
1b28d0b3
PA
37092011-02-14 Pedro Alves <pedro@codesourcery.com>
3710
3711 * gdb.trace/unavailable.cc (a, b, c): New globals.
3712 (main): Set and clear them.
3713 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
3714 `a' and `c', and check that `b' isn't collected, although `a' and
3715 `c' are.
3716
ec0a52e1
PA
37172011-02-14 Pedro Alves <pedro@codesourcery.com>
3718
3719 * gdb.trace/unavailable.cc (struct Virtual): New.
3720 (virtualp): New global pointer.
3721 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
3722 printing a pointer to an object whose type has a vtable, with
3723 print object on.
3724
24e6bcee
PA
37252011-02-14 Pedro Alves <pedro@codesourcery.com>
3726
3727 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
3728 value repeat handles unavailableness.
3729
39d37385
PA
37302011-02-14 Pedro Alves <pedro@codesourcery.com>
3731
3732 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
3733 tests for building arrays from unavailable values, subscripting
3734 non-memory rvalue unvailable arrays, and accessing fields or
3735 baseclasses of non-lazy unavailable values,
3736 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
3737 struct types.
3738 (g_smallstruct, g_smallstruct_b): New globals.
3739
06d72e16
PA
37402011-02-14 Pedro Alves <pedro@codesourcery.com>
3741
3742 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
3743
bc9a5551
JK
37442011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3745
3746 Fix const/volatile qualifiers of C++ types, PR c++/12328.
3747 * gdb.cp/overload-const.exp: New file.
3748 * gdb.cp/overload-const.cc: New file.
3749
54fcddd0
UW
37502011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3751
3752 * gdb.opencl/callfuncs.cl: New file.
3753 * gdb.opencl/callfuncs.exp: New test.
3754 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
3755
d6dafb7c
UW
37562011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3757
3758 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
3759 when computing result.
3760 * gdb.arch/altivec-abi.exp: Update expected results.
3761
a449c2d8
TJB
37622011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
3763
3764 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
3765 * gdb.base/jit.exp: Likewise.
3766 * gdb.base/pie-execl.exp: Likewise.
3767 * gdb.base/solib-nodir.exp: Likewise.
3768 * gdb.base/solib-overlap.exp: Likewise.
3769
764880b7
PA
37702011-02-07 Pedro Alves <pedro@codesourcery.com>
3771
3772 * gdb.trace/collection.c (global_pieces): New.
3773 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
3774 New procedure.
3775 (gdb_trace_collection_test): Call it.
3776
505500db
SW
37772011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
3778
3779 * gdb.python/py-evthreads.c: New file.
3780 * gdb.python/py-evthreads.exp: New file.
3781 * gdb.python/py-events.py: New file.
3782 * gdb.python/py-events.exp: New file.
3783 * gdb.python/py-events.c: New file.
3784
385203ed
DD
37852011-02-04 David Daney <ddaney@caviumnetworks.com>
3786
3787 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
3788
9011945e
AB
37892011-02-03 Andrew Burgess <aburgess@broadcom.com>
3790
3791 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
3792 gdb.base/disasm-end-cu.exp: New test for disassembling over the
3793 boundary between two compilation units.
3794
580688f3
PA
37952011-02-02 Pedro Alves <pedro@codesourcery.com>
3796
3797 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
3798 (Virtual): New structs.
3799 (virtual_o, virtual_middle_b): New globals.
3800 * gdb.cp/virtbase.exp: New tests.
3801
d3f0f853
PP
38022011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3803
3804 * gdb.base/jit.exp: New file.
3805 * gdb.base/jit-main.c: New file.
3806 * gdb.base/jit-solib.c: New file.
3807
b2030fb5
UW
38082011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
3809
3810 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
3811 proceed to initial kernel entry point.
3812 * gdb.opencl/datatypes.exp: Likewise.
3813 * gdb.opencl/operators.exp: Likewise.
3814 * gdb.opencl/vec_comps.exp: Likewise.
3815
2db19d1e
SW
38162011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
3817
3818 * gdb.cp/nsnested.cc: New.
3819 * gdb.cp/nsnested.exp: New.
3820 * gdb.cp/nsnoimports.exp: New.
3821 * gdb.cp/nsnoimports.cc: New.
3822
6b0c4c1f
JB
38232011-01-31 Joel Brobecker <brobecker@adacore.com>
3824
3825 * gdb.base/interact.exp: Add extra tests that verify that
3826 the value of the interactive-mode setting does not change
3827 after the script is sourced.
3828
80b23b6a
JK
38292011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3830
3831 * gdb.cp/noparam.exp: New file.
3832 * gdb.cp/noparam.cc: New file.
3833
ffd5ec24
PA
38342011-01-28 Pedro Alves <pedro@codesourcery.com>
3835
3836 * gdb.trace/tfile.exp: Test that with no traceframe selected,
3837 there's no stack or registers.
3838
a81766d8
TT
38392011-01-26 Tom Tromey <tromey@redhat.com>
3840
3841 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
3842 space before string output. Add test for "set print pretty off"
3843 case.
3844
585fdaa1
PA
38452011-01-25 Pedro Alves <pedro@codesourcery.com>
3846
3847 * gdb.base/frame-args.exp: Adjust.
3848 * gdb.dwarf2/dw2-noloc.exp: Adjust.
3849 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
3850 * gdb.dwarf2/pieces.exp: Adjust.
3851 * gdb.opt/clobbered-registers-O2.exp: Adjust.
3852 * gdb.opt/inline-locals.exp: Adjust.
3853 * gdb.threads/fork-child-threads.exp: Adjust.
3854
d468832a
KW
38552011-01-25 Ken Werner <ken.werner@de.ibm.com>
3856
3857 * gdb.opencl/convs_casts.cl: Move program scope variables into the
3858 OpenCL kernel function. Add a comment as marker. Add address space
3859 qualifiers for the remaining program scope variables.
3860 * gdb.opencl/datatypes.cl: Likewise.
3861 * gdb.opencl/operators.cl: Likewise.
3862 * gdb.opencl/vec_comps.cl: Likewise.
3863 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
3864 Add breakpoint at the marker comment.
3865 * gdb.opencl/datatypes.exp: Likewise.
3866 * gdb.opencl/operators.exp: Likewise.
3867 * gdb.opencl/vec_comps.exp: Likewise.
3868
490f124f
PA
38692011-01-24 Pedro Alves <pedro@codesourcery.com>
3870
3871 * gdb.base/printcmds.c (some_struct): New struct and instance.
3872 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
3873 procedure.
3874 <global scope>: Call it.
3875
6da78614
KW
38762011-01-21 Ken Werner <ken.werner@de.ibm.com>
3877
3878 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
3879 argument to the gdb_compile_opencl_hostapp call.
3880
ec64c9aa
YQ
38812011-01-19 Yao Qi <yao@codesourcery.com>
3882
3883 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
3884 positve list.
3885
810cfdbb
YQ
38862011-01-19 Yao Qi <yao@codesourcery.com>
3887
3888 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
3889 canonical form.
3890 Remove "xscale-*-*"
3891 * gdb.xml/tdesc-regs.exp: Likewise.
3892 * gdb.python/py-section-script.exp: Replace ARM target triplet
3893 with canonical form.
3894 Match arm*-*-symbianelf*.
3895 * gdb.base/dup-sect.exp: Likewise.
3896 * lib/dwarf.exp: New.
3897 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
3898 dwarf2_support.
3899 * gdb.dwarf2/dup-psym.exp: Likewise.
3900 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
3901 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3902 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
3903 * gdb.dwarf2/dw2-basic.exp: Likewise.
3904 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3905 * gdb.dwarf2/dw2-const.exp: Likewise.
3906 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
3907 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
3908 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3909 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
3910 * gdb.dwarf2/dw2-filename.exp: Likewise.
3911 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3912 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
3913 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3914 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3915 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
3916 * gdb.dwarf2/dw2-noloc.exp: Likewise.
3917 * gdb.dwarf2/dw2-op-call.exp: Likewise.
3918 * gdb.dwarf2/dw2-producer.exp: Likewise.
3919 * gdb.dwarf2/dw2-ranges.exp: Likewise.
3920 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
3921 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
3922 * gdb.dwarf2/dw2-strp.exp: Likewise.
3923 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
3924 * gdb.dwarf2/implptr.exp: Likewise.
3925 * gdb.dwarf2/mac-fileno.exp: Likewise.
3926 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
3927 * gdb.dwarf2/pieces.exp: Likewise.
3928 * gdb.dwarf2/pr11465.exp: Likewise.
3929 * gdb.dwarf2/valop.exp: Likewise.
3930 * gdb.dwarf2/watch-notconst.exp: Likewise.
3931 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
3932
4694da01
TT
39332011-01-19 Tom Tromey <tromey@redhat.com>
3934
3935 * gdb.python/py-infthread.exp: Add thread tests.
3936
b075872c
JB
39372011-01-14 Joel Brobecker <brobecker@adacore.com>
3938
3939 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
3940
2c3e6e24
JB
39412011-01-14 Joel Brobecker <brobecker@adacore.com>
3942
3943 * gdb.ada/widewide: New testcase.
3944
de8fa76c
JB
39452011-01-13 Joel Brobecker <brobecker@adacore.com>
3946
3947 * gdb.base/interact.exp: New testcase.
3948
1b05df00
TT
39492011-01-12 Tom Tromey <tromey@redhat.com>
3950
3951 * gdb.mi/gdb2549.exp: Update for error message changes.
3952 * gdb.mi/mi-cli.exp: Likewise.
3953 * gdb.mi/mi-disassemble.exp: Likewise.
3954 * gdb.mi/mi-pthreads.exp: Likewise.
3955 * gdb.mi/mi-regs.exp: Likewise.
3956 * gdb.mi/mi-stack.exp: Likewise.
3957 * gdb.mi/mi-var-block.exp: Likewise.
3958 * gdb.mi/mi-var-cmd.exp: Likewise.
3959 * gdb.mi/mi2-cli.exp: Likewise.
3960 * gdb.mi/mi2-disassemble.exp: Likewise.
3961 * gdb.mi/mi2-pthreads.exp: Likewise.
3962 * gdb.mi/mi2-regs.exp: Likewise.
3963 * gdb.mi/mi2-stack.exp: Likewise.
3964 * gdb.mi/mi2-var-block.exp: Likewise.
3965 * gdb.mi/mi2-var-cmd.exp: Likewise.
3966
c2ff108b
JK
39672011-01-12 Andrew Burgess <aburgess@broadcom.com>
3968 Jan Kratochvil <jan.kratochvil@redhat.com>
3969
3970 PR fortran/11104 and DWARF unbound arrays detection.
3971 * gdb.fortran/multi-dim.exp: New file.
3972 * gdb.fortran/multi-dim.f90: New file.
3973
b716877b
AB
39742011-01-12 Andrew Burgess <aburgess@broadcom.com>
3975
3976 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
3977 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
3978 add new tests for opcode dumping.
3979
6c162d5e
TT
39802011-01-11 Tom Tromey <tromey@redhat.com>
3981
3982 * gdb.python/py-infthread.exp: Load gdb-python.exp.
3983
77b06cd7
TJB
39842010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
3985
3986 Convert hardware watchpoints to use breakpoint_ops.
3987 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
3988 type is not supported.
3989 * gdb.base/foll-fork.exp: Likewise.
3990 * gdb.base/foll-vfork.exp: Likewise.
3991
f39a75d0
PM
39922011-01-10 Phil Muldoon <pmuldoon@redhat.com>
3993
3994 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
3995 Use load_lib gdb-python.exp.
3996 * gdb.python/python.exp: Ditto.
3997 * gdb.python/py-function.exp: Ditto.
3998
fc529d80
AS
39992011-01-09 Andreas Schwab <schwab@linux-m68k.org>
4000
4001 * gdb.threads/tls.exp ("info address me"): Fix expected output.
4002
fb03cb59
JK
40032011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4004
4005 * configure: Regenerate.
4006
d8e22779
TT
40072011-01-06 Tom Tromey <tromey@redhat.com>
4008
4009 * gdb.python/py-frame.exp: Test gdb.newest_frame.
4010
09050809
JB
40112011-01-06 Joel Brobecker <brobecker@adacore.com>
4012
fc529d80
AS
4013 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
4014 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
4015 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
4016 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
4017 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
4018 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
4019 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
4020 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
4021 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
4022 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
4023 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
4024 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
4025 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
4026 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
4027 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
4028 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
4029 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
4030 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
4031 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
4032 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
4033 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
4034 gdb.ada/uninitialized_vars.exp,
4035 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
4036 Simplify by using clean_restart.
09050809 4037
8ed5dd9e
JB
40382011-01-06 Joel Brobecker <brobecker@adacore.com>
4039
4040 Add marker to be used as anchor for inserting breakpoints.
4041 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
4042 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
4043 Likewise.
4044
4045 Remove uses of gdb_start_cmd.
4046 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
4047 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
4048
4049 Do not run testcase if testing with GDBserver.
4050 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
4051 if testing with GDBserver.
4052
368a124f
JB
40532011-01-06 Joel Brobecker <brobecker@adacore.com>
4054
4055 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
4056 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
4057 copyright header.
4058
44944448
JB
40592011-01-05 Joel Brobecker <brobecker@adacore.com>
4060
4061 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
4062 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
4063 testsuite/gdb.fortran/complex.f,
4064 testsuite/gdb.fortran/derived-type.f90,
4065 testsuite/gdb.fortran/library-module-lib.f90,
4066 testsuite/gdb.fortran/library-module-main.f90,
4067 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
4068 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
4069 Copyright year update.
4070
31886ea6
JB
40712011-01-05 Joel Brobecker <brobecker@adacore.com>
4072
4073 * gdb.base/langs1.f: Add copyright header.
4074
ebedcab5
JK
40752011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4076
4077 * gdb.base/morestack.exp: New file.
4078 * gdb.base/morestack.c: New file.
4079
de1eb2f9
JK
40802011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4081
4082 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
4083
9e87a409
JB
40842010-12-29 Joel Brobecker <brobecker@adacore.com>
4085
4086 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
4087 * gdb.ada/arrayptr.exp: Add test printing that new variable.
4088
720d1a40
JB
40892010-12-29 Joel Brobecker <brobecker@adacore.com>
4090
4091 * gdb.ada/lang_switch.exp: Correct expected parameter value.
4092
a283af87
AS
40932010-12-25 Andreas Schwab <schwab@linux-m68k.org>
4094
5d3d9cba
AS
4095 * gdb.threads/tls.exp: Fix typo.
4096
a283af87
AS
4097 * gdb.threads/thread-specific.exp (get_thread_list): Update.
4098 * gdb.threads/execl.exp: Update.
4099
2a20745c
YQ
41002010-12-23 Yao Qi <yao@codesourcery.com>
4101
4102 * gdb.arch/arm-disp-step.exp: New.
4103 * gdb.arch/arm-disp-step.S: New.
4104
a7658b96
TT
41052010-12-21 Tom Tromey <tromey@redhat.com>
4106
4107 * gdb.threads/execl.exp: Update.
4108 * gdb.threads/linux-dp.exp: Update.
4109 * gdb.threads/manythreads.exp: Update.
4110 * gdb.threads/tls.exp: Update.
4111
5b79abe7
TT
41122010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4113
4114 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
4115 (NextOverThrowDerivates) <resumebpt>: New.
4116 (resumebpt_test): New.
4117 (main): Call resumebpt_test.
4118 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
4119
0914bcdb
SS
41202010-12-12 Stan Shebs <stan@codesourcery.com>
4121
4122 * gdb.trace/tsv.exp: Test print command on trace state variables.
4123
305aeedc
TT
41242010-12-09 Tom Tromey <tromey@redhat.com>
4125
4126 * gdb.base/interp.exp: Add regression test.
4127
186c406b
TT
41282010-12-09 Tom Tromey <tromey@redhat.com>
4129
4130 * gdb.java/jnpe.java: New file.
4131 * gdb.java/jnpe.exp: New file.
4132 * gdb.cp/nextoverthrow.exp: New file.
4133 * gdb.cp/nextoverthrow.cc: New file.
4134
aae1c79a
DE
41352010-12-07 Doug Evans <dje@google.com>
4136
4137 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
4138 of data-directory.
4139 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
4140 updated.
4141 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
4142
60f98dde 41432010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
4144
4145 * gdb.base/callfuncs.exp: Test for skip_float_tests.
4146 * gdb.base/call-sc.exp: Ditto.
4147 * gdb.base/finish.exp: Ditto.
4148 * gdb.base/return.exp: Ditto.
4149 * gdb.base/return2.exp: Ditto.
4150
5fa290c1
DE
41512010-11-30 Doug Evans <dje@google.com>
4152
4153 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
4154 (gdb_expect_list): Fix spelling errors in comments.
4155 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
4156 send_gdb/gdb_expect_list where applicable.
4157 * gdb.base/call-ar-st.exp: Ditto.
4158 * gdb.base/funcargs.exp: Ditto.
4159 * gdb.base/gcore.exp: Ditto.
4160 * gdb.base/page.exp: Ditto.
4161 * gdb.base/sigaltstack.exp: Ditto.
4162 * gdb.base/siginfo.exp: Ditto.
4163 * gdb.base/sigstep.exp: Ditto.
4164 * gdb.base/trace-commands.exp: Ditto.
4165
4e04c971
DE
41662010-11-29 Doug Evans <dje@google.com>
4167
4168 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
4169 printer-name;subprinter-name.
4170
8cf6f0b1
TT
41712010-11-29 Tom Tromey <tromey@redhat.com>
4172
4173 * gdb.dwarf2/implptr.exp: New file.
4174 * gdb.dwarf2/implptr.c: New file.
4175 * gdb.dwarf2/implptr.S: New file.
4176
94b6973e
PM
41772010-11-29 Phil Muldoon <pmuldoon@redhat.com>
4178
fc529d80 4179 PR python/12199
94b6973e
PM
4180
4181 * gdb.python/py-breakpoint.exp: Test the delete method.
4182
8358c15c
JK
41832010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4184
4185 Fix step_resume_breakpoint unsaved during an infcall.
4186 * gdb.base/step-resume-infcall.exp: New file.
4187 * gdb.base/step-resume-infcall.c: New file.
4188
f6df29bc
TJB
41892010-11-24 Edjunior Machado <emachado@br.ibm.com>
4190
4191 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
4192
f2b5a5cf
TJB
41932010-11-24 Edjunior Machado <emachado@br.ibm.com>
4194
4195 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
4196 on ppc64's symbols; "finish" and "return" commands must accept to
4197 show the caller line again as well as the line after.
4198 * gdb.asm/powerpc64.inc: New file.
4199
6b0ecdc2
DE
42002010-11-23 Doug Evans <dje@google.com>
4201
4202 * lib/gdb.exp (gdb_test_sequence): New function.
4203 (gdb_expect_list): Add verbose -log call for each pattern.
4204 * gdb.base/signals.exp (test_handle_all_print): Call it.
4205 Reduce timeout increment from 6 minutes to 1 minute.
4206 * gdb.server/ext-run.exp: Call it.
4207
ea976c60
PM
42082010-11-23 Phil Muldoon <pmuldoon@redhat.com>
4209
f2b5a5cf 4210 PR python/12212
ea976c60
PM
4211
4212 * gdb.python/python.exp: Check that selected_thread raises an
4213 error when no inferior is loaded.
4214
c0efa795
JK
42152010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4216
4217 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
4218 * gdb.dwarf2/dw2-stack-boundary.S: New file.
4219
ec3aa567
JK
42202010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4221
4222 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
4223 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
4224
d8249011
DE
42252010-11-18 Doug Evans <dje@google.com>
4226
4227 * gdb.server/ext-run.exp: Fix intermittent failures.
4228
d4eba7d1
NF
42292010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4230
4231 * gdb.stabs/gdb11479.exp: Use runto_main.
4232
b04c2f88
NF
42332010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4234
4235 * gdb.base/break-entry.exp: Skip if using a stub.
4236
ae9d7ce4
NF
42372010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4238
4239 * gdb.python/py-inferior.exp: Pack values in target endianness.
4240
621c8364
TT
42412010-11-12 Tom Tromey <tromey@redhat.com>
4242
4243 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
4244 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
4245 MemoryError.
4246 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
4247 type.
4248 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
4249 MemoryError.
4250 (test_subscript_regression): Update exception type.
4251
84f4c1fe
PM
42522010-11-11 Phil Muldoon <pmuldoon@redhat.com>
4253
4254 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
4255 breakpoint tests.
4256
a1442452
PA
42572010-11-09 Pedro Alves <pedro@codesourcery.com>
4258
4259 * gdb.base/watchpoint.exp: Test "watch -location" with an
4260 innacessible location.
4261
efd11a33
JK
42622010-11-09 Edjunior Machado <emachado@br.ibm.com>
4263 Luis Machado <luisgpm@br.ibm.com>
4264
4265 * gdb.base/maint.exp: Expect "." prefix.
4266 * gdb.base/nodebug.exp: Expect "." Likewise.
4267 * gdb.base/sepsymtab.exp: Expect "." Likewise.
4268 * gdb.base/watchpoint-cond-gone.exp: Likewise.
4269 * gdb.base/watchpoint.exp: Expect a software watch to be created for
4270 POWER server processors.
4271
aa00efb5
JK
42722010-11-08 Edjunior Machado <emachado@br.ibm.com>
4273 Luis Machado <luisgpm@br.ibm.com>
4274
4275 * gdb.base/break-entry.exp: convert entry point for
4276 ppc64 and expect leading `.' on ppc64's symbols
4277
99e7ae30
DE
42782010-11-05 Doug Evans <dje@google.com>
4279
4280 * gdb.base/help.exp: Update expected output.
b521dba8
DE
4281 * gdb.python/py-param.exp: Delete, contents moved to ...
4282 * gdb.python/py-parameter.exp: ... here. New file.
4283 Add test for gdb.parameter ("directories").
99e7ae30 4284
f4b8a18d
KW
42852010-11-05 Ken Werner <ken.werner@de.ibm.com>
4286
4287 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
4288 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
4289 * configure: Regenerate.
4290 * gdb.opencl/Makefile.in: New File.
4291 * gdb.opencl/datatypes.exp: Likewise.
4292 * gdb.opencl/datatypes.cl: Likewise.
4293 * gdb.opencl/operators.exp: Likewise.
4294 * gdb.opencl/operators.cl: Likewise.
4295 * gdb.opencl/vec_comps.exp: Likewise.
4296 * gdb.opencl/vec_comps.cl: Likewise.
4297 * gdb.opencl/convs_casts.exp: Likewise.
4298 * gdb.opencl/convs_casts.cl: Likewise.
4299 * lib/opencl.exp: Likewise.
4300 * lib/opencl_hostapp.c: Likewise.
4301 * lib/opencl_kernel.cl: Likewise.
4302 * lib/cl_util.c: Likewise.
4303 * lib/cl_util.c: Likewise.
4304 * gdb.base/default.exp (set language): Add "opencl" to the list of
4305 languages.
4306
a9d5ef47
SW
43072010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
4308
4309 * gdb.cp/overload.exp: Added test for inheritance overload.
4310 * gdb.cp/overload.cc: Ditto.
4311 * gdb.cp/oranking.exp: Removed releveant kfails.
4312
03eb1c79
JK
43132010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4314 Joel Brobecker <brobecker@adacore.com>
4315
4316 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
4317 check test_compiler_info.
4318
dbc98a8b
KW
43192010-11-03 Ken Werner <ken.werner@de.ibm.com>
4320
4321 * gdb.base/gnu_vector.exp: Adjust expect messages.
4322
120bd360
KW
43232010-11-03 Ken Werner <ken.werner@de.ibm.com>
4324
4325 * gdb.base/gnu_vector.exp: Add unary operator tests.
4326
c37f7098
KW
43272010-11-03 Ken Werner <ken.werner@de.ibm.com>
4328
4329 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
4330
7b51bc51
DE
43312010-11-02 Doug Evans <dje@google.com>
4332
4333 * gdb.python/py-pp-maint.c: New file.
4334 * gdb.python/py-pp-maint.exp: New file.
4335 * gdb.python/py-pp-maint.py: New file.
4336
50c97f38
TT
43372010-11-02 Tom Tromey <tromey@redhat.com>
4338
4339 * gdb.base/default.exp: Remove "scheme" from language list.
4340
a289b8f6
JK
43412010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4342
4343 Revert:
4344 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4345 * gdb.threads/sigstep-threads.exp: New file.
4346 * gdb.threads/sigstep-threads.c: New file.
4347
cd017491
MS
43482010-10-20 Michael Snyder <msnyder@vmware.com>
4349
4350 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
4351
8e6a5956
UW
43522010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4353
4354 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
4355 Skip test completely if gdb,no_hardware_watchpoints.
4356
2c04da0d
UW
43572010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4358
4359 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
4360 strict, but do not check for any particular function name within libc.
4361
79afc5ef
SW
43622010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4363
4364 * gdb.cp/smartp.exp: New test.
4365 * gdb.cp/smartp.cc : New test.
4366
026ffab7
SW
43672010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4368
4369 * gdb.cp/converts.exp: Test pointer to bool conversion.
4370 Test pointer to long conversion.
4371 * gdb.cp/oranking.exp: Removed relevant kfail.
4372
3a772aa4
TT
43732010-10-18 Tom Tromey <tromey@redhat.com>
4374
4375 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
4376 argument to lazy_string.
4377 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
4378 (pp_ls.to_string): Use it.
4379 * gdb.python/py-prettyprint.c (main): Move declarations to top.
4380 Add "estring2" local.
4381
5fc3827b
JK
43822010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4383
4384 Fix s390x compatibility.
4385 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
4386 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
4387
8aeb23f3
JK
43882010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4389
4390 * gdb.threads/sigstep-threads.exp: New file.
4391 * gdb.threads/sigstep-threads.c: New file.
4392
c1e56572
JK
43932010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4394
4395 * gdb.base/pie-execl.exp: New file.
4396 * gdb.base/pie-execl.c: New file.
4397
92163a10
JK
43982010-10-13 Doug Evans <dje@google.com>
4399 Jan Kratochvil <jan.kratochvil@redhat.com>
4400
4401 PR exp/12117
4402 * gdb.cp/ptype-cv-cp.cc: New file.
4403 * gdb.cp/ptype-cv-cp.exp: New file.
4404
7062b0a0
SW
44052010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
4406
4407 * gdb.cp/converts.cc: New test program.
4408 * gdb.cp/converts.exp: New test.
4409 * gdb.cp/overload.exp: Added test for void* vs int*.
4410 * gdb.cp/overload.exp: Ditto.
4411 * gdb.cp/oranking.exp: Removed related kfail.
4412
0e3509db
DE
44132010-10-13 Doug Evans <dje@google.com>
4414
4415 * lib/gdb-python.exp (gdb_check_python_config): New function.
4416 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
4417 * gdb.python/lib-types.cc: New file.
4418 * gdb.python/lib-types.exp: New file.
4419
8dc78533
JK
44202010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4421
4422 * gdb.python/py-error.exp: New file.
4423 * gdb.python/py-error.py: New file.
4424
93c17e06
JK
44252010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4426
4427 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
4428 gdb_test_multiple.
4429
d8b34041
JK
44302010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4431
4432 * gdb.base/break-interp.exp: Use ldlags for linking flags.
4433 * gdb.base/prelink.exp: Likewise.
4434 * gdb.base/solib-nodir.exp: Likewise.
4435 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
4436 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
4437 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
4438
e0cc584e
UW
44392010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
4440
4441 * break-interp.exp (test_ld): Use two separate gdb_expect statements
4442 for the "info files" test to avoid timeouts on slow machines.
4443
cfc353b1
JK
44442010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4445
4446 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
4447 (main): Make openlib dummy call.
4448
d3d7896d
JK
44492010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4450
4451 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
4452 * break-interp.exp (reach): Move the core body ...
4453 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
4454 (test_ld): Provide always real argument, even to the linker. Replace
4455 dl_main by _dl_debug_state.
4456
5e533c94
JK
44572010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4458
4459 Fix results of prelinked PIEs on ppc*.
4460 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
4461 Accept also DISPLACEMENT "PRESENT".
4462 (main): Replace "ZERO" displacements by "PRESENT".
4463
33540610
SW
44642010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
4465
4466 * gdb.cp/oranking.exp: New test.
4467 * gdb.cp/oranking.cc: New test program.
4468
3bdf2bbd
KW
44692010-10-08 Ken Werner <ken.werner@de.ibm.com>
4470
4471 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
4472 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
4473
2f608a3a
KW
44742010-10-06 Ken Werner <ken.werner@de.ibm.com>
4475
4476 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
4477 lush, lynx) New constant.
4478 * gdb.base/constvars.exp: Test const array types.
4479 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
4480
aa2e2d8d
DE
44812010-10-06 Doug Evans <dje@google.com>
4482
4483 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
4484 of syscall staging area.
4485
2844d6b5
KW
44862010-10-06 Ken Werner <ken.werner@de.ibm.com>
4487
4488 * gdb.base/gnu_vector.c: Add variable c4.
4489 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
4490 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4491
7d8ac8bb
MR
44922010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
4493
4494 * gdb.arch/altivec-abi.exp: Fix a typo.
4495
84a02e58
MR
44962010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
4497
4498 * lib/mi-support.exp (thread_selected_re): Correct pattern used
4499 to match a thread ID.
4500
b18e6318
JK
45012010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4502
4503 Fix s390x testcase compatibility.
4504 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
4505
a2c09bd0
DE
45062010-10-01 Doug Evans <dje@google.com>
4507
4508 * lib/gdb-python.exp: New file.
4509 * gdb.python/py-block.exp: Use it.
4510 * gdb.python/py-breakpoint.exp: Ditto.
4511 * gdb.python/py-frame.exp: Ditto.
4512 * gdb.python/py-inferior.exp: Ditto.
4513 * gdb.python/py-param.exp: Ditto.
4514 * gdb.python/py-prettyprint.exp: Ditto.
4515 * gdb.python/py-shared.exp: Ditto.
4516 * gdb.python/py-symbol.exp: Ditto.
4517 * gdb.python/py-symtab.exp: Ditto.
4518 * gdb.python/py-type.exp: Ditto.
4519 * gdb.python/py-value.exp: Ditto.
4520 * gdb.python/python.exp: Ditto.
4521
38f12cfc
TT
45222010-09-30 Tom Tromey <tromey@redhat.com>
4523
4524 * gdb.base/anon.exp: New file.
4525 * gdb.base/anon.c: New file.
4526
9ae8282d
TT
45272010-09-30 Tom Tromey <tromey@redhat.com>
4528
4529 * gdb.base/completion.exp: Test completion through anonymous
4530 union.
4531 * gdb.base/break1.c (struct some_struct): Add anonymous union.
4532
e9e07ba6
JK
45332010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4534
4535 Fix printing parameters of inlined functions.
4536 * gdb.dwarf2/dw2-inline-param.exp: New file.
4537 * gdb.dwarf2/dw2-inline-param-main.c: New file.
4538 * gdb.dwarf2/dw2-inline-param.S: New file.
4539
cd2effb2
JK
45402010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4541
4542 PR corefiles/12071.
4543 * gdb.base/corefile.exp (quit with a process, no question: load core)
4544 (quit with a core file): New tests.
4545
bceffbf3
JK
45462010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4547
4548 Fix GDB crash on inferior calls with self-referencing classes.
4549 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
4550 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
4551 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
4552
1736ad11
JK
45532010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4554
4555 Fix lost siginfo_t for inferior calls.
4556 * gdb.base/siginfo-infcall.exp: New file.
4557 * gdb.base/siginfo-infcall.c: New file.
4558
a176ad92
JB
45592010-09-22 Joel Brobecker <brobecker@adacore.com>
4560
4561 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
4562
c2b0a229
JK
45632010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4564
4565 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
4566 New test.
4567 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
4568
e8ae22d1
JB
45692010-09-22 Joel Brobecker <brobecker@adacore.com>
4570
4571 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
4572 type of our const type.
4573
ec322823
SW
45742010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
4575
4576 * gdb.cp/pr12028.cc: New.
4577 * gdb.cp/pr12028.exp: New.
4578
72929c62
JB
45792010-09-22 Joel Brobecker <brobecker@adacore.com>
4580
4581 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
4582
875b4ff5 45832010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 4584 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
4585
4586 PR mi/11407
4587 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
4588 * gdb.mi/dw2-ref-missing-frame-main.c New File.
4589 * gdb.mi/dw2-ref-missing-frame.S New File.
4590 * gdb.mi/dw2-ref-missing-frame.exp New File.
4591
7155d578
TT
45922010-09-14 Tom Tromey <tromey@redhat.com>
4593
4594 PR symtab/8399:
4595 * gdb.threads/tls.exp: Remove kfail. Update expected output.
4596
515ed532
TT
45972010-09-14 Tom Tromey <tromey@redhat.com>
4598
4599 PR exp/11803:
4600 * gdb.threads/tls.exp: Use C++.
4601 (check_thread_local): Use K::another_thread_local.
4602 * gdb.threads/tls.c (class K): New.
4603 (another_thread_local): Now a member of K.
4604 (spin): Update. No longer K&R C.
4605
450ca57c
SW
46062010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4607
4608 * gdb.cp/koenig.cc: created class for testing member lookup.
4609 * gdb.cp/koenig.exp: Added test for member lookup.
4610
dbd492a3
JK
46112010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4612
4613 Fix false FAILs on sourcetree topdir directory containing "kill".
4614 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
4615 source line matching regexp.
4616
8d4d924b
JK
46172010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4618
4619 * gdb.python/python.exp (set height 0, collect help from uiout)
4620 (verify help to uiout): New tests.
4621
8e64f2a0
JK
46222010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4623
4624 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
4625 is_lp64_target to check 64bit target.
4626
4569eed2
JK
46272010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4628
4629 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
4630 (test_ld) <powerpc64-*>: New.
4631
5e1617b1
DJ
46322010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4633
4634 * gdb.cp/templates.exp (test_template_args): Allow "struct".
4635
c767944b
DJ
46362010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4637
4638 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
4639 (FunctionArg::method): New function.
4640 (empty, arg): New variables.
4641 (main): Call arg.method.
4642 * gdb.cp/templates.exp (test_template_args): New function.
4643 (do_tests): Call it.
4644
27d3a3fc
UW
46452010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4646
4647 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
4648 of "next" to proceed over pthread_exit call.
4649
55b7ce7f
UW
46502010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4651
4652 * gdb.base/maint.exp: Avoid wildcards against potentially very long
4653 "maint print statistics" output to prevent expect timeouts.
4654
809df446
JK
46552010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4656
4657 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
4658 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4659 (test_float_rejected): ... here.
4660 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
4661 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4662 (test_float_rejected): ... here.
4663 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
4664 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4665 (test_float_rejected): ... here.
4666 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
4667 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4668 (test_float_rejected): ... here.
4669
8464be76
DJ
46702010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
4671
4672 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
4673 before disabling hardware watchpoints.
4674 (test_inaccessible_watchpoint): Check that hardware watchpoints
4675 are used. Test for watchpoints on a constant address.
4676
14dba4b4
JK
46772010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4678
4679 * gdb.base/ui-redirect.exp: New file.
4680
3f3540e1 46812010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 4682 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
4683
4684 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
4685
0f254bb7
DE
46862010-08-31 Doug Evans <dje@google.com>
4687
4688 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
4689
03f17ccf
TT
46902010-08-30 Tom Tromey <tromey@redhat.com>
4691
4692 PR python/11792:
4693 * gdb.python/py-value.exp (test_subscript_regression): Add
4694 dynamic_type test.
4695
640617ad
DJ
46962010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
4697
4698 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
4699 instead of running to main. Do not test the main function.
4700 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
4701 Add new main.
4702
2ed91d1b
PA
47032010-08-26 Pedro Alves <pedro@codesourcery.com>
4704
4705 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
4706 one test.
4707
673bfd45
DE
47082010-08-24 Doug Evans <dje@google.com>
4709
4710 PR symtab/11942
4711 * gdb.dwarf2/dw4-sig-types.cc: New file.
4712 * gdb.dwarf2/dw4-sig-types.h: New file.
4713 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
4714 * gdb.dwarf2/dw4-sig-types.exp: New file.
4715
f9ffd4bb
TT
47162010-08-23 Tom Tromey <tromey@redhat.com>
4717
4718 PR python/11145:
4719 * gdb.python/py-value.c (Base, Derived): New types.
4720 (base): New global.
4721 * gdb.python/py-value.exp (test_subscript_regression): Add
4722 dynamic_cast test.
4723
d839c8a4
TT
47242010-08-23 Tom Tromey <tromey@redhat.com>
4725
4726 PR python/10676:
4727 * gdb.python/py-type.exp (test_fields): Add tests for type
4728 equality.
4729
702c2711
TT
47302010-08-23 Tom Tromey <tromey@redhat.com>
4731
4732 PR python/11915:
4733 * gdb.python/py-type.exp (test_fields): Add tests for array.
4734
832bafd3
KS
47352010-08-23 Keith Seitz <keiths@redhat.com>
4736
4737 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
4738 have any children. Create a new abbrev for it.
4739 Add missing terminal sequence to .debug_abbrev.
4740
c37bf528
KS
47412010-08-20 Keith Seitz <keiths@redhat.com>
4742
4743 PR symtab/11465:
4744 * gdb.dwarf2/pr11465.exp: New test.
4745 * gdb.dwarf2/pr11465.S: New file.
4746 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
4747 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
4748
4572cbac
TJB
47492010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
4750
4751 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
4752 registers. Update data sets with the new v2_double element in the
4753 VSX register union. Add vector_register3_vr data set for the AltiVec
4754 registers. Use gdb_test_no_output instead of send_gdb.
4755
e7fbb131
PA
47562010-08-19 Pedro Alves <pedro@codesourcery.com>
4757
4758 * gdb.python/py-shared.exp: New file, factored out from
4759 python.exp.
4760 * gdb.python/py-shared.c: New file.
4761 * gdb.python/py-shared-sl.c: New file.
4762 * gdb.python/python-1.c: New file.
4763 * gdb.python/python-sl.c: Delete.
4764 * gdb.python/python.c: Mention python-1.c.
4765 * gdb.python/python.exp: Move shared library tests to
4766 py-shared.exp.
4767 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
4768 (MISCELLANEOUS): New.
4769 (clean mostlyclean): Also remove $MISCELLANEOUS.
4770
d30f5e1f
DE
47712010-08-19 Doug Evans <dje@google.com>
4772
4773 PR exp/11926
4774 * gdb.base/printcmds.exp (test_float_accepted): New function.
4775 Move existing float tests there. Add tests for floats with suffixes.
4776 (test_float_rejected): New function.
4777 * gdb.java/jv-print.exp (test_float_accepted): New function.
4778 (test_float_rejected): New function.
4779 * gdb.objc/print.exp: New file.
4780 * gdb.pascal/print.exp: New file.
4781 * lib/objc.exp: New file.
4782
7b3fd859
PM
47832010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
4784
4785 * gdb.base/default.exp (info set): Avoid full buffer error and force
4786 reading up to final gdb prompt.
4787 (show): Likewise.
4788
c92817ce
TT
47892010-08-18 Tom Tromey <tromey@redhat.com>
4790
4791 PR symtab/11919:
4792 * gdb.base/completion.exp: Add test.
4793
f1208f9e
DE
47942010-08-18 Doug Evans <dje@google.com>
4795
4796 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
4797 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
4798 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
4799 Simplify, early exit if runto_main fails.
4800 * gdb.fortran/exprs.exp: load_lib fortran.exp.
4801 (set_lang_fortran): Moved to lib/fortran.exp.
4802 * gdb.fortran/types.exp: load_lib fortran.exp.
4803 (set_lang_fortran): Moved to lib/fortran.exp.
4804 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
4805 * gdb.java/jprint.exp (set_lang_java): Ditto.
4806 * gdb.java/jv-exp.exp: load_lib java.exp.
4807 If set_lang_java fails, issue a warning instead of failure to be
4808 consistent with other set_lang_foo uses.
4809 (set_lang_java): Moved to lib/java.exp.
4810 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
4811 If set_lang_java fails, issue a warning instead of failure to be
4812 consistent with other set_lang_foo uses.
4813 * gdb.pascal/types.exp: load_lib pascal.exp.
4814 (set_lang_pascal): Moved to lib/pascal.exp.
4815 * lib/fortran.exp: New file.
4816 * lib/java.exp (set_lang_java): New function.
4817 * lib/pascal.exp (set_lang_pascal): New function.
4818
2f06b485
YQ
48192010-08-18 Yao Qi <yao@codesourcery.com
4820
4821 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
4822 func_nofb_start and func_loopfb_start, so that address of functions
4823 is equal to these labels on Thumb.
4824
96e25403
YQ
48252010-08-18 Yao Qi <yao@codesourcery.com>
4826
4827 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
4828 to reflect latest c source file.
4829
36e6adc4
JK
48302010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4831
4832 * gdb.cp/infcall-dlopen.exp: New file.
4833 * gdb.cp/infcall-dlopen.cc: New file.
4834 * gdb.cp/infcall-dlopen-lib.cc: New file.
4835
f431efe5
PA
48362010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4837 Pedro Alves <pedro@codesourcery.com>
4838
4839 PR breakpoints/11371
4840
4841 * gdb.base/watch-cond-infcall.exp: New file.
4842 * gdb.base/watch-cond-infcall.c: New file.
4843
06a64a0b
TT
48442010-08-16 Tom Tromey <tromey@redhat.com>
4845
4846 * gdb.base/help.exp: Update.
4847 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
4848 watchpoint.
4849 (test_watch_location): New proc.
4850 (test_watchpoint_in_big_blob): Delete watchpoint.
4851 * gdb.base/watchpoint.c (func5): New function.
4852 (main): Call it.
4853
70ebf4ed
DE
48542010-08-16 Doug Evans <dje@google.com>
4855
4856 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
4857
ca5c20b6
PM
48582010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4859
4860 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
4861 tests.
4862
7346b668
KW
48632010-08-11 Ken Werner <ken.werner@de.ibm.com>
4864
4865 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
4866 * gdb.base/gnu_vector.c: New File.
4867 * gdb.base/gnu_vector.exp: Likewise.
4868
cb2e07a6
PM
48692010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4870
4871 * gdb.python/python.c: New File.
4872 * gdb.python/python-sl.c: New File.
4873 * gdb.python/python.exp: Test solib_address and decode_line
4874 * functions.
4875
5da1313b
JK
48762010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4877
4878 * gdb.python/python.exp (show height, set height 10)
4879 (verify pagination beforehand, verify pagination beforehand: q)
4880 (gdb.execute does not page, verify pagination afterwards)
4881 (verify pagination afterwards: q): New.
4882
49c3ccf7
DE
48832010-08-02 Doug Evans <dje@google.com>
4884
4885 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
4886 because of an older gcc, change test2
4887 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
4888 to unsupported.
4889
42c0c4f1
KH
48902010-07-30 Kazu Hirata <kazu@codesourcery.com>
4891
4892 * gdb.base/break-always.exp: Do not expect full paths to file
4893 names.
4894 * gdb.base/commands.exp: Likewise.
4895
d3765805
DE
48962010-07-30 Doug Evans <dje@google.com>
4897
c98ee71b
DE
4898 * gdb.cp/temargs.exp: For new tests that require newer gccs,
4899 xfail them when run with older gccs.
4900
fd961404
DE
4901 * lib/gdb.exp (build_executable): Forward "c++" option to
4902 get_compiler_info.
4903
999adef4
DE
4904 * gdb.python/py-type.exp (test_template): Mark as xfail tests
4905 "python print ttype.template_argument(1)" and
4906 "python print isinstance(ttype.template_argument(1), gdb.Value)"
4907 if using gcc 4.4 or earlier.
4908
d3765805
DE
4909 * gdb.base/valgrind-db-attach.exp: Use unique test name for
4910 attach-to-debugger handling.
4911
1276c759
JK
49122010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4913
4914 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
4915 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
4916 (main): Use copyreloc.
4917 * gdb.base/prelink.exp (split debug of executable)
4918 (.dynbss vs. .bss address shift): New tests.
4919
88caa9b9
PA
49202010-07-29 Pedro Alves <pedro@codesourcery.com>
4921
4922 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
4923 in gdb_test_multiple.
4924
c6f2ac43
PA
49252010-07-29 Pedro Alves <pedro@codesourcery.com>
4926
4927 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
4928 environment.
4929
326fd672
TT
49302010-07-28 Tom Tromey <tromey@redhat.com>
4931
4932 PR python/11060:
4933 * gdb.python/py-type.c (Temargs): New template.
4934 (temvar): New variable.
4935 * gdb.python/py-type.exp (test_template): New proc.
4936
3ce3b1ba
PA
49372010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4938
4939 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
4940 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
4941
34eaf542
TT
49422010-07-28 Tom Tromey <tromey@redhat.com>
4943
4944 PR c++/9946:
4945 * gdb.cp/temargs.exp: New file.
4946 * gdb.cp/temargs.cc: New file.
4947
d41b819e
JK
49482010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4949
4950 * gdb.base/help.exp (help disassemble): Update the content.
4951
26ab7092
JK
49522010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4953
4954 * gdb.threads/ia64-sigill.exp: New file.
4955 * gdb.threads/ia64-sigill.c: New file.
4956
5283e9e1
TT
49572010-07-27 Tom Tromey <tromey@redhat.com>
4958
4959 * gdb.opt/inline-cmds.c (ATTR): New define.
4960 (func1): Use it.
4961 (func2): Likewise.
4962 (func3): Likewise.
4963 (outer_inline1): Likewise.
4964 (outer_inline2): Likewise.
4965 * gdb.opt/inline-bt.c (ATTR): New define.
4966 (func1): Use it.
4967 (func2): Likewise.
4968 * gdb.opt/inline-locals.c (ATTR): New define.
4969 (func1): Use it.
4970 (func2): Likewise.
4971
e992ef73
TT
49722010-07-27 Tom Tromey <tromey@redhat.com>
4973
4974 * gdb.stabs/gdb11479.c (hack): New function.
4975 (test): Use it.
4976 (test2): Use it.
4977 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
4978 (int32_search_buf, int64_search_buf): No longer static.
4979 (x): Remove.
4980 * gdb.base/relocate.c (hack): New function.
4981
5374244e
PM
49822010-07-27 Phil Muldoon <pmuldoon@redhat.com>
4983
4984 * gdb.python/py-value.exp (test_inferior_function_call): New function.
4985 * gdb.python/py-value.c (func1): New function.
4986 (func2): Likewise.
4987
a99aee83
CV
49882010-07-26 Corinna Vinschen <vinschen@redhat.com>
4989
4990 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
4991 as not to clash with .data section.
4992
a04ba985
JG
49932010-07-26 Jerome Guitton <guitton@adacore.com>
4994
4995 * gdb.base/code_elim.exp: New file.
4996 * gdb.base/code_elim1.c: New file.
4997 * gdb.base/code_elim2.c: New file.
4998
23bd0f7c
PA
49992010-07-21 Pedro Alves <pedro@codesourcery.com>
5000
5001 PR symtab/11827
5002
5003 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
5004 (some_volatile_enum): New variable.
5005 * gdb.base/printcmds.exp (test_print_enums): New.
5006 <top level>: Call it.
5007
883df6dd
SW
50082010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
5009
5010 * gdb.cp/fpointer.cc: New test.
5011 * gdb.cp/fpointer.exp: New test.
5012
569b05a5
JK
50132010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5014
5015 * gdb.base/solib-nodir.exp: New file.
5016 * lib/gdb.exp (runto): New case for a GDB internal error.
5017
51d7d803
JK
50182010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5019 Ulrich Weigand <uweigand@de.ibm.com>
5020 Tom Tromey <tromey@redhat.com>
5021
5022 * gdb.base/charset-malloc.c: New file.
5023 * gdb.base/charset.c (malloc_stub): New prototype.
5024 (main): Call it instead of malloc itself.
5025 * gdb.base/charset.exp: Use only prepare_for_testing.
5026 (binfile): Remove the variable.
5027
c0edd9ed
JK
50282010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5029
5030 Make core files the process_stratum.
5031 * gdb.base/corefile.exp (run: load core again)
5032 (run: sanity check we see the core file, run: with core)
5033 (run: core file is cleared, attach: load core again)
5034 (attach: sanity check we see the core file, attach: with core)
5035 (attach: core file is cleared): New tests.
5036 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
5037
3cbaedff
KW
50382010-07-14 Ken Werner <ken.werner@de.ibm.com>
5039
5040 * gdb.arch/altivec-abi.exp: New tests.
5041
91158a56
TT
50422010-07-13 Tom Tromey <tromey@redhat.com>
5043
5044 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
5045 (main): Use it.
5046 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
5047
0f5238ed
TT
50482010-07-13 Tom Tromey <tromey@redhat.com>
5049
5050 * gdb.base/label.exp: New file.
5051 * gdb.base/label.c: New file.
5052
add265ae
L
50532010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
5054 H.J. Lu <hongjiu.lu@intel.com>
5055
5056 * lib/gdb.exp (is_ilp32_target): New.
5057 (is_lp64_target): Likewise.
5058
5059 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
5060 target.
5061 * gdb.arch/amd64-disp-step.exp: Likewise.
5062 * gdb.arch/amd64-dword.exp: Likewise.
5063 * gdb.arch/amd64-i386-address.exp: Likewise.
5064 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 5065
add265ae
L
5066 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
5067 target.
5068 * gdb.arch/i386-bp_permanent.exp: Likewise.
5069 * gdb.arch/i386-byte.exp: Likewise.
5070 * gdb.arch/i386-disp-step.exp: Likewise.
5071 * gdb.arch/i386-gnu-cfi.exp: Likewise.
5072 * gdb.arch/i386-prologue.exp: Likewise.
5073 * gdb.arch/i386-size-overlap.exp: Likewise.
5074 * gdb.arch/i386-size.exp: Likewise.
5075 * gdb.arch/i386-sse.exp: Likewise.
5076 * gdb.arch/i386-unwind.exp: Likewise.
5077 * gdb.arch/i386-word.exp: Likewise.
5078
5079 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
5080 test only when building 64-bit executables. Do not hard-code
5081 -m64 option.
5082
2dfb8c17
DE
50832010-07-07 Doug Evans <dje@google.com>
5084
5085 * lib/gdb.exp (gdb_test_list_exact): New function.
5086 * gdb.base/default.exp (show convenience): Call it, add tests for
5087 $_sdata = void, $_thread = 0.
5088
4e5799b6
JK
50892010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5090 Joel Brobecker <brobecker@adacore.com>
5091
5092 Fix re-run of PIE executable, PR shlibs/11776.
5093 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
5094 Remove $displacement_main to match the solib-svr4.c change. New "kill"
5095 and re-"run" of the inferior.
5096
1a219cc7
JK
50972010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5098 Joel Brobecker <brobecker@adacore.com>
5099
5100 Cope with missing /usr/sbin/prelink.
5101 * lib/prelink-support.exp (prelink_no):
5102 <result == 1 && $output is "no such file or directory">: New.
5103 (prelink_yes): Likewise. Return on failed prelink_no.
5104
5e3b36f8
JK
51052010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5106 Joel Brobecker <brobecker@adacore.com>
5107
5108 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
5109 build_executable by build_executable_own_libs. Replace "prelink -R"
5110 execution by a call of prelink_yes. Comment why "prelink -r" needs no
5111 change.
5112 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
5113 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
5114 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
5115 Replace build_executable by build_executable_own_libs's function
5116 build_executable_own_libs.
5117 (prelinkNO): Create new stub to call prelink_no.
5118 (prelinkYES): Create new stub to call prelink_yes.
5119 (test_attach): Rename calls of copy to file_copy.
5120 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
5121 (copy): Move to ...
5122 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
5123 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
5124 * gdb.base/prelink.exp: Disable testcase also for is_remote and
5125 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
5126 special flags by gdb_compile_shlib. Replace second gdb_compile by
5127 build_executable_own_libs. Replace "prelink -R" execution by a call of
5128 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
5129 a second call of prelink_yes. Replace restart commands by
5130 clean_restart.
5131 (prelink): Rename to ...
5132 (seen displacement message): ... this test. Extend its expectation
5133 strictness.
5134
86e4bafc
JK
51352010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5136
5137 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
5138 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
5139 displacement message exactly once.
5140
3cd07d20
JK
51412010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5142 Joel Brobecker <brobecker@adacore.com>
5143
5144 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
5145 its restore after the <$relink_args != ""> loop. new comment.
5146
0a1e94c7
JK
51472010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5148 Joel Brobecker <brobecker@adacore.com>
5149
5150 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
5151 code for it. New variable relink_args.
5152 (prelinkYES): Call prelinkNO.
5153 (test_attach): Accept new parameter relink_args. Re-prelink the binary
5154 in such case. Move the core code to ...
5155 (test_attach_gdb): ... a new function. Send GDB command "file".
5156 Extend expected "Attaching to " string.
5157
2f70bcfb
TT
51582010-07-02 Tom Tromey <tromey@redhat.com>
5159
5160 * gdb.base/bitops.exp: Remove extraneous "pass".
5161
a17ac5b0
TT
51622010-07-02 Ken Werner <ken.werner@de.ibm.com>
5163
5164 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
5165
dc10affe
PA
51662010-07-01 Pedro Alves <pedro@codesourcery.com>
5167
d41c0fc8
PA
5168 * gdb.base/help.exp: Adjust expected output.
5169
51702010-07-01 Pedro Alves <pedro@codesourcery.com>
5171
5172 * gdb.base/help.exp: Adjust expected output.
dc10affe 5173
0a600c36
JK
51742010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5175
5176 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
5177 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
5178 c++/11702.
5179
37cc8bfe
JK
51802010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5181 Doug Evans <dje@google.com>
5182
5183 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
5184 add .dynamic entry'.
5185
254e6b9e
DE
51862010-06-29 Doug Evans <dje@google.com>
5187
5188 Test PR c++/11702.
5189 * gdb.cp/m-static.exp: Add testcase.
5190 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
5191
595939de 51922010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
5193 Tom Tromey <tromey@redhat.com>
5194 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
5195
5196 * gdb.python/py-inferior.c: New File.
5197 * gdb.python/py-infthread.c: New File.
5198 * gdb.python/py-inferior.exp: New File.
5199 * gdb.python/py-infthread.exp: New File.
5200
98751a41
JK
52012010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5202
5203 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
5204 (ptype ::C::OtherFileClass typedefs): New.
5205 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
5206 (C::OtherFileClass::cOtherFileClassVar2): New.
5207 (C::OtherFileClass::cOtherFileClassVar_use): Use also
5208 cOtherFileClassVar2.
5209 (C::cOtherFileType2, C::cOtherFileVar2): New.
5210 (C::cOtherFileVar_use): use also cOtherFileVar2.
5211 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
5212
41f62f39
JK
52132010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5214
5215 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
5216 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
5217 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
5218 (print ::C::cOtherFileVar)
5219 (whatis C::OtherFileClass::cOtherFileClassType)
5220 (whatis ::C::OtherFileClass::cOtherFileClassType)
5221 (print C::OtherFileClass::cOtherFileClassVar)
5222 (print ::cOtherFileClassVar)
5223 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
5224 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
5225 trailing content.
5226 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
5227 (C::OtherFileClass::cOtherFileClassVar)
5228 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
5229 (C::cOtherFileVar, C::cOtherFileVar_use): New.
5230
af53d231
JK
52312010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5232
5233 Test PR c++/11703 and PR gdb/1448.
5234 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
5235 gdb/1448.
5236
9655fd1a
JK
52372010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5238
5239 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
5240 (main) <rtti_data>: New.
5241 * gdb.cp/virtbase.exp (print rtti_data): New.
5242
824cc8dd
JK
52432010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5244 Joel Brobecker <brobecker@adacore.com>
5245
5246 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
5247
6036c742
JK
52482010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5249
5250 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
5251
de6a0421
DE
52522010-06-28 Doug Evans <dje@google.com>
5253
5254 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
5255
b2dae948
DE
52562010-06-27 Doug Evans <dje@google.com>
5257
5258 * gdb.cp/m-static.exp: Update expected test output.
5259
0f3bb72e
PH
52602010-06-25 Paul Hilfinger <hilfinger@adacore.com>
5261
889bf7c5
PA
5262 * gdb.gdb/selftest.exp: Adjust expected message for
5263 capturing start-up runtime.
0f3bb72e 5264
bc9f0842
TT
52652010-06-25 Tom Tromey <tromey@redhat.com>
5266
5267 PR python/10808:
5268 * gdb.python/python.exp: Add new tests.
5269
099ef718
SW
52702010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
5271
5272 * gdb.cp/operator.cc: Created an import loop.
5273 * gdb.cp/operator.exp: Added testcase for import loop.
5274
5868a632
JK
52752010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5276
5277 Test PR python/11407.
5278 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
5279 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
5280 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
5281 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
5282 executable_nofb and executable_fb. New variables srcsfile, objsfile,
5283 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
5284 binfile. Call gdb_compile with clean_restart twice.
5285 (func_nofb print, func_nofb backtrace, func_loopfb print)
5286 (func_loopfb backtrace): New.
5287
af76db58
JK
52882010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5289
5290 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
5291 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
5292 by a hand made one.
5293 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
5294 i?86 requirement. Remove variables srcfile and binfile. New variable
5295 sources, executable_nofb and executable_fb. Call prepare_for_testing.
5296
f2c7657e
UW
52972010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5298
5299 * gdb.cell/dwarfaddr.exp: New file.
5300 * gdb.cell/dwarfaddr.S: New file.
5301
628fe4e4
JK
53022010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5303
5304 Test PR 9436.
5305 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
5306
f1421989
HZ
53072010-06-24 Hui Zhu <teawater@gmail.com>
5308
5309 * gdb.base/eval.exp: New file.
5310
d03285ec
UW
53112010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5312
5313 * gdb.cell/fork.exp: New file.
5314 * gdb.cell/fork.c: Likewise.
5315 * gdb.cell/fork-spu.c: Likewise.
5316
41b2c92d
PM
53172010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
5318
5319 * lib/gdb.exp (banned_variables_traced): New global variable.
5320 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
5321 (gdb_init): Use `trace add variable' instead of obsolete
5322 `trace variable'.
5323
d5bc977f
DE
53242010-06-21 Doug Evans <dje@google.com>
5325
5326 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
5327
d2ed6730
UW
53282010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5329
5330 * gdb.arch/spu-ls.exp: New file.
5331 * gdb.arch/spu-ls.c: Likewise.
5332
6aed2dbc
SS
53332010-06-18 Stan Shebs <stan@codesourcery.com>
5334
5335 * gdb.threads/thread-specific.exp: Add tests of $_thread.
5336
e0756905
UW
53372010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5338
5339 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
5340 * gdb.base/watch-cond.exp: Likewise.
5341 * gdb.python/py-breakpoint.exp: Likewise.
5342
d8053d4d
PA
53432010-06-18 Pedro Alves <pedro@codesourcery.com>
5344
5345 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
5346 clean_restart, make sure every test has a distinct message, and
5347 that messages don't include the executable' full path.
5348
81ce510c
DE
53492010-06-17 Doug Evans <dje@google.com>
5350
5351 * gdb.arch/i386-size.exp: Updated expected output for
5352 DISASSEMBLY_OMIT_FNAME.
5353
65d79d4b
SDJ
53542010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5355 Sergio Durigan Junior <sergiodj@redhat.com>
5356
5357 * gdb.base/watch-notconst.c: New file.
5358 * gdb.base/watch-notconst.S: New file.
5359 * gdb.base/watch-notconst2.c: New file.
5360 * gdb.base/watch-notconst2.S: New file.
5361 * gdb.base/watch-notconst.exp: New file.
5362 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
5363 (func4): Add operations on `global_ptr_ptr'.
5364 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
5365 routine to test watchpoints created with a constant expression.
5366 (test_inaccessible_watchpoint): Include tests for watchpoints
5367 created with a constant expression.
5368
df0f4836
KB
53692010-06-14 Kevin Buettner <kevinb@redhat.com>
5370
5371 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
5372 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
5373 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
5374 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
5375 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
5376 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
5377 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
5378 of `_start'.
5379
b769def5
UW
53802010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5381
5382 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
5383 not supported on the target.
5384 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5385 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5386 * gdb.mi/mi-nsintrall.exp: Likewise.
5387 * gdb.mi/mi-nsmoribund.exp: Likewise.
5388 * gdb.mi/mi-nsthrexec.exp: Likewise.
5389
d914c394
SS
53902010-06-11 Stan Shebs <stan@codesourcery.com>
5391
5392 * gdb.base/permissions.exp: New file.
5393
53942010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
5395
5396 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
5397 does not support ELF executable class.
5398
f3ce5b9c
UW
53992010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5400
5401 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
5402
8e46892c
JK
54032010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5404
5405 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
5406 (runto): Catch "The target does not support running in non-stop mode.".
5407
6cc55c64
MS
54082010-06-11 Michael Snyder <msnyder@vmware.com>
5409
5410 * gdb.base/setshow.exp (set language asm): Don't use
5411 gdb_test_no_output, fails on some targets.
5412
caddefa4
UW
54132010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5414
5415 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
5416 * gdb.cp/pr9167.exp: Likewise.
5417
468b1aa7
UW
54182010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5419
5420 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
5421
5c3552dc
UW
54222010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5423
5424 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
5425
02e6fe6a
UW
54262010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5427
5428 * gdb.base/charset.c (main): Make sure malloc gets linked in.
5429
0e03807e
TT
54302010-06-11 Tom Tromey <tromey@redhat.com>
5431
5432 PR gdb/9977, PR exp/11636::
5433 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
5434 (pieces_test_f6): Update expected output.
5435
2bdf28a0
JK
54362010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5437
5438 * gdb.base/moribund-step.exp: New.
5439
f6978de9
MS
54402010-06-08 Michael Snyder <msnyder@vmware.com>
5441
5442 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 5443 * gdb.ada/boolean_expr.exp:
f6978de9
MS
5444 * gdb.ada/frame_args.exp: Ditto.
5445 * gdb.ada/lang_switch.exp: Ditto.
5446 * gdb.ada/ptype_arith_binop.exp: Ditto.
5447 * gdb.ada/ref_param.exp: Ditto.
5448 * gdb.ada/type_coercion.exp:Ditto.
5449
5450 * gdb.asm/asm-source.exp: Ditto.
5451
5452 * gdb.base/attach.exp: Ditto.
5453 * gdb.base/bitfields2.exp: Ditto.
5454 * gdb.base/call-signal-resume.exp: Ditto.
5455 * gdb.base/callfuncs.exp: Ditto.
5456 * gdb.base/commands.exp: Ditto.
5457 * gdb.base/dbx.exp: Ditto.
5458 * gdb.base/default.exp: Ditto.
5459 * gdb.base/dump.exp: Ditto.
5460 * gdb.base/exprs.exp: Ditto.
5461 * gdb.base/freebpcmd.exp: Ditto.
5462 * gdb.base/interrupt.exp: Ditto.
5463 * gdb.base/list.exp: Ditto.
5464 * gdb.base/long_long.exp: Ditto.
5465 * gdb.base/maint.exp: Ditto.
5466 * gdb.base/ptype.exp: Ditto.
5467 * gdb.base/return.exp: Ditto.
5468 * gdb.base/setshow.exp: Ditto.
5469 * gdb.base/sigbpt.exp: Ditto.
5470 * gdb.base/sigrepeat.exp: Ditto.
5471
5472 * gdb.cp/classes.exp: Ditto.
5473
5474 * gdb.dwarf2/dw2-restore.exp: Ditto.
5475
5476 * gdb.gdb/selftest.exp: Ditto.
5477
5478 * gdb.multi/base.exp: Ditto.
5479 * gdb.multi/bkpt-multi-exec.exp: Ditto.
5480
5481 * gdb.python/py-block.exp: Ditto.
5482 * gdb.python/py-prettyprint.exp: Ditto.
5483 * gdb.python/py-template.exp: Ditto.
5484
5485 * gdb.server/ext-attach.exp: Ditto.
5486 * gdb.server/ext-run.exp: Ditto.
5487 * gdb.server/server-mon.exp: Ditto.
5488
5489 * gdb.threads/fork-thread-pending.exp: Ditto.
5490 * gdb.threads/hand-call-in-threads.exp: Ditto.
5491 * gdb.threads/interrupted-hand-call.exp: Ditto.
5492 * gdb.threads/linux-dp.exp: Ditto.
5493 * gdb.threads/manythreads.exp: Ditto.
5494 * gdb.threads/print-threads.exp: Ditto.
5495 * gdb.threads/pthreads.exp: Ditto.
5496 * gdb.threads/schedlock.exp: Ditto.
5497 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5498 * gdb.threads/threadapply.exp: Ditto.
5499
de7ff789
MS
55002010-06-08 Michael Snyder <msnyder@vmware.com>
5501
889bf7c5 5502 * gdb.ada/exec_changed.exp:
de7ff789
MS
5503 Use ".*" instead of "" as wildcard regexp.
5504
5505 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
5506 * gdb.base/call-ar-st.exp: Ditto.
5507 * gdb.base/checkpoint.exp: Ditto.
5508 * gdb.base/default.exp: Ditto.
5509 * gdb.base/dump.exp: Ditto.
5510 * gdb.base/ending-run.exp: Ditto.
5511 * gdb.base/fileio.exp: Ditto.
5512 * gdb.base/miscexprs.exp: Ditto.
5513 * gdb.base/pointers.exp: Ditto.
5514 * gdb.base/readline.exp: Ditto.
5515 * gdb.base/reread.exp: Ditto.
5516 * gdb.base/restore.exp: Ditto.
5517 * gdb.base/shlib-call.exp: Ditto.
5518 * gdb.base/valgrind-db-attach.exp: Ditto.
5519 * gdb.base/volatile.exp: Ditto.
5520 * gdb.base/watchpoints.exp: Ditto.
5521
5522 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
5523
5524 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
5525 * gdb.python/py-value.exp: Ditto.
5526
5527 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
5528 * gdb.trace/circ.exp: Ditto.
5529 * gdb.trace/collection.exp: Ditto.
5530 * gdb.trace/packetlen.exp: Ditto.
5531 * gdb.trace/passc-dyn.exp: Ditto.
5532 * gdb.trace/report.exp: Ditto.
5533 * gdb.trace/tfile.exp: Ditto.
5534 * gdb.trace/tfind.exp: Ditto.
5535 * gdb.trace/while-dyn.exp: Ditto.
5536
3bebe2f2
JK
55372010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5538
5539 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
5540
5c631832
JK
55412010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5542
5543 Test PR 10640.
5544 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
5545
4c3376c8
SW
55462010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
5547
5548 * gdb.cp/koenig.exp: Test for ADL operators.
5549 * gdb.cp/koenig.cc: Added ADL operators.
5550 * gdb.cp/operator.exp: New test.
5551 * gdb.cp/operator.cc: New test.
5552
dc226d5a
MS
55532010-06-04 Michael Snyder <msnyder@vmware.com>
5554
dfb88a23
MS
5555 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
5556 * gdb.base/pending.exp: Ditto.
f7ae76b3 5557
dc226d5a
MS
5558 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
5559
967cf477
DE
55602010-06-04 Doug Evans <dje@google.com>
5561
5562 * gdb.python/py-prettyprint.exp: Add new test for enabled and
5563 disabled printers.
5564 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
5565 (enable_lookup_function): New function.
5566
eb801841
TT
55672010-06-04 Tom Tromey <tromey@redhat.com>
5568
5569 * gdb.python/py-value.exp (test_value_hash): Don't test equality
5570 of hash and id.
5571
38979823
JK
55722010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5573
5574 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
5575 newline.
5576 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
5577 (empty verbose non-noisy clear, empty verbose noisy clear)
5578 (empty non-verbose noisy clear): Likewise.
5579
35ec993f
MS
55802010-06-03 Michael Snyder <msnyder@vmware.com>
5581
5582 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
5583 * gdb.base/display.exp: Ditto.
5584 * gdb.base/find.exp: Ditto.
5585 * gdb.base/ifelse.exp: Ditto.
5586 * gdb.base/multi-forks.exp: Ditto.
5587 * gdb.base/recurse.exp: Ditto.
5588 * gdb.base/setshow.exp: Ditto.
5589 * gdb.base/value-double-free.exp: Ditto.
5590 * gdb.base/watch-vfork.exp: Ditto.
5591 * gdb.base/watch_thread_num.exp: Ditto.
5592 * gdb.base/watchpoint-solib.exp: Ditto.
5593 * gdb.base/watchpoint.exp: Ditto.
5594 * gdb.base/watchpoints.exp: Ditto.
5595
5596 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
5597 * gdb.cp/overload.exp: Ditto.
5598 * gdb.cp/virtfunc.exp: Ditto.
5599
5600 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
5601
889bf7c5 5602 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
5603 Replace gdb_test with gdb_test_no_output.
5604
889bf7c5 5605 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
5606 Replace gdb_test with gdb_test_no_output.
5607 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5608 * gdb.threads/watchthreads.exp: Ditto.
5609 * gdb.threads/watchthreads2.exp: Ditto.
5610
5611 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
5612 * gdb.trace/tfind.exp: Ditto.
5613
c22decce
JB
56142010-06-03 Joel Brobecker <brobecker@adacore.com>
5615
5616 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
5617 successful test if message is the empty string.
5618
fd5700c7
JK
56192010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5620
5621 * gdb.fortran/module.exp (stopped language detection): New test.
5622
f55ee35c
JK
56232010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5624
5625 Support DW_TAG_module as separate namespaces.
5626 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
5627 gdb.fortran/library-module-lib.f90: New.
5628 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
5629 (print i): Remove.
5630 (continue to breakpoint: i-is-1, print var_i value 1)
5631 (continue to breakpoint: i-is-2, print var_i value 2)
5632 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
5633 (print var_d, print var_i value 14, ptype modmany, complete `modm)
5634 (complete `modmany, complete `modmany`, complete `modmany`var)
5635 (show language, setting breakpoint at module): New tests.
5636 * gdb.fortran/module.f90 (module mod): Remove.
5637 (module mod1, module mod2, module modmany, subroutine sub1)
5638 (subroutine sub2, program module): New.
5639
b8e8282f
JK
56402010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5641
5642 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
5643 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
5644 * gdb.cp/anon-union.exp (pass): Rename to ...
5645 (print z 2): ... here.
b8e8282f 5646
019ebafc
MS
56472010-06-02 Michael Snyder <msnyder@vmware.com>
5648
e68d8fd4
MS
5649 * gdb.trace/actions.exp: Use gdb_test_no_output.
5650 * gdb.trace/circ.exp: Ditto.
5651 * gdb.trace/packetlen.exp: Ditto.
5652 * gdb.trace/save-trace.exp: Ditto.
5653 * gdb.trace/tracecmd.exp: Ditto.
5654 * gdb.trace/tsv.exp: Ditto.
5655
12b5d08a
MS
5656 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
5657 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
5658 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5659 * gdb.threads/manythreads.exp: Ditto.
5660 * gdb.threads/print-threads.exp: Ditto.
5661 * gdb.threads/pthreads.exp: Ditto.
5662 * gdb.threads/schedlock.exp: Ditto.
5663 * gdb.threads/staticthreads.exp: Ditto.
5664 * gdb.threads/thread-specific.exp: Ditto.
5665 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5666 * gdb.threads/threadapply.exp: Ditto.
5667 * gdb.threads/watchthreads.exp: Ditto.
5668 * gdb.threads/watchthreads2.exp: Ditto.
5669
89493308
MS
5670 * gdb.python/py-block.exp: Use gdb_test_no_output.
5671 * gdb.python/py-prettyprint.exp: Ditto.
5672 * gdb.python/py-template.exp: Ditto.
5673 * gdb.python/py-value.exp: Ditto.
5674
5675 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
5676 * gdb.reverse/watch-reverse.exp: Ditto.
5677
5678 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
5679 * gdb.server/ext-run.exp: Ditto.
5680
019ebafc
MS
5681 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
5682 * gdb.dwarf2/dw2-compressed.exp: Ditto.
5683 * gdb.dwarf2/dw2-intercu.exp: Ditto.
5684 * gdb.dwarf2/dw2-intermix.exp: Ditto.
5685 * gdb.dwarf2/dw2-producer.exp: Ditto.
5686 * gdb.dwarf2/mac-fileno.exp: Ditto.
5687
5688 * gdb.gdb/observer.exp: Use gdb_test_no_output.
5689 * gdb.gdb/selftest.exp: Ditto.
5690
5691 * gdb.multi/base.exp: Use gdb_test_no_output.
5692
5693 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
5694
3e0ca3a5
JK
56952010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5696
5697 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
5698
9db70545
MS
56992010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
5700
a8d52276
MS
5701 * gdb.cp/class2.exp: Use gdb_test_no_output.
5702 * gdb.cp/classes.exp: Ditto.
5703 * gdb.cp/extern-c.exp: Ditto.
5704 * gdb.cp/inherit.exp: Ditto.
5705 * gdb.cp/maint.exp: Ditto.
5706 * gdb.cp/mb-inline.exp: Ditto.
5707 * gdb.cp/mb-templates.exp: Ditto.
5708 * gdb.cp/method2.exp: Ditto.
5709 * gdb.cp/misc.exp: Ditto.
5710 * gdb.cp/ovldbreak.exp: Ditto.
5711 * gdb.cp/punctuator.exp: Ditto.
5712 * gdb.cp/templates.exp: Ditto.
5713 * gdb.cp/virtbase.exp: Ditto.
5714
889bf7c5 5715 * gdb.threads/attach-stopped.exp:
9db70545 5716 Replace uses of send_gdb / gdb_expect.
889bf7c5 5717 * gdb.threads/attachstop-mt.exp:
9db70545 5718 Replace uses of send_gdb / gdb_expect.
889bf7c5 5719 * gdb.threads/gcore-thread.exp:
9db70545 5720 Replace uses of send_gdb / gdb_expect.
889bf7c5 5721 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
5722 Replace uses of send_gdb / gdb_expect.
5723 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 5724 * gdb.threads/print-threads.exp:
9db70545
MS
5725 Replace uses of send_gdb / gdb_expect.
5726 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
5727 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
5728 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
5729
5730 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
5731 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
5732 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
5733 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
5734 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
5735 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
5736 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
5737 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
5738 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
5739 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
5740 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
5741
359cc68c
JK
57422010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5743
5744 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
5745
7d3fe98e
SW
57462010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
5747
5748 * gdb.cp/koenig.exp: Added new test case.
5749 * gdb.cp/koenig.cc: Ditto.
5750
27d3a1a2
MS
57512010-06-01 Michael Snyder <msnyder@vmware.com>
5752
5753 * gdb.base/arithmet.exp: Use gdb_test_no_output.
5754 * gdb.base/arrayidx.exp: Ditto.
5755 * gdb.base/attach.exp: Ditto.
5756 * gdb.base/auxv.exp: Ditto.
5757 * gdb.base/bigcre.exp: Ditto.
5758 * gdb.base/break-always.exp: Ditto.
5759 * gdb.base/break-interp.exp: Ditto.
5760 * gdb.base/break.exp: Ditto.
5761 * gdb.base/breakpoint-shadow.exp: Ditto.
5762 * gdb.base/call-ar-st.exp: Ditto.
5763 * gdb.base/call-sc.exp: Ditto.
5764 * gdb.base/call-signal-resume.exp: Ditto.
5765 * gdb.base/callfuncs.exp: Ditto.
5766 * gdb.base/catch-syscall.exp: Ditto.
5767 * gdb.base/charset.exp: Ditto.
5768 * gdb.base/code-expr.exp: Ditto.
5769 * gdb.base/commands.exp: Ditto.
5770 * gdb.base/cond-expr.exp: Ditto.
5771 * gdb.base/condbreak.exp: Ditto.
5772 * gdb.base/cursal.exp: Ditto.
5773 * gdb.base/cvexpr.exp: Ditto.
5774 * gdb.base/default.exp: Ditto.
5775 * gdb.base/del.exp: Ditto.
5776 * gdb.base/detach.exp: Ditto.
5777 * gdb.base/display.exp: Ditto.
5778 * gdb.base/ena-dis-br.exp: Ditto.
5779 * gdb.base/eval-skip.exp: Ditto.
5780 * gdb.base/foll-fork.exp: Ditto.
5781 * gdb.base/foll-vfork.exp: Ditto.
5782 * gdb.base/frame-args.exp: Ditto.
5783 * gdb.base/funcargs.exp: Ditto.
5784 * gdb.base/gcore-buffer-overflow.exp: Ditto.
5785 * gdb.base/gdbvars.exp: Ditto.
5786 * gdb.base/help.exp: Ditto.
5787 * gdb.base/ifelse.exp: Ditto.
5788 * gdb.base/included.exp: Ditto.
5789 * gdb.base/list.exp: Ditto.
5790 * gdb.base/macscp.exp: Ditto.
5791 * gdb.base/maint.exp: Ditto.
5792 * gdb.base/multi-fork.exp: Ditto.
5793 * gdb.base/overlays.exp: Ditto.
5794 * gdb.base/page.exp: Ditto.
5795 * gdb.base/pending.exp: Ditto.
5796 * gdb.base/pointers.exp: Ditto.
5797 * gdb.base/pr11022.exp: Ditto.
5798 * gdb.base/prelink.exp: Ditto.
5799 * gdb.base/printcmds.exp: Ditto.
5800 * gdb.base/psymtab.exp: Ditto.
5801 * gdb.base/randomize.exp: Ditto.
5802 * gdb.base/relational.exp: Ditto.
5803 * gdb.base/relocate.exp: Ditto.
5804 * gdb.base/remote.exp: Ditto.
5805 * gdb.base/sepdebug.exp: Ditto.
5806 * gdb.base/set-lang-auto.exp: Ditto.
5807 * gdb.base/setshow.exp: Ditto.
5808 * gdb.base/setvar.exp: Ditto.
5809 * gdb.base/signals.exp: Ditto.
5810 * gdb.base/signull.exp: Ditto.
5811 * gdb.base/sigstep.exp: Ditto.
5812 * gdb.base/sizeof.exp: Ditto.
5813 * gdb.base/solib-disc.exp: Ditto.
5814 * gdb.base/store.exp: Ditto.
5815 * gdb.base/structs.exp: Ditto.
5816 * gdb.base/structs2.exp: Ditto.
5817 * gdb.base/subst.exp: Ditto.
5818 * gdb.base/term.exp: Ditto.
5819 * gdb.base/trace-commands.exp: Ditto.
5820 * gdb.base/unwindonsignal.exp: Ditto.
5821 * gdb.base/valgrind-db-attach.exp: Ditto.
5822 * gdb.base/varargs.exp: Ditto.
5823 * gdb.base/watch-cond.exp: Ditto.
5824 * gdb.base/watch_thread_num.exp: Ditto.
5825 * gdb.base/watchpoint-cond-gone.exp: Ditto.
5826 * gdb.base/watchpoint.exp: Ditto.
5827 * gdb.base/whatis-exp.exp: Ditto.
5828
f8d3bf8f
MS
58292010-06-01 Michael Snyder <msnyder@vmware.com>
5830
5831 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
5832 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
5833 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
5834 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
5835 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
5836 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
5837 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
5838 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
5839 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
5840 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
5841 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
5842 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
5843 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
5844 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
5845 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
5846
3f9e0d32
JK
58472010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5848
5849 * gdb.base/commands.exp (begin commands on watch): Remove excessive
5850 trailing newline.
5851 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
5852 * gdb.java/jmisc.exp (p *args\n): Rename to ...
5853 (p *args): ... here and remove excessive trailing newline.
5854
f629457d
JB
58552010-05-31 Joel Brobecker <brobecker@adacore.com>
5856
5857 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
5858
09eef106
JK
58592010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5860
5861 Accept the new Linux kernel "t (tracing stop)" string.
5862 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
5863 Update comment.
5864 (state_wait) <T (tracing stop)>: New.
5865 (main): Update the state_wait expect string.
5866
94f31136
PA
58672010-05-28 Pedro Alves <pedro@codesourcery.com>
5868
5869 * limits.c, limits.exp: Delete files.
5870 * Makefile.in (clean mostlyclean): Adjust.
5871 * tracecmd.exp: Adjust.
5872
096554ab
JK
58732010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5874
5875 * gdb.base/tui-layout.exp: New.
5876
27d3a1a2 58772010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 5878
889bf7c5 5879 * gdb.reverse/break-precsave.exp:
bcd2dc50 5880 Replace uses of send_gdb / gdb_expect.
889bf7c5 5881 * gdb.reverse/break-reverse.exp:
bcd2dc50 5882 Replace uses of send_gdb / gdb_expect.
889bf7c5 5883 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 5884 Replace uses of send_gdb / gdb_expect.
889bf7c5 5885 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 5886 Replace uses of send_gdb / gdb_expect.
889bf7c5 5887 * gdb.reverse/finish-precsave.exp:
bcd2dc50 5888 Replace uses of send_gdb / gdb_expect.
889bf7c5 5889 * gdb.reverse/finish-reverse.exp:
bcd2dc50 5890 Replace uses of send_gdb / gdb_expect.
889bf7c5 5891 * gdb.reverse/i386-precsave.exp:
bcd2dc50 5892 Replace uses of send_gdb / gdb_expect.
889bf7c5 5893 * gdb.reverse/i386-reverse.exp:
bcd2dc50 5894 Replace uses of send_gdb / gdb_expect.
889bf7c5 5895 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 5896 Replace uses of send_gdb / gdb_expect.
889bf7c5 5897 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 5898 Replace uses of send_gdb / gdb_expect.
889bf7c5 5899 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 5900 Replace uses of send_gdb / gdb_expect.
889bf7c5 5901 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 5902 Replace uses of send_gdb / gdb_expect.
889bf7c5 5903 * gdb.reverse/machinestate.exp:
bcd2dc50 5904 Replace uses of send_gdb / gdb_expect.
889bf7c5 5905 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 5906 Replace uses of send_gdb / gdb_expect.
889bf7c5 5907 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 5908 Replace uses of send_gdb / gdb_expect.
889bf7c5 5909 * gdb.reverse/solib-precsave.exp:
bcd2dc50 5910 Replace uses of send_gdb / gdb_expect.
889bf7c5 5911 * gdb.reverse/solib-reverse.exp:
bcd2dc50 5912 Replace uses of send_gdb / gdb_expect.
889bf7c5 5913 * gdb.reverse/step-precsave.exp:
bcd2dc50 5914 Replace uses of send_gdb / gdb_expect.
889bf7c5 5915 * gdb.reverse/step-reverse.exp:
bcd2dc50 5916 Replace uses of send_gdb / gdb_expect.
889bf7c5 5917 * gdb.reverse/until-precsave.exp:
bcd2dc50 5918 Replace uses of send_gdb / gdb_expect.
889bf7c5 5919 * gdb.reverse/until-reverse.exp:
bcd2dc50 5920 Replace uses of send_gdb / gdb_expect.
889bf7c5 5921 * gdb.reverse/watch-precsave.exp:
bcd2dc50 5922 Replace uses of send_gdb / gdb_expect.
889bf7c5 5923 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
5924 Replace uses of send_gdb / gdb_expect.
5925
3def43e0
JK
59262010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5927
5928 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
5929 excessive newline.
5930
27d3a1a2 59312010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
5932
5933 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
5934 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
5935 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
5936 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
5937 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
5938 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
5939 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
5940 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
5941 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
5942 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
5943 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
5944 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
5945 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
5946 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
5947 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
5948 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
5949 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
5950 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
5951 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 5952
27d3a1a2 59532010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 5954
22454424
MS
5955 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
5956 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
5957
5958 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
5959 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
5960 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
5961
889bf7c5 5962 * gdb.reverse/consecutive-reverse.exp:
22454424 5963 Replace uses of send_gdb / gdb_expect.
889bf7c5 5964 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
5965 Replace uses of send_gdb / gdb_expect.
5966
5967 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
5968 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
5969 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 5970 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
5971 Replace uses of send_gdb / gdb_expect.
5972 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
5973 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
5974 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
5975 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
5976 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
5977 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
5978 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
5979 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
5980 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
5981
59822010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 5983
22454424 5984 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5985
22454424 5986 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5987
22454424
MS
5988 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
5989 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
5990 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
5991 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
5992 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
5993 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
5994 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
5995 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
5996 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 5997
6e5f2c59
TT
59982010-05-25 Tom Tromey <tromey@redhat.com>
5999
6000 * gdb.base/macscp.exp: Add missing space after setup_kfail.
6001
bbc8b958
TT
60022010-05-25 Tom Tromey <tromey@redhat.com>
6003
6004 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
6005 argument order.
6006 * gdb.base/macscp.exp: Fix setup_kfail argument order.
6007 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
6008 order.
6009 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
6010 order.
6011 * gdb.base/call-sc.exp (setup_kfails): Remove.
6012 (setup_compiler_kfails): Remove.
6013 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
6014 argument order.
6015 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
6016 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
6017 (advancei): Fix setup_kfail argument order.
6018 * gdb.base/radix.exp: Fix setup_kfail argument order.
6019 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
6020 order.
6021 * gdb.base/structs.exp (setup_kfails): Remove.
6022 (setup_compiler_kfails): Fix setup_kfail argument order.
6023 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
6024 order.
6025 * gdb.java/jmain.exp: Fix setup_kfail argument order.
6026 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
6027 setup_kfail argument order.
6028 * gdb.cp/overload.exp: Fix setup_kfail argument order.
6029
83d1babf
TT
60302010-05-25 Tom Tromey <tromey@redhat.com>
6031
6032 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
6033
6acb16a2
MS
60342010-05-25 Michael Snyder <msnyder@vmware.com>
6035
6036 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
6037 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
6038 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
6039 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
6040 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
6041 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
6042 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
6043 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
6044 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
6045 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
6046 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
6047 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
6048 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
6049 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
6050 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
6051 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
6052 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
6053 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
6054 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
6055 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
6056 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
6057 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
6058 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
6059 * gdb.base/default.exp: Replace send_gdb with gdb_test.
6060 * gdb.base/define.exp: Replace send_gdb with gdb_test.
6061 * gdb.base/display.exp: Replace send_gdb with gdb_test.
6062 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
6063 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
6064 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
6065 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
6066 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
6067 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
6068 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
6069 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
6070 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
6071 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
6072 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
6073 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
6074 * gdb.base/help.exp: Replace send_gdb with gdb_test.
6075 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
6076 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
6077 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
6078 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
6079 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
6080 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
6081 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
6082 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 6083 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
6084
60852010-05-25 Doug Evans <dje@google.com>
6086
6087 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
6088 gdb.string_to_argv.
ad3986f0 6089
d3b1e874
TT
60902010-05-21 Tom Tromey <tromey@redhat.com>
6091
6092 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
6093 Call it.
6094 * gdb.dwarf2/pieces.S: Update.
6095 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
6096
cb826367
TT
60972010-05-21 Tom Tromey <tromey@redhat.com>
6098
6099 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
6100 Call it.
6101 * gdb.dwarf2/pieces.c (struct C): New.
6102 (f6): New function.
6103 * gdb.dwarf2/pieces.S: Replace.
6104
74de6778
TT
61052010-05-21 Tom Tromey <tromey@redhat.com>
6106
6107 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
6108 Call it.
6109
afd74c5f
TT
61102010-05-21 Tom Tromey <tromey@redhat.com>
6111
6112 * gdb.dwarf2.pieces.exp: New file.
6113 * gdb.dwarf2.pieces.S: New file.
6114 * gdb.dwarf2.pieces.c: New file.
6115
a7b75dfd 61162010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 6117 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
6118
6119 * lib/gdb.exp (gdb_test_no_output): New function.
6120 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
6121 when testing commands that should produce no output.
6122
c81c812a
JB
61232010-05-17 Joel Brobecker <brobecker@adacore.com>
6124
6125 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
6126 parameter that we want to watch being a constant.
6127
0cce5bd9
JB
61282010-05-17 Joel Brobecker <brobecker@adacore.com>
6129
6130 * gdb.ada/cond_lang: New testcase.
6131
47050449
JB
61322010-05-17 Joel Brobecker <brobecker@adacore.com>
6133
6134 * lib/gdb.exp (banned_variables): New variable/constant.
6135 (gdb_init): Add write trace on variables listed in banned_variables.
6136 (gdb_finish): Remove write traces on variables listed in
6137 banned_variables.
6138
77c01586
JB
61392010-05-17 Joel Brobecker <brobecker@adacore.com>
6140
6141 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
6142 * gdb.cp/koenig.exp: Likewise.
6143
88d4aea7
PM
61442010-05-14 Phil Muldoon <pmuldoon@redhat.com>
6145
889bf7c5 6146 PR python/11482
88d4aea7
PM
6147
6148 * gdb.python/py-value.exp (test_value_hash): New function.
6149
f5a010c0
PM
61502010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
6151
6152 PR exp/11530.
6153 * gdb.base/gdb11530.c: New file.
6154 * gdb.base/gdb11530.exp: New file.
6155
8ef4892f
JK
61562010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6157
6158 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
6159 * gdb.dwarf2/dw2-modula2-self-type.S: New.
6160
7322dca9
SW
61612010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
6162
6163 * gdb.cp/koenig.exp: New test.
6164 * gdb.cp/koenig.cc: New test program.
6165
02e7ea18
JB
61662010-05-05 Joel Brobecker <brobecker@adacore.com>
6167
6168 Remove the use of prms_id and bug_id throughout the testsuite.
6169
e1c34c5d
PM
61702010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
6171
6172 PR exp/11349.
6173 * testsuite/gdb.cp/ref-types.exp: Add test to examine
6174 use a reference local variable.
6175
8e1d0c49
JK
61762010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6177
6178 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
6179 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
6180 variable different_dir. Move debugfile into a full directory pathname
6181 under DIFFERENT_DIR.
6182 * lib/gdb.exp (separate_debug_filename): Remove.
6183 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
6184 variable debug_dir and mkdir of it. Update function comments.
6185
e66408ed
PA
61862010-04-29 Pedro Alves <pedro@codesourcery.com>
6187
6188 PR gdb/11557
6189
6190 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
6191 files.
6192
d7b32ed3
PM
61932010-04-29 Phil Muldoon <pmuldoon@redhat.com>
6194
889bf7c5 6195 * gdb.python/py-param.exp: New File.
d7b32ed3 6196
6aecb9c2
JB
61972010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
6198
6199 * gdb.base/default.exp: Fix "set language" test.
6200
bdf92a1c
PM
62012010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
6202
6203 PR breakpoints/11531.
6204 * gdb.base/gdb11531.c: New file.
6205 * gdb.base/gdb11531.exp: New file.
6206
3f172e24
TT
62072010-04-26 Tom Tromey <tromey@redhat.com>
6208
6209 * gdb.base/completion.exp: Add tests for completion and deprecated
6210 commands.
6211
64af4c92
JK
62122010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6213
6214 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
6215 (print /x char_array): Escape curly brackets.
6216
492928e4
JK
62172010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6218
6219 Fix deadlock on looped list of loaded shared objects.
6220 * gdb.base/solib-corrupted.exp: New.
6221
66d09542
DE
62222010-04-23 Doug Evans <dje@google.com>
6223
6224 * gdb.python/py-section-script.c: New file.
6225 * gdb.python/py-section-script.exp: New file.
6226 * gdb.python/py-section-script.py: New file.
6227
8bd10a10
CM
62282010-04-20 Chris Moller <cmoller@redhat.com>
6229
6230 PR 10179
6231
6232 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
6233 * gdb.base/pr10179-a.c:
6234 * gdb.base/pr10179-b.c:
6235 * gdb.base/pr10179.exp: New files.
6236
c0201579
JK
62372010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6238
6239 Fix crashes on dangling display expressions.
6240 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
6241 is SEP.
6242 (lib_flags): Remove the "debug" keyword.
6243 (libsepdebug): New variable for iterating new loop.
6244 (save_pf_prefix): New variable wrapping the loop.
6245 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
6246 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
6247
793b0ff8
PM
62482010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6249
6250 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
6251
097f51f7
PM
62522010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6253
6254 PR stabs/11479.
6255 * gdb.stabs/gdb11479.exp: New file.
6256 * gdb.stabs/gdb11479.c: New file.
6257
9a22f0d0
PM
62582010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6259
6260 * gdb.base/charset.c (Strin16, String32): New variables.
6261 * gdb.base/charset.exp (gdb_test): Test correct display
6262 of 16 or 32 bit strings.
6263
62642010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
6265
6266 PR 9167
6267 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
6268 * gdb.cp/pr9167.cc: New file.
6269 * gdb.cp/pr9167.exp: New file.
6270
6271
6e354e5e
PM
62722010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
6273
6274 PR pascal/11492.
6275 * gdb.pascal/gdb11492.pas: New file.
6276 * gdb.pascal/gdb11492.exp: New file.
6277
be942545
JB
62782010-04-20 Joel Brobecker <brobecker@adacore.com>
6279
1667e6e3 6280 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 6281
0c3acc09
JB
62822010-04-20 Joel Brobecker <brobecker@adacore.com>
6283
6284 * gdb.ada/dyn_loc: New testcase.
6285
ec31cde5
CM
62862010-04-20 Chris Moller <cmoller@redhat.com>
6287
6288 PR 10867
889bf7c5 6289
ec31cde5
CM
6290 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
6291 * gdb.cp/pr10687.cc: New file.
6292 * gdb.cp/pr10687.exp: New file.
6293
6294
ce4b0682
SDJ
62952010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6296 Sergio Durigan Junior <sergiodj@redhat.com>
6297
6298 * gdb.fortran/logical.exp: New testcase.
6299 * gdb.fortran/logical.f90: New file.
6300
3436961f
DE
63012010-04-19 Doug Evans <dje@google.com>
6302
6303 * gdb.base/help.exp (help source): Update expected output.
6304
4d836c09
JK
63052010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6306
6307 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
6308 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
6309 gdb_exit and return.
6310 (executable): New variable.
6311 (binfile): Use it.
6312
6149aea9
PA
63132010-04-19 Pedro Alves <pedro@codesourcery.com>
6314
6315 PR breakpoints/8554.
6316
6317 * gdb.trace/save-trace.exp: Adjust.
6318
ed41462c
L
63192010-04-17 H.J. Lu <hongjiu.lu@intel.com>
6320
6321 PR corefiles/11511
6322 * gdb.arch/system-gcore.exp: New.
6323 * gdb.arch/gcore.c: Likewise.
6324
3f7b2faa
DE
63252010-04-15 Doug Evans <dje@google.com>
6326
fa33c3cd
DE
6327 * gdb.python/py-progspace.c: New file.
6328 * gdb.python/py-progspace.exp: New file.
6329
3f7b2faa
DE
6330 * gdb.base/source.exp: Add tests for "source -s".
6331
79f283fe
PM
63322010-04-14 Phil Muldoon <pmuldoon@redhat.com>
6333
6334 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
6335 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
6336 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
6337 * gdb.python/py-mi.exp: New test for to_string returning None.
6338
fc8eb08a
PM
63392010-04-12 Phil Muldoon <pmuldoon@redhat.com>
6340
6341 * gdb.python/py-breakpoint.c: Make result global.
6342
26e197f6
JK
63432010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6344
6345 Fix non-GNU make compatibility.
6346 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
6347
adc36818
PM
63482010-04-09 Phil Muldoon <pmuldoon@redhat.com>
6349
6350 * gdb.python/py-breakpoint.exp: New File.
6351 * gdb.python/py-breakpoint.C: Ditto.
6352
64e17368
SS
63532010-04-08 Stan Shebs <stan@codesourcery.com>
6354
6355 * gdb.trace/actions.exp: Clear default-collect.
6356 * gdb.trace/save-trace.exp: Clear default-collect.
6357
fff5cc64
PM
63582010-04-08 Phil Muldoon <pmuldoon@redhat.com>
6359
6360 * gdb.python/py-value: Add null string variable.
6361 (test_lazy_string): Test zero length, NULL address lazy
6362 strings.
6363
a055a187
L
63642010-04-07 H.J. Lu <hongjiu.lu@intel.com>
6365
6366 * gdb.arch/i386-avx.c: New.
6367 * gdb.arch/i386-avx.exp: Likewise.
6368
6369 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
6370
96e39866
DE
63712010-04-06 Doug Evans <dje@google.com>
6372
6373 * gdb.base/source-test.gdb: New file.
6374 * gdb.base/source.exp: Test source -v.
6375
5984a431
UW
63762010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6377
6378 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
6379
ec8a089a
PM
63802010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
6381
6382 * gdb.stabs/aout.sed: Convert all backslash to double backslash
6383 within one line, unless it is followed by a double quote.
6384 * gdb.stabs/hppa.sed: Idem.
6385 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
6386 * gdb.stabs/weird.exp: Check for correct parsing of
6387 char and string constants.
ec8a089a
PM
6388 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
6389 in .stabs to .stabx substitution.
6390
fce3c1f0
SS
63912010-04-05 Stan Shebs <stan@codesourcery.com>
6392
6393 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
6394 constant global.
6395 * gdb.trace/tfile.exp: Try to print them.
6396
d77f58be
SS
63972010-04-04 Stan Shebs <stan@codesourcery.com>
6398
6399 * gdb.base/completion.exp: Update for new "info watchpoints".
6400 * gdb.base/default.exp: Ditto.
6401 * gdb.base/help.exp: Ditto.
6402 * gdb.base/watchpoint.exp: Ditto.
6403 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 6404
af54718e
SS
64052010-04-04 Stan Shebs <stan@codesourcery.com>
6406
6407 * gdb.trace/tfile.exp: Sharpen tfind test.
6408
74d1f91e
JK
64092010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6410
6411 * gdb.base/break-entry.exp: New.
6412
eb8e76db 64132010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 6414 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
6415
6416 * gdb.reverse/i386-sse-reverse.exp: New file.
6417 * gdb.reverse/i386-sse-reverse.c: New file.
6418
bf65cad8
PA
64192010-04-02 Pedro Alves <pedro@codesourcery.com>
6420
6421 * gdb.trace/tfind.exp: Adjust expected disassembly output.
6422
fff87407
SS
64232010-04-01 Stan Shebs <stan@codesourcery.com>
6424
6425 * gdb.trace/actions.exp: Tweak expected output.
6426 * gdb.trace/while-stepping.exp: Tweak expected output.
6427
fe01d668
L
64282010-04-01 H.J. Lu <hongjiu.lu@intel.com>
6429
6430 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
6431
86b17b60
PA
64322010-04-01 Pedro Alves <pedro@codesourcery.com>
6433
6434 * gdb.base/commands.exp: Adjust.
6435 * gdb.cp/extern-c.exp: Adjust.
6436
2c58c0a9
PA
64372010-04-01 Pedro Alves <pedro@codesourcery.com>
6438
6439 * gdb.trace/collection.c (local_test_func): Define a local struct,
6440 and instanciate it.
6441
0db9b91c
PA
64422010-04-01 Pedro Alves <pedro@codesourcery.com>
6443
6444 * gdb.trace/collection.exp (gdb_collect_args_test)
6445 (gdb_collect_argarray_test): XFAIL the tests that assume the
6446 argarray argument's elements are collected.
6447
8072405b
JK
64482010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6449
6450 * gdb.dwarf2/dw2-bad-parameter-type.exp,
6451 gdb.dwarf2/dw2-bad-parameter-type.S: New.
6452
8bf6485c
SS
64532010-03-31 Stan Shebs <stan@codesourcery.com>
6454
6455 * gdb.trace/save-trace.exp: Test save/restore of default-collect
6456 and tracepoint conditionals.
6457 (gdb_verify_tracepoints): Delete unused return.
6458
fd7f724a
KS
64592010-03-26 Keith Seitz <keiths@redhat.com>
6460
6461 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
6462 appear in the output before main.
6463 Remove KFAIL for gdb/2215 aka bz 9320.
6464
8d9e7719
DE
64652010-03-30 Doug Evans <dje@google.com>
6466
0906dd0b
DE
6467 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
6468 by dejagnu.
6469 * gdb.arch/amd64-dword.exp: Ditto.
6470
8d9e7719
DE
6471 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
6472 match.
6473 (break printf): Ditto.
6474
1da644f0
SW
64752010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
6476
6477 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
6478 gcc < 4.4.
6479 * gdb.cp/shadow.exp: Ditto.
6480
a8121990
PA
64812010-03-29 Pedro Alves <pedro@codesourcery.com>
6482
6483 * gdb.trace/collection.exp (run_trace_experiment): Make sure
6484 "tstart" is silent.
6485
6e79d367
PA
64862010-03-29 Pedro Alves <pedro@codesourcery.com>
6487
6488 * gdb.trace/collection.exp (executable): New.
6489 (binfile): Use it.
6490 (fpreg, spreg, pcreg): New.
6491 (test_register): Use gdb_test_multiple. Pass /x to print.
6492 (prepare_for_trace_test): New.
6493 (run_trace_experiment): Use "continue", not gdb_run_cmd.
6494 (gdb_collect_args_test, gdb_collect_argstruct_test)
6495 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
6496 prepare_for_trace_test.
6497 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
6498 fpreg, spreg and pcreg.
6499 (gdb_collect_expression_test, gdb_collect_globals_test): Use
6500 prepare_for_trace_test.
6501 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
6502 try to detect tracing support here. Don't set breakpoints at
6503 `begin' or `end' here.
6504 <global scope>: Use clean_restart. Run to main before checking
6505 for tracing support. Check for for tracing support here.
6506
09248348
JK
65072010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6508
6509 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
6510 " as $displacement" to "seen displacement message".
6511
d350db38
PA
65122010-03-28 Pedro Alves <pedro@codesourcery.com>
6513
6514 * gdb.trace/while-dyn.exp (executable): New variable.
6515 (binfile): Use it.
6516 (test_while_stepping): New function. Move most tests here. Call
6517 it once for each of the while-stepping, stepping and ws aliases.
6518
907af001
UW
65192010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6520
6521 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
6522 that do not provide the tagless_struct type name at all.
6523 (test_print_anon_union): Do not check value of uninitialized
6524 union member. Do not use cp_test_ptype_class, so we can accept
6525 "long" as well as "long int".
6526
610197fd
PA
65272010-03-26 Pedro Alves <pedro@codesourcery.com>
6528
6529 * gdb.trace/tfile.c (tohex, bin2hex): New.
6530 (write_error_trace_file): Hexify error description.
6531
6c28cbf2
SS
65322010-03-25 Stan Shebs <stan@codesourcery.com>
6533
6534 * gdb.trace/tfile.c: Generate an additional trace file, improve
6535 portability.
6536 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
6537 files in a better way.
6538
e62b8c7e
KS
65392010-03-25 Keith Seitz <keiths@redhat.com>
6540
6541 * gdb.java/jprint.exp: XFAIL printing of static class members
6542 because of GCC debuginfo problem.
6543
82ccf5a5
JK
65442010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6545
6546 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
6547
293e2f9e
DJ
65482010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6549
6550 * gdb.base/completion.exp: Allow long instead of long int.
6551 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
6552 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
6553 variable p.
6554 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
6555 * gdb.base/pointers.exp: Allow long instead of long int.
6556 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
6557 * gdb.base/step-line.exp: Allow a directory before the source file name.
6558
95a42b64
TT
65592010-03-24 Tom Tromey <tromey@redhat.com>
6560
6561 PR breakpoints/9352:
6562 * gdb.base/default.exp: Update.
6563 * gdb.base/commands.exp: Update.
6564 * gdb.cp/extern-c.exp: Test setting commands on multiple
6565 breakpoints at once.
6566
2390201f
DJ
65672010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6568
6569 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
6570 if gdb,nosignals.
6571 * gdb.base/watchpoints.c: Do not include unnecessary headers.
6572 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
6573 exited".
6574
8c9a6790
SS
65752010-03-24 Stan Shebs <stan@codesourcery.com>
6576
6577 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
6578
a6c727b2
DJ
65792010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6580
6581 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
6582 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
6583 argument. Handle "short" and "long".
6584 (Top level): Pass overprototyped output for old_fptr and xptr.
6585
4dfd5423
PA
65862010-03-23 Pedro Alves <pedro@codesourcery.com>
6587
6588 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
6589 format strings and add casts to avoid compiler warnings.
6590
65912010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
6592
6593 * lib/trace-support.exp (gdb_trace_setactions):
6594 Don't expect whitespace after ">" prompt.
6595 * gdb.trace/actions.exp: Adjust for output changes.
6596 * gdb.trace/while-stepping.exp: Likewise.
6597
c847d045
JK
65982010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6599
6600 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
6601 and r157645).
6602
5f717f1d
JK
66032010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6604
6605 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
6606 New.
6607
7d6d51d5
DJ
66082010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
6609
6610 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
6611 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
6612
3b11a015
SS
66132010-03-19 Stan Shebs <stan@codesourcery.com>
6614
6615 * gdb.trace/ax.exp: New file.
6616
d7d158ed
DE
66172010-03-19 Doug Evans <dje@google.com>
6618
6bb85cd1
DE
6619 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
6620 output from gcc.
6621
d7d158ed
DE
6622 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
6623 named /usr/sbin/prelink<foo>.
6624
4daf5ac0
SS
66252010-03-18 Stan Shebs <stan@codesourcery.com>
6626
6627 * gdb.trace/circ.exp: Test circular-trace-buffer.
6628 * gdb.trace/tfile.exp: Update tstatus test.
6629
e8d05480
JB
66302010-03-18 Joel Brobecker <brobecker@adacore.com>
6631
6632 * gdb.dwarf2/dw2-anonymous-func.S: New file.
6633 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
6634
441b986a
UW
66352010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6636
6637 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
6638
4247603b
PA
66392010-03-18 Pedro Alves <pedro@codesourcery.com>
6640
6641 * gdb.base/default.exp: Adjust the expected output of the finish
6642 and until commands when the inferior is not being run.
6643
13387711
SW
66442010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
6645
6646 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
6647 * gdb.cp/nsusing.exp: Ditto.
6648
6e31430b
TT
66492010-03-15 Tom Tromey <tromey@redhat.com>
6650
6651 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
6652 * gdb.cp/userdef.cc (operator==): New function.
6653 (main): New locals mem1, mem2.
6654
e2d69cb5
JZ
66552010-03-15 Jie Zhang <jie@codesourcery.com>
6656
6657 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
6658 Declare and use new loadtimeout variable.
6659
f572f0a9
DJ
66602010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
6661
6662 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
6663 Use gdb_load later.
6664
51f4c0b0
PA
66652010-03-14 Pedro Alves <pedro@codesourcery.com>
6666
6667 * gdb.base/solib-disc.c (main): Make format of fprintf a string
6668 literal. Add missing endlines to prints to stderr.
6669
1c809c68
TT
66702010-03-12 Tom Tromey <tromey@redhat.com>
6671
6672 PR c++/9708:
6673 * gdb.cp/m-static.exp: Add regression test.
6674 * gdb.cp/m-static.cc (method): New method.
6675 (main): Call it.
6676
00ae8fef
SW
66772010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
6678
6679 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
6680 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
6681
759f0f0b
PA
66822010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6683
21e24d21
PA
6684 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
6685
66862010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6687
759f0f0b
PA
6688 * lib/gdb.exp (skip_stl_tests): New.
6689 (gdb_compile): Symbian needs -ldl.
6690 (shlib_target_file): New.
6691 (shlib_symbol_file): New.
6692 (gdb_load_shlibs): Use shlib_target_file.
6693 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
6694 * gdb.cp/exception.exp: Use skip_stl_tests.
6695 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
6696 * gdb.cp/try_catch.exp: Use skip_stl_tests.
6697 * gdb.cp/mb-templates.exp: Ditto.
6698 * gdb.base/commands.exp: Relax regexes.
6699 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
6700 shlib_target_file and shlib_symbol_file.
6701 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
6702 sections.
6703 * gdb.base/ending-run.exp: Accept E32Main for symbian.
6704 * gdb.base/solib-disc.exp: Use
6705 shlib_target_file and shlib_symbol_file.
6706 * gdb.base/unload.exp: Don't skip on symbian. Use
6707 shlib_target_file and shlib_symbol_file.
6708 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
6709
6a8f2671 67102010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 6711
6a8f2671
PA
6712 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
6713 * gdb.trace/report.exp: Adjust for x86 and x86_64.
6714 Issue a tfind end before looking for a tracepoint frame.
6715 * gdb.trace/tfind.exp: Adjust tstatus output.
6716 Adjust disassembly output.
6717 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
6718
ccf26247
JK
67192010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6720
6721 * gdb.base/break-interp.exp: Create new displacement parameter value
6722 for the test_ld calls.
6723 (reach): New parameter displacement, verify its content. New push of
6724 pf_prefix "reach-$func:". Import global expect_out.
6725 (test_core): New parameter displacement, verify its content. New push
6726 of pf_prefix "core:". New command "set verbose on". Import global
6727 expect_out.
6728 (test_attach): New parameter displacement, verify its content. New
6729 push of pf_prefix "attach:". New command "set verbose on". Import
6730 global expect_out.
6731 (test_ld): New parameter displacement, pass it to the reach, test_core
6732 and test_attach calls and verify its content in the "ld.so exit" test.
6733 * gdb.base/prelink.exp: Remove gdb_exit and final return.
6734 (prelink): Update expected text, use gdb_test.
6735
e469c7fb
DE
67362010-03-10 Doug Evans <dje@google.com>
6737
6738 * gdb.base/checkpoint.exp: Fix comment.
6739 Lengthen timeout while doing >600 checkpoints test.
6740 Rename duplicate "kill all one" test to keep test names unique.
6741
60e1c644
PA
67422010-03-10 Pedro Alves <pedro@codesourcery.com>
6743
6744 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
6745
cec808ec
KS
67462010-03-08 Keith Seitz <keiths@redhat.com>
6747
889bf7c5
PA
6748 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
6749 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
6750 (dm_type_long): New function.
6751 (dm_type_unsigned_short): New function.
6752 (dm_type_unsigned_long): New function.
6753 (myint): New typedef.
6754 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
6755 long, unsigned shor and long, operator char*, and typedef.
6756 (test_lookup_operator_functions): Add operator char* test.
6757 (test_paddr_operator_functions): Likewise.
6758 (test_paddr_overloaded_functions): Use probe values for
6759 short, long, and unsigned short and long.
6760 (test_paddr_hairy_functions): If the demangler probe detected
6761 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
6762 demangler.
6763 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
6764 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
6765 and "print null_pmf".
6766 Add test "ptype a.*pmf".
6767 * gdb.cp/overload.exp: Allow optional "int" to appear with
6768 "short" and "long".
6769 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
6770 long expect value for men_overload1arg.
6771 Allow "int" to appear with "short" and "long".
6772 When testing "info break", add argument for main (void).
6773 Also allow "int" to appear with "short" and "long".
6774 Ditto with "unsigned" and "long long".
cec808ec
KS
6775 * gdb.java/jmain.exp: Do not enclose methods names in single
6776 quotes.
6777 * gdb.java/jmisc.exp: Likewise.
6778 * gdb.java/jprint.exp: Likewise.
6779 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
6780
6781 From Jan Kratochvil <jan.kratochvil@redhat.com>:
6782 * gdb.cp/exception.exp (backtrace after first throw)
6783 (backtrace after second throw): Allow a namespace before __cxa_throw.
6784 (backtrace after first catch, backtrace after second catch): Allow
6785 a namespace before __cxa_begin_catch.
6786
6787 * gdb.cp/cpexprs.exp: New file.
6788 * gdb.cp/cpexprs.cc: New file.
6789
6790 From Daniel Jacobowitz <dan@codesourcery.com>
6791 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
6792 to use string_to_regexp.
6793 (ctor, dtor): New functions. Use them to match constructor
6794 and destructor function types.
6795 (Top level): Use runto_main.
6796
f870a310
TT
67972010-03-05 Tom Tromey <tromey@redhat.com>
6798
6799 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
6800 gdb.target_charset.
6801 (pp_ns.to_string): Likewise.
6802
0c199f28
KS
68032010-03-04 Keith Seitz <keiths@redhat.com>
6804
6805 * gdb.cp/overload.exp: Test that the filename portion of a linespec
6806 can be quoted. Test that both the filename and function/line
6807 portions can be quoted at the same time.
6808
c7437ca6
PA
68092010-03-04 Pedro Alves <pedro@codesourcery.com>
6810
6811 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
6812
b111b805
DE
68132010-03-03 Doug Evans <dje@google.com>
6814
24486cb7
DE
6815 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
6816 libc contains libpthread.
6817
b111b805
DE
6818 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
6819 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
6820 of gdb_compile. Add another pattern to match android backtrace.
6821
a0e0ef55
TT
68222010-03-03 Tom Tromey <tromey@redhat.com>
6823
6824 PR gdb/11345:
6825 * gdb.base/printcmds.exp (test_printf): Add test.
6826
1ba53b71
L
68272010-03-02 H.J. Lu <hongjiu.lu@intel.com>
6828
6829 * gdb.arch/amd64-byte.exp: New.
6830 * gdb.arch/amd64-dword.exp: Likewise.
6831 * gdb.arch/amd64-pseudo.c: Likewise.
6832 * gdb.arch/amd64-word.exp: Likewise.
6833 * gdb.arch/i386-byte.exp: Likewise.
6834 * gdb.arch/i386-pseudo.c: Likewise.
6835 * gdb.arch/i386-word.exp: Likewise.
6836
f5dff777
DJ
68372010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
6838
6839 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
6840 types. Add structreg, bitfields, and flags registers.
6841 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
6842 registers.
6843
90884b2b
L
68442010-03-01 H.J. Lu <hongjiu.lu@intel.com>
6845
6846 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
6847 (load_description): Set architecture if defined.
6848
dc00d89f
PM
68492010-02-28 Phil Muldoon <pmuldoon@redhat.com>
6850
6851 * gdb.python/py-frame.exp: Add read_var block tests.
6852 * gdb.python/py-frame.c (block): New function.
6853
0e095b7e
JK
68542010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6855 Daniel Jacobowitz <dan@codesourcery.com>
6856
6857 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
6858
624f1a65
DM
68592010-02-25 David S. Miller <davem@davemloft.net>
6860
6861 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
6862 fix logic for setting all_syscalls_numbers.
6863
f3e9a817
PM
68642010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6865
6866 * Makefile.in: Add py-block and py-symbol.
6867 * gdb.python/py-symbol.exp: New File.
6868 * gdb.python/py-symtab.exp: New File.
6869 * gdb.python/py-block.exp: New File.
6870 * gdb.python/py-symbol.c: New File.
6871 * gdb.python/py-block.c: New File.
6872
f6bbabf0
PM
68732010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6874
6875 PR python/11314
6876 * lib/gdb.exp (skip_python_tests): New function.
6877 * gdb.python/py-cmd.exp: Use skip_python_tests.
6878 * gdb.python/py-frame.exp: Likewise.
6879 * gdb.python/py-function.exp: Likewise.
6880 * gdb.python/py-prettyprint.exp: Likewise.
6881 * gdb.python/py-template.exp: Likewise.
6882 * gdb.python/py-type.exp: Likewise.
6883 * gdb.python/py-value.exp: Likewise.
6884
85d721b8
PA
68852010-02-22 Pedro Alves <pedro@codesourcery.com>
6886
6887 PR9605
6888
6889 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
6890
48e32051
TT
68912010-02-19 Tom Tromey <tromey@redhat.com>
6892
6893 PR c++/8693, PR c++/9496:
6894 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
6895 regression tests.
6896
ac9c0048
JK
68972010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6898
6899 Fix compatibility with m68k as.
6900 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
6901 Use only /* comments */.
6902
57bb97a4
UW
69032010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6904
6905 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
6906 * configure: Regenerate.
6907
7d1bf85c
DJ
69082010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
6909
6910 * gdb.python/py-type.exp: Check for Python support.
6911
061b5285
PA
69122010-02-17 Pedro Alves <pedro@codesourcery.com>
6913
6914 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
6915 `regsub' syntax available.
6916
f8a8bc2c
PA
69172010-02-17 Pedro Alves <pedro@codesourcery.com>
6918
6919 * gdb.base/shmain.c (main): Remove printf call.
6920 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
6921 * gdb.base/unload.c (main): Make format of fprintf a string
6922 literal. Add missing endlines to prints to stderr.
6923 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
6924
6f451e5e
TT
69252010-02-17 Tom Tromey <tromey@redhat.com>
6926
6927 * gdb.java/jprint.java (jprint.props): New field.
6928 * gdb.java/jprint.exp (set_lang_java): Add regression test.
6929
12d79008
PA
69302010-02-17 Pedro Alves <pedro@codesourcery.com>
6931
ef801a0e 6932 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
6933 available.
6934
d252f7e5
DJ
69352010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6936
6937 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
6938 creation to support remote host testing.
6939
67bdab6c
DJ
69402010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6941
6942 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
6943 Recognize "command not found".
6944
bb391223
DJ
69452010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6946
6947 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
6948 single-stepping.
6949
70362913
DJ
69502010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6951
6952 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
6953 if arguments are not supported.
6954
493f3c00
DJ
69552010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6956
6957 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
6958 be const or non-const.
6959
8034c749
DJ
69602010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6961
6962 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
6963 mi_send_resuming_command to send -exec-continue.
6964
791dfb64
DJ
69652010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6966
6967 * gdb.base/list.exp (test_list_filename_and_function): Add test
6968 with single quotes.
6969 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
6970 matching.
6971 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
6972 Add KFAIL'd tests for PR gdb/11289.
6973
7c5fe868
DJ
69742010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6975
6976 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
6977
fdc498b8
DJ
69782010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6979
6980 * gdb.base/comp-dir/subdir/dummy.txt: New file.
6981 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
6982 a temporary directory.
6983
b519e2a6
DJ
69842010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6985
6986 * gdb.base/charset.exp: Use a single regular expression to match
6987 show host-charset and show target-charset output.
6988
74164c56
JK
69892010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6990
6991 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
6992 "Illegal process-id" expect string more exact.
6993 (attach to digits-starting nonsense is prohibited): New.
6994
701ed6dc
JK
69952010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6996
6997 * gdb.base/prelink.exp (set verbose on): New.
6998
889bf7c5 69992010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
7000
7001 * mi-reverse.exp: New file. Test for reverse option to the
7002 following MI commands: exec-continue, exec-finish, exec-next,
7003 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 7004
dadf0e9c
JB
70052010-02-09 Joel Brobecker <brobecker@adacore.com>
7006
7007 * gdb.ada/ptype_tagged_param: New testcase.
7008
714f19d5
TT
70092010-02-08 Tom Tromey <tromey@redhat.com>
7010
7011 PR c++/8017:
7012 * gdb.cp/overload.exp: Add tests.
7013 * gdb.cp/overload.cc (struct K): New.
7014 (namespace N): New.
7015 (main): Call new functions.
7016 (K::staticoverload): Define.
7017
889bf7c5 70182010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
7019
7020 PR gdb/10728
7021 * gdb.cp/pr10728-x.h: New file.
7022 * gdb.cp/pr10728-x.cc: New file.
7023 * gdb.cp/pr10728-y.cc: New file.
7024 * gdb.cp/pr10728.exp: New file.
7025 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
7026
889bf7c5 70272010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
7028
7029 PR gdb/9067
7030 * gdb.cp/pr9067.exp: New
7031 * gdb.cp/pr9067.cc: New
7032 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
7033
7b356089
JB
70342010-02-08 Joel Brobecker <brobecker@adacore.com>
7035
7036 * lib/gdb.exp (gdb_test_timeout): New global variable.
7037 Set it to timeout if not already set.
7038 (gdb_init): Reset the value of timeout to gdb_test_timeout.
7039
1be00882
DE
70402010-02-05 Doug Evans <dje@google.com>
7041
7042 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
7043 user.
7044
82856980
SW
70452010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
7046
7047 PR c++/7935:
7048 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
7049
1a334831
TT
70502010-02-04 Tom Tromey <tromey@redhat.com>
7051
7052 * gdb.cp/virtbase.exp: Make test case names unique.
7053
9c3c02fd
TT
70542010-02-02 Tom Tromey <tromey@redhat.com>
7055
7056 * gdb.cp/virtbase.exp: Add regression tests.
7057 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
7058 (main): Instantiate RHC.
7059
0cc2414c
TT
70602010-02-02 Tom Tromey <tromey@redhat.com>
7061
7062 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
7063 type-printing change.
7064
edf3d5f3
TT
70652010-02-02 Tom Tromey <tromey@redhat.com>
7066
7067 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
7068 * gdb.cp/virtbase.cc: New file.
7069 * gdb.cp/virtbase.exp: New file.
7070 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
7071
e4b7f41c
JK
70722010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7073
7074 PR libc/11214:
7075 * gdb.threads/current-lwp-dead.c: Include features.h.
7076 (HAS_NOMMU): New.
7077 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
7078
b381ea14
JK
70792010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7080
7081 * gdb.base/symbol-without-target_section.exp,
7082 gdb.base/symbol-without-target_section.c: New.
7083
c593ac0e
DJ
70842010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7085
7086 * gdb.base/bigcore.exp: Reset increased timeout.
7087 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
7088
db25f29d
DJ
70892010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7090
7091 * gdb.base/gcore.exp (capture_command_output): Use
7092 gdb_test_multiple.
7093
f9d67f43
DJ
70942010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7095
7096 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
7097 * gdb.arch/thumb2-it.exp (test_it_break): New function.
7098 (Top level): Call it.
7099
177321bd
DJ
71002010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7101
7102 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
7103
97f2ed50
DJ
71042010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7105
7106 * gdb.base/call-strs.exp, gdb.base/default.exp,
7107 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
7108 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
7109 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
7110 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
7111 gdb.base/watchpoint-solib.exp: Save and restore timeout.
7112 * gdb.base/ending-run.exp: Correct restore of timeout.
7113 * gdb.base/page.exp: Remove unnecessary timeout setting.
7114
e4e2711a
JB
71152010-01-29 Joel Brobecker <brobecker@adacore.com>
7116
7117 * gdb.ada/rec_return: New testcase.
7118
ba581dc1
JB
71192010-01-29 Joel Brobecker <brobecker@adacore.com>
7120
7121 * gdb.ada/call_pn: New testcase.
7122
4ea95be9
DJ
71232010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
7124
7125 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
7126 (Top level): Use it to resume.
7127 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
7128 the Thumb mode displaced stepping error as unsupported.
7129
df83a9bf
SW
71302010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
7131
889bf7c5
PA
7132 * gdb.cp/nsusing.exp: Added more tests.
7133 * gdb.cp/nsrecurs.exp: Ditto.
7134 * gdb.cp/nsusing.cc: Added test functions.
7135 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 7136
40b27cdc
JK
71372010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7138
7139 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
7140 absolute directory pathnames in gdb.sum file.
7141
de958931
SW
71422010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
7143
7144 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
7145 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
7146
708ead4e
TT
71472010-01-26 Tom Tromey <tromey@redhat.com>
7148
7149 PR exp/7643:
7150 * gdb.base/printcmds.exp (test_print_string_constants): Remove
7151 setup_kfail.
7152
b14e635e
SW
71532010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
7154
7155 * gdb.cp/nsrecurs.exp: New test.
7156 * gdb.cp/nsrecurs.cc: New test program.
7157 * gdb.cp/nsstress.exp: New test.
7158 * gdb.cp/nsstress.cc: New test program.
7159 * gdb.cp/nsdecl.exp: New test.
7160 * gdb.cp/nsdecl.cc: New test program.
7161
8540c487
SW
71622010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
7163
7164 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
7165 imported into file scope.
7166 Marked test as xfail.
7167 * gdb.cp/namespace-using.cc (marker5): New function.
7168 * gdb.cp/shadow.exp: New test.
7169 * gdb.cp/shadow.cc: New test program.
7170 * gdb.cp/nsimport.exp: New test.
7171 * gdb.cp/nsimport.cc: New test program.
7172
421d5d99
TT
71732010-01-25 Tom Tromey <tromey@redhat.com>
7174
7175 PR gdb/11049:
7176 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
7177 with "set print null-stop on".
7178
691f8dc1
JK
71792010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7180
7181 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
7182 Adjust it for DISASSEMBLY_OMIT_FNAME.
7183
0b92b5bb
TT
71842010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7185
7186 PR symtab/11199:
7187 * gdb.dwarf2/member-ptr-forwardref.exp,
7188 gdb.dwarf2/member-ptr-forwardref.S: New.
7189
23787403
JK
71902010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7191
7192 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
7193 (thread1_func): Protect thread1_tid with thread1_tid_cond by
7194 thread1_tid_mutex. Remove gdbstop_mutex handling.
7195 (thread2_func): Protect thread2_tid with thread2_tid_cond by
7196 thread2_tid_mutex. Remove gdbstop_mutex handling.
7197 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
7198 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
7199 pthread_cond_wait conditionalizations by while loops.
7200
b966cb8a
TT
72012010-01-20 Tom Tromey <tromey@redhat.com>
7202
7203 PR backtrace/10770:
7204 * gdb.dwarf2/pr10770.exp: New file.
7205 * gdb.dwarf2/pr10770.c: New file.
7206 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
7207
fcae584b
VP
72082010-01-20 Vladimir Prus <vladimir@codesourcery.com>
7209
7210 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
7211 that target was removed, and the test always runs native anyway.
7212
a0f49112
JK
72132010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7214
7215 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
7216 gdb.base/watchpoint-cond-gone-stripped.c: New.
7217
ceeb3d5a
TT
72182010-01-19 Tom Tromey <tromey@redhat.com>
7219
7220 PR c++/8000:
7221 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
7222 existing tests.
7223 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
7224 (main): Use AAA::SomeEnum.
7225
dd322c54
JK
72262010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7227
7228 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
7229 (test_ignore_count): Declare line_callme_body global.
7230 (run to breakpoint with ignore count): Use line_callme_body.
7231 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
7232 (set line_main_hello, set line_main_return): Reindent.
7233 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
7234 New.
7235 (continue to callee4): Use line_callee4_body.
7236 (check *stopped from CLI command): Use line_callee4_next.
7237 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
7238 (set line_main_hello, set line_main_return): Reindent.
7239 (set line_callee4_head, set line_callee4_body): New.
7240 (continue to callee4): Use line_callee4_body.
7241
4e8f195d
TT
72422010-01-18 Tom Tromey <tromey@redhat.com>
7243
7244 PR c++/9680:
7245 * gdb.cp/casts.cc: Add new classes and variables.
7246 * gdb.cp/casts.exp: Test new operators.
7247
9e14a9ba
JB
72482010-01-18 Tom Tromey <tromey@redhat.com>
7249 Thiago Jung Bauermann <bauerman@br.ibm.com>
7250
7251 * gdb.python/source2.py: New file.
7252 * gdb.python/source1: New file.
7253 * gdb.python/python.exp: Test "source" command.
7254
00bf0b85
SS
72552010-01-15 Stan Shebs <stan@codesourcery.com>
7256
7257 * gdb.trace/tfile.c: New file.
7258 * gdb.trace/tfile.exp: New file.
889bf7c5 7259
55235ad7
JK
72602010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7261
7262 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
7263
9f2982ff
JK
72642010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7265
7266 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
7267
bbfba9ed
JK
72682010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7269
7270 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
7271 (libfunc): New parameter action. Implement also selectable "sleep".
7272 * gdb.base/break-interp-main.c: Include assert.h.
7273 (libfunc): New parameter action.
7274 (main): New parameters argc and argv. Assert argc. Pass argv.
7275 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
7276 (test_attach): New proc.
7277 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
7278 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
7279
61f0d762
JK
72802010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7281
7282 * gdb.base/break-interp.exp (test_core): New proc.
7283 (test_ld): Call it.
7284
06a6f270
JK
72852010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7286
7287 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
7288 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
7289 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
7290 and gdb_compile_shlib. Use new -Wl compiler options.
7291 (dl bt, main bt): New tests.
7292
51bee8e9
JK
72932010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7294
7295 Support PIEs with no symfile_objfile.
7296 * gdb.base/break-interp.exp: New argument at the test_ld calls.
7297 (test_ld): New parameter trynosym.
7298 (test_ld <$trynosym>): New block.
7299
b8040f19
JK
73002010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7301
7302 * gdb.base/break-interp.exp: New file.
7303
be759fcf
PM
73042010-01-13 Phil Muldoon <pmuldoon@redhat.com>
7305
7306 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
7307 * gdb.python/py-prettyprint.py (pp_ls): New printer.
7308 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
7309 test.
7310 * gdb.python/py-prettyprint.c: Define lazystring test structure.
7311 * gdb.python/py-mi.exp: Add lazy string test.
7312
dc146f7c
VP
73132010-01-13 Vladimir Prus <vladimir@codesourcery.com>
7314
7315 * lib/mi-support.exp (mi_check_thread_states): Handle
7316 core number in thread listing.
7317
b4ba55a1
JB
73182010-01-12 Joel Brobecker <brobecker@adacore.com>
7319
7320 * gdb.base/maint.exp: Adjust the expected output for the
7321 "maint print type" test. Use gdb_test_multiple instead of
7322 gdb_sent/gdb_expect.
7323
08e24bd4
DE
73242010-01-11 Doug Evans <dje@google.com>
7325
6496a609
DE
7326 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
7327 from gdbserver_download. All callers updated.
7328
08e24bd4
DE
7329 * gdb.server/ext-run.exp: "info os processes" requires xml support.
7330
b5cfddf5
JK
73312010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7332
7333 Implement binary numbers parsing.
7334 * gdb.base/printcmds.exp (test_integer_literals_accepted)
7335 (test_integer_literals_rejected): New binary tests.
7336
3725885a
RW
73372010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7338
7339 * gdb.cell/configure: Regenerate.
7340
37aeb5df
JK
73412010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7342
7343 * gdb.base/corefile.exp: Move the core finding block out and call it as
7344 core_find, new variable $corefile, replace corefile by $corefile and
7345 [file tail $corefile] for usage vs. test names resp.
7346 * lib/gdb.exp (core_find): Move it as a new function here. New
7347 parameter binfile and deletefiles. New variable $destcore. Pre-delete
7348 $destcore. Return "" on error.
7349
d521f563
JK
73502010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7351
7352 Workaround PR binutils/10802.
7353 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
7354 (twice).
7355
28f24826
DJ
73562010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7357
7358 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
7359
2de75e71
JB
73602010-01-08 Joel Brobecker <brobecker@adacore.com>
7361
7362 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
7363 call, to avoid interruption.
7364
fe00719b 73652010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
7366
7367 * gdb.stabs/weird.def (args93): New.
7368
d0ef5df8
DE
73692010-01-07 Doug Evans <dje@google.com>
7370
7371 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
7372
3a08d52f
TT
73732010-01-07 Tom Tromey <tromey@redhat.com>
7374
7375 * gdb.base/source.exp: Use correct line number.
7376
7a697b8d
SS
73772010-01-05 Stan Shebs <stan@codesourcery.com>
7378
7379 * gdb.trace/tracecmd.exp: Test ftrace.
7380
7803799a
UW
73812010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7382
7383 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
7384
c54eabfa
JK
73852010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7386
7387 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
7388 "uint_for_mi_testing".
7389
02e7ef19
JB
73902010-01-01 Joel Brobecker <brobecker@adacore.com>
7391
7392 Test indented comment in file being sourced.
7393 * gdb.base/commands.exp: Test indented comment in file being sourced.
7394
abd775ce
JB
73952010-01-01 Joel Brobecker <brobecker@adacore.com>
7396
7397 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
7398 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
7399 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
7400 notice.
7401
79b55b82
JB
74022010-01-01 Joel Brobecker <brobecker@adacore.com>
7403
7404 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
7405 notice.
7406
8997583e
JK
74072010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7408
7409 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
7410 missing $after_stopped and comma (,) expectation.
7411
6da95a67
SS
74122009-12-31 Stan Shebs <stan@codesourcery.com>
7413
7414 * gdb.trace/actions.exp: Test teval action.
889bf7c5 7415
218d2fc6
TJB
74162009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7417
7418 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
7419 (top level): Call test_watchpoint_in_big_blob.
7420 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
7421 watchpoints.
7422 (func3): Write to buf.
7423
236f1d4d
SS
74242009-12-29 Stan Shebs <stan@codesourcery.com>
7425
7426 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 7427
f61e138d
SS
74282009-12-28 Stan Shebs <stan@codesourcery.com>
7429
7430 * gdb.trace/tsv.exp: New file.
7431 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 7432
0219b378
DJ
74332009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
7434
7435 * gdb.base/find.c (main): Reference search buffers.
7436 * gdb.base/included.c (main): Reference integer.
7437 * gdb.base/ptype.c (charfoo): Declare.
7438 (intfoo): Call charfoo.
7439 * gdb.base/scope0.c (useitp): New function.
7440 (usestatics): Use useitp.
7441 (useit): Add a type for val.
7442 * gdb.base/scope1.c (useit1): Take a pointer argument.
7443 (usestatics1): Update calls to useit1.
7444 * gdb.cp/call-c.cc: Declare foo.
7445 (main): Call foo.
7446 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
7447 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
7448 (main): Call C::ensureRefs and ensureOtherRefs.
7449 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
7450 variables.
7451 (ensureOtherRefs): New function.
7452 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
7453 * gdb.cp/templates.cc (main): Call t5i.value.
7454
3f78692f
JK
74552009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7456
7457 Fix compatibility with G++-4.5.
7458 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
7459 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
7460 (uncaught return): Remove.
7461
429374b8
JK
74622009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7463 Phil Muldoon <pmuldoon@redhat.com>
7464
7465 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
7466 (bp_location13, bp_location14, bp_location17, bp_location18)
7467 (marker3_proto, marker4_proto): New variables.
7468 (breakpoint info): Update output.
7469 (run until breakpoint at marker3, run until breakpoint at marker4): New
7470 tests.
7471
859825b8
JK
74722009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7473
7474 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
7475 Replace the printf call of Y by provided "y-set-1" label. New block
7476 for the second shared library.
7477 * gdb.base/unload.exp: Compile also the second library, call
7478 gdb_load_shlibs also for it. Use now gdb_breakpoint.
7479 (single pending breakpoint info): Rename to ...
7480 (pending breakpoint info before run): ... this extended test.
7481 (libfile2, libname2, libsrcfile2, libsrc2)
7482 (lib_sl2): New variables.
7483 (exec_opts): Set also SHLIB_NAME2.
7484 (pending breakpoint info on first run at shrfunc1)
7485 (pending breakpoint info on second run at shrfunc1)
7486 (pending breakpoint info on second run at shrfunc2)
7487 (print y from libfile, print y from libfile2): New tests.
7488 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
7489 * gdb.base/unloadshr2.c: New.
7490
e6a386cd
HZ
74912009-12-22 Hui Zhu <teawater@gmail.com>
7492
7493 * gdb.reverse/sigall-reverse.exp: Adjust.
7494
9e19b45e
VP
74952009-12-21 Vladimir Prus <vladimir@codesourcery.com>
7496
7497 PR gdb/10884
7498
7499 * gdb.mi/var-cmd.c (do_bitfield_tests): New
7500 (main): Call do_bitfield_tests.
aacf5b1e 7501 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 7502
d53a7b30
JB
75032009-12-20 Joel Brobecker <brobecker@adacore.com>
7504
7505 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
7506 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
7507 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
7508 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
7509 gdb.modula2/unbounded1.c: Update copyright header.
7510
191ca0a1
CM
75112009-12-10 Chris Moller <moller@mollerware.com>
7512
7513 PR gdb/9399
7514 * gdb.cp/virtfunc2.exp: New tests
7515 * gdb.cp/virtfunc2.cc: New tests
7516 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
7517
0fa6cf1b
MS
75182009-12-10 Oza Pawandeep (paawan1982@yahoo.com
7519
7520 * gdb.reverse/i387-env-reverse.c: New file.
7521 * gdb.reverse/i387-env-reverse.exp: New file.
7522 * gdb.reverse/i387-stack-reverse.c: New file.
7523 * gdb.reverse/i387-stack-reverse.exp: New file.
7524
361ae042
PM
75252009-12-08 Phil Muldoon <pmuldoon@redhat.com>
7526
7527 * gdb.python/py-type.exp (test_range): New test.
7528
bfd31e71
PM
75292009-12-03 Phil Muldoon <pmuldoon@redhat.com>
7530
7531 PR python/10805
7532
7533 * gdb.python/py-type.exp: New file.
7534 * gdb.python/py-type.c: New file.
7535 * Makefile.in: Add py-type.
7536
57a1d736
TT
75372009-12-03 Tom Tromey <tromey@redhat.com>
7538
7539 * gdb.python/py-value.exp (test_parse_and_eval): New
7540 function.
7541
1f3b5d1b
PP
75422009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7543
7544 PR gdb/11022
7545
7546 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
7547 * gdb.base/pr11022.c: New test.
7548
8b7dbdc9
JK
75492009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7550
7551 Fix spurious false FAILs.
7552 * gdb.base/structs.c (chartest): New.
7553 (main): Fill-in chartest.
7554 * gdb.base/structs.exp (anychar_re, first): New.
7555 (start_structs_test): Import global anychar_re and first.
7556 New gdb_test call "set print elements 300; ${testfile}"
7557 (start_structs_test <$first>): New block.
7558 (any): Import global anychar_re. New variable ac. Use ${ac}.
7559
6a53b2ec
JK
75602009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7561
7562 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
7563
d7167b4c
JK
75642009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7565
7566 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
7567 Force $srcfile file.
7568 * gdb.base/foll-fork.c (callee): Comment out the printf call.
7569
b1798462
UW
75702009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7571
7572 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
7573 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7574 * gdb.threads/watchthreads-reorder.exp: Likewise.
7575
b6199126
DJ
75762009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
7577
7578 PR gdb/8704
7579
7580 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
7581 "if", and "thread". Correct matching in the previous test.
7582
b22a0510
DJ
75832009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
7584
7585 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
7586
930636d2
MS
75872009-11-23 Michael Snyder <msnyder@vmware.com>
7588
7589 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
7590 * gdb.reverse-watch-precsave.exp: Ditto.
7591
21a0512e
PP
75922009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
7593
7594 * gdb.asm/asm-source.exp: Adjust.
7595 * gdb.base/help.exp: Adjust.
889bf7c5 7596
fc30d5e0
PA
75972009-11-22 Pedro Alves <pedro@codesourcery.com>
7598
7599 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
7600 (do_syscall_tests_without_xml): Set data-directory to
7601 /the/path/to/nowhere.
7602
f6bc2008
PA
76032009-11-21 Pedro Alves <pedro@codesourcery.com>
7604
7605 * gdb.threads/local-watch-wrong-thread.c,
7606 gdb.threads/local-watch-wrong-thread.exp: New files.
7607
8c2fb5de
PA
76082009-11-21 Pedro Alves <pedro@codesourcery.com>
7609
7610 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
7611 assume new `regsub' syntax available.
7612
ebec9a0f
PA
76132009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7614
a79d3c27
JK
7615 * gdb.base/watchpoint-hw-hit-once.exp,
7616 gdb.base/watchpoint-hw-hit-once.c: New.
7617
76182009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7619
7620 * gdb.threads/watchthreads-reorder.exp,
7621 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 7622
276a961b
MK
76232009-11-17 Nathan Sidwell <nathan@codesourcery.com>
7624
7625 * gdb.xml/tdesc-regs.exp: Use for m68k.
7626
4867c1fb
PA
76272009-11-15 Pedro Alves <pedro@codesourcery.com>
7628
7629 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
7630
f6838f81
DJ
76312009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7632
7633 * lib/gdb.exp (current_target_name): New procedure.
7634 (gdb_wrapper_target): New variable.
7635 (gdb_wrapper_init): Set gdb_wrapper_target.
7636 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
7637 wrapper.
7638
4ac4dd3f
DJ
76392009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7640
7641 * gdb.base/remote.exp: Delete the slowest load test.
7642 Do not load with fixed packet sizes.
7643
a7881759
DJ
76442009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7645
7646 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
7647
97a5b505
DJ
76482009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7649
7650 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
7651 srcfile when setting a breakpoint.
7652
d3e1fc54
DJ
76532009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
7654
7655 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
7656 macros.
7657
7cbcbded
DJ
76582009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7659
7660 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
7661 to be in memory.
7662 * gdb.base/display.c (force_mem): New.
7663 (do_loops): Use it. Add breakpoint comments.
7664 (do_vars): Add a breakpoint comment.
7665 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
7666 line numbers.
7667
bdea3a92
NF
76682009-11-13 Nathan Froyd <froydnj@codesourcery.com>
7669
7670 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
7671 instead of a bare "run".
7672
269f82e5
PP
76732009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7674
7675 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 7676
a69b7d9d
DJ
76772009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7678
7679 * lib/cell.exp (skip_cell_tests): Clean up test files before
7680 returning.
7681
b598bfda
DJ
76822009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7683
7684 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
7685 and the breakpoint menu. Do not call perror if a prompt is seen.
7686 Consume the following GDB prompt.
7687 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
7688 * gdb.cp/namespace.exp: Use gdb_test.
7689 * gdb.cp/templates.exp: Use gdb_test.
7690 (test_template_breakpoints): Use gdb_test_multiple.
7691
87728fa0
DJ
76922009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7693
7694 * gdb.base/break1.c (struct some_struct, values): Move earlier.
7695 (marker4): Reference values.
7696
b67c692f
DJ
76972009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7698
7699 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
7700 is missing.
7701
f0df251a
DJ
77022009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7703
7704 * gdb.base/break.c (need_malloc): New.
7705 * gdb.base/constvars.c (main): Reference crass and crisp.
7706 * gdb.base/gdb1821.c (main): Reference bar.
7707 * gdb.cp/gdb1355.cc (main): Reference s1.
7708 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
7709 (main): Call them.
7710 * gdb.cp/hang2.cc (dummy2): Define.
7711 * gdb.cp/hang3.cc (dummy3): Define.
7712 * gdb.cp/m-data.cc (main): Reference shadow.
7713
bdf7534a
NF
77142009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7715 Nathan Froyd <froydnj@codesourcery.com>
7716
7717 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
7718 remote host.
7719
f24fce77
NF
77202009-11-12 Nathan Froyd <froydnj@codesourcery.com>
7721
7722 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
7723 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
7724 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7725 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7726 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7727 * gdb.dwarf2/dw2-producer.exp: Likewise.
7728 * gdb.dwarf2/mac-fileno.exp: Likewise.
7729 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
7730 py-prettyprint.py to the remote host.
7731 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
7732
40f0318e
KS
77332009-11-11 Keith Seitz <keiths@redhat.com>
7734
7735 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
7736 use it instead of "Foo".
7737 * gdb.cp/classes.exp (do_tests): Add a test to access
7738 a method through a typedef'd class name.
7739
f3d9f7fb
NF
77402009-11-11 Nathan Froyd <froydnj@codesourcery.com>
7741
7742 * gdb.base/long_long.exp: Permit leading zeros on floating-point
7743 exponents.
7744 * gdb.base/pointers.exp: Likewise.
7745 * gdb.cp/ref-types.exp: Likewise.
7746
a4216f37
KS
77472009-11-11 Keith Seitz <keiths@redhat.com>
7748
7749 * gdb.cp/cplusfuncs.cc (class foo): Add operators
7750 new[] and delete[].
7751 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
7752 "void".
7753 (probe_demangler): Remove all single-quoting of
7754 method and variable names.
7755 (info_func_regexp): Remove the word "void" from any
7756 occurrence of "(void)".
7757 (print_addr_2): Remove all single-quoting of
7758 method names.
7759 (print_addr_2_kfail): Likewise.
7760 (print_addr): Single-quote C function names before
7761 passing to print_addr_2.
7762 (test_paddr_operator_functions): Remove single-quoting
7763 for method names.
7764 Add tests for operator new[] and operator delete[].
7765
9b14d7aa
JK
77662009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7767
7768 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
7769
85feb311
KS
77702009-11-09 Keith Seitz <keiths@redhat.com>
7771
7772 * gdb.cp/overload.exp: Add tests for resolving overloaded
7773 methods in expression parsing/evaluation.
7774
fa335448
DJ
77752009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
7776
7777 * lib/gdb.exp (default_gdb_version): Use --version instead of
7778 --command.
7779
ec3c07fc
NS
77802009-11-10 Nathan Sidwell <nathan@codesourcery.com>
7781
7782 * lib/gdb.exp (gdb_compile_test): New.
7783 (skip_ada_tests, skip_java_tests): New.
7784 (gdb_compile): Use gdb_compile_test for f77.
7785 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
7786 * lib/java.exp (compile_java_from_source): Remove runtests check,
7787 use gdb_compile_test to record result.
7788 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
7789 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
7790 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
7791 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
7792 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
7793 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
7794 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
7795 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
7796 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
7797 adjust gdb_compile invocations.
7798
b8b4e42b
JK
77992009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7800
7801 * Makefile.in (abs_builddir): New.
7802 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
7803 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
7804 `$(abs_builddir)/site.exp'.
7805
f8b7eaf3
DJ
78062009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
7807
7808 * config/m68k-emc.exp, lib/emc-support.exp,
7809 gdb.trace/gdb_c_test.c: Delete.
7810 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
7811 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7812 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7813 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7814 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7815 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
7816 casing for m68k-*-elf.
7817
c4187697
NS
78182009-11-03 Pedro Alves <pedro@codesourcery.com>
7819
7820 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
7821 * gdb.arch/i386-prologue.exp: Likewise.
7822 * gdb.arch/i386-unwind.exp: Likewise.
7823
db16b772
DJ
78242009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7825
7826 * lib/gdb.exp (gdb_expect): Fix timeout typo.
7827
bcf71277
DJ
78282009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7829
7830 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
7831
0105cee2
DJ
78322009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7833
7834 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
7835
24ddea62
JK
78362009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7837
7838 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
7839
287ccc17
JK
78402009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7841
7842 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
7843 * gdb.base/sepdebug2.c: New file.
7844
08bca259 78452009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
7846
7847 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
7848 the modified warnings for catch syscall. Verify if GDB was compiled
7849 with support for lib expat, and choose which tests to run depending
7850 on this.
7851
5d4e2b76
VP
78522009-10-30 Vladimir Prus <vladimir@codesourcery.com>
7853
7854 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
7855 that composite commands are parsed OK. And also test
7856 that breakpoint commands do work.
7857
240e538a
MS
78582009-10-23 Michael Snyder <msnyder@vmware.com>
7859
7860 gdb.reverse/consecutive-precsave.exp: Change expect pattern
7861 to allow for new disassembly style.
7862
9c419145
PP
78632009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7864
7865 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 7866
02506ff1
MS
78672009-10-22 Michael Snyder <msnyder@vmware.com>
7868
7869 * gdb.reverse/break-precsave.exp: New test.
7870 * gdb.reverse/consecutive-precsave.exp: Ditto.
7871 * gdb.reverse/finish-precsave.exp: Ditto.
7872 * gdb.reverse/i386-precsave.exp: Ditto.
7873 * gdb.reverse/machinestate-precsave.exp: Ditto.
7874 * gdb.reverse/sigall-precsave.exp: Ditto.
7875 * gdb.reverse/solilb-precsave.exp: Ditto.
7876 * gdb.reverse/step-precsave.exp: Ditto.
7877 * gdb.reverse/until-precsave.exp: Ditto.
7878 * gdb.reverse/watch-precsave.exp: Ditto.
7879
4cf866a3
MS
78802009-10-22 Michael Snyder <msnyder@vmware.com>
7881
7882 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
7883 for gdb_expect. Adjust one test's expect strings for the new
7884 format of disassemble.
7885 * gdb.reverse/finish-reverse.exp: Delete 'return'.
7886 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
7887 gdb_test_multiple.
7888 * gdb.reverse/step-reverse.exp: Delete 'return'.
7889 * gdb.reverse/until-reverse.exp: Delete blank lines.
7890 * gdb.reverse/watch-reverse.exp: Delete blank lines.
7891
2b28d209
PP
78922009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
7893
7894 * gdb.base/consecutive.exp: Adjust.
7895 * gdb.base/display.exp: Likewise.
7896 * gdb.base/pc-fp.exp: Likewise.
7897 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 7898
33b9c32b
MS
78992009-10-19 Michael Snyder <msnyder@vmware.com>
7900
7901 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
7902 * gdb.reverse/finish-reverse.c: Ditto.
7903 * gdb.reverse/sigall-reverse.c: Ditto.
7904 * gdb.reverse/solib-reverse.c: Ditto.
7905 * gdb.reverse/step-reverse.c: Ditto.
7906 * gdb.reverse/watch-reverse.c: Ditto.
7907
6c95b8df
PA
79082009-10-19 Pedro Alves <pedro@codesourcery.com>
7909 Stan Shebs <stan@codesourcery.com>
7910
7911 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
7912 * gdb.base/foll-exec.exp: Adjust to expect a process id before
7913 "Executing new program".
7914 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
7915 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
7916 left listed after having been killed.
7917 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
7918 * gdb.base/maint.exp: Adjust test.
7919
7920 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
7921 * gdb.multi/Makefile.in: New.
7922 * gdb.multi/base.exp: New.
7923 * gdb.multi/goodbye.c: New.
7924 * gdb.multi/hangout.c: New.
7925 * gdb.multi/hello.c: New.
7926 * gdb.multi/bkpt-multi-exec.c: New.
7927 * gdb.multi/bkpt-multi-exec.exp: New.
7928 * gdb.multi/crashme.c: New.
7929
279017b7
TG
79302009-10-13 Tristan Gingold <gingold@adacore.com>
7931
7932 * gdb.base/sepdebug.exp: Check debug info are found.
7933
0413d738
PA
79342009-10-08 Pedro Alves <pedro@codesourcery.com>
7935
7936 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
7937 bits.
7938
c628eecc
JK
79392009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7940
7941 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
7942
38af1bfe
JB
79432009-10-07 Joel Brobecker <brobecker@adacore.com>
7944
7945 * gdb.base/watchpoints.c: Add copyright header. Reformat one
7946 of the comments.
7947
2b0adecd
PM
79482009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
7949
7950 * gdb.base/annota1.exp: Remove obsolete match_max increase.
7951 * gdb.base/annota3.exp: Idem.
7952 * gdb.base/maint.exp: Idem.
7953
8d417781
PM
79542009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7955
889bf7c5 7956 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
7957 to default.
7958
bb61102d
PM
79592009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7960
889bf7c5 7961 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
7962 mingw and cygwin targets.
7963
ace5c364
PM
79642009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7965 Pedro Alves <pedro@codesourcery.com>
7966
889bf7c5 7967 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
7968 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
7969
c2d494a0
PM
79702009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7971
e1b52ce2
PM
7972 * gdb.base/shr1.c: Use %p in format string.
7973 * gdb.base/unload.c: Avoid warning in fprintf.
7974 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 7975
209f53f5
PM
79762009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7977
7978 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
7979 long type.
7980 (test_unlink): Correct printf string.
7981 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
7982 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
7983
8172766a
JK
79842009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7985
7986 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
7987 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
7988 * gdb.arch/ia64-breakpoint-shadow.S: New file.
7989
0f73703c
UW
79902009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7991
7992 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
7993 * gdb.objc/nondebug.exp: Likewise.
7994
b32306ca
UW
79952009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7996
7997 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
7998 target_info setting.
7999
8000 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
8001 that detect new threads during "info threads".
8002
0057022f
UW
80032009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8004
8005 * gdb.threads/manythreads.c (main): Increase thread stack size
8006 to 2*PTHREAD_STACK_MIN.
8007 * gdb.threads/multi-create.c (main): Likewise.
8008 (create_function): Likewise.
8009
f29c0325
UW
80102009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8011
8012 * gdb.base/dump.exp: Pass difference of pointer types instead
8013 of integer types as offset to restore in intarr3.srec case.
8014
fcb34849
UW
80152009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8016
8017 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
8018
d5142e3b
UW
80192009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8020
8021 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
8022
087b74b2 80232009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 8024
087b74b2
PM
8025 New test for two watchpoints, with disabling of
8026 the first inserted.
8027 * testsuite/gdb.base/watchpoints.c: New file.
8028 * testsuite/gdb.base/watchpoints.exp: New file.
8029
96c07c5b
TT
80302009-09-25 Tom Tromey <tromey@redhat.com>
8031
8032 * gdb.base/charset.exp: Test utf-16 strings with Python.
8033
b8899f2b
TT
80342009-09-25 Tom Tromey <tromey@redhat.com>
8035
8036 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
8037 UCS-4.
8038 * gdb.base/charset.c (utf_32_string): Rename.
8039 (init_utf32): Rename.
8040 (main): Update.
8041
329719ec
TT
80422009-09-22 Tom Tromey <tromey@redhat.com>
8043
8044 * gdb.python/py-function.exp: Add regression tests.
8045
11ef0d76
KS
80462009-09-21 Keith Seitz <keiths@redhat.com>
8047
8048 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
8049 with invalid operator.
8050
3fe8f3b3
KS
80512009-09-21 Keith Seitz <keiths@redhat.com>
8052
8053 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
8054 and destructor using typedef name of class.
8055 * gdb.cp/classes.cc (class Base1): Add a destructor.
8056 (base1): New typedef.
8057 (use_methods): Instanitate an object of type base1.
8058 * gdb.cp/templates.exp (test_template_typedef): New procedure.
8059 (do_tests): Call test_template_typedef.
8060 * gdb.cp/templates.cc (Baz::~Baz): New method.
8061 (intBazOne): New typedef.
8062 (main): Instantiate intBazOne.
8063
7a9fe101
PM
80642009-09-21 Phil Muldoon <pmuldoon@redhat.com>
8065
8066 PR python/10633
8067
8068 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
8069 Function.
8070 (run_lang_tests): Add print elements test.
8071
2e4d963f
PM
80722009-09-21 Phil Muldoon <pmuldoon@redhat.com>
8073
8074 * gdb.python/py-value.exp (test_subscript_regression): New
8075 function. Test for invalid subscripts.
8076 * gdb.python/py-value.c (main): Add test array, and pointer to it.
8077 (ptr_ref): New function.
8078
ec7e75e7
PP
80792009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8080
8081 * gdb.base/default.exp: Fix "show convenience".
8082
0cc7d26f
TT
80832009-09-15 Tom Tromey <tromey@redhat.com>
8084
8085 * lib/mi-support.exp (mi_create_varobj): Update.
8086 (mi_create_floating_varobj): Likewise.
8087 (mi_create_dynamic_varobj): New proc.
8088 (mi_varobj_update): Update.
8089 (mi_varobj_update_with_type_change): Likewise.
8090 (mi_varobj_update_kv_helper): New proc.
8091 (mi_varobj_update_dynamic_helper): Rewrite.
8092 (mi_varobj_update_dynamic): New proc.
8093 (mi_list_varobj_children): Update.
8094 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
8095 * gdb.python/python-prettyprint.py (pp_outer): New class.
8096 (pp_nullstr): Likewise.
8097 (lookup_function): Register new printers.
8098 * gdb.python/python-prettyprint.c (struct substruct): New type.
8099 (struct outerstruct): Likewise.
8100 (substruct_test): New function.
8101 (struct nullstr): New type.
8102 (string_1, string_2): New globals.
8103 (main): Add new tests.
8104 * gdb.python/python-mi.exp: Added regression tests.
8105 * gdb.mi/mi2-var-display.exp: Update.
8106 * gdb.mi/mi2-var-cmd.exp: Update.
8107 * gdb.mi/mi2-var-child.exp: Update.
8108 * gdb.mi/mi2-var-block.exp: Update.
8109 * gdb.mi/mi-var-invalidate.exp: Update.
8110 * gdb.mi/mi-var-display.exp: Update.
8111 * gdb.mi/mi-var-cmd.exp: Update.
8112 * gdb.mi/mi-var-child.exp: Update.
8113 * gdb.mi/mi-var-block.exp: Update.
8114 * gdb.mi/mi-break.exp: Update.
8115 * gdb.mi/gdb701.exp: Update.
8116
a96d9b2e
SDJ
81172009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
8118
8119 * Makefile.in: Inclusion of catch-syscall object.
8120 * gdb.base/catch-syscall.c: New file.
8121 * gdb.base/catch-syscall.exp: New file.
8122
b43b923a
MS
81232009-09-12 Michael Snyder <msnyder@vmware.com>
8124
8125 * gdb.reverse/step-reverse.exp: Explicitly check for targets
8126 that can support reverse debuggnig.
8127
cec03d70
TT
81282009-09-11 Tom Tromey <tromey@redhat.com>
8129
8130 * gdb.dwarf2/valop.S: New file.
8131 * gdb.dwarf2/valop.exp: New file.
8132
e23bb3fc
MK
81332009-09-11 Mark Kettenis <kettenis@gnu.org>
8134
8135 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
8136
37c3696d
DE
81372009-09-10 Doug Evans <dje@google.com>
8138
8139 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
8140 Add $gdb_prompt to second breakpoint regexp.
8141
5172aecb
JB
81422009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
8143
8144 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
8145 names, add missing ones.
8146 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
8147 * gdb.python/py-frame.c: Rename from python-frame.c.
8148 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
8149 testfile name.
8150 * gdb.python/py-function.exp: Rename from python-function.exp.
8151 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
8152 testfile name.
8153 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
8154 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
8155 Adjust testfile name.
8156 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
8157 * gdb.python/py-template.cc: Rename from python-template.cc.
8158 * gdb.python/py-template.exp: Rename from python-template.exp.
8159 Adjust testfile name.
8160 * gdb.python/py-value.c: Rename from python-value.c.
8161 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
8162 testfile name.
8163
b554e4bd
JK
81642009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8165
8166 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
8167 $bpt2address.
8168 (Second breakpoint address is valid on ia64)
8169 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
8170
9a68ae16
JM
81712009-09-03 Joseph Myers <joseph@codesourcery.com>
8172
8173 * gdb.base/ending-run.exp: Restrict regular expression matching
8174 line number to require closing brace following.
8175
146b9145
DE
81762009-09-03 Doug Evans <dje@google.com>
8177
8178 * gdb.base/store.exp (check_set): Fix typo in expected value message.
8179
787d21e1
TT
81802009-09-02 Tom Tromey <tromey@redhat.com>
8181
8182 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
8183
e7802207
TT
81842009-09-02 Tom Tromey <tromey@redhat.com>
8185
8186 * gdb.dwarf2/callframecfa.exp: New file.
8187 * gdb.dwarf2/callframecfa.S: New file.
8188
817aadd2
JK
81892009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8190
8191 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
8192 gdb.base/solib-overlap-main.c: New.
8193
4a76eae5
DJ
81942009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
8195
8196 PR gdb/10565
8197
8198 * gdb.base/bitfields.c (struct container, container): New.
8199 (main): Initialize it and call break5.
8200 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
8201
d4b96c9a
JK
82022009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8203
8204 Support constant DW_AT_data_member_location by GCC PR debug/40659.
8205 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
8206
4e22772d
JK
82072009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8208
8209 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
8210
2efab443
MS
82112009-08-26 Michael Snyder <msnyder@vmware.com>
8212
8213 * gdb.base/i386-reverse.c: New file.
8214 * gdb.base/i386-reverse.exp: New file.
8215 * gdb.base/Makefile.in: Add new files to be removed.
8216
07ab73a0
JM
82172009-08-26 Joseph Myers <joseph@codesourcery.com>
8218
8219 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
8220 environment-pwd for remote host.
8221 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
8222
676accff
KS
82232009-08-24 Keith Seitz <keiths@redhat.com>
8224
8225 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
8226 Add two new C++ completer tests which limit the output to a
889bf7c5 8227 given class.
676accff 8228
f9f7ad22
MS
82292009-08-24 Michael Snyder <msnyder@vmware.com>
8230
8231 * gdb.base/del.exp: Fix typo in comment.
8232 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
8233
81ecdfbb
RW
82342009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8235
8236 * configure: Regenerate.
8237 * gdb.hp/configure: Likewise.
8238 * gdb.hp/gdb.aCC/configure: Likewise.
8239 * gdb.hp/gdb.base-hp/configure: Likewise.
8240 * gdb.hp/gdb.compat/configure: Likewise.
8241 * gdb.hp/gdb.defects/configure: Likewise.
8242 * gdb.hp/gdb.objdbg/configure: Likewise.
8243 * gdb.stabs/configure: Likewise.
8244
cab0c772
UW
82452009-08-19 Doug Evans <dje@google.com>
8246
8247 * gdb.base/gdbvars.c: New file.
8248 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
8249
b8fa0bfa
PA
82502009-08-14 Pedro Alves <pedro@codesourcery.com>
8251
8252 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8253 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
8254
b84aa90a
PA
82552009-08-13 Pedro Alves <pedro@codesourcery.com>
8256
8257 * gdb.base/default.exp: Adjust "set language test": it's now an
8258 enum command. Larger help string moved to "help set language".
8259 * gdb.base/help.exp: Adjust "help set language" expected output,
8260 now lists all known languages.
8261
0d8f9b2c
NF
82622009-08-11 Nathan Froyd <froydnj@codesourcery.com>
8263
8264 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
8265 all frame arguments.
8266 * gdb.arch/altivec-regs.exp: Likewise.
8267
bda180e0
TT
82682009-08-07 Tom Tromey <tromey@redhat.com>
8269
8270 * gdb.base/setshow.exp: Add tests for changes to set language, set
8271 check range, and set check type.
8272
48cb2d85
VP
82732009-08-03 Vladimir Prus <vladimir@codesourcery.com>
8274
8275 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
8276 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 8277 Call it.
48cb2d85 8278
1ea34204
UW
82792009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8280
8281 * configure.ac: Run gdb.cell tests when appropriate.
8282 * configure: Regenerate.
8283 * lib/cell.exp: New file.
8284 * gdb.cell: New directory.
8285 * gdb.cell/configure.ac: New file.
8286 * gdb.cell/configure: New file.
8287 * gdb.cell/Makefile.in: New file.
8288 * gdb.cell/arch.exp: New file.
8289 * gdb.cell/break.c: New file.
8290 * gdb.cell/break.exp: New file.
8291 * gdb.cell/break-spu.c: New file.
8292 * gdb.cell/bt.c: New file.
8293 * gdb.cell/bt2-spu.c: New file.
8294 * gdb.cell/bt-spu.c: New file.
8295 * gdb.cell/bt.exp: New file.
8296 * gdb.cell/coremaker.c: New file.
8297 * gdb.cell/coremaker-spu.c: New file.
8298 * gdb.cell/core.exp: New file.
8299 * gdb.cell/gcore.exp: New file.
8300 * gdb.cell/data.c: New file.
8301 * gdb.cell/data.exp: New file.
8302 * gdb.cell/data-spu.c: New file.
8303 * gdb.cell/ea-cache.exp: New file.
8304 * gdb.cell/ea-cache.c: New file.
8305 * gdb.cell/ea-cache-spu.c: New file.
8306 * gdb.cell/ea-standalone.c: New file.
8307 * gdb.cell/ea-standalone.exp: New file.
8308 * gdb.cell/ea-test.c: New file.
8309 * gdb.cell/ea-test.exp: New file.
8310 * gdb.cell/f-regs.exp: New file.
8311 * gdb.cell/mem-access.c: New file.
8312 * gdb.cell/mem-access.exp: New file.
8313 * gdb.cell/mem-access-spu.c: New file.
8314 * gdb.cell/ptype.exp: New file.
8315 * gdb.cell/registers.exp: New file.
8316 * gdb.cell/size.c: New file.
8317 * gdb.cell/sizeof.exp: New file.
8318 * gdb.cell/size-spu.c: New file.
8319 * gdb.cell/solib.exp: New file.
8320 * gdb.cell/solib-symbol.exp: New file.
8321
85e747d2
UW
83222009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8323
8324 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
8325
58d6951d
DJ
83262009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8327
8328 * gdb.base/float.exp: Handle VFP registers.
8329
6e0a4f15
MS
83302009-07-14 Michael Snyder <msnyder@vmware.com>
8331
dcd5da87
MS
8332 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
8333 to bring gdb to the beginning of the calling line.
8334
6e0a4f15
MS
8335 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
8336 confusing the i386 epilogue unwinder.
8337
782b2b07
SS
83382009-07-14 Stan Shebs <stan@codesourcery.com>
8339
8340 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
8341
f662c3bc
MS
83422009-07-14 Michael Snyder <msnyder@vmware.com>
8343
8344 * gdb.reverse/step-reverse.exp (stepi into function call):
8345 Call instruction may not be first instruction in the line.
8346 (reverse stepi from a function call): Used wrong line number.
8347
8f313923
JK
83482009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8349
8350 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
8351
4662c76e
JK
83522009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8353
8354 Fix gdb.base/macscp.exp when using custom inputrc.
8355 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
8356 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
8357 env(TERM) set.
8358 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
8359 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
8360
aa81e255
JK
83612009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8362
8363 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
8364 * gdb.base/annota1.exp (thread_test): Import global $testfile.
8365 Change the compilation target to match the testcase name.
8366 * gdb.base/sect-cmd.exp: Change the compilation target to match the
8367 testcase name.
8368 * a2-run.exp: Use for setup prepare_for_testing. Change the
8369 compilation target to match the testcase name.
8370 * gdb.base/commands.exp: Likewise.
8371 * gdb.base/finish.exp: Likewise.
8372 * gdb.base/float.exp: Likewise.
8373 * gdb.base/info-target.exp: Likewise.
8374 * gdb.base/relational.exp: Likewise.
8375 * gdb.base/term.exp: Likewise.
8376 * gdb.base/until.exp: Likewise.
8377 * gdb.base/volatile.exp: Likewise.
8378 * gdb.base/whatis-exp.exp: Likewise.
8379
4c93b1d7
HZ
83802009-07-11 Hui Zhu <teawater@gmail.com>
8381
8382 * gdb.base/help.exp (disassemble): Update expected help text.
8383
812f7342
TT
83842009-07-09 Tom Tromey <tromey@redhat.com>
8385
8386 * lib/gdb.exp: Handle TRANSCRIPT.
8387 (remote_spawn, remote_close, send_gdb): New procs.
8388
fbb8f299
PM
83892009-07-10 Phil Muldoon <pmuldoon@redhat.com>
8390
8391 * gdb.python/python-prettyprint.c: Add counted null string
8392 structure.
8393 * gdb.python/python-prettyprint.exp: Print null string. Test for
8394 embedded nulls.
8395 * gdb.python/python-prettyprint.py (pp_ns): New Function.
8396 * gdb.python/python-value.exp (test_value_in_inferior): Add
8397 variable length string fetch tests.
8398 * gdb.python/python-value.c (main): Add strings for string fetch tests.
8399
c0ac0ec7
JK
84002009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8401
8402 * gdb.base/dump.exp (inaccessible memory is reported): New test.
8403
30b66ecc
TT
84042009-07-07 Tom Tromey <tromey@redhat.com>
8405
8406 * gdb.base/call-rt-st.exp: Update for change to escape output.
8407 * gdb.base/callfuncs.exp: Likewise.
8408 * gdb.base/charset.exp: Likewise.
8409 * gdb.base/constvars.exp: Likewise.
8410 * gdb.base/long_long.exp: Likewise.
8411 * gdb.base/pointers.exp: Likewise.
8412 * gdb.base/printcmds.exp: Likewise.
8413 * gdb.base/setvar.exp: Likewise.
8414 * gdb.base/store.exp: Likewise.
8415 * gdb.cp/ref-types.exp: Likewise.
8416 * gdb.mi/mi-var-child.exp: Likewise.
8417 * gdb.mi/mi-var-display.exp: Likewise.
8418 * gdb.mi/mi2-var-display.exp: Likewise.
8419 * gdb.base/charset.exp: Test octal escape sequence length.
8420 Update for change to escape output.
8421
187c4a2b
JK
84222009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8423
8424 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
8425
d80a43f9
DJ
84262009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
8427
8428 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
8429
047427a8
JK
84302009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8431
8432 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
8433 gdbserver increasing $portnum if "Can't bind address" has been seen.
8434
8b5a0f4f
PA
84352009-07-05 Pedro Alves <pedro@codesourcery.com>
8436
8437 * gdb.base/ending-run.exp: Add "step out of main" pattern for
8438 mingw32ce.
8439
7d93ba58
PA
84402009-07-05 Pedro Alves <pedro@codesourcery.com>
8441
8442 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
8443 VFP format.
8444
2277426b
PA
84452009-07-02 Pedro Alves <pedro@codesourcery.com>
8446
8447 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
8448 linux. Adjust to use "inferior", "info inferiors", "detach
8449 inferior" and "kill inferior" instead of "restart", "info fork",
8450 "detach fork" and "delete fork".
8451 * gdb.base/ending-run.exp: Spell out "info".
8452 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
8453 the "kill" command.
8454
5af949e3
UW
84552009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8456
8457 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
8458 change to prefix TLS offset in hex with 0x.
8459
5d3729b5
UW
84602009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8461
8462 * gdb.base/default.exp: Update test case for "x" changes.
8463
af589bd0
TG
84642009-07-01 Tristan Gingold <gingold@adacore.com>
8465
8466 * gdb.base/bigcore.exp: Make darwin untested.
8467
40974f91
JK
84682009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8469
8470 * gdb.base/completion.exp (directory completion): Create the directory.
8471 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
8472 escapeuniquesub.
8473 (directory completion 2): Expect now ${escapeuniquesub}.
8474 (Glob remaining of directory test): Remove one excessive newline.
8475 Expect the real output.
8476
59dd3af6
JK
84772009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8478
8479 Fix `make check//%' target after `make check' has been ran.
8480 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
8481 a mkdir call.
8482 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
8483 (%/.dir): Remove.
8484
f4e164aa
JK
84852009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8486
8487 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
8488 the expected result record.
8489
69af2122
JK
84902009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8491
8492 Remove racy FAILs relying just on the timeouts.
8493 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
8494 (annotation_level 2): Remove racy FAILs.
8495
2fd481e1
PP
84962009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8497
8498 gdb/10275
889bf7c5
PA
8499 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
8500
c38f313d
DJ
85012009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
8502
8503 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
8504
8b777f02
VP
85052009-06-30 Vladimir Prus <vladimir@codesourcery.com>
8506
8507 * gdb.mi/mi-stack.exp: Testing symbolic options
8508 to -stack-list-locals and -stack-list-arguments.
8509
00c7eacf
JK
85102009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8511
8512 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
8513
6bc80edc
TT
85142009-06-29 Tom Tromey <tromey@redhat.com>
8515
8516 * dg-extract-results.sh: New file.
8517 * Makefile.in (FORCE_PARALLEL): New variable.
8518 (CHECK_TARGET): New conditional variable.
8519 (check): Use CHECK_TARGET.
8520 (DO_RUNTEST): New variable.
8521 (check-single): New target.
8522 (TEST_DIRS): New variable.
8523 (TEST_TARGETS): Likewise.
8524 (check-parallel): New target.
8525 (check-gdb.%): New pattern.
8526 (BASE1_FILES): New variable.
8527 (BASE2_FILES): Likewise.
8528 (check-gdb.base%): New pattern.
8529 (%/.dir): New pattern.
8530 * configure: Rebuild.
8531 * aclocal.m4 (AM_CONDITIONAL): New defun.
8532 * configure.ac: Check whether user is using GNU make.
8533 (GMAKE): New conditional.
8534
794684b6
SW
85352009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
8536
8537 * gdb.cp/namespace-nested-import.cc: New test.
8538 * gdb.cp/namespace-nested-import.exp: New test.
8539
edb3359d
DJ
85402009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
8541
8542 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
8543 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
8544 * gdb.opt/Makefile.in (EXECUTABLES): Update.
8545 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
8546 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
8547 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
8548 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
8549 gdb.opt/inline-markers.c: New files.
8550 * lib/gdb.exp (skip_inline_frame_tests): New function.
8551 (skip_inline_var_tests): New function.
8552
cf657a0c
AS
85532009-06-27 Andreas Schwab <schwab@linux-m68k.org>
8554
8555 * gdb.cp/exception.exp: Don't require $hex before inner frame in
8556 backtrace.
8557
28d41a99
MS
85582009-06-27 Michael Snyder <msnyder@vmware.com>
8559
8560 * gdb.reverse: New directory.
8561 * gdb.reverse/break-reverse.c: New test.
8562 * gdb.reverse/break-reverse.exp: New test.
8563 * gdb.reverse/consecutive-reverse.c: New test.
8564 * gdb.reverse/consecutive-reverse.exp: New test.
8565 * gdb.reverse/finish-reverse.c: New test.
8566 * gdb.reverse/finish-reverse.exp: New test.
8567 * gdb.reverse/machinestate.c: New test.
8568 * gdb.reverse/ms1.c: New test.
8569 * gdb.reverse/machinestate.exp: New test.
8570 * gdb.reverse/Makefile.in: New file.
8571 * gdb.reverse/shr2.c: New test.
8572 * gdb.reverse/solib-reverse.c: New test.
8573 * gdb.reverse/solib-reverse.exp: New test.
8574 * gdb.reverse/step-reverse.c: New test.
8575 * gdb.reverse/step-reverse.exp: New test.
8576 * gdb.reverse/until-reverse.c: New test.
8577 * gdb.reverse/ur1.c: New test.
8578 * gdb.reverse/until-reverse.exp: New test.
8579 * gdb.reverse/watch-reverse.c: New test.
8580 * gdb.reverse/watch-reverse.exp: New test.
8581 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
8582 * configure: Regenerate.
8583
fe3c8b0d
DE
85842009-06-26 Doug Evans <dje@google.com>
8585
8586 * gdb.base/psymtab.exp: Turn off pending breakpoints.
8587
3a72a602
PM
85882009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
8589
8590 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
8591 windows problem for 'file delete $binfile'.
8592
27aa8d6a
SW
85932009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
8594
8595 * gdb.cp/namespace-using.exp: New test.
8596 * gdb.cp/namespace-using.cc: New test.
8597
8ac055f8
JB
85982009-05-20 Joel Brobecker <brobecker@adacore.com>
8599
8600 * gdb.ada/variant_record_packed_array: New testcase.
8601
85e306ed
TT
86022009-06-23 Tom Tromey <tromey@redhat.com>
8603
8604 * gdb.base/charset.exp (test_combination): Regression test.
8605 * gdb.base/charset.c (my_wchar_t): New typedef.
8606 (myvar): New global.
8607 (main): Set myvar.
8608
56643c5e
PM
86092009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
8610
8611 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
8612 target.
8613
1fac167a
UW
86142009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8615
8616 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
8617
7ccb0be9
UW
86182009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8619
8620 * gdb.mi/gdb680.exp: Update test for error message.
8621
568d6575
UW
86222009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8623
8624 * gdb.base/annota1.exp: Allow multiple occurrences of the
8625 frames-invalid annotation.
8626 * gdb.cp/annota2.exp: Likewise.
8627
7cd1089b
PM
86282009-06-15 Phil Muldoon <pmuldoon@redhat.com>
8629
8630 * gdb.cp/gdb2495.cc: New file.
8631 * gdb.cp/gdb2495.exp: New file.
8632
72c63395
JK
86332009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8634
8635 Report error on GDB crash during runto.
8636 * lib/gdb.exp (runto <eof>): New.
8637
3788363d
DJ
86382009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
8639
8640 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
8641 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
8642 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
8643 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
8644 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
8645 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
8646 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
8647 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
8648 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
8649 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
8650 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
8651 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
8652 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
8653 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
8654 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
8655 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
8656 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
8657 gdb.server/server-mon.exp, gdb.server/server-run.exp,
8658 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8659 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
8660 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
8661 gdb.trace/passcount.exp, gdb.trace/report.exp,
8662 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
8663 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
8664 gdb.trace/while-stepping.exp: Use a unique name for the compiled
8665 executable.
8666
17592de3
PA
86672009-06-07 Pedro Alves <pedro@codesourcery.com>
8668
8669 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
8670 defined before referencing it.
8671
701e355d
DE
86722009-06-03 Doug Evans <dje@google.com>
8673
8674 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
8675 * gdb.arch/i386-see.c: Ditto.
8676
f2292c65
PM
86772009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
8678
8679 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
8680 (check_macro): Return 1 if undefined.
8681 If first test fails, check if macro debug information is available,
8682 and report unsupported test if no macro information is found.
8683
5a437975
DE
86842009-05-29 Doug Evans <dje@google.com>
8685
8686 * gdb.threads/hand-call-in-threads.exp: New.
8687 * gdb.threads/hand-call-in-threads.c: New.
8688
c141c696
MS
86892009-05-29 Michael Snyder <msnyder@vmware.com>
8690
8691 * gdb.base/break-always.exp: Change "1" to "on".
8692 Add confirmation check.
8693
b3444185
PA
86942009-05-28 Pedro Alves <pedro@codesourcery.com>
8695
8696 * gdb.threads/threxit-hop-specific.c: New.
8697 * gdb.threads/threxit-hop-specific.exp: New.
8698 * gdb.threads/thread-execl.c: New.
8699 * gdb.threads/thread-execl.exp: New.
8700
b6313243
TT
87012009-05-27 Tom Tromey <tromey@redhat.com>
8702 Thiago Jung Bauermann <bauerman@br.ibm.com>
8703
8704 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
8705 (mi_child_regexp): Likewise.
8706 (mi_list_varobj_children_range): Likewise.
8707 (mi_get_features): Likewise.
8708 (mi_list_varobj_children): Rewrite.
8709 * gdb.python/python-mi.exp: New file.
8710
a6bac58e
TT
87112009-05-27 Tom Tromey <tromey@redhat.com>
8712 Thiago Jung Bauermann <bauerman@br.ibm.com>
8713 Phil Muldoon <pmuldoon@redhat.com>
8714 Paul Pluzhnikov <ppluzhnikov@google.com>
8715
8716 * gdb.python/python-prettyprint.exp: New file.
8717 * gdb.python/python-prettyprint.c: New file.
8718 * gdb.python/python-prettyprint.py: New file.
8719 * gdb.base/display.exp: print/r is now valid.
8720
2c74e833
TT
87212009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
8722 Tom Tromey <tromey@redhat.com>
8723 Pedro Alves <pedro@codesourcery.com>
8724 Paul Pluzhnikov <ppluzhnikov@google.com>
8725
8726 * gdb.python/python-template.exp: New file.
8727 * gdb.python/python-template.cc: New file.
8728 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8729 tests.
8730 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8731 Call it.
8732 (test_value_after_death): New proc.
8733 * gdb.python/python-value.c (PTR): New typedef.
8734 (main): New variable 'x'.
8735
89c73ade
TT
87362009-05-27 Tom Tromey <tromey@redhat.com>
8737
8738 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8739 tests.
8740 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8741 Call it.
8742
a75724bc
PA
87432009-05-27 Pedro Alves <pedro@codesourcery.com>
8744
8745 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
8746
e58b0e63
PA
87472009-05-24 Pedro Alves <pedro@codesourcery.com>
8748
8749 * gdb.threads/fork-thread-pending.c: New.
8750 * gdb.threads/fork-thread-pending.exp: New.
8751
4ac36638
JK
87522009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8753
8754 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
8755 * gdb.dwarf2/dw2-strp.S (a_string2): New.
8756
889bf7c5 87572009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 8758
889bf7c5 8759 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 8760
b242c3c2
PA
87612009-05-17 Pedro Alves <pedro@codesourcery.com>
8762
8763 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
8764 `gdb_get_line_number'. Call `callee' in both parent and child.
8765 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
8766 `gdb_get_line_number' instead of hardcoding line numbers.
8767 (catch_fork_unpatch_child): New procedure to test detaching
8768 breakpoints from child fork.
8769 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
8770 hardcoding line numbers.
8771 (do_fork_tests): Run `catch_fork_unpatch_child'.
8772
ee342b23
VP
87732009-05-17 Vladimir Prus <vladimir@codesourcery.com>
8774
8775 * gdb.mi/mi-cmd-var.exp: Check that when varobj
8776 of structure type enters or leaves the scope, it
8777 is reported by -var-update.
8778
e2009e98
DE
87792009-05-11 Doug Evans <dje@sebabeach.org>
8780
8781 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 8782 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
8783 * gdb.threads/schedlock.c (main): Fix off-by-one error.
8784
00903456
JK
87852009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8786
8787 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
8788
dc621c35
DE
87892009-04-30 Doug Evans <dje@google.com>
8790
8791 * gdb.threads/watchthreads2.exp: New testcase.
8792 * gdb.threads/watchthreads2.c: New testcase.
8793
9ab4e744
DE
87942009-04-29 Doug Evans <dje@google.com>
8795
8796 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
8797 * gdb.cp/mb-ctor.cc: Ditto.
8798 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
8799 * gdb.cp/mb-inline.h (multi_line_foo): New function.
8800 * gdb.cp/mb-inline1.cc: Call it.
8801 * gdb.cp/mb-inline2.cc: Ditto.
8802 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
8803 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
8804
484086b7
JK
88052009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8806
8807 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
8808 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
8809 Replace all uses of `decimal' by `nonzero'.
8810 (info macro FROM_COMMANDLINE): New test.
8811
379a77b5
TT
88122009-04-27 Tom Tromey <tromey@redhat.com>
8813
8814 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
8815
b92b73c2
DE
88162009-04-27 Doug Evans <dje@google.com>
8817
8818 * gdb.threads/watchthreads.c (main): Initialize args before starting
8819 the threads. Plus formatting cleanup.
8820 * gdb.threads/watchthreads.exp: Avoid errant failures due to
8821 biased scheduling of one thread.
8822
945a118d
JG
88232009-04-27 Jerome Guitton <guitton@adacore.com>
8824
8825 * gdb.cp/templates.cc (GetMax): New template.
8826 (main): Declare two instances of GetMax.
8827 * gdb.cp/templates.exp: Add new test.
8828
d389af10
JK
88292009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8830
8831 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
8832
e7f86de9
JM
88332009-04-22 Joseph Myers <joseph@codesourcery.com>
8834
8835 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
8836
334cc82d
TT
88372009-04-15 Tom Tromey <tromey@redhat.com>
8838
8839 * gdb.base/charset.exp: Add regression test.
8840
d12672cc
JB
88412009-04-14 Joel Brobecker <brobecker@adacore.com>
8842
8843 * gdb.base/exe-lock.exp: New testcase.
8844
18e8c3bc
TT
88452009-04-13 Tom Tromey <tromey@redhat.com>
8846
8847 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
8848 operator on Frame.
8849
5ecd5cbe
UW
88502009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8851
8852 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
8853 * gdb.server/ext-attach.exp: Likewise.
8854
7309f756
VP
88552009-04-03 Vladimir Prus <vladimir@codesourcery.com>
8856
8857 Eliminate some sleep usage.
8858
889bf7c5
PA
8859 * gdb.mi/basics.c (do_nothing): New.
8860 (main): Use do_nothing instead of printf, so that
8861 not to introduce race condition between output of
8862 inferiour and output of gdb. Do not use sleep as it
8863 is not generally available on embedded targets.
7309f756 8864
f4b95f6f
PA
88652009-04-02 Pedro Alves <pedro@codesourcery.com>
8866
8867 * gdb.server/ext-attach.exp: Expect an optional process id after
8868 "Detached from remote process".
8869
de40b933
JK
88702009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8871
8872 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
8873 gdb.dwarf2/dw2-unresolved.exp: New.
8874
2ae101a4
PA
88752009-04-02 Pedro Alves <pedro@codesourcery.com>
8876
8877 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
8878 mi_run_to_main.
8879
56a8e183
PA
88802009-04-02 Pedro Alves <pedro@codesourcery.com>
8881
8882 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
8883 mi_run_to_main. Skip thread exit test on remote targets.
8884 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
8885 mi_run_to_main.
8886 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
8887 mi_run_to_main.
8888 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
8889 when expecting ^connected. Detect when the target doesn't support
8890 non-stop mode.
8891 (mi_run_cmd): Detect if non-stop mode was requested by isn't
8892 supported. Return -1 on error, 0 on success.
8893 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
8894 (mi_runto): Return mi_runto_helper's result explicitly.
8895
c35fafde
PA
88962009-04-01 Pedro Alves <pedro@codesourcery.com>
8897
8898 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
8899
f8a8dce6
JB
89002009-04-01 Tom Tromey <tromey@redhat.com>
8901
8902 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
8903 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
8904 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
8905 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
8906
71c25dea
TT
89072009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
8908 Jan Kratochvil <jan.kratochvil@redhat.com>
8909
8910 PR gdb/931
8911 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
8912 output.
8913 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
8914 for gdb/931.
8915 * dw2-strp.S (DW_AT_language): Change to C++.
8916 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
8917
02d9a9ce
JB
89182009-03-31 Joel Brobecker <brobecker@adacore.com>
8919
8920 * gdb.ada/tasks: New testcase.
8921
1042e4c0
SS
89222009-03-30 Stan Shebs <stan@codesourcery.com>
8923
8924 * gdb.trace/actions.exp: Update to match new info trace format.
8925 * gdb.trace/deltrace.exp: Ditto.
8926 * gdb.trace/infotrace.exp: Ditto.
8927 * gdb.trace/passcount.exp: Ditto.
8928 * gdb.trace/save-trace.exp: Ditto.
8929 * gdb.trace/while-stepping.exp: Ditto.
8930 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
8931
f8f6f20b
TJB
89322009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8933
8934 * gdb.python/python-frame.c: New file.
8935 * gdb.python/python-frame.exp: New file.
8936
c0c6f777
TJB
89372009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
8938
8939 * gdb.python/python-value.exp: Add tests for the address
8940 attribute.
8941
3cb51905
AS
89422009-03-29 Andreas Schwab <schwab@linux-m68k.org>
8943
8944 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
8945
88fc996f
DE
89462009-03-26 Doug Evans <dje@google.com>
8947
8948 * gdb.mi/mi-nonstop-exit.exp: New file.
8949 * gdb.mi/non-stop-exit.c: New file.
8950
56ef84b1
TT
89512009-03-26 Tom Tromey <tromey@redhat.com>
8952
8953 Update for change to prologue skipping:
8954 * gdb.mi/mi2-simplerun.exp: Update.
8955 * gdb.mi/mi2-break.exp: Update.
8956 * gdb.mi/mi-simplerun.exp: Update.
8957 * gdb.mi/mi-break.exp: Update.
8958 * gdb.base/ending-run.exp: Update.
8959
def2b000
TJB
89602009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
8961
8962 * gdb.python/python-value.exp (test_value_in_inferior): Test
8963 gdb.Value.is_optimized_out attribute.
8964
442ddf59
JK
89652009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8966
8967 * gdb.dwarf2/dw2-noloc-main.c: New file.
8968 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
8969 (.text): Remove.
8970 (.data): New.
8971 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
8972 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
8973 (DW_TAG_subprogram func_cu1, noloc): Remove.
8974 (main): New.
8975 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
8976 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
8977 (file_symbols): New procedure.
8978
a8df5de4
TT
89792009-03-25 Tom Tromey <tromey@redhat.com>
8980
8981 * gdb.base/charset.exp (valid_target_charset): New proc.
8982 Use it to skip tests on invalid charsets.
8983
cc1d7add
PM
89842009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
8985
8986 * gdb.base/completion.exp: Add a test for directory completion.
8987
bcd5727b
JK
89882009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8989
8990 Fix a racy FAIL.
8991 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
8992 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
8993
cc924cad
TJB
89942009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
8995
8996 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
8997 * gdb.python/python-function.exp: Add test for function returning
8998 a GDB value.
8999
bc3b79fd
TJB
90002009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
9001
9002 * gdb.python/python-function.exp: New file.
9003
6c7a06a3
TT
90042009-03-20 Tom Tromey <tromey@redhat.com>
9005
9006 * gdb.base/store.exp: Update for change to escape output.
9007 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
9008 to escape output.
9009 * gdb.base/pointers.exp: Update for change to escape output.
9010 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
9011 to escape output.
9012 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
9013 escape output.
9014 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
9015 to escape output.
9016 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
9017 escape output.
9018 * gdb.base/setvar.exp: Update for change to escape output.
9019 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
9020 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
9021 to escape output.
9022 (test_print_string_constants): Likewise.
9023 * gdb.base/charset.exp (valid_host_charset): Check size of
9024 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
9025 cases. Handle "auto"-related output.
9026 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
9027 (uvar, Uvar): New globals.
9028
c31af87b
JG
90292009-03-19 Jerome Guitton <guitton@adacore.com>
9030
9031 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
9032 deltas.
9033 * gdb.ada/fixed_points.exp: Ditto.
9034
51272cf2
PA
90352009-03-18 Pedro Alves <pedro@codesourcery.com>
9036
9037 * return-nodebug.c: Don't include stdio.h.
9038 (init): Delete.
9039 (func): Delete definition and provide extern declaration.
9040 (t): New.
9041 (main): Don't call printf. Call func and store its result in t.
9042 * return-nodebug1.c: New.
9043 * return-nodebug.exp: Don't expect stdio output. Instead, print
9044 the global variable t. Drop printf formatters and cast types from
9045 foreach loop. Don't use prepare_for_testing. Compile
9046 return-nodebug.c and return-nodebug1.c in separate steps. Don't
9047 define FORMAT or CAST.
9048
d24948ac
PP
90492009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9050
9051 * gdb.base/solib-display.exp: Disable test for remote targers.
9052
61ff14c6
JK
90532009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9054
9055 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
9056
cb4dce93
JK
90572009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9058
9059 Fix a racy FAIL.
9060 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
9061 code from `follow parent, print pids'.
9062 (`follow child, print pids', `follow parent, print pids'): Call it.
9063 Replace `gdb_test "break..."' by gdb_breakpoint.
9064
f7c60c5e
VP
90652009-03-13 Vladimir Prus <vladimir@codesourcery.com>
9066
9067 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 9068 sync and async modes.
f7c60c5e 9069
383ace49
JB
90702009-03-12 Joel Brobecker <brobecker@adacore.com>
9071
9072 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
9073 that was checked in by mistake. Remove loading of ada.exp, since
9074 this is not necessary in this case.
9075
4ce102af
JB
90762009-03-12 Joel Brobecker <brobecker@adacore.com>
9077
9078 * gdb.ada/ptype_arith_binop.exp: New testcase.
9079
529a2aef
JB
90802009-03-12 Joel Brobecker <brobecker@adacore.com>
9081
9082 * gdb.ada/mod_from_name: New testcase.
9083
8a38181c
JB
90842009-03-12 Joel Brobecker <brobecker@adacore.com>
9085
9086 * gdb.ada/tick_last_segv: New testcase.
9087
11436dee
VP
90882009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9089
61ff14c6 9090 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 9091
1f31650a
VP
90922009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9093
61ff14c6
JK
9094 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
9095 include the token in ^running and frame info in *stopped.
1f31650a 9096
a3247a22
PP
90972009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9098
9099 * solib-display.exp: New file.
9100 * solib-display-main.c: New file.
9101 * solib-display-lib.c: New file.
61ff14c6 9102
aae64587
PA
91032009-03-05 Pedro Alves <pedro@codesourcery.com>
9104
9105 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
9106
44aabfbc
JK
91072009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9108
9109 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
9110 (list_and_check_macro): Use more specific test name.
9111 (next to definition): Make the test names unique.
9112
c087fcd3
PM
91132009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
9114
9115 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 9116
c86cf029
VP
91172009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9118
9119 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
9120 notifications.
9121 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
9122 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
9123 * lib/mi-support.exp (library_loaded_re): New.
9124 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
9125
3ea85240
VP
91262009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9127
9128 * gdb.gdb/observer.exp: Use test_notification observer, not
9129 normal_stop, everywhere.
9130 (test_normal_stop_notifications): Rename to...
9131 (test_notifications): ...this.
9132 (test_observer_normal_stop): Rename to...
9133 (test_observer): ...this.
9134
1903f0e6
DE
91352009-02-16 Doug Evans <dje@google.com>
9136
9137 * gdb.arch/amd64-disp-step.S (test_int3): New test.
9138 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
9139 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
9140 (test_prefixed_syscall,test_int3): New tests.
9141 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
9142 (test_prefixed_syscall,test_int3): New tests.
9143
1d33d6ba
VP
91442009-02-14 Vladimir Prus <vladimir@codesourcery.com>
9145
3cb51905
AS
9146 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
9147 (mi_expect_interrupt): Likewise.
9148 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
9149 response.
1d33d6ba 9150
faafb047
PM
91512009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9152
9153 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
9154 * gdb.base/pc-fp.exp (get_valueofx): Remove.
9155 Replace calls to get_valueofx by get_hexadecimal_valueof.
9156
417e16e2
PM
91572009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9158
9159 * lib/gdb.exp (get_valueof): Accept anything as a return value.
9160 (get_integer_valueof): New procedure.
9161 (get_sizeof): Use new get_integer_value_of.
9162 * gdb.base/sizeof.exp: Replace all uses of get_valueof
9163 by get_integer_valueof.
9164
7065b901
TT
91652009-02-13 Tom Tromey <tromey@redhat.com>
9166
9167 * gdb.base/remote.exp (get_sizeof): Remove.
9168 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
9169 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
9170 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
9171 * lib/gdb.exp (get_valueof): Move from long_long.exp.
9172 (get_sizeof): Likewise.
9173
5d7cb8df
JK
91742009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9175
9176 PR fortran/9806
9177 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
9178
b2febfff
PP
91792009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9180
9181 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
9182
4aa995e1
PA
91832009-02-06 Pedro Alves <pedro@codesourcery.com>
9184
9185 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
9186
d8906c6f
TJB
91872009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9188
9189 * gdb.python/python-cmd.exp: New file.
9190
ff4ab08d
TG
91912009-02-06 Tristan Gingold <gingold@adacore.com>
9192
9193 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
9194
aacd552b
TG
91952009-02-05 Tristan Gingold <gingold@adacore.com>
9196
9197 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
9198 pointer is dereferenced and use this signal name in regexp.
9199 * gdb.base/signull.exp: Ditto.
9200 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
9201 * gdb.base/signull.c (main): Ditto.
9202
08c637de
TJB
92032009-02-04 Tom Tromey <tromey@redhat.com>
9204 Thiago Jung Bauermann <bauerman@br.ibm.com>
9205
9206 * gdb.python/python-value.exp: Use `gdb.history' instead of
9207 `gdb.value_from_history'.
9208 (test_value_numeric_ops): Add test for conversion of enum constant.
9209 * gdb.python/python-value.c (enum e): New type.
9210 (evalue): New global.
9211 (main): Use argv.
9212
20261af8
JG
92132009-02-04 Jerome Guitton <guitton@adacore.com>
9214
9215 * gdb.ada/uninitialized_vars: New test program.
9216 * gdb.ada/uninitialized_vars.exp: New testcase.
9217
52e44b43
TT
92182009-02-02 Tom Tromey <tromey@redhat.com>
9219
9220 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
9221 * gdb.cp/pr2489.cc: Rename...
9222 * gdb.cp/pr9594.cc: ... to this.
9223
1c71341a
TT
92242009-02-02 Tom Tromey <tromey@redhat.com>
9225
9226 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
9227 * gdb.cp/pr2489.cc: New file.
9228 * gdb.cp/cpcompletion.exp: New file.
9229
a4295225
TT
92302009-02-02 Tom Tromey <tromey@redhat.com>
9231
9232 PR exp/9059:
9233 * gdb.cp/call-c.exp: Add regression test.
9234 * gdb.cp/call-c.cc (FooHandle): New typedef.
9235 (main): New variable 'handle'.
9236
592375cd
VP
92372009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9238
9239 * lib/mi-support.exp (et_mi_thread_list)
9240 (check_mi_and_console_threads): Adjust for current thread in
9241 -thread-list-ids output.
9242
41447f92
VP
92432009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9244
889bf7c5
PA
9245 * gdb.mi/mi-break.exp (test_disabled_creation): New.
9246 Call it.
41447f92 9247
35669430
DE
92482009-01-28 Doug Evans <dje@google.com>
9249
9250 * gdb.arch/amd64-disp-step.S: New file.
9251 * gdb.arch/amd64-disp-step.exp: New file.
9252 * gdb.arch/i386-disp-step.S: New file.
9253 * gdb.arch/i386-disp-step.exp: New file.
9254
09f00d9a
PM
92552009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
9256
9257 * gdb.base/find.exp: Set newline variable
9258 using quotes instead of braces to fix cygwin failures.
9259
1e8fb976
PA
92602009-01-23 Pedro Alves <pedro@codesourcery.com>
9261
9262 * gdb.base/radix.exp: Add tests to ensure that that set
9263 input-radix 0 and set output-radix 0 are really rejected.
9264
da061712
PA
92652009-01-23 Pedro Alves <pedro@codesourcery.com>
9266
9267 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
9268 copyright years.
9269
dd7e2d2b
PA
92702009-01-23 Pedro Alves <pedro@codesourcery.com>
9271
9272 PR gdb/9664:
9273 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
9274
392452f6
PA
92752009-01-22 Pedro Alves <pedro@codesourcery.com>
9276
9277 PR c++/9631:
9278 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
9279
8653e71c
PM
92802009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
9281
9282 * gdb.server/file-transfer.exp: Use EXEEXT variable for
9283 binfile definition to fix Windows OS failure.
9284
a12cc160
DJ
92852009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9286
9287 PR gdb/9346
9288 * gdb.base/interrupt.c (sigint_handler): New.
9289 (main): Install a SIGINT handler if SIGNALS is defined. Exit
9290 on error.
9291 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
9292 Test "signal SIGINT".
9293
b89667eb
DE
92942009-01-19 Doug Evans <dje@google.com>
9295
9296 * gdb.base/break.exp: Update expected gdb output.
9297 * gdb.base/sepdebug.exp: Ditto.
9298 * gdb.mi/mi-syn-frame.exp: Ditto.
9299 * gdb.mi/mi2-syn-frame.exp: Ditto.
9300 * gdb.base/call-signal-resume.exp: New file.
9301 * gdb.base/call-signals.c: New file.
9302 * gdb.base/unwindonsignal.exp: New file.
9303 * gdb.base/unwindonsignal.c: New file.
9304 * gdb.threads/interrupted-hand-call.exp: New file.
9305 * gdb.threads/interrupted-hand-call.c: New file.
9306 * gdb.threads/thread-unwindonsignal.exp: New file.
9307
adb483fe
DJ
93082009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
9309
9310 * gdb.base/define.exp: Test defining and hooking prefix commands.
9311 * gdb.python/python.exp: Update test for "show user" output.
9312
60023297
JK
93132009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9314
9315 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
9316 now the output exactly, using less wildcards. Expect also the output
9317 of gfortran-4.3. Update for the f-valprint.c modification from
9318 2008-04-22.
9319 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
9320 Remove gdb_test test names where matching the command.
9321
ccc57cf9
PA
93222009-01-01 Pedro Alves <pedro@codesourcery.com>
9323
9324 PR breakpoints/9681:
9325 * gdb.base/watchpoint.exp: Add regression test.
9326
c7a6ca08
PA
93272008-12-31 Pedro Alves <pedro@codesourcery.com>
9328
9329 * gdb.threads/attach-into-signal.exp: Don't use
9330 gdb_suppress_entire_file.
9331 * gdb.threads/attach-stopped.exp: Ditto.
9332 * gdb.threads/attachstop-mt.exp: Ditto.
9333
3a031f65
PA
93342008-12-31 Pedro Alves <pedro@codesourcery.com>
9335
9336 PR gdb/8812:
9337 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
9338
09e6485f
PA
93392008-12-29 Pedro Alves <pedro@codesourcery.com>
9340
9341 PR gdb/7536:
9342 * gdb.base/radix.exp: Add tests to ensure invalid input radices
9343 and unsupported output radices are really rejected.
9344
0cd53049
JK
93452008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9346
9347 * gdb.cp/punctuator.exp: Backslash the '$' signs.
9348
ba163c7e
TT
93492008-12-22 Tom Tromey <tromey@redhat.com>
9350
9351 * gdb.cp/punctuator.exp: New file.
9352
6f4de6c9
JK
93532008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9354
9355 * gdb.base/completion.exp (Completing non-existing component): New test.
9356
0f34d0b4
JK
93572008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9358
9359 Fix for PR gdb/8648.
9360 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
9361 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
9362 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
9363 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
9364
db2ad4c3
JK
93652008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9366
9367 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
9368
bb5ef15e
DP
93692008-12-16 Christophe Lyon <christophe.lyon@st.com>
9370
9371 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
9372 compiler actually generate code at the expected line number.
9373
90142adc
JZ
93742008-12-15 Jie Zhang <jie.zhang@analog.com>
9375
9376 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
9377
fad6eecd
TT
93782008-12-12 Tom Tromey <tromey@redhat.com>
9379
9380 * gdb.base/commands.exp (redefine_hook_test): New proc.
9381 Call it.
9382
17c8aaf5
TT
93832008-12-11 Tom Tromey <tromey@redhat.com>
9384
9385 * gdb.base/macscp.exp: New regression test.
9386
7c8adf68
TT
93872008-12-11 Tom Tromey <tromey@redhat.com>
9388
9389 * gdb.base/macscp.exp: Print "address.addr".
9390 * gdb.base/macscp1.c (struct outer): New struct.
9391 (address): New global.
9392
b05dcbb7
TT
93932008-12-09 Tom Tromey <tromey@redhat.com>
9394
9395 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
9396 Call it.
9397
2d476de1
DE
93982008-12-04 Doug Evans <dje@google.com>
9399
9400 * gdb.server/ext-run.exp: Relax regexp for init program.
9401
87bdc959
TG
94022008-12-03 Tristan Gingold <gingold@adacore.com>
9403
9404 * gdb.base/macscp.exp: Generate an object file during compilation
9405 to work around Darwin dsymutil limitations.
9406
e0740f77
JK
94072008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9408
9409 Test resolving external references to TLS variables.
9410 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
9411 FILE2_THREAD_LOCAL.
9412 (testfile2, srcfile2): New variables.
9413 * gdb.threads/tls.c (file2_thread_local)
9414 (function_referencing_file2_thread_local): New.
9415 * gdb.threads/tls2.c: New file.
9416
67f0aac5
JB
94172008-11-28 Joel Brobecker <brobecker@adacore.com>
9418
9419 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
9420 rather than integer, as integer might not be big enough when
9421 on 64bit targets.
67f0aac5 9422
c332165e
JG
94232008-11-27 Jerome Guitton <guitton@adacore.com>
9424
9425 * gdb.cp/formatted-ref.exp: Add equality test.
9426 * gdb.ada/formatted_ref.exp: Ditto.
9427
fc9b693c
JK
94282008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9429
9430 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
9431 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
9432
a9c64011
AS
94332008-11-20 Andreas Schwab <schwab@suse.de>
9434
9435 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
9436 matching syscall entry point.
9437 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9438 (tcatch_vfork_then_child_follow): Likewise. Finish through
9439 vfork even if we stopped at the syscall trampoline.
9440
e2fd701e
DE
94412008-11-20 Doug Evans <dje@google.com>
9442
9443 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
9444
69abc51c
TJB
94452008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
9446
9447 * gdb.arch/ppc-dfp.exp: New file.
9448 * gdb.arch/ppc-dfp.c: New file.
9449
c14c28ba
PP
94502008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9451
9452 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 9453
2e74121d
DE
94542008-11-17 Doug Evans <dje@google.com>
9455
9456 * gdb.mi/mi-syn-frame.exp: Update expected output.
9457 * gdb.mi/mi2-syn-frame.exp: Update expected output.
9458
66bb093b
VP
94592008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9460
9461 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
9462 "thread N" results in =thread-selected.
9463 * lib/mi-support (mi_run_cmd, mi_expect_stop)
9464 (mi_send_resuming_command_raw): Be prepared for
9465 =thread-selected.
9466
3d043ef6
VP
94672008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9468
a9c64011
AS
9469 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
9470 * lib/mi-support.exp: Likewise.
3d043ef6 9471
808104c8
JB
94722008-11-16 Joel Brobecker <brobecker@adacore.com>
9473
9474 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
9475 commands from the expected output for "help catch".
9476
00b22944
JB
94772008-11-15 Joel Brobecker <brobecker@adacore.com>
9478
9479 * gdb.ada/int_deref.exp: New testcase.
9480
59669435
TT
94812008-11-14 Nick Roberts <nickrob@snap.net.nz>
9482
9483 * gdb.mi/gdb2549.exp: New file.
9484
de04a248
DE
94852008-11-11 Doug Evans <dje@google.com>
9486
9487 * gdb.base/callexit.exp: New file.
9488 * gdb.base/callexit.c: New file.
9489
6b8ce727
DE
94902008-11-10 Doug Evans <dje@google.com>
9491
9492 * lib/gdb.exp (GDBFLAGS): Move -nx ...
9493 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
9494 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
9495 (default_gdb_start,default_gdb_exit): Ditto.
9496 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
9497 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
9498 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
9499 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
9500 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
9501 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
9502
1b14b8aa
AS
95032008-11-03 Andreas Schwab <schwab@suse.de>
9504
9505 * gdb.base/hashline2.exp: Fix typo.
9506 * gdb.base/hashline3.exp: Likewise.
9507
f3134b88
TT
95082008-10-30 Tom Tromey <tromey@redhat.com>
9509
9510 * gdb.base/pointers.exp: Add test.
9511 * gdb.base/pointers.c (k, S): New typedefs.
9512 (instance): New global.
9513
c2226152
AS
95142008-10-30 Andreas Schwab <schwab@suse.de>
9515
9516 * gdb.base/args.exp: Add tests for newlines.
9517
462f405c
JB
95182008-10-30 Joel Brobecker <brobecker@adacore.com>
9519
9520 gdb.base/foll-exec.exp: Update the expected output of a couple
9521 of "info breakpoints" tests.
9522
79a45b7d
TT
95232008-10-28 Tom Tromey <tromey@redhat.com>
9524
9525 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
9526
adc13a14
PA
95272008-10-24 Pedro Alves <pedro@codesourcery.com>
9528
9529 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
9530 gdb_start_cmd.
9531 Use runto_main before any test that requires execution.
9532
252fbfc8
PA
95332008-10-23 Pedro Alves <pedro@codesourcery.com>
9534
9535 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
9536 instead of SIGINT.
9537
28148e3d
JB
95382008-10-22 Joel Brobecker <brobecker@adacore.com>
9539
9540 * gdb.base/completion.exp: Update expected output following
9541 the addition of the "info tasks" command.
9542
c209f847
TT
95432008-10-22 Tom Tromey <tromey@redhat.com>
9544
9545 * gdb.base/exprs.exp (test_expr): Add test for string
9546 concatenation.
9547
f177e350
PA
95482008-10-19 Pedro Alves <pedro@codesourcery.com>
9549
9550 * configure.ac: Output gdb.python/Makefile.
9551 * configure: Regenerate.
9552 * gdb.python/Makefile.in: New.
9553
cce89356
JB
95542008-10-16 Joel Brobecker <brobecker@adacore.com>
9555
9556 * gdb.base/foll-fork.exp: Adjust the expected output to match
9557 the new description for fork/vfork catchpoints in the "info
9558 breakpoints" output.
9559
176d289d
TJB
95602008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9561
9562 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
9563
a08702d6
TJB
95642008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9565
9566 * gdb.python/python-value.c: New file.
9567 * gdb.python/python-value.exp: New file.
9568
1c5cfe86
PA
95692008-10-15 Pedro Alves <pedro@codesourcery.com>
9570
9571 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
9572
5a98ad69
DP
95732008-10-15 Denis Pilat <denis.pilat@st.com>
9574
41702f1b 9575 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 9576
dcb1a1e2
TT
95772008-10-09 Tom Tromey <tromey@redhat.com>
9578
9579 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
9580 'fprintf' and 'stderr'.
9581
9124fe48
JB
95822008-10-07 Joel Brobecker <brobecker@adacore.com>
9583
9584 * gdb.ada/ref_tick_size.exp: New testcase.
9585
45452591
DE
95862008-10-06 Doug Evans <dje@google.com>
9587
9588 * gdb.dwarf2/dw2-cu-size.exp: New file.
9589 * gdb.dwarf2/dw2-cu-size.S: New file.
9590
9591 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
9592 .Ltype_int for clarity.
9593
4fc5b208
PP
95942008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9595
9596 PR gdb/2384:
9597 * gdb.cp/gdb2384.exp: Extended to test more cases.
9598 * gdb.cp/gdb2384.cc: Likewise.
9599 * gdb.cp/gdb2384-base.h: Likewise.
9600 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 9601
d78df370
JK
96022008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9603
9604 * gdb.base/maint.exp (maint print type): Remove printing
9605 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
9606
9a044a89
TT
96072008-09-30 Tom Tromey <tromey@redhat.com>
9608
9609 * gdb.base/macscp.exp: Add completion tests.
9610 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
9611 (TWENTY_THREE): Likewise.
9612 (FORTY_EIGHT): Likewise.
9613
506800a9
TT
96142008-09-30 Tom Tromey <tromey@redhat.com>
9615
9616 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
9617 everywhere.
9618 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
9619
1a6f01b5
JK
96202008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9621
9622 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
9623 testcase is derived from. Fix racy dependency on an expected PID
9624 number. No longer support the testcase on Linux kernel 2.4.x.
9625
2fae03e8
TT
96262008-09-27 Tom Tromey <tromey@redhat.com>
9627
9628 * gdb.base/macscp.exp: Add tests for stringification, splicing,
9629 and varargs.
9630
1ad15515
PA
96312008-09-22 Pedro Alves <pedro@codesourcery.com>
9632
9633 * lib/mi-support.exp (mi_expect_interrupt): New.
9634 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
9635 from gdb.mi/mi-nonstop.exp.
9636 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
9637 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
9638 lib/mi-support.exp.
9639 Use mi_check_thread_states throughout. Avoid ".*" and do not
9640 require an anchor after -exec-run.
9641
d0b76dc6
DJ
96422008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
9643
9644 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
9645 stop is pending. Avoid ".*" when two stops are pending.
9646 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
9647 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
9648 newlines in fullnames.
9649 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
9650 (mi_expect_stop): Update comments. Only anchor in sync mode.
9651 Do not match newlines.
9652 (mi_send_resuming_command_raw): Always return status.
9653 (mi_get_stop_line): Do not match more than one line by accident.
9654 Only anchor in sync mode.
9655 (mi_run_inline_test): If -exec-next fails, give up.
9656
9990c830
UW
96572008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9658
9659 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
9660 on SPU.
9661
ebcf6f00
JB
96622008-09-10 Joel Brobecker <brobecker@adacore.com>
9663
9664 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
9665
b6db24e5
JB
96662008-09-10 Joel Brobecker <brobecker@adacore.com>
9667
9668 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
9669 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9670 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
9671 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9672 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
9673 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
9674 gdb.ada/interface.exp, gdb.ada/null_array.exp,
9675 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9676 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9677 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9678 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
9679 Include the "= " sequence in the expected output of print tests.
9680
2bf448e0
JB
96812008-09-10 Joel Brobecker <brobecker@adacore.com>
9682
9683 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
9684 description for boolean types.
9685
d51fd4c8
PA
96862008-09-09 Pedro Alves <pedro@codesourcery.com>
9687
9688 * gdb.base/hook-stop-continue.c: New.
9689 * gdb.base/hook-stop-continue.exp: New.
9690
694182d2
DJ
96912008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9692
9693 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
9694
3b8a7fc0
JG
96952008-09-08 Jerome Guitton <guitton@adacore.com>
9696
9697 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
9698 (stack_check_probe_2, stack_check_probe_loop_1)
9699 (stack_check_probe_loop_2): New functions.
9700 (main): Add call to these new functions.
9701 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
9702 functions, check that the breakpoint is inserted at the appropriate
9703 location.
9704 (insert_breakpoint): Slightly refine this procedure so that it can
9705 be called several times in the test.
9706
96cc0ae8
JG
97072008-09-08 Jerome Guitton <guitton@adacore.com>
9708
9709 * gdb.base/stack-checking.c: New file.
9710 * gdb.base/stack-checking.exp: New file.
9711
1f08b409
TJB
97122008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9713
9714 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
9715 * gdb.arch/altivec-regs.exp: Likewise.
9716 * gdb.arch/vsx-regs.exp: Likewise.
9717
3099e1c4
TJB
97182008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9719
9720 * gdb.arch/ppc-fp.exp: New file.
9721 * gdb.arch/ppc-fp.c: New file.
9722
cc69bfc1
PP
97232008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9724
9725 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
9726 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 9727
b02a33db
MS
97282008-09-04 Michael Snyder <msnyder@vmware.com>
9729
9730 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
9731 as "at" (for non-debug functions such as _start).
9732
2992cbe0
UW
97332008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9734
9735 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
9736 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
9737 software watchpoints.
9738 * gdb.base/watch_thread_num.exp: Likewise.
9739
514f746b
AR
97402008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
9741
9742 * gdb.arch/i386-bp_permanent.exp: New test.
9743
876cecd0
TT
97442008-08-24 Tom Tromey <tromey@redhat.com>
9745
9746 * gdb.base/maint.exp: Update "maint print type".
9747
80f73d71
VP
97482008-08-21 Vladimir Prus <vladimir@codesourcery.com>
9749
9750 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
9751 support. Adjust the order of "*running" notifications.
9752 * gdb.mi/non-stop.c: Don't cast from int to void* and
9753 back.
9754
d9c78d7d
MK
97552008-08-20 Mark Kettenis <kettenis@gnu.org>
9756
9757 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
9758 expect to find it in the "info frame" output.
9759
97a2d1d3
DJ
97602008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
9761
9762 * gdb.base/interp.exp: Always consume both prompts.
9763
b96e2927
PA
97642008-08-20 Pedro Alves <pedro@codesourcery.com>
9765
9766 * gdb.base/pending.exp: Test pending breakpoints without symbols
9767 loaded.
9768
8cf6e61a
VP
97692008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9770
9771 * lib/mi-support.exp (mi_expect_stop): Produce
9772 more details on failures.
9773 * gdb.mi/mi-nonstop.exp: New.
9774 * gdb.mi/non-stop.c: New.
9775
c6ebd6cf
VP
97762008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9777
a9c64011
AS
9778 * gdb.mi/mi-async.exp: Use 'set target-async'.
9779 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 9780
46a9b8ed
DJ
97812008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
9782
9783 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
9784
44feb3ce
TT
97852008-08-17 Tom Tromey <tromey@redhat.com>
9786
9787 * gdb.base/help.exp (help catch): Rewrite.
9788
311a4e6b
TJB
97892008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9790
9791 * gdb.base/define.exp: Test indented command documentation.
9792 * gdb.python/python.exp: Test indented multi-line command.
9793
604c2f83
LM
97942008-08-15 Luis Machado <luisgpm@br.ibm.com>
9795
9796 * testsuite/gdb.arch/vsx-regs.c: New source file.
9797 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
9798 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
9799
886a217c
TT
98002008-08-14 Tom Tromey <tromey@redhat.com>
9801
9802 * gdb.base/macscp.exp: Add regression test for "macro define" or
9803 "macro undef" with no arguments.
9804
c814a4f3
PP
98052008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9806
9807 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 9808
12ab8a60
UW
98092008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9810
9811 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
9812
d57a3c85
TJB
98132008-08-06 Tom Tromey <tromey@redhat.com>
9814
9815 * gdb.python/python.exp: New file.
9816
c7b778ff
JK
98172008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9818
9819 Fix for PR gdb/1543.
9820 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
9821 $LOCATION.
9822 (location): New variable.
9823 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
9824 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
9825 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
9826 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
9827 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
9828 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
9829 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
9830 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
9831 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
9832 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
9833 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
9834 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
9835 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
9836 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
9837 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
9838 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
9839 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
9840 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
9841 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
9842 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
9843 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
9844 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
9845 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
9846 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
9847 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
9848 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
9849 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
9850 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
9851 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
9852 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
9853 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
9854 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
9855 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
9856 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
9857 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
9858 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
9859 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
9860 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
9861 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
9862 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
9863 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
9864 gdb.base/type-opaque.exp, gdb.base/until.exp,
9865 gdb.base/value-double-free.c, gdb.base/varargs.exp,
9866 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
9867 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
9868 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9869 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
9870 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
9871 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9872 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9873 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9874 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
9875 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
9876 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
9877 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
9878 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
9879 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
9880 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
9881 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
9882 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
9883 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
9884 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
9885 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9886 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
9887 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
9888 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
9889 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9890 gdb.pascal/types.exp, gdb.stabs/weird.exp,
9891 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
9892 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
9893 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
9894 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
9895 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
9896 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
9897 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9898 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9899 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9900 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9901 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9902 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
9903 lib/mi-support.exp, lib/trace-support.exp: Remove reference
9904 to bug-gdb@prep.ai.mit.edu .
9905
5e06a3d1
VP
99062008-07-31 Vladimir Prus <vladimir@codesourcery.com>
9907
9908 * lib/mi-support.exp (mi_load_shlibs): New.
9909 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
9910
9d81d21b
VP
99112008-07-30 Vladimir Prus <vladimir@codesourcery.com>
9912
9913 * lib/mi-support.exp (get_mi_thread_list)
9914 (check_mi_and_console_threads): New, moved from ...
9915 * gdb.mi/mi-pthread.exp: ...here.
9916 * gdb.mi/gdb669.exp (get_mi_thread_list)
9917 (check_mi_and_console_threads): Delete.
9918 * gdb.mi/mi2-pthread.exp: Likewise.
9919
bae98fe0
TT
99202008-07-28 Tom Tromey <tromey@redhat.com>
9921
9922 * Makefile.in (just-check): Remove. Move body to...
9923 (check): ... here.
9924
57380f4e
DJ
99252008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9926
9927 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
9928 Add a test for duplicated SIGINTs.
9929
e09490f1
DJ
99302008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9931
9932 * gdb.threads/schedlock.exp (get_args): Update to work for any
9933 value of NUM.
9934 (Top level): Report the number of threads that did not resume.
9935
6387b45f
DJ
99362008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9937
9938 * gdb.dwarf2/dw2-compressed.S: Also define __start.
9939
62f64ff2
DJ
99402008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9941
9942 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
9943 non-MI prompt.
9944
fa8de41e
TT
99452008-07-26 Tom Tromey <tromey@redhat.com>
9946
9947 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
9948 (function_struct, function_struct_ptr): New globals.
9949 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
9950 function pointer in a struct.
9951
ccb3ac8a
TT
99522008-07-26 Tom Tromey <tromey@redhat.com>
9953
9954 * gdb.base/macscp.exp: Add test for macro lexing bug.
9955
d7d9f01e
TT
99562008-07-18 Tom Tromey <tromey@redhat.com>
9957
9958 * gdb.base/macscp.exp: Add macro tests.
9959
9bf07184
PP
99602008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9961
9962 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
9963
becf6477
PP
99642008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9965
9966 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
9967
0709f7d3
PP
99682008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
9969
9970 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 9971
7093c834
PP
99722008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9973
9974 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 9975
b432ffe3
JK
99762008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9977
9978 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
9979
b1a268e5
VP
99802008-07-12 Vladimir Prus <vladimir@codesourcery.com>
9981
9982 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
9983
e2995f8e
KB
99842008-07-11 Kevin Buettner <kevinb@redhat.com>
9985
9986 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
9987 of regexp to account for changes made to GDB in the printing of
9988 byte vectors.
9989
14032a66
TT
99902008-07-11 Tom Tromey <tromey@redhat.com>
9991
9992 * gdb.base/completion.exp: Add 'help' completion test.
9993
981505ef
JK
99942008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9995
9996 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
9997
10568435
JK
99982008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9999
10000 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
10001
4487aabf
PA
100022008-07-09 Pedro Alves <pedro@codesourcery.com>
10003
10004 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
10005
a4a9b1c4
PA
100062008-07-09 Pedro Alves <pedro@codesourcery.com>
10007
10008 * gdb.base/fullname.exp: Restore pwd if compiling failed.
10009
3c3185ac
JK
100102008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10011
10012 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
10013
7ebd49dc
VP
100142008-06-28 Vladimir Prus <vladimir@codesourcery.com>
10015
10016 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
10017 previous commit. Add a comment.
10018
84e46146
PA
100192008-06-28 Pedro Alves <pedro@codesourcery.com>
10020
10021 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
10022
0f8d4a2f
VP
100232008-06-28 Vladimir Prus <vladimir@codesourcery.com>
10024
10025 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
10026
f747e0ce
PA
100272008-06-27 Pedro Alves <pedro@codesourcery.com>
10028
10029 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
10030 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
10031 compiling an executable, link in an object that forces unbuffered
10032 output.
10033 * lib/set_unbuffered_mode.c: New file.
10034
734a5c36
JK
100352008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10036
10037 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
10038
a2840c35
VP
100392008-06-25 Vladimir Prus <vladimir@codesourcery.com>
10040
a9c64011
AS
10041 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
10042 mi_expect_stop.
10043 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
10044 Demand that *running is output.
10045 (detect_async): Perform checking every time.
10046 (mi_send_resuming_command): Extract everything into...
10047 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
10048 (mi_expect_stop): Don't accept any output before *stopped.
10049
6ae37fef
VP
100502008-06-13 Vladimir Prus <vladimir@codesourcery.com>
10051
10052 Robustify mi-simplerun.
a9c64011
AS
10053 * gdb.mi/basics.c (main): Add a call to sleep.
10054 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
10055 * gdb.mi/mi2-cli.exp: Likewise.
10056 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 10057
b4aa76f0 100582008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
10059
10060 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
10061
e1ac3328
VP
100622008-06-10 Vladimir Prus <vladimir@codesourcery.com>
10063
a9c64011
AS
10064 * gdb.mi/mi-console.exp: Adjust.
10065 * gdb.mi/mi-syn-frame.exp: Adjust.
10066 * gdb.mi/mi2-console.exp: Adjust.
10067 * gdb.mi/mi2-syn-frame.exp: Adjust.
10068 * lib/mi-support.exp (mi_run_cmd): Adjust.
10069 (mi_send_resuming_command): Adjust.
e1ac3328 10070
f7f9a841
VP
100712008-06-10 Vladimir Prus <vladimir@codesourcery.com>
10072
10073 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
10074 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
10075 testing of stopped.
10076 * gdb.mi/mi2-syn-frame.exp: Likewise.
10077 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
10078 (async, detect_async): New.
10079 (mi_expect_stop, mi_continue_to_line): Adjust expectation
10080 depending on if we're running in sync or async mode.
f7f9a841 10081
37cd5d19
TT
100822008-06-09 Tom Tromey <tromey@redhat.com>
10083
10084 * gdb.base/completion.exp: New tests for field name completion
10085 with spaces, and field name completion with '->'.
10086
65d12d83
TT
100872008-06-06 Tom Tromey <tromey@redhat.com>
10088
10089 * gdb.base/break1.c (struct some_struct): New struct.
10090 (values): New global.
10091 * gdb.base/completion.exp: Add field name completion test.
10092
ebfe2e3f
PP
100932008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10094
10095 * gdb.cp/call-c.exp: Test for incorrect handling of reference
10096 to pointer.
10097 * gdb.cp/call-c.cc: Likewise.
10098
bcf6fc3a
NR
100992008-06-06 Nick Roberts <nickrob@snap.net.nz>
10100
10101 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
10102 annotation.
10103
49fd4a42 101042008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 10105 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
10106
10107 * gdb.threads/execl.c, gdb.threads/execl1.c,
10108 gdb.threads/execl.exp: New tests.
a9c64011 10109
8a34ac3f
AR
101102008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
10111 Daniel Jacobowitz <dan@codesourcery.com>
10112
10113 * gdb.cp/exception.exp: Activate test, make it work with pending
10114 catchpoints.
10115
86ae69ef
JK
101162008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10117
10118 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
10119
f7f9ae2c
VP
101202008-05-28 Vladimir Prus <vladimir@codesourcery.com>
10121
a9c64011
AS
10122 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
10123 now printed.
10124 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 10125
2a2d4dc3
AS
101262008-05-27 Andreas Schwab <schwab@suse.de>
10127
10128 * gdb.base/frame-args.exp: Handle arguments that are optimized
10129 out.
10130
5099e4d9
LM
101312008-05-26 Luis Machado <luisgpm@br.ibm.com>
10132
10133 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
10134 quiet for ppc32 and group options into a single variable.
10135
d9c36a91
JB
101362008-05-23 Joel Brobecker <brobecker@adacore.com>
10137
10138 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
10139 of zero-size elements.
10140 * gdb.ada/null_array.exp: Test printing this new array.
10141
103a8671
JK
101422008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10143
10144 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
10145
07a4cc1a 101462008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
10147
10148 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
10149 of the "finish" command.
10150
55f996a7
NR
101512008-05-21 Nick Roberts <nickrob@snap.net.nz>
10152
10153 * gdb.base/annota1.exp: Test for new annotation.
10154
907fc202
UW
101552008-05-16 Pedro Alves <pedro@codesourcery.com>
10156
10157 * gdb.base/fixsection.exp: New file.
10158 * gdb.base/fixsection0.c: New file.
10159 * gdb.base/fixsection1.c: New file.
10160
e8f97270
UW
101612008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10162
10163 * gdb.base/annota1.exp: Accept printf@... in place of printf.
10164 * gdb.base/annota3.exp: Likewise.
10165
ac0bb574
NF
101662008-05-13 Nathan Froyd <froydnj@codesourcery.com>
10167
10168 * gdb.base/watch_thread_num.exp: Don't run tests that require
10169 watchpoints if the target doesn't support them.
10170
6fadd07a
DE
101712008-05-12 Doug Evans <dje@google.com>
10172
10173 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
10174
6e9a4a30
JB
101752008-05-09 Joel Brobecker <brobecker@adacore.com>
10176
10177 * gdb.ada/assign_1.exp: New testcase.
10178
08388c79
DE
101792008-05-09 Doug Evans <dje@google.com>
10180
a3c83fae
DE
10181 * gdb.base/find.exp: New file.
10182 * gdb.base/find.c: New file.
08388c79 10183
bd5ddfe8
DJ
101842008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
10185
10186 * gdb.base/commands.exp (watchpoint_command_test): Handle
10187 gdb,no_hardware_watchpoints.
10188 * gdb.base/float.exp: Allow ARM targets without floating point.
10189 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
10190
b5dd68e2 101912008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 10192 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
10193
10194 * gdb.ada/lang_switch: New test program.
10195 * gdb.ada/lang_switch.exp: New testcase.
10196
382d13d1
DE
101972008-05-05 Doug Evans <dje@google.com>
10198
10199 * gdb.base/help.exp (disassemble): Update expected help text.
10200
9dd789d0
PA
102012008-05-04 Pedro Alves <pedro@codesourcery.com>
10202
10203 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
10204
611c83ae
PA
102052008-05-04 Pedro Alves <pedro@codesourcery.com>
10206
10207 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
10208 different times.
10209
ff013f42
JK
102102008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10211
10212 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
10213 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
10214 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
10215 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
10216
96dff6a2
VP
102172008-05-04 Vladimir Prus <vladimir@codesourcery.com>
10218
10219 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
10220 notification to appear.
10221
55cd6f92
DJ
102222008-05-04 Daniel Jacobowitz <dan@debian.org>
10223
10224 * gdb.base/fullname.c: New file.
10225 * gdb.base/fullname.exp: New file.
10226 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
10227
d705c43c
PA
102282008-05-03 Pedro Alves <pedro@codesourcery.com>
10229
10230 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
10231 expressions with macros.
10232
333222e1
JK
102332008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10234
10235 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
10236
5ac01682
DJ
102372008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
10238
10239 * gdb.base/completion.exp: Handle lack of other symbols beginning
10240 with "a".
10241
10242 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
10243
237fc4c9
PA
102442008-05-02 Jim Blandy <jimb@codesourcery.com>
10245
10246 * gdb.asm/asmsrc1.s: Add scratch space.
10247
ed5e9466
DJ
102482008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10249 Daniel Jacobowitz <dan@codesourcery.com>
10250
10251 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
10252 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
10253 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
10254
b39cc962
DJ
102552007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
10256
10257 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
10258
36d520f5
JB
102592008-05-01 Joel Brobecker <brobecker@adacore.com>
10260
10261 * gdb.base/info-target.exp: New testcase.
10262
8d4e3071
DJ
102632008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10264
10265 * gdb.cp/hang.exp: Use .cc instead of .C.
10266 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
10267 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
10268
6f3f3097
DJ
102692008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10270
10271 * gdb.base/gdb1250.exp: Remove perror.
10272 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
10273
5550a914
PA
102742008-04-30 Pedro Alves <pedro@codesourcery.com>
10275
10276 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
10277 .2byte.
10278
d848e687
DJ
102792008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
10280
10281 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
10282 (maybe_kfail): New.
10283
93b5768b
PA
102842008-04-25 Pedro Alves <pedro@codesourcery.com>
10285
10286 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
10287
721c02de
VP
102882008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10289
a9c64011
AS
10290 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
10291 * gdb.mi/mi2-syn-frame.exp: Likewise.
10292 * lib/mi-support.exp: Likewise.
721c02de 10293
74960c60
VP
102942008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10295
10296 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
10297 to specify regexp for the location to stop at.
10298 * gdb.base/break-always.c: New.
10299 * gdb.base/break-always.exp: New.
10300
d24317b4
VP
103012008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10302
10303 * lib/mi-support.exp (mi_runto_helper): Adjust
10304 for the original-location field.
10305 (mi_create_breakpoint, mi_list_breakpoints): New.
10306 * gdb.mi/mi-break.exp: Adjust.
10307 * gdb.mi/mi2-break.exp: Adjust.
10308 * gdb.mi/mi-pending.exp: Adjust.
10309 * gdb.mi/mi-simplerun.exp: Adjust.
10310 * gdb.mi/mi2-simplerun.exp: Adjust.
10311 * gdb.mi/mi-syn-frame.exp: Adjust.
10312 * gdb.mi/mi2-syn-frame.exp: Adjust.
10313 * gdb.mi/mi-until.exp: Adjust.
10314 * gdb.mi/mi2-until.exp: Adjust.
10315 * gdb.mi/mi-var-display.exp: Adjust.
10316 * gdb.mi/mi2-var-display.exp: Adjust.
10317 * gdb.mi/mi-watch.exp: Adjust.
10318 * gdb.mi/mi2-watch.exp: Adjust.
10319
fdc59709 103202008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 10321
a9c64011
AS
10322 * aclocal.m4: Add override.m4.
10323 * configure: Regenerate.
fdc59709 10324
8e91f023
VP
103252008-04-19 Vladimir Prus <vladimir@codesourcery.com>
10326
10327 * gdb.mi/var-cmd.c (do_at_tests): Verify that
10328 '-var-update --all-values' reports new value even the type
10329 of a variable object has changed.
10330
233a11ab
CS
103312008-04-18 Craig Silverstein <csilvers@google.com>
10332
10333 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
10334 files.
d24317b4 10335
9c1137ad
JB
103362008-04-18 Joel Brobecker <brobecker@adacore.com>
10337
10338 * gdb.ada/atomic_enum: New test program.
10339 * gdb.ada/atomic_enum.exp: New testcase.
10340
66d0bbc7
DE
103412008-04-17 Doug Evans <dje@google.com>
10342
10343 * gdb.opt/Makefile.in: Fix whitespace.
10344
100906b0
UW
103452008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
10346
10347 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
10348
4584e32e
DE
103492008-04-17 Doug Evans <dje@google.com>
10350
10351 * gdb.base/hashline1.exp: New testcase.
10352 * gdb.base/hashline2.exp: New testcase.
10353 * gdb.base/hashline2.exp: New testcase.
10354
0a320680
PA
103552008-04-17 Pedro Alves <pedro@codesourcery.com>
10356
10357 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
10358
18ac113b
AR
103592008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
10360
10361 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
10362 temporary breakpoint to match "Temporary breakpoint".
10363 * gdb.base/break.exp (delete_breakpoints): Likewise.
10364 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
10365 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
10366 * gdb.base/display.exp: Likewise.
10367 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
10368 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
10369 * gdb.base/restore.exp (restore_tests): Likewise.
10370 * gdb.base/sepdebug.exp: Likewise.
10371 * gdb.base/watchpoint.exp: Likewise.
10372 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
10373 * gdb.mi/mi-pending.exp: Likewise.
10374 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
10375 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
10376 * gdb.mi/mi-var-cmd.exp: Likewise.
10377 * gdb.mi/mi-var-display.exp: Likewise.
10378 * gdb.mi/mi2-cli.exp: Likewise.
10379 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
10380 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
10381 * gdb.mi/mi2-var-display.exp: Likewise.
10382 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
10383 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
10384 new "disp" field.
a9c64011 10385 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
10386 reason. This is to support fix for PR2424.
10387
add38693
JK
103882008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10389
10390 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
10391
fcacd99f
VP
103922008-04-13 Vladimir Prus <vladimir@codesourcery.com>
10393
10394 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 10395 field. Add more floating varobj tests.
fcacd99f 10396 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
10397 field.
10398 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
10399 (main): Call do_at_tests.
10400 * lib/mi-support.exp (mi_create_floating_varobj)
10401 (mi_varobj_update_with_type_change): New.
fcacd99f 10402
de051565
MK
104032008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
10404
10405 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
10406 option of -var-evaluate-expression.
10407 * gdb.mi/mi2-var-display.exp: Likewise.
10408
dbc52822
VP
104092008-04-07 Vladimir Prus <vladimir@codesourcery.com>
10410
10411 Introduce test setup helpers.
a9c64011
AS
10412 * lib/gdb.exp (build_executable, clean_restart)
10413 (prepare_for_testing): New.
10414 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
10415 * gdb.base/return.exp: Likewise.
10416 * gdb.base/ending-run.exp: Likewise.
dbc52822 10417
473591da
NR
104182008-04-07 Nick Roberts <nickrob@snap.net.nz>
10419
10420 * gdb.mi/mi-async.exp: New test for asynchronous Machine
10421 Interface (MI) responses.
10422
2b2d9e11
VP
104232008-04-06 Vladimir Prus <vladimir@codesourcery.com>
10424
a9c64011
AS
10425 * gdb.cp/breakpoint.cc: New code to test conditions involving
10426 member variables.
10427 * gdb.cp/breakpoint.exp: Test condition involving member
10428 variables.
2b2d9e11 10429
bb378428
VP
104302008-04-05 Vladimir Prus <vladimir@codesourcery.com>
10431
10432 * lib/mi-support.exp (mi_expect_stop): New.
10433 (mi_run_cmd): Change the
10434 token. Use mi_send_resuming_command, use
10435 mi_expect_stop.
10436 (mi_execute_to_helper): Rename to mi_execute_to.
10437 (mi_send_resuming_command): Add more error patterns.
10438 (mi_wait_for_stop): Renamed to...
10439 (mi_get_stop_line): ...this.
10440 (mi_run_inline_test): Adjust.
10441
10442 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
10443 * gdb.mi/mi-console.exp: Likewise.
10444 * gdb.mi/mi-pending.exp: Likewise.
10445 * gdb.mi/mi-simplerun.exp: Likewise.
10446 * gdb.mi/mi-stack.exp: Likewise.
10447 * gdb.mi/mi-stepi.exp: Likewise.
10448 * gdb.mi/mi-syn-frame.exp: Add comment.
10449 * gdb.mi/mi-until.exp: Likewise.
10450 * gdb.mi/mi-var-display.exp: Likewise.
10451 * gdb.mi/mi-watch.exp: Likewise.
10452 * gdb.mi/mi2-cli.exp: Likewise.
10453 * gdb.mi/mi2-console.exp: Likewise.
10454 * gdb.mi/mi2-simplerun.exp: Likewise.
10455 * gdb.mi/mi2-stack.exp: Likewise.
10456 * gdb.mi/mi2-stepi.exp: Likewise.
10457 * gdb.mi/mi2-until.exp: Likewise.
10458 * gdb.mi/mi2-var-display.exp: Likewise.
10459 * gdb.mi/mi2-watch.exp: Likewise.
10460
62172bb9
UW
104612008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10462
10463 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
10464
10465 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
10466
a13e061a
PA
104672008-04-04 Pedro Alves <pedro@codesourcery.com>
10468
10469 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
10470 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
10471 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10472 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
10473 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
10474 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
10475 expect an mi error duplicated in stderr.
10476
eae06beb
JB
104772008-04-03 Joel Brobecker <brobecker@adacore.com>
10478
10479 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
10480 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
10481 Add a couple of tests that verify the behavior when the new setting
10482 is set to "cancel" and "all".
10483 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
10484 "ask" before we start the testing.
10485
79c6ced6
AR
104862008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
10487
10488 * gdb.cp/casts.cc: Add class reference variables.
10489 * gdb.cp/casts.exp: New test cases for up/down casting references.
10490
6c2d1a6b
MK
104912008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
10492
10493 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
10494 instead of beginning to make an extra test pass.
10495 * gdb.mi/mi2-var-display.exp: Likewise.
10496
55b411d9
MR
104972008-03-31 Maciej W. Rozycki <macro@mips.com>
10498
10499 * gdb.base/break.exp: Mark failures as such. Fix formatting.
10500
c6140da2
MD
105012008-03-31 Markus Deuling <deuling@de.ibm.com>
10502 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10503
10504 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
10505 value. Add xfail for older kernels.
10506
79732189
AR
105072008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
10508
10509 Bring mi-support in line with gdb.exp.
10510 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
10511 (mi_gdb_start): New function.
10512
33c3676e
MR
105132008-03-28 Maciej W. Rozycki <macro@mips.com>
10514
10515 * gdb.mi/mi-var-cmd.exp: Fix a typo.
10516
92e28119
VP
105172008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10518
10519 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
10520 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 10521
9e8e3afe
VP
105222008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10523
10524 * lib/mi-support.exp (mi_create_varobj_checked): New.
10525 (mi_list_varobj_children): Allow to check for a
10526 value.
10527 (mi_list_array_varobj_children): New.
10528
10529 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
10530 and mi_list_varobj_children, as opposed to hardcoding
10531 expected strings.
10532 * gdb.mi/gdb701.exp: Likewise.
10533 * gdb.mi/gdb792.exp: Likewise.
10534 * gdb.mi/mi-var-block.exp: Likewise.
10535 * gdb.mi/mi-var-cmd.exp: Likewise.
10536 * gdb.mi/mi-var-invalidate.exp: Likewise.
10537 * gdb.mi/mi2-var-block.exp: Likewise.
10538 * gdb.mi/mi2-var-child.exp: Likewise.
10539 * gdb.mi/mi2-var-cmd.exp: Likewise.
10540 * gdb.mi/mi2-var-display.exp: Likewise.
10541
9df50351
JK
105422008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10543
10544 Fix random false FAILs on i386.
10545 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
10546
31e5d73a
DJ
105472008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10548
10549 PR gdb/544
10550 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
10551
12f4afab
DJ
105522008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10553
10554 PR gdb/544
10555 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
10556
b562a0cb
DJ
105572008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10558
10559 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
10560 fixed PR gdb/544.
10561
17faa917
DJ
105622008-03-21 Pedro Alves <pedro@codesourcery.com>
10563
10564 * gdb.threads/fork-child-threads.exp: Test next over fork.
10565
6214f497
DJ
105662008-03-21 Chris Demetriou <cgd@google.com>
10567
10568 * gdb.base/break.exp (rbreak junk): New test for rbreak
10569 "Junk at end of arguments" issue.
10570
63092375
DJ
105712008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10572
10573 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
10574 *& to work on created array elements.
10575 (Top level): Test print $pc with a file. Test string operations
10576 without a target.
10577 * gdb.base/ptype.exp: Do not expect *& to work on created array
10578 elements.
10579
b21991b0
DJ
105802008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10581
10582 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10583 gdb.threads/staticthreads.exp: Update exit query.
10584
c4b347c7
SL
105852008-03-07 Sandra Loosemore <sandra@codesourcery.com>
10586
10587 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
10588
fa4727a6
DJ
105892008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
10590
10591 * gdb.base/watchpoint.c (global_ptr, func4): New.
10592 (main): Call func4.
10593 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
10594 (test_inaccessible_watchpoint): New.
10595
2f34202f
MR
105962008-02-29 Maciej W. Rozycki <macro@mips.com>
10597
10598 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
10599 select the largest.
10600
0d6ba1b1
DJ
106012008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
10602
10603 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
10604 frames-invalid annotations.
10605
e691325a
PM
106062008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
10607
a9c64011 10608 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 10609
f85b5ecc
DE
106102008-02-27 Doug Evans <dje@google.com>
10611
10612 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
10613 for bug 1738.
10614 (breakpoint_to_handler_entry): Ditto.
10615
b40e7bf3
JB
106162008-02-27 Joel Brobecker <brobecker@adacore.com>
10617
10618 * gdb.base/ending-run.exp: Use the first line of code inside
10619 function body to test breakpoints.
10620 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
10621 location where the breakpoint is inserted when using the line
10622 where a function is declared. Fix typo in the description of
10623 one of the tests.
10624 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
10625
2faca73a
PM
106262008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10627
10628 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 10629 tests.
2faca73a 10630
6f439c36
PM
106312008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10632
10633 * gdb.base/args.exp: avoid same output for tests
10634 with single quotes.
10635
54e52265
VP
106362008-02-26 Vladimir Prus <vladimir@codesourcery.com>
10637
a9c64011
AS
10638 * gdb.base/annota1.exp: Adjust for 'info break'
10639 format changes.
10640 * gdb.base/annota3.exp: Likewise.
10641 * gdb.base/break.exp: Likewise.
10642 * gdb.base/condbreak.exp: Likewise.
10643 * gdb.base/pending.exp: Likewise.
10644 * gdb.base/sepdebug.exp: Likewise.
10645 * gdb.base/unload.exp: Likewise.
10646 * gdb.cp/ovldbreak.exp: Likewise.
10647 * gdb.mi/mi-pending.exp: Likewise.
54e52265 10648
897b09ca
DE
106492008-02-07 Doug Evans <dje@google.com>
10650
10651 * gdb.cp/mb-inline.exp: New.
10652 * gdb.cp/mb-inline.h: New.
10653 * gdb.cp/mb-inline1.cc: New.
10654 * gdb.cp/mb-inline2.cc: New.
10655
b1c32d35
PM
106562008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
10657
10658 * gdb.pascal/floats.pas: New test program.
10659 * gdb.pascal/floats.exp: New testcase.
10660
1a4ca44a
TJB
106612008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
10662
10663 * gdb.base/callfuncs.c (t_float_many_args): New function.
10664 (t_double_many_args): New function.
10665 * gdb.base/callfuncs.exp: Add tests for exceeding float
10666 and double parameters passed through the stack.
10667
439048e8
JB
106682008-02-05 Joel Brobecker <brobecker@adacore.com>
10669
10670 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
10671 gdb.ada/complete/foo.adb: New files.
10672 * gdb.ada/complete.exp: New testcase.
10673
81fe8080
DE
106742008-02-03 Doug Evans <dje@google.com>
10675
301f0ecf
DE
10676 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
10677
81fe8080
DE
10678 * gdb.cp/gdb2384.exp: New file.
10679 * gdb.cp/gdb2384.cc: New file.
10680 * gdb.cp/gdb2384-base.h: New file.
10681 * gdb.cp/gdb2384-base.cc: New file.
10682
4b071aec
DE
106832008-02-02 Doug Evans <dje@google.com>
10684
10685 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
10686
61137ba6
JB
106872007-02-01 Joel Brobecker <brobecker@adacore.com>
10688
10689 * gdb.ada/sym_print_name: New test program.
10690 * gdb.ada/sym_print_name.exp: New testcase.
10691
106922007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
10693
10694 * gdb.ada/nested/hello.adb: New file.
10695 * gdb.ada/nested.exp: New testcase.
10696 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10697
98deb0da
VP
106982008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10699
10700 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
10701 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
10702 don't cause future evaluations of function to report
10703 creation of internal breakpoints.
98deb0da 10704
723a2275
VP
107052008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10706
10707 * gdb.mi/mi-break.exp (test_error): New.
10708 Call it.
10709
fb546a2f
LM
107102008-01-31 Luis Machado <luisgpm@br.ibm.com>
10711
10712 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
10713 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
10714
2d8fd90a
PM
107152008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10716
10717 * gdb.pascal/integers.pas: New test program.
10718 * gdb.pascal/integers.exp: New testcase.
10719
a7fa0ded
PM
107202008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10721
10722 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
10723
5e1a1926
TJB
107242008-01-30 Luis Machado <luisgpm@br.ibm.com>
10725
10726 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
10727 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
10728
8d04f9f0
JB
107292008-01-30 Paul Hilfinger <hilfinger@adacore.com>
10730
10731 * gdb.ada/formatted_ref: New test program.
10732 * gdb.ada/formatted_ref.exp: New testcase.
10733
10734 * gdb.cp/formatted-ref.cc: New file.
10735 * gdb.cp/formatted-ref.exp: New testcase.
10736
ce75a98f
JB
107372008-01-30 Joel Brobecker <brobecker@adacore.com>
10738
10739 * gdb.base/ptype.exp: Add testing of "ptype $pc".
10740
e835f6bf
NR
107412008-01-30 Nick Roberts <nickrob@snap.net.nz>
10742
10743 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
10744 (test_file_list_exec_source_file): Update to new macro-info field.
10745
d118ef87
PH
107462008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
10747
10748 * gdb.ada/exprs: New test program.
10749 * gdb.ada/exprs.exp: New testcase.
10750
7d35ab09
TJB
107512008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
10752
10753 * dfp-test.c (DELTA, DELTA_B): New definitions.
10754 (double_val1, double_val2, double_val3, double_val4, double_val5,
10755 double_val6, double_val7, double_val8, double_val9, double_val10,
10756 double_val11, double_val12, double_val13, double_val14, dec32_val1,
10757 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
10758 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
10759 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
10760 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
10761 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
10762 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
10763 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
10764 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
10765 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
10766 dec128_val16): New global variables.
10767 (decimal_dec128_align): New function.
10768 (decimal_mixed): Likewise.
10769 (decimal_many_args_dec32): Likewise.
10770 (decimal_many_args_dec64): Likewise.
10771 (decimal_many_args_dec128): Likewise.
10772 (decimal_many_args_mixed): Likewise.
10773 * dfp-test.exp: Add tests calling new inferior functions.
10774
2d717e4f
DJ
107752008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10776
10777 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
10778 gdb.server/ext-run.exp: New files.
10779 * lib/gdbserver-support.exp (gdbserver_download): New.
10780 (gdbserver_start): New. Update gdbserver expected
10781 output.
10782 (gdbserver_spawn): Use them.
10783 (gdbserver_start_extended): New.
10784
e85a822c
DJ
107852008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10786
10787 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
10788 Run on GNU/Linux.
10789 (do_exec_tests): Check for systems which do not support catchpoints.
10790 Do not match START.
10791 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
10792 Run on GNU/Linux. Enable verbose output.
10793 (check_fork_catchpoints): New.
10794 (explicit_fork_child_follow, catch_fork_child_follow)
10795 (tcatch_fork_parent_follow): Update expected messages.
10796 (do_fork_tests): Use check_fork_catchpoints.
10797 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
10798 Run on GNU/Linux. Enable verbose output.
10799 (check_vfork_catchpoints): New.
10800 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
10801 expected messages.
10802 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
10803
401ea829
JB
108042008-01-29 Jim Blandy <jimb@red-bean.com>
10805
10806 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
10807 host' errors.
10808 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
10809
aceaf3ad
JB
108102008-01-29 Jim Blandy <jimb@red-bean.com>
10811
10812 * gdb.threads/sigthread.c: Use barriers to ensure that
10813 child_thread and child_thread_two are always initialized before we
10814 start to use them.
10815
a5606eee
VP
108162008-01-29 Vladimir Prus <vladimir@codesourcery.com>
10817
10818 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
10819 * gdb.base/watchpoint-solib.c: New.
10820 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 10821
c55a82bb
PM
108222008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
10823
10824 * gdb.base/gdb1056.exp: Add unsigned integer test.
10825
0993fe05
DE
108262008-01-28 Doug Evans <dje@google.com>
10827
10828 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
10829
4fe42e7f
JB
108302008-01-27 Jim Blandy <jimb@codesourcery.com>
10831
c7a69933
JB
10832 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
10833
4fe42e7f
JB
10834 * gdb.base/expand-psymtabs.exp: Doc fix.
10835
5def8285
MK
108362008-01-26 Mark Kettenis <kettenis@gnu.org>
10837
10838 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10839
5313c911
NR
108402008-01-24 Nick Roberts <nickrob@snap.net.nz>
10841
a9c64011 10842 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
10843 -var-set-format.
10844
93815fbf
VP
108452008-01-23 Chris Demetriou <cgd@google.com>
10846
10847 * gdb.threads/thread_events.c: New testcase source file.
10848 * gdb.threads/thread_events.exp: New testcase expect file.
10849
467a88ee
NR
108502008-01-23 Nick Roberts <nickrob@snap.net.nz>
10851
10852 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
10853
10854 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
10855 -var-set-format.
10856
d8f82aba
DJ
108572008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10858 Vladimir Prus <vladimir@codesourcery.com>
10859
10860 * gdb.base/float.exp: Allow missing floating point for m68k and
10861 PowerPC.
10862
60c46647
VP
108632008-01-22 Vladimir Prus <vladimir@codesourcery.com>
10864
10865 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
10866 ignore count.
10867 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
10868 * gdb.mi/mi-cli.exp: Adjust.
10869 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 10870
c7dd36a1
PA
108712008-01-17 Pedro Alves <pedro@codesourcery.com>
10872
10873 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
10874 and 'dummy_ptr' integer pointer. Initialize struct_declarations
10875 with dummy_ptr's address.
10876 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
10877 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
10878 all targets.
10879 * gdb.mi/mi2-var-child.exp: Likewise.
10880
39d5313e
JB
108812008-01-09 Joel Brobecker <brobecker@adacore.com>
10882
10883 * gdb.ada/null_array: New test program.
10884 * gdb.ada/null_array.exp: New testcase.
10885
0aea4bf3
LM
108862008-01-09 Luis Machado <luisgpm@br.ibm.com>
10887
10888 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
10889 with required float modifiers.
10890
0b354900
JB
108912008-01-08 Joel Brobecker <brobecker@adacore.com>
10892
10893 * gdb.ada/funcall_param: New test program.
10894 * gdb.ada/funcall_param.exp: New testcase.
10895
cdb7f5d4
JB
108962008-01-08 Joel Brobecker <brobecker@adacore.com>
10897
10898 * gdb.ada/arrayparam: New test program.
10899 * gdb.ada/arrayparam.exp: New testcase.
10900
88e2547f
JB
109012008-01-08 Joel Brobecker <brobecker@adacore.com>
10902
10903 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
10904 landed. Should also fix random failures in the test following it.
10905
f6867ce0
TJB
109062008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
10907
10908 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
10909 for expressions with decimal float values.
10910 (test_dfp_conversions): New function to test casts to and from
10911 decimal float types.
10912 Call test_dfp_conversions.
10913 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
10914 elements.
10915 (main): Initialize ds.float4 and ds.double8 elements.
10916 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
10917 string to new error message.
10918 (d64_set_tests): Likewise.
10919 (d128_set_tests): Likewise.
10920 Add tests for expressions with decimal float variables. Add tests for
10921 conversions to and from decimal float types.
10922
f9c11282
JB
109232008-01-05 Joel Brobecker <brobecker@adacore.com>
10924
10925 * gdb.ada/packed_tagged/comp_bug.adb: New file.
10926 * gdb.ada/packed_tagged.exp: New testcase.
10927
0ecbca72
JB
109282008-01-04 Joel Brobecker <brobecker@adacore.com>
10929
10930 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
10931 gdb.ada/homonym/homonym_main.adb: New files.
10932 * gdb.ada/homonym.exp: New testcase.
10933
c18d3d89
JB
109342008-01-04 Joel Brobecker <brobecker@adacore.com>
10935
10936 * gdb.ada/packed_array.exp: Add testing of references to
10937 a packed array.
10938
ecc7085b
JB
109392008-01-04 Joel Brobecker <brobecker@adacore.com>
10940
10941 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
10942 New files.
10943 * gdb.ada/type_coercion.exp: New testcase.
10944
c474c922
JB
109452008-01-04 Joel Brobecker <brobecker@adacore.com>
10946
10947 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
10948 gdb.ada/tagged/foo.adb: New file.
10949 * gdb.ada/tagged.exp: New testcase.
10950
9005b927
JB
109512008-01-04 Joel Brobecker <brobecker@adacore.com>
10952
10953 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
10954 gdb.ada/ptype_field/foo.adb: New files.
10955 * gdb.ada/ptype_field.exp: New testcase.
10956
1a6aaad8
JB
109572008-01-03 Joel Brobecker <brobecker@adacore.com>
10958
10959 * gdb.ada/print_pc.exp: New testcase.
10960
0ef22f53
JB
109612008-01-03 Joel Brobecker <brobecker@adacore.com>
10962
10963 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
10964 gdb.ada/taft_type/p.adb: New files.
10965 * gdb.ada/taft_type.exp: New testcase.
10966
1689ecf8
JB
109672008-01-03 Joel Brobecker <brobecker@adacore.com>
10968
10969 * gdb.ada/array_bounds/bar.adb: New file.
10970 * gdb.ada/array_bounds.exp: New testcase.
10971
a4d0b9c3
JB
109722008-01-03 Joel Brobecker <brobecker@adacore.com>
10973
10974 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
10975 gdb.ada/arrayptr/foo.adb: New files.
10976 * gdb.ada/arrayptr.exp: New testcase.
10977
a31ace00
JB
109782008-01-03 Joel Brobecker <brobecker@adacore.com>
10979
10980 * gdb.base/set-lang-auto.exp: New testcase.
10981
a97fced3
JB
109822008-01-03 Joel Brobecker <brobecker@adacore.com>
10983
10984 * gdb.ada/fun_addr/foo.adb: New file.
10985 * gdb.ada/fun_addr.exp: New testcase.
10986
ef29ce1a
JK
109872008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10988
10989 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
10990 New files
10991
0fafefe3
JB
109922008-01-02 Joel Brobecker <brobecker@adacore.com>
10993
10994 * array_subscript_addr/p.adb: New file.
a9c64011 10995 * array_subscript_addr.exp: New testcase.
0fafefe3 10996
c4359f8d
JB
109972008-01-02 Joel Brobecker <brobecker@adacore.com>
10998
a9c64011 10999 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
11000 New files.
11001 * gdb.ada/str_cmp_ref.exp: New testcase.
11002
1aa1b15b
JB
110032008-01-01 Joel Brobecker <brobecker@adacore.com>
11004
11005 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
11006 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 11007 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 11008
81c9b2cf
JB
110092008-01-01 Joel Brobecker <brobecker@adacore.com>
11010
11011 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
11012 gdb.ada/ref_param/pck.ads: New files.
11013 * gdb.ada/ref_param.exp: New testcase.
11014
319e4674
JB
110152008-01-01 Joel Brobecker <brobecker@adacore.com>
11016
11017 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
11018 gdb.ada/interface/foo.adb: New files.
11019 * gdb.ada/interface.exp: New testcase.
11020
ef682c56
JB
110212007-12-31 Jim Blandy <jimb@codesourcery.com>
11022
11023 * gdb.base/multi-forks.exp: Consume all output from child
11024 processes before proceeding to next test.
11025
f6f3eb6c
JB
110262007-12-29 Jim Blandy <jimb@codesourcery.com>
11027
11028 * configure: Regenerated.
11029
f652e42f
JB
110302007-12-27 Joel Brobecker <brobecker@adacore.com>
11031
11032 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
11033 gdb.ada/fixed_cmp/fixed.adb: New files.
11034 * gdb.ada/fixed_cmp.exp: New testcase.
11035
6943e596
JB
110362007-12-27 Joel Brobecker <brobecker@adacore.com>
11037
11038 * gdb.ada/boolean_expr.exp: New testcase.
11039
aad9a193
JB
110402007-12-26 Jim Blandy <jimb@codesourcery.com>
11041
11042 * gdb.base/multi-forks.exp: Doc fix.
11043
fb5f3683
JB
110442007-12-26 Joel Brobecker <brobecker@adacore.com>
11045
11046 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
11047 * gdb.ada/char_param.exp: Do not compile our test program with
11048 -gnata, this is unnecessary.
11049 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
11050
384e4a9c
JB
110512007-12-24 Joel Brobecker <brobecker@adacore.com>
11052
11053 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
11054 gdb.ada/print_chars/foo.adb: New files.
11055 * gdb.ada/print_chars.exp: New testcase.
11056
01e044f7
JB
110572007-12-24 Joel Brobecker <brobecker@adacore.com>
11058
11059 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
11060 gdb.ada/char_param/foo.adb: New files.
11061 * gdb.ada/char_param.exp: New testcase.
11062
0ce17860
JB
110632007-12-22 Jim Blandy <jimb@codesourcery.com>
11064
11065 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
11066 hard-coding source line numbers into the test.
11067 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
11068 gdb_get_line_number to find.
11069
919809b9
JB
110702007-12-22 Joel Brobecker <brobecker@adacore.com>
11071
11072 * gdb.base/ptype.c (highest): New struct type.
11073 (the_highest): New variable of that type.
11074 (main): Add dummy assignment to a field of variable the_highest.
11075 * gdb.base/ptype.exp: Test type printing of our new variable.
11076
abc8a88d
PM
110772007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
11078
11079 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 11080 and record first explicitly generated thread number.
abc8a88d
PM
11081 Use that thread number for thread specific watchpoint test.
11082 Add iteration number to repetitive tests.
11083
5158f3e3
CES
110842007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11085 Jim Blandy <jimb@codesourcery.com>
11086
11087 * gdb.base/expand-psymtabs.c: New testcase
11088 source file.
11089 * gdb.base/expand-psymtabs.exp: New testcase
11090 expect file.
11091
37e4754d
LM
110922007-12-17 Luis Machado <luisgpm@br.ibm.com>
11093
11094 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
11095 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
11096
551e5d04
JB
110972007-12-17 Joel Brobecker <brobecker@adacore.com>
11098
11099 * gdb.ada/frame_args/foo.adb: New file.
11100 * gdb.ada/frame_args/pck.ads: New file.
11101 * gdb.ada/frame_args/pck.adb: New file.
11102 * gdb.ada/frame_args.exp: New testcase.
11103
a05ee097
JB
111042007-12-17 Joel Brobecker <brobecker@adacore.com>
11105
11106 * gdb.base/frame-args.c: New file.
11107 * gdb.base/frame-args.exp: New testcase.
11108
c162e8c9 111092007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 11110 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
11111
11112 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
11113
afe8ab22 111142007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11115
afe8ab22
VP
11116 * gdb.mi/mi-pending.exp: New.
11117 * gdb.mi/mi-pending.c: New.
11118 * gdb.mi/mi-pendshr.c: New.
11119
dfdfb3ca
JB
111202007-12-06 Jim Blandy <jimb@codesourcery.com>
11121
11122 * gdb.base/default.exp: Update expected output for 'info catch'.
11123
b7fca990
JK
111242007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11125
11126 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
11127 must be set to binary.
11128
6a1afc1e
PA
111292007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
11130
11131 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
11132
a6b151f1
DJ
111332007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
11134
11135 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
11136 gdb.mi/mi-file-transfer.exp: New.
11137
43039443
JK
111382007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11139
11140 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
11141
0ef2251b
MR
111422007-11-22 Maciej W. Rozycki <macro@mips.com>
11143
11144 * gdb.trace/backtrace.exp: Fix a typo.
11145 * gdb.trace/circ.exp: Likewise.
11146 * gdb.trace/collection.exp: Likewise.
11147 * gdb.trace/limits.exp: Likewise.
11148 * gdb.trace/report.exp: Likewise.
11149 * gdb.trace/tfind.exp: Likewise.
11150 * gdb.trace/while-dyn.exp: Likewise.
11151
5443631e
NR
111522007-11-21 Nick Roberts <nickrob@snap.net.nz>
11153
11154 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
11155 objects of pointers that can't be dereferenced are now
11156 "noneditable".
11157
a4ce5b0d
UW
111582007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11159
11160 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
11161 (target_cpu): Remove.
11162
d6e956e5
VP
111632007-10-15 Vladimir Prus <vladimir@codesourcery.com>
11164
11165 * gdb.base/ending-run.exp: Expect the list of cleared
11166 breakpoint to come in natural order, not the reversed one.
a9c64011 11167
214270ab
VP
111682007-11-07 Vladimir Prus <vladimir@codesourcery.com>
11169
11170 * gdb.mi/mi-var-child.c (do_child_deletion): New.
11171 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 11172
1a619819
LM
111732007-11-05 Luis Machado <luisgpm@br.ibm.com>
11174
11175 * gdb.base/printcmds.exp: New function
11176 test_printf_with_dfp.
11177
5b01a6fa
DE
111782007-11-02 Doug Evans <dje@google.com>
11179
11180 * gdb.disasm/t01_mov.s: Remove carriage returns.
11181 * gdb.disasm/t02_mova.s: Ditto.
11182 * gdb.disasm/t03_add.s: Ditto.
11183 * gdb.disasm/t04_sub.s: Ditto.
11184 * gdb.disasm/t05_cmp.s: Ditto.
11185 * gdb.disasm/t06_ari2.s: Ditto.
11186 * gdb.disasm/t07_ari3.s: Ditto.
11187 * gdb.disasm/t08_or.s: Ditto.
11188 * gdb.disasm/t09_xor.s: Ditto.
11189 * gdb.disasm/t10_and.s: Ditto.
11190 * gdb.disasm/t11_logs.s: Ditto.
11191 * gdb.disasm/t12_bit.s: Ditto.
11192 * gdb.disasm/t13_otr.s: Ditto.
11193
ec33ab7f
JK
111942007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11195
11196 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
11197
ae0d01ff
UW
111982007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11199
11200 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
11201 provide DFP support.
11202
55eddb0f
DJ
112032007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
11204
11205 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
11206 Test "set powerpc vector-abi". Skip auto-detection tests for old
11207 toolchains.
11208
7020f05c
PA
112092007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11210
11211 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
11212 with [string compare].
11213
84bc3db9
PA
112142007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11215
11216 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
11217 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
11218
5876dc88
LM
112192007-10-25 Luis Machado <luisgpm@br.ibm.com>
11220
11221 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
11222 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
11223 * gdb.opt/Makefile.in: New makefile.
11224 * Makefile.in: Create new directory "gdb.opt".
11225 * configure.ac: Add "gdb.opt" directory.
11226 * configure: Regenerated.
a9c64011 11227
c3ea9a14
DE
112282007-10-25 Doug Evans <dje@google.com>
11229
11230 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
11231 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
11232
a9c64011 112332007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
11234 Thiago Jung Bauermann <bauerman@br.ibm.com>
11235
11236 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
11237 Floating Point expressions.
11238 * gdb.base/dfp-test.exp: new file adding tests for Decimal
11239 Floating Point variables.
11240 * gdb.base/dfp-test.c: new file containing program with Decimal
11241 Floating variables, used by gdb.base/dfp-test.exp.
11242
62a24a2b
DJ
112432007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
11244
11245 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
11246
e7b1eae6
UW
112472007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11248
11249 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
11250 compiling test case with GCC.
11251 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
11252
c641edcc
UW
112532007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11254
11255 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11256 format changes.
11257
5e5ebfe6
MS
112582007-10-18 Michael Snyder <msnyder@specifix.com>
11259
11260 * gdb.base/dbx.exp: Add missing "-re " operator.
11261
e831e7b6
GM
112622007-10-16 Gaius Mulley <gaius@glam.ac.uk>
11263
11264 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
11265 * configure.ac: Removed trailing spaces after backslash.
11266 * gdb.modula2: New directory.
11267 * gdb.modula2/Makefile.in: New file.
11268 * gdb.modula2/unbounded-array.exp: New file.
11269 * gdb.modula2/unbounded1.c: New file.
11270
7cc46491
DJ
112712007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
11272
11273 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
11274
112752007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
11276
11277 * gdb.base/sigstep.c (main): Add checks for
11278 return values for setitimer call.
11279 Call setitimer again with itimer = ITIMER_REAL
11280 if first call to setitimer fails.
11281
e91528f0
KH
112822007-10-11 Kazu Hirata <kazu@codesourcery.com>
11283
11284 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
11285 of $timeout.
11286
2ec9a4f8
DJ
112872007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11288
11289 * gdb.server/server-run.exp: Test for dynamic linker symbols.
11290
112912007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
11292
11293 * lib/gdb.exp (gdb_run_cmd): Move comment outside
11294 of gdb_expect call, to avoid interruption.
11295
64b2fa04
PA
112962007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
11297
11298 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
11299 (v_unsigned_long_long, v_long_long_array)
11300 (v_signed_long_long_array, v_unsigned_long_long_array)
11301 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
11302 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
11303 [!NO_LONG_LONG]: New.
11304 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
11305 v_long_long_member.
11306
11307 (v_long_long_func, v_signed_long_long_func)
11308 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
11309 (main) [!NO_LONG_LONG]: Initialize long long variants.
11310
11311 * gdb.base/whatis.exp: If board file requests no_long_long, build
11312 test with NO_LONG_LONG defined. Test long long, signed long long,
11313 and unsigned long long variants but only if board file doesn't
11314 disable it.
11315
a912286e 113162007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 11317 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
11318
11319 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
11320 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
11321 * configure: Regenerated.
11322 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
11323 gdb.pascal/types.exp, lib/pascal.exp: New files.
11324
471ba8c9
DJ
113252007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
11326
11327 * gdb.cp/classes.exp (do_tests): Always step to the line after the
11328 call.
11329 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
11330 to return to the call.
11331 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
11332 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
11333 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
11334 * gdb.mi/mi-until.exp (test_until): Likewise.
11335 * gdb.mi/mi2-until.exp (test_until): Likewise.
11336
fef8a650
DJ
113372007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
11338
11339 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
11340 two-char array.
11341 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
11342
d983da9c
DJ
113432007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
11344
11345 * gdb.threads/watchthreads.c (thread_function): Sleep between
11346 iterations.
11347 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
11348 at once for S/390. Generate matching fails and passes.
11349
17f62551
VP
113502007-09-27 Vladimir Prus <vladimir@codesourcery.com>
11351
11352 * gdb.mi/var-cmd.c (do_children_tests): Initialize
11353 the 'struct_declarations' variable to zeros.
a9c64011 11354
ed0616c6
VP
113552007-09-24 Vladimir Prus <vladimir@codesourcery.com>
11356
11357 * gdb.cp/mb-ctor.cc: New.
11358 * gdb.cp/mb-ctor.exp: New.
11359 * gdb.cp/mb-templates.cc: New.
11360 * gdb.cp/mb-templates.exp: New.
11361
41f1b697
DJ
113622007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
11363
11364 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
11365
3f213f78
PA
113662007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
11367
11368 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
11369 targets.
11370 * configure: Regenerate.
11371
0d381245 113722007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11373
0d381245
VP
11374 * gdb.base/annota1.exp: Adjust for 'info break'
11375 format changes.
11376 * gdb.base/annota3.exp: Likewise.
11377 * gdb.base/break.exp: Likewise.
11378 * gdb.base/condbreak.exp: Likewise.
11379 * gdb.base/pending.exp: Likewise.
11380 * gdb.base/sepdebug.exp: Likewise.
11381 * gdb.base/unload.exp: Likewise.
11382 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 11383
fe3f5fa8
VP
113842007-09-22 Vladimir Prus <vladimir@codesourcery.com>
11385
11386 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
11387 messages.
11388 * gdb.base/chng-syms.exp: Likewise.
11389 * gdb.base/unload.exp: Likewise.
a9c64011 11390
a75cf6c0
DJ
113912007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
11392
11393 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
11394
18ecae38
DJ
113952007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
11396
11397 * schedlock.c (NUM): Change to 1.
11398 (main): Use args[0] for the main thread.
11399 * schedlock.exp: Only expect two threads. Only issue one pass or fail
11400 regardless of the number of threads.
11401
5509918f
MR
114022007-09-14 Maciej W. Rozycki <macro@mips.com>
11403
4a543daf
MR
11404 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
11405 type down.
11406 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11407 test.
11408 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
11409 watchpoint type down.
11410 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11411 test.
11412
114132007-09-14 Maciej W. Rozycki <macro@mips.com>
11414
5509918f
MR
11415 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
11416 Move all the tests here and run them twice, once using software
11417 watchpoints and once using hardware watchpoints.
11418 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
11419
40b53987
DJ
114202007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
11421
11422 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
11423 test.
11424
695e2681
MK
114252007-09-10 Mark Kettenis <kettenis@gnu.org>
11426
8b3fc8d8
MK
11427 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
11428 build-id.
11429
695e2681
MK
11430 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
11431 know about $ORIGIN. Calculate output dir from $dest instead of
11432 using ${objdir}/{$subdir}.
11433
58d69f29
MK
114342007-09-09 Mark Kettenis <kettenis@gnu.org>
11435
11436 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
11437 gcore, before continuing with the test.
11438
3e347599
DJ
114392007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
11440
11441 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
11442 * gdb.mi/mi-watch.exp: Likewise.
11443
ea37ba09
DJ
114442007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11445 Jim Blandy <jimb@codesourcery.com>
11446
11447 * gdb.arch/i386-sse.exp: Do not expect character constants.
11448 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
11449 * gdb.base/display.exp: Allow print/s.
11450 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
11451 and unsigned char array changes.
11452
2025a643
DJ
114532007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11454
11455 * gdb.base/display.exp: Add tests for printf %p.
11456
26669a27
PA
114572007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
11458
11459 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
11460 the dll name to unicode.
11461
c8f021f8
JK
114622007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11463
11464 * gdb.base/default.exp (show version): Update the version text.
11465 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
11466
4cf31eea
JK
114672007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11468
11469 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
11470 New files.
11471
4935890f
JK
114722007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11473
11474 * lib/gdb.exp (build_id_debug_filename_get): New function.
11475 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
11476 Remove the generate DEBUG file for the future testcase runs.
11477 New testcase for the NT_GNU_BUILD_ID retrieval.
11478 Move the final testing step to ...
11479 (test_different_dir): ... a new function.
11480 New parameter XFAIL to XFAIL all the tests performed.
11481 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
11482 New parameter TYPE to PF_PREFIX all the tests performed.
11483
02142340
VP
114842007-08-31 Vladimir Prus <vladimir@codesourcery.com>
11485
11486 * gdb.mi/mi-var-cp.cc (path_expression): New
11487 function.
11488 * gdb.mi/mi-var-cp.exp: Run path exression tests.
11489
36acd84e
UW
114902007-08-27 Markus Deuling <deuling@de.ibm.com>
11491
11492 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
11493 to fit into SPU Local Store memory.
11494
a896d121
JB
114952007-08-23 Joel Brobecker <brobecker@adacore.com>
11496
11497 * gdb.base/default.exp: Adjust the expected output of "info
11498 warranty" after the switch to GPLv3.
11499
7b433602
JB
115002007-08-23 Joel Brobecker <brobecker@adacore.com>
11501
11502 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
11503 to 30000 (from 20000).
11504
e22f8b7c
JB
115052007-08-23 Joel Brobecker <brobecker@adacore.com>
11506
11507 Switch the license of all .exp files to GPLv3.
11508 Switch the license of all .f and .f90 files to GPLv3.
11509 Switch the license of all .s and .S files to GPLv3.
11510
5a0e3bd0
JB
115112007-08-23 Joel Brobecker <brobecker@adacore.com>
11512
11513 * configure.ac: Switch license to GPLv3.
11514
cc00619d
JB
115152007-08-23 Joel Brobecker <brobecker@adacore.com>
11516
11517 Switch the licensing to GPLv3 for all .ads and .adb files.
11518
8d26208a
DJ
115192007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
11520
11521 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
11522 and t_int_double.
11523 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
11524
4fcb9948
JB
115252007-08-17 Joel Brobecker <brobecker@adacore.com>
11526
11527 * gdb.base/step-line.c: Switch license to GPL version 3, and
11528 update copyright year.
11529 * gdb.base/step-line.inp: Likewise.
11530
b9c34f67
JB
115312007-08-17 Joel Brobecker <brobecker@adacore.com>
11532
11533 * gdb.base/gdb1555.exp: Make expected output immune to formatting
11534 changes inside gdb1555.c.
11535 * gdb.base/pending.exp: Likewise.
11536
2cc17678
DJ
115372007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
11538
11539 * config/default.exp: New file.
11540
e48883f7
DJ
115412007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11542
11543 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
11544 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
11545
1ab80e5b
MR
115462007-07-30 Maciej W. Rozycki <macro@mips.com>
11547
11548 * gdb.base/dump.exp: Force the correct endianness for binary
11549 formats not carrying this information.
11550
aba471f5
DJ
115512007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11552
11553 * gdb.threads/staticthreads.exp: Match .*sem_post.
11554
d4e07204
DJ
115552007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11556
11557 * gdb.base/readline.exp (operate_and_get_next): Match the final
11558 prompt.
11559
2b97317d
KB
115602007-07-23 Kevin Buettner <kevinb@redhat.com>
11561
11562 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
11563 to restarting SID.
11564
44efa07a
KB
115652007-07-18 Kevin Buettner <kevinb@redhat.com>
11566
11567 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
11568 prior to `gdb_start'.
11569
7b5ebade
KB
115702007-07-18 Kevin Buettner <kevinb@redhat.com>
11571
11572 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
11573 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
11574 Remove call to gdb_unload.
11575
255e7678
DJ
115762007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
11577 Daniel Jacobowitz <dan@codesourcery.com>
11578
11579 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
11580 for __WIN32__.
11581 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
11582 * gdb.base/unload.exp: Use shared library test routines.
11583
3a40aaa0
UW
115842007-07-03 Markus Deuling <deuling@de.ibm.com>
11585
11586 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
11587 * gdb.base/solib-symbol-lib.c: Likewise.
11588 * gdb.base/solib-symbol-main.c: Likewise.
11589
b0f4b84b
DJ
115902007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
11591
11592 * config/gdbserver.exp (gdb_reconnect): New.
11593 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
11594 gdb.base/solib-disc.exp: New files.
11595 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
11596 remote debugging".
11597 (gdb_compile): Add shlib_load flag.
11598 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
11599 port.
11600 (gdbserver_reconnect): New.
11601
1b05479a
DJ
116022007-07-01 Nick Roberts <nickrob@snap.net.nz>
11603 Daniel Jacobowitz <dan@codesourcery.com>
11604
11605 * gdb.base/annota3.exp: Test for if construct.
11606
86f78eb2
DJ
116072007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
11608
11609 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
11610
6a2eb474 116112007-06-21 Chris Dearman <chris@mips.com>
a9c64011 11612 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
11613
11614 * gdb.base/display.exp: Allow a newline after display/i.
11615 * gdb.base/pc-fp.exp: Likewise.
11616 * gdb.base/sigbpt.exp: Likewise.
11617
f8b73d13
DJ
116182007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11619
11620 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
11621 required features to be included.
11622
4339e69e
DJ
116232007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11624
11625 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
11626 in info threads output.
11627
23d964e7
UW
116282007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11629 Markus Deuling <deuling@de.ibm.com>
11630
11631 * gdb.arch/spu-info.exp: New testcase.
11632 * gdb.arch/spu-info.c: New file.
11633
fd20f75b
DJ
116342007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
11635
11636 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
11637 tpcs_offset. Restore lr after the call.
11638 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
11639
2226f861
DJ
116402007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
11641
11642 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
11643 (gdbserver_run): Kill any running gdbserver.
11644 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
11645
d12371a9
MR
116462007-05-17 Maciej W. Rozycki <macro@mips.com>
11647
11648 * gdb.base/sigbpt.exp: Preset segv_addr.
11649
93f02886
DJ
116502007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
11651
11652 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
11653 (gdb_compile_shlib): Likewise.
11654 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
11655 (default_gdb_init): Clear cleanfiles.
11656 (gdb_finish): Delete recorded cleanfiles.
11657 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
11658
11659 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
11660 Do not use isnative.
11661 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
11662 gdb.base/so-impl-ld.exp: Likewise.
11663 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
11664 * gdb.base/unload.exp: Likewise. Do not pass empty option to
11665 gdb_compile.
11666
b04e06d7
VP
116672007-05-15 Vladimir Prus <vladimir@codesourcery.com>
11668
11669 * config/unknown.exp: Remove.
11670
069ed931
UW
116712007-05-15 Markus Deuling <deuling@de.ibm.com>
11672
11673 * gdb.base/info-proc.exp: Check is_remote.
11674
09db0d03
UW
116752007-05-14 Markus Deuling <deuling@de.ibm.com>
11676
11677 * gdb.base/gcore.exp: Initialize variable core_supported.
11678
af2cbe8c
DJ
116792007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11680
11681 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
11682
027c0295
DJ
116832007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11684
11685 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
11686 * gdb.threads/print-threads.exp (test_all_threads): Allow
11687 negative and hexadecimal thread IDs.
11688
dc5000e7
DJ
116892007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11690
11691 * gdb.java/jprint.java (public): Avoid invalid call to static
11692 method.
11693
2e74ed18
DP
116942007-05-14 Denis Pilat <denis.pilat@st.com>
11695
11696 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
11697 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
11698 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11699 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
11700 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
11701
83547f02
UW
117022007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11703
11704 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 11705 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
11706 this mode.
11707 * gdb.base/ovlymgr.c: Provide stubs for spu target.
11708 * gdb.base/spu.ld: New file.
11709
b18be20d
DJ
117102007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
11711
11712 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
11713
be444858
DJ
117142007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
11715
11716 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
11717
b1d53152
DJ
117182007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11719
11720 * gdb.java/jmain.exp: Handle demangled names with and without method
11721 signatures.
11722
d084b331
DJ
117232007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11724
11725 * gdb.mi/mi-syn-frame.c (main, foo, bar)
11726 (have_a_very_merry_interrupt): Remove calls to puts.
11727 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
11728 inferior output.
11729 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
11730 test names.
11731
db9d7fc5
DJ
117322007-04-29 Markus Deuling <deuling@de.ibm.com>
11733 Daniel Jacobowitz <dan@codesourcery.com>
11734
11735 * gdb.base/auxv.exp (core_works): Also check is_remote.
11736 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
11737
ef783a7d 117382007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11739
ef783a7d
VP
11740 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
11741 message, not the undefined 'module' variable.
11742 * gdb.base/siginfo.exp: Likewise.
11743 * gdb.base/sigstep.exp: Likewise.
11744 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
11745 serialport.
11746 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
11747
b7b73cae
CV
117482007-04-25 Corinna Vinschen <vinschen@redhat.com>
11749
11750 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
11751 target sim fails. Return 0 otherwise.
11752 (gdb_load): Return prematurely if gdb_target_sim fails.
11753
7d90fdfa
DP
117542007-04-16 Denis Pilat <denis.pilat@st.com>
11755
11756 * gdb.base/setshow.exp: Reset height after having set it to 100.
11757
5d3e9c85
DP
117582007-04-16 Denis Pilat <denis.pilat@st.com>
11759
11760 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
11761
18e75969
DP
117622007-04-16 Denis Pilat <denis.pilat@st.com>
11763
11764 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
11765
25d5ea92
VP
117662007-04-14 Vladimir Prus <vladimir@codesourcery.com>
11767
11768 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
11769 tests. Run the frozen varobjs test.
11770 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 11771 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 11772
0b49cb80
JK
117732007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11774
11775 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
11776 gdb.base/type-opaque.exp: New files.
11777
a73bafbc 117782007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
11779
11780 * gdb.mi/mi-var-child.c
a73bafbc
VP
11781 (do_children_tests): User char[2] instead of
11782 char so that automatic printing of pointers to char
11783 don't give unpredicable result.
11784 * gdb.mi/var-cmd.c (do_locals_test): Initialize
11785 local variables.
11786 * gdb.mi/mi-var-child.exp: Step to right line
11787 of do_children_tests.
11788 * gdb.mi/mi2-var-child.exp: Likewise.
11789 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 11790 do_locals_tests.
a73bafbc
VP
11791 (do_children_tests): User char[2] instead of
11792 char so that automatic printing of pointers to char
a9c64011 11793 don't give unpredicable result.
a73bafbc 11794 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 11795 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
11796 Pass test name to mi_wait_for_stop.
11797
7ce59000
DJ
117982007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11799
11800 * gdb.asm/asm-source.exp: Remove d10v case.
11801 * lib/gdb.exp (skip_cplus_tests): Likewise.
11802 * gdb.asm/d10v.inc: Deleted.
11803
20389057
DJ
118042007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11805
11806 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
11807
8807d78b
DJ
118082007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11809
11810 * config/netware.exp: Delete file.
11811
aa3edb8e
JB
118122007-03-29 Joel Brobecker <brobecker@adacore.com>
11813
11814 * gdb.dwarf2/dw2-noloc.S: New file.
11815 * gdb.dwarf2/dw2-noloc.exp: New file.
11816
297561ac
PA
118172007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
11818
11819 * gdb.cp/method2.cc: New test.
11820 * gdb.cp/method2.exp: New test.
11821 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
11822
1f81bd39
DJ
118232007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11824
11825 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
11826
9453113a
DJ
118272007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
11828
11829 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
11830
b741e217
DJ
118312007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11832
11833 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
11834 (gdb_load): Delete, replace with...
11835 (gdb_reload): ...this.
11836 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
11837 * gdb.server/server-mon.exp: Likewise.
11838 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
11839 (gdb_start_cmd): New.
11840 (gdb_file_cmd): Save the last loaded file.
11841 (gdb_reload): New.
11842 (gdb_gnu_strip_debug): Use transform.
11843 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
11844 support here. Use new $last_loaded_file. Check mtime.
11845 (gdb_target_cmd): Handle ObjC failure case.
11846 (infer_host_exec): Delete.
11847 (gdbserver_load): Rename to...
11848 (gdbserver_run): ...this. Simplify.
11849 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
11850 (mi_gdb_load): Move most contents to a new function...
11851 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
11852 (mi_run_cmd): Use mi_gdb_target_load.
11853 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
11854 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
11855 Use gdb_run_cmd.
11856 * gdb.base/charsign.exp: Remove incorrect comment.
11857 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
11858 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
11859 gdb.base/start.exp: Use gdb_start_cmd.
11860
446ab585 118612007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 11862 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
11863
11864 * gdb.base/sigbpt.exp: Fix the message when skipping test.
11865 * gdb.base/signull.exp: Similarly.
11866
bbb88ebf
UW
118672007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11868
11869 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
11870 messages available to test cases (like chng-sym.exp).
11871
cb8c4a99
AS
118722007-03-14 Andreas Schwab <schwab@suse.de>
11873
11874 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11875 format changes.
11876
4e463ff5
DJ
118772007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
11878
11879 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
11880 (optimized_1): New.
11881 (main): Call optimized_1.
11882 (gdb2029): Correct typos. Call gdb2029_marker.
11883 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
11884 for gdb2029.
11885
b6db2c47
MK
118862007-03-12 Mark Kettenis <kettenis@gnu.org>
11887
11888 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
11889 as tabs. Remove redundant test pattern.
11890
70ed3737
UW
118912007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11892
11893 * gdb.base/long_long.exp: Accept optional symbol name in <...>
11894 for /a format output.
11895
47b67b60
DJ
118962007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
11897
11898 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
11899 collect output incrementally.
11900
b8953b0e
UW
119012007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11902
11903 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
11904 for -var-create lpcharacter test.
11905 * gdb.mi/mi2-var-cmd.exp: Likewise.
11906
7acd5c40
UW
119072007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11908
11909 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
11910 pass on targets where address zero is readable.
11911
9c6759c1
UW
119122007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11913
11914 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
11915 just a single architecture.
11916
a2f1aeb4
UW
119172007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11918
11919 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
11920 (fetch_all_registers): New function, uses gdb_test_multiple and
11921 exp_continue to fetch inferior output line-by-line.
11922 Replace all uses of do_get_all_registers by fetch_all_registers.
11923
46579ac2
UW
119242007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11925
11926 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
11927 in target_info.
11928
fc133f24
MS
119292007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11930
a9c64011 11931 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
11932 consistancy; add a default (timeout) case.
11933
7646a51d
MS
119342007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11935
11936 * gdb.base/watchpoint.exp: Fix truncated comment.
11937
dcfff61f
MS
119382007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11939
11940 * Makefile.in: Remove spurious single-quotes from sed command.
11941
664e3ee9
DJ
119422007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
11943
11944 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
11945 func.
11946 * gdb.mi/mi2-var-cmd.exp: Likewise.
11947
d7cc6f2f
JB
119482007-02-27 Joel Brobecker <brobecker@adacore.com>
11949
a9c64011
AS
11950 * gdb.dwarf2/dw2-producer.S: New file.
11951 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
11952
119532007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
11954
11955 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11956 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11957 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11958 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11959 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11960 Revert tests to use mi_gdb_test and include value field in output
11961 of -var-create.
11962
93d42b30
DJ
119632007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11964
11965 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
11966
c499ed39
DJ
119672007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11968
11969 * gdb.base/maint.exp: Remove full paths from test names.
11970 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
11971 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
11972
9836f81b
JB
119732007-02-27 Joel Brobecker <brobecker@adacore.com>
11974
11975 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
11976
c74d0ad8
DJ
119772007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11978
11979 * gdb.server/server-mon.exp: New test.
11980
2711e456
DJ
119812007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11982
11983 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
11984
ff6f572f
DJ
119852007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11986
11987 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
11988 register capitalization.
11989
fada3feb
DP
119902007-02-13 Denis Pilat <denis.pilat@st.com>
11991
11992 * gdb.mi/mi-var-invalidate.exp: New file.
11993
fb1e4ffc
DJ
119942007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11995
11996 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
11997
3da939d7
DJ
119982007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11999
12000 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
12001
123dc839
DJ
120022007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12003
12004 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
12005 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
12006
877e3645 120072007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
12008
12009 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
12010 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
12011 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
12012 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
12013 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 12014 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 12015 Update tests to include value field in output of -var-create.
a9c64011 12016
3c0a2960
AS
120172007-02-08 Andreas Schwab <schwab@suse.de>
12018
12019 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
12020
108546a0
DJ
120212007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
12022
12023 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
12024 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
12025
d701dcab
DP
120262007-02-02 Denis Pilat <denis.pilat@st.com>
12027
12028 * gdb.threads/threadapply.exp: check that frame is not changed by
12029 the thread apply all command.
12030
783e3e2f
AS
120312007-01-31 Andreas Schwab <schwab@suse.de>
12032
6d9c3a87
AS
12033 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
12034
3c50d7b9
AS
12035 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
12036 in the dwarf sections.
12037 * gdb.dwarf2/mac-fileno.S: Likewise.
12038
783e3e2f
AS
12039 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
12040 bspstore register on ia64.
12041
78ff580e
AS
120422007-01-29 Andreas Schwab <schwab@suse.de>
12043
cc8e9b12
AS
12044 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
12045 "frame-begin" annotation.
12046
78ff580e
AS
12047 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
12048 number of "frames-invalid" annotations.
12049
704a4f78
DJ
120502007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12051
12052 * gdb.base/commands.exp: Call if_commands_test.
12053 (gdb_test_no_prompt, if_commands_test): New.
12054
e741bf94
MK
120552007-01-28 Mark Kettenis <kettenis@gnu.org>
12056
12057 * gdb.threads/sigthread.c (NSIGS): Make bigger.
12058
474d0ad3
AS
120592007-01-27 Andreas Schwab <schwab@suse.de>
12060
12061 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
12062 .short/.int/.quad in the dwarf sections.
12063 * gdb.dwarf2/dw2-intercu.S: Likewise.
12064 * gdb.dwarf2/dw2-intermix.S: Likewise.
12065
e784b426
JK
120662007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12067
12068 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
12069 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
12070 array.
e784b426
JK
12071 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
12072 * gdb.base/setvar.exp: Likewise.
12073
37f08e04
AS
120742007-01-26 Andreas Schwab <schwab@suse.de>
12075
9a01813a
AS
12076 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
12077 test.
12078
37f08e04
AS
12079 * gdb.base/multi-forks.exp ("restart $i"): Also match
12080 __kernel_syscall_via_break.
12081
6e2a9270
VP
120822007-01-24 Vladimir Prus <vladimir@codesourcery.com>
12083
12084 * lib/mi-support.exp (mi_delete_varobj): New.
12085 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
12086 testcase.
12087 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
12088 (main): Call the above.
12089 (reference_update_test, base_in_reference_test)
12090 (reference_to_pointer): Delete the created varobjs.
a9c64011 12091
e515b470
DJ
120922007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
12093
12094 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
12095 * configure: Regenerated.
12096 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
12097 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
12098 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
12099 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
12100 * lib/gdb.exp (gdb_skip_xml_test): New function.
12101
08d8bcd7
DJ
121022007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
12103
12104 * gdb.base/sigrepeat.exp: Correct error message.
12105
121062007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
12107 Daniel Jacobowitz <dan@codesourcery.com>
12108
12109 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
12110 gdb.arch/i386-gnu-cfi-asm.S: New files.
12111
97c3f1f3
JK
121122007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12113
12114 * lib/gdb.exp: Abort on missing `site.exp'.
12115
cb1df416
DJ
121162007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12117 Daniel Jacobowitz <dan@codesourcery.com>
12118
12119 * gdb.base/included.c, gdb.base/included.exp,
12120 gdb.base/included.h: New files.
12121
35990120
DJ
121222007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12123
12124 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
12125 (maximize_rlimit): Reduce limits on 64-bit systems.
12126
6e81a116 121272007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
12128
12129 From Marcus Deuling <deuling@de.ibm.com>:
12130 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
12131 every case.
12132
6c3c41f3
NR
121332007-01-13 Nick Roberts <nickrob@snap.net.nz>
12134
12135 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
12136 (test_path_specification): Use objdir instead of srcdir to always
12137 get an absolute filename.
12138
2f12c312
DJ
121392007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
12140
12141 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
12142
81121995
VP
121432007-01-11 Vladimir Prus <vladimir@codesourcery.com>
12144
12145 * gdb.mi/mi-var-cp.cc (reference_update_tests):
12146 Make sure the variable we're using is in scope.
12147 (reference_to_pointer): Likewise.
12148
4741b737
DJ
121492007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12150
12151 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
12152 has no debug information.
12153
054410c3
DJ
121542007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12155
12156 * gdb.base/annota1.exp: Remove extra send_gdb.
12157
818f79f6
DJ
121582007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12159
12160 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
12161
f7a6bb70
DJ
121622007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12163
12164 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
12165
57e66780
DJ
121662007-01-08 Nick Roberts <nickrob@snap.net.nz>
12167 Daniel Jacobowitz <dan@codesourcery.com>
12168
12169 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
12170 lcharacter or linteger change. Correct duplicated test name.
12171 * gdb.mi/mi2-var-cmd.exp: Likewise.
12172
3d799a95
DJ
121732007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12174
12175 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
12176
121772007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 12178
a9c64011
AS
12179 * gdb.base/nofield.c: New file.
12180 * gdb.base/nofield.exp: New testcase.
51679ba9 12181
eafb94e8
NR
121822007-01-05 Nick Roberts <nickrob@snap.net.nz>
12183
12184 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
12185
12186 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
12187 test.
12188
5e572bb4
DJ
121892007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12190
12191 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
12192
74a44383
DJ
121932007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12194
12195 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
12196 when continuing.
12197
1b572db9
DJ
121982007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12199
12200 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
12201 Expect ".exe" extension.
12202
381bc39b
DJ
122032007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12204
12205 * gdb.base/charset.exp: Add explicit filename to break.
12206 * gdb.base/dbx.exp: Add explicit filename to breaks.
12207
2b70e4c6
DJ
122082007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12209
12210 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
12211 * gdb.mi/mi2-file.exp: Likewise.
12212
303b6f5d
DJ
122132007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12214
12215 Implement specification of MI tests as comments
12216 in C and C++ sources.
12217 * lib/mi-support.exp (mi_autotest_data): New variable.
12218 (mi_autotest_source): New variable.
12219 (count_newlines, mi_prepare_inline_tests)
12220 (mi_get_inline_test, mi_continue_to_line)
12221 (mi_run_inline_test, mi_tbreak)
12222 (mi_send_resuming_command, mi_wait_for_stop): New functions.
12223 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
12224 Run inline tests.
12225 * gdb.mi/mi-var-cp.cc: Define tests here.
12226
23da0d94
VP
122272007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12228
12229 Simplify usage of mi_continue_to.
12230 * lib/mi-support.exp (mi_runto_helper): Renamed
12231 from mi_runto, added new parameter 'run_or_continue'.
12232 (mi_runto): Use mi_runto_helper.
12233 (mi_continue_to): Accept just function name as parameter.
12234 Use mi_runto_helper.
12235 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
12236 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 12237
f9e18282
JB
122382006-01-04 Joel Brobecker <brobecker@adacore.com>
12239
12240 Make this testcase a bit more realistic. The current code
12241 is too simplistic, and allows the compiler to optimize out
12242 some of the entities we need for this testcase.
12243 * gdb.ada/null_record/bar.ads (Void_Star): New type.
12244 (Do_Nothing): Add extra parameter.
12245 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
12246 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
12247 by using a variable of type Void_Star.
12248
fd678c65
JB
122492006-01-04 Joel Brobecker <brobecker@adacore.com>
12250
12251 * gdb.ada/catch_ex/foo.adb: New file.
12252 * gdb.ada/catch_ex.exp: New testcase.
12253
05cfdb42
DJ
122542007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
12255
12256 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
12257 pass --image-base to linker.
12258
2e03ee74
DJ
122592007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12260 Daniel Jacobowitz <dan@codesourcery.com>
12261
12262 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
12263 secondary prompts.
12264
0d5de010
DJ
122652007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12266
12267 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
12268 output. Test the types of members and member pointers.
12269 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
12270 gdb/2092.
12271 * gdb.cp/member-ptr.exp: Search for a comment instead of a
12272 statement. Enable for GCC. Update expected output for some tests
12273 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
12274 layout.
12275 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
12276 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
12277 (Diamond::vget_base): New.
12278 (main): Add new tests.
12279 * gdb.cp/printmethod.exp: Update expected output for member functions.
12280 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
12281 print pEe->D::vg().
12282
61a771aa
DJ
122832007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12284
12285 * gdb.threads/tls.exp: Allow stops in sem_post.
12286
2fa63963
DJ
122872006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
12288
12289 * gdb.base/annota1.exp: Allow .*printf in backtraces.
12290 * gdb.base/annota3.exp: Likewise.
12291 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
12292 again (instead of timing out).
12293 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
12294 GCC bug 26475.
12295 * gdb.java/jmisc.exp: Adjust to work with method signatures including
12296 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
12297 test from jmisc1.exp.
12298 * gdb.java/jmisc1.exp: Delete.
12299 * gdb.java/jprint.exp: Adjust to work with method signatures including
12300 return types.
12301 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
12302 * gdb.threads/linux-dp.exp: Don't be confused by program output.
12303 * lib/java.exp (compile_java_from_source): Pass the correct type
12304 to target_compile.
12305
5eefc2b7
JB
123062006-12-31 Joel Brobecker <brobecker@adacore.com>
12307
12308 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
12309 (stack_align_edx): New function.
12310 (stack_align_eax): New function.
12311 (main): Add calls to stack_align_edx and stack_align_eax.
12312 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
12313 Add testing for the cases where the register used during a stack
12314 realignment is edx. Same for eax.
12315
227c54da
DJ
123162006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
12317
12318 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
12319 and generic PE targets.
12320
cab8ac94
JB
123212006-12-29 Joel Brobecker <brobecker@adacore.com>
12322
12323 * gdb.ada/array_return.exp: Update copyright date list.
12324
ba54f318
JB
123252006-12-27 Joel Brobecker <brobecker@adacore.com>
12326
12327 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
12328 (Create_Small_Float_Vector): New function.
12329 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
12330 function body.
12331 * gdb.ada/array_return/p.adb: Use new type and function from
12332 package Pck.
12333 * gdb.ada/array_return.exp: Add a test verifying that GDB is
12334 able to print the value returned by a function returning an
12335 array of float.
12336
6b7a35dd
JB
123372006-12-20 Joel Brobecker <brobecker@adacore.com>
12338
12339 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
12340 The associated tests should be PASSing.
12341
038224f6
VP
123422006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12343
12344 Test for base in references.
12345 * gdb.mi/mi-var-cp.cc: Add test code.
12346 * gdb.mi/mi-var-cp.exp: Test for bases in references.
12347 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
12348 * gdb.mi/mi2-watch.exp: Likewise.
12349 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
12350 (mi_list_varobj_children): New function.
12351
b26ed50d
VP
123522006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12353
12354 * lib/mi-support.exp
12355 (mi_runto): Accept "()" after function name.
12356 (mi_create_varobj): New function.
12357 (mi_varobj_update): New function.
12358 (mi_Check_varobj_value): New function.
12359 * gdb.mi/mi-var-cp.exp: New file.
12360 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 12361
08232497
DJ
123622006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
12363
12364 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
12365 gdb.base/weaklib2.c: New files.
12366
d394c993 123672006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 12368
ac6c2fba
NS
12369 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
12370 info. Adjust test names.
12371
8ec659a0 12372 * gdb.base/break.c (main): Move position of malloc.
d394c993 12373 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 12374
acd65feb
VP
123752006-11-28 Vladimir Prus <vladimir@codesourcery.com>
12376
12377 * gdb.mi/mi-var-cmd.exp: Check -var-update after
12378 assignement of arrays and function pointers.
12379 * gdb.mi/var-cmd.c: Add declaration necessary for above
12380 tests.
12381
f556d5e5
NS
123822006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12383
12384 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
12385
12386 * gdb.threads/linux-dp.exp: Read thread table before and after
12387 creating each philosopher and verify it.
12388
697bc68d
NS
123892006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12390 Paul Brook <paul@codesourcery.com>
12391 Daniel Jacobowitz <dan@codesourcery.com>
12392
12393 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 12394 main to remove duplication. Add start function of the form
697bc68d
NS
12395 '_*start[1-9]*'. Add RVDS start function.
12396
29d73ae4
DJ
123972006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12398
12399 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
12400
c1d88655
UW
124012006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12402
12403 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
12404 * gdb.asm/spu.inc: New file.
12405 * gdb.base/term.exp: Disable if [target_info exists noargs].
12406 * gdb.gdb/complaints.exp: Disable if ![isnative].
12407 * gdb.gdb/selftest.exp: Likewise.
12408 * gdb.gdb/observer.exp: Likewise.
12409 * gdb.gdb/xfullpath.exp: Likewise.
12410 * gdb.base/attach.exp: Disable on SPU target.
12411 * gdb.cp/bs145503.exp: Likewise.
12412 * gdb.cp/exception.exp: Likewise.
12413 * gdb.cp/userdef.exp: Likewise.
12414
32a13b1a
DJ
124152006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12416
12417 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
12418
d8295fe9
VP
124192006-11-10 Vladimir Prus <vladimir@codesourcery.com>
12420
12421 * gdb.base/completion.exp: Fix completion tests for
12422 'info' and 'info '.
12423 * gdb.base/help.exp (help_test_raw, test_class_help)
12424 (test_prefix_command_help): Move...
12425 * lib/gdb.exp: Here.
12426 * gdb.base/main.exp: Adjust.
12427 * gdb.cp/maint.exp: Adjust.
12428 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 12429
8c394015
VP
124302006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12431
12432 * gdb.stabs/weird.exp (print_weird_var): Use
12433 gdb_test_multiple instead of gdb_expect.
12434
027fc1bc
VP
124352006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12436
12437 * gdb.base/help.exp (help_test_raw): New.
12438 (test_class_help): New.
12439 (test_prefix_command_help): New.
12440 Adjust testcases.
12441
67609209
FR
124422006-11-09 Christophe Lyon <christophe.lyon@st.com>
12443
12444 * gdb.base/constvars.c (main): Write to crass and crips, so that
12445 they are allocated by the compiler.
12446
f73adfeb
AS
124472006-10-27 Andreas Schwab <schwab@suse.de>
12448
12449 * gdb.base/multi-forks.exp: Use "detach fork" instead of
12450 "detach-fork".
12451
2f83a18e
DJ
124522006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
12453
12454 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
12455 of patterns.
12456
94277a38
DJ
124572006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12458
12459 * gdb.base/sepdebug.exp: Remove debug format test.
12460 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
12461 Handle no-symtab.
12462 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
12463
5bd2f6e2
DJ
124642006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12465
12466 * gdb.threads/manythreads.c (thread_function, main): Don't cast
12467 int to pointer or pointer to int.
12468 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
12469
8c008720
DJ
124702006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
12471
12472 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
12473
9e35dae4
DJ
124742006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12475
12476 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
12477
d9639e13
DJ
124782006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
12479
12480 PR c++/2116
12481 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
12482
390a1bd0
JB
124832006-10-06 Joel Brobecker <brobecker@adacore.com>
12484
12485 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
12486 the corresponding bug has been fixed in GDB (PR/2018).
12487
dd920c33
JB
124882006-10-06 Joel Brobecker <brobecker@adacore.com>
12489
12490 * gdb.base/subst.exp: New testcase.
12491
53bbefe9
JB
124922006-10-06 Joel Brobecker <brobecker@adacore.com>
12493
12494 * gdb.ada/array_return/pck.ads: Add copyright notice.
12495 * gdb.ada/array_return/pck.adb: Likewise.
12496 * gdb.ada/array_return/p.adb: Likewise.
12497 * gdb.ada/exec_changed/first.adb: Likewise.
12498 * gdb.ada/exec_changed/second.adb: Likewise.
12499
09851417
JB
125002006-10-06 Joel Brobecker <brobecker@adacore.com>
12501
12502 * gdb.ada/watch_arg/watch.adb: New file.
12503 * gdb.ada/watch_arg.exp: New testcase.
12504
041bf30d
VP
125052006-10-02 Vladimir Prus <vladimir@codesourcery.com>
12506
12507 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 12508 via string_to_regexp.
041bf30d 12509 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 12510
f286fbdd 125112006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
12512
12513 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
12514 Remove unused / obsolete files.
12515
7c07f349
NR
125162006-09-19 Nick Roberts <nickrob@snap.net.nz>
12517
12518 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
12519
cd5ff84a
VP
125202006-09-17 Vladimir Prus <vladimir@codesourcery.com>
12521
12522 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
12523 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 12524 the number of frames.
cd5ff84a 12525
ae018d1a
DJ
125262006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
12527
12528 * gdb.base/args.c (main): Add breakpoint marker.
12529 * gdb.base/args.exp: Use args_test for tests. Add new tests which
12530 really test empty arguments.
12531 (args_load): Delete.
12532 (args_test): New.
12533
b399c549
NR
125342006-09-13 Nick Roberts <nickrob@snap.net.nz>
12535
12536 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 12537 check for one file.
b399c549 12538
2ab1eb7a
VP
125392006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
12540
12541 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
12542 HIGH_FRAME argument to -stack-list-locals can be larger than
12543 the number of frames.
a9c64011 12544
476308bf
FF
125452006-08-18 Fred Fish <fnf@specifix.com>
12546
12547 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
12548 '$' in front of skip_vmx_tests_saved when setting that.
12549
8625200f
AS
125502006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
12551
12552 * gdb.base/trace-commands.exp: New file.
12553
089ec8f1
DJ
125542006-08-10 Joel Brobecker <brobecker@adacore.com>
12555 Daniel Jacobowitz <dan@codesourcery.com>
12556
12557 * gdb.base/step-bt.exp: Make hexadecimal address optional in
12558 expected output of the backtrace commands.
12559
b60f0898
JB
125602006-08-09 Joel Brobecker <brobecker@adacore.com>
12561
12562 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
12563 untested followed by return combination.
12564 * gdb.arch/altivec-regs.exp: Likewise.
12565 * gdb.arch/e500-abi.exp: Likewise.
12566 * gdb.arch/e500-regs.exp: Likewise.
12567 * gdb.arch/gdb1291.exp: Likewise.
12568 * gdb.arch/gdb1431.exp: Likewise.
12569 * gdb.arch/gdb1558.exp: Likewise.
12570 * gdb.arch/i386-prologue.exp: Likewise.
12571 * gdb.arch/i386-unwind.exp: Likewise.
12572 * gdb.asm/asm-source.exp: Likewise.
12573 * gdb.base/a2-run.exp: Likewise.
12574 * gdb.base/advance.exp: Likewise.
12575 * gdb.base/all-bin.exp: Likewise.
12576 * gdb.base/annota1.exp: Likewise.
12577 * gdb.base/annota3.exp: Likewise.
12578 * gdb.base/args.exp: Likewise.
12579 * gdb.base/arithmet.exp: Likewise.
12580 * gdb.base/assign.exp: Likewise.
12581 * gdb.base/async.exp: Likewise.
12582 * gdb.base/attach.exp: Likewise.
12583 * gdb.base/bang.exp: Likewise.
12584 * gdb.base/bigcore.exp: Likewise.
12585 * gdb.base/bitfields.exp: Likewise.
12586 * gdb.base/bitfields2.exp: Likewise.
12587 * gdb.base/break.exp: Likewise.
12588 * gdb.base/call-sc.exp: Likewise.
12589 * gdb.base/call-strs.exp: Likewise.
12590 * gdb.base/callfuncs.exp: Likewise.
12591 * gdb.base/checkpoint.exp: Likewise.
12592 * gdb.base/chng-syms.exp: Likewise.
12593 * gdb.base/code-expr.exp: Likewise.
12594 * gdb.base/commands.exp: Likewise.
12595 * gdb.base/completion.exp: Likewise.
12596 * gdb.base/cond-expr.exp: Likewise.
12597 * gdb.base/condbreak.exp: Likewise.
12598 * gdb.base/consecutive.exp: Likewise.
12599 * gdb.base/constvars.exp: Likewise.
12600 * gdb.base/corefile.exp: Likewise.
12601 * gdb.base/cvexpr.exp: Likewise.
12602 * gdb.base/dbx.exp: Likewise.
12603 * gdb.base/define.exp: Likewise.
12604 * gdb.base/detach.exp: Likewise.
12605 * gdb.base/display.exp: Likewise.
12606 * gdb.base/dump.exp: Likewise.
12607 * gdb.base/ena-dis-br.exp: Likewise.
12608 * gdb.base/ending-run.exp: Likewise.
12609 * gdb.base/environ.exp: Likewise.
12610 * gdb.base/eval-skip.exp: Likewise.
12611 * gdb.base/exprs.exp: Likewise.
12612 * gdb.base/fileio.exp: Likewise.
12613 * gdb.base/finish.exp: Likewise.
12614 * gdb.base/float.exp: Likewise.
12615 * gdb.base/foll-exec.exp: Likewise.
12616 * gdb.base/foll-fork.exp: Likewise.
12617 * gdb.base/foll-vfork.exp: Likewise.
12618 * gdb.base/freebpcmd.exp: Likewise.
12619 * gdb.base/funcargs.exp: Likewise.
12620 * gdb.base/gcore.exp: Likewise.
12621 * gdb.base/gdb1090.exp: Likewise.
12622 * gdb.base/gdb1250.exp: Likewise.
12623 * gdb.base/huge.exp: Likewise.
12624 * gdb.base/info-proc.exp: Likewise.
12625 * gdb.base/interrupt.exp: Likewise.
12626 * gdb.base/jump.exp: Likewise.
12627 * gdb.base/langs.exp: Likewise.
12628 * gdb.base/lineinc.exp: Likewise.
12629 * gdb.base/list.exp: Likewise.
12630 * gdb.base/logical.exp: Likewise.
12631 * gdb.base/long_long.exp: Likewise.
12632 * gdb.base/macscp.exp: Likewise.
12633 * gdb.base/maint.exp: Likewise.
12634 * gdb.base/mips_pro.exp: Likewise.
12635 * gdb.base/miscexprs.exp: Likewise.
12636 * gdb.base/multi-forks.exp: Likewise.
12637 * gdb.base/opaque.exp: Likewise.
12638 * gdb.base/overlays.exp: Likewise.
12639 * gdb.base/pc-fp.exp: Likewise.
12640 * gdb.base/pointers.exp: Likewise.
12641 * gdb.base/printcmds.exp: Likewise.
12642 * gdb.base/psymtab.exp: Likewise.
12643 * gdb.base/ptype.exp: Likewise.
12644 * gdb.base/recurse.exp: Likewise.
12645 * gdb.base/relational.exp: Likewise.
12646 * gdb.base/relocate.exp: Likewise.
12647 * gdb.base/remote.exp: Likewise.
12648 * gdb.base/reread.exp: Likewise.
12649 * gdb.base/restore.exp: Likewise.
12650 * gdb.base/return.exp: Likewise.
12651 * gdb.base/return2.exp: Likewise.
12652 * gdb.base/scope.exp: Likewise.
12653 * gdb.base/sect-cmd.exp: Likewise.
12654 * gdb.base/sep.exp: Likewise.
12655 * gdb.base/sepdebug.exp: Likewise.
12656 * gdb.base/setshow.exp: Likewise.
12657 * gdb.base/setvar.exp: Likewise.
12658 * gdb.base/sigall.exp: Likewise.
12659 * gdb.base/sigbpt.exp: Likewise.
12660 * gdb.base/signals.exp: Likewise.
12661 * gdb.base/signull.exp: Likewise.
12662 * gdb.base/sizeof.exp: Likewise.
12663 * gdb.base/solib.exp: Likewise.
12664 * gdb.base/step-line.exp: Likewise.
12665 * gdb.base/step-test.exp: Likewise.
12666 * gdb.base/structs.exp: Likewise.
12667 * gdb.base/structs2.exp: Likewise.
12668 * gdb.base/term.exp: Likewise.
12669 * gdb.base/twice.exp: Likewise.
12670 * gdb.base/until.exp: Likewise.
12671 * gdb.base/varargs.exp: Likewise.
12672 * gdb.base/volatile.exp: Likewise.
12673 * gdb.base/watchpoint.exp: Likewise.
12674 * gdb.base/whatis-exp.exp: Likewise.
12675 * gdb.base/whatis.exp: Likewise.
12676 * gdb.cp/ambiguous.exp: Likewise.
12677 * gdb.cp/annota2.exp: Likewise.
12678 * gdb.cp/annota3.exp: Likewise.
12679 * gdb.cp/bool.exp: Likewise.
12680 * gdb.cp/breakpoint.exp: Likewise.
12681 * gdb.cp/casts.exp: Likewise.
12682 * gdb.cp/class2.exp: Likewise.
12683 * gdb.cp/classes.exp: Likewise.
12684 * gdb.cp/cplusfuncs.exp: Likewise.
12685 * gdb.cp/ctti.exp: Likewise.
12686 * gdb.cp/derivation.exp: Likewise.
12687 * gdb.cp/exception.exp: Likewise.
12688 * gdb.cp/gdb1355.exp: Likewise.
12689 * gdb.cp/hang.exp: Likewise.
12690 * gdb.cp/inherit.exp: Likewise.
12691 * gdb.cp/local.exp: Likewise.
12692 * gdb.cp/m-data.exp: Likewise.
12693 * gdb.cp/m-static.exp: Likewise.
12694 * gdb.cp/member-ptr.exp: Likewise.
12695 * gdb.cp/method.exp: Likewise.
12696 * gdb.cp/misc.exp: Likewise.
12697 * gdb.cp/namespace.exp: Likewise.
12698 * gdb.cp/overload.exp: Likewise.
12699 * gdb.cp/ovldbreak.exp: Likewise.
12700 * gdb.cp/pr-1023.exp: Likewise.
12701 * gdb.cp/pr-1210.exp: Likewise.
12702 * gdb.cp/pr-574.exp: Likewise.
12703 * gdb.cp/printmethod.exp: Likewise.
12704 * gdb.cp/psmang.exp: Likewise.
12705 * gdb.cp/ref-params.exp: Likewise.
12706 * gdb.cp/ref-types.exp: Likewise.
12707 * gdb.cp/rtti.exp: Likewise.
12708 * gdb.cp/templates.exp: Likewise.
12709 * gdb.cp/try_catch.exp: Likewise.
12710 * gdb.cp/userdef.exp: Likewise.
12711 * gdb.cp/virtfunc.exp: Likewise.
12712 * gdb.disasm/am33.exp: Likewise.
12713 * gdb.disasm/h8300s.exp: Likewise.
12714 * gdb.disasm/mn10300.exp: Likewise.
12715 * gdb.disasm/sh3.exp: Likewise.
12716 * gdb.disasm/t01_mov.exp: Likewise.
12717 * gdb.disasm/t02_mova.exp: Likewise.
12718 * gdb.disasm/t03_add.exp: Likewise.
12719 * gdb.disasm/t04_sub.exp: Likewise.
12720 * gdb.disasm/t05_cmp.exp: Likewise.
12721 * gdb.disasm/t06_ari2.exp: Likewise.
12722 * gdb.disasm/t07_ari3.exp: Likewise.
12723 * gdb.disasm/t08_or.exp: Likewise.
12724 * gdb.disasm/t09_xor.exp: Likewise.
12725 * gdb.disasm/t10_and.exp: Likewise.
12726 * gdb.disasm/t11_logs.exp: Likewise.
12727 * gdb.disasm/t12_bit.exp: Likewise.
12728 * gdb.disasm/t13_otr.exp: Likewise.
12729 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
12730 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
12731 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12732 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
12733 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
12734 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12735 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12736 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
12737 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
12738 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
12739 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
12740 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
12741 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
12742 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
12743 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
12744 * gdb.mi/gdb701.exp: Likewise.
12745 * gdb.mi/gdb792.exp: Likewise.
12746 * gdb.mi/mi-basics.exp: Likewise.
12747 * gdb.mi/mi-break.exp: Likewise.
12748 * gdb.mi/mi-cli.exp: Likewise.
12749 * gdb.mi/mi-console.exp: Likewise.
12750 * gdb.mi/mi-disassemble.exp: Likewise.
12751 * gdb.mi/mi-eval.exp: Likewise.
12752 * gdb.mi/mi-file.exp: Likewise.
12753 * gdb.mi/mi-read-memory.exp: Likewise.
12754 * gdb.mi/mi-regs.exp: Likewise.
12755 * gdb.mi/mi-return.exp: Likewise.
12756 * gdb.mi/mi-simplerun.exp: Likewise.
12757 * gdb.mi/mi-stack.exp: Likewise.
12758 * gdb.mi/mi-stepi.exp: Likewise.
12759 * gdb.mi/mi-syn-frame.exp: Likewise.
12760 * gdb.mi/mi-until.exp: Likewise.
12761 * gdb.mi/mi-var-block.exp: Likewise.
12762 * gdb.mi/mi-var-child.exp: Likewise.
12763 * gdb.mi/mi-var-cmd.exp: Likewise.
12764 * gdb.mi/mi-var-display.exp: Likewise.
12765 * gdb.mi/mi-watch.exp: Likewise.
12766 * gdb.mi/mi2-basics.exp: Likewise.
12767 * gdb.mi/mi2-break.exp: Likewise.
12768 * gdb.mi/mi2-cli.exp: Likewise.
12769 * gdb.mi/mi2-console.exp: Likewise.
12770 * gdb.mi/mi2-disassemble.exp: Likewise.
12771 * gdb.mi/mi2-eval.exp: Likewise.
12772 * gdb.mi/mi2-file.exp: Likewise.
12773 * gdb.mi/mi2-read-memory.exp: Likewise.
12774 * gdb.mi/mi2-regs.exp: Likewise.
12775 * gdb.mi/mi2-return.exp: Likewise.
12776 * gdb.mi/mi2-simplerun.exp: Likewise.
12777 * gdb.mi/mi2-stack.exp: Likewise.
12778 * gdb.mi/mi2-stepi.exp: Likewise.
12779 * gdb.mi/mi2-syn-frame.exp: Likewise.
12780 * gdb.mi/mi2-until.exp: Likewise.
12781 * gdb.mi/mi2-var-block.exp: Likewise.
12782 * gdb.mi/mi2-var-child.exp: Likewise.
12783 * gdb.mi/mi2-var-cmd.exp: Likewise.
12784 * gdb.mi/mi2-var-display.exp: Likewise.
12785 * gdb.mi/mi2-watch.exp: Likewise.
12786 * gdb.stabs/exclfwd.exp: Likewise.
12787 * gdb.stabs/weird.exp: Likewise.
12788 * gdb.threads/gcore-thread.exp: Likewise.
12789 * gdb.trace/actions.exp: Likewise.
12790 * gdb.trace/backtrace.exp: Likewise.
12791 * gdb.trace/circ.exp: Likewise.
12792 * gdb.trace/collection.exp: Likewise.
12793 * gdb.trace/deltrace.exp: Likewise.
12794 * gdb.trace/infotrace.exp: Likewise.
12795 * gdb.trace/limits.exp: Likewise.
12796 * gdb.trace/packetlen.exp: Likewise.
12797 * gdb.trace/passc-dyn.exp: Likewise.
12798 * gdb.trace/passcount.exp: Likewise.
12799 * gdb.trace/report.exp: Likewise.
12800 * gdb.trace/save-trace.exp: Likewise.
12801 * gdb.trace/tfind.exp: Likewise.
12802 * gdb.trace/tracecmd.exp: Likewise.
12803 * gdb.trace/while-dyn.exp: Likewise.
12804 * gdb.trace/while-stepping.exp: Likewise.
12805
f4b618d1
JB
128062006-08-08 Joel Brobecker <brobecker@adacore.com>
12807
12808 * gdb.base/step-bt.c: New file.
12809 * gdb.base/step-bt.exp: New testcase.
12810
3d00d119
DJ
128112006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
12812
12813 * config/monitor.exp (gdb_load): Remove support for obsolete
12814 download-write-size.
12815 * gdb.base/remote.exp: Likewise. Update all callers of
12816 gdb_timed_load.
12817
017b5bd4
DJ
128182006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
12819
12820 * cursal.exp: Pass binfile to gdb_load.
12821
837c599d
DJ
128222006-08-01 Nathan Sidwell <nathan@codesourcery.com>
12823
12824 * gdb.base/cursal.exp: Add "" to gdb_load call.
12825
8dd4540b
MK
128262006-07-29 Mark Kettenis <kettenis@gnu.org>
12827
12828 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
12829 NetBSD/ELF targets.
12830
ab5c9f60
DJ
128312006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
12832
12833 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
12834 operator*.
12835
4c42eaff
DJ
128362006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
12837
12838 * gdb.base/completion.exp: Update for change in "file" behavior.
12839 * gdb.stabs/weird.exp: Likewise.
12840 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
12841 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
12842
0155cc76
NS
128432006-07-24 Nathan Sidwell <nathan@codesourcery.com>
12844
12845 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
12846 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
12847
16026cd7
AS
128482006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
12849
12850 * gdb.base/default.exp: Update source command error message.
12851 * gdb.base/help.exp: Update 'help source' message.
12852
16963cb6
DJ
128532006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
12854
12855 * gdb.cp/bs15503.exp: Update comment for no longer crashing
12856 test.
12857
6d7fd486
AS
128582006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
12859
12860 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
12861
29e8a844
DJ
128622006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12863
12864 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
12865
6afcfa39
DJ
128662006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12867
12868 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
12869
267a692b
MK
128702006-07-17 Mark Kettenis <kettenis@gnu.org>
12871
12872 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
12873 *-*-openbsd* from targets for wich we expect ARM FPA floating
12874 point format.
12875
85d2fec4
NR
128762006-07-17 Nick Roberts <nickrob@snap.net.nz>
12877
12878 * gdb.cp/annota3.exp: Expect frame-begin annotation.
12879
128802006-07-17 Mark Kettenis <kettenis@gnu.org>
12881
12882 * gdb.base/annota3.exp: Expect frame-begin annotation.
12883
85b4c6e8
JB
128842006-07-14 Joel Brobecker <brobecker@adacore.com>
12885
12886 * gdb.base/help.exp: Adjust "help unset" test to accept
12887 any list of unset commands.
12888
fb933624
DJ
128892006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
12890 Daniel Jacobowitz <dan@codesourcery.com>
12891
12892 * gdb.cp/ref-params.exp: New test.
12893 * gdb.cp/ref-params.cc: New source file.
12894 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
12895
1dff4b64
MK
128962006-07-08 Mark Kettenis <kettenis@gnu.org>
12897
12898 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
12899 spaces/tabs in regular expressions since they might not be there.
12900
40d2e0e3
AS
129012006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
12902
12903 * gdb.base/ifelse.exp: New file.
12904
f6c957d2
NS
129052006-07-04 Nathan Sidwell <nathan@codesourcery.com>
12906
12907 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
12908 line.
12909 * gdb.base/huge.exp: Loop over compilation to find a size that
12910 is acceptable.
12911 * gdb.base/remote.exp: Correct expected strings.
12912 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
12913
b9c5a23d
DJ
129142006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12915
12916 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
12917
9af2e58d
DJ
129182006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12919
12920 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
12921 native.
12922
30930ca5
DJ
129232006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12924
12925 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
12926 enable stabs testing.
12927
aa32fa1d
DJ
129282006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12929
bd4a4c80 12930 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
12931 gdb_test_multiple does.
12932
321fef15
DJ
129332006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12934
12935 * Makefile.in (host_alias): Remove.
12936 (target_alias): Use @target_noncanonical@.
12937 (site.exp): Don't set host_alias.
12938 * aclocal.m4: Remove contents. Include acx.m4.
12939 * configure: Regenerated.
12940 * configure.ac: Use ACX_NONCANONICAL_TARGET.
12941
e1c2defa
NS
129422006-06-13 Nathan Sidwell <nathan@codesourcery.com>
12943
e63b55d1
NS
12944 * lib/gdb.exp (gdb_load_cmd): New.
12945
5600ea19
NS
12946 * gdb.base/fileio.c: Add system(NULL) test.
12947 * gdb.base/fileio.exp: Check it.
12948
e1c2defa
NS
12949 * gdb.base/break.c: Add 10a breakpoint at }
12950 * gdb.base/break.exp: Add test for breakpoint at }
12951 * gdb.cp/anon-union.cc: Add code at end of function.
12952 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
12953 * gdb.mi/var-cmd.c: Add code at end of function.
12954 * gdb.mi/mi-var-display.exp: Adjust end of next.
12955 * gdb.mi/mi2-var-display.exp: Likewise.
12956 * gdb.base/fileio.c: Add stop function and insert calls at
12957 stopping places.
12958 * gdb.base/fileio.exp: Breakpoint stop function and remove
12959 explicit line number references.
12960
6c0112ec
JB
129612006-05-19 Joel Brobecker <brobecker@adacore.com>
12962
a9c64011
AS
12963 * gdb.base/del.exp (test_delete_alias): New function.
12964 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 12965
154189a4
FF
129662006-05-18 Fred Fish <fnf@specifix.com>
12967
12968 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
12969 required. Check for spurious output after program exits normally.
12970
582e64c2
FF
129712006-05-17 Fred Fish <fnf@specifix.com>
12972
12973 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
12974 gdb_load, so it works in the simulator.
12975
8ef6493a
FF
129762006-05-11 Fred Fish <fnf@specifix.com>
12977
12978 * gdb.base/bang.exp: Ignore unexpected output between the
12979 "program exited normally" and the gdb prompt, as many other
12980 tests do.
12981
692b141c
MK
129822006-05-07 Mark Kettenis <kettenis@gnu.org>
12983
12984 * gdb.base/help.exp: Make "delete checkpoint" part option for
12985 "help d" and "help delete" tests.
12986
540b8a30
UW
129872006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12988
a9c64011 12989 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
12990 expected output in some mi_gdb_test statements.
12991 * gdb.mi/mi2-basics.exp: Likewise.
12992
9b6462d9
JB
129932006-05-05 Joel Brobecker <brobecker@adacore.com>
12994
12995 * gdb.base/del.c: New file.
12996 * gdb.base/del.exp: New testcase.
12997
954de43b
DM
129982006-05-05 David S. Miller <davem@sunset.davemloft.net>
12999
13000 * gdb.base/break.exp: Do not assume a breakpoint on
13001 main will actually be in $srcfile when optimizing.
1303f75e
DM
13002 * gdb.base/savedregs.exp: Do not require that the dummy
13003 frame location match up to a symbol and source file location.
c3242428
DM
13004 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
13005 will get printed without a mi_cmd_data_list_register_values prefix.
13006 (*-data-list-register-*): Correct regular expressions to expect the new
13007 pseudo d? floating point registers.
13008 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 13009
c7e64c9a
DJ
130102006-05-05 Christophe Lyon <christophe.lyon@st.com>
13011
13012 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
13013 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
13014 is allocated by the compiler.
13015 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
13016 anons, e, anone to force their allocation by the compiler.
13017
130182006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
13019
13020 * gdb.base/help.exp: Update expected text for help d and
13021 help delete.
13022
27ce9a6d
MK
130232006-05-02 Mark Kettenis <kettenis@gnu.org>
13024
13025 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
13026 NetBSD/ELF targets.
13027
8608915f
MK
130282006-04-30 Mark Kettenis <kettenis@gnu.org>
13029
13030 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
13031 single-step breakpoint fails; make this a KFAIL on
13032 sparc*-*-openbsd*.
13033 * gdb.base/siginfo.exp: Likewise.
13034 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13035
b8db102d
MS
130362006-04-26 Michael Snyder <msnyder@redhat.com>
13037
13038 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
13039 which may have to consume output from other forks.
13040 Add tests to make sure that "delete fork" succeeded.
13041
c702009a
MS
130422006-04-20 Michael Snyder <msnyder@redhat.com>
13043
13044 * 2006-03-22 Jim Blandy <jimb@redhat.com>
13045 Add support for the Renesas M32C and M16C.
13046
13047 * gdb.asm/asm-source.exp: Add m32c target.
13048 * gdb.asm/m32c.inc: Support for m32c target.
13049
e28493f2
AS
130502006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
13051
13052 * gdb.base/commands.exp (recursive_source_test): New test.
13053
880da185
DM
130542006-04-04 David S. Miller <davem@sunset.davemloft.net>
13055
13056 * gdb.base/float.exp: Add pattern for sparc targets.
13057
61d9b92f
DJ
130582006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
13059
13060 * gdb.base/commands.exp (stray_arg0_test): New test.
13061
bd717df8
PB
130622006-03-30 Paul Brook <paul@codesourcery.com>
13063
13064 * gdb.mi/mi-until.exp: kfail broken until command.
13065 * gdb.mi/mi2-until.exp: Ditto.
13066
ec793d3c
NR
130672006-03-27 Nick Roberts <nickrob@snap.net.nz>
13068
13069 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
13070
831004b7
AO
130712006-03-08 Alexandre Oliva <aoliva@redhat.com>
13072
13073 * gdb.base/prelink.exp: Anchor tested-for regular expression
13074 on gdb prompt.
13075
effe49a0
PB
130762006-03-07 Paul Brook <paul@codesourcery.com>
13077
13078 * gdb.base/assign.exp: Correct fail message.
13079
e5461016
PB
130802006-03-07 Paul Brook <paul@codesourcery.com>
13081
13082 * lib/compiler.c: Extract armcc version number.
13083 * lib/compiler.cc: Ditto.
13084
fc91c6c2
PB
130852006-03-07 Paul Brook <paul@codesourcery.com>
13086
13087 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
13088 additional_flags=-w.
13089 * gdb.arch/altivec-regs.exp: Ditto.
13090 * gdb.arch/e500-abi.exp: Ditto.
13091 * gdb.arch/e500-regs.exp: Ditto.
13092 * gdb.base/all-bin.exp: Ditto.
13093 * gdb.base/annota1.exp: Ditto.
13094 * gdb.base/annota3.exp: Ditto.
13095 * gdb.base/args.exp: Ditto.
13096 * gdb.base/arithmet.exp: Ditto.
13097 * gdb.base/assign.exp: Ditto.
13098 * gdb.base/async.exp: Ditto.
13099 * gdb.base/bang.exp: Ditto.
13100 * gdb.base/break.exp: Ditto.
13101 * gdb.base/call-rt-st.exp: Ditto.
13102 * gdb.base/completion.exp: Ditto.
13103 * gdb.base/cond-expr.exp: Ditto.
13104 * gdb.base/condbreak.exp: Ditto.
13105 * gdb.base/consecutive.exp: Ditto.
13106 * gdb.base/define.exp: Ditto.
13107 * gdb.base/display.exp: Ditto.
13108 * gdb.base/ena-dis-br.exp: Ditto.
13109 * gdb.base/environ.exp: Ditto.
13110 * gdb.base/eval-skip.exp: Ditto.
13111 * gdb.base/info-proc.exp: Ditto.
13112 * gdb.base/jump.exp: Ditto.
13113 * gdb.base/logical.exp: Ditto.
13114 * gdb.base/long_long.exp: Ditto.
13115 * gdb.base/maint.exp: Ditto.
13116 * gdb.base/miscexprs.exp: Ditto.
13117 * gdb.base/pc-fp.exp: Ditto.
13118 * gdb.base/pointers.exp: Ditto.
13119 * gdb.base/relational.exp: Ditto.
13120 * gdb.base/reread.exp: Ditto.
13121 * gdb.base/sect-cmd.exp: Ditto.
13122 * gdb.base/sep.exp: Ditto.
13123 * gdb.base/sepdebug.exp: Ditto.
13124 * gdb.base/until.exp: Ditto.
13125 * gdb.base/whatis-exp.exp: Ditto.
13126 * gdb.cp/annota2.exp: Ditto.
13127 * gdb.cp/annota3.exp: Ditto.
13128 * gdb.trace/actions.exp: Ditto.
13129 * gdb.trace/backtrace.exp: Ditto.
13130 * gdb.trace/circ.exp: Ditto.
13131 * gdb.trace/collection.exp: Ditto.
13132 * gdb.trace/deltrace.exp: Ditto.
13133 * gdb.trace/infotrace.exp: Ditto.
13134 * gdb.trace/limits.exp: Ditto.
13135 * gdb.trace/packetlen.exp: Ditto.
13136 * gdb.trace/passc-dyn.exp: Ditto.
13137 * gdb.trace/passcount.exp: Ditto.
13138 * gdb.trace/report.exp: Ditto.
13139 * gdb.trace/save-trace.exp: Ditto.
13140 * gdb.trace/tfind.exp: Ditto.
13141 * gdb.trace/tracecmd.exp: Ditto.
13142 * gdb.trace/while-dyn.exp: Ditto.
13143 * gdb.trace/while-stepping.exp: Ditto.
13144 * lib/gdb.exp: Ditto.
13145 (gdb_compile): Handle nowarning option.
13146
5f4a23d9
AO
131472006-03-07 Alexandre Oliva <aoliva@redhat.com>
13148
13149 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
13150 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
13151 Rename executable to prelinkt. Don't re-prelink if we didn't
13152 get a core file. Test prelink -u exit status to tell whether
13153 prelinking failed. Use gdb_test_multiple.
13154
9733fc94
DJ
131552006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
13156
13157 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
13158 (do_tests): Call it.
13159
cc10cae3
AO
131602006-02-28 Alexandre Oliva <aoliva@redhat.com>
13161
13162 * gdb.base/prelink.exp: New test.
13163 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
13164
15c46491
WZ
131652006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
13166
13167 * gdb.fortran/derived-type.f90: New file.
13168 * gdb.fortran/derived-type.exp: New testcase.
13169
5c9f7ded
DJ
131702006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
13171
13172 * gdb.base/default.exp: Allow ';' as a directory separator.
13173
5b96932b
AS
131742006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13175
13176 * gdb.base/help.exp (help add-symbol-file): Update.
13177
1986bccd
AS
131782006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13179
13180 * gdb.base/help.exp (help load): Update expected results.
13181
a8b7528f
FF
131822006-02-19 Fred Fish <fnf@specifix.com>
13183
13184 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
13185 specifix hex value as part of results.
13186 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 13187
f8261448
FF
131882006-02-16 Fred Fish <fnf@specifix.com>
13189
13190 * gdb.base/whatis.c: Define variables using typedefs char_addr,
13191 ushort_addr, and slong_addr, so the typedefs are not optimized
13192 away.
13193 * gdb.base/whatis.exp: Add tests using type name for struct type,
13194 union type, enum type, and typedef.
a9c64011 13195
31d8bdd2
MK
131962006-02-13 Mark Kettenis <kettenis@gnu.org>
13197
13198 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
13199
34e41e63
JB
132002006-02-13 Jim Blandy <jimb@redhat.com>
13201
13202 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
13203 case where it takes two "next" commands to skip past the init
13204 call.
13205
ac6e4f31
FF
132062006-02-12 Fred Fish <fnf@specifix.com>
13207
13208 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
13209 to handle cases where it takes two "next" commands to skip
13210 past the init call.
13211
2db2d571
JB
132122006-02-07 Joel Brobecker <brobecker@adacore.com>
13213
13214 * gdb.ada/array_return.exp: Mark the last test as expected to fail
13215 on hppa32 targets.
13216
38fcd64c
DJ
132172006-02-06 Vladimir Prus <ghost@cs.msu.su>
13218
13219 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
13220 field.
13221
1315ad46
MK
132222006-01-29 Mark Kettenis <kettenis@gnu.org>
13223
13224 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
13225
5625b943
DJ
132262006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13227
13228 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
13229 files.
13230
80df1bbe
DJ
132312006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13232
13233 * gdb.cp/maint.exp: Set complaints to a positive value.
13234
9078e690
DJ
132352006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13236
13237 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
13238 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
13239 function name.
13240
9c903399
DJ
132412006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13242
13243 * gdb.base/checkpoint.c: Update copyright notice. Include
13244 <stdlib.h>.
13245
761ae4d6
JB
132462006-01-04 Jim Blandy <jimb@redhat.com>
13247
13248 * gdb.asm/asm-source.exp: Independently provide default values for
13249 asm-flags and debug-flags. Use 'string equal' to do the
13250 comparison, not the implicit expr's '==' operator. Remove
13251 now-unneeded assignments to asm-flags. In h8300 case, place
13252 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
13253
099ac3dd
MS
132542006-01-04 Michael Snyder <msnyder@redhat.com>
13255
13256 * gdb.base/checkpoint.c: New file.
13257 * gdb.base/checkpoint.exp: New file.
13258 * gdb.base/multi-fork.c: New file.
13259 * gdb.base/multi-fork.exp: New file.
13260 * gdb.base/pi.txt: New file (data for checkpoint.c test).
13261
f4d85314
FF
132622006-01-04 Fred Fish <fnf@specifix.com>
13263
13264 * gdb.base/ptype.c (foo): Add typedef.
13265 (intfoo): Add function.
13266 * gdb.base/ptype1.c: New file.
13267 * gdb.base/ptype.exp: Handle compilation and linking with two
13268 source files. Test that proper type for "foo" is found based
13269 on source context rather than first match found in symtabs.
13270
a1b06f35
MK
132712005-12-28 Mark Kettenis <kettenis@gnu.org>
13272
13273 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
13274 * gdb.asm/openbsd.inc: Indent commands.
13275
d082a1e2
MK
132762005-12-26 Mark Kettenis <kettenis@gnu.org>
13277
c65016bd
MK
13278 * gdb.base/freebpcmd.exp: Increase timeout.
13279
d082a1e2
MK
13280 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
13281
d3c32a0e
DJ
132822005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
13283
13284 * gdb.base/default.exp: Update check for "show version".
13285
9fdb1f50
RC
132862005-12-09 Randolph Chung <tausq@debian.org>
13287
13288 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
13289 * gdb.asm/pa64.inc: New file.
13290
5f2c56f7
RC
132912005-12-09 Randolph Chung <tausq@debian.org>
13292
13293 * gdb.asm/common.inc: Indent commands.
13294 * gdb.asm/asmsrc1.s: Likewise.
13295 * gdb.asm/asmsrc2.s: Likewise.
13296
8117349c
RC
132972005-12-09 Randolph Chung <tausq@debian.org>
13298
13299 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
13300 (get_addr_of_sym): Remove duplicate print.
13301 (gen_core): xfail hppa*-*-hpux*, update expected output.
13302 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
13303 * gdb.arch/pa64-nullify.s: New file.
13304
8f07f25a
RC
133052005-12-09 Randolph Chung <tausq@debian.org>
13306
13307 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
13308
55b39184
DJ
133092005-12-07 Christophe Lyon <christophe.lyon@st.com>
13310
13311 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
13312 code generation for these functions.
13313 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
13314 error message.
13315
31e2b00f
AS
133162005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
13317
13318 * gdb.base/help.exp (help b, help br, help bre, help brea)
13319 (help break): Update the expected message.
13320
c3d0b56e
SC
133212005-11-11 Stephane Carrez <stcarrez@nerim.fr>
13322
13323 * gdb.asm/m68hc11.inc: Setup the data section.
13324 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
13325 script for this test.
13326 (m6812-*-*): Likewise.
13327
36ae0ea9
RC
133282005-11-09 Randolph Chung <tausq@debian.org>
13329
13330 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
13331
9d6f42e9
WZ
133322005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
13333
13334 * gdb.base/break.exp: Fix a comment typo.
13335
e2126a14
EZ
133362005-11-03 Jim Blandy <jimb@redhat.com>
13337
a9c64011
AS
13338 Checked in by Elena Zannoni <ezannoni@redhat.com>
13339
889bf7c5 13340 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 13341
e0ac7199
CV
133422005-11-02 Corinna Vinschen <vinschen@redhat.com>
13343
13344 * gdb.arch/gdb1558.c: Include stdio.h.
13345
31d3fb18
MK
133462005-10-31 Mark Kettenis <kettenis@gnu.org>
13347
13348 * gdb.asm/asm-source.exp: Use -e instead of --entry.
13349
e52b687c
MK
133502005-10-31 Mark Kettenis <kettenis@gnu.org>
13351
13352 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
13353
f4711d79
PG
133542005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
13355
a9c64011
AS
13356 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13357 vscr" tests to better match output.
f4711d79 13358
987a9106
JB
133592005-10-12 Jim Blandy <jimb@redhat.com>
13360
13361 * gdb.base/structs.exp (any): New function.
13362 (test_struct_returns): Don't make any assumptions at all about
13363 what value the function returns when GDB can't set the return
13364 value.
13365
2336bb58
JB
133662005-10-09 Joel Brobecker <brobecker@adacore.com>
13367
13368 * gdb.ada/arrayidx/p.adb: New file.
13369 * gdb.ada/arrayidx.exp: New testcase
13370
133712005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
13372
13373 * gdb.ada/array_return/pck.ads: New file.
13374 * gdb.ada/array_return/pck.adb: New file.
13375 * gdb.ada/array_return/p.adb: New file.
13376 * gdb.ada/array_return.exp: New testcase.
13377
705335ea
JB
133782005-10-03 Joel Brobecker <brobecker@adacore.com>
13379
a9c64011
AS
13380 * gdb.base/arrayidx.c: New file.
13381 * gdb.base/arrayidx.exp: New testcase.
705335ea 13382
11ee9940
NR
133832005-09-29 Nick Roberts <nickrob@snap.net.nz>
13384
13385 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
13386 frames-invalid and breakpoints-invalid are no longer generated
13387 with level 3 so don't expect them in the output.
13388
39fb8e9e
BR
133892005-09-27 Bob Rossi <bob@brasko.net>
13390
a9c64011 13391 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
13392 from test. Escape the | in mi_gdb_test call.
13393 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
13394 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
13395 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
13396 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
13397 expected regex's in mi_gdb_test calls.
13398 * lib/mi-support.exp: Remove arbitrary .* from tests.
13399 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
13400 Fully anchor GDB/MI expected results in mi_gdb_test.
13401 * lib/gdb.exp (string_to_regexp): Escape the ] character.
13402 * gdb.base/sizeof.exp: Remove escape character. Correct test.
13403
2af48f68
PB
134042005-09-26 Paul Brook <paul@codesourcery.com>
13405
13406 * long_long.exp: Exclude eabi targets from arm FPA float format test.
13407
f34502bc
WZ
134082005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13409
13410 * bfp-test.c: New file.
13411 * bfp-test.exp: New testcase.
13412
ca929517
WZ
134132005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13414
13415 * gdb.fortran/subarray.exp: New testcase to test the evaluation
13416 of subarray and substring variable.
13417 * gdb.fortran/subarray.f: New source file for the test of subarray
13418 and substring variable evaluation.
13419 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
13420 of string constant.
13421
c761af65
DJ
134222005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
13423
13424 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
13425 copyright dates.
13426
561d7a1d
PG
134272005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
13428
13429 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
13430 powerpc altivec' test with an almost identical 'info vector' test.
13431
b2b64cc9
PG
134322005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13433
a9c64011
AS
13434 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13435 vscr" tests to match output.
b2b64cc9 13436
6ac4d15a
PG
134372005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13438
a9c64011
AS
13439 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
13440 output.
6ac4d15a 13441
40e55bef
BR
134422005-09-11 Bob Rossi <bob@brasko.net>
13443
889bf7c5
PA
13444 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
13445 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
13446 commands that return an MI output command and an asyncronous MI output
13447 command.
40e55bef
BR
13448 * gdb.mi/mi-console.exp: Ditto.
13449
3c7385ec
BR
134502005-09-11 Bob Rossi <bob@brasko.net>
13451
13452 * gdb.mi/mi-var-child.c: Include <string.h>.
13453
a6cd0eb3
DJ
134542005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
13455
13456 * killed.exp: Correct gdb_expect syntax.
13457
2f168eed
CV
134582005-08-09 Corinna Vinschen <vinschen@redhat.com>
13459
13460 * lib/mi-support.exp (mi_gdb_load): Fix typo.
13461
ecd3fd0f
BR
134622005-08-02 Bob Rossi <bob@brasko.net>
13463
13464 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
13465 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
13466 Change tests to inferior-tty-set/show.
13467 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
13468 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
13469 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
13470 inferior. Use mi_gdb_test to get GDB and Inferior output.
13471 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
13472 descriptor.
13473 (mi_inferior_tty_name): Add inferior PTY file name.
13474 (mi_gdb_start): Add INFERIOR_PTY parameter.
13475 (mi_gdb_test): Add IPATTERN parameter.
13476
f1ea48cb 134772005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 13478
f1ea48cb
BR
13479 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
13480 parameter to mi_gdb_test.
13481 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
13482
6e650a67
DJ
134832005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13484
13485 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
13486 struct_declarations.
13487 * gdb.mi/mi-var-child.exp: Step over the initialization of
13488 struct_declarations.
13489
8be260b6
DJ
134902005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13491
13492 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
13493 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
13494 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
13495 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
13496 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
13497 file.
13498
4e660f07
NR
134992005-07-27 Nick Roberts <nickrob@snap.net.nz>
13500
13501 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
13502 (do_children_tests): Assign values to the extra elements.
13503
13504 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
13505 them for tests for "-var-update --no-values" and
a9c64011 13506 "-var-update --all-values".
4e660f07
NR
13507 Add test for "-var-list-children --simple-values".
13508
13509 * gdb.mi/basics.c (callee4): Add integer array D[3]...
13510
13511 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
13512 "-stack-list-locals --simple-values" Improve doc strings and
13513 comments.
13514
6bdae935
MK
135152005-07-18 Mark Kettenis <kettenis@gnu.org>
13516
598b7a6f
MK
13517 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
13518 *-*-openbsd*.
13519 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
13520
6bdae935
MK
13521 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
13522 sigaltsatck'.
13523
1323e929 135242005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 13525
1323e929
BR
13526 * gdb.base/default.exp (tty): Changed output of command.
13527 * gdb.base/help.exp (help tty): Ditto.
13528
b1a9c082
MK
135292005-07-12 Mark Kettenis <kettenis@gnu.org>
13530
13531 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
13532
10a844a2
MK
135332005-07-10 Mark Kettenis <kettenis@gnu.org>
13534
13535 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
13536 -stack-select-frame without arguments.
13537 (test_stack_frame_listing): Add test for newly implemented command
13538 -stack-info-frame.
13539
3cb3b8df
BR
135402005-07-06 Bob Rossi <bob@brasko.net>
13541
13542 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
13543 command.
13544 (Copyright): Update copyright.
13545
a0c5fbcf
WZ
135462005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
13547
13548 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
13549 tests to evaluate exponentiation expression.
13550
984971d0
AS
135512005-06-29 Andreas Schwab <schwab@suse.de>
13552
13553 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
13554 main to avoid warnings.
13555
13556 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
13557
fe03833f
NR
135582005-06-20 Nick Roberts <nickrob@snap.net.nz>
13559
13560 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
13561 -stack-select-frame without arguments.
13562 (test_stack_frame_listing): Add test for newly implemented command
13563 -stack-info-frame.
a9c64011 13564
7a55f279
WZ
135652005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
13566
0ffa0ea5
DJ
13567 * gdb.fortran/array-element.f: New file.
13568 * gdb.fortran/array-element.exp: New testcase.
7a55f279 13569
26585198
DJ
135702005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13571
13572 * gdb.base/bigcore.exp: Correct checks for systems which can
13573 not dump a large core file.
13574
c1bd25fd
DJ
135752005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13576
13577 * gdb.base/relocate.c: Add a copyright notice.
13578 (dummy): Remove.
13579 * gdb.base/relocate.exp: Test printing the values of variables
13580 from a relocatable file.
13581
589e074d
DJ
135822005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
13583
13584 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
13585 excess MI output after an error.
13586
0915f927
JB
135872005-05-29 Joel Brobecker <brobecker@adacore.com>
13588
13589 * gdb.arch/alpha-step.c: New file.
13590 * gdb.arch/alpha-step.exp: New testcase.
13591
76ff342d
DJ
135922005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
13593 Dennis Brueni <dennis@slickedit.com>
13594
13595 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
13596 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
13597 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
13598 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
13599 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13600 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
13601 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
13602
96b0c7ac
DJ
136032005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
13604 Wu Zhou <woodzltc@cn.ibm.com>
13605
13606 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
13607 IBM's xlc compiler.
13608 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
13609 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
13610
f21565d2
JB
136112005-05-13 Jim Blandy <jimb@redhat.com>
13612
13613 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
13614 calling gdb_suppress_entire_file.
13615 * gdb.base/charset.exp: Same.
13616 * gdb.base/call-rt-st.exp: Same.
13617
6006a3a1
BR
136182005-05-05 Bob Rossi <bob_rossi@cox.net>
13619
13620 * lib/gdb.exp (fullname_syntax): Added global regex.
13621 (fullname_syntax_POSIX): Ditto.
13622 (fullname_syntax_UNC): Ditto.
13623 (fullname_syntax_DOS_CASE): Ditto.
13624 (fullname_syntax_DOS): Ditto.
13625 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
13626 fullname_syntax variable to scope and use it.
13627 (test_file_list_exec_source_files): Ditto.
13628 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
13629
c3b69c04
DJ
136302005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
13631
13632 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
13633
3c95e6af
PG
136342004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
13635
a9c64011
AS
13636 * lib/gdb.exp (skip_altivec_tests): New function, based on
13637 check_vmx_hw_available from the GCC testsuite.
13638 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
13639 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 13640
78df6c56
JB
136412005-05-02 Jim Blandy <jimb@redhat.com>
13642
13643 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
13644 calling gdb_suppress_entire_file.
13645
1690f9cf
DJ
136462005-04-30 Randolph Chung <tausq@debian.org>
13647
13648 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
13649 Slightly relax "sem_post" name checking.
13650
5ea106f7
PG
136512005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13652
13653 * gdb.base/unload.exp: Use new shared library infrastructure.
13654
bf7234cf
PG
136552005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13656
13657 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 13658 infrastructure.
bf7234cf 13659
547b869a
CV
136602005-04-29 Corinna Vinschen <vinschen@redhat.com>
13661
13662 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
13663 * gdb.asm/h8300.inc: New file.
13664
f07e55f0
PG
136652005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13666
13667 * gdb.base/shlib-call.exp: Change to use new shared library
13668 infrastructure.
13669
3cbba3d1
PG
136702005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13671
a9c64011
AS
13672 * gdb.base/pending.exp: Change to use new shared library
13673 infrastructure.
3cbba3d1 13674
ed6df200
PG
136752005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13676
a9c64011
AS
13677 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
13678 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 13679
8c8f4ebe
PG
136802005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
13681
a9c64011
AS
13682 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
13683 shared objects being adjusted and update copyright years.
8c8f4ebe 13684
607fbc54
DJ
136852005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
13686
13687 * ChangeLog: Correct some 2003-01-13 dates.
13688 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
13689 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
13690 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
13691 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
13692 gdb.trace/tfind.exp: Update copyright years.
13693
57bf0e56
DJ
136942005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
13695 Daniel Jacobowitz <dan@codesourcery.com>
13696
13697 * lib/gdb.exp (gdb_compile): Handle shlib=.
13698 (gdb_compile_shlib): New function.
13699
9b593790
PG
137002005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
13701
a9c64011 13702 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 13703
9494c6a5
DJ
137042005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13705
13706 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
13707 gdb.server.
13708 * configure.ac: Likewise.
13709 * configure: Regenerated.
13710 * gdb.gdbserver/Makefile.in: Moved to...
13711 * gdb.server/Makefile.in: ... here.
13712 * gdb.gdbserver/server.c: Moved to...
13713 * gdb.server/server.c: ... here.
13714 * gdb.gdbserver/server-run.exp: Moved to...
13715 * gdb.server/server-run.exp: ... here.
13716
6f8eac0e
DJ
137172005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13718
13719 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
13720 * configure.ac: Create gdb.gdbserver/Makefile.
13721 * configure: Regenerated.
13722 * lib/gdbserver-support.exp: New file, derived from
13723 config/gdbserver.exp.
13724 * config/gdbserver.exp: Use gdbserver-support.exp.
13725 * gdb.gdbserver/Makefile.in: New file.
13726 * gdb.gdbserver/server.c: New file.
13727 * gdb.gdbserver/server-run.exp: New file.
13728
6e87504d
PG
137292005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
13730
a9c64011
AS
13731 * lib/gdb.exp (test_compiler_info): Return compiler_info
13732 if no arguments are given.
6e87504d 13733
d1779be4
PG
137342005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
13735
13736 * gdb.arch/altivec-abi.exp: Check for compiler and set
13737 use altivec' flag accordingly.
13738 * gdb.arch/altivec-regs.exp: Likewise.
13739
88750304
DJ
137402005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
13741
13742 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
13743
f3fb768d
AS
137442005-03-27 Andreas Schwab <schwab@suse.de>
13745
13746 * gdb.base/bigcore.c (main): Add missing mode argument in open
13747 call.
13748
7e813ac5
DJ
137492005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
13750
13751 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
13752 downloads.
13753 * config/gdbserver.exp (gdb_load): Likewise.
13754
8e3049aa
PB
137552005-03-14 Paul Brook <paul@codesourcery.com>
13756
13757 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
13758 targets.
13759
a9df7c44
JB
137602005-03-09 Joel Brobecker <brobecker@adacore.com>
13761
13762 * gdb.dwarf2/dup-psym.S: New file.
13763 * gdb.dwarf2/dup-psym.exp: New testcase.
13764
9f0d94e8
JB
137652005-03-09 Joel Brobecker <brobecker@adacore.com>
13766
13767 * gdb.ada/exec_changed/first.adb: New file.
13768 * gdb.ada/exec_changed/second.adb: New file.
13769 * gdb.ada/exec_changed.exp: New testcase.
13770
5f579bc5
NS
137712005-03-08 Nathan Sidwell <nathan@codesourcery.com>
13772
36e9969c
NS
13773 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
13774 (A2): New class.
13775 (main): Test operator+.
13776 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
13777 breakpoint test.
13778
5f579bc5
NS
13779 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
13780 * gdb.base/signull.exp: Disable if gdb,nosignals.
13781 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
13782 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
13783 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
13784 * gdb.mi/mi2-console.exp: Likewise.
13785 * gdb.trace/collection.exp (run_trace_experiment): Consume the
13786 continue output at start.
13787 (gdb_collect_locals_test): Robustify regexp.
13788 * gdb.trace/passc-dyn.exp: Fix comment typo.
13789 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
13790
be46087e
CV
137912005-03-08 Corinna Vinschen <vinschen@redhat.com>
13792
13793 * gdb.asm/asm-source.exp: Add iq2000 case.
13794 * gdb.asm/iq2000.inc: New file.
13795
384e1a61 137962005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 13797
384e1a61
MI
13798 * gdb.base/command.exp: Change hardcoded value to regular expression.
13799 * gdb.base/float.exp: Add powerpc to the list of targets checked.
13800
584b6e9e
DJ
138012005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
13802
13803 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
13804 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
13805 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
13806 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
13807 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
13808
ab5b5d61
MK
138092005-03-05 Mark Kettenis <kettenis@gnu.org>
13810
13811 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
13812 changes.
13813
ae051c1b
PG
138142004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
13815
a9c64011
AS
13816 * lib/compiler.c: Add test for IBM's xlc compiler.
13817 * lib/compiler.cc: Likewise.
ae051c1b 13818
3f0f6ed2
JB
138192004-02-24 Joel Brobecker <brobecker@adacore.com>
13820
13821 * gdb.ada/fixed_points.exp: Create compilation object directory
13822 before running the test.
13823 * gdb.ada/null_record.exp: Likewise.
13824 * gdb.ada/packed_array.exp: Likewise.
13825 * gdb.ada/start.exp: Likewise.
13826
724f452b
JB
138272005-02-15 Joel Brobecker <brobecker@adacore.com>
13828
13829 * gdb.ada/packed_array/pa.adb: New file.
13830 * gdb.ada/packed_array.exp: New testcase.
13831
57f5cdfb 138322005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 13833
1f393151
MK
13834 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
13835 files.
13836
ebdda337
MK
13837 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
13838 on *-*-openbsd*. Correctly match whitespace in regukar
13839 expressions.
13840
cf309262
DJ
138412005-02-10 Daniel Jacobowitz <dan@debian.org>
13842
13843 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
13844 PR exp/1821
13845 * gdb.base/gdb1821.c: New test file.
13846 * gdb.base/gdb1821.exp: New test file.
13847
3be49e7a
JB
138482005-02-09 Joel Brobecker <brobecker@adacore.com>
13849
13850 * gdb.base/start.c: New file.
13851 * gdb.base/start.exp: New testcase.
13852
e292e67d
JB
138532005-02-09 Joel Brobecker <brobecker@adacore.com>
13854
13855 * gdb.ada/start/dummy.adb: New file.
13856 * gdb.ada/start.exp: New testcase.
13857
dbdfa66c
CV
138582005-02-09 Corinna Vinschen <vinschen@redhat.com>
13859
13860 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
13861 for printing symbols and statistics.
13862 Add test for using relative pathnames in "maint print msymbols" test.
13863 Mark "maint info sections DATA" XFAIL on Cygwin.
13864 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
13865 tests.
13866
d7941671
AC
138672005-02-09 Andreas Schwab <schwab@suse.de>
13868
13869 Committed by Andrew Cagney <cagney@gnu.org>
13870 * gdb.base/remotetimeout.exp: New file.
13871
74e5ef44
MK
138722005-02-07 Mark Kettenis <kettenis@gnu.org>
13873
13874 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
13875
464dd14d
JB
138762005-02-03 Joel Brobecker <brobecker@adacore.com>
13877
13878 * gdb.ada/gnat_ada.gpr: New file.
13879 * gdb.ada/gnat_ada.gin: Delete, no longer used.
13880 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
13881 * configure.ac: No longer generate gnat_ada.gpr.
13882 * configure: Regenerate.
13883 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
13884 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
13885 * gdb.ada/null_record/bar.ads: Likewise.
13886 * gdb.ada/null_record/bar.adb: Likewise.
13887 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
13888 * gdb.ada/null_record.exp (testdir): New variable.
13889 (testfile): executable is now in testdir subdirectory.
13890 (srcfile): Use full path to the main compilation unit.
13891 * gdb.ada/fixed_points.exp: Same changes as above.
13892
30d756ae
NR
138932005-02-03 Nick Roberts <nickrob@snap.net.nz>
13894
13895 * gdb.base/interp.exp: New test.
13896
9d799f85
AC
138972005-01-24 Andrew Cagney <cagney@gnu.org>
13898
13899 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
13900
15656118
AC
139012005-01-19 Andrew Cagney <cagney@gnu.org>
13902
a892c31b
AC
13903 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
13904 configure.ac not configure.in.
13905
15656118
AC
13906 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
13907 of powerpc*-*-*.
13908 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 13909 * gdb.base/list.exp (test_list_function)
15656118
AC
13910 (test_list_filename_and_function): Ditto.
13911 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
13912
a7b01baf
AC
139132005-01-16 Andrew Cagney <cagney@gnu.org>
13914
17d92a02
AC
13915 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
13916
a7b01baf
AC
13917 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
13918
bc8332bb
AC
139192005-01-14 Andrew Cagney <cagney@gnu.org>
13920
13921 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
13922 * gdb.mi/mi2-var-cmd.exp: Ditto.
13923
4d074752
CV
139242005-01-10 Corinna Vinschen <vinschen@redhat.com>
13925
13926 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
13927
bec39cab
AC
139282005-01-07 Andrew Cagney <cagney@gnu.org>
13929
13930 * configure.ac: Rename configure.in, require autoconf 2.59.
13931 * configure: Re-generate.
13932 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
13933 * gdb.stabs/configure: Re-generate.
13934 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
13935 * gdb.hp/configure: Re-generate.
13936 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
13937 autoconf 2.59.
13938 * gdb.hp/gdb.objdbg/configure: Re-generate.
13939 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
13940 autoconf 2.59.
13941 * gdb.hp/gdb.defects/configure: Re-generate.
13942 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
13943 autoconf 2.59.
13944 * gdb.hp/gdb.compat/configure: Re-generate.
13945 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
13946 autoconf 2.59.
13947 * gdb.hp/gdb.base-hp/configure: Re-generate.
13948 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
13949 autoconf 2.59.
13950 * gdb.hp/gdb.aCC/configure: Re-generate.
13951
f10b16d4
JB
139522004-12-15 Jim Blandy <jimb@redhat.com>
13953
13954 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
13955 under NPTL when there is debugging info available for libpthread.
13956
fb6e1814
JG
139572004-12-13 Jerome Guitton <guitton@gnat.com>
13958
13959 * gdb.ada/fixed_points.c: New file.
13960 * gdb.ada/fixed_points.exp: New file.
13961
fe46cd3a
RC
139622004-12-03 Randolph Chung <tausq@debian.org>
13963
13964 * gdb.arch/pa-nullify.exp: New file.
13965 * gdb.arch/pa-nullify.s: New file.
13966
8de0841b
RC
139672004-11-30 Randolph Chung <tausq@debian.org>
13968
13969 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
13970 instead of "tbug". Fix regexp to work properly with gdb_test.
13971
c8170782
PH
139722004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
13973
13974 * gdb.base/bitfields2.exp: New test.
13975 * gdb.base/bitfields2.c: New file.
13976
954269c2
RE
139772004-11-28 Richard Earnshaw <rearnsha@arm.com>
13978
13979 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
13980
0107feed
RC
139812004-11-16 Randolph Chung <tausq@debian.org>
13982
13983 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
13984
f073ae8c
DJ
139852004-11-14 Daniel Jacobowitz <dan@debian.org>
13986
13987 * gdb.threads/threadapply.exp: Correct "macro details" test.
13988
19ad59e7
JJ
139892004-11-11 Jeff Johnston <jjohnstn@redhat.com>
13990
13991 * gdb.threads/threadapply.exp: New test.
13992 * gdb.threads/threadapply.c: New file.
13993
9cf0961b
MK
139942004-11-07 Mark Kettenis <kettenis@gnu.org>
13995
13996 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
13997 frames.
13998
c789492a
FL
139992004-11-05 Felix Lee <felix+log1@specifixinc.com>
14000
14001 * gdb.base/cursal.exp: New file.
14002 * gdb.base/cursal.c: New file.
14003
a1e167bb
AC
140042004-11-03 Andrew Cagney <cagney@gnu.org>
14005
14006 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
14007
b7cbf173
MK
140082004-10-30 Mark Kettenis <kettenis@gnu.org>
14009
14010 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
14011 NetBSD/ELF targets.
14012
88f9d34f
JB
140132004-10-29 Joel Brobecker <brobecker@gnat.com>
14014
14015 * gdb.threads/bp_in_thread.c: New file, copied from
14016 pthread_cond_wait.c.
14017 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
14018 file, rather than reusing the .c file from another testcase.
14019
ca7d6a0c
JB
140202004-10-20 Joel Brobecker <brobecker@gnat.com>
14021
14022 * gdb.ada/null_record.exp: Check where we stopped after
14023 sending the start command, instead of where the associated
14024 temporary breakpoint was inserted.
14025
0d863d03
AC
140262004-10-14 Andrew Cagney <cagney@gnu.org>
14027
14028 * gdb.mi/gdb701.c (main): Return 0.
14029
d11e72cb
DJ
140302004-10-13 Daniel Jacobowitz <dan@debian.org>
14031
d40539a4 14032 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 14033
e1923096
JJ
140342004-10-12 Jeff Johnston <jjohnstn@redhat.com>
14035
14036 * gdb.threads/schedlock.c: Add comment markers to use to find
14037 line numbers.
14038 * gdb.threads/schedlock.exp: Adjust regex to handle the new
14039 comments.
14040 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
14041 breakpoint lines.
14042
ec8ba2c9
DJ
140432004-10-12 Daniel Jacobowitz <dan@debian.org>
14044
14045 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
14046
0eb3658b
DJ
140472004-10-12 Daniel Jacobowitz <dan@debian.org>
14048
14049 * configure.in: Add gdb.dwarf2.
14050 * configure: Regenerated.
14051 * Makefile.in: Add gdb.dwarf2.
14052 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
14053 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
14054 gdb.dwarf2/file1.txt: New files.
14055
a271cc33
OF
140562004-10-11 Orjan Friberg <orjanf@axis.com>
14057
a9c64011 14058 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
14059 of "run", since the latter doesn't work with remote targets. Adjust
14060 the breakpoint numbering accordingly.
14061 * gdb.threads/pthread_cond_wait.exp: Ditto.
14062
895ce074
MC
140632004-10-08 Michael Chastain <mec.gnu@mindspring.com>
14064
14065 * gdb.base/overlays.exp: Update copyright years.
14066
6be3092d
KI
140672004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
14068
14069 * gdb.base/overlays.exp: Disable if target is Linux.
14070
e05389b8
FL
140712004-10-06 Felix Lee <felix+log1@specifixinc.com>
14072
14073 * config/gdbserver.exp (gdb_load): Use right filename on remote.
14074
73cb587d
KI
140752004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
14076
14077 * gdb.asm/asm-source.exp: Add m32r-linux target.
14078 * gdb.asm/m32r-linux.inc: New file.
14079
3c0edcdc
AC
140802004-09-24 Andrew Cagney <cagney@redhat.com>
14081 David Anderson <anderson@redhat.com>
14082
14083 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
14084 command fails, assume things will work.
14085 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
14086 (_GNU_SOURCE): Define.
14087 (print_unsigned, print_hex): Change parameter to "long long".
14088 (print_byte_count): New function, use to print byte counts.
14089 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
14090 O_LARGEFILE.
14091 (main): Compute an upper bound on a corefile in max_core_size.
14092 Limit memory chunk size to max_core_size. Limit total memory
14093 allocated to max_core_size.
14094
4bb3667f
AC
140952004-09-23 Andrew Cagney <cagney@gnu.org>
14096
14097 * gdb.base/bigcore.exp: Replace the code that creates a corefile
14098 from a separate process with code that creates a corefile by
14099 making the inferior dump core.
14100
60fe1a51
MK
141012004-09-23 Mark Kettenis <kettenis@gnu.org>
14102
14103 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
14104 block.
14105
8e937346
MC
141062004-09-23 Michael Chastain <mec.gnu@mindspring.com>
14107
14108 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
14109 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
14110 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
14111 Likewise.
14112
7213f6d6
JJ
141132004-09-20 Jeff Johnston <jjohnstn@redhat.com>
14114
14115 * gdb.java/jprint.exp: New test case for java inferior call.
14116 * gdb.java/jprint.java: Ditto.
14117
eac69dca
JB
141182004-09-15 Joel Brobecker <brobecker@gnat.com>
14119
14120 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
14121
22227696
MC
141222004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14123
14124 * gdb.threads/killed.c: Include <stdlib.h>.
14125 * gdb.threads/pthreads.c: Likewise.
14126
7dd403a4
MC
141272004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14128
14129 * gdb.threads/killed.c: Add copyright notice.
14130
33f2d567
JM
141312004-09-10 Jason Molenda (jmolenda@apple.com)
14132
a9c64011
AS
14133 * gdb.base/define.exp: Two new tests to verify zero space chars
14134 after 'if' and 'while' commands in a user-defined command is correctly
14135 parsed.
33f2d567 14136
e05b62ac
AC
141372004-09-08 Andrew Cagney <cagney@gnu.org>
14138
14139 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
14140 delivery test with duplicate at end of file.
14141
9cbe82da
MK
141422004-09-06 Mark Kettenis <kettenis@jive.nl>
14143
14144 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
14145
564803d9
MC
141462004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14147
14148 * config/hppro.exp: Removed.
14149
7c6807ce
MC
141502004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14151
14152 * config/sparclet.exp: Removed.
14153
bf7e26dd
MC
141542004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14155
14156 * config/udi.exp: Removed.
14157
714e341b
MC
141582004-09-02 Michael Chastain <mec.gnu@mindspring.com>
14159
14160 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
14161 of "exp_continue".
14162 (advancei): Likewise.
14163
1236e623
JJ
141642004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14165
14166 * gdb.base/unload.exp: Fix so messages aren't duplicated.
14167
3bdcad15
MI
141682004-09-01 Manoj Iyer <manjo@austin.ibm.com>
14169
228af206 14170 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
14171 to check for nodebug in executable.
14172 * gdb.gdb/observer.exp (setup_test): Likewise.
14173 * gdb.gdb/selftest.exp (test_with_self): Likewise.
14174 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
14175
c72b934c
AC
141762004-09-01 Andrew Cagney <cagney@gnu.org>
14177
14178 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14179 files.
14180
edd9b715
JJ
141812004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14182
14183 * gdb.base/unload.exp: Fix expected warning message to match
14184 latest format.
14185
fb4ce06b
CV
141862004-09-01 Corinna Vinschen <vinschen@redhat.com>
14187
14188 * gdb.base/call-rt-st.exp: Fix typos.
14189
ce78e7c3
MI
141902004-08-31 Manoj Iyer <manjo@austin.ibm.com>
14191
14192 * gdb.threads/thread_check.exp: New testcase.
14193 * gdb.threads/thread_check.c: New testcase.
14194
2dedb159
AC
141952004-08-31 Andrew Cagney <cagney@gnu.org>
14196
14197 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
14198 (skip_to_handler_entry): New procedures. Test stepping into a
14199 handler when the breakpoint is at the handler's entry point.
14200
68f53502
AC
142012004-08-30 Andrew Cagney <cagney@gnu.org>
14202
14203 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
14204 gdb/1757.
14205
3e3ffd2b
MC
142062004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14207
14208 With code from Manoj Iyer <manjo@austin.ibm.com>:
14209 * lib/gdb.exp (gdb_file_cmd): Return more information in the
14210 return value. Add an arm for "no debugging symbols found".
14211 Change a stray "error" to "perror".
14212 (gdb_run_cmd): Adapt to new return value.
14213 * gdb.base/remote.exp: Adapt to new return value.
14214 * gdb.gdb/complaints.exp: Likewise.
14215 * gdb.gdb/observer.exp: Likewise.
14216 * gdb.gdb/selftest.exp: Likewise.
14217 * gdb.gdb/xfullpath.exp: Likewise.
14218
4b6f5fd2
JB
142192004-08-27 Joel Brobecker <brobecker@gnat.com>
14220
14221 * gdb.threads/bp_in_thread.exp: New testcase.
14222
e5b25496
MC
142232004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14224
14225 Fix PR testsuite/1735.
14226 * gdb.threads/schedlock.c (thread_function): Add a cast
14227 to suppress a gcc warning.
14228 * gdb.threads/thread-specific.c (thread_function): Likewise.
14229
934353d6
MC
142302004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14231
14232 * gdb.base/unload.c: Include <stdlib.h>.
14233
f98a0aef 142342004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 14235
f98a0aef 14236 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
14237 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
14238 synchronized after the "return".
14239
5a2e8882
MC
142402004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14241
14242 * gdb.mi/basics.c: Include <stdio.h>.
14243 * gdb.mi/pthreads.c: Include <stdlib.h>.
14244 * gdb.mi/var-cmd.c: Include <stdlib.h>.
14245
a9640423
MC
142462004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14247
14248 * gdb.threads/schedlock.c: Add copyright notice.
14249
b04e311d
AC
142502004-08-25 Andrew Cagney <cagney@gnu.org>
14251
14252 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
14253 (skip_over_handler, breakpoint_over_hander): New test procedures.
14254 (advance, advancei): Add a proper prefix, do not use
14255 rerun_to_main.
14256 * gdb.base/sigstep.c (main): Change to use an infinite loop.
14257
7c27f15b
MC
142582004-08-24 Michael Chastain <mec.gnu@mindspring.com>
14259
14260 * gdb.mi/basics.c: Add copyright notice.
14261 * gdb.mi/var-cmd.c: Add copyright notice.
14262
fffc87ae
MC
142632004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14264
14265 * lib/gdb.exp: Remove signed_keyword_not_used.
14266 * lib/compiler.c: Likewise.
14267 * lib/compiler.cc: Likewise.
14268
d782e0bf
MC
142692004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14270
14271 * gdb.base/whatis.c: Remove conditional disabling of "signed".
14272 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
14273
96033e83
MC
142742004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14275
14276 * gdb.base/whatis.c: Add copyright notice.
14277
cf38c229
MK
142782004-08-20 Mark Kettenis <kettenis@gnu.org>
14279
14280 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
14281 it to skip the breakpoints encoded in the inline assembly.
14282
f4b49756
MC
142832004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14284
14285 * Makefile.in: Add gdb.fortran.
14286
2f193b69
MC
142872004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14288
14289 * gdb.base/call-sc.exp (test_scalar_returns):
14290 Fix cut-and-paste glitch in "Make fun return now".
14291
89a237cb
MC
142922004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14293
14294 * configure.in: Add gdb.fortran.
14295 * configure: Regenerate.
14296 * gdb.fortran/Makefile.in: New file.
14297 * lib/gdb.exp (skip_fortran_tests): New procedure.
14298
469aff8e
MC
142992004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14300
14301 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
14302 reference to bug-gnu@prep.ai.mit.edu.
14303 * gdb.mi/mi-var-child.exp: Likewise.
14304 * gdb.mi/mi-var-cmd.exp: Likewise.
14305 * gdb.mi/mi-var-display.exp: Likewise.
14306 * gdb.mi/mi2-var-block.exp: Likewise.
14307 * gdb.mi/mi2-var-child.exp: Likewise.
14308 * gdb.mi/mi2-var-cmd.exp: Likewise.
14309 * gdb.mi/mi2-var-display.exp: Likewise.
14310
00b51b9f
MK
143112004-08-15 Mark Kettenis <kettenis@gnu.org>
14312
14313 * gdb.base/unload.c (main): Make local variable msg const.
14314
45f07fef
MC
143152004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14316
14317 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
14318 to bug-gnu@prep.ai.mit.edu.
14319 * gdb.mi/mi-disassemble.exp: Likewise.
14320 * gdb.mi/mi-eval.exp: Likewise.
14321 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
14322 default line number.
14323 * gdb.mi/mi-return.exp: Likewise.
14324 * gdb.mi/mi-simplerun.exp: Likewise.
14325 * gdb.mi/mi-stack.exp: Likewise.
14326 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
14327 number with explicit range test.
14328 * gdb.mi/mi-watch.exp: Likewise.
14329 * gdb.mi/mi2-break.exp: Likewise.
14330 * gdb.mi/mi2-cli.exp: Likewise.
14331 * gdb.mi/mi2-disassemble.exp: Likewise.
14332 * gdb.mi/mi2-eval.exp: Likewise.
14333 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
14334 default line number.
14335 * gdb.mi/mi2-return.exp: Likewise.
14336 * gdb.mi/mi2-simplerun.exp: Likewise.
14337 * gdb.mi/mi2-stack.exp: Likewise.
14338 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
14339 number with explicit range test.
14340 * gdb.mi/mi2-watch.exp: Likewise.
14341
dd8c8ee7
MC
143422004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14343
14344 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
14345 * gdb.cp/m-static.exp: Likewise.
14346 * gdb.cp/rtti.exp: Likewise.
14347
4e838464
MK
143482004-08-14 Mark Kettenis <kettenis@gnu.org>
14349
14350 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
14351
8d8cb839
EZ
143522004-08-14 Eli Zaretskii <eliz@gnu.org>
14353
14354 * ChangeLog: Prefix Local Variables with semi-colons and indent
14355 the reference to older ChangeLog files, to fix fontification in
14356 Emacs.
14357
deea8bb0
MC
143582004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14359
14360 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
14361 * gdb.mi/mi2-break.exp: Likewise.
14362
c3297504
MC
143632004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14364
14365 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
14366
25808999
MC
143672004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14368
14369 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
14370
226a8d71
MC
143712004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14372
14373 * gdb.cp/classes.exp: Remove unused declarations. Just let
14374 test names default instead of providing special names. Remove
14375 extraneous demangler test.
14376
37fdf854
JJ
143772004-08-12 Jeff Johnston <jjohnstn@redhat.com>
14378
14379 * gdb.base/unload.exp: New test for breakpoints in dynamically
14380 loaded libraries.
14381 * gdb.base/unload.c: Ditto.
14382 * gdb.base/unloadshr.c: Ditto.
14383
2d3a7986
MC
143842004-08-12 Michael Chastain <mec.gnu@mindspring.com>
14385
14386 * gdb.cp/classes.exp (test_ptype_class_objects): Call
14387 cp_test_ptype_class.
14388 (test_enums): Likewise.
14389
c72b934c
AC
143902004-08-10 Andrew Cagney <cagney@gnu.org>
14391
14392 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14393 files.
14394
cc503c8a
AC
143952004-08-10 Andrew Cagney <cagney@gnu.org>
14396
14397 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
14398 init_malloc call.
14399
902f2ccb
MC
144002004-08-10 Michael Chastain <mec.gnu@mindspring.com>
14401
14402 * ChangeLog: Add copyright notice. The notice is copied
14403 from emacs 21.3 top level ChangeLog.
14404
78c90502
MC
144052004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14406
14407 * lib/cp-support.exp: New file.
14408 * lib/cp-support.exp (cp_test_type_class): New function.
14409 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
14410 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
14411 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
14412 cp_test_ptype_class.
14413
88e5ea78
MC
144142004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14415
14416 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
14417 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
14418 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
14419 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
14420 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14421 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
14422 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
14423 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
14424 gdb.mi/mi2-watch.exp: Update copyright years.
14425
6a89fc9c
MK
144262004-08-09 Mark Kettenis <kettenis@gnu.org>
14427
14428 * gdb.base/sigaltstack.exp: Provide proper anchoring.
14429
1482e0de
MC
144302004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14431
14432 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
14433 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
14434 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
14435 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14436 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
14437 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
14438 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
14439 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14440 gdb.mi/mi-watch.exp: Update copyright years.
14441
1a5ce3f3
DJ
144422004-08-08 Daniel Jacobowitz <dan@debian.org>
14443
14444 PR gdb/1738
14445 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
14446 from a breakpoint with a pending signal.
14447
04f6ecf2
DJ
144482004-08-08 Daniel Jacobowitz <dan@debian.org>
14449
14450 PR gdb/1736
14451 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
14452 * gdb.base/sigaltstack.exp (finish_test): Consume output until
14453 the prompt.
14454 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
14455
54d90d35
DJ
144562004-08-08 Daniel Jacobowitz <dan@debian.org>
14457
14458 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
14459
d2f6abb0
DJ
144602004-08-08 Daniel Jacobowitz <dan@debian.org>
14461
14462 PR gdb/1736
14463 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
14464 for i?86-*-linux*.
14465
5598c03d
DJ
144662004-08-08 Daniel Jacobowitz <dan@debian.org>
14467
14468 * gdb.arch/i386-prologue.exp: Compile without debug information.
14469
c6fee705
MC
144702004-08-08 Michael Chastain <mec.gnu@mindspring.com>
14471
14472 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
14473 rather than asking gdb to search.
14474
dd90efdb
MC
144752004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14476
14477 * gdb.base/gcore.c: Include <string.h>.
14478
1e84bec1
MC
144792004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14480
14481 * gdb.base/gcore.c: Add copyright notice.
14482
e425eb2b
MC
144832004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14484
14485 * gdb.base/freebpcmd.c: Include <stdio.h>.
14486 * gdb.base/long_long.c: Include <string.h>.
14487 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
14488 * gdb.base/siginfo.c: Include <string.h>.
14489 * gdb.base/sigstep.c: Include <string.h>.
14490
cb9aaed5
MC
144912004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14492
14493 * gdb.base/complex.c: Include <stdlib.h>.
14494
55944f3d
MC
144952004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14496
14497 * gdb.base/complex.c: Add copyright notice.
14498
7b2953d9
MC
144992004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14500
14501 * gdb.base/charset.c: Include <stdlib.h>.
14502
c9133d23
MC
145032004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14504
14505 * gdb.base/auxv.c: Include <stdlib.h>.
14506
0a8490ad
MC
145072004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14508
14509 * gdb.base/auxv.c: Add copyright notice.
14510
3426d5ec
MC
145112004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14512
14513 * gdb.base/coremaker.c: Add copyright notice.
14514 * gdb.base/coremaker2.c: Add copyright notice.
14515
8da195dd
AC
145162004-08-04 Andrew Cagney <cagney@gnu.org>
14517
14518 * gdb.base/store.exp: Update copyright.
14519 (check_set, up_set, check_struct, up_struct): Add a prefix to test
14520 names, do not import gdb_prompt.
14521
8d394f98
AC
145222004-08-01 Andrew Cagney <cagney@gnu.org>
14523
14524 Fix PR testsuite/1729.
14525 * gdb.base/dump.exp: Add test name to callers of capture_value, do
14526 not use capture_value with value 4.
14527 (capture_value): Add optional test name parameter.
14528 (test_reload_saved_value, test_restore_saved_value): Use $msg as
14529 the prefix, pass to capture_value.
14530
b6702b23
MK
145312004-08-01 Mark Kettenis <kettenis@gnu.org>
14532
14533 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
14534 * gdb.arch/i386-prologue.c (standard): New prototype and function.
14535 (main): Call new function.
14536
c203e0ca
MC
145372004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14538
14539 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
14540
a7995a30
MC
145412004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14542
14543 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
14544
9366563b
MC
145452004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14546
b6eeaf26 14547 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
14548 Accept more values of vtbl pointer. Remove some messages
14549 about "obsolete gcc or gdb".
14550
2fc1f950
MC
145512004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14552
14553 * gdb.cp/classes.exp: Accept more varieties of ptype output.
14554
c724d49b
MC
145552004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14556
14557 * gdb.base/asm-source.exp: Properly convert target board
14558 debug flags from gcc format to binutils format.
14559
736b0fce
MK
145602004-07-28 Mark Kettenis <kettenis@gnu.org>
14561
14562 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
14563 gdb1718". PR backtrace/1718 partially fixed.
14564
5633ea5c
JJ
145652004-07-27 Jeff Johnston <jjohnstn@redhat.com>
14566
14567 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
14568
575eebb1
NC
145692004-07-26 Nick Clifton <nickc@redhat.com>
14570
14571 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
14572 good default value for a specific architecture is available then
14573 set it to that value. Otherwise default to the -gstabs switch.
14574 Remove the -g... switches from the asm-flags variable. Allow the
14575 target board info to override the value if it wants to. Pass the
14576 switch on the assembler command line.
14577
62104619
MK
145782004-07-23 Mark Kettenis <kettenis@gnu.org>
14579
14580 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
14581 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
14582 (main): Call new function.
14583
4a1135b8
MC
145842004-07-22 Michael Chastain <mec.gnu@mindspring.com>
14585
14586 Test for PR exp/1715.
14587 * gdb.base/radix.exp: Refactor common procedures. Make all
14588 test names unique. Change XFAIL to KFAIL.
14589
8a12c1f0
MC
145902004-07-20 Michael Chastain <mec.gnu@mindspring.com>
14591
14592 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
14593 * gdb.ada/gnat_ada.gin: ... to here.
14594 * configure.in: Use gnat_ada.gin.
14595 * configure: Regenerate.
14596
23b451cf
AC
145972004-07-20 Andrew Cagney <cagney@gnu.org>
14598
14599 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
14600 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
14601 XFAILs. Clean up test messages and comments. Check backtraces.
14602 Delete re-sync code.
14603
ab618a02
MC
146042004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14605
14606 Fix PR cli/740.
14607 * gdb.base/annota1.exp: Honor gdb,nosignals.
14608 * gdb.base/annota3.exp: Likewise.
14609
46dad340
MC
146102004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14611
14612 * lib/java.exp: Update copyright notice.
14613
756d8c70
AC
146142004-07-19 Andrew Cagney <cagney@gnu.org>
14615
14616 * gdb.base/selftest.exp: Copy file from here ...
14617 * gdb.gdb/selftest.exp: ... to here.
14618
586027e6
AC
146192004-07-16 Andrew Cagney <cagney@redhat.com>
14620
14621 * lib/insight-support.exp: Delete file.
14622 * lib/java.exp (java_init): Fix copyright.
14623
029d2200
AC
146242004-07-16 Andrew Cagney <cagney@gnu.org>
14625
14626 * gdb.base/restore.c: Append "prologue" to comments marking the a
14627 function's prologue.
14628 * gdb.base/restore.exp: Update copyright, re-indent.
14629 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
14630 callerN" prefix where needed. Update patterns that match a
14631 function's prologue.
14632
653b62c5
MC
146332004-07-16 Michael Chastain <mec.gnu@mindspring.com>
14634
14635 * gdb.base/restore.c: Add copyright notice.
14636
f7d690e5
AC
146372004-07-16 Andrew Cagney <cagney@gnu.org>
14638
14639 * gdb.base/logical.exp: Update copyright.
14640 (evaluate): New procedure. Use to re-implement tests using
14641 several tables.
14642
d629a7cb
MH
146432004-07-14 Martin Hunt <hunt@redhat.com>
14644
14645 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
14646 which fixes some problems where init.tcl was not found.
14647
9c7bb332
AC
146482004-07-13 Andrew Cagney <cagney@gnu.org>
14649
6bf46641
AC
14650 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
14651 (check_sizeof, check_valueof): Do not include the output in the
14652 test name. Use gdb_test.
14653 (get_valueof): Use gdb_test_multiple.
14654
c4ffd4c0
AC
14655 * gdb.base/step-test.exp: Update copyright. Use
14656 gdb_test_multiple. Ensure that test names do not include
14657 architecture dependent output.
14658
ab89363a
AC
14659 * gdb.gdb/observer.exp: Update copyright.
14660 (setup_test): Use gdb_test_multiple.
14661 (attach_first_observer, attach_second_observer)
14662 (attach_third_observer, detach_first_observer)
14663 (detach_second_observer, detach_third_observer)
14664 (reset_counters, check_counters): Make $message a prefix.
14665 (test_normal_stop_notifications): Add "args" parameter - a list of
14666 init functions to be called. Make $message a prefix,
14667 (test_observer_normal_stop): Change the message prefixes so that
14668 they are unique, pass the attach / detach procedures to
14669 test_normal_stop_notifications.
14670
ec58997a
AC
14671 * gdb.base/signull.exp (test_segv): Prefix all tests with
14672 "${name}". Clean up test messages.
14673
b475183b
AC
14674 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
14675
9c7bb332
AC
14676 * gdb.base/ena-dis-br.exp: Update copyright.
14677 (break_at): New function. Replace send_gdb with gdb_test,
14678 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
14679 ignore count, not stopped at bpt", with KFAIL.
14680
2dd95497
CV
146812004-07-13 Corinna Vinschen <vinschen@redhat.com>
14682
14683 * gdb.base/attach.exp: Remove cleanupfile handling.
14684
419e626b
AC
146852004-07-12 Andrew Cagney <cagney@gnu.org>
14686
14687 * gdb.base/annota1.exp: Cleanup corefile test name.
14688 * gdb.base/annota3.exp: Ditto.
14689
8b1b3228
AC
146902004-07-12 Andrew Cagney <cagney@gnu.org>
14691
78650829
AC
14692 * gdb.base/signals.exp: Clean up copyright, re-indent.
14693
8b1b3228
AC
14694 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
14695 gdb_test and gdb_test_multiple.
14696
935c2760
JJ
146972004-07-08 Jeff Johnston <jjohnstn@redhat.com>
14698
14699 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 14700 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
14701 provide line number info for first statement in main.
14702
1544280f
AC
147032004-07-08 Andrew Cagney <cagney@gnu.org>
14704
1279f4ff
AC
14705 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
14706
1544280f
AC
14707 * gdb.base/sigbpt.exp: Make the common part of each test name a
14708 prefix instead of suffix.
14709
bcc82369
BR
147102004-07-07 Bob Rossi <bob_rossi@cox.net>
14711
14712 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
14713 test from test_tbreak_creation_and_listing to
14714 test_file_list_exec_source_file
14715 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
14716 Changed name of test from test_tbreak_creation_and_listing to
14717 test_file_list_exec_source_file
14718
23f4b0aa
JJ
147192004-07-07 Jeff Johnston <jjohnstn@redhat.com>
14720
14721 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
14722 the jmisc() constructor instead of <init>.
14723 * gdb.java/jmisc1.exp: Ditto.
14724
56401cd5
AC
147252004-07-07 Andrew Cagney <cagney@gnu.org>
14726
14727 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
14728 corrupting the PC.
14729
44ae2f6a
MC
147302004-07-06 Michael Chastain <mec.gnu@mindspring.com>
14731
14732 * gdb.cp/templates.exp: Accept whitespace change in demangler
14733 output.
14734
45a83408
AC
147352004-07-06 Andrew Cagney <cagney@gnu.org>
14736
14737 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
14738
d205ad70
MC
147392004-07-02 Michael Chastain <mec.gnu@mindspring.com>
14740
14741 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
14742 * lib/compiler.cc: Likewise.
14743
06ea1a61
MC
147442004-06-30 Michael Chastain <mec.gnu@mindspring.com>
14745
14746 * lib/compiler.cc: Work around string preprocessing problem
14747 with old hp c++ compiler.
14748 * lib/compiler.c: Likewise.
14749
daab1251
CV
147502004-06-29 Corinna Vinschen <vinschen@redhat.com>
14751
14752 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
14753 directives to conditionalize symbol prefixing.
14754 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
14755 additional_flags handling. Add underscore prefix for Cygwin.
14756 * gdb.arch/i386-unwind.c: Use preprocessor directives to
14757 conditionalize symbol prefixing.
14758 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
14759 additional_flags handling. Add underscore prefix for Cygwin.
14760
cc984116
CV
147612004-06-29 Corinna Vinschen <vinschen@redhat.com>
14762
14763 * gdb.base/bigcore.exp: Skip test on Cygwin.
14764
c279b077
MC
147652004-06-28 Michael Chastain <mec.gnu@mindspring.com>
14766
14767 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
14768 formats for "info register". Use gdb_test_multiple. Fix
14769 the "invalid register" test.
14770
0e915747
CV
147712004-06-28 Corinna Vinschen <vinschen@redhat.com>
14772
14773 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
14774 PID for Cygwin. Add Cygwin specific strings to check for in some
14775 tests.
14776 (do_attach_tests): Add a test for user interaction when attaching
14777 to a process with no matching symbol table already loaded.
14778
11422c86
AC
147792004-06-26 Andrew Cagney <cagney@gnu.org>
14780
14781 Test PR java/1567 and PR java/1565.
14782 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
14783 * gdb.java/jmisc2.exp: Delete file.
14784
cefbce26
MC
147852004-06-26 Michael Chastain <mec.gnu@mindspring.com>
14786
14787 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
14788
e19f872c
CV
147892004-06-25 Corinna Vinschen <vinschen@redhat.com>
14790
14791 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
14792 attach process.
14793
d931ba3b
MC
147942004-06-23 Michael Chastain <mec.gnu@mindspring.com>
14795
14796 * gdb.cp/pr-1553.exp: Remove.
14797
aef68c48
MC
147982004-06-22 Michael Chastain <mec.gnu@mindspring.com>
14799
14800 * gdb.cp/pr-1553.cc: Remove.
14801 * gdb.cp/pr-1553.exp: Disable this test.
14802
8d5df71a
JB
148032004-06-20 Jim Blandy <jimb@redhat.com>
14804
a9c64011 14805 Fix PR testsuite/1680.
8d5df71a
JB
14806 * gdb.arch/i386-sse.exp: Properly quote curly braces in
14807 regular expressions.
14808
4ac6f39d
MC
148092004-06-19 Michael Chastain <mec.gnu@mindspring.com>
14810
14811 Fix PR testsuite/1679.
14812 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
14813 Issue an UNSUPPORTED result instead.
14814
1b413552
JB
148152004-06-18 Jim Blandy <jimb@redhat.com>
14816
14817 * gdb.base/charset.exp: Only send a control-C if we see a new
14818 prompt and incomplete command.
14819
6daa6ebd
MC
148202004-06-18 Michael Chastain <mec.gnu@mindspring.com>
14821
14822 * gdb.cp/pr-574.cc: Add copyright notice.
14823
51fa4ae0
JB
148242004-06-17 Jim Blandy <jimb@redhat.com>
14825
14826 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
14827 cases where the regexp has no groups; this grabs random text from
14828 the previous test suite, whatever that was.
14829
8fea26c5
MC
148302004-06-17 Michael Chastain <mec.gnu@mindspring.com>
14831
14832 * gdb.cp/printmethod.cc: Add copyright notice.
14833
1e3aeb41
MC
148342004-06-16 Michael Chastain <mec.gnu@mindspring.com>
14835
14836 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
14837
9d9030bc
AC
148382004-06-16 Andrew Cagney <cagney@gnu.org>
14839
14840 * gdb.base/signull.c: Update copyright. Include <string.h>.
14841 (bowler): Replace data_pointer with data_read
14842 and data_write cases. Add code_descriptor case.
14843 (zero, desc): New array and pointer.
14844 (data, code): Change to simple pointers.
14845 * gdb.base/signull.exp: Fix probe pattern matching a function
14846 descriptor SIGSEGV. Replace data_pointer with data_read and
14847 data_write tests.
14848
acd4ad44
AC
148492004-06-16 Andrew Cagney <cagney@gnu.org>
14850
14851 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
14852
08fd625c
MC
148532004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14854
14855 * gdb.base/long_long.c: Add copyright notice.
14856
1903502c
MC
148572004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14858
14859 * gdb.base/long_long.exp: Remove reference to
14860 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
14861 to gdb_breakpoint and gdb_continue_to_breakpoint.
14862
83313cb1
JB
148632004-06-14 Jim Blandy <jimb@redhat.com>
14864
14865 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
14866 endian case.
14867
1bf404ef
AC
148682004-06-14 Andrew Cagney <cagney@gnu.org>
14869
14870 * gdb.base/gcore.exp (capture_command_output): Delete the always
14871 passing tests containing inferior values.
14872 * gdb.base/ending-run.exp: Do not include the breakpoint address
14873 in the test message. Update copyright.
14874 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
14875 size in the test name, use gdb_test_multiple. Update copyright.
14876
ef220b33
MC
148772004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14878
14879 * gdb.cp/ref-types.cc: Add copyright notice.
14880
4f70a4c9
MC
148812004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14882
14883 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
14884 hp_aCC_compiler.
14885 * lib/compiler.cc: Likewise.
14886 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
14887 'set' commands. Log diagnostics for other lines. Set
14888 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
14889
335928ac
MC
148902004-06-13 Michael Chastain <mec.gnu@mindspring.com>
14891
14892 * gdb.cp/try_catch.cc: Add copyright notice.
14893
2efb12e8
MC
148942004-06-12 Michael Chastain <mec.gnu@mindspring.com>
14895
14896 * gdb.cp/userdef.cc: Add copyright notice.
14897
0bbed51a
MC
148982004-06-11 Michael Chastain <mec.gnu@mindspring.com>
14899
14900 * gdb.cp/virtfunc.cc: Add copyright notice.
14901
e12a46c9
RC
149022004-06-11 Randolph Chung <tausq@debian.org>
14903
14904 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
14905 problem.
14906
338e05af
AC
149072004-06-10 Andrew Cagney <cagney@gnu.org>
14908
14909 * lib/compiler.cc, lib/compiler.c: Append either
14910 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
14911 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
14912 instead of gcc-3-3.
14913
dc3f10cb
AC
149142004-06-09 Andrew Cagney <cagney@gnu.org>
14915
b4d946af
AC
14916 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
14917 gdb/1455, bug is specific to "long long" and "double".
a9c64011 14918
dc3f10cb
AC
14919 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
14920 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
14921 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
14922 fixed.
14923
b5c0bfa2
AC
149242004-06-09 Andrew Cagney <cagney@gnu.org>
14925
14926 * gdb.base/structs.exp (test_struct_returns): Replace
14927 "return_value_unknown" and "finish_value_unknown" by
14928 "return_value_known" and "finish_value_known". Instead of
14929 "return_value_unknown" iff "finish_value_unknown", check
14930 "return_value_known" implies "finish_value_known".
14931
caeb605f
MH
149322004-06-08 Martin Hunt <hunt@redhat.com>
14933
14934 * gdb.base/float.exp: Add pattern for mips targets.
14935
c892bb64
RC
149362004-06-08 Randolph Chung <tausq@debian.org>
14937
14938 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
14939 message for unknown architectures more clear.
14940
48306d3e
JB
149412004-06-08 Joel Brobecker <brobecker@gnat.com>
14942
14943 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
14944 start the execution of the program.
14945
83ecb59f
JB
149462004-06-07 Jim Blandy <jimb@redhat.com>
14947
14948 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
14949 * gdb.arch/i386-cpuid.h: New helper file.
14950
55264cb4
RC
149512004-06-07 Randolph Chung <tausq@debian.org>
14952
14953 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
14954 has started.
14955
23cadb28
RM
149562004-06-04 Roland McGrath <roland@redhat.com>
14957
14958 Fix PR gdb/1647.
14959 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
14960 differently to be robust to output buffering differences.
14961
51d01eda
MC
149622004-06-04 Michael Chastain <mec.gnu@mindspring.com>
14963
14964 * gdb.threads/pthreads.exp: Update copyright years.
14965 (check_control_c): Change asynchronous 'after' to synchronous.
14966
f4fc3b93
RM
149672004-06-04 Roland McGrath <roland@redhat.com>
14968
14969 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
14970 next gdb prompt.
14971
4013522b
MC
149722004-06-02 Michael Chastain <mec.gnu@mindspring.com>
14973
14974 Fix PR gdb/1636.
14975 * gdb.threads/manythreads.exp: Change asynchronous 'after'
14976 calls to synchronous.
14977
7a8f1e6b
JB
149782004-05-26 Jim Blandy <jimb@redhat.com>
14979
14980 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
14981
81bb3443
RC
149822004-05-24 Randolph Chung <tausq@debian.org>
14983
14984 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
14985 * gdb.asm/pa.inc: New file.
14986
8f5a3103
MK
149872004-05-22 Mark Kettenis <kettenis@gnu.org>
14988
14989 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
14990
734b8fe8 149912004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 14992 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
14993
14994 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
14995 GDB prompt.
14996
725603e1
UW
149972004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14998
f4fc3b93 14999 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
15000 setjmp/longjmp. Use sigaction instead of signal.
15001
8b923272 150022004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 15003 Michael Snyder <msnyder@redhat.com>
8b923272
JB
15004
15005 * gdb.threads/pthread_cond_wait.c: New file.
15006 * gdb.threads/pthread_cond_wait.exp: New testcase.
15007
8bfabb04
AC
150082004-05-13 Andrew Cagney <cagney@redhat.com>
15009
15010 * gdb.base/signull.exp, gdb.base/signull.c: New files.
15011 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
15012
42edda50
AC
150132004-05-11 Andrew Cagney <cagney@redhat.com>
15014
15015 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
15016 fixed but revealed gdb/1639.
15017
d303a6c7
AC
150182004-05-10 Andrew Cagney <cagney@redhat.com>
15019
15020 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
15021 func1" and "next to 2nd alarm", kernel bug avoided.
15022
bf08c2a1
DJ
150232004-05-10 Daniel Jacobowitz <dan@debian.org>
15024
15025 PR external/1568
15026 * gdb.base/bigcore.exp: Check the size of the dumped core file.
15027 XFAIL if it is smaller than bytes_allocated.
15028 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
15029 (main): Make chunks_allocated unsigned. Correct comment.
15030
c0586a34
JB
150312004-05-07 Joel Brobecker <brobecker@gnat.com>
15032
15033 * gdb.arch/powerpc-aix-prologue.c: New file.
15034 * gdb.arch/powerpc-aix-prologue.exp: New file.
15035
f2785d12
JB
150362004-05-07 Jim Blandy <jimb@redhat.com>
15037
15038 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
15039 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
15040
bd7f6e30
JB
150412004-05-06 Joel Brobecker <brobecker@gnat.com>
15042
15043 * gdb.base/sep.exp: No longer setup_kfail when the program was
15044 built with dwarf2.
15045
0a5e7efe
JI
150462004-05-05 Jim Ingham <jingham@apple.com>
15047
15048 * gdb.base/pending.exp: Make sure pending breakpoints
15049 preserve the ignore count.
f4fc3b93 15050
a8958849
MK
150512004-04-27 Jerome Guitton <guitton@gnat.com>
15052
15053 * i386-prologue.exp: Add testcase for jump instruction as first
15054 instruction of the real code.
15055 * i386-prologue.c (jump_at_beginning): New function.
15056
7e103f5b
MK
150572004-04-28 Mark Kettenis <kettenis@gnu.org>
15058
15059 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
15060 x86_64-*-*.
15061
5d38b224
MK
150622004-04-28 Mark Kettenis <kettenis@gnu.org>
15063
15064 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
15065 i*86-*-*.
15066
0ef32fd9
MK
150672004-04-25 Mark Kettenis <kettenis@gnu.org>
15068
15069 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
15070 expression that checks the return type.
15071
71d7dd7c
AC
150722004-04-23 Andrew Cagney <cagney@redhat.com>
15073
15074 * gdb.base/call-sc.exp: New test of scalar call/return values.
15075 * gdb.base/call-sc.c: Ditto.
15076
1e9f977e
JJ
150772004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15078
15079 * gdb.threads/manythreads.c: Reduce thread stack size.
15080
899d9e3a
JJ
150812004-04-23 Jeff Johnston <jjohnstn@redhat.com>
15082
15083 * gdb.threads/manythreads.c: Add copyright notice.
15084
61bcae62
AC
150852004-04-23 Andrew Cagney <cagney@redhat.com>
15086
15087 * gdb.base/siginfo.exp: Better handle step out of signal.
15088 * gdb.base/sigstep.exp: Ditto.
15089
7339a42e 150902004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 15091 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
15092
15093 * gdb.threads/manythreads.c: New testcase.
15094 * gdb.threads/manythreads.exp: Ditto.
15095
5c98409b
JB
150962004-04-22 Jim Blandy <jimb@redhat.com>
15097
15098 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
15099 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
15100
3b611f1a
MC
151012004-04-21 Michael Chastain <mec.gnu@mindspring.com>
15102
15103 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
15104
f0fd9238
AC
151052004-04-21 Andrew Cagney <cagney@redhat.com>
15106
15107 * gdb.base/sigstep.c: New file.
15108 * gdb.base/sigstep.exp: New file.
15109
90990674
JB
151102004-04-16 Joel Brobecker <brobecker@gnat.com>
15111
15112 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
15113 call to observer_notify_normal_stop.
15114
78cef34b
AC
151152004-04-15 Andrew Cagney <cagney@redhat.com>
15116
15117 * gdb.base/siginfo.c: New file.
15118 * gdb.base/siginfo.exp: New file.
15119
d2343407
JB
151202004-04-12 J. Brobecker <brobecker@gnat.com>
15121
15122 * gdb.base/sep.exp: Fix typo in comment.
15123
a2dba3c8
JB
151242004-04-12 J. Brobecker <brobecker@gnat.com>
15125
15126 * gdb.base/sep.c: New file.
15127 * gdb.base/sep-proc.c: New file.
15128 * gdb.base/sep.exp: New testcase.
15129
15f7b60e
MK
151302004-04-09 Mark Kettenis <kettenis@gnu.org>
15131
15132 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
15133 support.
15134
44f4de1a
AC
151352004-04-05 Andrew Cagney <cagney@redhat.com>
15136
15137 * gdb.base/sigaltstack.c: New file.
15138 * gdb.base/sigaltstack.exp: New file.
15139
ef04f396
JB
151402004-04-04 Joel Brobecker <brobecker@gnat.com>
15141
15142 * gdb.base/foll-fork.exp: Update the expected output for
15143 "help set follow-fork-mode", to match a change that was made
15144 to the help of this variable on 2004-01-13.
15145
d40d2c92
JB
151462004-04-01 Joel Brobecker <brobecker@gnat.com>
15147
15148 * lib/ada.exp: Add copyright notice.
15149 * bar.ads: Likewise.
15150 * bar.adb: Likewise.
15151 * null_record.adb: Likewise.
15152 * null_record.exp: Likewise.
15153 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
15154
f86ef5a3
JB
151552004-04-01 Joel Brobecker <brobecker@gnat.com>
15156
15157 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
15158 * configure: Regenerate.
15159
414e70e3
JB
151602004-04-01 Joel Brobecker <brobecker@gnat.com>
15161
15162 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
15163 to build the application. Remove the message printed when in
15164 verbose mode, redundant with the UNSUPPORTED message above.
15165
f0aaee49
JB
151662004-03-31 Joel Brobecker <brobecker@gnat.com>
15167
15168 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
15169 * gdb.ada (null_record.exp): New testcase.
15170
ac81cb54
JB
151712004-03-31 Joel Brobecker <brobecker@gnat.com>
15172
15173 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
15174
854af2f7
JB
151752004-03-31 Joel Brobecker <brobecker@gnat.com>
15176
15177 * gdb.ada: New subdirectory.
15178 * gdb.ada/Makefile.in: New file.
15179 * gdb.ada/gnat_ada.gpr.in: New file.
15180
034cb681
JB
151812004-03-31 Joel Brobecker <brobecker@gnat.com>
15182
15183 * lib/ada.exp: New file.
15184
78a1a894
DJ
151852004-03-24 Daniel Jacobowitz <drow@mvista.com>
15186
15187 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
15188 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
15189
4b2b3b3e
AC
151902004-03-22 Andrew Cagney <cagney@redhat.com>
15191
15192 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
15193 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
15194 Problem identified by Ulrich Weigand.
15195
23c73aa3
DC
151962004-03-17 David Carlton <carlton@kealia.com>
15197
15198 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
15199 PR c++/826.
15200
d63a86f8
RM
152012004-03-16 Roland McGrath <roland@redhat.com>
15202
15203 * gdb.base/auxv.exp: New file.
15204 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
15205
0e02aa50
DC
152062004-03-12 David Carlton <carlton@kealia.com>
15207
15208 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
15209 * gdb.cp/pr-1553.cc: Ditto.
15210 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
15211 pass branch.
15212
c20b71be
MC
152132004-03-12 Michael Chastain <mec.gnu@mindspring.com>
15214
15215 * gdb.cp/templates.exp: Accept more template types.
15216
c7414a01
MC
152172004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15218
15219 From Corinna Vinschen with modifications.
15220 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
15221 local variable obj_with_enum.
15222 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
15223 results with obj_with_enum.
15224
ed69573c
MC
152252004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15226
15227 * gdb.cp/classes.cc: New file, copied from misc.cc.
15228 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
15229
28301461
MC
152302004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15231
15232 * gdb.cp/misc.cc: Add copyright notice.
15233
1198ecbe
DC
152342004-03-05 David Carlton <carlton@kealia.com>
15235
15236 * gdb.cp/rtti.exp: Add 'print *obj3' test.
15237 * gdb.cp/rtti.h: Update copyright.
15238 (namespace n2::n3): New.
15239 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
15240 (n2::n3::func3): New.
15241 (main): Call n2::n3::func3.
15242 * gdb.cp/rtti2.cc: Update copyright.
15243 (n2::create3): New.
15244
9e08c470
MK
152452004-03-04 Mark Kettenis <kettenis@gnu.org>
15246
15247 * gdb.asm/openbsd.inc: Fix typo.
15248
4bebc3aa
FF
152492004-03-03 Fred Fish <fnf@redhat.com>
15250
15251 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
15252 "val" instead of unused "size". Update copyright year.
15253
6ea9fb37
DJ
152542004-02-29 Daniel Jacobowitz <drow@mvista.com>
15255
15256 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
15257 to use unsigned char.
15258 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
15259 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
15260
23b23974
DJ
152612004-02-29 Daniel Jacobowitz <drow@mvista.com>
15262
15263 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
15264 line of output.
15265
7574fd53
DJ
152662004-02-28 Daniel Jacobowitz <drow@mvista.com>
15267
15268 * gdb.base/relocate.c (dummy): Initialize.
15269
a195357f
DJ
152702004-02-28 Daniel Jacobowitz <drow@mvista.com>
15271
15272 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
15273 a breakpoint at exit.
15274
72fd54a9
FF
152752004-02-27 Fred Fish <fnf@redhat.com>
15276
15277 * gdb.base/chng-syms.exp: Add expect condition to match failing
15278 case that isn't a timeout.
15279
b9d23137
AC
152802004-02-27 Andrew Cagney <cagney@redhat.com>
15281
15282 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
15283 support.
15284
15d208f6 152852004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 15286
15d208f6
FF
15287 * gdb.arch/gdb1431.c: Remove.
15288 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
15289 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
15290 of "until" incorrectly.
15291
98f9cd2d
JB
152922004-02-26 J. Brobecker <brobecker@gnat.com>
15293
15294 * gdb.cp/class2.cc (empty): New class.
15295 (refer): New function.
15296 (main): Declare an object of type empty and use it.
15297 * gdb.cp/class2.exp: Print the value of an object of type empty.
15298
9b50c11b
JJ
152992004-02-26 Jeff Johnston <jjohnstn@redhat.com>
15300
15301 * gdb.base/langs.exp: Update query string to match the
15302 new nquery format used for pending breakpoints.
15303
0dcd613f
AC
153042004-02-26 Andrew Cagney <cagney@redhat.com>
15305
15306 Fix PR i18n/1570.
15307 * gdb.base/charset.c: Update copyright notice.
15308 (main, init_string): Remove the escape character '\e' tests.
15309 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
15310 * gdb.base/charset.exp (valid_host_charset): Ditto.
15311 * gdb.base/setvar.exp: Ditto.
15312
b8a56647
AC
153132004-02-24 Andrew Cagney <cagney@redhat.com>
15314
90d59e34
AC
15315 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
15316 mmapped data in core file" PASS and FAIL messages consistent.
15317
b8a56647
AC
15318 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
15319 setting a breakpoint. Work around PR java/1565.
15320
9f27c604
JJ
153212004-02-23 Jeff Johnston <jjohnstn@redhat.com>
15322
15323 * lib/gdb.exp (gdb_breakpoint): Update query string to match
15324 new nquery format.
15325 * gdb.base/pending.exp: Ditto.
15326
3224a706
MK
153272004-02-22 Mark Kettenis <kettenis@gnu.org>
15328
15329 * configure.in: Run stabs tests on *BSD.
15330 * configure: Regenerated.
15331
41e0a9ca
MK
153322004-02-21 Mark Kettenis <kettenis@gnu.org>
15333
15334 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
15335
1e1b3428
FF
153362004-02-20 Fred Fish <fnf@redhat.com>
15337
15338 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
15339 blank in test for "returns short", for consistency with other
15340 "returns xxx" tests. Update copyright year.
15341
f9a7572a
FF
153422004-02-19 Fred Fish <fnf@redhat.com>
15343
15344 New testcase for PR breakpoint/1558.
15345 * gdb.arch/gdb1558.exp: New file.
15346 * gdb.arch/gdb1558.c: New file.
15347
b2ce2854
EZ
153482004-02-19 Elena Zannoni <ezannoni@redhat.com>
15349
15350 * gdb.base/nodebug.exp: Fix typo.
15351
e7c9ff01
JB
153522004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15353
15354 Committed by Jim Blandy <jimb@redhat.com>.
15355
62f4b920
JB
15356 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
15357
2db536a1
JB
15358 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
15359
e7c9ff01
JB
15360 * gdb.base/float.exp: Support s390*-*-* targets.
15361
f3205b34
AF
153622004-02-17 Adam Fedor <fedor@gnu.org>
15363
15364 * gdb.base/gdb1555.exp: New file.
15365 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
15366
9d62932d
EZ
153672004-02-17 Elena Zannoni <ezannoni@redhat.com>
15368
15369 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
15370
344c9711
FF
153712004-02-16 Fred Fish <fnf@redhat.com>
15372
15373 * gdb.arch/gdb1291.c: Remove
15374 * gdb.arch/gdb1291.s: New test input file.
15375 * gdb.arch/gdb1291.exp: Expand test to check case that should not
15376 fail. Test for correct result, known incorrect result, other
15377 failures and timeouts.
15378
2d822687
AC
153792004-02-16 Andrew Cagney <cagney@redhat.com>
15380
15381 * gdb.base/bigcore.exp: New file.
15382 * gdb.base/bigcore.c: New file.
15383
dac15b66
AC
153842004-02-13 Andrew Cagney <cagney@redhat.com>
15385
15386 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
15387 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
15388 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
15389 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
15390 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
15391 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
15392 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
15393 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
15394 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
15395 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
15396
6bdfc2c4
JJ
153972004-02-11 Jeff Johnston <jjohnstn@redhat.com>
15398
15399 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
15400 executed is an alloc instruction.
15401
87b3ede8
DC
154022004-02-11 David Carlton <carlton@kealia.com>
15403
15404 * gdb.cp/breakpoint.exp: New.
15405 * gdb.cp/breakpoint.cc: New.
15406
6e19e2bf
MC
154072004-02-11 Michael Chastain <mec.gnu@mindspring.com>
15408
15409 Partial fix for PR gdb/1543.
15410 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
15411 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
15412 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
15413 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
15414 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
15415 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
15416 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
15417 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
15418 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
15419 to bug-gdb@prep.ai.mit.edu .
15420 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
15421 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
15422 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
15423 Likewise.
15424
5c5455dc
AC
154252004-02-10 Andrew Cagney <cagney@redhat.com>
15426
15427 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
15428 using gdb_internal_error_resync.
15429
9cf689d7
DJ
154302004-02-09 Daniel Jacobowitz <drow@mvista.com>
15431
15432 * gdb.threads/thread-specific.exp: Stop early if no threads are
15433 found.
15434
d2dc51db
MC
154352004-02-09 Michael Chastain <mec.gnu@mindspring.com>
15436
15437 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
15438
14b1a056
DJ
154392004-02-08 Daniel Jacobowitz <drow@mvista.com>
15440
15441 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
15442 breakpoints.
15443
83f66e8f
DJ
154442004-02-07 Daniel Jacobowitz <drow@mvista.com>
15445
15446 * config/sim.exp (gdb_load): Handle $arg == "".
15447 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
15448 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
15449
30fc0091
EZ
154502004-02-07 Elena Zannoni <ezannoni@redhat.com>
15451
a9c64011
AS
15452 * gdb.base/maint.exp: Update test to reflect
15453 obstack changes.
30fc0091 15454
4d806929
JJ
154552004-02-04 Jeff Johnston <jjohnstn@redhat.com>
15456
15457 * gdb.base/pendshr.c (pendfunc): New function that calls
15458 pendfunc1.
15459 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
15460
7bfdd688
FF
154612004-02-04 Fred Fish <fnf@redhat.com>
15462
15463 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
15464 function symbols and update copyright years.
15465 * gdb.arch/gdb1291.c: Ditto.
15466
aaa08ee4
MC
154672004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15468
15469 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
15470
dbad7755
MC
154712004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15472
15473 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
15474
ec4646ef
MC
154752004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15476
15477 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
15478
1b802196
FF
154792004-02-02 Fred Fish <fnf@redhat.com>
15480
15481 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
15482 remote targets. Update copyright years.
15483
18fe2033
JJ
154842004-02-02 Jeff Johnston <jjohnstn@redhat.com>
15485
15486 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
15487 support.
15488 * gdb.base/langs.exp: Fix test which attempts to create
15489 breakpoint on non-existent function to handle new pending
15490 support.
15491 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
15492 a breakpoint.
15493 * gdb.base/pending.exp: New test.
15494 * gdb.base/pending.c: New file.
15495 * gdb.base/pendshr.c: Ditto.
15496
8d577d32
DC
154972004-02-02 David Carlton <carlton@kealia.com>
15498
15499 * gdb.cp/overload.exp: Add overloadNamespace tests.
15500 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
15501 (overloadNamespace, XXX): New.
15502 (main): Call XXX::marker2.
15503
3ad13771
FF
155042004-02-01 Fred Fish <fnf@redhat.com>
15505
15506 * gdb.base/dump.exp: Use runto_main instead of "runto main".
15507 * gdb.base/finish.exp: Ditto.
15508 * gdb.base/gcore.exp: Ditto.
15509 * gdb.base/huge.exp: Ditto.
15510 * gdb.base/info-proc.exp: Ditto.
15511 * gdb.base/return2.exp: Ditto.
15512 * gdb.threads/gcore-thread.exp: Ditto.
15513
44c75849
DJ
155142004-02-01 Daniel Jacobowitz <drow@mvista.com>
15515
15516 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
15517
005bc093
MK
155182004-02-01 Mark Kettenis <kettenis@gnu.org>
15519
15520 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
15521 that opening the file succeeds on OpenBSD.
15522
c47cebdb
DJ
155232004-02-01 Daniel Jacobowitz <drow@mvista.com>
15524
15525 * gdb.threads/thread-specific.c: New file.
15526 * gdb.threads/threads-specific.exp: New test script.
15527 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
15528 to expect_out.
15529
5a01311c
MK
155302004-02-01 Mark Kettenis <kettenis@gnu.org>
15531
15532 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
15533 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
15534 only on the "print_small_structs from print_long_arg_list" test.
15535
ce22a4f1
DJ
155362004-02-01 Daniel Jacobowitz <drow@mvista.com>
15537
15538 * gdb.base/completion.exp: Kill a stray backslash.
15539
15540 From Jim Ingham <jingham@apple.com>:
15541 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
15542 agrees with the result from sending a tab.
15543
abbab9d3
DJ
155442004-01-31 Daniel Jacobowitz <drow@mvista.com>
15545
15546 * gdb.base/chng-syms.exp: Remove stray newline.
15547
53904d1e
MK
155482004-01-31 Mark Kettenis <kettenis@gnu.org>
15549
15550 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
15551 *-*-openbsd*.
15552 * gdb.asm/openbsd.inc: New file.
15553
3a4b3aac
MK
155542004-01-30 Mark Kettenis <kettenis@gnu.org>
15555
15556 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
15557 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
15558 *-*solaris2*. Remove commented out default settings for
15559 asm-flags. Replace gdb_compile with target_link.
15560
ebac27b4
MC
155612004-01-29 Michael Chastain <mec.gnu@mindspring.com>
15562
15563 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
15564 for all tests. Remove old hp-ux and cygnus xfail cases.
15565
d8679d84
PH
155662004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
15567
15568 * gdb.base/chng-syms.exp: New file.
15569 * gdb.base/chng-syms.c: New file.
15570
0a55bc22
MC
155712004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15572
15573 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
15574 Provide arms for current output in all my configurations.
15575
94b8e876
MC
155762004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15577
15578 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
15579 * lib/compiler.cc: Likewise.
15580 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
15581 get the right preprocessor. Eval the output directly. Remove
15582 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
15583 hp_f77_compiler and hp_f90_compiler completely.
15584 (gdb_preprocess): Delete.
15585 (get_compiler): Delete.
15586
7cf03d44
MK
155872004-01-24 Mark Kettenis <kettenis@gnu.org>
15588
15589 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
15590 <string.h>.
15591
68b6dce9
NR
155922004-01-24 Nick Roberts <nick@nick.uklinux.net>
15593
15594 * gdb.mi/mi-stack.exp: Update copyright.
15595
b368761e
DC
155962004-01-23 David Carlton <carlton@kealia.com>
15597
15598 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
15599 test for cp_lookup_transparent_type.
15600 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
15601 call them.
15602
f2061b53
DJ
156032004-01-23 Daniel Jacobowitz <drow@mvista.com>
15604
15605 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
15606 after -var-update.
15607
37fc574a
DC
156082004-01-23 David Carlton <carlton@kealia.com>
15609
15610 * gdb.cp/namespace.cc (C::ensureRefs): New.
15611 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
15612
8e94b928
NR
156132004-01-20 Nick Roberts <nick@nick.uklinux.net>
15614
15615 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
15616 case "-stack-list-locals 2".
15617 * gdb.mi/mi-var-child.exp: Test for case
15618 "-var-list-children --all-values NAME".
15619
997b0952
MC
156202004-01-18 Michael Chastain <mec.gnu@mindspring.com>
15621
15622 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
15623
52470da3
MK
156242004-01-18 Mark Kettenis <kettenis@gnu.org>
15625
7049b4b8
MK
15626 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
15627 used with gdb_test_multiple.
15628
52470da3
MK
15629 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
15630 read at address 0. This fixes PR testsuite/1504.
15631
da6012e5
DJ
156322004-01-18 Daniel Jacobowitz <drow@mvista.com>
15633
15634 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
15635 Remove downloading, guessing the host executable, the calls to
15636 gdb_file_cmd and gdb_target_cmd, and "load" support.
15637 (infer_host_exec): New function broken out from gdb_load.
15638 (gdb_load): New wrapper for gdbserver_gdb_load.
15639 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
15640 gdb_target_cmd. Use -target-select.
15641 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
15642 Download binaries to the host. Clear last_mi_remote_file when
15643 we load a new binary.
15644 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
15645 call gdbserver_gdb_load and mi_gdb_target_cmd.
15646
32c70722
MC
156472004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15648
15649 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
15650 type patterns.
15651
b0cecf36
MC
156522004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15653
15654 * gdb.cp/templates.exp: Fix typo in test name of
15655 "print Foo<volatile char*>::foo".
15656
4120d7e6
MC
156572004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15658
15659 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
15660
f679e530
BE
156612004-01-16 Ben Elliston <bje@wasabisystems.com>
15662
15663 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
15664 (clean mostlyclean): Remove empty rm.
15665
091c48f6
MC
156662004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15667
15668 * gdb.base/setvar.exp: Add copyright years.
15669
3e5fc8d2
DC
156702004-01-14 David Carlton <carlton@bactrian.org>
15671
15672 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
15673 PR c++/1511 and update coment.
15674 * gdb.cp/templates.exp: Update patterns to match current output.
15675 If changes involve something other than whitespace, KFAIL
15676 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
15677
63d06c5c
DC
156782004-01-14 David Carlton <carlton@kealia.com>
15679
15680 * gdb.cp/namespace.exp: Add tests involving classes defined within
15681 namespaces.
15682 * gdb.cp/namespace.cc (C::CClass): New.
15683 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
15684
a51dab88
EZ
156852004-01-14 Elena Zannoni <ezannoni@redhat.com>
15686
15687 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
15688 what debug info we have. Print a better message if something goes
15689 wrong while producing the separate debug info file.
15690
a476ccc9
MC
156912004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15692
15693 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
15694
f453692c
MC
156952004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15696
15697 * gdb.base/callfuncs.c: Add copyright notice.
15698
f40063a5
MC
156992004-01-13 Michael Chastain <mec.gnu@mindspring.com>
15700
15701 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
15702 inheritance. PR gdb/1498, PR gcc/13539.
15703
19ac3974
EZ
157042004-01-13 Elena Zannoni <ezannoni@redhat.com>
15705
a9c64011
AS
15706 * gdb.threads/gcore-thread.exp: Prefix name of binary with
15707 test specific name.
15708 * gdb.mi/gdb669.exp: Ditto.
15709 * gdb.mi/mi-pthreads.exp: Ditto.
15710 * gdb.mi/mi1-pthreads.exp: Ditto.
15711 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 15712
56c97c6e
MC
157132004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15714
15715 * gdb.cp/member-ptr.cc: Add copyright notice.
15716
a0644324
MC
157172004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15718
15719 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
15720 some patterns for recent versions of gcc and hpacc. Delete
15721 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
15722 Delete tests that access a NULL pointer-to-member-data. This
15723 script is still disabled for gcc.
15724
32fabe09
EZ
157252004-01-12 Elena Zannoni <ezannoni@redhat.com>
15726
15727 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 15728 escaped correctly.
32fabe09 15729
1f8a6abb
EZ
157302004-01-12 Elena Zannoni <ezannoni@redhat.com>
15731
15732 * gdb.base/sepdebug.exp: New file.
15733 * gdb.base/sepdebug.c: New file.
15734 * lib/gdb.exp (separate_debug_filename): New procedure.
15735 (gdb_gnu_strip_debug): New procedure.
15736
48efe704
AC
157372004-01-12 Andrew Cagney <cagney@redhat.com>
15738
15739 * gdb.mi/ChangeLog: Delete file. Renamed to ...
15740 * gdb.mi/ChangeLog-1999-2003: New file.
15741
a9415475
AC
157422004-01-12 Andrew Cagney <cagney@redhat.com>
15743
15744 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
15745 "Renaming a directory to a non-empty directory returns ENOTEMPTY
15746 or EEXIST", treat EBUSY as an XFAIL.
15747
83b8cf9d
MC
157482004-01-11 Michael Chastain <mec.gnu@mindspring.com>
15749
15750 * gdb.base/scope.exp: Remove obsolete setup_xfail for
15751 hp_cc_compiler.
15752
9939d2a8
MC
157532004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15754
15755 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
15756 decorations.
15757
1ff8cadf
MC
157582004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15759
15760 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
15761 and "(aCC)" decorations. Remove obsolete doco about old
15762 test results.
15763
6fa9022e
MC
157642004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15765
15766 * gdb.cp/exception.exp: Fix typo in doco.
15767
209721fe
MK
157682004-01-09 Mark Kettenis <kettenis@gnu.org>
15769
15770 * gdb.base/gdb1476.exp: Fix typo.
15771
ef11303e
MC
157722004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15773
15774 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
15775 file.
15776
041ab88c
MC
157772004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15778
15779 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
15780 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
15781 Use gdb_compile. Remove restriction on gcc. Add some patterns
15782 for recent version of gdb. Delete second half, which was a copy
15783 of the first half with different build flags. This test is
15784 still disabled because it is still not ready for production.
15785
e36d075a
MC
157862004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15787
15788 * gdb.cp/exception.cc: Add copyright notice.
15789 * gdb.cp/exception.exp: Add a notice that this file is broken
15790 because of line number changes caused by addition of copyright
15791 notice.
15792
42b190ad
MC
157932004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15794
15795 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
15796 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
15797
8f25f06b
MC
157982004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15799
15800 * gdb.cp/classes.exp: Accept gnu abi 2.
15801 * gdb.cp/derivation.exp: Likewise.
15802 * gdb.cp/overload.exp: Likewise.
15803 * gdb.cp/virtfunc.exp: Likewise.
15804
06ded8b8
MC
158052004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15806
15807 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
15808 semicolon after end of function.
15809
77c26ae3
MC
158102004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15811
15812 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
15813 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
15814 boilerplate code for compiling and running the program under
15815 test. Add some string method tests.
15816
20757486
MC
158172004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15818
15819 * gdb.cp/bs15503.cc: Add copyright notice.
15820 * gdb.cp/bs15503.exp: Adjust line number.
15821
0fd3b503
MC
158222004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15823
15824 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
15825 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
15826
10d1bea8
MC
158272004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15828
15829 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
15830 hp_cc_compiler.
15831
2789202a
MC
158322004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15833
15834 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
15835 * gdb.cp/ctti.exp: Use the marker instead of "next".
15836 With gcc, run further before bailing.
15837
b862f14c
MC
158382004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15839
15840 * gdb.cp/cttiadd.cc: Add copyright notice.
15841 * gdb.cp/cttiadd1.cc: Likewise.
15842 * gdb.cp/cttiadd2.cc: Likewise.
15843 * gdb.cp/cttiadd3.cc: Likewise.
15844
96da2469
MC
158452004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15846
15847 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
15848 Use gdb_test, gdb_test_multiple. Use floating-point values that
15849 have exact representations in IEEE-ish formats.
15850
053248ff
MC
158512004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15852
15853 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
15854 compilers. Delete duplicate call to get_compiler_info.
15855 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
15856 * gdb.base/volatile.exp: Likewise.
15857
84acecdd
MK
158582004-01-07 Mark Kettenis <kettenis@gnu.org>
15859
15860 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
15861 memory at address 0.
15862
fe11a27f
MC
158632004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15864
15865 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
15866 to test for hp-ux assembler. Fix copyright years.
15867
60ad077b
AC
158682004-01-07 Andrew Cagney <cagney@redhat.com>
15869
15870 * gdb.base/fileio.c (strerrno): Add "EBUSY".
15871
1c9b8f33
AC
158722004-01-07 Andrew Cagney <cagney@redhat.com>
15873
15874 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
15875 when creating the read-only file. From analysis by Roland McGrath
15876 and Elena Zannoni.
15877
753ccc7a
MC
158782004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15879
15880 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
15881
eca3e36b
MC
158822004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15883
15884 * gdb.base/cvexpr.c: Be type-safe with function pointers and
15885 data pointers.
15886
f8d4bac4
MC
158872004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15888
15889 * gdb.cp/m-static.exp: Compile one source file at a time.
15890 Delete unused call to get_compiler_info.
15891
9b4e0f94
MC
158922004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15893
15894 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
15895 * gdb.base/call-rt-st.exp: Likewise.
15896 * gdb.base/nodebug.exp: Likewise.
15897 * gdb.base/volatile.exp: Likewise.
15898 * gdb.cp/ref-types.exp: Likewise.
15899 * gdb.cp/templates.exp: Likewise.
15900
023c1024
MK
159012004-01-05 Mark Kettenis <kettenis@gnu.org>
15902
15903 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
15904
19703c4a
MC
159052004-01-05 Michael Chastain <mec.gnu@mindspring.com>
15906
15907 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
15908 hppa*-hp-hpux*.
15909
18b67037
MK
159102004-01-04 Mark Kettenis <kettenis@gnu.org>
15911
ba6219c8
MK
15912 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15913 x86_64-*-*.
15914
18b67037
MK
15915 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15916 sparc64-*-* and sparc*-solaris2*.
15917
1bfbbb9d
MK
159182004-01-04 Mark Kettenis <kettenis@gnu.org>
15919
15920 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
15921 return ${tests}" test. The ${tests} already mentions the
15922 filename.
15923
06846494
MC
159242004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15925
15926 * gdb.cp/local.exp: Accept gcc abi 2.
15927
3b0cb202
MC
159282004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15929
15930 * gdb.cp/templates.exp: Accept gcc abi 2.
15931
0643ec3f
MC
159322004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15933
15934 * lib/compiler.cc: Remove supports_template_debugging.
15935 * gdb.cp/templates.exp: Do not test supports_template_debugging.
15936
d231d0b1
MC
159372004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15938
15939 * gdb.cp/namespace.exp: Accept gcc abi 2.
15940
44ffb27c
MC
159412004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15942
15943 * gdb.cp/method.exp: Accept gcc abi 2.
15944
184ad485
MC
159452004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15946
15947 * gdb.cp/classes.exp: Generate identical results as old version.
15948 * gdb.cp/derivation.exp: Likewise.
15949 * gdb.cp/overload.exp: Likewise.
15950 * gdb.cp/virtfunc.exp: Likewise.
15951
116f09e7
MC
159522004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15953
15954 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
15955 mysterious bug with sourceware version of expect.
15956
b1379776
MC
159572004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15958
15959 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
15960 current versions of gcc, including gcc abi 2. Remove gratuitous
15961 restart of test program. Use gdb_test_multiple and gdb_test for
15962 all tests. Add patterns to xfail missing "const" in "const char *"
15963 and kfail PR gdb/1155.
15964
6b7a4c0e
MC
159652004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15966
15967 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
15968 current versions of gcc, including gcc abi 2. Remove gratuitous
15969 restart of test program. Use gdb_test_multiple and gdb_test for
15970 all tests. Add patterns to kfail PR gdb/1498.
15971
51615d72
MC
159722003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15973
15974 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
15975 current versions of gcc, including gcc abi 2. Use "breakpoint"
15976 and "continue" instead of restarting the target program. Use
15977 gdb_test_multiple and gdb_test for all tests.
15978
7b79a9d7
MK
159792004-01-01 Mark Kettenis <kettenis@gnu.org>
15980
15981 * gdb.asm/asm-source.exp: Update copyright year. Link statically
15982 for *-*-solaris2*.
15983
1cd3489f
MC
159842003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15985
15986 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
15987 current versions of gcc, including gcc abi 2. Use "breakpoint"
15988 and "continue" instead of restarting the target program several
15989 times. Use gdb_test_multiple and gdb_test for all tests.
15990
850742db
MC
159912003-12-18 Michael Chastain <mec.gnu@mindspring.com>
15992
15993 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
15994 source files.
15995
eb4bbda8
MC
159962003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15997
15998 * gdb.base/environ.exp: Handle compiling test case from multiple
15999 source files.
16000
e42c7771
MC
160012003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16002
16003 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
16004
80e4b428
JB
160052003-12-17 Jim Blandy <jimb@redhat.com>
16006
5f06973a
JB
16007 * gdb.base/freebpcmd.c: Add copyright notice.
16008
80e4b428
JB
16009 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
16010
0ab84fb7
MC
160112003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16012
16013 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
16014
1b3bb3d0
JB
160152003-12-13 Jim Blandy <jimb@redhat.com>
16016
16017 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
16018
3a4c9371
KB
160192003-12-12 Kevin Buettner <kevinb@redhat.com>
16020
16021 * gdb.asm/frv.inc: New file.
16022 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
16023
a1dea79a
FF
160242003-12-09 Fred Fish <fnf@redhat.com>
16025
16026 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
16027 functions to break1.c and leave prototypes behind. Add more
16028 "set breakpoint NN here" comments.
16029 * gdb.base/break1.c: New file.
16030
16031 * gdb.base/break.exp: Handle compiling test case from multiple
16032 source files and change source file references as needed.
16033 * gdb.base/completion.exp: Ditto.
16034 * gdb.base/condbreak.exp: Ditto.
16035 * gdb.base/define.exp: Ditto.
16036 * gdb.base/ena-dis-br.exp: Ditto.
16037 * gdb.base/info-proc.exp: Ditto.
16038 * gdb.base/maint.exp: Ditto.
16039 * gdb.base/until.exp: Ditto.
16040
16041 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
16042 hardcoded line numbers.
16043 * gdb.base/define.exp: Ditto.
16044 * gdb.base/ena-dis-br.exp: Ditto.
16045 * gdb.base/maint.exp: Ditto.
16046 * gdb.base/until.exp: Ditto.
16047
16048 * gdb.base/completion.exp: Use "break1" for completion tests since
16049 "break" is no longer a unique prefix.
16050
5266b69c
AC
160512003-12-06 Andrew Cagney <cagney@redhat.com>
16052
16053 * gdb.base/structs.exp (test_struct_returns): When applicable, set
16054 "return_value_unimplemented". When an unimplemented struct return
16055 architecture, report incorrect values as a KFAIL
16056
374451f0
MC
160572003-12-05 Michael Chastain <mec.gnu@mindspring.com>
16058
16059 * gdb.cp/rtti.exp: Accept new wording of warning from
16060 cp_lookup_rtti_type.
16061
ba9b20a7
MC
160622003-12-05 Michael Chastain <mec.gnu@mindspring.com>
16063
16064 Partial fix for PR testsuite/1456.
16065 * gdb.base/scope.exp (test_at_main): Replace references to
16066 gcc_compiled with calls to test_compiler_info.
16067 (test_at_foo): Likewise.
16068 (test_at_bar): Likewise.
16069
b74b6d0b
MC
160702003-12-04 Michael Chastain <mec.gnu@mindspring.com>
16071
16072 Partial fix for PR testsuite/1456.
16073 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
16074 to test_compiler_info.
16075
ccfa3402
MC
160762003-12-03 Michael Chastain <mec.gnu@mindspring.com>
16077
16078 * gdb.base/so-impl-ld.exp: Update copyright notice.
16079
f6246aba
MC
160802003-12-02 Michael Chastain <mec.gnu@mindspring.com>
16081
16082 Partial fix for PR testsuite/1456.
16083 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
16084 to test_compiler_info.
16085
13ae734a
MC
160862003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16087
16088 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
16089 from current versions of gdb. Clean up regular expressions.
16090 Delete redundant timeout case.
16091
d8e1cdee
MC
160922003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16093
16094 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
16095 from current versions of gdb. Clean up regular expressions.
16096 Delete redundant timeout case.
16097
96457b64
MC
160982003-12-01 Michael Chastain <mec.gnu@mindspring.com>
16099
16100 Partial fix for PR testsuite/1456.
16101 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
16102 gcc_compiled with call to test_compiler_info.
16103
f35309fc
MC
161042003-11-30 Michael Chastain <mec.gnu@mindspring.com>
16105
16106 Partial fix for PR testsuite/1456.
16107 * gdb.base/list.exp (test_list_function): Delete unused declaration
16108 of gcc_compiled.
16109
d7afdf9b
MC
161102003-11-29 Michael Chastain <mec.gnu@mindspring.com>
16111
16112 Partial fix for PR testsuite/1456.
16113 * gdb.base/complex.exp: Replace reference to gcc_compiled with
16114 call to test_compiler_info.
16115
71507b56
MK
161162003-11-29 Mark Kettenis <kettenis@gnu.org>
16117
16118 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
16119 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
16120 it to create the appropriate note.inc.
16121 * gdb.asm/asmsrc1.s: Include "note.inc".
16122 * gdb.asm/netbsd.inc: New file.
16123 * gdb.asm/empty.inc: New file.
16124
f81f93f7
MC
161252003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16126
16127 Partial fix for PR testsuite/1456.
16128 * gdb.base/constvars.exp: Replace references to gcc_compiled with
16129 calls to test_compiler_info.
16130
9a77938e
MC
161312003-11-27 Michael Chastain <mec.gnu@mindspring.com>
16132
16133 Partial fix for PR testsuite/1456.
16134 * gdb.base/volatile.exp: Replace references to gcc_compiled with
16135 calls to test_compiler_info.
16136
e8367dc7
MK
161372003-11-27 Mark Kettenis <kettenis@gnu.org>
16138
16139 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
16140 pattern for the KFAILs.
16141
526c61ee
AF
161422003-11-25 Adam Fedor <fedor@gnu.org>
16143
16144 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
16145 * gdb.objc/objcdecode.m: New file.
16146
28f2d600
AF
161472003-11-25 Adam Fedor <fedor@gnu.org>
16148
16149 * gdb.objc/nondebug.exp: Test for PR objc/1236.
16150 * gdb.objc/nondebug.m: New file.
16151
a3895cee
BE
161522003-11-26 Ben Elliston <bje@wasabisystems.com>
16153
16154 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16155 NetBSD as it does on FreeBSD. Modelled on a similar change by
16156 Mark Kettenis on 2003-05-30.
16157 (link-flags): Set to "--entry _start" regardless of target.
16158 Special linker flags are to be appended to $link-flags.
16159 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
16160
c9f2c8a3
MC
161612003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16162
16163 * gdb.cp/method.exp: Accept output of new demangler.
16164
15a0587a 161652003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
16166
16167 * gdb/class2.exp: New file.
16168 * gdb/class2.cc: New file.
16169
3c00b570
MC
161702003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16171
16172 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
16173 of new demangler.
16174
7027acc7
MK
161752003-11-23 Mark Kettenis <kettenis@gnu.org>
16176
16177 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
16178 of gdb_test "run".
16179
b0e1598a
MK
161802003-11-23 Mark Kettenis <kettenis@gnu.org>
16181
16182 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
16183 "continue" into "run".
16184
4d9eda44
MC
161852003-11-23 Michael Chastain <mec.gnu@mindspring.com>
16186
16187 Partial fix for PR testsuite/1456.
16188 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
16189 call to test_compiler_info.
16190 * gdb.cp/ctti.exp: Likewise.
16191 * gdb.cp/derivation.exp: Likewise.
16192 * gdb.cp/member-ptr.exp: Likewise.
16193 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
16194 reference to gcc_compiled.
16195
161962003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
16197
16198 Fix PR testsuite/1463.
16199 * gdb.base/structs.exp (start_structs_test): Call
16200 get_debug_format before using the debug format.
16201
d422fe19
AC
162022003-11-22 Andrew Cagney <cagney@redhat.com>
16203
16204 * lib/gdb.exp (gdb_test_multiple): Add simple example.
16205 * gdb.base/structs.exp: Use gdb_test_multiple.
16206
039cf96d
AC
162072003-11-20 Andrew Cagney <cagney@redhat.com>
16208
6882279b
AC
16209 * gdb.base/structs.exp: Handle and recover from internal errors.
16210 Replace "foo${n}" with "foo<n>" in test messages.
16211
e53890ae
AC
16212 * gdb.base/structs.exp: Update copyright. Rewrite.
16213 * gdb.base/structs.c: Update copyright. Rewrite.
16214
2b211c59
AC
16215 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
16216 resync count exceeded.
d63a86f8 16217
039cf96d
AC
16218 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
16219 from the internal error.
16220 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
16221 Original from Jim Blandy.
16222 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 16223
eac98b22
AC
162242003-11-19 Andrew Cagney <cagney@redhat.com>
16225
16226 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
16227 KFAIL.
16228
67455b2a
MK
162292003-11-17 Mark Kettenis <kettenis@gnu.org>
16230
16231 New testcase for PR backtrace/1435.
16232 * gdb.arch/i386-unwind.exp: New file.
16233 * gdb.arch/i386-unwind.c: New file.
16234
853d6e5b
AC
162352003-11-17 Andrew Cagney <cagney@redhat.com>
16236
16237 * lib/gdb.exp (compiler_info): New global.
16238 (test_compiler_info): New function.
16239 (get_compiler_info): Set compiler_info.
16240 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
16241 "compiler_info" to gcc-<major>-<minor>.
16242
38cf6e11
MC
162432003-11-15 Michael Chastain <mec.gnu@mindspring.com>
16244
16245 * gdb.trace/configure: Remove.
16246
a50d3602
EZ
162472003-11-13 Elena Zannoni <ezannoni@redhat.com>
16248
16249 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 16250 breakpoints.
a50d3602
EZ
16251 * gdb.base/break.exp: Remove all references to explicit line
16252 numbers.
16253
d9407aaa
NC
162542003-11-11 Nick Clifton <nickc@redhat.com>
16255
16256 * gdb.base/shreloc.exp: Do not run for targets which do not
16257 support shared objects.
16258
db488fc1
CV
162592003-11-10 Corinna Vinschen <vinschen@redhat.com>
16260
16261 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
16262 Don't run tests if nofileio flag is given.
16263
6a90a18e
EZ
162642003-11-07 Elena Zannoni <ezannoni@redhat.com>
16265
16266 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 16267 as well as 'Watchpoint'.
6a90a18e 16268
0b915e9c
EZ
162692003-11-06 Elena Zannoni <ezannoni@redhat.com>
16270
16271 Reported by Jim Ingham <jingham@apple.com>:
16272 * gdb.base/annota1.exp: Match at least one occurrence of the
16273 signal handler annotation.
16274
d7e4b55f
EZ
162752003-11-06 Elena Zannoni <ezannoni@redhat.com>
16276
a9c64011
AS
16277 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
16278 as well as 'Watchpoint'.
d7e4b55f 16279
2fe4e8d0
MC
162802003-11-05 Michael Chastain <mec@shout.net>
16281
16282 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
16283
6ef88553
KW
162842003-11-03 Kris Warkentin <kewarken@qnx.com>
16285
16286 * gdb.arch/gdb1291.c: New test file.
16287 * gdb.arch/gdb1291.exp: New test script.
16288 * gdb.arch/gdb1431.c: New test file.
16289 * gdb.arch/gdb1431.exp: New test script.
16290
ae7dc4d8
MC
162912003-10-22 Michael Chastain <mec@shout.net>
16292
16293 * gdb.mi/pthreads.c: Add copyright notice.
16294
c39d7427
MC
162952003-10-22 Michael Chastain <mec@shout.net>
16296
16297 * gdb.threads/pthreads.c: Add copyright notice.
16298
8b7d96c1
MC
162992003-10-20 Michael Chastain <mec@shout.net>
16300
16301 * gdb.base/gdb1056.exp: New test script.
16302
d1d69fdd
DJ
163032003-10-13 Daniel Jacobowitz <drow@mvista.com>
16304
16305 * gdb.threads/killed.exp: Use gdb_run_cmd.
16306
7d605576
DJ
163072003-10-13 Daniel Jacobowitz <drow@mvista.com>
16308
16309 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
16310 create a core file.
16311 * gdb.threads/gcore-thread.exp: Likewise.
16312
618ec112
CV
163132003-10-13 Corinna Vinschen <vinschen@redhat.com>
16314
16315 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
16316 type, based on char type.
16317 (struct bit_flags_short_t): New bitfield type, based on short type.
16318 (init_bit_flags_char): New fuction.
16319 (init_bit_flags_short): Ditto.
16320 (print_bit_flags_char): Ditto.
16321 (print_bit_flags_short): Ditto.
16322 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
16323
9367a73c
MC
163242003-10-11 Michael Chastain <mec@shout.net>
16325
16326 * gdb.base/call-rt-st.exp: Update copyright year.
16327
1decf120
KI
163282003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
16329
16330 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
16331 * gdb.disasm/sh3.s: Ditto.
16332
5445b2ae
DJ
163332003-10-07 Daniel Jacobowitz <drow@mvista.com>
16334
16335 * gdb.threads/switch-threads.exp: New test.
16336 * gdb.threads/switch-threads.c: New source file.
16337
aec24853
CV
163382003-10-07 Corinna Vinschen <vinschen@redhat.com>
16339
16340 * gdb.base/ending-run.exp: Add sh specific case.
16341
adc7428d
AC
163422003-10-06 Andrew Cagney <cagney@redhat.com>
16343
16344 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
16345 * gdb.disasm/mn10200.exp: Delete obsolete file.
16346
c9d37158
DJ
163472003-09-29 Daniel Jacobowitz <drow@mvista.com>
16348
16349 * ChangeLog: Correct an entry command.exp -> commands.exp.
16350 * gdb.base/commands.exp (bp_deleted_in_command_test)
16351 (temporary_breakpoint_commands): Check noargs.
16352
79c2c32d
DC
163532003-09-25 David Carlton <carlton@kealia.com>
16354
16355 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
16356 of some print tests, where appropriate. Add tests for C::D::cd,
16357 E::ce, F::cXfX, G::XgX.
16358 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
16359
594e6d67
RE
163602003-09-25 Richard Earnshaw <rearnsha@arm.com>
16361
16362 * lib/java.exp (java_init): Import target_alias before using it.
16363
10f0d451
DC
163642003-09-25 David Carlton <carlton@kealia.com>
16365
16366 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
16367
274bcba0
EZ
163682003-09-23 Elena Zannoni <ezannoni@redhat.com>
16369
d63a86f8 16370 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 16371 weirdness.
274bcba0 16372
cdbf20f7
MC
163732003-09-17 Michael Chastain <mec@shout.net>
16374
16375 * gdb.cp/gdb1355.exp: New file.
16376 * gdb.cp/gdb1355.c: New file.
16377
71e06f80
CV
163782003-09-15 Corinna Vinschen <vinschen@redhat.com>
16379
16380 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
16381 * gdb.asm/sh.inc: New file.
16382
5c4e30ca
DC
163832003-09-11 David Carlton <carlton@kealia.com>
16384
bd45b7af
DC
16385 * gdb.cp/namespace.exp: Add tests for namespace types.
16386 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
16387 (test_namespace): New.
16388
1c199746
EZ
163892003-09-11 Elena Zannoni <ezannoni@redhat.com>
16390
a9c64011 16391 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 16392 * gdb.stabs/weird.exp: Ditto.
1c199746 16393
04ed252f
MC
163942003-09-08 Michael Chastain <mec@shout.net>
16395
16396 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
16397
d8a2d9e7
MC
163982003-09-07 Michael Chastain <mec@shout.net>
16399
16400 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
16401 'parse error'.
16402
161afb24
MK
164032003-09-07 Mark Kettenis <m.kettenis@osp.nl>
16404
16405 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
16406
49f2741a
MC
164072003-08-30 Michael Chastain <mec@shout.net>
16408
16409 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
16410 * gdb.gdb/observer.exp: Ditto.
16411 * gdb.gdb/xfullpath.exp: Ditto.
16412
8afa723e
MK
164132003-08-29 Mark Kettenis <kettenis@gnu.org>
16414
16415 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
16416 *-*-*bsd*.
16417
f31dfe3b
JJ
164182003-08-28 Jeff Johnston <jjohnstn@redhat.com>
16419
16420 * gdb.base/dump.exp: Skip for ia64.
16421
4630e498
JJ
164222003-08-25 Jeff Johnston <jjohnstn@redhat.com>
16423
16424 * gdb.asm/asm-source.exp: Add ia64 support.
16425 * gdb.asm/ia64.inc: New file.
16426
1105b7ef
MC
164272003-08-22 Michael Chastain <mec@shout.net>
16428
16429 * gdb.cp: New directory.
16430 * gdb.cp/*: Copy from gdb.c++/*.
16431 * gdb.c++/*: Remove.
16432 * Makefile.in: Change gdb.c++ to gdb.cp.
16433 * configure.in: Ditto.
16434 * configure: Regnerate.
16435
c945b932
MK
164362003-08-18 Mark Kettenis <kettenis@gnu.org>
16437
16438 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
16439 * gdb.arch/i386-prologue.c (gdb1338): Add function.
16440
2b66634b
DJ
164412003-08-17 Daniel Jacobowitz <drow@mvista.com>
16442
16443 * mi-var-display.exp (-var-list-children weird): Accept function
16444 pointers with argument types.
16445 * mi1-var-display.exp (-var-list-children weird): Likewise.
16446 * mi2-var-display.exp (-var-list-children weird): Likewise.
16447
a356f73b
DJ
164482003-08-17 Daniel Jacobowitz <drow@mvista.com>
16449
16450 * gdb.base/annota3.exp: Add missing newline.
16451
483417b8
MC
164522003-08-06 Michael Chastain <mec@shout.net>
16453
16454 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
16455
c99c59c3
MS
164562003-08-12 Michael Snyder <msnyder@redhat.com>
16457
16458 * gdb.base/float.exp: Add test for SH.
16459
55ed7501
MK
164602003-08-10 Mark Kettenis <kettenis@gnu.org>
16461
16462 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
16463
1a371f2e
EZ
164642003-08-07 Elena Zannoni <ezannoni@redhat.com>
16465
16466 * gdb.base/completion.exp: Remove reduntant completion test
16467 on filename.
16468
e0f353ce
EZ
164692003-08-07 Elena Zannoni <ezannoni@redhat.com>
16470
a9c64011
AS
16471 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
16472 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
16473 gdb.trace/save-trace.exp: Make sure that full pathnames are
16474 escaped correctly.
e0f353ce 16475
5710a1af 164762003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 16477
a9c64011
AS
16478 * configure.in: Don't generate config.h from config.hin.
16479 * configure: Regenerate.
16480 * config.hin: Remove file.
16481 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
16482 * gdb.threads/pthreads.c: Ditto.
5710a1af 16483
dcd81ce9
DJ
164842003-08-07 Daniel Jacobowitz <drow@mvista.com>
16485
16486 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16487 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
16488 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
16489 Replace ld24 with seth/add3.
16490
6009d884
AC
164912003-08-02 Andrew Cagney <cagney@redhat.com>
16492
16493 * gdb.base/annota3.exp: New file.
16494 * gdb.base/annota3.c: New file.
16495 * gdb.c++/annota3.exp: New file.
16496 * gdb.c++/annota3.cc: New file.
16497
51514e06
MC
164982003-07-29 Michael Chastain <mec@shout.net>
16499
16500 * gdb.threads/tls.c (spin): Check errno only if sem_wait
16501 actually failed.
16502 (do_pass): Likewise.
16503 * gdb.threads/tls.exp: Always initialize no_of_threads.
16504
4ee6625b
DJ
165052003-07-27 Daniel Jacobowitz <drow@mvista.com>
16506
16507 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
16508 pattern.
16509 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
16510 * gdb.threads/tls.exp: Recognize one case of the host library not
16511 supporting TLS.
16512
225f2bf6
AC
165132003-07-27 Andrew Cagney <cagney@redhat.com>
16514
16515 * gdb.base/fileio.exp: Use SH when running commands using
16516 remote_exec.
16517
bcb27c9f
DJ
165182003-07-24 Daniel Jacobowitz <drow@mvista.com>
16519
16520 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16521 * gdb.base/relocate.c (dummy): New padding array.
16522
3d67be83
MS
165232003-07-22 Michael Snyder <msnyder@redhat.com>
16524
d63a86f8 16525 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
16526
16527 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
16528 patterns to be more general, accepting old and new output.
16529 Some output chars (such as '+') also must be quoted.
d63a86f8 16530 Some addresses are displayed numerically instead of
3d67be83
MS
16531 symbolically.
16532
57ba3b85
MS
165332003-07-23 Michael Snyder <msnyder@redhat.com>
16534
686d097c
MS
16535 * gdb.base/return2.exp: Don't test long-long return.
16536
57ba3b85
MS
16537 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
16538 * gdb.disasm/t01_mov.exp: Ditto.
16539 * gdb.disasm/t02_mova.s: Ditto.
16540 * gdb.disasm/t02_mova.exp: Ditto.
16541 * gdb.disasm/t03_add.s: Ditto.
16542 * gdb.disasm/t03_add.exp: Ditto.
16543 * gdb.disasm/t04_sub.s: Ditto.
16544 * gdb.disasm/t04_sub.exp: Ditto.
16545 * gdb.disasm/t05_cmp.s: Ditto.
16546 * gdb.disasm/t05_cmp.exp: Ditto.
16547 * gdb.disasm/t06_ari2.s: Ditto.
16548 * gdb.disasm/t06_ari2.exp: Ditto.
16549 * gdb.disasm/t07_ari3.s: Ditto.
16550 * gdb.disasm/t07_ari3.exp: Ditto.
16551 * gdb.disasm/t08_or.s: Ditto.
16552 * gdb.disasm/t08_or.exp: Ditto.
16553 * gdb.disasm/t09_xor.s: Ditto.
16554 * gdb.disasm/t09_xor.exp: Ditto.
16555 * gdb.disasm/t10_and.s: Ditto.
16556 * gdb.disasm/t10_and.exp: Ditto.
16557 * gdb.disasm/t11_logs.s: Ditto.
16558 * gdb.disasm/t11_logs.exp: Ditto.
16559 * gdb.disasm/t12_bit.s: Ditto.
16560 * gdb.disasm/t12_bit.exp: Ditto.
16561 * gdb.disasm/t13_otr.s: Ditto.
16562 * gdb.disasm/t13_otr.exp: Ditto.
16563
e00759ef
EZ
165642003-07-22 Elena Zannoni <ezannoni@redhat.com>
16565
16566 * gdb.threads/tls.exp :Add kfail for 'info address' case.
16567
8bc2021f
EZ
165682003-07-22 Elena Zannoni <ezannoni@redhat.com>
16569
a9c64011
AS
16570 * gdb.threads/tls.c : New file.
16571 * gdb.threads/tls.exp : New file.
16572 * gdb.threads/tls-main.c : New file.
16573 * gdb.threads/tls-shared.c : New file.
16574 * gdb.threads/tls-shared.exp : New file.
8bc2021f 16575
89320c4c
AS
165762003-07-22 Andreas Schwab <schwab@suse.de>
16577
16578 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
16579
180dea7c
AS
165802003-07-20 Andreas Schwab <schwab@suse.de>
16581
16582 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
16583 due to insn reordering.
16584
0714963c
AC
165852003-07-15 Andrew Cagney <cagney@redhat.com>
16586
16587 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
16588
98a23b3f
MC
165892003-07-15 Michael Chastain <mec@shout.net>
16590
16591 * gdb.base/gdb1250.exp: New file.
16592 * gdb.base/gdb1250.c: New file.
16593
27e417a2
ML
165942003-07-09 Michal Ludvig <mludvig@suse.cz>
16595
16596 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
16597 expansion of size_t to 'unsigned long', not only to 'unsigned'.
16598
8bc2021f
EZ
165992003-07-09 Elena Zannoni <ezannoni@redhat.com>
16600
a9c64011
AS
16601 * gdb.threads/tls.c: New file.
16602 * gdb.threads/tls.exp: New file.
16603 * gdb.threads/tls-main.c: New file.
16604 * gdb.threads/tls-shared.c: New file.
16605 * gdb.threads/tls-shared.exp: New file.
8bc2021f 16606
d99968dc
EZ
166072003-07-09 Elena Zannoni <ezannoni@redhat.com>
16608
16609 * gdb.base/annota1.exp: Make sure that we properly escape the
16610 full path of the source file. Xfail more permissive patterns,
d63a86f8 16611 due to a compiler debug info problem.
d99968dc 16612
83876b3b
AS
166132003-07-07 Andreas Schwab <schwab@suse.de>
16614
2705e972
AS
16615 * gdb.asm/m68k.inc: New file.
16616 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
16617
83876b3b
AS
16618 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
16619 arguments"): Also match negative number.
16620
16621 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
16622
3a871b37
DJ
166232003-07-03 Daniel Jacobowitz <drow@mvista.com>
16624
16625 * gdb.base/store.c (charest): New typedef.
16626 (add_char): Rename to add_charest, update.
16627 (wack_char): Rename to wack_charest, update types. Return l + r
16628 to keep r live across the call.
16629 (wack_short, wack_int, wack_long, wack_longest, wack_float)
16630 (wack_double, wack_doublest): Return l + r to keep r live across
16631 the call.
16632 * gdb.base/store.exp: Accomodate store.c changes.
16633
b2a7f303
DC
166342003-06-30 David Carlton <carlton@kealia.com>
16635
16636 * gdb.c++/maint.exp (test_invalid_name): New.
16637 (test_first_component): Add tests for invalid names.
16638
3c6cb4a1
MC
166392003-06-29 Michael Chastain <mec@shout.net>
16640
16641 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
16642 output of '<VTT for class>' for virtual base classes.
16643
f1c2644b
DJ
166442003-06-29 Daniel Jacobowitz <drow@mvista.com>
16645
16646 * gdb.base/completion.exp: Tab-complete "complet" instead of
16647 "compl".
16648 * gdb.base/complex.exp, gdb.base/complex.c: New files.
16649
18080350
DJ
166502003-06-29 Daniel Jacobowitz <drow@mvista.com>
16651
16652 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
16653 * gdb.base/volatile.exp: Likewise.
16654
f56973f8
DJ
166552003-06-29 Daniel Jacobowitz <drow@mvista.com>
16656
16657 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
16658 gdb/1265.
16659
166602003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
16661 Daniel Jacobowitz <drow@mvista.com>
16662
16663 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
16664 initial line count of 'captured_main' from 26 to 32.
16665 (test_with_self): Allow xmalloc call to be interleaved with the
16666 preceding two lines.
16667
e766d4d6
JB
166682003-06-24 Joel Brobecker <brobecker@gnat.com>
16669
16670 * gdb.base/bang.exp: New testcase.
16671
f125c9a4
JB
166722003-06-23 Joel Brobecker <brobecker@gnat.com>
16673
16674 * gdb.base/langs.exp: Add some tests for the "minimal" language
16675 support.
16676
6e25beaf
EZ
166772003-06-23 Elena Zannoni <ezannoni@redhat.com>
16678
16679 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
16680 the testcase.
16681
2f816dda
DJ
166822003-06-22 Daniel Jacobowitz <drow@mvista.com>
16683
16684 * gdb.base/relocate.exp: Test add-symbol-file with a variable
16685 offset.
16686
db5a5748
DJ
166872003-06-22 Daniel Jacobowitz <drow@mvista.com>
16688
16689 * gdb.c++/pr-1210.cc: New file.
16690 * gdb.c++/pr-1210.exp: New file.
16691
1df0c130
DJ
166922003-06-21 Daniel Jacobowitz <drow@mvista.com>
16693
16694 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
16695 000-exec-continue.
16696
a92feac0
MK
166972003-06-15 Mark Kettenis <kettenis@gnu.org>
16698
16699 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
16700 on *-*-*bsd* instead of *-*-freebsd*.
16701
81a58f5b
AC
167022003-06-14 Andrew Cagney <cagney@redhat.com>
16703
16704 * gdb.base/store.exp: Test longest and doublest. Test all
16705 parameters. Weaken return statement match.
16706 * gdb.base/store.c: Add longest and doublest - aka long long and
16707 long double functions. Put all parameters into local register
16708 variables. Use negative values.
16709
b257a0d3
AC
167102003-06-14 Andrew Cagney <cagney@redhat.com>
16711
16712 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
16713 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
16714 exit status.
16715 * gdb.base/fileio.exp: Disable target when nointerrupts and
16716 noinferiorio, instead of limiting it to remote. Use remote_exec
16717 instead of system.
d63a86f8 16718
21c38304
JJ
167192003-06-12 Jeff Johnston <jjohnstn@redhat.com>
16720
16721 * gdb.base/float.exp: Add ia64 support.
16722
1bcdb424
CV
167232003-06-12 Corinna Vinschen <vinschen@redhat.com>
16724
16725 * gdb.base/fileio.exp: Run only on remote targets.
16726
6aeb981f
CV
167272003-06-10 Corinna Vinschen <vinschen@redhat.com>
16728
16729 * gdb.base/fileio.c: New file, testing File-I/O.
16730 * gdb.base/fileio.exp: Ditto.
16731
53df362e
RG
167322003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
16733
16734 * gdb.base/shreloc.exp: New file, check symbol values obtained from
16735 shared objects after relocation at load time (gdb PR/1132).
16736 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 16737 as above, part of the shared object relocation test.
53df362e 16738
ffee1b46
MK
167392003-06-08 Mark Kettenis <kettenis@gnu.org>
16740
b5ca3722
MK
16741 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
16742 fully filled history list.
16743 * gdb.base/gdb_history: New file.
16744
03ed860d
MK
16745 * gdb.base/signals.exp: XFAIL "continue to func1" on
16746 i*86-*-freebsd*.
16747
ffee1b46
MK
16748 * gdb.base/attach.exp: When trying to attach to a nonexistent
16749 process, make it possible to specify the PID based on the target,
16750 and do so for *-*-freebsd*.
16751
d80dbb52
RH
167522003-06-02 Richard Henderson <rth@redhat.com>
16753
16754 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
16755
6dd77b81
RH
167562003-06-02 Richard Henderson <rth@redhat.com>
16757
16758 * gdb.base/selftest.exp: Next over lim_at_start initialization.
16759
f6347e16
RH
167602003-06-02 Richard Henderson <rth@redhat.com>
16761
16762 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
16763
2c161407
DJ
167642003-06-01 Daniel Jacobowitz <drow@mvista.com>
16765
16766 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
16767 of globalvar.
16768
572eb746
MK
167692003-06-01 Mark Kettenis <kettenis@gnu.org>
16770
16771 * gdb.asm/asm-source.exp: Check for memory read errors in
16772 disassembler test on *BSD too.
16773
9e9617a5
RH
167742003-06-01 Richard Henderson <rth@redhat.com>
16775
16776 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
16777 for .frame.
16778 (gdbasm_call): Lose ldgp.
16779 (gdbasm_startup): Add frame information.
16780 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
16781
7b34ad4e
MK
167822003-05-31 Mark Kettenis <kettenis@gnu.org>
16783
16784 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
16785 i?86-*-*.
16786
10059fdf
MK
167872003-05-30 Mark Kettenis <kettenis@gnu.org>
16788
16789 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16790 FreeBSD.
16791
acf4b816
RH
167922003-05-29 Richard Henderson <rth@redhat.com>
16793
16794 * gdb.asm/alpha.inc: New file.
16795 * gdb.asm/asm-source.exp: Use it.
16796
e9ecd949
JB
167972003-05-29 Jim Blandy <jimb@redhat.com>
16798
16799 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
16800 'core.PID'.
16801
e3e5a4f3
JB
168022003-05-22 Jim Blandy <jimb@redhat.com>
16803
16804 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
16805 backtrace.
d63a86f8 16806
72fe3d25
DC
168072003-05-20 David Carlton <carlton@math.stanford.edu>
16808
16809 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
16810 this time.
16811
58da2eb2
DC
168122003-05-19 David Carlton <carlton@bactrian.org>
16813
16814 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
16815 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
16816
1fcb5155
DC
168172003-05-19 David Carlton <carlton@bactrian.org>
16818
16819 * gdb.c++/namespace.exp: Add namespace scope and anonymous
16820 namespace tests.
16821 Bump copyright date.
16822 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
16823 (main): Call C::D::marker2.
16824 * gdb.c++/namespace1.cc: New file.
16825
85e85163
JJ
168262003-05-14 Jeff Johnston <jjohnstn@redhat.com>
16827
16828 Roland McGrath <roland@redhat.com>
d63a86f8 16829 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
16830 there is no manager thread.
16831
a25fbfec
JJ
168322003-05-08 Jeff Johnston <jjohnstn@redhat.com>
16833
d63a86f8
RM
16834 * gdb.threads/schedlock.exp: Remove assumption that all threads
16835 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
16836 in one of the child threads rather than the main thread.
16837
be375bae
JB
168382003-05-07 Jim Blandy <jimb@redhat.com>
16839
09bf6082
JB
16840 Add support for assembly source testing on the s390x.
16841 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
16842 architecture.
16843 * gdb.asm/s390x.inc: New file.
16844
be375bae
JB
16845 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
16846 succession of 'if' statements.
16847
00905d52
AC
168482003-05-05 Andrew Cagney <cagney@redhat.com>
16849
16850 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
16851
b1e29e33
AC
168522003-05-05 Andrew Cagney <cagney@redhat.com>
16853
16854 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
16855 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
16856
e33d66ec
EZ
168572003-05-02 Elena Zannoni <ezannoni@redhat.com>
16858
16859 * gdb.base/charset.exp: Update based on new behavior of set/show
16860 charset commands.
16861
2b6fd0d8
AC
168622003-05-01 Andrew Cagney <cagney@redhat.com>
16863
16864 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
16865 variable do not give memory errors.
16866
130cacce
AF
168672003-04-30 Adam Fedor <fedor@gnu.org>
16868
16869 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
16870 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
16871 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
16872 gdb.objc/basicclass.m: : New files
16873
16874 * lib/gdb.exp (gdb_compile_objc): New procedure.
16875
bea71854
DJ
168762003-04-27 Daniel Jacobowitz <drow@mvista.com>
16877
16878 * gdb.base/signals.exp: Make backtrace tests more specific.
16879
0f20eeea
DC
168802003-04-23 David Carlton <carlton@bactrian.org>
16881
16882 * gdb.c++/maint.exp (test_first_component): Add tests for
16883 'operator' in more locations.
16884
c8c4d8dc
KB
168852003-04-16 Kevin Buettner <kevinb@redhat.com>
16886
16887 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
16888
3fe60e3c
EZ
168892003-04-16 Elena Zannoni <ezannoni@redhat.com>
16890
16891 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 16892 func marke' instead. Update test name.
3fe60e3c 16893
9219021c
DC
168942003-04-15 David Carlton <carlton@math.stanford.edu>
16895
16896 * gdb.c++/maint.exp: New file.
16897
5dd55bdd
EZ
168982003-04-14 Elena Zannoni <ezannoni@redhat.com>
16899
16900 * gdb.threads/schedlock.c: Change type of thread function argument
16901 to long, to avoid warnings on 64-bit platforms.
16902
00890572
EZ
169032003-04-14 Elena Zannoni <ezannoni@redhat.com>
16904
a9c64011
AS
16905 * gdb.base/attach.exp: Add new message from ptrace in case of
16906 attaching to nonexistent process.
d63a86f8 16907
93201743
JB
169082003-04-11 Jim Blandy <jimb@redhat.com>
16909
16910 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16911 gdb.c++/userdef.cc: Place comments on the lines to which the
16912 marker function might return.
16913 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16914 gdb.c++/userdef.exp: Look for those comments to check that we've
16915 returned to the right place, instead of checking line numbers.
16916
2a11c64d
EZ
169172003-04-11 Elena Zannoni <ezannoni@redhat.com>
16918
a9c64011
AS
16919 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
16920 match on sourcefile name, instead of directory name.
2a11c64d 16921
68ab8fc5
EZ
169222003-04-10 Elena Zannoni <ezannoni@redhat.com>
16923
d63a86f8 16924 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
16925 working directory name.
16926
5624293a
JB
169272003-04-09 Jim Blandy <jimb@redhat.com>
16928
16929 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16930 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
16931 after an inferior function call, report the failure, but allow the
16932 test to continue.
16933
f1f02ee4
SC
169342003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16935
16936 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16937 with -DPROTOTYPES.
16938
6eb79af0
SC
169392003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16940
16941 * gdb.base/break.exp: Revert last patch.
16942
8dfb4cf0
SC
169432003-04-04 Stephane Carrez <stcarrez@nerim.fr>
16944
16945 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16946 with -DPROTOTYPES.
16947
ed4c619a
AC
169482003-04-02 Andrew Cagney <cagney@redhat.com>
16949
16950 * gdb.base/callfuncs.exp: Make "print add" messages unique.
16951 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
16952 matching directories by the name breakpoint.
16953 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
16954 Make "continue to marker1" consistent.
16955 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
16956 message consistent.
16957 * lib/gdb.exp: Put "the program is no longer running", and "the
16958 program exited" in parenthesis.
16959 * lib/mi-support.exp: Ditto.
d63a86f8 16960
4e35d5f0 169612003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 16962
4e35d5f0
BR
16963 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
16964
71900fe8
AC
169652003-03-29 Andrew Cagney <cagney@redhat.com>
16966
16967 * gdb.base/sizeof.c (main): Print the value of '\377'.
16968 * gdb.base/sizeof.exp: Check the sign of '\377'.
16969
c0655a16
MC
169702003-03-27 Michael Chastain <mec@shout.net>
16971
16972 * gdb.base/gdb1090.exp: New file.
16973 * gdb.base/gdb1090.cc: New file.
16974
5b2a3989
JB
169752003-03-27 J. Brobecker <brobecker@gnat.com>
16976
16977 * gdb.gdb/observer.exp: New regression test.
16978
79876890
MC
169792003-03-27 Michael Chastain <mec@shout.net>
16980
16981 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
16982 * gdb.base/ptype.exp: Likewise.
16983
6eac95e3
CV
169842003-03-27 Corinna Vinschen <vinschen@redhat.com>
16985
16986 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
16987
e8c71839
MC
169882003-03-26 Michael Chastain <mec@shout.net>
16989
16990 * gdb.base/ptype.exp: Actually use some typedef'd types.
16991
71b10041
SC
169922003-03-21 Stephane Carrez <stcarrez@nerim.fr>
16993
16994 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
16995 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
16996
2512cf80
CV
169972003-03-20 Corinna Vinschen <vinschen@redhat.com>
16998
16999 * gdb.base/default.exp: Fix regular expression.
17000
0d195a4f
CV
170012003-03-20 Corinna Vinschen <vinschen@redhat.com>
17002
17003 * gdb.base/args.exp: Fix regular expression.
17004
8a2dbca8
CV
170052003-03-20 Corinna Vinschen <vinschen@redhat.com>
17006
17007 * gdb.base/help.exp: Allow Win32 child process.
17008
bf028682
CV
170092003-03-20 Corinna Vinschen <vinschen@redhat.com>
17010
17011 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
17012 when stepping out of main().
17013
182dbe85
CV
170142003-03-20 Corinna Vinschen <vinschen@redhat.com>
17015
17016 * gdb.base/default.exp: Check for win32 specific message when calling
17017 "run" without executable.
17018
d67a6ba5
CV
170192003-03-20 Corinna Vinschen <vinschen@redhat.com>
17020
17021 * gdb.base/args.exp: Expect .exe in output.
17022
a955b5bb
CV
170232003-03-20 Corinna Vinschen <vinschen@redhat.com>
17024
17025 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
17026 Cygwin native.
17027
bf6bad4b
AC
170282003-03-17 Andrew Cagney <cagney@redhat.com>
17029
17030 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
17031 vector registes.
17032 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
17033 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
17034
293e9a31
DC
170352003-03-17 David Carlton <carlton@math.stanford.edu>
17036
17037 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
17038 test, for PR breakpoints/38.
17039 Call test_watchpoint_and_breakpoint.
17040 * gdb.base/watchpoint.c (func3): New function.
17041 (main): Call func3.
17042
5330f2db
DC
170432003-03-04 David Carlton <carlton@math.stanford.edu>
17044
17045 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
17046 Garply<Garply<char> >:: garply".
17047 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
17048 with respect to PR c++/1111; note also PR c++/1113.
17049 (test_template_breakpoints): KFAIL "constructor breakpoint" with
17050 respect to PR c++/1062.
17051 KFAIL "destructor breakpoint" with respect to PR c++/1112.
17052
6ece72da
DC
170532003-03-03 David Carlton <carlton@math.stanford.edu>
17054
17055 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
17056 with respect to PR c++/57.
17057 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
17058 c++/826.
17059 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
17060 respect to PR c++/57.
17061
85ca1584
DC
170622003-03-03 David Carlton <carlton@math.stanford.edu>
17063
17064 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
17065 respect to PR c++/33 into FAILs.
17066
98e9c5b8
MC
170672003-03-03 Michael Chastain <mec@shout.net>
17068
7bedbf27
MC
17069 * configure.in: Update copyright years.
17070
170712003-03-03 Michael Chastain <mec@shout.net>
17072
17073 * Makefile.in: Update copyright years.
98e9c5b8 17074
f683e100
DC
170752003-02-28 David Carlton <carlton@math.stanford.edu>
17076
17077 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
17078 print class instead of struct and/or superfluous protection
17079 specifiers, as long as the resulting output is equivalent to the
17080 source code.
17081 Delete FIXME from end of messages on tests that don't need
17082 fixing.
17083
a9e0cf2c
DC
170842003-02-28 David Carlton <carlton@math.stanford.edu>
17085
17086 * gdb.c++/templates.exp (do_tests): Allow const in the two
17087 Foo<volatile char *>::foo tests.
17088
e8d359df
MS
170892003-02-27 Michael Snyder <msnyder@redhat.com>
17090
d63a86f8 17091 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
17092 will be consistant.
17093
0b71dc91
DC
170942003-02-26 David Carlton <carlton@math.stanford.edu>
17095
17096 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
17097 char *>::foo" test with respect to PR c++/33. Create a new test
17098 which is identical to that one except that it doesn't put the
17099 space between the "char" and the "*"; KFAIL it, too.
17100
dd14ab43
DC
171012003-02-26 David Carlton <carlton@math.stanford.edu>
17102
17103 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
17104 template types into either PASSes or KFAILs (corresponding to PR
17105 c++/57). Tweak indentation. Update copyright.
17106
1146c7f1
SC
171072003-02-23 Stephane Carrez <stcarrez@nerim.fr>
17108
17109 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
17110
74641dfb
MC
171112003-02-13 Michael Chastain <mec@shout.net>
17112
17113 * gdb.base/exprs.exp: Remove i960 remnants.
17114 * gdb.base/funcargs.exp: Likewise.
17115 * gdb.base/list.exp: Likewise.
17116 * gdb.base/ptype.exp: Likewise.
17117
559cd2d0
DC
171182003-02-14 David Carlton <carlton@math.stanford.edu>
17119
17120 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
17121 pEe->D::vg()" from XFAIL to KFAIL.
17122
c4f90d87
JM
171232003-02-13 Jason Molenda (jmolenda@apple.com)
17124
17125 * gdb.base/maint.exp: Update maint print statistics regexp to include
17126 new entries.
17127
cbc4d97c
MC
171282003-02-13 Michael Chastain <mec@shout.net>
17129
17130 * gdb.c++/inherit.exp: Remove call to get_debug_format.
17131
40f235b7
MC
171322003-02-12 Michael Chastain <mec@shout.net>
17133
17134 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
17135 * gdb.c++/inherit.exp: Likewise.
17136 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
17137 * gdb.c++/templates.exp: Likewise.
17138 * gdb.c++/virtfunc.exp: Likewise.
17139
c56716b0
JM
171402003-02-06 Jason Molenda (jason-cl@molenda.com)
17141
17142 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
17143 why the code is written that way.
17144
070afcf8
MC
171452003-02-05 Michael Chastain <mec@shout.net>
17146
17147 * gdb.base/dump.exp: Add missing copyright line.
17148
5d0331e5
JM
171492003-02-05 Jason Molenda (jason-cl@molenda.com)
17150
f7ae6d3e 17151 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
17152 at the beginning so the breakpoint doesn't get set on the loop.
17153
92851186
MC
171542003-02-05 Michael Chastain <mec@shout.net>
17155
17156 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
17157 output for configurations with gcc 2.95.3.
17158
cbf1e085
AC
171592003-02-05 Keith Seitz <keiths@redhat.com>
17160 Andrew Cagney <ac131313@redhat.com>
17161
17162 * gdb.mi/mi-cli.exp: New file.
d63a86f8 17163
29518e1e
MC
171642003-02-04 Michael Chastain <mec@shout.net>
17165
17166 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
17167 Call perror and then continue.
17168
5af1d5f3
MC
171692003-02-03 Michael Chastain <mec@shout.net>
17170
17171 * gdb.c++/pr-1023.cc: New file.
17172 * gdb.c++/pr-1023.exp: New file.
17173
6b549786
JB
171742003-02-05 Jim Blandy <jimb@redhat.com>
17175
17176 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
17177 it's local to foobar. Check for it there, and check that it's not
17178 present in main.
17179 * gdb.c++/local.cc (marker2): New function.
17180 (foobar): Call marker1.
17181 (main): Call marker2 instead of marker1.
17182
67f16606
AC
171832003-02-04 Andrew Cagney <ac131313@redhat.com>
17184
17185 * gdb.disasm/mn10200.exp: Obsolete file.
17186 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
17187 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
17188 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
17189
1c5cb38e
DC
171902003-02-04 David Carlton <carlton@math.stanford.edu>
17191
17192 * gdb.c++/overload.exp: Test intToChar(1).
17193 * gdb.c++/overload.cc (intToChar): New.
17194 (main): Call intToChar.
17195
d1fe6965
DC
171962003-02-03 David Carlton <carlton@math.stanford.edu>
17197
17198 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
17199 'might_kfail' arg.
17200 KFAIL some of the continue_to_bp_overloaded calls, according to
17201 PR c++/1025.
17202
9ba61c5d
MC
172032003-02-01 Michael Chastain <mec@shout.net>
17204
17205 * gdb.base/advance.c (marker1): New marker function.
17206 * gdb.base/advance.exp: When the 'advance' command lands on the
17207 return breakpoint, it can legitimately stop on either the
17208 current line or the next line. Accommodate both outcomes.
17209 * gdb.base/until.exp: Likewise.
17210
e7494ffb
AC
172112003-02-02 Andrew Cagney <ac131313@redhat.com>
17212
17213 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
17214 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
17215 now a list, not a tuple.
17216 * gdb.mi/mi-var-display.exp: Ditto.
17217 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 17218
075559bc
AC
172192003-02-01 Andrew Cagney <ac131313@redhat.com>
17220
17221 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
17222 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
17223 stack backtraces.
17224 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 17225
2bd4c7b1
MK
172262003-02-01 Mark Kettenis <kettenis@gnu.org>
17227
17228 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17229 gdb.mi/mi1-pthreads.exp: Return instead of calling
17230 gdb_suppress_entire_file.
17231
eabd8992
MS
172322003-02-01 Mark Salter <msalter@redhat.com>
17233
17234 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
17235
71469e2f
MS
172362003-01-31 Mark Salter <msalter@redhat.com>
17237
17238 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
17239 Support empty arg.
17240
38a94d44
MC
172412003-01-30 Michael Chastain <mec@shout.net>
17242
17243 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
17244 This was a workaround for a UTF-8 bug in readline 4.3. The bug
17245 has been fixed in gdb/readline on 2003-01-09.
17246
19ea9e73
MS
172472003-01-29 Michael Snyder <msnyder@redhat.com>
17248
e8d359df
MS
17249 * gdb.base/maint.exp: Allow for leading underscore in symbol.
17250 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
17251 * gdb.base/args.exp: Skip if target does not support args passing.
17252
2307bd6a
DJ
172532003-01-22 Daniel Jacobowitz <drow@mvista.com>
17254
19ea9e73 17255 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
17256 gdb_test. Accept a list of expect arguments as the third
17257 parameter.
17258 (gdb_test): Use it.
17259
f2dd3617
EZ
172602003-01-20 Elena Zannoni <ezannoni@redhat.com>
17261
17262 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
17263 allow for different test tree configurations. Update some
17264 tescases accordingly.
17265 * gdb.arch/altivec-regs.exp: Ditto.
17266 * gdb.asm/asm-source.exp: Ditto.
17267 * gdb.base/advance.exp: Ditto.
17268 * gdb.base/display.exp: Ditto.
d63a86f8 17269 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
17270 * gdb.base/mips_pro.exp: Ditto.
17271 * gdb.base/overlays.exp: Ditto.
17272 * gdb.base/relocate.exp: Ditto.
17273 * gdb.base/setshow.exp: Ditto.
17274 * gdb.base/step-line.exp: Ditto.
17275 * gdb.base/step-test.exp: Ditto.
17276 * gdb.base/until.exp: Ditto.
17277 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
17278
c71cdefd
DC
172792003-01-17 David Carlton <carlton@math.stanford.edu>
17280
17281 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
17282 corresponding to PR c++/945.
17283 Update copyright.
17284
fdba05d7
DC
172852003-01-17 David Carlton <carlton@math.stanford.edu>
17286
17287 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
17288 corresponding to PR c++/68.
17289
172902003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
17291
17292 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
17293 (test_paddr_hairy_functions): Call print_addr_2_kfail for
17294 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
17295
c362c33a
EZ
172962003-01-15 Elena Zannoni <ezannoni@redhat.com>
17297
0fbc361c
EZ
17298 * gdb.base/break.exp: Fix change of default location, because of
17299 removal of until tests.
17300 * gdb.base/help.exp: Update test for new 'until' help message.
17301 Add test for help on 'advance'.
a9c64011 17302 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 17303
dabf8a35
MK
173042003-01-15 Mark Kettenis <kettenis@gnu.org>
17305
17306 * gdb.base/default.exp: Adapt "info float" test for recent changes
17307 to that command. Add test for "info vector".
17308 * gdb.base/float.exp: New file. Add test for "info float" that
17309 resembles the old test in gdb.base/default.exp.
17310
a1769aca
DC
173112003-01-15 David Carlton <carlton@math.stanford.edu>
17312
17313 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
17314
82025e13
EZ
173152003-01-15 Elena Zannoni <ezannoni@redhat.com>
17316
17317 * gdb.base/break.exp: Move the tests of until command from here...
17318 * gdb.base/until.exp: ... to here. New file. Add other tests.
17319 * gdb.base/advance.c: New file.
17320 * gdb.base/advance.exp: New file.
17321
8f9ab801
EZ
173222003-01-14 Elena Zannoni <ezannoni@redhat.com>
17323
a9c64011
AS
17324 * gdb.base/args.c: New file.
17325 * gdb.base/args.exp: New file.
8f9ab801 17326
9ae66589
DJ
173272003-01-14 Daniel Jacobowitz <drow@mvista.com>
17328
17329 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
17330
8d77e5c3
DJ
173312003-01-14 Daniel Jacobowitz <drow@mvista.com>
17332
17333 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
17334
12d2f0a1
DJ
173352003-01-14 Daniel Jacobowitz <drow@mvista.com>
17336
17337 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
17338 dates.
17339
6ca37014
DJ
173402003-01-13 Daniel Jacobowitz <drow@mvista.com>
17341
17342 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
17343
b0023472
DJ
173442003-01-13 Daniel Jacobowitz <drow@mvista.com>
17345
17346 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
17347 (ptype &*"foo").
17348 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
17349
607fbc54 173502003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
17351
17352 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
17353 * gdb.mi/mi1-console.exp: Likewise.
17354
607fbc54 173552003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
17356
17357 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
17358 * gdb.mi/mi1-console.exp: Likewise.
17359
a1fb14a2
DJ
173602003-01-13 Daniel Jacobowitz <drow@mvista.com>
17361
17362 * gdb.c++/overload.exp: Remove some fixed XFAILs.
17363
c4cf40b7
DJ
173642003-01-09 Daniel Jacobowitz <drow@mvista.com>
17365
17366 * gdb.base/detach.exp: New test.
17367
696d5a5b
DJ
173682003-01-09 Daniel Jacobowitz <drow@mvista.com>
17369
17370 * Makefile.in (ALL_SUBDIRS): New variable.
17371 (subdirs, clean, distclean): Use it.
17372 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
17373 regenerating Makefile, since it is generated from the top level.
17374 * gdb.asm/Makefile.in: Likewise.
17375 * gdb.base/Makefile.in: Likewise.
17376 * gdb.c++/Makefile.in: Likewise.
17377 * gdb.disasm/Makefile.in: Likewise.
17378 * gdb.java/Makefile.in: Likewise.
17379 * gdb.mi/Makefile.in: Likewise.
17380 * gdb.threads/Makefile.in: Likewise.
17381 * gdb.trace/Makefile.in: Likewise.
17382
754533e4
DC
173832003-01-09 David Carlton <carlton@math.stanford.edu>
17384
17385 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
17386 Add copyright year 2003.
17387
d8b3e9ee
MC
173882003-01-06 Michael Chastain <mec@shout.net>
17389
17390 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
17391 When selecting a thread, 'line' and 'file' are optional.
17392 * gdb.mi/mi1-pthreads.exp: Likewise.
17393
8e9e0fe6
AS
173942003-01-06 Andreas Schwab <schwab@suse.de>
17395
17396 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
17397 failures.
17398
b5ab8ff3
DJ
173992003-01-04 Daniel Jacobowitz <drow@mvista.com>
17400
17401 Fix PR gdb/844
17402 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
17403 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
17404
17405 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
17406 instead of calling gdb_suppress_entire_file.
17407 * gdb.threads/print-threads.exp: Likewise.
17408 * gdb.threads/schedlock.exp: Likewise.
17409
17410 * gdb.threads/killed.exp: Return instead of calling
17411 gdb_suppress_entire_file.
17412 * gdb.threads/linux-dp.exp: Likewise.
17413 * gdb.threads/pthreads.exp: Likewise.
17414
1e698235
DJ
174152003-01-04 Daniel Jacobowitz <drow@mvista.com>
17416
17417 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
17418 stabs.
17419 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
17420 * gdb.base/whatis.exp: Always allow (void) after function names.
17421
147ff08c
DJ
174222003-01-04 Daniel Jacobowitz <drow@mvista.com>
17423
17424 * gdb.c++/casts.exp: Correct regexp.
17425
dc62bfc2
MK
174262003-01-04 Mark Kettenis <kettenis@gnu.org>
17427
17428 * configure.in: Call AC_CONFIG_HEADER. Don't call
17429 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
17430 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
17431 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
17432 aforementioned directories in the AC_OUPUT call.
17433 * config.hin: New file.
17434 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17435 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
17436 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
17437 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
17438 pass -I$objdir instead of -I$objdir/$subdir in compilation.
17439 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
17440 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
17441 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
17442 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
17443 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
17444 gdb.threads/configure.in, gdb.threads/configure,
17445 gdb.threads/config.in, gdb.trace/configure.in,
17446 gdb.trace/configure: Removed.
17447
77afa639
MC
174482003-01-03 Michael Chastain <mec@shout.net>
17449
17450 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
17451 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
17452
7634bb6e
DJ
174532003-01-03 Daniel Jacobowitz <drow@mvista.com>
17454
17455 * gdb.base/store.exp: Fix regular expressions.
17456
b39c905e
MK
174572002-12-28 Mark Kettenis <kettenis@gnu.org>
17458
17459 * configure.in: Rewrite.
17460 * configure: Regenerated.
17461
0a8551dd
DC
174622003-01-03 David Carlton <carlton@math.stanford.edu>
17463
17464 * gdb.base/psymtab.exp: New file.
17465 * gdb.base/psymtab1.c: Ditto.
17466 * gdb.base/psymtab2.c: Ditto.
17467
c60b7188
AF
174682002-12-23 Adam Fedor <fedor@gnu.org>
17469
17470 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
17471
ee73db83
DC
174722002-12-23 David Carlton <carlton@math.stanford.edu>
17473
17474 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
17475 and current_directory initialization.
17476
d6c1774e
JB
174772002-12-22 Jim Blandy <jimb@redhat.com>
17478
f0a847b8
JB
17479 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
17480 rather than as part of the output file name.
17481
d6c1774e
JB
17482 * gdb.base/attach.exp: There's no need to copy the test program to
17483 /tmp; that was only ever necessary on HP/UX, and this test is
17484 entirely disabled there anyway.
17485
f0708dbb
JB
174862002-12-21 Jim Blandy <jimb@redhat.com>
17487
4c2acfea
JB
17488 * gdb.c++/psmang.exp: Doc fix.
17489
f0708dbb
JB
17490 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
17491 test.
17492
9579e000
DC
174932002-12-20 David Carlton <carlton@math.stanford.edu>
17494
17495 * gdb.c++/annota2.exp: KFAIL annotate-quit.
17496
d1810171
MC
174972002-12-18 Michael Chastain <mec@shout.net>
17498
17499 * gdb.c++/annota2.exp: Add copyright year 2002.
17500
76565097
DC
175012002-12-17 David Carlton <carlton@math.stanford.edu>
17502
17503 * gdb.c++/try_catch.cc: Add marker comments.
17504 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
17505 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
17506 * gdb.c++/m-static.cc: Ditto.
17507 * gdb.c++/m-static1.cc: Ditto.
17508 * gdb.c++/try_catch.cc: Ditto.
17509
da81390b
JJ
175102002-12-16 Jeff Johnston <jjohnstn@redhat.com>
17511
17512 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
17513 to see whether we are using the new -environment-directory
17514 command which resets via -r or the old version of the command
17515 which may prompt the user. Part of fix for gdb/741.
17516
b304d130
AC
175172002-12-13 Andrew Cagney <ac131313@redhat.com>
17518
17519 * gdb.fortran/types.exp: Update obsolete comment.
17520 * gdb.fortran/exprs.exp: Ditto.
17521 * lib/gdb.exp: Delete obsolete code.
17522 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
17523 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
17524 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
17525 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
17526 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
17527 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
17528 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
17529 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
17530 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
17531 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
17532 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
17533 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
17534 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
17535 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
17536 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
17537 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
17538 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
17539 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
17540 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
17541 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
17542 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
17543 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
17544 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
17545 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
17546 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
17547 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
17548 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
17549 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
17550 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
17551 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
17552 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
17553 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
17554 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
17555 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
17556 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
17557 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
17558 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
17559
a23b6e6a
DC
175602002-12-11 David Carlton <carlton@math.stanford.edu>
17561
17562 * gdb.c++/m-data.exp: Add test for members that shadow global
17563 variables: see PR gdb/804.
17564 * gdb.c++/m-data.cc: Ditto.
17565
6604731b
DJ
175662002-12-10 Daniel Jacobowitz <drow@mvista.com>
17567
17568 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
17569
de46ecd7
DC
175702002-12-06 David Carlton <carlton@math.stanford.edu>
17571
17572 * gdb.base/store.c: Don't declare functions static.
17573
27e829d0
AC
175742002-12-04 Andrew Cagney <ac131313@redhat.com>
17575
17576 * gdb.base/store.exp, gdb.base/store.c: New files.
17577
92806416
DJ
175782002-12-03 Daniel Jacobowitz <drow@mvista.com>
17579
17580 * gdb.base/selftest.exp: Update for current gdb.
17581
3bcbaac5
DJ
175822002-12-03 Daniel Jacobowitz <drow@mvista.com>
17583
17584 * gdb.base/maint.exp: Only dump symbols from one source file
17585 or objfile.
17586
f4f00b1f
DJ
175872002-12-03 Daniel Jacobowitz <drow@mvista.com>
17588
17589 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
17590 function call.
17591
f1c8a949
JB
175922002-11-25 Jim Blandy <jimb@redhat.com>
17593
17594 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
17595 function appearing in error message.
17596
9e297a97
DJ
175972002-11-21 Daniel Jacobowitz <drow@mvista.com>
17598
17599 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
17600
1f312e79
JJ
176012002-11-08 Jeff Johnston <jjohnstn@redhat.com>
17602
d63a86f8
RM
17603 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
17604 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
17605 should be in mi console format. This is part of fix for PR gdb/604.
17606
83c31e7d
FN
176072002-09-18 Fernando Nasser <fnasser@redhat.com>
17608
17609 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
17610 which explicitly prints the zero offset as "+0".
17611
322b3f65
DJ
176122002-10-22 Daniel Jacobowitz <drow@mvista.com>
17613
17614 * gdb.threads/schedlock.c (args): Make unsigned.
17615
176162002-10-21 Daniel Jacobowitz <drow@mvista.com>
17617
17618 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
17619 numbers. Allow "foo2|selected stack frame".
17620 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
17621 * gdb.asm/asmsrc2.s: Likewise.
17622 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
17623 comments.
17624 * gdb.asm/mips.inc: New file.
17625
5e2fe5b8
AF
176262002-10-18 Adam Fedor <fedor@gnu.org>
17627
17628 * gdb.base/default.exp: Update expected output to include 'ObjC'.
17629 * gdb.base/help.exp: Likewise.
17630
abe1a5d0
KB
176312002-10-17 Kevin Buettner <kevinb@redhat.com>
17632
17633 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
17634 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
17635
10abb1d4
JB
176362002-10-02 Jim Blandy <jimb@redhat.com>
17637
17638 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
17639
1f609b42
AC
176402002-10-01 Andrew Cagney <ac131313@redhat.com>
17641
17642 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
17643 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
17644 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
17645 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
17646 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
17647 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
17648 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
17649
0aee02e4
AC
176502002-09-29 Andrew Cagney <ac131313@redhat.com>
17651
17652 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
17653 * mi0-disassemble.exp, mi0-eval.exp: Delete.
17654 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
17655 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
17656 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
17657 * mi0-var-block.exp, mi0-var-child.exp: Delete.
17658 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 17659
6fde09ad
KB
176602002-09-27 Kevin Buettner <kevinb@redhat.com>
17661
17662 * gdb.base/annota1.exp (info break): Make directory components of
17663 path optional since not all compilers emit this debug information.
17664
889bf7c5
PA
17665 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
17666 step ends up stepping out of the function instead of stopping on
17667 the epilogue.
6fde09ad 17668
9e8aab75
KS
176692002-09-26 Keith Seitz <keiths@redhat.com>
17670
17671 * lib/insight-support.exp (gdbtk_start): Figure out where
17672 the insight executable is based on where gdb is. Use this
17673 executable to start insight instead of gdb.
17674
e36180d7
AC
176752002-09-25 Andrew Cagney <cagney@redhat.com>
17676
17677 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
17678
9dd34b2b
AC
176792002-09-24 Andrew Cagney <ac131313@redhat.com>
17680
17681 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
17682 test_isolated_complaints.
17683 (test_empty_complaint): New function.
17684 (test_empty_complaints): New function. Check no output when no
17685 complaints.
d63a86f8 17686
dea97812
KB
176872002-09-19 Jim Blandy <jimb@redhat.com>
17688
a9c64011 17689 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 17690
54951bd7
AC
176912002-09-19 Andrew Cagney <ac131313@redhat.com>
17692
17693 * gdb.gdb/complaints.exp: New file.
17694
dec43320
AC
176952002-09-18 Andrew Cagney <ac131313@redhat.com>
17696
17697 * gdb.base/maint.exp: Check `help maint internal-warning'.
17698
e70d6e3f
DC
176992002-09-18 David Carlton <carlton@math.stanford.edu>
17700
17701 * gdb.c++/m-static.exp: Remove breakpoints depending on line
17702 numbers, and replace them by a single breakpoint after the
17703 constructors are all finished.
17704 Add test 4.
17705 * gdb.c++/m-static.cc: Add test 4.
17706 * gdb.c++/m-static.h: New file.
17707 * gdb.c++/m-static1.cc: New file.
17708
17709 * gdb.c++/printmethod.exp: New file.
17710 * gdb.c++/printmethod.cc: New file.
17711
17712 * gdb.c++/pr-574.exp: New file.
17713 * gdb.c++/pr-574.cc: New file.
17714
afb5c968
CV
177152002-09-18 Corinna Vinschen <vinschen@redhat.com>
17716
17717 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
17718 embedded targets which never actually exit.
17719
31e45dee
FN
177202002-09-18 Fernando Nasser <fnasser@redhat.com>
17721
17722 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
17723 "don't step after run" as unresolved or unsupported, instead of xfail.
17724
a283c5a1
CV
177252002-09-18 Corinna Vinschen <vinschen@redhat.com>
17726
17727 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
17728 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
17729 Add newline to expected string in "step out of main (status wrapper)"
17730 case.
17731
11350d2a
CV
177322002-09-18 Corinna Vinschen <vinschen@redhat.com>
17733
17734 * lib/gdb.exp (rerun_to_main): Allow restarting application.
17735 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
17736
0deec7d6
TT
177372002-09-17 Tom Tromey <tromey@redhat.com>
17738
17739 * gdb.base/printcmds.exp (test_print_string_constants): Expect
17740 \000, not \0, in double-quoted string.
17741
b2b4a1b5
CV
177422002-09-14 Corinna Vinschen <vinschen@redhat.com>
17743
c9d37158 17744 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
17745 string after running the commands execution on breakpoint tests.
17746
1c56143a
CV
177472002-09-13 Corinna Vinschen <vinschen@redhat.com>
17748
17749 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
17750
37f8da45
JB
177512002-09-12 Joel Brobecker <brobecker@gnat.com>
17752
17753 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
17754
08b468e0
KS
177552002-09-10 Keith Seitz <keiths@redhat.com>
17756
17757 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
17758 runto proc.
17759 (mi_run_to_main): Use mi_runto.
17760 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
17761
dc360f58
KS
177622002-09-10 Keith Seitz <keiths@redhat.com>
17763
17764 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
17765 regexp for stopping at main. Could have multiple event notifications.
17766 Don't assume that main was declared with no parameters.
17767 (mi_next): Use mi_step_to.
17768 (mi_step): Use mi_next_to.
17769
ce3abcfb
CV
177702002-09-09 Corinna Vinschen <vinschen@redhat.com>
17771
17772 * gdb.base/default.exp: Fix expected string in `info float' test.
17773
d1f5b980
BE
177742002-09-09 Ben Elliston <bje@redhat.com>
17775
17776 * config/mips.exp: Update comments.
17777 * config/mips-idt.exp: Likewise.
17778 * config/nind.exp: Likewise.
17779 * config/slite.exp: Likewise.
17780 * config/sparclet.exp: Likewise.
17781 * config/udi.exp: Likewise.
17782 * config/vx.exp: Likewise.
17783 * config/vxworks29k.exp: Likewise.
17784
2f71430b
JB
177852002-09-05 Jim Blandy <jimb@redhat.com>
17786
17787 * gdb.threads/killed.exp: Fix test failure message.
17788
7ddebc7e
KS
177892002-09-04 Keith Seitz <keiths@redhat.com>
17790
17791 * lib/mi-support.exp: Update copyright.
17792 (mi_gdb_test): Increase the priority of the expected pattern
17793 so that it matches gdb_test.
17794
0ae67eb3
KS
177952002-09-03 Keith Seitz <keiths@redhat.com>
17796
17797 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
17798 Use integer comparison instead of string comparison for testing
17799 whether binary was built.
17800
38fc42c8
JB
178012002-09-03 Jim Blandy <jimb@redhat.com>
17802
17803 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
17804
b6ff0e81
JB
178052002-08-29 Jim Blandy <jimb@redhat.com>
17806
17807 * gdb.threads/pthreads.exp: Move the portable thread compilation
17808 code into a function in lib/gdb.exp, and call that from here.
17809 * lib/gdb.exp (gdb_compile_pthreads): New function.
17810
07c98896
KS
178112002-08-29 Keith Seitz <keiths@redhat.com>
17812
17813 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
17814 expect_out so that callers can get at it.
17815
0312286c
DJ
178162002-08-23 Daniel Jacobowitz <drow@mvista.com>
17817
17818 * gdb.threads/print-threads.c: New file.
17819 * gdb.threads/print-threads.exp: New file.
17820 * gdb.threads/schedlock.c: New file.
17821 * gdb.threads/schedlock.exp: New file.
17822
dd039bc4
EZ
178232002-08-22 Elena Zannoni <ezannoni@redhat.com>
17824
a9c64011
AS
17825 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
17826 not altivec.c.
dd039bc4 17827
1f36144c
MK
178282002-08-17 Mark Kettenis <kettenis@gnu.org>
17829
17830 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
17831 targets. The problem should be fixed now.
17832
16057ec7 178332002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
17834
17835 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
17836 2002-07-24 change that removes final dots from error messages.
17837
3c1499ad
TT
178382002-08-13 Tom Tromey <tromey@redhat.com>
17839
17840 * gdb.base/readline.exp: New file.
17841
a20ce2c3
AC
178422002-08-01 Andrew Cagney <ac131313@redhat.com>
17843
17844 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
17845 supress message.
17846
db034ac5
AC
178472002-08-01 Andrew Cagney <cagney@redhat.com>
17848
17849 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
17850 CHILL_FOR_TARGET and CHILL_LIB.
17851 * configure.in (configdirs): Remove gdb.chill.
17852 * configure: Regenerate.
17853 * lib/gdb.exp: Obsolete references to chill.
17854 * gdb.fortran/types.exp: Ditto.
17855 * gdb.fortran/exprs.exp: Ditto.
17856
3e000b18
KB
178572002-07-30 Kevin Buettner <kevinb@redhat.com>
17858
17859 * gdb.base/shlib-call.exp (additional_flags): Conditionally
17860 set Irix-specific compile and link flags.
17861
28f4966b
KB
178622002-07-29 Kevin Buettner <kevinb@redhat.com>
17863
17864 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
17865 source files. The ``-o'' option doesn't work with the ``-E'' option
17866 when using the Irix compiler.
17867
46c0d5a6
DJ
178682002-07-19 Daniel Jacobowitz <drow@mvista.com>
17869
17870 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
17871 Improve support for reusing an exec file. Copy exec file
17872 to target, and run gdbserver on the target instead of on the host.
17873
eecf4bed
JB
178742002-07-18 Jim Blandy <jimb@redhat.com>
17875
0f815cdf
JB
17876 * gdb.base/ending-run.exp: Don't expect to see the program end in
17877 some orderly fashion when we're running on a real stand-alone
17878 board.
17879
eecf4bed
JB
17880 * gdb.base/interrupt.exp: Correct logic for skipping tests on
17881 targets that don't support interrupts.
17882
52d309e4
JB
178832002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
17884
17885 * gdb.base/attach.exp: Add patterns to match output from /proc-based
17886 systems.
17887 Move comments in expect statements to inside the actions, so that they
17888 don't get matched against.
17889
ff683d9e
MK
178902002-07-10 Mark Kettenis <kettenis@gnu.org>
17891
17892 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
17893 function when asleep" test.
17894
b5356753
AC
178952002-07-10 Andrew Cagney <ac131313@redhat.com>
17896
17897 * gdb.base/page.exp: Rewrite to handle problems with very long
17898 `info set' output. Update copyright.
17899
6aa4d13a
AC
179002002-06-26 Andrew Cagney <ac131313@redhat.com>
17901
17902 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
17903 gdb.threads-hp.
17904 * gdb.hp/configure: Regenerate.
17905 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
17906 * gdb.hp/gdb.threads-hp/configure: Delete file.
17907 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
17908
8cf8c2b8
AC
179092002-06-22 Andrew Cagney <ac131313@redhat.com>
17910
17911 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
17912 setlocale, bindtextdomain and textdomain.
17913
6827a8f8
JB
179142002-06-11 Jim Blandy <jimb@redhat.com>
17915
919d772c
JB
17916 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
17917 preprocessor macro information is present.
17918
6827a8f8
JB
17919 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
17920 tests.
17921
c15b0d21
MS
179222002-06-06 Michael Snyder <msnyder@redhat.com>
17923
c5984d70
MS
17924 * gdb.base/overlays.exp: Record addresses of overlay
17925 functions in TCL variables rather than in GDB variables,
17926 to avoid having GDB convert them to pointers (with loss
17927 of information).
17928
d63a86f8 17929 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 17930 default linker script changes.
c15b0d21
MS
17931 * gdb.base/long_long.exp: Add check for sizeof (long double).
17932
be26fe0d
ML
179332002-06-06 Michal Ludvig <mludvig@suse.cz>
17934
17935 * gdb.asm/asm-source.exp: Add x86-64 target.
17936 * gdb.asm/x86_64.inc: New.
d63a86f8 17937
258093ca 179382002-05-30 Michael Chastain <mec@shout.net>
258093ca 17939
4b3153f1 17940 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
17941 * gdb.c++/m-static.cc: New file.
17942 * gdb.c++/m-static.exp: New file.
17943
241264c6
MS
179442002-05-28 Michael Snyder <msnyder@redhat.com>
17945
17946 * gdb.base/call-ar-st.exp: Allow for reduced floating point
17947 precision.
17948
9bba8c8f 179492002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 17950
4b3153f1 17951 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
17952 * gdb.c++/m-data.cc: New file.
17953 * gdb.c++/m-data.exp: New file.
17954
179552002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 17956
4b3153f1 17957 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 17958 * gdb.c++/try_catch.cc: New file.
d63a86f8 17959 * gdb.c++/try_catch.exp: New file.
9bba8c8f 17960
def1b996
MC
179612002-05-27 Michael Chastain <mec@shout.net>
17962
17963 * gdb.c++/local.exp: Accept more nested types in output.
17964
522ba268
MC
179652002-05-26 Michael Chastain <mec@shout.net>
17966
17967 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
17968
277254ba
MS
179692002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
17970
17971 * lib/gdb.exp (gdb_wrapper_init): Just because
17972 gdb_wrapper_file exists, this does not mean that the file
17973 should not be rebuilt. That is what gdb_wrapper_initialized
17974 is for.
17975 (default_gdb_init): Reset gdb_wrapper_initialized.
17976
b61a8733
MS
179772002-05-23 Michael Snyder <msnyder@redhat.com>
17978
d63a86f8 17979 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
17980 the precision of the floating point test results.
17981 * gdb.base/call-rt-st.exp: Ditto.
17982
b61a8733
MS
17983 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
17984 * gdb.base/call-rt-st.exp: Ditto.
17985
56f6e910
MC
179862002-05-19 Michael Chastain <mec@shout.net>
17987
17988 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
17989
ad0b0016
EZ
179902002-05-19 Elena Zannoni <ezannoni@redhat.com>
17991
a9c64011
AS
17992 * configure.in (configdirs): Add gdb.arch.
17993 * configure: Regenerate.
ad0b0016 17994
f617d2b6
JB
179952002-05-17 Jim Blandy <jimb@redhat.com>
17996
17997 * gdb.base/completion.exp: Recognize the more detailed error
17998 messages produced by the macro expander's lexical analyzer.
17999
eac2a696
EZ
180002002-05-14 Elena Zannoni <ezannoni@redhat.com>
18001
a9c64011
AS
18002 * gdb.arch/altivec-abi.c: New file.
18003 * gdb.arch/altivec-abi.exp: New file.
18004 * gdb.arch/altivec-regs.c: New file.
18005 * gdb.arch/altivec-regs.exp: New file.
eac2a696 18006
2fdde8f8
DJ
180072002-05-14 Daniel Jacobowitz <drow@mvista.com>
18008
18009 * gdb.base/maint.exp (maint print type): Update for new type
18010 structure.
d63a86f8 18011
e31f1a7c
EZ
180122002-05-14 Elena Zannoni <ezannoni@redhat.com>
18013
18014 * gdb.arch: New directory.
18015 * gdb.arch/configure.in: New file.
18016 * gdb.arch/configure: New file.
18017 * gdb.arch/Makefile.in: New file.
18018
db589741
CV
180192002-05-13 Corinna Vinschen <vinschen@redhat.com>
18020
18021 * gdb.asm/asm-source.exp: Add v850 as supported target.
18022 * gdb.asm/v850.inc: New file.
18023
8ce2a7dc
DJ
180242002-05-13 Daniel Jacobowitz <drow@mvista.com>
18025
18026 * gdb.c++/annota2.exp (annotate-quit): Add comment.
18027
df763c7f
DJ
180282002-05-12 Daniel Jacobowitz <drow@mvista.com>
18029
18030 * gdb.base/break.exp: Check 'break "marker2"'.
18031
377daeed
MS
180322002-05-10 Michael Snyder <msnyder@redhat.com>
18033
18034 * gdb.base/long_long.exp: Fix typo.
18035
c4b7bc2b
JB
180362002-05-10 Jim Blandy <jimb@redhat.com>
18037
ecac9a4e
JB
18038 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
18039 a bug.
18040
c4b7bc2b
JB
18041 * gdb.base/printcmds.exp (test_integer_literals_rejected):
18042 Recognize more detailed error message produced by the macro
18043 expander's lexical analyzer.
18044 * lib/gdb.exp (test_print_reject): Same.
18045
e71019a1
MK
180462002-05-09 Mark Kettenis <kettenis@gnu.org>
18047
18048 * gdb.c++/method.exp: Fix typo.
18049
fedfc8e6
MS
180502002-05-08 Michael Snyder <msnyder@redhat.com>
18051
166a1957
MS
18052 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
18053 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 18054 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
18055 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
18056 Add iftarget clause for strongarm.
d63a86f8 18057
f1c47eb2
MS
180582002-05-06 Michael Snyder <msnyder@redhat.com>
18059
cb9a9d3e
MS
18060 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
18061 (gdb_continue_to_end): Accept output from status wrapper.
18062 * gdb.base/ending-run.exp: Add case for output from status wrapper.
18063 Clean up fail messages to match pass messages.
18064
f1c47eb2
MS
18065 Enable the "needs_status_wrapper" testsuite feature.
18066 * lib/gdb.exp (gdb_wrapper_init): New procedure.
18067 (gdb_compile): Conditionally call gdb_wrapper_init.
18068 * gdb.base/a2-run.exp: Recognize output from status wrapper.
18069 * gdb.c++/method.exp: Recognize output from status wrapper.
18070
6079c749
BE
180712002-05-06 Ben Elliston <bje@redhat.com>
18072From Graydon Hoare <graydon@redhat.com>
18073
18074 * config/sid.exp: Include support for "rawsid" protocol.
18075
188baff3
JB
180762002-05-03 Jim Blandy <jimb@redhat.com>
18077
18078 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
18079 * gdb.c++/hang3.C: New file.
18080
b9c07f0f
AC
180812002-05-04 Andrew Cagney <ac131313@redhat.com>
18082
18083 * gdb.base/default.exp: Remove obsolete code.
18084 * gdb.c++/misc.exp: Ditto. Update copyright.
18085 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
18086 * gdb.base/whatis.exp: Ditto. Update copyright.
18087 * gdb.base/scope.exp: Ditto. Update copyright.
18088 * gdb.base/ptype.exp: Ditto. Update copyright.
18089 * gdb.base/printcmds.exp: Ditto. Update copyright.
18090 * gdb.base/opaque.exp: Ditto. Update copyright.
18091 * gdb.base/list.exp: Ditto.
18092 * gdb.base/funcargs.exp: Ditto. Update copyright.
18093 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
18094 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
18095 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
18096 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
18097 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
18098 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
18099
5c7a0397
MS
181002002-05-02 Michael Snyder <msnyder@redhat.com>
18101
d6dcc264 18102 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
18103 * gdb.base/long_long.exp: Add xscale target.
18104 * gdb.base/default.exp: Add xscale target.
18105
eb7f1c48
JB
181062002-05-01 Jim Blandy <jimb@redhat.com>
18107
18108 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
18109 gdb.c++/hang.exp: New test.
18110
a6befae8
FF
181112002-05-01 Fred Fish <fnf@redhat.com>
18112
18113 * gdb.base/completion.exp: Handle completions of "./Make" for
18114 more than one completion possibility, as is the case when we
18115 build and test in the source tree.
18116
0a310277
AG
181172002-04-29 Anthony Green <green@redhat.com>
18118
18119 * gdb.java/jmisc1.exp: New file.
18120 * gdb.java/jmisc2.exp: New file.
18121
6ff9af88
DJ
181222002-04-24 Daniel Jacobowitz <drow@mvista.com>
18123
18124 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
18125
96b3d632
EZ
181262002-04-23 Elena Zannoni <ezannoni@redhat.com>
18127
18128 * gdb.base/help.exp: Change 'help status' to allow for target
18129 dependent output differences.
18130
5019bb54
MC
181312002-04-22 Michael Chastain <mec@shout.net>
18132
18133 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
18134
a805a116
MC
181352002-04-22 Michael Chastain <mec@shout.net>
18136
18137 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
18138
a1706bfd
DM
181392002-04-17 David S. Miller <davem@redhat.com>
18140
18141 * gdb.asm/sparc64.inc: New file.
18142 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
18143
a73a20a2
EZ
181442002-04-19 Elena Zannoni <ezannoni@redhat.com>
18145
18146 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
18147 instruction file directly into the build tree. Clean up at end of
18148 test.
18149
ba678339
DM
181502002-04-18 David S. Miller <davem@redhat.com>
18151
18152 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
18153 handle 64-bit platforms correctly.
18154 * gdb.base/maint.exp: Likewise.
18155
b03399da
KB
181562002-04-18 Kevin Buettner <kevinb@redhat.com>
18157
18158 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
18159 ``-fpic'' when compiling files comprising a shared library, but
18160 it does need additional linker flags in order to find shared
18161 libraries at run time.
18162
e2004992
KB
181632002-04-18 Kevin Buettner <kevinb@redhat.com>
18164
18165 * gdb.base/cvexpr.c (use): New function.
18166 (main): Invoke use() on all global variables to prevent
18167 some linkers from deleting these otherwise unused symbols.
18168
d8937120
MC
181692002-04-17 Michael Chastain <mec@shout.net>
18170From David S. Miller <davem@redhat.com>
18171
18172 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
18173 handle 64-bit platforms correctly.
18174
ffd61a58
MS
181752002-04-12 Michael Snyder <msnyder@redhat.com>
18176From Jim Blandy <jimb@redhat.com>
a9c64011 18177 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
18178 script can handle this instead.
18179 * gdb.base/bar.c (barx): Same.
18180 * gdb.base/baz.c (bazx): Same.
18181 * gdb.base/grbx.c (grbxx): Same.
18182
18183 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
18184 manager doesn't automatically unmap overlays unnecessarily.
18185
6b8426a6
MH
181862002-04-10 Martin M. Hunt <hunt@redhat.com>
18187
18188 * gdb.base/ending-run.exp: Fix pattern for Mips targets
18189 stepping out of main.
18190
34af4875
MC
181912002-04-09 Michael Chastain <mec@shout.net>
18192
18193 * gdb.c++/local.cc (main): Move call to marker1() inside nested
18194 scope so that the nested scope tests will make sense.
18195 * gdb.c++/local.exp: Write patterns that actually work with gcc
18196 (the HP patterns "were never known to work with gcc").
18197 Keep the old aCC patterns too.
18198
2d1676a0
DJ
181992002-04-09 Daniel Jacobowitz <drow@mvista.com>
18200
18201 * gdb.base/attach.exp: Correct target board test.
18202
3a63e3f9
MC
182032002-04-08 Michael Chastain <mec@shout.net>
18204
18205 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
18206 in a const method. Add some xfail and fail cases for configurations
18207 that do not emit the "const ...".
18208
f18dabd2
MC
182092002-04-07 Michael Chastain <mec@shout.net>
18210
18211 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
18212 Accept "A * const" and "const A * const" as type of "this".
18213 Fix spelling of getFunky throughout. Make messages uniform.
18214
0fcddd82
EZ
182152002-04-07 Elena Zannoni <ezannoni@redhat.com>
18216
a9c64011 18217 Work around for PR gdb/285:
0fcddd82
EZ
18218 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
18219
16a8534a
EZ
182202002-04-07 Elena Zannoni <ezannoni@redhat.com>
18221
18222 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
18223 instructions file at run time instead of configure time.
18224 Sometimes we run the test in a directory that is not the one we
18225 configured in.
18226 * gdb.asm/configure.in: Delete creation of symlink.
18227 * gdb.asm/configure: Regenerate.
18228
24181d81
JB
182292002-04-05 J. Brobecker <brobecker@gnat.com>
18230
18231 * gdb.gdb/xfullpath.exp: New test, to exercise the new
18232 xfullpath () function.
18233
7cdb7107
DJ
182342002-04-04 Daniel Jacobowitz <drow@mvista.com>
18235
18236 * gdb.asm/Makefile.in: Correct dependencies.
18237
18238 * gdb.asm/powerpc.inc: New file.
18239 * gdb.asm/asm-source.exp: Add PowerPC.
18240 * gdb.asm/configure.in: Likewise.
18241 * gdb.asm/configure: Regenerated.
18242
a7d17088
DJ
182432002-04-04 Daniel Jacobowitz <drow@mvista.com>
18244
18245 * gdb.base/relocate.exp: New file.
18246 * gdb.base/relocate.c: New file.
18247
cd721503
FF
182482002-04-04 Fred Fish <fnf@redhat.com>
18249
18250 * gdb.base/step-test.exp: Update comment regarding stopping in
18251 memcpy/bcopy calls inserted as part of the compiler runtime.
18252
b22ad7a7
MS
182532002-04-04 Michael Snyder <msnyder@redhat.com>
18254
18255 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
18256
5f279fa6
DJ
182572002-04-03 Daniel Jacobowitz <drow@mvista.com>
18258
18259 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
18260 (gdb_expect): Remove $notransfer hack.
18261
dd0fd3ce
DJ
182622002-04-02 Daniel Jacobowitz <drow@mvista.com>
18263
18264 * gdb.c++/classes.exp ("calling method for small class"): Match
18265 updated register output.
18266
1e50cda1
DJ
182672002-03-30 Daniel Jacobowitz <drow@mvista.com>
18268
18269 Fix PR gdb/452
18270 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
18271 when finished. Make gdb_file_cmd send "exec-file" when
18272 appropriate.
18273
24015922
DJ
182742002-03-30 Daniel Jacobowitz <drow@mvista.com>
18275
18276 * gdb.base/attach.exp: Remove extra setup_xfail.
18277
dd7dfd64
MS
182782002-03-26 Michael Snyder <msnyder@redhat.com>
18279
18280 * gdb.base/default.exp: Add tests for dump, append, and restore.
18281 * gdb.base/help.exp: Add tests for dump, append, and restore.
18282 * gdb.base/dump.exp: New file, test dump, append and restore.
18283 * gdb.base/dump.c: New file.
18284
48b2f8d7
MS
182852002-03-27 Michael Snyder <msnyder@redhat.com>
18286
d63a86f8 18287 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
18288 clean-ups in help messages.
18289
05b4d525
FF
182902002-03-26 Fred Fish <fnf@redhat.com>
18291
18292 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
18293 have debugging info for those functions and the compiler uses them
18294 internally to copy structs around.
18295
d7679631
FF
182962002-03-26 Fred Fish <fnf@redhat.com>
18297
18298 * gdb.base/list.exp: Revert the change made yesterday and add note
18299 about why we don't list the default lines for remote targets.
18300
523ac3f9
MS
183012002-03-25 Michael Snyder <msnyder@redhat.com>
18302
18303 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
18304
754b2b8d
FF
183052002-03-25 Fred Fish <fnf@redhat.com>
18306
18307 * gdb.base/list.exp: This test works on remote targets so remove
18308 the short circuit for remote targets. Update copyright.
18309
33c3e192
FF
183102002-03-25 Fred Fish <fnf@redhat.com>
18311
18312 * gdb.base/attach.exp: Fix logic error that was suppressing this
18313 test for all non hppa*-*-hpux* targets, instead of the hp target.
18314 Move comments closer to the suppression point. Also now need to
18315 check that we are running natively.
18316
d43e73ee
MS
183172002-03-22 Michael Snyder <msnyder@redhat.com>
18318
882c8f02
MS
18319 * gdb.base/default.exp: Add test for gcore. Update copyright.
18320 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 18321
04c12f60
FF
183222002-03-06 Fred Fish <fnf@redhat.com>
18323
18324 * gdb.base/funcargs.c: Remove extraneous ';' character.
18325 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
18326
b43df995
MC
183272002-03-04 Michael Chastain <mec@shout.net>
18328
18329 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
18330 accommodate gcc v3 function signature.
18331 * gdb.mi/mi0-var-cmd-exp: Ditto.
18332
92362027
AC
183332002-02-24 Andrew Cagney <ac131313@redhat.com>
18334
18335 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
18336 ``GNU/Linux'' or ``Linux kernel''
18337 * testsuite/gdb.threads/pthreads.c: Ditto.
18338
258ad32d
MC
183392002-02-24 Michael Chastain <mec@shout.net>
18340
18341 * gdb.threads/pthreads.c (thread1): Add a return statement.
18342 (thread2): Likewise.
18343 (foo): Likewise.
18344
04c3b3d4
MC
183452002-02-23 Michael Chastain <mec@shout.net>
18346
18347 * gdb.threads/linux-dp.c (philosopher): Add a return statement
18348 to placate gcc.
18349
5a2a0a20
MC
183502002-02-23 Michael Chastain <mec@shout.net>
18351
18352 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
18353 test "ptype bint". The test passes on all my stabs configurations.
18354
a640f7fc
JB
183552002-02-21 Jim Blandy <jimb@redhat.com>
18356
27924826
JB
18357 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
18358 filename at a time, and watch for the ones we want to see.
18359
a640f7fc
JB
18360 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
18361 types of pointers to prototyped functions.
18362
edcc8c75
AC
183632002-02-20 Andrew Cagney <ac131313@redhat.com>
18364
18365 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
18366 signed, unsigned and straight char.
18367 (padding_char, padding_short, padding_int, padding_long,
18368 padding_long_long, padding_float, padding_double,
18369 padding_long_double): New global variables.
18370 (fill, fill_structs): New functions.
18371
18372 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
18373 for correctly sized writes. Update copyright.
18374 (get_valueof): New procedure.
18375 (get_sizeof): Call get_valueof.
18376 (check_valueof): New procedure.
18377 (check_padding): New procedure.
18378
ac57ea44
MC
183792002-02-20 Michael Chastain <mec@shout.net>
18380
18381 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
18382 to setup_xfail. Document some of the remaining calls.
18383
7a10c941
MC
183842002-02-18 Michael Chastain <mec@shout.net>
18385
18386 * gdb.c++/userdef.exp: Update copyright year.
18387
fb8acdcc
DJ
183882002-02-18 Daniel Jacobowitz <drow@mvista.com>
18389
18390 * gdb.c++/userdef.exp: Test overloaded operators properly.
18391 Remove xfails.
18392
fda6ae12
MS
183932002-02-14 Michael Snyder <msnyder@redhat.com>
18394
18395 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
18396
676a0442
DJ
183972002-02-14 Daniel Jacobowitz <drow@mvista.com>
18398
18399 * gdb.base/a2-run.exp: Check for a remote target properly.
18400 * gdb.base/annota1.exp: Likewise.
18401 * gdb.base/list.exp: Likewise.
18402 * gdb.base/reread.exp: Likewise.
18403 * gdb.base/scope.exp: Likewise.
18404 * gdb.base/shlib-call.exp: Likewise.
18405 * gdb.base/term.exp: Likewise.
18406 * gdb.c++/annota2.exp: Likewise.
18407
78b4f468
RE
184082002-02-13 Richard Earnshaw <rearnsha@arm.com>
18409
18410 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
18411
9a81ba51
MC
184122002-02-10 Michael Chastain <mec@shout.net>
18413
18414 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
18415 (call_after_alloca): Ditto.
18416
004af6c7
DJ
184172002-02-10 Daniel Jacobowitz <drow@mvista.com>
18418
18419 * gdb.base/ending-run.exp: Guard "cont" test with
18420 gdb_skip_stdio_test.
18421
37225f62
JB
184222002-02-06 Jim Blandy <jimb@redhat.com>
18423
18424 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
18425 from here...
18426 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
18427 To here. Disable this test on non-HP platforms. Add big comment.
18428
fe6fdd96
MS
184292002-02-04 Michael Snyder <msnyder@redhat.com>
18430
18431 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
18432 other than d10v and m32r.
18433
036fad3f
RE
184342002-02-02 Richard Earnshaw <rearnsha@arm.com>
18435
18436 * gdb.base/default.exp: Rewrite test patterns to reduce time
18437 taken to match them.
18438
7148ab62
DJ
184392002-01-30 Daniel Jacobowitz <drow@mvista.com>
18440
18441 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
18442 Allow a start function above main.
18443 * gdb.threads/linux-dp.exp: Fix copyright date.
18444
396cc255
DJ
184452002-01-30 Daniel Jacobowitz <drow@mvista.com>
18446
a9c64011
AS
18447 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
18448 (check_philosopher_stack): Check for manager thread before checking
18449 for a just-starting thread.
396cc255 18450
f038d31b
DJ
184512002-01-30 Daniel Jacobowitz <drow@mvista.com>
18452
18453 From Neil Booth <neil@daikokuya.demon.co.uk>:
18454 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
18455 warnings.
18456
b3ff9d9a
FF
184572002-01-21 Fred Fish <fnf@redhat.com>
18458
18459 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
18460 not caller.
18461
39ad761d
JB
184622002-01-21 Jim Blandy <jimb@redhat.com>
18463
18464 * gdb.base/reread.exp: Check that GDB properly re-reads the
18465 executable file when it changes while no inferior is running.
18466
aaf320fa
FF
184672002-01-21 Fred Fish <fnf@redhat.com>
18468
a9c64011
AS
18469 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
18470 optionally accept the "shlib events" variation.
aaf320fa 18471
808a31f5
JB
184722002-01-21 Jim Blandy <jimb@redhat.com>
18473
18474 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
18475 call `fflush' after every `printf', so that the output is produced
18476 at predictable points, regardless of whatever buffering does (or
18477 doesn't) take place.
18478 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
18479 at different points.
18480
4420d5e2
DJ
184812002-01-20 Daniel Jacobowitz <drow@mvista.com>
18482
18483 * gdb.c++/inherit.exp: Update copyright years.
18484 * gdb.c++/method.exp: Likewise.
18485
3e36a0f4
DJ
184862002-01-20 Daniel Jacobowitz <drow@mvista.com>
18487
18488 * gdb.c++/classes.exp: Update for improved v3 support and skipping
18489 artificial methods/arguments.
18490 * gdb.c++/derivation.exp: Likewise.
18491 * gdb.c++/inherit.exp: Likewise.
18492 * gdb.c++/method.exp: Likewise.
18493 * gdb.c++/virtfunc.exp: Likewise.
18494
b4ceaee6
AC
184952002-01-18 Andrew Cagney <ac131313@redhat.com>
18496
18497 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
18498 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
18499 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
18500 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
18501 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
18502 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
18503
ecace851
JB
185042002-01-17 Jim Blandy <jimb@redhat.com>
18505
18506 * gdb.asm/asm-source.exp (info symbol): Take another shot at
18507 anchoring the pattern matching the entry point symbol's name.
18508
375fc983
AC
185092002-01-17 Andrew Cagney <ac131313@redhat.com>
18510
18511 * gdb.base/maint.exp: Update ``maint internal-error'' to match
18512 continue/quit query. Update copyright.
18513
fe6fdd96
MS
185142002-01-14 Michael Snyder <msnyder@redhat.com>
18515
18516 * gdb.base/gcore.exp: Remove extra debugging output.
18517
e017c81f
DJ
185182002-01-13 Daniel Jacobowitz <drow@mvista.com>
18519
18520 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
18521 for slightly dubious v2 mangled string.
18522
37ab3bf8
DJ
185232002-01-13 Daniel Jacobowitz <drow@mvista.com>
18524
18525 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
18526
1bc05c3a 185272002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 18528
1bc05c3a 18529 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 18530
1bc05c3a
JM
18531 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
18532 constructors.
18533 * gdb.c++/derivation.exp: Likewise.
18534 * gdb.c++/templates.exp: Likewise.
18535 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 18536
1bc05c3a
JM
185372002-01-10 Michael Snyder <msnyder@redhat.com>
18538
18539 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 18540
a911c360
MS
185412002-01-08 Michael Snyder <msnyder@redhat.com>
18542
18543 * gdb.base/gcore.exp: New test for generate-core-file command.
18544 * gdb.base/gcore.c: Testcase for above.
18545 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
18546
ea2119ec
JM
185472002-01-08 Jason Merrill <jason@redhat.com>
18548
18549 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
18550
68203136
FF
185512002-01-07 Fred Fish <fnf@redhat.com>
18552
18553 * gdb.c++/overload.exp: Remove unconditional xfails for:
18554 print foo_instance1.overloadargs(1)
18555 print foo_instance1.overloadargs(1, 2)
18556 print foo_instance1.overloadargs(1, 2, 3)
18557 print foo_instance1.overloadargs(1, 2, 3, 4)
18558 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
18559 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
18560 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
18561 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
18562 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
18563 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
18564 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
18565 print foo_instance1.overload1arg()
18566 print foo_instance1.overload1arg((char)arg2)
18567 print foo_instance1.overload1arg((signed char)arg3)
18568 print foo_instance1.overload1arg((unsigned char)arg4)
18569 print foo_instance1.overload1arg((int)arg7)
18570 print foo_instance1.overload1arg((unsigned int)arg8)
18571 print foo_instance1.overload1arg((float)arg11)
18572 print foo_instance1.overload1arg((double)arg12)
d63a86f8 18573
21b9b5b1
MS
185742002-01-07 Michael Snyder <msnyder@redhat.com>
18575
18576 * gdb.base/huge.exp: New test. Print a very large target data object.
18577 (skip_huge_test): New test variable. Define if you want to skip this
18578 test. The test reads an 8 megabyte data object from the target, so it
18579 might be very time consuming on remote targets with a slow connection.
18580 * gdb.base/huge.c: New file. Test case for above.
18581
725f922e
FF
185822002-01-07 Fred Fish <fnf@redhat.com>
18583
18584 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
18585 g_instance.bfoo, and g_instance.cfoo.
18586
889bf7c5 185872002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 18588
889bf7c5
PA
18589 * gdb.base/break.c (multi_line_if_conditional): New function.
18590 (multi_ilne_while_conditional): Likewise.
18591 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
18592 IF or WHILE condition puts the breakpoint at the start of
18593 the condition.
f286b2c3 18594
634d57ec
JL
18595 * gdb.base/selftest.exp (backtrace through signal handler): Remove
18596 hppa*-*-hpux* expected failure.
18597 * gdb.base/structs.exp (do_function_calls): Similarly.
18598
18599 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
18600 watchpoints.
18601
9fbfe2dc
AC
186022002-01-06 Andrew Cagney <ac131313@redhat.com>
18603
18604 Fix PR gdb/66.
18605 * gdb.base/structs.exp: Replace skip for a29k with skip for
18606 gdb,cannot_call_functions.
18607 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
18608 * gdb.base/callfuncs.exp: Ditto.
18609 * gdb.base/call-rt-st.exp: Ditto.
18610 * gdb.base/call-strs.exp: Ditto.
18611 * gdb.base/callfwmall.exp: Ditto.
18612 * gdb.base/scope.exp: Obsolete xfail a29k.
18613 * gdb.c++/misc.exp: Ditto.
18614 * gdb.c++/cplusfuncs.exp: Ditto.
18615 * gdb.base/ptype.exp: Ditto.
18616 * gdb.base/printcmds.exp: Ditto.
18617 * gdb.base/opaque.exp: Ditto.
18618 * gdb.base/list.exp: Ditto.
18619 * gdb.base/funcargs.exp: Ditto.
18620 * gdb.base/default.exp: Ditto.
18621
8ddad156
MS
186222002-01-04 Michael Snyder <msnyder@redhat.com>
18623
ca4976a6 18624 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
18625 * gdb.base/maint.exp: Add tests for maint info sections options.
18626
1b074332
JL
18627Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
18628
18629 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
18630
7d159115
CV
186312001-12-20 Corinna Vinschen <vinschen@redhat.com>
18632
18633 * gdb.asm/arm.inc: New file.
18634 * gdb.asm/asm-source.exp: Add arm targets.
18635 * gdb.asm/configure.in: Ditto.
18636 * gdb.asm/configure: Recreated from configure.in.
18637
8fb87725
JL
18638Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
18639
afabe08c
JL
18640 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
18641 with HP's compiler.
18642 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18643 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18644 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18645 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18646
18647 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
18648 either HP's compilers or GCC.
18649
db521deb
JL
18650 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
18651 a SIGBUS or SIGSEGV.
18652
18653 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
18654
18655 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
18656 can be compiled with either HP's compiler or GCC.
18657
cfa88ab7
JL
18658 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
18659 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
18660 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
18661
ca344dff
JL
18662 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
18663 to match current gdb output. Update due to using auto-solib-limit
18664 for limiting instead of overloading auto-solib-add.
18665 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
18666 test program.
18667
3f3c6e55 18668 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
18669 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
18670 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18671 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18672 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18673 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18674 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
18675 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
18676 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
18677 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
18678 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
18679 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
18680 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 18681
8fb87725
JL
18682 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
18683 a SIGTRAP to the inferior.
18684
cf599fa7
CV
186852001-12-19 Corinna Vinschen <vinschen@redhat.com>
18686
18687 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
18688 Substitute call to target_link by call to gdb_compile.
18689
2cd045cd
JL
18690Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
18691
a9c64011
AS
18692 * gdb.base/break.exp: Fix HP specific search string when testing
18693 backtracing in a called function.
2cd045cd 18694
a9c64011
AS
18695 * gdb.base/constvars.exp: Only set lang to C++ if we're
18696 compiling the test with HP's compilers.
18697 * gdb.base/volatile.exp: Similarly.
2cd045cd 18698
99ebe9ac
JB
186992001-12-19 Jim Blandy <jimb@redhat.com>
18700
18701 * gdb.base/printcmds.exp: Expect the null character to be printed
18702 as '\0', and the '\013' to be printed as '\v'.
18703 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
18704 * gdb.base/setvar.exp: Same.
18705
b9891b29
JB
187062001-12-17 Jim Blandy <jimb@redhat.com>
18707
0eba65ab
JB
18708 * gdb.base/completion.exp: Rather than completing very long
18709 filenames, which can make the readline library produce output we
18710 don't recognize, cd to the directory first, and then complete
18711 using nice, short relative paths.
18712
6970b5b1
JB
18713 * gdb.base/completion.exp: On some systems, there is, in fact, a
18714 variable named `b' in scope, since GDB treats all static
a9c64011
AS
18715 variables as being in scope. So use `no_var_named_this'
18716 instead of `b'.
6970b5b1 18717
b9891b29 18718 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 18719 can't find the core file's registers as a failure.
b9891b29 18720
e6ccd35f
JSC
187212001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
18722
a9c64011
AS
18723 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
18724 test expect string more specific.
e6ccd35f 18725
105ba819
CV
187262001-12-13 Corinna Vinschen <vinschen@redhat.com>
18727
18728 * gdb.asm/asm-source.exp: Add support for xstormy16.
18729 * gdb.asm/configure.in: Ditto.
18730 * gdb.asm/configure: Rebuild.
18731 * gdb.asm/xstormy16.inc: New file.
18732
e9e79dd9
FF
187332001-12-10 Fred Fish <fnf@redhat.com>
18734
18735 * gdb.base/maint.exp: Update to match changes in type dumping code.
18736
347dc97d
JB
187372001-12-10 Jim Blandy <jimb@redhat.com>
18738
18739 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
18740 matching the entry point symbol's name at the beginning of the
18741 line.
347dc97d 18742
5178b9d6
DJ
187432001-12-07 Daniel Jacobowitz <drow@mvista.com>
18744
18745 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
18746 gdb.c++/inherit.exp, gdb.c++/method.exp,
18747 gdb.c++/namespace.exp, gdb.c++/templates.exp,
18748 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
18749 and class layout support.
18750
af890c52
DJ
187512001-12-07 Daniel Jacobowitz <drow@mvista.com>
18752
18753 * gdb.c++/classes.exp: Add test for static member function.
18754 * gdb.c++/misc.cc: Add class with static member function.
18755
7a345fb3
JB
187562001-12-07 Jim Blandy <jimb@redhat.com>
18757
f2e54a80 18758 If GDB says it can't find the struct the function returned, report
8032bf31
JB
18759 those tests as `unsupported'.
18760 * gdb.base/call-rt-st.exp (print_struct_call): New function.
18761 Rewrite subsequent tests to use it.
18762
18763 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
18764 those tests as `unsupported'.
18765 * gdb.base/structs.exp (call_struct_func): New function.
18766 (do_function_calls): Use call_struct_func to call the functions
18767 returning structs.
18768
0bc69509
JB
18769 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
18770 whether functions are prototyped or not, so we can't possibly pass
18771 arguments to t_float_values2 properly.
18772
7a345fb3
JB
18773 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
18774 value of `timeout' for targets other than the mips*tx39-*.
18775
edb6ede1
MS
187762001-12-06 Michael Snyder <msnyder@redhat.com>
18777
d63a86f8 18778 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
18779 and detect whether the start symbol has a leading underscore.
18780
2d842f13
JB
187812001-12-04 Jim Blandy <jimb@redhat.com>
18782
18783 * gdb.base/completion.exp: Clarify indentation.
18784
68550daf
JB
187852001-12-03 Jim Blandy <jimb@redhat.com>
18786
18787 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
18788 variables on the S/390, not `.word'.
18789
cd5195a8
JB
187902001-11-30 Jim Blandy <jimb@redhat.com>
18791
18792 Add assembly-source tests for s390-ibm-linux.
18793 * gdb.asm/s390.inc: New file.
18794 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
18795 the S/390 architecture.
a9c64011 18796 * gdb.asm/configure: Regenerated.
cd5195a8 18797
ca9efc90
MS
187982001-11-30 Michael Snyder <msnyder@redhat.com>
18799
18800 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
18801 next, info source, info sources, info line, global and static
18802 variables, and static functions.
18803 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
18804 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
18805 * gdb.asm/asmsrc1.s: Add a static function and some variables.
18806 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
18807 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
18808 (gdbasm_leave): Restore frame pointer.
18809 (gdbasm_startup): Copy stack set-up from crt0.S.
18810
d0e66976
FN
188112001-11-26 Fernando Nasser <fnasser@redhat.com>
18812
18813 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
18814 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
18815 to a local (non-static) variable. Copy tstruct.a to a static buffer
18816 and return a pointer to that buffer.
18817 * gdb.base/callfwmall.c (t_structs_a): Ditto.
18818
e2334072
MK
188192001-11-24 Mark Kettenis <kettenis@gnu.org>
18820
18821 * gdb.asm/configure.in: Fix recognition of ix86 target.
18822 * gdb.asm/configure: Regenerate.
18823
756caa3d
MS
188242001-11-21 Michael Snyder <msnyder@redhat.com>
18825
18826 * gdb.asm/sparc.inc: New file.
18827 * gdb.asm/asm-source.exp: Recognize sparc target.
18828 * gdb.asm/configure.in: Recognize sparc target.
18829 * gdb.asm/configure: Regenerate.
d63a86f8 18830
9a4d72d5
MS
188312001-11-21 Michael Snyder <msnyder@redhat.com>
18832
18833 * gdb.asm/m32r.inc: New file.
18834 * gdb.asm/asm-source.exp: Recognize m32r target.
18835 * gdb.asm/configure.in: Recognize m32r target.
18836 * gdb.asm/configure: Regenerate.
18837
a773d1cd
MS
188382001-11-20 Michael Snyder <msnyder@redhat.com>
18839
017ac23d
MS
18840 * gdb.asm/i386.inc: New file.
18841 * gdb.asm/asm-source.exp: Recognize ix86 target.
18842 * gdb.asm/configure.in: Recognize ix86 target.
18843 * gdb.asm/configure: Regenerate.
18844
a773d1cd
MS
18845 * gdb.c++/namespace.exp: Fix quotes in output messages.
18846
bb632afb
MS
188472001-11-14 Michael Snyder <msnyder@redhat.com>
18848
25d559ca 18849 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
18850 qualifier in a type cast expression, to designate an address
18851 in the instruction space (Harvard architecture).
18852
4749e309
MS
188532001-11-13 Michael Snyder <msnyder@redhat.com>
18854
18855 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
18856 Tests for expressions using 'const' and 'volatile'.
18857
25050984
CV
188582001-11-13 Corinna Vinschen <vinschen@redhat.com>
18859
18860 * gdb.asm/asm-sources.exp: Allow defining linker flags.
18861
1902c51f
DJ
188622001-11-12 Daniel Jacobowitz <drow@mvista.com>
18863
18864 * lib/mi-support.exp (mi_run_to_helper): Move comments
18865 outside of gdb_expect.
18866
dcf95b47
DJ
188672001-11-11 Daniel Jacobowitz <drow@mvista.com>
18868
18869 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
18870 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
18871 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
18872 mi0_run_to): New functions.
18873 * gdb.mi/mi-simplerun.exp: Use them.
18874 * gdb.mi/mi0-simplerun.exp: Likewise.
18875 * gdb.mi/mi-var-cmd.exp: Likewise.
18876 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 18877
45b074e1
AC
188782001-11-10 Andrew Cagney <ac131313@redhat.com>
18879
18880 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
18881 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
18882
bf50d346
AC
188832001-11-09 Andrew Cagney <ac131313@redhat.com>
18884
18885 * gdb.base/restore.exp: Include $expected value in restored test
18886 message.
18887
9383332c
AC
188882001-11-09 Andrew Cagney <ac131313@redhat.com>
18889
18890 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
18891 implemented.
18892
db62520a
MS
188932001-11-08 Michael Snyder <msnyder@redhat.com>
18894
18895 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
18896 Add pass/fail message for stop at breakpoint in call dummy function.
18897
b5703437
MS
188982001-11-07 Michael Snyder <msnyder@redhat.com>
18899
d63a86f8
RM
18900 * gdb.c++/templates.exp (test_template_breakpoints):
18901 If we get an overload menu, but it does not match what
760f6330 18902 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
18903 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
18904 making the whitespace optional. Argument for "new" may be
18905 "unsigned" as well as "unsigned int/long".
d63a86f8 18906 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
18907 making the whitespace optional. Also replace "(void) with
18908 "((void|)), making the keyword "void" optional.
d63a86f8 18909 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
18910 making the whitespace optional. Also replace "(void) with
18911 "((void|)), making the keyword "void" optional.
3bf40917
MS
18912 * gdb.base/callfuncs.c (t_float_values): This function must
18913 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 18914 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
18915 can be tested against both cases. Usually one case involves
18916 promotion of float to double, while the other does not.
18917 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
18918 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
18919 includes a stack frame for "start".
18920
c8ab4e6d
JB
189212001-11-05 Jim Blandy <jimb@redhat.com>
18922
18923 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
18924 pointers are 32 bits long, and that offsets of relocs are always
18925 stored in the data (REL-style), and not in the reloc entry itself
18926 (RELA-style).
18927 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
18928 stabs.
18929
3f08ced9
MS
189302001-11-01 Michael Snyder <msnyder@redhat.com>
18931
18932 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
18933 and regular expression operators by using quoting.
18934
cbfa24cd
MS
189352001-10-31 Michael Snyder <msnyder@redhat.com>
18936
18937 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
18938 depending on what the symbol table contains.
18939 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
18940 the output of the ptype command. Similarly, accept both "const &"
18941 and "const&".
18942
aaa68313
CV
189432001-10-31 Corinna Vinschen <vinschen@redhat.com>
18944
18945 * gdb.base/miscexprs.c (main): Add usage of preprocessor
18946 symbol `STORAGE' to allow to choose the storage class of
18947 the local datastructures.
18948 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
18949 compiler directive.
18950
91740388
MS
189512001-10-30 Michael Snyder <msnyder@redhat.com>
18952
18953 * gdb.base/jump.exp: Allow it to run for all targets.
18954
1b7c05e7
CV
189552001-10-29 Corinna Vinschen <vinschen@redhat.com>
18956
18957 * gdb.base/call-ar-st.c (print_double_array): Match for loop
18958 with new double_array size.
18959 (main): Change storage class of all local variables to static.
18960 Reduce size of double_array to 9.
18961 * gdb.base/call-ar-st.exp: Increase timeout value.
18962 Change expected output for double array to match new size in
18963 call-ar-st.c.
18964
36a22261
CV
189652001-10-29 Corinna Vinschen <vinschen@redhat.com>
18966
18967 * gdb.base/ending-run.exp: Create identical output when passing
18968 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 18969 Stormy16 target.
36a22261 18970
92b8ae91
MK
189712001-10-28 Mark Kettenis <kettenis@gnu.org>
18972
18973 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
18974 that we catch the expected failure under Linux/x86.
18975
cb135b83
OF
189762001-10-29 Orjan Friberg <orjanf@axis.com>
18977
18978 * gdb.base/setvar.exp: Escape curly braces.
18979 * gdb.stabs/weird.exp: Ditto.
18980
6884aa54
DJ
189812001-10-27 Daniel Jacobowitz <drow@mvista.com>
18982
18983 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
18984 * gdm.mi/mi0-hack-cli.exp: Likewise.
18985
0398c9aa
AC
189862001-10-25 Andrew Cagney <ac131313@redhat.com>
18987
18988 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
18989 messages.
18990
d20bf2e8
AC
189912001-10-21 Andrew Cagney <ac131313@redhat.com>
18992
18993 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
18994 checking MI enabled.
18995
03dd63aa
CV
189962001-10-09 Corinna Vinschen <vinschen@redhat.com>
18997
18998 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
18999
1d9d99f3
FCE
190002001-10-04 Frank Ch. Eigler <fche@redhat.com>
19001
19002 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
19003 if gdb child process crashes, just signal an error.
19004
838ae6c4
JB
190052001-10-02 Jim Blandy <jimb@redhat.com>
19006
19007 * lib/gdb.exp (test_xfail_format): Simplify.
19008
19009 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
19010 front of the variable name `format'. Simplify `if'.
19011
8f0cbc1c
DJ
190122001-10-01 Daniel Jacobowitz <drow@mvista.com>
19013
19014 * gdb.threads/pthreads.exp: Wait for output and delay
19015 before sending ^C.
19016
1f08dafd
DJ
190172001-10-01 Daniel Jacobowitz <drow@mvista.com>
19018
19019 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
19020 some incorrect output instead of timing out.
19021 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
19022
674f90ff
CV
190232001-09-28 Corinna Vinschen <vinschen@redhat.com>
19024
19025 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
19026 check to allow additional `int'.
19027
9b284272
DJ
190282001-09-27 Daniel Jacobowitz <drow@mvista.com>
19029
19030 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
19031 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
19032
b55a4771
MS
190332001-09-27 Michael Snyder <msnyder@redhat.com>
19034
19035 * lib/gdb.exp (test_debug_format): New proc.
19036 (setup_xfail_format): Use new proc test_debug_format.
19037 * gdb.base/constvars.exp (local_compiler_xfail_check): New
19038 proc; use new service proc test_debug_format.
19039 Replace all other "gcc_compiled" tests with this test.
19040 * gdb.base/volatile.exp (local_compiler_xfail_check): New
19041 proc; use new service proc test_debug_format.
19042 Replace all other "gcc_compiled" tests with this test.
19043
190442001-09-27 Michael Snyder <msnyder@redhat.com>
19045
19046 * gdb.base/cvexpr.exp: New file.
19047 * gdb.base/cvexpr.c: New file
19048 Test for expressions using const and volatile keywords.
19049
4e6667ac
CV
190502001-09-26 Corinna Vinschen <vinschen@redhat.com>
19051
19052 * gdb.base/constvars.exp: Check for different orders of keywords
19053 and additional "int" strings in output.
19054
4f337972
AC
190552001-09-22 Andrew Cagney <ac131313@redhat.com>
19056
19057 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
19058 responses from "help maint".
19059
2015650d
FCE
190602001-09-19 Frank Ch. Eigler <fche@redhat.com>
19061
19062 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
19063 to localhost:NNN instead of :NNN, in case Xvfb is listening
19064 only on TCP.
19065
f3bcedc1
CV
190662001-09-19 Corinna Vinschen <vinschen@redhat.com>
19067
19068 * gdb.base/recurse.exp: When checking leaving the watchpoint
19069 scope, recognize when gdb is in function's epilogue and pass.
19070
6b819c92
KS
190712001-09-18 Keith Seitz <keiths@redhat.com>
19072
19073 * lib/insight-support.exp (_gdbtk_export_target_info): Add
19074 support for running tests against sid targets.
19075 (gdbtk_done): Ditto.
19076
a10c9419
CV
190772001-09-18 Corinna Vinschen <vinschen@redhat.com>
19078
19079 * gdb.base/ending-run.c (main): Set stdout buffersize
19080 to the same reasonable value for any target.
19081 * gdb.base/ending-run.exp: Add a regular expression
19082 to make testsuite happy on Sanyo Stormy16 target.
19083
739d0d99
CV
190842001-09-17 Corinna Vinschen <vinschen@redhat.com>
19085
19086 * gdb.base/display.c (do_loops): Add float variable `f'.
19087 Increment f in loop.
19088 * gdb.base/display.exp: Increment timeout by 60 seconds.
19089 Change float display test to use variable `f'.
19090
1b8947f0
JB
190912001-09-17 Jim Blandy <jimb@redhat.com>
19092
19093 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
19094 overflowing the limited breakpoint tables on some ROM monitors
19095 (like the ROM68K).
19096
9890ac81
FCE
190972001-09-15 Frank Ch. Eigler <fche@redhat.com>
19098
19099 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
19100 the "-ac" (disable access control) flag.
19101
6db765ea
JH
191022001-08-30 Jeff Holcomb <jeffh@redhat.com>
19103
19104 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
19105 ints.
19106
4c32cc04
KS
191072001-08-30 Keith Seitz <keiths@redhat.com>
19108
19109 * lib/gdb.exp: Move all insight-related functionality into
19110 separate file.
19111 * lib/insight-support.exp: New file.
19112
8d6e6f81
FCE
191132001-08-29 Frank Ch. Eigler <fche@redhat.com>
19114
19115 * config/sid.exp (sid_start): Never set sid verbosity; disable
19116 expect_background {} that consumed its stdout; tolerate </dev/null.
19117 Attempt to set endianness override in "sid" protocol mode. Cleanup.
19118
6a90e1d0
AC
191192001-08-18 Andrew Cagney <ac131313@redhat.com>
19120
19121 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
19122 CLI jump command to start it.
19123 (mi_run_to_main): Fail immediatly when unexpected output.
19124
1759b3c3
AC
191252001-08-18 Andrew Cagney <ac131313@redhat.com>
19126
19127 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
19128 beginning of function. Fix PR gdb/191.
19129
61d11d80
FCE
191302001-08-16 Frank Ch. Eigler <fche@redhat.com>
19131
19132 * config/sid.exp (sid_start): Don't warn if we cannot figure out
19133 what to force sid endianness to.
19134
942a4df2
KS
191352001-08-15 Keith Seitz <keiths@redhat.com>
19136
19137 * lib/gdb.exp (gdbtk_start): Don't set environment
19138 variables for TCL_LIBRARY and friends. Insight will
19139 now figure these out for itself.
19140
0521c418
MS
191412001-08-02 Michael Snyder <msnyder@redhat.com>
19142
19143 * gdb.base/completion.exp: Remove the symbol "a64l" from
19144 the expect string; this is target-specific, and not related
19145 to what is being tested.
19146
74a9a58a
DB
191472001-08-02 Dave Brolley <brolley@redhat.com>
19148
19149 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
19150
c70819fa
MS
191512001-07-25 Michael Snyder <msnyder@redhat.com>
19152
c2b8fa57
MS
19153 * gdb.base/consecutive.exp: New file. Test stepping over
19154 breakpoints on consecutive instructions.
19155 * gdb.base/consecutive.c: New file.
19156
c70819fa
MS
19157 * gdb.base/call-rt-st.exp: Use double-backslash to quote
19158 curly braces in regular expressions.
19159
2b1a1355
MS
191602001-07-25 Michael Snyder <msnyder@redhat.com>
19161
19162 * gdb.base/ending-run.exp: Accept "Program exited normally" as
19163 legitimate output from stepping out of main.
19164
413eca6f
KS
191652001-07-22 Keith Seitz <keiths@redhat.com>
19166
19167 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
19168 the empty string, do not run the tests.
19169
7e5a9322
SC
191702001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19171
19172 * gdb.base/long_long.exp: Detect size of pointer. Take into
19173 account 2-byte pointers when testing for p/a results.
19174
de58f10f
SC
191752001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19176
d63a86f8 19177 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
19178 and defined to 1K for m68hc11.
19179 (random_data): Reduce table to 1K for embedded platforms (68hc11).
19180 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
19181 (sizeof_random_data): New variable to tell the size of the data table;
19182 don't test past this size; always run to main.
19183
d6f5fea1
SC
191842001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19185
19186 * gdb.base/return2.exp: return of long long and double fails for
19187 68HC11; don't execute these tests on that platform.
19188 * gdb.base/return.exp: Return of a double fails for 68hc11.
19189
c477543d
SC
191902001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19191
19192 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
19193 tests that print a float.
19194 * call-rt-st.exp: Likewise.
19195
63cf1c79
MK
191962001-07-12 Mark Kettenis <kettenis@gnu.org>
19197
19198 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
19199 running this test on Linux.
19200
112f9ab5
MC
192012001-06-24 Michael Chastain <chastain@redhat.com>
19202
19203 * gdb.base/arithmet.exp: Remove some tests to make all test names
19204 unique.
19205
4970cb0f
MS
192062001-07-03 Michael Snyder <msnyder@redhat.com>
19207
19208 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
19209 the output of the ptype command.
19210
d85da69f
MS
192112001-07-02 Michael Snyder <msnyder@redhat.com>
19212
4c8a82de
MS
19213 * gdb.base/completion.exp: Don't assume that break.c is the only
19214 source file that may contain functions named "marker".
d85da69f
MS
19215 * gdb.base/corefile.exp: Quote the curly braces in regexp.
19216
8afc772b
AC
192172001-06-28 Andrew Cagney <ac131313@redhat.com>
19218
19219 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
19220 of files to delete.
19221
19222 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
19223 * gdb.disasm/h8300s.exp: New file.
19224 gdb.disasm/h8300s.s: Likewise.
19225
cff22675
AC
192262001-06-27 Andrew Cagney <ac131313@redhat.com>
19227
19228 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
19229 empty breakpoint tables.
19230
68c81b54
AC
192312001-06-25 Andrew Cagney <ac131313@redhat.com>
19232
19233 * lib/mi-support.exp: Update args=... part of stop-reason
19234 patterns. Accept either a list or a tuple.
19235
2dd62704
AC
192362001-06-23 Andrew Cagney <ac131313@redhat.com>
19237
19238 * lib/mi-support.exp: Remove local emacs variable defining
19239 change-log-default-name.
19240
b4127474
MC
192412001-06-22 Michael Chastain <chastain@redhat.com>
19242
19243 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
19244 This is operationally compatible with the previous version.
19245
8dbfb380
JB
192462001-06-13 Jim Blandy <jimb@redhat.com>
19247
19248 * lib/gdb.exp (gdb_test): Doc fix.
19249
f2d8c86d
MC
192502001-06-10 Michael Chastain <chastain@redhat.com>
19251
19252 * gdb.base/exprs.exp: Remove a duplicate test.
19253
81564d34
JB
192542001-06-06 Jim Blandy <jimb@redhat.com>
19255
19256 * gdb.base/return2.exp (main): Use values to test float and double
19257 returns that are not NaN's, to avoid being confused by IEEE
19258 comparison rules.
19259
da55addb
MS
192602001-06-04 Michael Snyder <msnyder@redhat.com>
19261
19262 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 19263 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
19264 rather than wait for 12 more tests to time out.
19265
42c65987
JB
192662001-06-06 Jim Blandy <jimb@redhat.com>
19267
b18bced9 19268 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 19269 Don't forget to match the GDB prompt.
b18bced9 19270
42c65987
JB
19271 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
19272
5b41e5f0
JB
192732001-06-04 Jim Blandy <jimb@redhat.com>
19274
19275 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
19276 command.
19277
015e046f
KB
192782001-05-31 Kevin Buettner <kevinb@redhat.com>
19279
19280 * gdb.base/annota1.exp (info break): Match four or more spaces
19281 after "Address".
19282
fb1ffbbe
MC
192832001-05-31 Michael Chastain <chastain@redhat.com>
19284
19285 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
19286 (dm_type_int_star): Likewise.
19287 (dm_type_long_star): Likewise.
19288 (dm_type_void_star): Likewise.
19289
5ea2a32c
KB
192902001-05-29 Kevin Buettner <kevinb@redhat.com>
19291
19292 * gdb.base/completion.exp (INPUTRC): Set this environment variable
19293 to a known value in order to get consistent results regardless
19294 of the setting of INPUTRC or the presence or contents of .inputrc.
19295
ae23c492
MS
192962001-05-24 Michael Snyder <msnyder@redhat.com>
19297
ac55707e
MS
19298 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
19299 Don't require that the main thread and the manager thread are the
19300 first in the list.
19301
ae23c492
MS
19302 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
19303 debugging. If test fails, issue an "unsupported" not a "fail".
19304
400071f1
JB
193052001-05-24 Jim Blandy <jimb@redhat.com>
19306
19307 Don't assume that short is shorter than int.
19308 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
19309 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 19310 this isn't true.
400071f1
JB
19311 ("print unsigned char == (~0)"): Add test that verifies that ~0,
19312 an int, is not equal to ~0 stored in an unsigned char. This tests
19313 the same thing that the previous test meant to, but works on
19314 16-bit machines, too.
19315 ("print unsigned char != (~0)"): Same test, complemented.
19316
0816a3e5
MS
193172001-05-24 Michael Snyder <msnyder@redhat.com>
19318
19319 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 19320 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
19321 and prevents dejagnu getting out of step.
19322
f6dc23a9
KB
193232001-05-23 Kevin Buettner <kevinb@redhat.com>
19324
19325 * gdb.base/finish.exp (finish_void): Revise pattern for
19326 stopping on the call statement to not permit stopping at
19327 the start of the instructions comprising the call sequence.
19328
7dbd117d
MC
193292001-05-19 Michael Chastain <chastain@redhat.com>
19330
19331 * gdb.base/callfuncs.exp: Make all test names unique.
19332 * gdb.base/commands.exp: Make all test names unique.
19333 * gdb.base/condbreak.exp: Make all test names unique.
19334 * gdb.base/dbx.exp: Make all test names unique.
19335 * gdb.base/default.exp: Make all test names unique.
19336 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
19337 and TIMEOUT messages to their corresponding PASS message.
19338 * gdb.base/ending-run.exp: Make all test names unique.
19339 * gdb.base/long_long.exp: Remove duplicate test.
19340
6b0b0a9e
KB
193412001-05-21 Kevin Buettner <kevinb@redhat.com>
19342
19343 * gdb.base/finish.exp (finish_void): Allow "finish" command to
19344 stop on the call statement as well as the statement after the
19345 call.
19346
2caa35cb
MS
193472001-05-21 Michael Snyder <msnyder@redhat.com>
19348
19349 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
19350
40713331
EZ
193512001-05-10 Elena Zannoni <ezannoni@redhat.com>
19352
a9c64011
AS
19353 * gdb.base/completion.exp: Revamp test. Make it execute on all
19354 platforms.
40713331 19355
c2c1be8d
EZ
193562001-05-10 Elena Zannoni <ezannoni@redhat.com>
19357
a9c64011
AS
19358 * config/gdbserver.exp (gdb_load): Handle the case
19359 in which the arguments to gdbserver are given in the
19360 baseboard configuration file.
19361 Also handle the case in which the server needs to do a
19362 load.
2c9cd303 19363
9671de48
KS
193642001-05-07 Keith Seitz <keiths@cygnus.com>
19365
a9c64011
AS
19366 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
19367 set up the display for testing.
19368 (gdbtk_start): Convert all paths to paths that tcl will like.
19369 Export target information to environment.
19370 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
19371 necessary.
19372 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
19373 (to_tcl_path): New proc to convert a given pathname into
19374 a path acceptible as an argument to a tcl command.
19375 (_gdbtk_export_target_info): New proc to export target info
19376 into the environment for gdbtk testing.
19377 (gdbtk_done): New proc to signal end-of-test.
9671de48 19378
5a360f47
JB
193792001-05-06 Jim Blandy <jimb@redhat.com>
19380
19381 * restore.c: Make the code of caller0 correspond to its comment.
19382
66c756c6
MS
193832001-05-03 Michael Snyder <msnyder@redhat.com>
19384
19385 * config/sid.exp (gdb_target_sid): Check for error messages.
19386 On error or timeout, don't make expect exit (which will terminate
19387 all subsequent tests); instead just make gdb exit.
d63a86f8 19388 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
19389 return a negative value.
19390
a966fde5
JB
193912001-04-24 Jim Blandy <jimb@redhat.com>
19392
851c18e0
JB
19393 * gdb.c++/templates.exp: If we see the prompt for the overload
19394 list, but we haven't recognized any of the longer patterns,
19395 arrange for this test to fail, not hang.
19396
a966fde5
JB
19397 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
19398 variations.
19399
db144853
MC
194002001-04-22 Michael Chastain <chastain@redhat.com>
19401
19402 * gdb.c++/local.exp: Use the 'runto' library function.
19403 * gdb.c++/namespace.exp: Likewise.
19404 * gdb.c++/overload.exp: Likewise.
19405
3207ec21
KB
194062001-03-26 Kevin Buettner <kevinb@redhat.com>
19407
19408 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
19409 * gdb.base/step-line.exp: New file. Test step/next in presence of
19410 #line directives.
19411 * gdb.base/step-line.c: New file. Test program for the above.
19412 * gdb.base/step-line.inp: New file. We pretend that this file has
19413 been transformed by some other tool into step-line.c.
19414
13b57657
JB
194152001-03-21 Jim Blandy <jimb@redhat.com>
19416
19417 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
19418 unmangled operator names.
19419
754cbe1c
JB
194202001-03-20 Jim Blandy <jimb@redhat.com>
19421
19422 * gdb.threads/linux-dp.exp: Recognize an additional message
19423 generated by GDB when it doesn't understand how to debug threads
19424 on the target system.
19425
177495c9
AC
194262001-03-19 Andrew Cagney <ac131313@redhat.com>
19427
19428 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
19429
f266096b
MC
194302001-03-12 Michael Chastain <chastain@redhat.com>
19431
19432 * gdb.c++/derivation.exp: Use the 'runto' library function.
19433
cac3c2ff
MC
194342001-03-12 Michael Chastain <chastain@redhat.com>
19435
19436 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
19437
b6c11a24
MC
194382001-02-24 Michael Chastain <chastain@redhat.com>
19439
19440 * gdb.c++/ref-types.exp: Change handwritten code to library
19441 function 'runto'.
19442
6bae5bce
OF
194432001-03-16 Orjan Friberg <orjanf@axis.com>
19444
19445 * gdb.base/signals.exp: Set count to 0 explicitly.
19446
0015fd9a
MS
194472001-03-15 Mark Salter <msalter@redhat.com>
19448
19449 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
19450 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
19451 (gdb_load): Add support for additional target_info: gdb_download_size
19452 and gdb_load_timeout.
0015fd9a 19453
fc33412a
DT
19454Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
19455
19456 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
19457 file -- to prevent failing when the compile fails but we have no
19458 intention of running the tests anyway.
fc33412a
DT
19459
19460 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
19461 tests if set.
19462
19463 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 19464 integers.
fc33412a
DT
19465
19466 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
19467 * gdb.c++/namespace.exp: Ditto.
19468
115f06de
OF
194692001-03-07 Orjan Friberg <orjanf@axis.com>
19470
19471 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
19472 * gdb.base/pointers.exp: Relax pattern match of decimals.
19473
b6ba6518
KB
194742001-03-06 Kevin Buettner <kevinb@redhat.com>
19475
19476 * Makefile.in, config/abug.exp, config/cfdbug.exp,
19477 config/cpu32bug.exp, config/dve.exp, config/est.exp,
19478 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
19479 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
19480 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
19481 config/sh.exp, config/sid.exp, config/slite.exp,
19482 config/sparclet.exp, config/udi.exp, config/unknown.exp,
19483 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
19484 config/vxworks.exp, config/vxworks29k.exp,
19485 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
19486 gdb.base/all-bin.exp, gdb.base/annota1.exp,
19487 gdb.base/arithmet.exp, gdb.base/assign.exp,
19488 gdb.base/async.exp, gdb.base/attach.exp,
19489 gdb.base/bitfields.exp, gdb.base/bitops.exp,
19490 gdb.base/break.exp, gdb.base/call-ar-st.exp,
19491 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
19492 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
19493 gdb.base/commands.exp, gdb.base/completion.exp,
19494 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
19495 gdb.base/constvars.exp, gdb.base/corefile.exp,
19496 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
19497 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
19498 gdb.base/ending-run.exp, gdb.base/environ.exp,
19499 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
19500 gdb.base/finish.exp, gdb.base/foll-exec.exp,
19501 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
19502 gdb.base/funcargs.exp, gdb.base/help.exp,
19503 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
19504 gdb.base/logical.exp, gdb.base/long_long.exp,
19505 gdb.base/maint.exp, gdb.base/mips_pro.exp,
19506 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
19507 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
19508 gdb.base/pointers.exp, gdb.base/printcmds.exp,
19509 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
19510 gdb.base/regs.exp, gdb.base/relational.exp,
19511 gdb.base/remote.exp, gdb.base/reread.exp,
19512 gdb.base/restore.exp, gdb.base/return2.exp,
19513 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
19514 gdb.base/selftest.exp, gdb.base/setshow.exp,
19515 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
19516 gdb.base/sigall.exp, gdb.base/signals.exp,
19517 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
19518 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
19519 gdb.base/step-test.exp, gdb.base/structs.c,
19520 gdb.base/structs.exp, gdb.base/structs2.exp,
19521 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
19522 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
19523 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
19524 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19525 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
19526 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
19527 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
19528 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
19529 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
19530 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
19531 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
19532 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
19533 gdb.fortran/types.exp, gdb.java/jmisc.exp,
19534 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
19535 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
19536 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
19537 gdb.trace/circ.exp, gdb.trace/collection.exp,
19538 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
19539 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
19540 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
19541 gdb.trace/report.exp, gdb.trace/save-trace.exp,
19542 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
19543 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
19544 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
19545 notices.
19546
dc96c6c7 195472001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
19548
19549 * gdb.base/varargs.c (find_max_double): Fix printf format string:
19550 first arg is int not float.
19551
dc96c6c7 195522001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
19553
19554 * gdb.base/reread.exp: Unsupported for non-native targets;
19555 doesn't work for remote debugging.
19556
9b0c4aeb
FN
195572001-02-19 Fernando Nasser <fnasser@redhat.com>
19558
19559 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
19560 * gdb.base/ending-run.exp: Properly handle the BSP state when
19561 stepping past the end of main.
9b0c4aeb 19562
02aa71d5
MC
195632001-02-19 John Moore <jmoore@redhat.com>
19564
19565 * gdb.base/commands.exp (infrun_breakpoint_command_test):
19566 Converted HPUX fix for non-expected items following multiple
19567 step commands into general solution for all platforms.
19568
1fa449a4
MC
195692001-02-18 Michael Chastain <chastain@redhat.com>
19570
19571 * gdb.c++/classes.exp (do_tests): Change runto statements
19572 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19573 statements demangler agnostic.
19574 * gdb.c++/virtfunc.exp (do_tests): Likewise.
19575 (gdb_virtfunc_restart): Likewise.
19576
b2f9ec70
MC
195772001-02-14 Michael Chastain <chastain@redhat.com>
19578
19579 * gdb.c++/inherit.exp (do_tests): Change runto statements
19580 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19581 statements demangler agnostic.
19582
cf74b8ca
AC
19583Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
19584
19585 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
19586 ``continue to bkpt at common_routine in thread 2'' and ``stopped
19587 before calling common_routine 15 times'' tests.
cf74b8ca 19588
99f78f56
MC
195892001-02-11 Michael Chastain <chastain@redhat.com>
19590
19591 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
19592 Helps the test script figure out which demangler is in use.
19593 (dm_type_foo_ref): Ditto.
19594 (dm_type_int_star): Ditto.
19595 (dm_type_long_star): Ditto.
19596 (dm_type_unsigned_int): Ditto.
19597 (dm_type_void): Ditto.
19598 (dm_type_void_star): Ditto.
99707966 19599 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
19600 Probe the gdb demangler and set variables to accommodate
19601 formatting differences.
19602 (info_func_regexp): New function. Same as info_func, but
19603 matches against a regexp.
19604 (info_func): Match against a literal string.
19605 (print_addr_2): New function. Match against a literal string,
19606 which can be different from the input to gdb.
19607 (print_addr): Simply call print_addr_2 with the same argument twice.
19608 (test_lookup_operator_functions): Use demangler formatting variables.
19609 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
19610 the tests in the same order as the C++ class declaration.
19611 (test_paddr_operator_functions): Ditto.
19612 (test_paddr_overloaded_functions): Ditto.
19613 (test_paddr_hairy_functions): Use demangler formatting variables.
19614 Add reference to gdb/19 for related tests.
19615 (do_tests): Call probe_demangler.
19616
1de8f023
KB
196172001-01-30 Kevin Buettner <kevinb@redhat.com>
19618
19619 * gdb.c++/templates.cc (printf): Remove unused function definition.
19620
ca3f91ed
MS
196212001-01-26 Felix Lee <flee@redhat.com>
19622
19623 * sid.exp (sid_exit): Pass host, not target, to remote_close.
19624
196252001-01-25 matthew green <mrg@redhat.com>
19626
19627 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
19628 up sid.
19629 (sid_exit): Call `remote_pop_conn' after GDB is gone.
19630
196312001-01-25 matthew green <mrg@redhat.com>
19632
19633 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 19634 Deprecate $sid_spawn_id.
ca3f91ed
MS
19635 (sid_exit): Remove code necessary only for `spawn.'
19636
196372001-01-25 matthew green <mrg@redhat.com>
19638
19639 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
19640
fb18ec4a
MC
196412001-01-28 Michael Chastain <chastain@redhat.com>
19642
19643 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
19644 to call when tests fail. It takes gdb out of the overloaded
19645 function choice menu back to the main prompt, so that the test
19646 program stays synchronized.
19647 (set_bp_overloaded): New proc to collect all the common
19648 code for setting a breakpoint on an overloaded name. Calls
19649 take_gdb_out_of_choice_menu when needed.
19650 (menu_overload1arg): New variable to collect the repeated
19651 instances of the expected menu for an overloaded name. Change
19652 the regular expression to handle changes in g++ type encoding:
19653 "void" can be either "void" or "", and "unsigned int" can be
19654 either "unsigned int" or "unsigned".
19655 (continue_to_bp_overloaded): Change regular expressions to handle
19656 changes in g++ type encoding.
19657 (no proc): Call take_gdb_out_of_choice_menu when needed.
19658 Remove redundant calls to "info break". Accept either "canceled"
19659 or "cancelled". Change regular expressions in "info break"
19660 calls to handle changes in g++ type encoding. Give all tests
19661 unique strings.
19662
9c646a6e
BE
196632001-01-17 Ben Elliston <bje@redhat.com>
19664
19665 * config/sid.exp: New file.
19666
9549d9c1
AC
19667Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
19668
19669 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
19670
dc96c6c7 196712000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
19672
19673 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
19674 Add a RE to accept a non-ascii char if one is ever presented.
19675
b4df4f68
FN
196762000-12-20 Fernando Nasser <fnasser@redhat.com>
19677
297dd0fd 19678 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 19679
dc96c6c7 196802000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 19681
d63a86f8 19682 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
19683 in regexp. One '\' does not suffice on Linux.
19684
4a7bddb6
MC
196852000-12-09 Michael Chastain <chastain@redhat.com>
19686
19687 * gdb.base/break.exp (test_clear_command): Use a marker function
19688 rather than 'main' for the test function. Also move this
19689 test to an execution point where the marker function names are
19690 guaranteed to be bound to functions. (Executing tests after a
19691 'finish' from main runs into name conflicts with local names
19692 in __libc_start_main).
19693
dc96c6c7 196942000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
19695
19696 * gdb.base/finish.exp: New test for gdb's "finish" command.
19697 * gdb.base/return2.exp: New test for gdb's "return" command.
19698 * gdb.base/return2.c: New source file for above.
19699
dc96c6c7 197002000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
19701
19702 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
19703 * gdb.base/miscexprs.exp: Ditto.
19704 * gdb.base/pointers.exp: Ditto.
19705 * gdb.c++/derivation.exp: Ditto.
19706 * gdb.c++/local.exp: Ditto.
19707 * gdb.c++/namespace.exp: Ditto.
19708 * gdb.c++/overload.exp: Ditto.
19709 * gdb.c++/ref-types.exp: Ditto.
19710
dc96c6c7 197112000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
19712
19713 * gdb.base/constvars.exp: Test result of "up" command.
19714 * gdb.base/miscexprs.exp: Ditto.
19715 * gdb.base/pointers.exp: Ditto.
19716 * gdb.base/scope.exp: Ditto.
19717 * gdb.c++/derivation.exp: Ditto.
19718 * gdb.c++/local.exp: Ditto.
19719 * gdb.c++/namespace.exp: Ditto.
19720 * gdb.c++/overload.exp: Ditto.
19721 * gdb.c++/ref-types.exp: Ditto.
19722
44097287
FN
197232000-11-22 Michael Chastain <chastain@redhat.com>
19724
19725 * mips_pro.exp: Accept either "middle -> top -> main" or
19726 "middle -> main" in the backtrace, because gcc can optimize
19727 tail calls to jumps. Remove setup_xfail for the hppa case.
19728 Add a comment with the original warning messages from PR 3016,
19729 which was filed in 1993, to preserve them for posterity.
19730
9d2e1bab
ND
197312000-11-17 Nick Duffek <nsd@redhat.com>
19732
19733 * lib/gdb.exp (gdb_test): Override timeout with board info.
19734
1aca8eb7
ND
197352000-11-17 Nick Duffek <nsd@redhat.com>
19736
19737 * gdb.base/display.exp: Don't kill running stub. Add "again" to
19738 the second kill and detach messages.
19739
93076499
ND
197402000-11-17 Nick Duffek <nsd@redhat.com>
19741
19742 * configure.in: Add AC_EXEEXT.
19743 * configure: Regenerate.
19744 * Makefile.in (just-check): Export EXEEXT.
19745 * lib/gdb.exp ($EXEEXT): Import from environment.
19746 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
19747 expect "maint dump-me" on Cygwin.
19748 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
19749 $EXEEXT.
19750
30e87cd3
ND
197512000-11-17 Nick Duffek <nsd@redhat.com>
19752
19753 * gdb.base/break.exp: Test backtrace and finish from called
19754 function on all platforms, not just HP-UX.
19755
dc96c6c7 197562000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
19757
19758 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
19759 code from gdb_target_monitor, so it can be used independantly
19760 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 19761
dc96c6c7 197622000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
19763
19764 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
19765 * gdb.base/corefile.exp: Expect the message "Program is being
19766 debugged already" when we send the "corefile" command, since
19767 the preceeding gdb_load may have connected gdb to a remote target.
19768 * gdb.base/display.exp: Disable hardware watchpoints if new
19769 board info variable "no_hardware_watchpoints" is true.
19770 Replace single-letter commands with more readable ones.
19771 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
19772 if new board info variable "no_hardware_watchpoints" is true.
19773 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
19774 to see if stdio (printf) testing is possible.
19775 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
19776 board info variable "no_hardware_watchpoints" is true. Use new
19777 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
19778
39124dea
FN
197792000-11-13 Fernando Nasser <fnasser@redhat.com>
19780
19781 From Orjan Friberg <orjanf@axis.com>:
19782 * gdb.base/printcmds.exp: Escape curly braces followed by a number
19783 in array print pattern match.
19784
a9e2e984
FN
197852000-11-09 Fernando Nasser <fnasser@redhat.com>
19786
19787 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
19788 spelling "cancelled" to U.S. spelling "canceled" to match changes
19789 made to gdb.
19790 * gdb.c++/ovldbreak.exp: Ditto.
19791
c7db355b
PS
197922000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19793
19794 * gdb.base/callfuncs.c (main): Moved to end of file, call
19795 t_double_values to initialize the FPU before inferior calls are made.
19796 * gdb.base/callfuncs.exp: Test for register preservation after calling
19797 inferior functions. Add tests for continuining, finishing and
19798 returning from a stop in a call dummy.
19799
dc96c6c7 198002000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
19801
19802 * gdb.base/commands.exp: Break up long lines, and re-indent.
19803
dc96c6c7 198042000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
19805
19806 * config/gdbserver.exp: Rewritten from the ground up, to make it
19807 compatible with the current dejagnu tree, and to make it work with
19808 the new "gdbserver" in libremote.
19809
dc96c6c7 198102000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
19811
19812 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
19813 * gdb.base/varargs.exp: Skip entire test if no printf support.
19814 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
19815 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
19816
dc96c6c7 198172000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
19818
19819 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
19820 no floating point support.
19821 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
19822 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
19823 * gdb.base/call-rt-st.exp: Ditto.
19824 * gdb.base/call-strs.exp: Ditto.
19825
bac5fc66
JG
198262000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
19827
19828 * gdb.base/sizeof.c: include <stdio.h>.
19829
19830 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
19831 'finish', otherwise uncaptured gdb_prompt would potentially
19832 throw remaining test points out of sync.
bac5fc66 19833
b22a6027
SB
198342000-07-26 Scott Bambrough <scottb@netwinder.org>
19835
19836 * gdb.base/recurse.exp: Run tests for all targets.
19837 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
19838 gnu-oldld case on ARM.
19839 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
19840 for ARM targets.
d63a86f8 19841
d8231941
AG
19842Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
19843
19844 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
19845 * gdb.java/configure: Rebuild.
19846
8caabe69
AG
19847Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
19848
19849 * gdb.java/jv-exp.exp: New file.
19850
9d273ca3
AG
19851Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
19852
19853 * configure: Rebuilt.
19854 * configure.in (configdirs): Add gdb.java.
19855 * gdb.java/jmisc.java: New file.
19856 * gdb.java/jmisc.exp: New file.
19857 * gdb.java/Makefile.in: New file.
19858 * gdb.java/configure: Rebuilt.
19859 * gdb.java/configure.in: New file.
19860 * lib/java.exp: New file.
19861
4f823a66
AC
19862Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
19863
19864 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 19865 underflow.
4f823a66 19866
2391e11d
AC
19867Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
19868
19869 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 19870 and the compilers sizes.
2391e11d 19871
54602222
ND
198722000-07-09 Nick Duffek <nsd@redhat.com>
19873
19874 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
19875 (use_methods): New function.
19876 (main): Call use_methods().
19877 * gdb.c++/classes.exp (test_method_param_class): New procedure.
19878 (do_tests): Call test_method_param_class.
19879
2bec0572
ND
198802000-07-09 Nick Duffek <nsd@redhat.com>
19881
19882 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
19883 spelling.
19884 (test_enums): New procedure. Move enum tests from end of script
19885 to here. Set breakpoint on function name instead of line number.
19886 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
19887 (enums2): New marker function.
19888 (enums1): New function.
19889 (main): Call enums1(). Move enum tests to enums1().
19890
78492fde
AC
19891Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
19892
19893 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 19894 compile/link program. Update line numbers.
78492fde
AC
19895 * gdb.asm/d10v.inc: Define ``startup''.
19896 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 19897
49a2cef8
AC
19898Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
19899
19900 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
19901
3e6c8688
EZ
199022000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19903
19904 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 19905 of 'help maint print' command.
3e6c8688 19906
9ff5cbe9
AC
19907Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
19908
19909 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 19910 they use gdb_expect_list.
9ff5cbe9 19911
17c579bd
AC
19912Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
19913
19914 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
19915 memory-read-packet-size'' instead of ``set endian big'' to test
19916 long commands.
17c579bd 19917
e6d71bf3
DB
199182000-06-03 Daniel Berlin <dan@cgsoftware.com>
19919
19920 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 19921 g++, and stop skipping them.
e6d71bf3
DB
19922
19923 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
19924 work under g++.
19925
d63a86f8 19926 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
19927 initialization.
19928
dc96c6c7 199292000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
19930
19931 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
19932 the regular expression: accept an (almost) arbitrary sequence of
19933 "frames-invalid" and "breakpoints-invalid" messages both before
19934 and after the "starting" message.
19935
dc96c6c7 199362000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
19937
19938 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 19939
dc96c6c7 199402000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
19941
19942 * gdb.base/annota1.exp (annotate-signal-handler-caller):
19943 Relax the regular expression a little, make it pass on Solaris 8.
19944
8216cda9
KB
199452000-05-12 Kevin Buettner <kevinb@redhat.com>
19946
19947 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 19948 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
19949 Instead, it is permissible for gdb to stop on the line of the
19950 call itself.
19951
1a570b2f
MS
199522000-05-12 Michael Snyder <msnyder@.cygnus.com>
19953
19954 * gdb.base/break.exp (bp on small function, optimized file):
19955 Add a second pass pattern. The behavior differs here between stabs
19956 and dwarf for one-line functions. Stabs preserves two line symbols
19957 (one before the prologue and one after) with the same line number,
19958 but dwarf regards these as duplicates and discards one of them.
19959 Therefore the address after the prologue (where the breakpoint is)
19960 has no exactly matching line symbol, and GDB reports the breakpoint
19961 as if it were in the middle of a line rather than at the beginning.
19962
dc96c6c7 199632000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 19964
d63a86f8 19965 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
19966 rather than "send_gdb" (for consistancy).
19967
7d418785
AC
19968Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
19969
19970 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
19971 * gdb.c++/templates.cc: Properly check for GCC version number.
19972 * lib/compiler.cc: Likewise
19973
dc96c6c7 199742000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 19975
d63a86f8 19976 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
19977 gdb may not stop at the first line of main, due to code motion.
19978
dc96c6c7 199792000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
19980
19981 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
19982 This test depends on parsing the printf output from the target.
19983 Since the sparclet stub doesn't do stdio, this will never work.
19984 * gdb.base/call-rt-st.exp: ditto.
19985 * gdb.base/call-strs: ditto.
19986
dc96c6c7 199872000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
19988
19989 * gdb.base/miscexprs.exp: make sizeof long array test portable.
19990
19991 * gdb.base/ending-run.exp: After connecting to a remote target,
19992 but before running, the target will appear to be in a random
19993 location. Specify both a file and a line for breakpoints.
19994 Also, the function that calls main may be called 'init'
19995 rather than 'start'.
19996
a5a51225
EZ
199972000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19998
19999 * gdb.base/help.exp: Update output for add-symbol-file command.
20000
7930cc7c
FN
200012000-04-10 Fernando Nasser <fnasser@cygnus.com>
20002
20003 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20004 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
20005
23e37ab1
C
200062000-04-07 J.T. Conklin <jtc@redback.com>
20007
e93c542c
C
20008 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
20009
23e37ab1
C
20010 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
20011
591b8fa3
PDM
20012Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
20013
20014 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 20015 values that can be represented exactly.
591b8fa3
PDM
20016 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
20017 above change, and to not check against the directory part of the source
20018 file name.
20019 (step into print_long_arg_list): Likewise.
20020 (print print_small_structs from print_long_arg_list): Likewise.
20021 (print print_long_arg_list): Likewise.
20022
7a495180
EZ
200232000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20024
30b53638 20025 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 20026
beb998c6
AC
20027Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
20028
20029 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
20030
1c689132
DB
200312000-03-25 Daniel Berlin <dan@cgsoftware.com>
20032
20033 * gdb.base/commands.exp (deprecated_command_test): Add test for
20034 deprecate with no arguments.
20035
c1790a9d
JL
200362000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
20037
20038 * gdb.base/break.exp: Add new test for setting breakpoints on
20039 optimized code so we can test breakpoints work even when function
20040 prologues may be optimized away
20041
003ba290
FN
200422000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
20043
20044 From David Whedon <dwhedon@gordian.com>
a9c64011 20045 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 20046
6837a0a2
DB
200472000-03-22 Daniel Berlin <dan@cgsoftware.com>
20048
20049 * gdb.base/help.exp: Added test for new apropos command.
20050
b9593231
KB
200512000-03-21 Kevin Buettner <kevinb@redhat.com>
20052
20053 * gdb.base/pointers.c (usevar): New function.
20054 (main): Make sure that global variables v_int_pointer2, rptr,
20055 and y are all referenced someplace in the program by calling
20056 usevar() on them. [Some linkers delete symbols which are
20057 never referenced. The space remains, but there's no way to
20058 get a (symbolic) handle on the variable from the debugger.]
20059
751a959b
EZ
200602000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20061
20062 * gdb.base/printcmds.c: Add typedeffed arrays.
20063
20064 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 20065 procedure to test arrays that are typedef'd.
751a959b 20066
73a93a32
JI
200672000-03-13 James Ingham <jingham@leda.cygnus.com>
20068
20069 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 20070 the library directories.
73a93a32 20071
fb40c209
AC
20072Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
20073
20074 * configure.in (configdirs): Add sub directory gdb.mi.
20075 * configure: Re-generate.
20076
20077 * gdb.mi: New directory.
d63a86f8 20078
ee4dd2c9
AC
200792000-02-25 Scott Bambrough <scottb@netwinder.org>
20080
20081 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 20082 a long long value as a double on ARM platforms.
ee4dd2c9 20083
70f0cc22
JB
200842000-02-16 Jim Blandy <jimb@redhat.com>
20085
20086 * gdb.base/break.exp ("breakpoint line number"): Make sure the
20087 default source file is set properly before running this test.
20088
853819b8
EZ
200892000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20090
20091 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 20092 gdbtk/library directory, not in gdbtcl2.
853819b8 20093
dfcd3bfb
JM
200942000-02-04 Jim Blandy <jimb@redhat.com>
20095
20096 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
20097 backslash from regexp pattern.
20098
20099 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
20100 procedure. Use it to run all the "continue to bp overloaded"
20101 tests. Note that this changes the names of the tests slightly.
20102 If the breakpoint hit message includes a hex PC value, because
20103 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
20104 from the real source code, still consider that a pass.
20105
20106 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
20107 XFAIL here if the breakpoint message contains a hex address. Note
20108 similar change on 1999-11-02.
20109
20110 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
20111
20112 * gdb.base/ptype.exp: Establish a default source file before
20113 calling get_debug_format.
20114
201152000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
20116
20117 * gdb.base/watchpoint.exp: Remove duplication of test messages.
20118
8b93c638
JM
201192000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20120
20121 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
20122 of successive stepi commands -- while in the prologue we should see
20123 the function entry bracket.
20124
201252000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20126
20127 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
20128 reach __change_mode() when stepping through the end of main().
20129
c5394b80
JM
201302000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
20131
20132 * gdb.base/default.exp: Fix expected pattern.
20133 * gdb.base/help.exp: Same.
20134
0d06e24b
JM
201352000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20136
20137 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 20138 Don't use xfail's because that affects only the following test.
d63a86f8 20139
0d06e24b 20140 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 20141 solaris or linux.
0d06e24b
JM
20142
20143 * gdb.base/selftest.exp: Update to reflect changes to main.c.
20144
dc96c6c7 201452000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 20146
d63a86f8 20147 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
20148 "A syntax error" rather than "A parse error". Accept both.
20149
201502000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
20151
20152 * gdb.base/default.exp: Remove OS dependent string from "target
20153 remote" test.
20154 * gdb.base/help.exp: Same for "help target remote" test.
20155
c3f6f71d
JM
201562000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20157
20158 From Jim Kingdon <kingdon@redhat.com>:
20159
20160 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
20161 prompt (cleanup rather than necessity, but still might keep output
20162 from spilling to next test).
c3f6f71d
JM
20163
201642000-01-02 Fred Fish <fnf@cygnus.com>
20165
20166 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
20167 AIX, which defines them in <sys/types.h>.
20168
ed9a39eb 201691999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 20170
ed9a39eb 20171 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 20172 float" test.
ed9a39eb
JM
20173
201741999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 20175
ed9a39eb 20176 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
20177
20178 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
20179 outermost frame disallowed".
20180
201811999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
20182
20183 * gdb.base/setvar.exp: New tests for setting the value of a struct
20184 with a constant list.
20185
201861999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20187
20188 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
20189 require the user to type a cast before setting the value of a struct.
20190
de57eccd
JM
201911999-12-06 Jim Blandy <jimb@cygnus.com>
20192
20193 * gdb.base/default.exp: Expect the new 'info float' command on
20194 all i386 platforms.
20195
20196 * gdb.threads/linux-dp.exp: Expand our ability to recognize
20197 LinuxThreads libraries that don't support debugging.
20198
c2d11a7d
JM
20199Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20200
20201 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
20202 Change the buffer type to ``unsigned char'' to simplify size
20203 arithmetic.
c2d11a7d
JM
20204
20205 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
20206 stub only handles 400-1 byte packets. Verify that the download
20207 worked.
c2d11a7d
JM
20208
202091999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
20210
20211 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
20212 tests, using UNRESOLVED for the untested cases. Also, does not wait
20213 for a timeout if the prompt was received before a recognizable pattern.
20214
202151999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
20216
20217 * lib/gdb.exp (gdb_expect_list): Fix spelling.
20218
202191999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20220
20221 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 20222 watchpoints.
c2d11a7d
JM
20223
202241999-11-24 Jason Merrill <jason@casey.cygnus.com>
20225
20226 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
20227
20228 * gdb.c++/local.exp: Be more flexible in recognizing local class
20229 name mangling. Don't allow horribly truncated method names.
20230 * gdb.c++/derivation.exp: Expect protected inheritance.
20231 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
20232 * gdb.c++/virtfunc.exp: Likewise.
20233 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
20234 when printing a nested enum.
20235
202361999-11-22 Jim Blandy <jimb@cygnus.com>
20237
20238 * gdb.base/step-test.exp: Properly await GDB's response to setting
20239 a breakpoint on the call to large_struct_by_value.
20240
20241 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
20242 just because we have debug info for the `start' function.
20243
202441999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
20245
20246 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
20247 "Unknown signal" messages, which indicate (on LinuxThreads) that
20248 GDB doesn't know how to debug threads on this system. This is
20249 better than hanging while philosopher 0 dumps chatter into gdb.log.
20250
202511999-11-18 Tom Tromey <tromey@cygnus.com>
20252
20253 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
20254
202551999-11-18 Fred Fish <fnf@cygnus.com>
20256
20257 * gdb.base/coremaker2.c: Add sample program for generating
20258 cores that is more self contained than coremaker.c. Eventually
20259 I'll add more code to this and tie it into the testsuite.
20260
4ce44c66
JM
202611999-11-12 Stan Shebs <shebs@andros.cygnus.com>
20262
20263 * gdb.base/dollar.exp: Remove, now in gdb.hp.
20264
202651999-11-10 Jimmy Guo <guo@cup.hp.com>
20266
20267 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 20268 from $srcdir/lib/.
4ce44c66 20269 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 20270 and gdb.c++/.
4ce44c66
JM
20271
20272 * gdb.c++/derivation.exp: remove redundant get compiler info code.
20273
d63a86f8 20274 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
20275 'continue with watch' test point.
20276
202771999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
20278
20279 Merged from p2linux-990323-branch:
d63a86f8 20280
4ce44c66
JM
20281 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
20282
11cf8741
JM
20283Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
20284
20285 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 20286 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
20287
20288Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
20289
20290 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 20291 gdb_expect_list.
11cf8741
JM
20292
20293Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
20294
20295 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
20296
202971999-11-03 Mark Salter <msalter@cygnus.com>
20298
20299 * gdb.base/break.exp: Fix "stub continue" pattern.
20300
203011999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
20302
20303 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
20304
203051999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
20306
20307 * gdb.base/display.exp ("finish"): Add timeout clause.
20308
20309 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
20310 plain prompt clause, so this doesn't have to time out in order to
20311 fail.
20312
20313 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 20314 breakpoint hit messages include an address.
11cf8741
JM
20315
20316 * gdb.base/display.exp: Don't forget to escape parens in regular
20317 expressions. Unix regexp notatation sucks.
20318
203191999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20320
20321 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 20322 order for 'signalled' message.
11cf8741 20323
5c44784c
JM
203241999-11-01 Stan Shebs <shebs@andros.cygnus.com>
20325
20326 From Jimmy Guo <guo@cup.hp.com>:
20327 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
20328 * gdb.base/annota1.c: Add code for tests to work with.
20329
203301999-10-26 Frank Ch. Eigler <fche@cygnus.com>
20331
20332 * gdb.base/remote.exp: New test for remote downloading settings.
20333 * gdb.base/remote.c: New file with large .data.
20334
917317f4
JM
203351999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
20336
20337 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
20338 for LinuxThreads support, merged from the Code Fusion branch.
20339
20340Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
20341
20342 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
20343 containing exp_continue into a while within an expect. Don't
20344 attempt a start more than three times. Check return value from
20345 gdb_load.
d63a86f8 20346
2df3850c
JM
20347Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
20348
20349 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 20350 a pass case.
2df3850c 20351
2acceee2
JM
203521999-10-01 Kevin Buettner <kevinb@cygnus.com>
20353
20354 * gdb.base/break.c (main): Added a statement that we can step
20355 off of.
20356 * gdb.base/break.exp: Added tests for setting a breakpoint
20357 at an offset and stepping onto a breakpoint.
20358
203591999-10-01 Fred Fish <fnf@cygnus.com>
20360
d63a86f8 20361 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
20362 gdb output.
20363
c2c6d25f
JM
203641999-09-18 Jim Blandy <jimb@cris.red-bean.com>
20365
20366 * gdb.base/break.exp: Code locations are in hex, don't forget!
20367 (For HP-UX.)
20368
203691999-09-17 Stan Shebs <shebs@andros.cygnus.com>
20370
20371 * condbreak.exp: Use break.c as test program.
20372 * condbreak.c: Remove, redundant with break.c.
20373
203741999-09-15 Stan Shebs <shebs@andros.cygnus.com>
20375
20376 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 20377 Z-packets if the target needs it.
c2c6d25f
JM
20378
203791999-09-13 James Ingham <jingham@leda.cygnus.com>
20380
20381 * gdb.c++/overload.exp: Added tests for listing overloaded
20382 functions with function pointers in the arg, explicitly calling
20383 out the version you want.
20384
cff3e48b
JM
203851999-09-09 Stan Shebs <shebs@andros.cygnus.com>
20386
20387 * long_long.exp: Add variations of test cases that work for
20388 targets with 16-bit ints and 32-bit doubles.
20389
d4f3574e
SS
203901999-09-08 Stan Shebs <shebs@andros.cygnus.com>
20391
20392 * break.c (main): Compare a possibly-uninitialized argc with an
20393 unlikely value that fits in 16 bits.
20394
203951999-09-07 Stan Shebs <shebs@andros.cygnus.com>
20396
20397 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
20398 0xfeeb, don't want negative numbers if ints are 16 bits.
20399
20400 * lib/gdb.exp (skip_cplus_tests): New proc.
20401 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
20402 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
20403 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
20404 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
20405 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
20406 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
20407 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
20408 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
20409
20410 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
20411
20412Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
20413
20414 * gdb.base/corefile.exp (up): Allow a parameter to appear
20415 in the frame that we're going up to.
20416
20417 From Jim Blandy <jimb@cygnus.com>:
20418
20419 * gdb.base/default.exp (info float): Expect some output now.
20420
20421 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
20422 returning floating-point values to fail on the x86.
20423 * gdb.base/callfwmall.exp (do_function_calls): Same.
20424
20425 * gdb.base/list.exp (test_listsize): Correct expectations for
20426 listing line 1 with listsize 2. Also, listing a single line
20427 works now, as does listing three lines. [Kevin's note: There
20428 were a number of other cases fixed too where the expectations
20429 differed...]
20430
204311999-09-02 Stan Shebs <shebs@andros.cygnus.com>
20432
20433 * gdb.base/selftest.exp: Add case for when version prints as
20434 constant string instead of char pointer.
20435
104c1213
JM
204361999-08-25 Stan Shebs <shebs@andros.cygnus.com>
20437
20438 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 20439 stepping out of main.
104c1213
JM
20440
20441 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
20442 G++ used.
20443
20444 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 20445 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
20446
20447 * gdb.c++/ovldbreak.exp: Update match string in test that
20448 includes a warning of multiple breakpoints.
20449
204501999-08-24 Stan Shebs <shebs@andros.cygnus.com>
20451
20452 * gdb.base/display.exp: Improve precision of step-after-finish
20453 added yesterday.
20454
20455 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 20456 test.
104c1213
JM
20457
20458 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
20459 configs when using G++, not just hppa*.
20460
204611999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20462
20463 * gdb.base/async.c: New file.
20464 * gdb.base/async.exp: New file.
20465
20466Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
20467
20468 * gdb.base/break.exp: Tweak PA specific tests to properly handle
20469 PA64.
20470
53a5351d
JM
20471Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
20472
104c1213
JM
20473 * gdb.base/display.exp: "finish" can leave us mid-line on many
20474 targets, deal with it. Add a small constant to main, instead of
20475 1000 since main+1000 may not be a valid address in the target.
20476
53a5351d
JM
20477 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
20478 on hpux11.
20479
20480 * gdb.base/attach.exp: Handle another hpux11 error message variant
20481 when attaching to a process that does not exist.
20482
204831999-08-19 J.T. Conklin <jtc@redback.com>
20484
20485 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 20486 characters in 'continue to 1241' test.
53a5351d
JM
20487
204881999-08-17 Stan Shebs <shebs@andros.cygnus.com>
20489
20490 * gdb.base/call-ar-st.exp: Add a shorter match case for the
20491 stop in print_long_arg_list, define and use a whitespace
20492 variable in print_small_structs test, add an XFAIL for Solaris.
20493 * gdb.base/dbx.exp: XFAIL func commands until somebody is
20494 interested enough to fix.
20495
7be570e7
JM
204961999-08-13 Keith Seitz <keiths@cygnus.com>
20497
20498 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
20499 (dbx_gdb_load): Remove. Use gdb_load instead, since that
20500 proc knows about targets other than the natives.
20501 (test_assign): Use "gdb_run_cmd" to "run" the target.
20502 Check that we've actually hit the breakpoint at main.
20503 When we attempt to assign a value to a local variable, check
20504 that the variable is in the current scope, i.e., don't use
20505 a test with an empty result.
20506
20507Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
20508
20509 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 20510 command.
7be570e7
JM
20511
205121999-08-09 Stan Shebs <shebs@andros.cygnus.com>
20513
20514 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20515 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
20516 gdb.compat, gdb.threads-hp.
20517 gdb.hp/configure, gdb.hp/configure.in: New files.
20518 gdb.hp/Makefile.in: Recurse into new subdirs.
20519 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
20520 gdb.hp/gdb.objdbg: New directory, tests for debugging info
20521 in object files.
20522 gdb.hp/tools: New directory, aux tools for HP-specific tests.
20523
96baa820
JM
205241999-08-05 Stan Shebs <shebs@andros.cygnus.com>
20525
20526 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 20527 funky printf, remove a bogus p/a test.
96baa820
JM
20528
205291999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20530
20531 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
20532 connected to the target. This is necessary when running not
20533 natively.
96baa820
JM
20534
205351999-08-03 Stan Shebs <shebs@andros.cygnus.com>
20536
20537 * gdb.base/step-test.exp: Removed some extraneous messages.
20538
20539 * gdb.base/long_long.exp: Don't run memory examination tests
20540 on little-endian targets (they will need a different set of
20541 results to match).
20542
205431999-08-02 Stan Shebs <shebs@andros.cygnus.com>
20544
20545 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
20546 until somebody decides to fix GDB.
20547
20548 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 20549 constant as "ULL".
96baa820
JM
20550 * gdb.base/long_long.exp: Loosen x/c test, add partial result
20551 matches for a couple x/2 commands.
20552
a0b3c4fd
JM
205531999-07-30 Stan Shebs <shebs@andros.cygnus.com>
20554
20555 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
20556 by merging in ref-types2 tests.
20557 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
20558
20559 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20560 * gdb.c++/Makefile.in: Add standard actions.
20561 (EXECUTABLES): Rename from PROGS, update list.
20562 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
20563 from gdb.hp.
20564 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
20565 foo and bar locals.
20566 * gdb.c++/anon-union.exp: Fix tests to match.
20567 * gdb.c++/classes.exp: Run if HP compiler used, add extra
20568 expect matches to handle output variations.
20569 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
20570 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 20571 output, add HP alternatives for new and delete prints.
a0b3c4fd 20572 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 20573 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
20574 * gdb.c++/demangle.exp: Use $style when reporting failure.
20575 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
20576 * gdb.c++/inherit.exp: Run if HP compiler used, add some
20577 match alternatives.
20578 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 20579 compilers.
a0b3c4fd
JM
20580 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
20581 * gdb.c++/method.exp: Add match alternatives.
20582 * gdb.c++/misc.cc: Add bool types.
20583 * gdb.c++/misc.exp: Add tests for bool types.
20584 * gdb.c++/overload.exp: Add xfails.
20585 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
20586 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
20587 add some more template parameter tests (only for HP currently).
20588 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
20589 * gdb.c++/virtfunc.cc: Add return type and value for main.
20590 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
20591 match alternatives.
d63a86f8 20592
a0b3c4fd
JM
205931999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20594
20595 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
20596
205971999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
20598
20599 * gdb.base/signals.exp: Don't expect getting a backtrace from
20600 within a signal handler to fail on Linux.
20601
206021999-07-29 Stan Shebs <shebs@andros.cygnus.com>
20603
20604 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20605 * lib/gdb.exp: Remove some gratuitious semicolons.
20606 (delete_breakpoints): Increase timeout.
20607 (gdb_expect): Add -notransfer option.
20608 (gdb_test): Use -notransfer option.
20609 (get_compiler_info): Add f77 case.
20610 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 20611 case.
a0b3c4fd
JM
20612 (gdb_preprocess): Call get_compiler.
20613
20614 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
20615 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
20616 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
20617 gdb.base/long_long.exp, gdb.base/printcmds.exp,
20618 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
20619 third arg to gdb_test.
a0b3c4fd
JM
20620 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
20621 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 20622 HP-UX xfails, add others.
a0b3c4fd
JM
20623 * gdb.base/completion.exp: Reflect name change of self-test.
20624 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
20625 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
20626 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
20627 HP failure number.
a0b3c4fd
JM
20628 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
20629 useless HP-UX 10.30 references.
20630 * gdb.base/maint.exp: Loosen matches.
20631 * gdb.base/pointers.c (main): Declare more_code.
20632 * gdb.base/pointers.exp: Match on output of a `next'.
20633 * gdb.base/structs.c: Add prototypes.
20634 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
20635 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
20636
206371999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20638
20639 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 20640 command.
a0b3c4fd
JM
20641
206421999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20643
20644 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
20645 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
20646
20647 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
20648 debug info. Deal with lack of signal hanlder info in stack.
20649
a9c64011 20650 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
20651 * gdb.base/annota1.exp: If printf has debug info, deal with it.
20652
5a2468f5
JM
206531999-07-19 Stan Shebs <shebs@andros.cygnus.com>
20654
20655 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 20656 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 20657
adf40b2e
JM
20658Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20659
20660 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 20661 a1-selftest.exp.
adf40b2e
JM
20662 * gdb.base/configure: Re-generate.
20663
206641999-07-12 Stan Shebs <shebs@andros.cygnus.com>
20665
20666 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
20667 in trying to run first and name is too long.
20668
20669 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
20670 pointers2.c and pointers2.exp, respectively.
20671 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
20672 doschk happier.
20673
43e526b9
JM
206741999-07-08 Stan Shebs <shebs@andros.cygnus.com>
20675
20676 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
20677 callfuncs2.c and callfuncs2.exp.
20678
20679 * gdb.base/list.exp: Remove mistaken xfails.
20680 * gdb.base/list0.h: Add optional prototypes.
20681
9846de1b
JM
20682Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
20683
a9c64011 20684 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 20685 calling malloc.
a9c64011
AS
20686 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
20687 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 20688 use.
9846de1b
JM
20689
206901999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20691
20692 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
20693 * gdb.base/annota2.cc, annota2.exp: Move from here.
20694 * gdb.c++/annota2.cc, annota2.exp: To here.
20695 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
20696
43ff13b4
JM
20697Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
20698
20699 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 20700 a consistent format.
43ff13b4 20701
085dd6e6
JM
207021999-06-25 Stan Shebs <shebs@andros.cygnus.com>
20703
20704 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20705 * lib/gdb.exp (get_compiler_info): Add detection for assorted
20706 HP compilers, also set the globals $true and $false.
20707
20708 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
20709 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
20710 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
20711 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
20712 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
20713 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
20714 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
20715 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
20716 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
20717 whatis.c} Add C++ compatible function definitions and return
20718 types, add includes for library functions.
085dd6e6
JM
20719 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
20720 * gdb.base/step-test.c (myglob): Rename from glob.
20721 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
20722 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
20723 files, move here from gdb.hp.
085dd6e6 20724 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
20725 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
20726 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
20727 Adjust line numbers in regexps.
085dd6e6
JM
20728
20729 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
20730 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
20731 instead of 0/1.
20732
20733 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
20734 foll-vfork.exp: New files, move here from gdb.hp.
20735 * gdb.base/page.exp: New file, test of pagination command.
20736
20737 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
20738 recursion test.
20739 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
20740
20741 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 20742 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
20743
20744 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 20745 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 20746 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 20747 watchpoint test.
085dd6e6
JM
20748 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
20749 them work.
20750 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
20751 expressions properly.
20752 * gdb.base/corefile.exp: Loosen the match slightly.
20753 * gdb.base/default.exp: Allow "Error accessing memory" message
20754 also.
20755 * gdb.base/display.exp: Skip over x/0 j if PA64.
20756 * gdb.base/funcargs.exp: Add xfails for HP-UX.
20757 * gdb.base/interrupt.exp: Ditto.
20758 * gdb.base/langs.exp: Add symbolic matches governed by compiler
20759 in use.
20760 * gdb.base/list.exp: Add xfails for HP-UX.
20761 * gdb.base/long_long.exp: Refine some of the numeric matches.
20762 * gdb.base/mips_pro.exp: Xfail on HP-UX.
20763 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
20764 * gdb.base/nodebug.exp: Succeed on more varieties of output.
20765 * gdb.base/opaque.exp: Remove some HP-UX xfails.
20766 * gdb.base/ptype.exp: Succeed on more varieties of output.
20767 * gdb.base/scope.exp: Add xfails for HP-UX.
20768 * gdb.base/sect-cmd.exp: Add more cases.
20769 * gdb.base/setvar.exp: Add xfails for HP-UX.
20770 * gdb.base/shlib-call.exp: Loosen some matches slightly.
20771 * gdb.base/signals.exp: Match on void symbolically.
20772 * gdb.base/step-test.exp: Add case for PA64.
20773 * gdb.base/term.exp: Add exit and restart.
20774 * gdb.base/twice.exp: Clean up after self.
20775 * gdb.base/varargs.exp: Disable overload resolution explicitly.
20776 * gdb.base/whatis.exp: Allow more ways to pass tests.
20777
20778 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 20779 no longer useful.
085dd6e6
JM
20780
20781Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
20782
20783 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 20784 list of patterns.
085dd6e6 20785 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
20786 print_double_array(double_array)", "continuing to breakpoint
20787 1018", "print print_double_array(array_d)" and "continuing to
20788 1034" tests.
d63a86f8 20789
085dd6e6
JM
207901999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
20791
a9c64011 20792 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
20793
207941999-06-24 Stan Shebs <shebs@andros.cygnus.com>
20795
20796 * config/mt-*: Remove, these haven't been used since 1996.
20797
207981999-06-22 Stan Shebs <shebs@andros.cygnus.com>
20799
20800 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 20801 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
20802 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
20803
9e0b60a8
JM
208041999-06-18 Stan Shebs <shebs@andros.cygnus.com>
20805
20806 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
20807 simpler match case for the ptype of the big class.
20808
208091999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20810
20811 * gdb.exp: Fix test for gdb_prompt existence.
20812
208131999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20814
20815 * gdb.exp (gdb_test): Add fail after calls to perror.
20816
208171999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20818
20819 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
20820
208211999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20822
20823 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
20824
0f71a2f6
JM
20825Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
20826
20827 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 20828 malloc() is linked in.
0f71a2f6
JM
20829
208301999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20831
20832 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
20833 step at end.
20834
20835 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
20836
208371999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
20838
20839 * gdb.java/jv-print.exp: New file. (Our first Java test!)
20840
cce74817
JM
20841Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
20842
20843 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
20844 * gdb.base/mips_pro.exp: Likewise.
20845
208461999-06-02 Keith Seitz <keiths@cygnus.com>
20847
20848 * gdb.c++/templates.cc: Change all "new" operators to throw
20849 an exception.
20850 * gdb.c++/cplusfuncs.cc: Likewise.
20851
20852 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
20853
20854Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
20855
20856 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
20857 * gdb.base/ending-run.exp: When stepping out of main, accept a
20858 step into an arbitrary assembler file.
cce74817 20859
392a587b
JM
208601999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20861
d63a86f8 20862 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 20863 "breakpoint-invalid" to be printed.
d63a86f8 20864 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
20865 number of "frames-invalid" and "breakpoint-invalid" to be printed.
20866 * gdb.base/annota2.cc: Initialize a.x to 0.
20867
9e086581
JM
208681999-05-17 Keith Seitz <keiths@cygnus.com>
20869
20870 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
20871 when "skip_float_tests" set.
20872 Ditto for "print print_double_array(array_d)", "print print_small_structs",
20873 "print print_ten_doubles", and "step into print_long_arg_list".
20874 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
20875 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
20876 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
20877 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
20878 "skip_float_tests" is set.
20879 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
20880 when "skip_float_tests" set.
d63a86f8 20881
cd0fc7c3
SS
208821999-05-06 Keith Seitz <keiths@cygnus.com>
20883
20884 * gdb.base/annota2.cc: Include stdio.h.
20885
20886Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
20887
20888 * gdb.base/crossload.exp: Remove, this has been disabled ever
20889 since BFD stopped including all targets, and cross-GDB gets
20890 plenty of testing anyway.
20891 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
20892 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
20893 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
20894 * gdb.base/README: Remove, was doc for this.
20895 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 20896 needed.
cd0fc7c3 20897
b83266a0
SS
208981999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20899
20900 * gdb.base/call-ar-st.exp: Fix one regular expression in test
20901 output.
20902
20903 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
20904 * gdb.base/annota2.exp: New file. More annotation tests.
20905 * gdb.base/annota1.c: New file. Source file for annota1.exp.
20906 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
20907
209081999-04-23 Angela Marie Thomas <angela@cygnus.com>
20909
20910 * config/cfdbug.exp: New file.
20911
7a292a7a
SS
209121999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
20913
20914 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
20915 Marcus Daniel's and Dale Hawkins's demangler crashes.
20916
20917 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
20918 test_lucid_style_demangling, test_arm_style_demangling,
20919 test_hp_style_demangling): Try Tom Tromey's core-dumping
20920 identifier under each demangling style.
7a292a7a
SS
20921
209221999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
20923
20924 * gdb.c++/demangle.exp: Include the current demangling style
20925 in all test names.
20926 (current_demangling_style): New global variable.
20927 (set_demangling_style, test_demangling_core, test_demangling,
20928 test_demangling_exact): New functions.
20929 (test_gnu_style_demangling, test_lucid_style_demangling,
20930 test_arm_style_demangling, test_hp_style_demangling): Use those,
20931 instead of calling gdb_test and gdb_test_exact directly.
20932 (catch_demangling_errors): New function, which reports errors
20933 signalled by the demangling test functions in an orderly way.
20934 (do_tests): Use catch_demangling_errors.
20935
209361999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
20937
20938 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 20939 grouping in expressions, not {}.
7a292a7a
SS
20940
20941 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 20942 initialized yet.
7a292a7a
SS
20943
209441999-04-01 Stan Shebs <shebs@andros.cygnus.com>
20945
20946 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
20947 are listed.
20948
209491999-03-26 Stan Shebs <shebs@andros.cygnus.com>
20950
20951 * gdb.stabs/weird.exp: Test for CC being defined before
20952 looking at its value.
20953
209541999-03-25 Stan Shebs <shebs@andros.cygnus.com>
20955
20956 * gdb.base/call-ar-st.exp: Remove stray '#'.
20957 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
20958 "short int" and "long int".
20959 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 20960 change, to mollify finicky HP compiler.
7a292a7a
SS
20961 * gdb.hp/reg-test.exp (testfile): Fix file name.
20962 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 20963
7a292a7a
SS
20964 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
20965 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
20966 alternate form of enum ptype.
20967
c906108c
SS
209681999-03-23 Stan Shebs <shebs@andros.cygnus.com>
20969
7a292a7a
SS
20970 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
20971 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
20972 passing skip_hp_tests, so as not to waste time on guaranteed
20973 failure.
7a292a7a 20974
c906108c
SS
20975 * gdb.c++/overload.cc: Pass string instead of char addr, always
20976 init ccpfoo.
20977 * gdb.c++/templates.cc: Fix syntax error.
20978
7a292a7a
SS
20979Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20980
20981 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 20982 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
20983 command.
20984
209851999-03-18 James Ingham <jingham@cygnus.com>
20986
20987 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
20988
20989 * gdb.c++/method.exp: It was testing an uninitialized int on the
20990 stack and assuming it was positive.
20991
20992 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
20993
20994 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 20995 keep it from killing the rest of the tests.
7a292a7a
SS
20996 Use gdb_continue_to_end.
20997
20998 * gdb.base/sigall.exp: use gdb_continue_to_end.
20999
21000 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
21001
21002 * gdb.base/display.exp: use runto_main, not run.
21003
d63a86f8
RM
21004 * gdb.base/default.exp: Check for the current error message in the
21005 r abbreviation test.
7a292a7a
SS
21006 Add strongarm to the targets that know info float.
21007
d63a86f8 21008 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
21009 run which doesn't work with monitors.
21010
21011 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
21012
21013 * gdb.base/break.exp: use the gdb_continue_to_end proc.
21014
21015 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
21016 program. Traps the case (in Cygmon) when the program never really
21017 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
21018 more places, so I used my name. Sorry Mark...
21019
21020 * config/monitor.exp (gdb_target_monitor): added another
21021 target_info parameter: remotebinarydownload. This will set the
21022 remotebinarydownload flag if this is causing some boards trouble.
21023
210241999-03-18 Mark Salter <msalter@cygnus.com>
21025
21026 * lib/gdb.exp (continue_to_exit): New function.
21027
21028 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
21029 * gdb.base/ending-run.exp: Ditto.
21030 * gdb.base/step-test.exp: Ditto.
21031
210321999-03-16 Stan Shebs <shebs@andros.cygnus.com>
21033
21034 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
21035 (suggested by Art Haas <ahaas@neosoft.com>).
21036
210371999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
21038
889bf7c5 21039 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
21040
21041Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
21042
21043 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 21044 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
21045
210461999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
21047
21048 * gdb.base/call-strs.exp: Don't assume that `step' will step over
21049 a call to strlen; sometimes we do have sources.
21050
210511999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
21052
21053 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 21054 character, so GDB won't print garbage after its end.
d63a86f8 21055
c906108c
SS
21056 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
21057 breakpoint there instead. Sometimes GCC emits memcpy to handle
21058 the large structures being passed by value, so we step into that
21059 instead of sum_array_print, which obscures what we're really testing.
21060 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
21061 the bizarre steps into memcpy, so do that here. Add check for
21062 stepping into function calls that pass large structures by value.
21063 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
21064 Remove all references to specific line numbers.
21065 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
21066 New type and function.
21067 (main): Call large_struct_by_value, passing it a large struct by value.
21068 * lib/gdb.exp (gdb_get_line_number): New function.
21069
21070 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
21071 more portable.
21072
7a292a7a
SS
210731999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
21074
c906108c
SS
21075 * lib/gdb.exp: Doc fixes.
21076
7a292a7a
SS
210771999-03-05 Nick Clifton <nickc@cygnus.com>
21078
d63a86f8 21079 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
21080
210811999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
21082
c906108c 21083 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
21084 commands. They're not germane to this test, and they don't work
21085 that way on remote targets.
c906108c 21086
3fc11d3e
JM
210871999-03-01 James Ingham <jingham@cygnus.com>
21088
21089 * Changelog entries merged over from gdb development branch.
21090
3fc11d3e
JM
21091 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
21092
21093 * lib/gdb.exp (gdbtk_analyze_results): Generic function
21094 for outputting results of test run.
21095
2d4a1622 21096 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
21097
21098 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 21099
7a292a7a
SS
211001999-02-25 Felix Lee <flee@cygnus.com>
21101
21102 * lib/gdb.exp (debug_format): initialize
21103
c906108c
SS
211041999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
21105
21106 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
21107 * gdb.base/call-rt-st.c: Ditto.
21108
c906108c
SS
211091999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
21110
21111 * gdb.threads/pthreads.exp (horiz): New variable.
21112 (test_startup): Fix regexps that capture thread numbers.
21113
211141999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
21115
21116 * gdb.base/smoke.exp: Disambiguate two test case names (both
21117 called ``print'').
21118
21119Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21120
21121 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 21122 compilation.
c906108c
SS
21123
211241999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21125
21126 * gdb.base/miscexprs.exp: Change patterns to match GDB's
21127 actual output formatting.
21128 * gdb.base/smoke.exp: GDB removes leading 0's.
21129 * gdb.base/volatile.exp: Don't check type of remuneration;
21130 that variable is no longer defined in constvars.c.
21131 * gdb.base/step-test.c (main): Exit with explicit exit code.
21132 * gdb.base/step-test.exp: Remove two nexti checks--they are
21133 not portable.
21134
211351999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21136
21137 * gdb.base/help.exp ("help delete display"): Fix test to match
21138 gdb's output.
21139
21140 * gdb.base/long_long.c (known_types): Initialize values to zero.
21141 * gdb.base/long_long.exp: Step one more line
21142 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
21143 leading zeros. Explicitly ask for hex formatting. Use
21144 unique test case names.
c906108c
SS
21145
21146Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21147
d63a86f8 21148 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
21149
21150 * gdb.c++/method.exp: Add missing close brace.
21151
211521999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
21153
21154 * gdb.base/maint.exp: Use 'set height 0' to disable page
21155 prompting, not 'set height 400'.
21156
21157 Fix a bunch of timeouts.
21158 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
21159 four separate tests, so expect doesn't take forever to match a ton
21160 of text against a regexp with lots of .* forms.
21161 ("maint print psymbols", "maint print symbols"): Make some of
21162 these greps more selective, so that expect doesn't try to wade
21163 through huge piles of output and time out.
21164
21165 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
21166
21167 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
21168 tests: one which doesn't expect shlib events to be reported, and
21169 another which does, but is XFAIL for all platforms other than
21170 HP/UX.
c906108c
SS
21171
21172 * gdb.base/break.exp: Teach the test suite that the `catch
21173 fork', `catch vfork', and `catch exec' commands produce error
21174 messages on platforms that don't provide these features.
21175
21176Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21177
21178 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
21179 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
21180 (shortening names from solib_threshold.exp etc), won't run on
21181 anything but HP-UX for the foreseeable future.
c906108c 21182 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 21183 reflect move.
c906108c
SS
21184
21185Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
21186
21187 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 21188 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
21189
21190Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
21191
21192 * gdb.base/shlib-call.exp: add test cases to verify that gdb
21193 successfully re-sets breakpoints in shared libraries.
21194 * gdb.base/shmain.c (main): return 0, don't fall off the end.
21195
21196Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21197
d63a86f8
RM
21198 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
21199 and compiled w/o GCC.
c906108c
SS
21200
21201 * gdb.hp/watch-cmd.exp: ditto.
21202
21203 * gdb.hp/watch-hp.exp: ditto.
21204
21205 * gdb.hp/xdb1.exp: ditto.
21206
21207 * gdb.hp/xdb2.exp: ditto.
21208
21209 * gdb.hp/dbx.exp: ditto.
21210
21211Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
21212
21213 * constvars.c: Remove C++-isms.
21214 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 21215 with GCC.
c906108c
SS
21216
21217Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
21218
21219 The following changes are part of the HP merge.
21220
21221 * gdb.base/break.exp: new tests to verify that catchpoints for
21222 fork, vfork, and exec don't trigger inappropriately.
21223
21224 * gdb.base/opaque.exp: compile one file at a time, then link.
21225
21226 * gdb.base/signals.exp: be more restrictive about which hppa
21227 systems receive a setup_xfail. new tests.
21228
21229 * gdb.base/solib_threshold.build: new file.
21230 * gdb.base/solib_threshold.exp: new file.
21231 * gdb.base/solib_threshold.link_opts: new file.
21232 * gdb.base/solib_threshold.mk: new file.
21233 * gdb.base/gen_solib_threshold.c: new file.
21234
21235 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
21236 tests. New tests for enums inside classes.
21237
21238 * gdb.c++/compiler.cc: indicate support of template debugging.
21239
21240 * gdb.c++/demangle.exp: run hp style demangling tests.
21241
21242 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
21243 tests.
21244
21245 * gdb.c++/misc.cc: changes to support new tests.
21246
21247 * gdb.c++/templates.cc: changes to support HP's compiler; changes
21248 to support new tests.
21249
21250 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
21251 gcc, then skip these tests.
21252
21253Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
21254
21255 The following files are part of the HP merge; some had longer
21256 names at HP, but have been renamed to be no more than 14
21257 characters in length.
21258
21259 * gdb.hp/ambiguous.cc: new file.
21260 * gdb.hp/ambiguous.exp: new file.
21261 * gdb.hp/attach.exp: new file.
21262 * gdb.hp/attach2.exp: new file.
21263 * gdb.hp/classes-hp.exp: new file.
21264 * gdb.hp/ctti.exp: new file.
21265 * gdb.hp/ctti-add.cc: new file.
21266 * gdb.hp/ctti-add1.cc: new file.
21267 * gdb.hp/ctti-add2.cc: new file.
21268 * gdb.hp/ctti-add3.cc: new file.
21269 * gdb.hp/dbx.exp: new file.
21270 * gdb.hp/exception.cc: new file.
21271 * gdb.hp/exception.exp: new file.
21272 * gdb.hp/foll-exec.c: new file.
21273 * gdb.hp/foll-exec.exp: new file.
21274 * gdb.hp/foll-fork.c: new file.
21275 * gdb.hp/foll-fork.exp: new file.
21276 * gdb.hp/foll-vfork.c: new file.
21277 * gdb.hp/foll-vfork.exp: new file.
21278 * gdb.hp/inherit-hp.exp: new file.
21279 * gdb.hp/more-steps.exp: new file.
21280 * gdb.hp/namespace.cc: new file.
21281 * gdb.hp/namespace.exp: new file.
21282 * gdb.hp/optimize.exp: new file.
21283 * gdb.hp/pxdb.c: new file.
21284 * gdb.hp/pxdb.exp: new file.
21285 * gdb.hp/quicksort.exp: new file.
21286 * gdb.hp/reg-test.exp: new file.
21287 * gdb.hp/reg-test.s: new file.
21288 * gdb.hp/sized-enum.c: new file.
21289 * gdb.hp/sized-enum.exp: new file.
21290 * gdb.hp/start-stop.exp: new file.
21291 * gdb.hp/templ-hp.cc: new file.
21292 * gdb.hp/templ-hp.exp: new file.
21293 * gdb.hp/thr-lib.c: new file.
21294 * gdb.hp/thr-lib.exp: new file.
21295 * gdb.hp/thr-lib.h: new file.
21296 * gdb.hp/thr-liblib.c: new file.
21297 * gdb.hp/virtfun-hp.c: new file.
21298 * gdb.hp/virtfun-hp.exp: new file.
21299 * gdb.hp/watch-cmd.exp: new file.
21300 * gdb.hp/watch-hp.exp: new file.
21301 * gdb.hp/xdb1.exp: new file.
21302 * gdb.hp/xdb2.exp: new file.
21303 * gdb.hp/xdb3.exp: new file.
21304
21305Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
21306
21307 The following files are part of the HP merge; some had longer
21308 names at HP, but have been renamed to be no more than 14
21309 characters in length.
21310
21311 * gdb.base/ss.h: new file.
21312 * gdb.base/call-ar-st.c: new file.
21313 * gdb.base/call-ar-st.exp: new file.
21314 * gdb.base/call-rt-st.c: new file.
21315 * gdb.base/call-rt-st-exp: new file.
21316 * gdb.base/call-strs.exp: new file.
21317 * gdb.base/ena-dis-br.exp: new file.
21318 * gdb.base/environ.exp: new file.
21319 * gdb.base/long_long.exp: new file.
21320 * gdb.base/sect-cmd.exp: new file.
21321 * gdb.base/shlib-cl2.exp: new file.
21322 * gdb.base/smoke.exp: new file.
21323 * gdb.base/so-impl-ld.c: new file.
21324 * gdb.base/so-impl-ld.exp: new file.
21325 * gdb.base/so-indr-cl.c: new file.
21326 * gdb.base/so-indr-cl.exp: new file.
21327 * gdb.base/varargs.exp: new file.
21328 * gdb.base/volatile.exp: new file.
21329 * gdb.base/whatis-exp.exp: new file.
7a292a7a 21330 * gdb.base/display.exp: new file.
c906108c
SS
21331 * gdb.c++/derivation.exp: new file.
21332 * gdb.c++/local.exp: new file.
21333 * gdb.c++/member-ptr.exp: new file.
21334 * gdb.c++/overload.exp: new file.
21335 * gdb.c++/ovldbreak.exp: new file.
21336 * gdb.c++/ref-types.exp: new file.
21337 * gdb.c++/ref-types2.exp: new file.
21338 * gdb.c++/userdef.exp: new file.
d63a86f8 21339
c906108c
SS
21340Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
21341
21342 * gdb.base/default.exp: Reflect wording change in remote.c.
21343
dc96c6c7 21344Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21345
21346 * gdb.base/help.exp: Update to reflect current text.
21347
21348Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
21349
21350 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
21351 they're stack variables and contain garbage.
21352 * gdb.c++/anon-union.exp: new file.
21353
21354 The following changes were made by David Taylor
889bf7c5
PA
21355 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21356 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21357 in changes by HP.
c906108c
SS
21358
21359 * gdb.base/bitops.exp: new file.
21360 * gdb.base/default.exp: change expected messages for catch and
21361 info catch tests to reflect HP merge changes.
21362 * gdb.base/enable-disable-break.exp
21363 * gdb.base/ending-run.c: new file.
21364 * gdb.base/long_long.c: new file.
21365 * gdb.base/maint.exp: new file.
21366 * gdb.base/pointers2.exp: new file.
21367 * gdb.base/shlib-call2.exp: new file.
21368 * gdb.base/solib.exp: new file.
21369 * gdb.base/step-test.c: new file.
21370 * gdb.c++/anon-union.cc: new file.
21371 * gdb.c++/local.cc: new file.
21372 * gdb.c++/member-pointer.cc: new file.
21373 * gdb.c++/method.cc: new file.
21374 * gdb.c++/ref-types.cc: new file.
21375 * gdb.c++/ref-types2.cc: new file.
21376 * gdb.c++/userdef.cc: new file.
d63a86f8 21377
c906108c
SS
21378 * gdb.base/scope.exp: compile one file at a time, then link.
21379 * gdb.base/langs.exp: ditto.
21380 * gdb.base/list.exp: ditto.
d63a86f8 21381
c906108c
SS
21382Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
21383
21384 The following changes were made by David Taylor
889bf7c5
PA
21385 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21386 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21387 in changes by HP.
d63a86f8 21388
c906108c
SS
21389 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
21390 skip tests. When compiling pass c++ flag to gdb_compile.
21391 * gdb.c++/
d63a86f8 21392
c906108c
SS
21393 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
21394 test for on hppa*-*-hpux*; use args to see if c++ was specified.
21395 (skip_hp_tests): new function.
21396 (gdb_preprocess): new function.
21397
21398 * configure.in (hpdir): decide whether to configure gdb.hp.
21399 * configure: regenerated.
21400
21401 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
21402 to delete on clean.
21403 (EXECUTABLES): update to reflect new additions.
21404 * gdb.base/commands.exp: update message expected.
21405 * gdb.base/default.exp: add copyright notice.
21406 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
21407 * gdb.base/help.exp: update messages to reflect current text.
21408 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
21409 targets for recurse tests.
21410 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
21411 skip this file.
21412
21413 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
21414 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
21415 compilation.
21416 * gdb.c++/misc.exp: ditto.
21417 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
21418 run the tests. tell gdb_compile that it's a c++ compilation.
21419
21420 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 21421
c906108c
SS
21422 * gdb.base/all-bin.exp: new file.
21423 * gdb.base/arithmet.exp: new file.
21424 * gdb.base/assign.exp: new file.
21425 * gdb.base/completion.exp: new file.
21426 * gdb.base/cond-expr.exp: new file.
21427 * gdb.base/condbreak.exp: new file.
21428 * gdb.base/define.exp: new file.
21429 * gdb.base/dollar.exp: new file.
21430 * gdb.base/environment.exp: new file.
21431 * gdb.base/eval-skip.exp: new file.
21432 * gdb.base/jump.exp: new file.
21433 * gdb.base/logical.exp: new file.
21434 * gdb.base/pointers.exp: new file.
21435 * gdb.base/relational.exp: new file.
21436 * gdb.base/section_command.exp: new file.
21437 * gdb.base/whatis-expr.exp: new file.
21438
21439 * gdb.base/all-types.c: new file.
21440 * gdb.base/call-array-struct.c: new file.
21441 * gdb.base/call-return-struct.c: new file.
21442 * gdb.base/call-strings.c: new file.
21443 * gdb.base/callfuncs2.c: new file.
21444 * gdb.base/condbreak.c: new file.
21445 * gdb.base/constvars.c: new file.
21446 * gdb.base/display.c: new file.
21447 * gdb.base/int-type.c: new file.
21448 * gdb.base/jump.c: new file.
21449 * gdb.base/miscexprs.c: new file.
21450 * gdb.base/pointers.c: new file.
21451 * gdb.base/pointers2.c: new file.
21452 * gdb.base/shmain.c: new file.
21453 * gdb.base/shr1.c: new file.
21454 * gdb.base/shr2.c: new file.
21455 * gdb.base/solib.c: new file.
21456 * gdb.base/solib1.c: new file.
21457 * gdb.base/solib2.c: new file.
21458 * gdb.base/varargs.c: new file.
21459 * gdb.c++/derivation.cc: new file.
21460 * gdb.c++/overload.cc: new file.
21461 * gdb.c++/ovldbreak.cc: new file.
21462 * gdb.hp/attach.c: new file.
21463 * gdb.hp/attach2.c: new file.
21464 * gdb.hp/average.c: new file.
21465 * gdb.hp/compiler.c: new file.
21466 * gdb.hp/compiler.cc: new file.
21467 * gdb.hp/execd-program.c: new file.
21468 * gdb.hp/follow-exec.c: new file.
21469 * gdb.hp/follow-fork.c: new file.
21470 * gdb.hp/follow-vfork-and-exec.c: new file.
21471 * gdb.hp/misc-hp.cc: new file.
21472 * gdb.hp/more-steps.c: new file.
21473 * gdb.hp/optimize.c: new file.
21474 * gdb.hp/quicksort.c: new file.
21475 * gdb.hp/run-hp.c: new file.
21476 * gdb.hp/start-stop.c: new file.
21477 * gdb.hp/sum.c: new file.
21478 * gdb.hp/templates-hp.cc: new file.
21479 * gdb.hp/thread-local-in-lib.c: new file.
21480 * gdb.hp/thread-local-in-lib.h: new file.
21481 * gdb.hp/thread-local-in-lib.lib.c: new file.
21482 * gdb.hp/vforked-program.c: new file.
21483 * gdb.hp/virtfunc-hp.cc: new file.
21484 * gdb.hp/watchpoint-hp.c: new file.
21485 * gdb.hp/xdb.c: new file.
21486 * gdb.hp/xdb0.c: new file.
21487 * gdb.hp/xdb0.h: new file.
21488 * gdb.hp/xdb1.c: new file.
21489
21490Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
21491
21492 The following change was made by Edith Epstein
889bf7c5
PA
21493 <eepstein@cygnus.com> as part of a project to merge in changes
21494 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
21495
21496 * gdb.c++/demangle.exp: changed the expected output for some
21497 ARM-style mangling -- removed second reference to datatype.
889bf7c5 21498 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 21499 T1<char>::~T1<char>(void)
c906108c 21500 becomes,
a9c64011
AS
21501 maint demangle __dt__11T1__pt__2_cFv
21502 T1<char>::~T1(void)
c906108c 21503
889bf7c5 21504 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 21505
c906108c
SS
21506Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
21507
21508 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
21509 * gdb.trace/backtrace.exp: Likewise.
21510 * gdb.trace/circ.exp: Likewise.
21511 * gdb.trace/collection.exp: Likewise.
21512 * gdb.trace/deltrace.exp: Likewise.
21513 * gdb.trace/infotrace.exp: Likewise.
21514 * gdb.trace/limits.exp: Likewise.
21515 * gdb.trace/packetlen.exp: Likewise.
21516 * gdb.trace/passc-dyn.exp: Likewise.
21517 * gdb.trace/passcount.exp: Likewise.
21518 * gdb.trace/report.exp: Likewise.
21519 * gdb.trace/save-trace.exp: Likewise.
21520 * gdb.trace/tfind.exp: Likewise.
21521 * gdb.trace/tracecmd.exp: Likewise.
21522 * gdb.trace/while-dyn.exp: Likewise.
21523 * gdb.trace/while-stepping.exp: Likewise.
21524
215251998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
21526
21527 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
21528
21529Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
21530
21531 From Brendan Kehoe:
21532 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
21533 int return types.
21534
21535Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
21536
21537 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 21538 remote dos host testing right.
c906108c
SS
21539
21540Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
21541
21542 * gdb.base/corefile.exp: remove some xfails.
21543
21544Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
21545
21546 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 21547 have different timestamps.
c906108c
SS
21548
21549Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
21550
21551 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 21552 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
21553
21554Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
21555
21556 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 21557 delta.
c906108c
SS
21558
21559Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
21560
21561 * gdb.base/default.exp: Add brace missing from previous delta.
21562
21563Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
21564
21565 * gdb.base/default.exp: Support test for info float for all
21566 varieties of arm toolchain.
21567
dc96c6c7 21568Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21569
21570 * gdb.trace/*.exp: remove "remote_download" command.
21571
dc96c6c7 21572Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21573
21574 * gdb.trace/*.exp: remove -gdwarf from compile.
21575
21576Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
21577
21578 * gdb.trace/configure.in(AC_INIT): typo
21579 * gdb.trace/configure: regenerated
21580
dc96c6c7 21581Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21582
21583 * config/m68k-emc.exp: New file.
21584 * lib/<emc-support.exp trace-support.exp}: New files.
21585 * configure.in: add new test directory gdb.trace.
21586 * gdb.trace/{configure configure.in Makefile.in}: New files.
21587 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
21588 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
21589 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
21590 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
21591 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
21592 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
21593 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 21594
dc96c6c7 21595Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21596
21597 * gdb.c++/classes.exp: Change all regular expressions to match
21598 arbitrary combinations of newline/carriage-return, so that they
21599 will work equally well on Unix and Windows.
21600 * gdb.c++/inherit.exp: ditto.
21601 * gdb.c++/virtfunc.exp: ditto.
21602
216031998-08-11 Dawn Perchik <dawn@cygnus.com>
21604
21605 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
21606
c2d11a7d
JM
21607Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
21608
21609 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
21610 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
21611 to use a0-a3/d0-d3 as needed.
21612
21613Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
21614
21615 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
21616 * gdb.disasm/am33.exp: Corresponding changes.
21617
c906108c
SS
216181998-07-11 Felix Lee <flee@cygnus.com>
21619
21620 * gdb.base/callfuncs.exp: add cmp10 test.
21621 * gdb.base/callfuncs.c (cmp10): new function.
21622
21623Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
21624
d63a86f8 21625 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
21626 into two parts to get around a synchronization problem in expect.
21627
3fc11d3e
JM
21628Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
21629
21630 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
21631
21632 * configure.in: Add options for gdbtk testsuite.
21633
21634 * configure: Regenerate.
21635
21636 * gdb.gdbtk: New directory to hold gdbtk tests.
21637
c906108c
SS
21638Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21639
21640 * gdb.fortran/types.exp: Escape brackets in expect patterns
21641 for test_float_literal_types_accepted tests.
21642 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
21643 before run test.
21644
c2d11a7d
JM
21645Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
21646
21647 * am33.exp: Just compile, do not link the testcase.
21648 * am33.s: Add ".am33" pseudoop to force am33 mode.
21649
c906108c
SS
216501998-06-25 Felix Lee <flee@cygnus.com>
21651
21652 * gdb.base/setshow.exp: make sure $pc is sane.
21653
21654 * gdb.stabs/weird.exp: split expect patterns properly.
21655
c2d11a7d
JM
21656Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
21657
21658 * gdb.disasm/am33.s: New disassembler testfile for the am33.
21659 * gdb.disasm/am33.exp: Run it.
21660
dc96c6c7 21661Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21662
21663 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
21664 match processing (and eliminate spurious timeouts when running).
21665
dc96c6c7 21666Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21667
21668 * gdb.base/signals.exp (test_handle_all_print): put back Mach
21669 exception test, but conditionalize it on target [mach | gnu].
21670
dc96c6c7 21671Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21672
21673 * gdb.base/overlays.exp: fixup compile line for linker script.
21674
21675Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
21676
21677 * gdb.fortran/types.exp: don't guess at float size.
21678
21679Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
21680
21681 * gdb.base/exprs.exp: delete test that depends on int size.
21682
21683Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
21684
21685 * config/sim.exp: Removed checks for target triplets.
21686 (gdb_target_sim): Use gdb,target_sim_options.
21687
21688Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
21689
21690 * gdb.base/reread.exp: New file.
21691 * gdb.base/reread1.c: New file.
21692 * gdb.base/reread2.c: New file.
21693
21694Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
21695
21696 * config/sim.exp: Use 'target sim -sparclite' when running
21697 SPARClite programs.
21698
21699Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
21700
21701 * gdb.base/structs2.exp: New file.
21702 * gdb.base/structs2.c: New file.
21703
21704Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
21705
21706 * gdb.asm/common.inc: New file.
21707 * gdb.asm/d10v.inc: New file.
21708 * asm-source.exp: Pass -I's to gas to find .inc files.
21709 Update line numbers in expected output.
21710 * asmsrc1.s: Rewrite.
21711 * asmsrc2.s: Rewrite.
21712 * configure.in: Create arch.inc symlink.
21713 * configure: Regenerate.
21714 * Makefile.in (distclean): Delete arch.inc.
21715
21716Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
21717
21718 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
21719 (t_enum_value2): ditto
21720 (t_enum_value3): ditto
21721 (main): ditto
c906108c
SS
21722Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21723
21724 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
21725 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
21726 change.
21727 Use gdb_test instead of send_gdb/gdb_expect sequences.
21728
21729Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
21730
21731 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
21732 not void.
21733
21734Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
21735
21736 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
21737 subroutines. Used to test gdbs ability to single step through PC
21738 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
21739
21740Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
21741
21742 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
21743 more rigorous EGCS C++ error checking.
21744
21745Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21746
a9c64011
AS
21747 * gdb.base/help.exp: Clean up `help set args' and `help show args'
21748 tests.
21749 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
21750 function when asleep.
21751 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
21752 for i*86 Linux and SVR4 signal handling problems.
21753 Remove linux xfail for `next to handler in signals_tests_1', fixed
21754 by recent infrun.c change.
21755 Limit backtrace to 10 frames to avoid timeout problems with infinite
21756 stack backtraces.
21757 Adjust expect pattern in `handle all print' test to match Apr 28 1997
21758 target.[ch] change.
c906108c
SS
21759
21760Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
21761
21762 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
21763 for a newline from gdb before continuing.
21764 (default_gdb_exit): Just look for y or n.
21765 (gdb_test): Detect abnormal exit from GDB running on DOS; if
21766 it does, fail the rests of the tests in the file.
21767
21768Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
21769
21770 * config/cygmon.exp: New file.
21771
21772Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
21773
21774 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 21775 main" test on remote targets.
c906108c
SS
21776
21777 * gdb.base/scope.exp: Fix problem with filelocal_bss before
21778 run test on remote targets.
21779
21780Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
21781
21782 * gdb.asm: New directory.
21783 * configure.in: Configure it.
21784 * configure: Regenerate.
21785 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
21786 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
21787
21788Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
21789
21790 * config/mn10300-eval.exp: New file to support MN10300 eval board.
21791
dc96c6c7 21792Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 21793
a9c64011
AS
21794 * gdb.base/overlays (several files): Merge the two overlay
21795 managers into one. Change variables (foox, barx, bazx, grbxx)
21796 back into ints but force them to load in their proper sections.
c906108c
SS
21797
21798Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
21799
21800 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 21801 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
21802 (D10VCopy): Handle memory regions crossing 16k boundaries.
21803 (D10VCopy): Transfer data in 32 bit chunks.
21804
21805Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
21806
21807 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 21808 correct.
c906108c
SS
21809
21810 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 21811 map. Include space for printf in .text segment.
c906108c
SS
21812
21813 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 21814 updated d10v memory VMA/LMA map.
c906108c 21815 (D10VCopy): Call D10VTranslate.
d63a86f8 21816
c906108c
SS
21817Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
21818
21819 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
21820
21821 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
21822 that it won't be put into the .sdata - small data -
21823 section. Update reference.
c906108c
SS
21824 * gdb.base/baz.c (bazx, baz): Ditto.
21825 * gdb.base/foo.c (foox, foo): Ditto.
21826 * gdb.base/grbx.c (grbxx, grbx): Ditto.
21827
21828 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 21829 to be arrays.
d63a86f8 21830
dc96c6c7 21831Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 21832
a9c64011
AS
21833 * gdb.base/overlays.exp: fix up and get working again.
21834 Add tests for backtraces from an overlay function.
d63a86f8 21835
c906108c
SS
21836Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
21837
21838 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
21839 "calling function with watchpoint enabled".
21840
21841Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
21842
21843 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 21844 gdb_suppress_tests for d10v-*-*.
c906108c
SS
21845 * lib/gdb.exp (gdb_suppress_tests): Disable this function
21846 pending review of whether it is useful or not.
21847
21848Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
21849
21850 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
21851
21852Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
21853
21854 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
21855 * config/dve.exp: New file to support Densan boards.
21856
21857Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
21858
21859 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 21860 reads and BSD.
c906108c
SS
21861
21862Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
21863
21864 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
21865 response.
21866
21867 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
21868
21869Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
21870
21871 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 21872 test.
c906108c
SS
21873
21874 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 21875 target_sizeof_long and target_bigendian_p.
c906108c 21876 (structs_by_value, structs_by_reference): Check values according
889bf7c5 21877 to targets word size and endianess.
d63a86f8 21878
c906108c
SS
21879Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
21880
21881 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 21882 output.
c906108c
SS
21883
21884Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
21885
21886 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 21887 Update test of set args help to match source change.
c906108c
SS
21888
21889Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
21890
21891 * gdb.base/default.exp: Expect help system output to be in
21892 alphabetical order.
21893 * gdb.base/help.exp: Ditto.
21894
21895Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
21896
21897 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
21898 "i*86-pc-linux-gnu*".
21899 * gdb.base/interrupt.exp: Ditto.
21900 * gdb.base/corefile.exp: Ditto.
21901
21902 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 21903 define vxworks when building the testcase.
c906108c
SS
21904
21905 * gdb.base/ptype.exp: Fix testnames to be unique.
21906 * gdb.base/radix.exp: Ditto.
21907 * gdb.base/term.exp: Ditto.
21908 * gdb.base/whatis.exp: Ditto.
21909 * gdb.c++/classes.exp: Ditto.
21910
21911Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
21912
21913 * gdb.base/callfuncs.exp: Fix indentation.
21914
21915 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
21916 suppress_flag has been set.
21917 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
21918 target feature.
21919
21920Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
21921
21922 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
21923 the testcase.
21924
21925 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 21926 set_debug_traps() and breakpoint().
c906108c
SS
21927 * gdb.c++/misc.cc (main): Ditto.
21928 * gdb.c++/templates.cc (main): Ditto.
21929 * gdb.c++/virtfunc.cc (main): Ditto.
21930
21931Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
21932
21933 * lib/gdb.exp(gdb_step_for_stub): New function.
21934 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
21935 exists, reload the executable and do a "continue" instead of
21936 doing a jump.
21937 (runto_main): Use gdb_step_for_stub.
d63a86f8 21938
c906108c 21939 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 21940 tests to have unique names.
c906108c
SS
21941 * gdb.base/callfuncs.exp: Ditto.
21942 * gdb.base/commands.exp: Ditto.
21943 * gdb.base/default.exp: Ditto.
21944 * gdb.base/help.exp: Ditto.
21945 * gdb.base/list.exp: Ditto.
21946 * gdb.base/opaque.exp: Ditto.
21947 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
21948 similar tests.
d63a86f8 21949
c906108c
SS
21950 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
21951 * gdb.c++/cplusfuncs.cc: Ditto.
21952 * gdb.c++/virtfunc.cc: Ditto.
21953
21954 * config/monitor.exp: Keep track of the last file we saw, rather
21955 than trying to get the info from gdb.
21956
21957 * gdb.fortran/types.exp: Move comment to previous line.
21958
21959Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
21960
21961 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 21962 target mode.
c906108c
SS
21963
21964Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
21965
21966 From Bob Manson:
21967 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 21968 string from GDB when it connects.
c906108c
SS
21969
21970 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
21971
21972Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
21973
21974 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
21975 if we can't get a debug format from GDB (we may be testing an
21976 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
21977
21978 * gdb.stabs/weird.exp: Fix quoting.
21979
21980 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
21981
21982Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
21983
21984 * config/arm-ice.exp: New file.
21985
21986Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
21987
21988 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 21989 until it has been modified to work with the new testsuite.
c906108c 21990
99707966 21991 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
21992 testcase won't compile, cause all of the testcases in the file to
21993 fail instead.
c906108c
SS
21994
21995 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
21996 (gdb_clear_suppressed): New procedure.
21997 (gdb_stop_suppressing_tests): Only clear suppress_flag if
21998 it contains a positive value.
21999
22000Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
22001
22002 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
22003
22004 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
22005
22006Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
22007
22008 * lib/gdb.exp (setup_xfail_format): New function.
22009 (get_debug_format): New function to get debug format.
22010 (debug_format): New global variable to hold last value set
22011 by get_debug_format.
22012 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 22013 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
22014 * gdb.c++/ptype.exp: Ditto.
22015 * gdb.c++/classes.exp: Ditto.
22016 * gdb.c++/cplusfuncs.exp: Ditto.
22017 * gdb.c++/inherit.exp: Ditto.
22018 * gdb.c++/templates.exp: Ditto.
22019 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 22020
c906108c
SS
22021Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
22022
22023 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
22024 host doesn't have a currently-open connection.
22025
22026 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
22027 any gdb stub target. Handle cases where gdb doesn't respond when
22028 interrupted in a sane fashion.
c906108c
SS
22029
22030 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 22031 same thing in a totally different way.
c906108c
SS
22032
22033 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 22034 setting "timeout".
c906108c 22035 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 22036 default_gdb_init now.
c906108c
SS
22037
22038Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
22039
22040 * gdb.base/printcmds.exp: Fix "check for floating addition"
22041 regexp to accept results within approx +/- .01 of exact value.
22042 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
22043
22044Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
22045
22046 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 22047 properly.
c906108c
SS
22048 (gdb_expect): Add optional timeout parameter, and add timeout
22049 value to various calls.
22050 (gdb_suppress_tests): Only give one warning message per group.
22051
22052Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
22053
22054 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
22055 global variables. Handle getting a value for $timeout more
22056 gracefully.
c906108c
SS
22057
22058Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22059
22060 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 22061 initialize.
c906108c 22062 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 22063 by a target configuration file.
c906108c
SS
22064 (gdb_expect): Pass the timeout to remote_expect.
22065
22066 * config/monitor.exp(gdb_load): Fix typo in regexp.
22067
22068Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
22069
22070 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
22071
22072Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
22073
22074 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
22075 here. Call gdb_target_exec before rebooting the target, to make
22076 sure the connection to the target is closed.
c906108c
SS
22077 (gdb_load): Pass the name of the executable to gdb_target_monitor.
22078 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
22079 Also detect "Timeout reading from remote" error.
22080
22081 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
22082 gdb_target_monitor. Don't call gdb_file_cmd here; let
22083 gdb_target_monitor do it.
c906108c
SS
22084
22085 * gdb.disasm/hppa.exp: Don't use exec_output.
22086
22087Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
22088
22089 * gdb.base/list.exp: If we're debugging a non-native target,
22090 try to set the pc register to point to the start of the
22091 program before doing the first list command.
22092
22093 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 22094 test_calls after restarting.
c906108c
SS
22095
22096 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 22097 reloading.
c906108c
SS
22098
22099 * gdb.base/watchpoint.exp: Fix typo.
22100
22101 * gdb.base/setshow.exp: Check for use_gdb_stub.
22102
22103 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 22104 stub case.
c906108c
SS
22105 * gdb.base/langs.exp: Ditto.
22106
22107 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
22108 gdb_load_offset. If we weren't given a file to load, figure out
22109 what the current file is and use it.
c906108c
SS
22110
22111 * config/i386-bozo.exp: New file.
22112
22113Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
22114
22115 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
22116 feature.
22117
22118 * config/proelf.exp: New entry.
22119
22120Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
22121
22122 * lib/gdb.exp: Remove spurious .* patterns at the beginning
22123 of regexps.
22124
22125 * gdb.base/watchpoint.exp: Don't run the test_stepping
22126 tests if gdb can't call functions on the target.
22127
22128 * gdb.base/setshow.exp: Don't run the set prompt tests if
22129 the board has gdb_prompt set.
22130
22131Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
22132
22133 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
22134 * gdb.base/commands.exp: Likewise.
22135 * gdb.base/setshow.exp: Likewise.
22136
22137Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
22138
22139 * config/monitor.exp(gdb_start): Look for gdb_prompt target
22140 feature.
22141
22142 * config/i960.exp: New file.
22143
22144Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
22145
22146 * gdb.base/funcargs.exp: Check for gdb,short_int target
22147 feature instead of looking for explicit target triplets.
22148
dc96c6c7 22149Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 22150
d63a86f8 22151 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
22152 "p 123DEADBEEF", to check parse_number.
22153 * top.c: change "to enable to enable" to "to enable" in a couple
22154 of help strings.
22155
22156Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
22157
22158 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
22159 on the mn10300.
d63a86f8 22160
c906108c
SS
22161Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
22162
22163 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
22164 where the test executable is run with explicit args.
22165 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
22166
22167Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
22168
22169 * gdb.base/run.c: Use FAKEARGV to build test executable that
22170 does not require a command line arg, since most simulators
22171 don't currently support passing such an arg into the simulated
22172 program.
22173 * gdb.base/commands.exp: Change tests to insert the proper
22174 value as the arg to the first recursive factorial call. Change
22175 compilation line to define FAKEARGV at compile time.
22176
22177Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
22178
22179 * gdb.base/recurse.exp: Enable these tests for the mn10300.
22180 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
22181 function with watchpoint enabled" test.
22182
22183Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
22184
22185 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 22186 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
22187
22188 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 22189 "Tests restarted" messages.
c906108c
SS
22190
22191Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
22192
22193 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
22194
dc96c6c7 22195Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22196
22197 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
22198 for INFO SYMBOL; add help tests for OVERLAY commands.
22199 * gdb.base/default.exp: add tests for INFO SYMBOL command;
22200 add tests for OVERLAY commands
22201 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
22202 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
22203 * gdb.base/sigall.c: add usestubs code frag
22204 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 22205
c906108c
SS
22206Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
22207
22208 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
22209 failures.
22210 (gdb_stop_suppressing_tests): Note that tests have restarted.
22211
22212Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
22213
22214 * config/h8300.exp: New file.
22215
22216Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
22217
22218 * gdb.base/setshow.exp: Check for the existence of a
22219 feature, not its value.
22220
22221Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
22222
22223 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
22224
22225 * gdb.base/scope.exp: It's now init0(), not init().
22226
22227 * gdb.base/scope0.c: For now, change init() to be init0().
22228
22229 * config/monitor.exp: Use gdb_serial in preference to serial
22230 or netport.
22231
22232 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 22233 and it's not already set.
c906108c
SS
22234
22235Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
22236
22237 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 22238 isn't using a stub and if it supports argument passing.
c906108c
SS
22239
22240Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
22241
22242 * config/udi.exp(gdb_start): Make sure UDICONF is set
22243 properly before starting gdb.
22244
22245Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
22246
22247 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
22248 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
22249 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
22250
22251Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
22252
22253 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 22254 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
22255
22256 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
22257
22258 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
22259
22260 * config/monitor.exp: Make sure we disconnect from the target.
22261 Also, try a reboot/reload cycle instead of failing if the
22262 load fails.
22263
22264Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
22265
22266 * gdb.base/default.exp: Don't set match_max.
22267 * gdb.base/help.exp: Ditto.
22268 * gdb.base/list.exp: Ditto.
22269 * gdb.base/signals.exp: Ditto.
22270
22271 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
22272 set, use remote_ld to download the testcase instead of
22273 the GDB loader.
22274
22275Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
22276
22277 * config/vr5000.exp: New file.
22278
22279 * config/monitor.exp(gdb_target_monitor): Add pattern for
22280 "Ending remote" to detect errors in connecting.
22281
22282 * gdb.base/setshow.exp: Add .* within auto language test.
22283
22284 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
22285 target feature.
22286
22287 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 22288 and reboot the board if necessary.
c906108c
SS
22289
22290 * gdb.base/setvar.exp(test_set): Handle multiple prints within
22291 a set of tests. Remove print.* from the patterns being checked.
22292
22293Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
22294
22295 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
22296 refer to gdb_spawn_id.
22297
22298 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
22299 longer used.
22300 * config/sparclet.exp: Ditto.
22301 * config/sparclet-old.exp: Ditto.
22302 * config/slite.exp: Ditto.
22303 * config/sim.exp: Ditto.
22304 * gdb.base/funcargs.exp: Ditto.
22305
22306 * lib/gdb.exp:Remove references to gdb_spawn_id.
22307 (gdb_expect): Move to remote.exp.
22308
22309Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
22310
22311 * config/monitor.exp: Detect the "Couldn't establish connection"
22312 message from GDB.
22313
22314Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
22315
22316 * gdb.base/bitfields.exp: Use runto instead of explicit
22317 gdb_run_cmd/gdb_expect sequences.
22318
22319 * gdb.base/break.exp(text_next_with_recursion): Add match for
22320 gdb_expect call.
22321
22322 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
22323 We also need to handle the "A program is being debugged already"
22324 prompt from gdb. Use gdb_test to set the baud rate.
22325
22326 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
22327 to 20000. Really. I mean it.
22328
22329Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22330
22331 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
22332 fails. If suppress_flag is set, skip perror message about not
22333 being able to send to GDB.
c906108c 22334 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 22335 GDB.
c906108c
SS
22336 (gdb_expect): If suppress_flag is set, always fail immediately.
22337 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
22338 (gdb_init): Call gdb_stop_suppressing_tests.
22339 (default_gdb_exit): Ditto.
22340 (default_gdb_start): Ditto.
22341
22342 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 22343 gdb_stop_suppressing_tests as appropriate.
c906108c 22344 * gdb.base/break.exp: Ditto.
889bf7c5 22345 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
22346 * gdb.base/commands.exp: Ditto.
22347 * gdb.base/exprs.exp: Ditto.
889bf7c5 22348 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
22349 * gdb.base/list.exp: Ditto.
22350 * gdb.base/recurse.exp: Ditto.
889bf7c5 22351 * gdb.base/scope.exp: Ditto.
c906108c
SS
22352 * gdb.base/structs.exp: Ditto.
22353 * gdb.c++/inherit.exp: Ditto.
22354
22355Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
22356
22357 * config/vr4300.exp: New file.
22358
99707966 22359 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 22360
99707966 22361 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
22362
22363Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
22364
22365 * lib/gdb.exp(gdb_init): New function.
22366
22367 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 22368 for each individual variable set.
c906108c
SS
22369
22370 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
22371 name.
22372
22373 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
22374
22375 * gdb.base/scope.exp: Use gdb_test.
22376
22377 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
22378 aborting; the testsuite driver will do that for us (see
22379 gdb_finish). Also, use gdb_test in a few more places.
22380
22381Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
22382
22383 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
22384
22385Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
22386
22387 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
22388 and "add_tests" are not at the same address.
22389
22390Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
22391
22392 * gdb.base/ptype.exp: Use gdb_test.
22393
22394Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
22395
22396 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
22397 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
22398 left in. No longer expect them to fail.
22399
22400 * gdb.stabs/*.mt; Deleted, no longer used.
22401 * gdb.stabs/configure.in: Remove references to target makefile
22402 frags.
22403 * gdb.stabs/configure: Rebuilt.
22404
22405 * gdb.disasm/*.mt: Deleted, no longer used.
22406 * gdb.disasm/configure.in: Remove references to target makefile
22407 frags. Use "sh3.s" as the unique filename for this directory.
22408 * gdb.disasm/configure: Rebuilt.
22409
22410 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
22411 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
22412 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
22413
22414Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
22415
22416 * config/udi.exp: Use mondfe,name instead of remote_host.
22417
22418Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
22419
22420 * gdb.base/watchpoint.exp: Don't expect a failure when calling
22421 a function with a watchpoint enabled on the mn10200.
22422
22423 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
22424 before trying to create it!
22425
22426Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
22427
22428 * config/vx.exp: Use hostname instead of netport.
22429
22430 * config/vxworks.exp: New file.
22431
22432 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
22433
22434 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 22435 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
22436 occurs.
22437
22438 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
22439 $gdb_spawn_id directly.
22440 (gdb_run_cmd): Try _start as well as start. Use the target feature
22441 gdb,start_symbol as the symbol to start from when jumping.
22442
22443Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
22444
22445 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
22446 redundant) test.
22447
22448 * gdb.base/recurse.exp: Relax final value test for 'b' so that
22449 it doesn't lose for 16bit integer systems.
22450
22451Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
22452
22453 * gdb.fortran/types.exp: If the target doesn't support "double"
22454 data types, then expect "real" types to only be 4 bytes.
22455
22456 * gdb.c++/virtfunc.exp: Expect failure for virtual function
22457 call tests if the target doesn't support inferior function calls.
22458
22459 * gdb.base/printcmds.exp: Allow minor deviation in FP values
22460 in printf tests.
22461
22462Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
22463
22464 * gdb.base/help.exp: Disable "help set", "help show", and
22465 "help support". Simplify regexp for "help stack".
22466
22467 * gdb.base/default.exp: Set match_max to 5000 and the timeout
22468 to 60 seconds. Temporarily set match_max to 15000 around the
22469 "info copying" test.
22470
22471 * gdb.base/nodebug.exp: Don't try to do an inferior function
22472 call if the target doesn't support them.
22473 * gdb.base/printcmds.exp: Likewise.
22474 * gdb.base/setvar.exp: Likewise.
22475 * gdb.base/structs.exp: Likewise.
22476 * gdb.c++/templates.exp: Likewise.
22477 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
22478
22479 * gdb.base/recurse.exp: Enable for the mn10200.
22480
22481 * configure.in: Do configure gdb.stabs directory for *-*-elf
22482 targets.
22483 * configure: Rebuilt.
22484
22485 * gdb.base/break.exp: Check for gdb,noresults before testing
22486 exit status and/or results from the target.
22487 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
22488 * lib/gdb.exp: Remove old (now bogus) initialization of
22489 noinferior, noargs, noresults and nosignals.
22490
22491Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
22492
22493 * config/sh.exp: New file.
22494
22495 * config/slite.exp: Try to connect multiple times to the board
22496 before rebooting. Only send a "monitor run" if need_monitor_run
22497 is set.
22498
22499 * gdb.base/break.exp: Don't do the "stub continue" test if
22500 the target has gdb_stub set.
22501
22502 * gdb.base/callfuncs.exp: Increase the timeout.
22503
22504 * gdb.base/interrupt.exp: Don't even try to compile the testcase
22505 if the target has gdb,noinferiorio set.
22506
22507 * gdb.base/list.exp: Increase match_max to 10000 characters.
22508
22509 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
22510
22511 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
22512 target.
22513
22514 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
22515
22516Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
22517
22518 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
22519 trying to delete the copy of gdb. Catch the file delete so we
22520 don't die if the delete fails; also, the file should be copied to
22521 the host, not to the build.
c906108c
SS
22522
22523Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
22524
22525 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 22526 parenthesis in case it contains multiple regexps separated
c906108c
SS
22527 with |.
22528
22529 * gdb.base/watchpoint.exp: Use gdb_test.
22530 * gdb.base/default.exp: Ditto.
22531
22532Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
22533
99707966 22534 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 22535
c906108c
SS
22536 * gdb.base/scope.exp: Use gdb_test.
22537 * gdb.c++/classes.exp: Ditto.
22538 * gdb.c++/inherit.exp: Ditto.
22539
22540Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
22541
22542 * gdb.base/crossload.exp: Don't use execute_anywhere, use
22543 remote_exec instead.
22544 * gdb.base/corefile.exp: Don't be ridiculous.
22545 * gdb.base/*.c: Add missing stub invocations.
22546
22547Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
22548
22549 * config/slite.exp: Miscellaneous fixes.
22550
22551 * lib/gdb.exp: Fix runto.
22552
22553 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
22554 the target.
22555
22556 * gdb.base/watchpoint.exp: Fix regexp.
22557
22558 * lib/gdb.exp(default_gdb_exit): Add a catch to the
22559 close and wait commands, as the descriptor may now be
22560 invalid. Always call "remote_close host".
22561
22562Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
22563
22564 Major rewrite for testsuite revision.
d63a86f8 22565
c906108c
SS
22566 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
22567 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
22568 instead of relying on spawn_id to always contain a valid
22569 spawn id.
22570 (get_compiler_info): New procedure to build the ${binfile}.ci
22571 file, instead of replicating this in N different places.
22572 (gdb_compile): New procedure.
d63a86f8 22573
c906108c 22574 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
22575 appropriate arguments) instead of compile. Use gdb_test in a lot
22576 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
22577 at the start of a testcase, as this is no longer done magically.
22578
22579 config/*-gdb.exp: Rename without the -gdb suffix.
22580
22581 config/mips.exp: Use remote_close instead of exit_remote_shell.
22582 config/monitor.exp: Use target_info instead of looking at
22583 baud, timeout, etc.
22584 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
22585
22586Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22587
22588 * gdb.c++/templates.exp (test_ptype_of_templates),
22589 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
22590 Update expect patterns for destructors and assignment operators
22591 to match corresponding c-typeprint.c changes.
22592 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
22593 to destructor breakpoint test, GDB should be able to set the
22594 destructor breakpoint without specifying arguments.
22595
22596Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
22597
22598 * gdb.threads/pthreads.exp: Change result for failure to compile due
22599 to lack of pthreads runtime support from an error to simply an
22600 unsupported test, per dejagnu standards.
22601
22602Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22603
22604 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
22605 where GDB exits to reduce pattern match time.
22606 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
22607
22608 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
22609
dc96c6c7 22610Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22611
22612 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
22613 * gdb.base/default.exp: ditto.
22614 * gdb.base/nodebug.exp: ditto.
22615 * gdb.base/printcmds.exp: ditto.
22616 * gdb.base/ptype.exp: ditto.
22617 * gdb.base/setvar.exp: ditto.
22618 * gdb.base/structs.exp: ditto.
22619 * gdb.base/setshow.c: Guard against uninitialized values of argc.
22620
22621Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
22622
22623 * configure, */configure: Rebuild with autoconf 2.12.
22624
22625Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
22626
22627 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
22628 use new i*86-pc-linux*-gnu quads.
22629 * gdb.base/corefile.exp: Ditto.
22630 * gdb.base/signals.exp: Ditto.
22631 * gdb.base/sigall.exp: Ditto.
22632 * gdb.base/interrupt.exp: Ditto.
22633
22634 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
22635 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
22636 RedHat 4.0.
d63a86f8 22637
c906108c 22638 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
22639 linux. This allows the test case to at least compile on latest
22640 linux, but still not run due to missing the threads runtime library.
c906108c
SS
22641
22642Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22643
22644 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
22645 directory to search gdb directory. Accept and step over conditional
22646 stack alignment code. Consume $prompt in failure cases.
22647 Reset timeout to $oldtimeout instead of some arbitrary value.
22648 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
22649 timeout problems with infinite stack backtraces.
22650 * gdb.base/ptype.exp (ptype struct link, union tu_link):
22651 Accept function parameters for linkfunc member.
22652
22653Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
22654
22655 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
22656 (CXXFLAGS): Remove, unreferenced.
22657 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
22658 previous -B options and also add -B option to pick up cross compiled
22659 runtime.
c906108c
SS
22660 (TARGET_INCLUDES): Add for -I options and add code to initialize when
22661 doing cross compiles.
22662 (target_alias): Declare global.
22663 (xgcc): Set variable to full path of gcc in build tree. Use findfile
22664 to verify that gcc exists in build tree, and if so set CC to that
22665 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 22666
c906108c
SS
22667Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
22668
22669 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
22670 ptype test for anonymous union. Fixup testcase to match
22671 current gcc debug output.
22672
22673Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
22674
22675 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
22676 force argument to an unsigned long type.
22677
22678Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
22679
22680 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 22681 tests and anonymous union print/ptype tests.
c906108c
SS
22682 * gdb.base/list.exp (test_forward-search): Increase timeout by
22683 5 minutes for the "search extremely long line" case.
22684 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
22685 completely optional and that the pass/fail messages use the command as
22686 the message if that third arg is a null string.
22687 (gdb_test_exact): Arrange that a null string pattern means match a
22688 null string output rather than any output, which might include random
889bf7c5 22689 errors.
c906108c
SS
22690 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
22691 backtrace test.
22692 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
22693 always failing and failure is now exposed by gdb.exp changes.
22694
22695Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
22696
22697 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
22698 weren't being noted.
22699
22700Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22701
22702 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
22703 * gdb.stabs/weird.exp: Remove v_comb xfails.
22704
dc96c6c7 22705Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22706
22707 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 22708 list.exp scope.exp watchpoint.exp]
c906108c 22709 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 22710
dc96c6c7 22711Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22712
22713 * config/monitor.exp: Increase download timeout to 1000 seconds.
22714
dc96c6c7 22715Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22716
22717 * config/m32r.exp: Increase timeout to 120 seconds.
22718
22719Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
22720
22721 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
22722 and accept older ordering as obsolescent gcc or gdb.
22723 * gdb.c++/templates.exp: Ditto.
22724 * gdb.c++/virtfunc.exp: Ditto.
22725
22726Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
22727
22728 * gdb.base/coremaker.c: Add code to mmap some data so we
22729 can check that it ends up in the core file.
22730 * gdb.base/corefile.exp: Add test to read mmapped data
22731 from core file.
22732
dc96c6c7 22733Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22734
22735 * config/m32r.exp: New file.
22736
22737Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
22738
22739 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
22740 that cflags can contains -gstabs, and work correctly for other tests.
22741
dc96c6c7 22742Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22743
22744 * gdb.base/setshow.exp: New file, tests show and set.
22745 * gdb.base/setshow.c: New file, tests show and set.
22746 * gdb.base/help.exp: Add test for help set|show annotate.
22747 * gdb.base/default.exp: Add test for set|show annotate.
22748
22749Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
22750
22751 * testsuite/gdb.base/break.exp: Make backtrace from factorial
22752 errors unique.
22753 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
22754 explicitly.
22755
22756Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
22757
22758 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
22759 and width commands. This is done elsewhere.
22760 * (gdb_start): Don't call gdb_start_sim here. That's already
22761 done in gdb_load. This fixes lots of failures in default.exp.
22762
22763Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
22764
22765 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
22766 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
22767 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
22768 in the same we we treat other failures (since it may be an expected
889bf7c5 22769 condition), rather than as an error.
c906108c
SS
22770 * gdb.base/signals.exp (test_handle_all_print): Revert back to
22771 old test format.
22772
22773Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
22774
22775 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
22776 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 22777 twice. Nuke the duplicates.
c906108c 22778 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 22779 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
22780 Remove config.h along with other config files.
22781
22782Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
22783
22784 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
22785 "p func1 ()" and note that rests of tests are skipped.
22786 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 22787 setup_xfails for "print func2::coremaker_local".
c906108c
SS
22788 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
22789 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
22790 affected by the previous run test.
22791 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
22792 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
22793 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
22794 "pass int powerset tuple" and "pass modeless int powerset tuple".
22795 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
22796 "real write 4" and "real write 8".
22797 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 22798 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
22799 "print \$i after tuple assign 2", and
22800 "print vs2 after tuple assign 2".
22801 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
22802 meaningful error message and return -1 so the caller can
22803 suppress further tests and avoid a cascade of errors.
d63a86f8 22804
c906108c
SS
22805Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
22806
22807 * gdb.base/a1-selftest.exp: Tweak tests to account for new
22808 format for printing version.
22809 * gdb.base/default.exp: Ditto.
22810 * gdb.base/interrupt.exp: Fix problem with cascade of
22811 errors if child process dies while calling a function.
d63a86f8 22812
c906108c
SS
22813Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
22814
22815 * Makefile.in (VPATH): Add
22816 * Makefile.in (Makefile, config.status): Fix rules so things get
22817 remade when necessary.
22818
22819Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
22820
22821 * Makefile.in (just-check): Add path to sibling expect dir
22822 to environment variable specified by RPATH_ENVVAR.
22823
22824Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
22825
22826 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
22827 (just-check): Add shared library paths for libstdc++, tk,
22828 tcl, bfd, and opcodes to the environment variable specified
22829 in RPATH_ENVVAR.
22830 * configure.in: Add support to recognize --enable-shared flag
22831 and generate correct value for RPATH_ENVVAR.
22832 * configure: Regenerated with autoconf.
22833
22834Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
22835
22836 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 22837 include all osf versions.
c906108c
SS
22838 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
22839 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
22840 when target is linux. When failing to build pthreads test
22841 executable, give more meaningful message.
22842 * gdb.threads/pthreads.c: Hpux also uses old definition of second
22843 arg for pthread_create.
d63a86f8 22844
c906108c
SS
22845Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
22846
22847 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 22848 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 22849 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 22850 and -lpthreads (everybody else).
c906108c
SS
22851 (test_startup): Fail gracefully if threads are not supported.
22852 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
22853 "p/c array_index("abcdef",2)" when not gcc compiled.
22854 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
22855 "print func2::coremaker_local" when not gcc compiled.
22856 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
22857 "ptype on opaque struct tagname (statically)",
22858 "ptype on opaque struct tagname (dynamically) 1", and
22859 "ptype on opaque struct tagname (dynamically) 2"
22860 for not compiled with gcc.
22861 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
22862 backtrace when compiled with gcc.
d63a86f8 22863 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
22864 than always return success.
22865
22866Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
22867
22868 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
22869
22870Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
22871
22872 * gdb.base/structs.exp: Undo last change.
22873
22874Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
22875
22876 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
22877 encapsulate all the steps/nexts done during self test, starting
22878 at main, and makes them less sensitive to optimization issues.
22879 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
22880 signal handler" test.
22881 * gdb.threads/pthreads.exp: Only run this for native configs.
22882 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
22883 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
22884 tests.
22885 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
22886 for "runto test_calls(void)" test.
d63a86f8 22887
c906108c
SS
22888Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
22889
22890 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
22891 and don't expect address info in breakpoint confirmations.
22892
22893Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
22894
22895 * gdb.base/list.exp (test_forward_search): Increase timeout
22896 temporarily by 60 seconds for searching extremely long line,
889bf7c5 22897 and then reset to old value when done. Increase expect input
c906108c
SS
22898 buffer to 10000.
22899
22900Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
22901
22902 * gdb.base/list.exp (test_forward_search): Fix to handle very
22903 long source line without overflowing expect's input buffer.
22904
22905Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
22906
22907 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
22908 "buffer_full".
22909
22910 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
22911 "buffer_full".
22912
22913 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
22914 "buffer_full".
22915
22916 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
22917 "buffer_full".
22918
22919Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
22920
22921 * configure.in (configdirs): Add gdb.threads.
22922 * configure: Regenerated with autoconf.
22923 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
22924 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
22925 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 22926
c906108c
SS
22927Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
22928
22929 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
22930
22931Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
22932
22933 * gdb.base/signals.exp (test_handle_all_print): Test separately for
22934 each signal's status in the output of "handle all print".
22935 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
22936 the \r\n sequence that immediately precedes the gdb prompt.
22937 * gdb.base/a1-selftest.exp: Save original timeout and restore
22938 after test.
22939
22940Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
22941
22942 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
22943 symbol.
22944
22945Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
22946
22947 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
22948
22949Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
22950
22951 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
22952 timeout by 60 seconds.
22953
22954Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
22955
22956 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
22957 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
22958 error return.
22959
22960Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
22961
22962 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
22963 gdb initialization, also report how long dejagnu waited. Restore
22964 old timeout before doing error return. Temporarily increase timeout
889bf7c5 22965 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
22966
22967Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
22968
22969 * lib/gdb.exp: Report timeout value for verbosity level 2.
22970 * config/gdbserver.exp: Ditto.
22971 * config/hppro.exp: Ditto.
22972 * config/mips-gdb.exp: Ditto.
22973 * config/monitor.exp: Ditto.
22974 * config/netware.exp: Ditto.
22975 * config/sim-gdb.exp: Ditto.
22976 * config/slite-gdb.exp: Ditto.
22977 * config/udi-gdb.exp: Ditto.
22978 * config/unix-gdb.exp: Ditto.
22979 * config/vx-gdb.exp: Ditto.
22980 * gdb.base/a1-selftest.exp: Ditto.
22981 * gdb.base/a2-run.exp: Ditto.
22982 * gdb.base/break.exp: Ditto.
22983 * gdb.base/corefile.exp: Ditto.
22984 * gdb.base/list.exp: Ditto.
22985 * gdb.base/recurse.exp: Ditto.
22986 * gdb.base/scope.exp: Ditto.
22987 * gdb.base/signals.exp: Ditto.
22988
22989Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22990
22991 * gdb.threads/Makefile.in (docdir): Removed.
22992
22993Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22994
22995 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 22996 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 22997 @srcdir@.
d63a86f8 22998 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
22999 autoconf 2.5 or higher.
23000 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
23001
23002Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
23003
23004 * configure: Regenerated.
23005 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
23006 avoid name clashes with SunOS headers.
23007
23008Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
23009
23010 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
23011
23012Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
23013
23014 * gdb.base/callfuncs.exp: Finish last change -- make sure the
23015 prototype information ends up in the compiler info file.
23016
23017Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
23018
23019 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
23020 attempting to regenerate it. Eliminate use of a temporary file
23021 and just generate the info file directly. Source it immediately,
23022 for consistency of use.
23023 * gdb.base/corefile.exp: Ditto
23024 * gdb.base/exprs.exp: Ditto.
23025 * gdb.base/funcargs.exp: Ditto.
23026 * gdb.base/langs.exp: Ditto.
23027 * gdb.base/list.exp: Ditto.
23028 * gdb.base/mips_pro.exp: Ditto.
23029 * gdb.base/nodebug.exp: Ditto.
23030 * gdb.base/opaque.exp: Ditto.
23031 * gdb.base/ptype.exp: Ditto.
23032 * gdb.base/scope.exp: Ditto.
23033 * gdb.base/setvar.exp: Ditto.
23034 * gdb.base/signals.exp: Ditto.
23035 * gdb.base/whatis.exp: Ditto.
23036 * gdb.c++/templates.exp: Ditto.
23037 * gdb.c++/virtfunc.exp: Ditto.
23038 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 23039 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
23040
23041Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23042
23043 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
23044 it got fixed by the recent lookup_minimal_symbol_by_pc change.
23045 Increase timeout, a lot of single stepping might be needed if the
23046 target has no hardware watchpoints.
23047
23048Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
23049
23050 * gdb.base/break.exp: Ignore compiler warnings when compiling
23051 break.c.
23052 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
23053 * gdb.base/default.exp: Add h8300 xfails. Handle messages
23054 from remote-sim.
23055 * gdb.base/exprs.exp: Add h8300 xfails.
23056 * gdb.base/funcargs.exp: Likewise.
23057 * gdb.base/nodebug.exp: Likewise.
23058 * gdb.base/printcmds.exp: Likewise.
23059 * gdb.base/ptype.exp: Likewise.
23060 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
23061 h8300 xfails.
d63a86f8 23062 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
23063 on the h8300.
23064 * gdb.base/funcargs.c: Explicitly make last constant argument to
23065 call_after_alloca_subr an unsigned long type.
23066 * gdb.base/return.c: Include stdio.h.
23067
23068Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
23069
23070 * config/abug.exp: New file for the older Motorola Bug monitor
23071 that runs on the mvme13x series VME boards.
23072 * config/monitor.exp: Use the new config array for target settings
23073 if they exist.
23074
23075Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
23076
23077 * sim-gdb.exp: Make the SH simulator allocate less space when
23078 it is targeted.
23079
23080Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
23081
23082 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
23083 test.
23084
23085Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
23086
23087 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
23088 "rs6000-*-*" for "list function in include file" when gcc compiled.
23089 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
23090 for "p ctable1[120]".
23091 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
23092 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
23093 Remove setup_xfail for "rs6000-*-*" for
23094 "print 'scope0.c'::filelocal before run".
23095 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
23096 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
23097 since some compilers don't allow both options to be given
23098 on the same command line. Create object file and move it.
d63a86f8 23099
c906108c
SS
23100Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
23101
23102 * gdb.base/corefile.exp: Always regenerate the core file, since
23103 we always regenerate the coremaker program. Detect special case
23104 where registers cannot be read from core file.
d63a86f8 23105
c906108c
SS
23106Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
23107
23108 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
23109 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
23110 * gdb.c++/templates.exp: Only match on basename of file since
23111 some formats like xcoff don't encode directory information.
23112 * gdb.stabs/weird.exp: Use the right sed script for powerpc
23113 and rs6000 AIX xcoff targets.
23114 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
23115 * configure: Regenerate.
23116 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
23117 here, rather than in distclean.
d63a86f8 23118
c906108c
SS
23119Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
23120
23121 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
23122 defined, and use it to compile the test case with -O2. The
23123 native compilation still uses no optimization.
23124 * gdb.base/mips_pro.c: Remove inline assembly code since
23125 it is compiled PIC by default, which results in assembler
23126 warnings that make the testsuite think the compilation
23127 was unsuccessful.
23128
23129Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
23130
23131 * gdb.c++/misc.exp: Add note to message for
23132 "print s.a for foo struct" that this is a known gcc 2.7.2
23133 and earlier bug.
23134
23135Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
23136
23137 * gdb.base/break.exp: Fix pattern for matching "Delete all
23138 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
23139 setup_xfail for deleting all breakpoints test. Fix various
23140 timeout messages to include "(timeout)".
23141 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
23142 for "p t_float_values2(3.14159,float_val2)".
23143 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
23144 for "continue to call2g" when gcc compiled.
23145 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
23146 "up to foo in langs.exp", "show language at foo in langs.exp",
23147 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
23148 and "show language at fsub in langs.exp".
23149 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
23150 "list line 1 in include file", "list message for lines past EOF",
23151 "list function in include file", "list list0.h:foo", and
23152 "list filename:function; nonexistant function".
23153 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
23154 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
23155 and "ptype t_char_array" to be for native cc only.
d63a86f8 23156
c906108c
SS
23157Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
23158
d63a86f8 23159 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 23160 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 23161 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
23162
23163Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
23164
23165 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
23166 "bt in signals.exp". This problem only appears when running
23167 the testsuite, and then only intermittently.
23168
23169Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
23170
23171 * gdb.base/return.exp (return_tests): Differentiate between
23172 two tests of continuing.
23173
23174Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
23175
23176 * */Makefile.in (maintainer-clean): Remove config.log.
23177 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
23178 * gdb.c++/Makefile.in (PROGS): Add inherit.
23179 (clean): Remove *.ci.
23180
23181Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
23182
23183 * gdb.c++/misc.cc: Add test code from Mike Stump.
23184 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
23185
23186Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
23187
23188 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
23189 to "alpha-*-osf2*" and add comment.
23190 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
23191 setup_xfail for "step over execarg initialization" and
23192 "step over corearg initialization".
c906108c
SS
23193 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
23194 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
23195 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 23196 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
23197 "print func2::coremaker_local", and "backtrace in corefile.exp".
23198 * gdb.base/signals.exp: Build and source signals.ci.
23199 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
23200 to be for gcc only.
23201 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 23202
c906108c
SS
23203Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23204
23205 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
23206 Feb 3 procfs.c change.
23207
23208Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
23209
23210 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
23211
23212Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
23213
23214 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
23215 from dejagnu's apparent default of 10 seconds, which gives random
23216 results when running the tests over NFS on moderately loaded systems.
23217 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
23218
23219Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
23220
23221 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
23222 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 23223 result reports.
c906108c
SS
23224
23225Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
23226
23227 * configure.in (CY_AC_PATH_TCLH): Remove.
23228 * configure: Regenerate.
23229
23230Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
23231
23232 * gdb.c++/Makefile.in (clean): Add missing '{'.
23233
23234Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
23235
23236 * lib/gdb.exp: Provide a default value for noinferior.
23237
23238 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
23239 Load libgloss.exp.
23240
23241Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
23242
23243 * gdb.disasm/hppa.exp: Compile directly into an executable, use
23244 the executable, not the .o to run the tests from.
23245
23246Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
23247
23248 * gdb.base/break.exp: Don't test for program exit or exit status
23249 if $noresults if nonzero.
23250 * gdb.base/langs.exp: Likewise.
23251 * gdb.base/watchpoint.exp: Likewise.
23252
23253 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
23254 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
23255 trying to compile the testcase.
23256
23257Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
23258
23259 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
23260 * gdb.base/signals.exp (continue to handler): Likewise.
23261
23262Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
23263
23264 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
23265
23266 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
23267
23268Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
23269
23270 * gdb.base/corefile.exp: Recognize "not found" as failure
23271 when trying to determine if a core file was generated.
23272 If no core file was generate the first time, try again without
23273 the ulimit -c to work around braindamaged shells.
23274
23275Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
23276
23277 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
23278 [] tests with "test" and enclose string in quotes.
23279 * gdb.stabs/configure: Rebuild
d63a86f8 23280
c906108c
SS
23281Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
23282
23283 Changes in sync with expect:
23284 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
23285 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
23286 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
23287 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
23288 argument to AC_REQUIRE.
23289 * configure: Regenerated.
23290
23291Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
23292
23293 * gdb.base/corefile.exp: When generating a core, discard any
23294 error messages about ulimit not found and the "core dumped"
23295 message from the shell that runs the coredumper.
23296
23297Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
23298
23299 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
23300
23301 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
23302 which sed script to run. Expect failure for v_comb test
23303 on PA targets too.
d63a86f8 23304
c906108c
SS
23305Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
23306
23307 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 23308 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
23309
23310Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
23311
23312 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
23313 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 23314 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
23315 * lib/gdb.exp (default_gdb_start): Fix typo.
23316 * gdb.base/corefile.exp: Allow "Core was generated by ..."
23317 messages to not include the full program name that caused
23318 the core dump since some systems (such as solaris) apparently
23319 truncate this path to about 80 characters.
23320 When generating a core file first try increasing the core file
23321 size limit to unlimited since some systems may default it to
23322 zero, and it is harmless to try it. Move the test for failing
23323 to generate a core file to where it will actually get executed.
23324 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
23325 new gdb result from g++ debug info improvements and make old
23326 pattern obsolescent. Also account for size_t differences
23327 (may be int or long).
23328 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
23329 initialization before function call is placed in the delay slot
23330 and thus appears to be skipped over by commands such as "next".
23331
23332Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
23333
23334 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
23335
23336Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
23337
23338 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
23339 input source file; fix code to compile test to deal with this
23340 convention.
23341 * gdb.c++/*.exp: Likewise.
23342
23343Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
23344
23345 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
23346 "bt in signals.exp".
23347
23348Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
23349
23350 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
23351 "step over execarg initialization" and
889bf7c5 23352 "step over corearg initialization".
c906108c
SS
23353
23354Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
23355
23356 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
23357 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
23358
23359Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
23360
23361 From Rob Savoye (rob@poseidon.cygnus.com)
23362 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
23363 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
23364 configure.in}, gdb.disasm/{Makefile.in, configure.in},
23365 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
23366 configure.in}: Major reworking for autoconfig.
c906108c
SS
23367 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
23368 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 23369 New files.
c906108c
SS
23370 * config/unix-gdb.exp: Make GDB global.
23371 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
23372 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
23373 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
23374 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
23375 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
23376 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 23377 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
23378 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
23379 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
23380 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
23381 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 23382 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
23383 to returns as necessary, arrange for test to compile own testcase
23384 executable.
c906108c 23385 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 23386
c906108c
SS
23387Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
23388
23389 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 23390 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
23391 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
23392 "backtrace through signal handler".
23393
23394Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23395
23396 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
23397 continuing from a job control stop signal.
23398 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
23399
23400Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
23401
23402 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
23403 * gdb.base/corefile.exp: Likewise.
23404 * gdb.base/funcargs.exp: Likewise.
23405
23406Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
23407
23408 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
23409 * config/monitor.exp: Add support for setting baud rate.
23410
23411Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
23412
23413 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
23414 i*86-*-linux* xfails for "backtrace through signal handler".
23415 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
23416 "print func2::coremaker_local".
23417 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 23418 alpha-dec-osf2* xfail for
c906108c
SS
23419 "delete all breakpoints when none".
23420
23421Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
23422
23423 * gdb.base/break.exp: Change test that deletes all breakpoints
23424 when no user breakpoints are installed. A post 4.15 change
23425 causes gdb to no longer prompt in this case.
23426
23427Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
23428
23429 * gdb.base/return.exp (return_tests): Change xfail for test
23430 "correct value returned double test" to stop xfailing at
23431 Solaris 2.5. Apparently the bug has been fixed.
23432
23433Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
23434
23435 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
23436 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
23437
23438Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
23439
23440 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
23441 * gdb.disasm/hppa.s: Corresponding changes.
23442
23443Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
23444
23445 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
23446 makefile fragment.
23447 * config/mt-hpux: Deleted.
23448
23449Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
23450
d63a86f8 23451 * Many files: When warning about suppressed tests due to a
c906108c
SS
23452 nonexistant test binary, avoid incrementing the warning count.
23453
23454Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
23455
23456 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 23457
c906108c
SS
23458Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23459
23460 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
23461 "sparc-*-solaris2*".
23462
23463Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23464
23465 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
23466 Add global and local variables and initialize them.
23467 * gdb.base/corefile.exp: Test correct mapping of corefile sections
23468 by printing variables. Remove rs6000 and powerpc xfails, BFD now
23469 extracts the file name and terminating signal from the core file.
23470 * TODO: Remove note about tests for correct mapping of corefile.
23471 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
23472 from optimizing it away.
23473 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
23474 handles common blocks.
23475
23476Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
23477
23478 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
23479 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
23480
23481Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
23482
23483 * Makefile.in (maintainer-clean): New target, synonym for
23484 realclean.
23485 * gdb.base/Makefile.in (maintainer-clean): Likewise.
23486 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
23487 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
23488 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
23489 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
23490 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
23491
23492Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
23493
23494 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
23495 xfails when not gcc compiled for "print foo::funclocal".
23496 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
23497 "print foo::funclocal at foo",
23498 "print 'scope1.c'::foo::funclocal at foo",
23499 "print foo::funclocal_bss at foo",
23500 "print 'scope1.c'::foo::funclocal_bss at foo",
23501 "print foo::funclocal_ro at foo",
23502 "print 'scope1.c'::foo::funclocal_ro at foo",
23503 "print bar::funclocal at foo" and
23504 "print 'scope1.c'::bar::funclocal at foo".
23505 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
23506 gcc compiled for "print foo::funclocal at bar".
23507 Expand all messages to ensure that they identify that
23508 the test is at bar().
23509 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
23510 gcc compiled for:
23511 "ptype on opaque struct pointer (statically)",
23512 "ptype on opaque struct tagname (statically)",
23513 "ptype on opaque struct pointer (dynamically) 1",
23514 "ptype on opaque struct tagname (dynamically) 1",
23515 "ptype on opaque struct pointer (dynamically) 2" and
23516 "ptype on opaque struct tagname (dynamically) 2
23517 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
23518 gcc compiled for:
23519 "p datalocal"
23520 "whatis datalocal",
23521 "ptype datalocal",
23522 "p bsslocal",
23523 "whatis bsslocal", and
23524 "ptype bsslocal".
23525 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
23526 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
23527 when not gcc compiled.
23528 * gdb.base/funcargs.exp (float_and_integral_args): Add
23529 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
23530 compiled.
23531 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
23532 "backtrace from call6a" when not gcc compiled.
23533 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
23534 "backtrace from call7a" when not gcc compiled.
23535 * gdb.base/callfuncs.exp (do_function_calls):
23536 Add "hppa*-*-hpux*" xfail when not gcc compiled for
23537 "p t_char_array_values(char_array_val2,char_array_val1)",
23538 "p t_char_array_values(char_array_val1,char_array_val2)",
23539 "p t_char_array_values("carray 1","carray 2")",
23540 "p t_char_array_values("carray 1",char_array_val2)",
23541 "p t_char_array_values(char_array_val1,"carray 2")",
23542 "p sum_args(1,{2})",
23543 "p sum_args(2,{2,3})",
23544 "p sum_args(3,{2,3,4})",
23545 "p sum_args(4,{2,3,4,5})"
23546 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
23547 "backtrace in corefile.exp" when not gcc compiled.
23548
23549Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23550
23551 * gdb.base/signals.exp: Rewrite `handle all print' test as
23552 a procedure. Accept blanks or TABs as whitespace, increase
23553 timeout and expect input buffer size for the large output
23554 from the command. Remove "i*86-*-bsdi2.0" xfail.
23555
23556Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23557
23558 * gdb.base/setvar.exp: Add new testcases for truncation when
23559 assigning invalid values to bitfields.
23560
23561Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
23562
d63a86f8 23563 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
23564 mips-sgi-irix* xfail for
23565 "call inferior func with struct - returns char *"
23566 and fix test so that an optional (unsigned char *) cast is
889bf7c5 23567 accepted in the result.
c906108c
SS
23568
23569Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
23570
23571 * gdb.base/funcargs.exp (float_and_integral_args): Remove
23572 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23573 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
23574 * gdb.base/signals.exp: Remove duplicate "handle all print" test
23575 that accidentally got checked in.
23576
23577Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
23578
d63a86f8 23579 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
23580 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
23581 compiled test.
23582 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
23583 Add mips-sgi-irix5* xfail for not gcc compiled.
23584 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
23585 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
23586 "p top", "whatis top", "p middle", and "whatis middle".
23587 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
23588 "whatis signed char" for not gcc compiled.
23589 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
23590 "set variable signed char=-1 (-1)" and
23591 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
23592 * gdb.base/funcargs.exp (float_and_integral_args):
23593 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
23594 Add mips-sgi-irix* xfail when not gcc compiled for
23595 "continue to call2b".
23596 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
23597 "continue to call2g".
23598 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
23599 "backtrace from call6a"
23600 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
23601 "backtrace from call7k".
23602 Add mips-sgi-irix5* xfail when not gcc compiled for
23603 "backtrace from call7a".
23604 (localvars_after_alloca): Fix gdb_test cmds for
23605 "print * after runto ...".
23606 Remove rs6000-*-* xfails for
23607 "print i after runto localvars_after_alloca" and
23608 "print l after runto localvars_after_alloca"
23609 for all compilers.
23610 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 23611 when not compiled with gcc, for:
c906108c
SS
23612 "print signed char == (minus)",
23613 "print signed char != (minus)",
23614 "print signed char < (minus)",
23615 "print signed char > (minus)".
23616 * gdb.base/callfuncs.exp (do_function_calls):
23617 Add mips-sgi-irix* xfail, when compiled with native compiler, for
23618 "call inferior func with struct - returns char *".
d63a86f8 23619 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
23620 "correct value returned double test" to include Solaris 2.4.
23621 * gdb.base/funcargs.exp (float_and_integral_args):
23622 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 23623
c906108c
SS
23624Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23625
23626 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
23627 enumeration bitfields if compiling with GNU C.
23628 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
23629 to empty' prompt.
23630
23631Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
23632
23633 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
23634 test for PRO targets.
23635
23636 * gdb.base/funcargs.exp: Avoid ever setting more than 8
23637 breakpoints in the inferior at any given time by making
23638 two groups of breakpoints for call2*, call6* and call7*
23639 tests.
23640
23641Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23642
23643 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
23644 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
23645 from optimizing it away.
23646 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
23647 "call inferior func with struct".
23648
23649Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
23650
23651 * configure.in: Only configure gdb.chill for particular targets.
23652
23653Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
23654
23655 * gdb.base/Makefile.in: Add action to .c.o transformation
23656 rule that generates a .ci file for each .o file and remove
23657 explicit .c.o rules except for callfuncs.o.
23658 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
23659 generates a .ci file for each .o file and remove explicit
23660 .cc.o rules.
23661 (clean): Remove *.tmp *.ci files.
23662 (EXECUTABLES): Remove templ-info.exp.
23663 * gdb.base/compiler.c: New file.
23664 * gdb.c++/compiler.cc: New file
23665 * gdb.base/scope.exp: Source gdb.base/scope.ci.
23666 Change rs6000-*-* xfail for
23667 "print 'scope0.c'::filelocal_ro" and
23668 "print 'scope1.c'::filelocal" and
23669 "print 'scope1.c'::filelocal_bss" and
23670 "print 'scope1.c'::filelocal_ro" and
23671 "print 'scope1.c'::foo::funclocal" and
23672 "print 'scope1.c'::foo::funclocal_ro" and
23673 "print 'scope1.c'::bar::funclocal" and
23674 "print 'scope0.c'::filelocal_ro" and
23675 "print 'scope1.c'::filelocal at foo" and
23676 "print 'scope1.c'::filelocal_bss at foo" and
23677 "print 'scope1.c'::filelocal_ro at foo" and
23678 "print 'scope1.c'::foo::funclocal at foo" and
23679 "print 'scope1.c'::foo::funclocal_bss at foo" and
23680 "print 'scope1.c'::foo::funclocal_ro at foo" and
23681 "print 'scope1.c'::bar::funclocal at foo" and
23682 "print 'scope0.c'::filelocal_ro" and
23683 "print 'scope1.c'::filelocal" and
23684 "print 'scope1.c'::filelocal_bss" and
23685 "print 'scope1.c'::filelocal_ro" and
23686 "print 'scope1.c'::foo::funclocal" and
23687 "print 'scope1.c'::foo::funclocal_bss" and
23688 "print 'scope1.c'::foo::funclocal_ro" and
23689 "print 'scope1.c'::bar::funclocal" and
23690 "print 'scope1.c'::bar::funclocal_bss"
23691 to only be xfail'd when not compiled with gcc.
d63a86f8 23692 Add rs6000-*-* xfail for
c906108c
SS
23693 "print 'scope0.c'::filelocal_bss before run"
23694 when compiled with gcc.
23695 (test_at_main): Add rs6000-*-* xfail for
23696 "print filelocal_ro in test_at_main"
23697 when compiled with gcc.
23698 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 23699 Add rs6000-*-aix* xfail for
c906108c
SS
23700 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
23701 "ptype t_char_array", not compiled with gcc.
23702 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
23703 xfail for "list foo (in include file)" when gcc compiled.
23704 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 23705 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
23706 "run to call0a" if not compiled with gcc.
23707 (unsigned_integral_args): Add rs6000-*-* xfail for
23708 "run to call1a" if not compiled with gcc.
23709 (float_and_integral_args): Add rs6000-*-* xfail for
23710 "run to call2a" if not compiled with gcc and for
23711 "continue to call2b" for any compiler.
23712 Add rs6000-*-* xfail to
23713 "print f1 after run to call2a" for gcc compiled.
23714 (discard_and_shuffle): Add rs6000-*-* xfail for
23715 "run to call6a".
23716 (shuffle_round_robin): Add rs6000-*-* xfail for
23717 "backtrace from call7a" if not compiled with gcc.
23718 Add rs6000-*-* xfail for
23719 "backtrace from call7b" if compiled with gcc.
23720 (call_after_alloca): Add rs6000-*-* xfail for
23721 "print c in call_after_alloca" and
23722 "print s in call_after_alloca" and
23723 "backtrace from call_after_alloca_subr"
23724 if not compiled with gcc.
23725 (localvars_in_indirect_call): Add rs6000-*-* xfail for
23726 "print c in localvars_in_indirect_call" and
23727 "print c in localvars_in_indirect_call" and
23728 "backtrace in indirectly called function" and
23729 "stepping into indirectly called function"
23730 if not compiled with gcc.
23731 (localvars_after_alloca): Add rs6000-*-* xfail for
23732 "print c after runto localvars_after_alloca" and
23733 "print s after runto localvars_after_alloca" and
23734 "print i after runto localvars_after_alloca" and
23735 "print l after runto localvars_after_alloca"
23736 for all compilers.
23737 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
23738 than whatis-info.exp.
23739 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
23740 than opaque-info.exp.
23741 Setup rs6000-*-* xfail for
d63a86f8 23742 "ptype on opaque struct pointer (statically)" and
c906108c
SS
23743 "ptype on opaque struct pointer (dynamically)" when
23744 not compiled with gcc.
23745 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
23746 rather than callf-info.exp.
23747 (do_function_calls): Add clear_xfail for rs6000-*-* for
23748 "p t_float_values2(3.14159,float_val2)". Seems to work
23749 fine there, both with xlc and gcc. Need to find out what
23750 it is doing right and fix other platforms.
23751 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
23752 "call inferior func with struct - returns int",
23753 "call inferior func with struct - returns long",
23754 "call inferior func with struct - returns float",
23755 "call inferior func with struct - returns double",
23756 "call inferior func with struct - returns char *",
23757 but only if not gcc compiled (presumes xlc compiled).
23758 Change rs6000-*-* xfails for
23759 "call inferior func with struct - returns char" and
23760 " call inferior func with struct - returns short" to only
23761 xfail if not using gcc.
23762 (clean mostlyclean): Remove *.ci and *.tmp files.
23763 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
23764 than templ-info.exp.
23765 * gdb.base/langs.exp: Source gdb.base/langs.ci.
23766 Add rs6000-*-* xfail for "up to foo in langs.exp"
23767 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 23768 when not gcc compiled.
d63a86f8 23769
c906108c
SS
23770Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23771
23772 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
23773 * gdb.base/corefile.exp: Likewise.
23774 * gdb.base/list.exp: Likewise.
23775 * gdb.base/scope.exp: Likewise.
23776 * gdb.base/siganls.exp: Likewise.
23777
23778 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
23779 compiler output.
23780 * gdb.base/whatis.exp: Likewise.
23781
23782Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
23783
23784 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
23785 failure (opcode table has been fixed to match reality).
23786
23787Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
23788
23789 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
23790 "call inferior func with struct - returns char",
23791 "call inferior func with struct - returns short"
23792
23793 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
23794 "print 'scope0.c'::filelocal at main",
23795 "print 'scope0.c'::filelocal_bss in test_at_main",
23796 "print 'scope0.c'::filelocal at foo",
23797 "print 'scope0.c'::filelocal_bss in test_at_foo",
23798 "print 'scope0.c'::filelocal at bar",
23799 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 23800
c906108c
SS
23801 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
23802 in source file 1". This bug seems to have been fixed with both
23803 gcc and native cc (was native assembler bug?).
23804
23805Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
23806
23807 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
23808 "backtrace through signal handler" to "i*86-*-sysv4*".
23809 * gdb.base/signals.exp: Add xfail for "'next' behaved as
23810 continue" case. Add "known SVR4 bug" to fail message.
23811 Add "i*86-*-bsdi2.0" xfail for "handle all print".
23812 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
23813 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
23814 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
23815 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
23816 "up to foo in langs.exp", "show language at foo in
23817 langs.exp", "up to cppsub_ in langs.exp", "show
23818 language at cppsub_ in langs.exp", "up to fsub in
23819 langs.exp", and "show language at fsub in langs.exp".
23820 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
23821 "bactrace in corefile.exp".
23822 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
23823 "call inferior function with struct - returns float" and
23824 "call inferior function with struct - returns double".
d63a86f8 23825
c906108c
SS
23826Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
23827
23828 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
23829 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
23830 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
23831 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
23832
23833Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
23834
23835 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
23836 (or overriden) "CHILL" macro rather then bare "gcc".
23837 Also look for ../../gcc/xgcc since that is what we will
23838 actually need, not "Makefile". Remove following assignment
23839 of CHILL to CHILL_FOR_TARGET because that results in
23840 recursive definition.
23841
23842Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
23843
23844 * gdb.base/corefile.exp: Change xfail for backtrace in
23845 corefile.exp from linuxaout to all linux.
23846 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
23847 cases where we miss the breakpoint at the signal handler
23848 for some reason. Setup xfail for linuxoldld/linuxaout and
23849 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
23850 hitting SIGURG breakpoint.
23851 * gdb.base/signals.exp: Setup xfail for "next" acting like
23852 continue to add linuxoldld. Setup xfail for all linux for
23853 "next to handler in signals_tests_1", "backtrace in
23854 signals_tests_1", "continue to func1", "pass SIGUSR1",
23855 and continue to handler".
23856
23857Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
23858
23859 * Update all FSF addresses except those in COPYING* files.
23860
23861Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
23862
23863 * gdb.base/a2-run.exp: Change messages to be more explicit about
23864 the status of args, and quote binfile in results.
23865
23866Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
23867
23868 * gdb.base/callfuncs.exp: Add tests for passing structs to
23869 inferior functions and return various types.
23870 * gdb.base/callfuncs.c: Add functions to receive a struct
23871 and return a member of the struct, in various types.
23872
23873Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23874
23875 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
23876
23877Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
23878
23879 * config/vxworks29k.exp: New file, sources vxworks.exp.
23880
23881Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23882
23883 * config/gdbremote.exp: New file. Testing framework using
23884 gdbserver.
23885
23886Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
23887
23888 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
23889 "call function when asleep" and "send end of file".
23890 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
23891 for "backtrace in corefile.exp".
23892 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
23893 for "backtrace through signal handler".
23894 * gdb.base/corefile.exp: Make sure we actually generate a core file
23895 before trying the core tests. Some systems allow the user to suppress
23896 generation of core files and default to that (linux for example).
23897 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
23898 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
23899
23900Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23901
23902 * gdb.threads: New directory with some crude multi-threaded
23903 gdb tests (step.exp and step2.exp).
23904 * config/mt-lynx (STEP_EXECUTABLE): Define.
23905 (THREADFLAGS): Define.
23906
23907Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
23908
23909 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
23910
23911 * gdb.base/signals.exp: Disable whole file for lynx until
23912 further notice.
23913
23914 * gdb.base/signals.exp: xfail test where "next" acts like
23915 "continue" for lynx.
23916
23917 * gdb.base/interrupt.exp: xfail test for calling function while
23918 inferior is asleep for lynx.
23919
23920 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
23921 than one cr-lf after each command.
23922
23923Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23924
23925 * configure.in: Reinstate setting of stabsdirs variable, fix
23926 typo in setting up configdirs for native builds.
23927
23928 * gdb.base/return.exp: Fix typo in return double test.
23929 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
23930 compiler from optimizing them away.
23931
23932Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
23933
23934 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
23935 sequences to be echo'd by gdb when using gdb_test.
23936 * gdb.chill/chexp.exp: Likewise.
23937 * gdb.fortran/exprs.exp: Likewise
23938
23939Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23940
23941 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
23942 after the inferior gdb has started.
23943
23944 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
23945 after each command.
23946 * gdb.base/funcargs.exp: Likewise.
23947 * gdb.base/gdbvars.exp: Likewise.
23948 * gdb.base/interrupt.exp: Likewise.
23949 * gdb.base/list.exp: Likewise.
23950 * gdb.base/watchpoint.exp: Likewise.
23951 * gdb.c++/demangle.exp: Likewise.
23952 * gdb.c++/inherit.exp: Likewise.
23953 * gdb.chill/chexp.exp: Likewise.
23954 * gdb.fortran/exprs.exp: Likewise.
23955
23956 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
23957 test if we can't handle IO to/from the inferior.
23958
23959 * gdb.c++/misc.exp: Always check for a program already being
23960 started after sending a "run" command to gdb.
23961
23962 * gdb.base/twice.exp: Start with a fresh gdb.
23963
23964 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
23965 only depend on gdb's expression code, not the chill runtime.
23966
23967 * gdb.base/return.c: Put return values into variables so we
23968 can have gdb print them rather than depending on the program
23969 to print them.
23970 * gdb.base/return.exp: Corresponding changes.
23971
23972 * lib/gdb.exp: Provide default value for noinferiorio.
23973 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
23974 the inferior.
23975
23976 * gdb.base/break.exp: Always check for a program already being
23977 started after sending a "run" command to gdb.
23978 (text_next_with_recursion): Don't check the output from the
23979 program's printf statement. Instead just make sure the program
23980 exited.
23981
23982 * gdb.base/commands.exp: Protect tests which need arguments with
23983 $noargs conditionals.
23984
23985Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23986
23987 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
23988 of structure member arrays to match gdb/valops.c:value_addr change.
23989
23990Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
23991
23992 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
23993 cases.
23994
23995Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
23996
23997 * configure.in (configdirs): Remove gdb.chill from default list
23998 of subdirs and then add it back in only if doing a native build.
23999 The current chill compiler does not yet work in any cross build.
24000 * Revert all signal changes from Jul 6.
24001 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
24002 for sh-hms targets, allowing these tests to link, with no other
24003 changes. Testing is suppressed by setting "nosignals" in site.exp.
24004
24005Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
24006
24007 * configure.in (signaldirs): Define and add to configdirs for all
24008 targets except some specific ones that are known to not support signals.
24009 Also clean up formatting.
24010 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
24011 (signals, sigall): Remove rules to build.
24012 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
24013 Moved to new gdb.signals directory.
24014 * gdb.signals: New test directory.
24015 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
24016 signals.c signals.exp}: New or moved files.
24017
24018Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
24019
24020 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
24021
24022Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
24023
24024 * gdb.base/return.exp: Xfail `return double' test failure
24025 on at least Solaris 2.3 and handle future/past versions on
24026 a case by case basis as appropriate. Also update message
24027 to include i*86 failures.
24028
24029Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24030
24031 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
24032
24033 * lib/gdb.exp: Fix comment which erroneously identified
24034 gdb_file_cmd as gdb_load (the 19 May change was in fact to
24035 gdb_file_cmd not gdb_load).
24036 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
24037
24038 * gdb.base/setvar.exp: Make test names consistent between pass and
24039 fail cases. Use gdb_test more.
24040
24041Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24042
24043 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
24044
24045Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24046
24047 * gdb.base/help.exp: Fix expected help string for `show commands'.
24048
24049Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
24050
24051 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
24052
24053 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
24054 of a text section.
24055
24056Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
24057
24058 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
24059 that loop eventually terminates. Fix Connection refused logic so
24060 that testsuite will expire nicely.
24061
24062Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
24063
24064 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
24065 config/rom68k.exp: New tcl glue for the appropriate monitors.
24066 These all just end up calling monitor.exp.
24067 * config/monitor.exp (gdb_target_monitor): Handle `Connection
24068 refused' by retrying. Cleanup some timeout issues.
24069 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
24070 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
24071 callers don't have to set/restore global timeout variable.
24072
24073 * The following set of changes centralizes management of the global
24074 timeout variable. This way, it can be set in one target dependent
24075 place instead of dozens of places scattered throughout the test suite.
24076 If you need to lengthen a timeout, then you should either set timeout
24077 in one of the config/{target}.exp files, or multiply it by a factor.
24078 Setting it to an absolute value is always going to lose for some
24079 targets.
24080 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
24081 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
24082 * gdb.base/funcargs.exp: Don't set timeout.
24083 * gdb.base/list.exp (test_forward_search): Only use local timeout.
24084 * gdb.base/printcmds.exp (test_print_string_constants
24085 test_print_array_constants): Don't set timeout.
24086 * gdb.base/ptype.exp: Don't set timeout.
24087 * gdb.base/recurse.exp: Don't set timeout.
24088 * gdb.base/return.exp: Don't set timeout.
24089 * gdb.base/watchpoint.exp: Don't set timeout.
24090 * gdb.c++/classes.exp (do_tests): Don't set timeout.
24091 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
24092
24093Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
24094
24095 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
24096
24097Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24098
24099 * lib/gdb.exp: Disable chill tests for irix5.
24100
24101Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24102
24103 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
24104 each test pass or fail.
24105
24106Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24107
24108 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
24109 xlc not gcc.
24110
24111Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
24112
24113 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
24114
24115Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
24116
24117 * config/est.exp: Fix copyright and comments. Remove dead code.
24118 Use targetname, serialport and baud variables instead of fixed
24119 constants.
24120 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
24121 * config/cpu32bug.exp: New file to support cpu32bug monitors.
24122
24123Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24124
24125 * gdb.base/watchpoint.exp: Don't run
24126 test_watchpoint_triggered_in_syscall for sunos.
24127
24128Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24129
24130 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
24131 they don't seem to exist. Do include stdio.h.
24132
24133Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24134
24135 * gdb.base/a1-selftest.exp: Add alpha xfail.
24136
24137Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24138
24139 * gdb.base/watchpoint.c (main): Prompt before calling read().
24140 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24141 Revise accordingly. Remove cruft about sending "123" several
24142 times, until it gets noticed. Clean up the "print buf[0]" stuff
24143 so that it passes or fails, and waits for prompts in the usual way.
24144
24145Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24146
24147 * gdb.base/recurse.exp: Fix comment.
24148
24149 * TODO: Remove item about printing variables in nodebug.exp. Add
24150 item about enabling tests which are only run on some targets.
24151
24152 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
24153 fail, make test names unique, use new gdb_test convention
24154 regarding pattern, use gdb_test more, etc.).
24155
24156 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
24157 fail, make test names unique, etc.).
24158
24159Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24160
24161 * gdb.base/nodebug.c: Change return type of top and middle to
24162 short.
24163 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
24164 are fixed by the recent mdebugread.c changes. Allow `short ()'
24165 as type for top and middle.
24166
24167Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24168
24169 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
24170 nearly as I can tell, the whole thing was an accident in Stu's
24171 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
24172 to replace a send/expect pair with gdb_test, but ended up only
24173 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
24174 of 30 Mar 1995 took care of it, but left this vestigial comment
24175 which I am now nuking.
24176
24177Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24178
24179 * gdb.base/break.exp: Look for different line number for
24180 breakpoint at main depending on usestubs.
24181
24182Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24183
24184 * gdb.base/list.exp: Adjust some alternate expect patterns to
24185 match recent list0.c change. Add alternate expect pattern for
24186 output from `list default lines around main' for optimizing
24187 compilers.
24188
24189Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24190
24191 * lib/gdb.exp: If nosignals is not set, set it to 0.
24192
24193Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
24194
24195 * config/slite-gdb.exp: Responds to load symbol table prompt.
24196 * gdb.base/break.exp: Adjust line number, fix rerun.
24197 * gdb.base/langs0.c: Add #ifdef usestubs.
24198
24199Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
24200
24201 * gdb.base/list.exp: Adjust line contents after adding new lines in
24202 list0.c. Also fix a syntax error.
24203
24204 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
24205 * gdb.base/break.exp: ditto.
24206 * gdb.base/list.exp: ditto.
24207 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
24208 * gdb.base/run.c: ditto.
24209 * gdb.base/list0.c: ditto.
24210 * gdb.base/funcargs.c: ditto.
24211
24212Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
24213
24214 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
24215 $targetname, $serialport and $baud instead of hardwired variables.
24216 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
24217 target doesn't support signals.
24218
24219Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
24220
24221 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
24222
24223Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24224
24225 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
24226 Don't rely on the value of an auto variable before it has been
24227 initialized. Use gdb_test more.
24228
24229Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24230
24231 * lib/gdb.exp (default_gdb_version): A version number must start
24232 with a digit, but other than that contains all characters up to
24233 the first whitespace character.
24234
24235Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24236
24237 * gdb.base/commands.exp (breakpoint_command_test): New tests.
24238
24239Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24240
24241 * gdb.c++/*.exp: Warn if executable does not exist. The original
24242 reason for skipping the warning was that configure.in sometimes
24243 intentionally skipped building the executables but the tcl code
24244 had no way of knowing. That (a) was always bogus with respect to
24245 error handling, (b) is no longer true (right now there is no way
24246 to skip C++ tests).
24247
24248 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
24249
24250Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24251
24252 * gdb.base/list.exp: Add expect patterns for output from
24253 SunPRO compiled executables.
24254 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
24255 types.
24256
24257Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24258
24259 * gdb.base/break.exp (test_next_with_recursion): Accept any line
24260 number (we are already testing that the correct source line text
24261 gets printed).
24262
24263 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
24264 that is what is intended, but something needed to be done to get
24265 sunos4 native working again.
24266
24267 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
24268
24269 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
24270 apparently went with a (very) old xfail.
24271
24272Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
24273
24274 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
24275 runto_main is a proc in gdb.exp that will do 'step' for target use
24276 stubs.
24277 * gdb.base/exprs.exp: ditto.
24278 * gdb.base/interrupt.exp: ditto.
24279 * gdb.base/opaque.exp: ditto.
24280 * gdb.base/printcmds.exp: ditto.
24281 * gdb.base/ptype.exp: ditto.
24282 * gdb.base/scope.exp: ditto.
24283 * gdb.base/setvar.exp: ditto.
24284 * gdb.base/signals.exp: ditto.
24285 * gdb.base/twice.exp: ditto.
24286 * gdb.c++/classes.exp: ditto.
24287 * gdb.c++/inherit.exp: ditto.
24288 * gdb.c++/templates.exp: ditto.
24289 * gdb.base/break.exp: no run and hit main for stubs. Change line
24290 numbers for breakpoints and info breakpoint.
24291 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
24292 breakpoint().
24293 * gdb.base/callfuncs.c: ditto.
24294 * gdb.base/exprs: ditto.
24295 * gdb.base/interrupt.c: ditto.
24296 * gdb.base/opaque0.c: ditto.
24297 * gdb.base/printcmds.c: ditto.
24298 * gdb.base/ptype.c: ditto.
24299 * gdb.base/scope0.c: ditto.
24300 * gdb.base/setvar.c: ditto.
24301 * gdb.base/signals.c: ditto.
24302 * gdb.base/twice.c: ditto.
24303 * gdb.c++/misc.cc: ditto.
24304 * gdb.c++/templates.cc: ditto.
24305
24306Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24307
24308 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
24309
24310 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
24311 somewhere between `read' and `main.c'. I'm pretty sure the
24312 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
24313 and it isn't particularly useful.
24314
24315 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
24316
24317Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24318
24319 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
24320
24321Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
24322
24323 * config/mt-slite: add LIBS and -nostdlib.
24324 * config/slite-gdb.exp: add this new file to support sparclite target.
24325
24326Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
24327
24328 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
24329
24330 * gdb.base/a2-run.exp: Change argument to istarget from
24331 "*-*-vxworks" to "*-*-vxworks*".
24332 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
24333
24334Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
24335
24336 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
24337 will not runto main but do a 'step' to step out of breakpoint().
24338 * config/mt-slite: add -Dusestubs.
24339
24340Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24341
24342 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
24343 instead of just @.
24344
24345 * gdb.base/signals.exp: Add test for "handle all print".
24346 * TODO: Remove "handle all print". Also remove item about
24347 checking copyright date (I don't like the idea of a spurious FAIL
24348 based on when we run the tests).
24349
24350 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
24351 for SunOS4 (reason for failure not investigated). Remove
24352 redundant test for $binfile.
24353
24354 * gdb.base/nodebug.c (array_index): Call malloc.
24355
24356 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
24357
24358Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
24359
24360 * gdb.base/recurse.exp: Update gdb_test invocation to use new
24361 conventions and slightly simplify the matching regexp.
24362
24363Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24364
24365 * gdb.base/break.exp: Update gdb_test invocation to use new
24366 convention.
24367
24368 * lib/gdb.exp: If noargs is not set, set it to 0.
24369
24370 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
24371 tests unique.
24372
24373 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
24374
24375Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24376
24377 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
24378 one argument of type "<non-float parameter>".
24379
24380Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
24381
24382 * config/rom68k.exp: New file to support Motorola IDP board.
24383 * gdb.base/a2-run.exp: Skip this file if noargs is set.
24384 * gdb.base/break.c: Change things around so that this program
24385 doesn't depend upon args. This is necessary to make remote
24386 targets work (in general, they can't take args).
24387 * gdb.base/break.exp: Don't try to send args to program. Don't
24388 expect output. Also, replace lots of code with gdb_test.
24389
24390Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24391
24392 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
24393 printing of '\'' (which is what the comment says we are testing,
24394 even though we were not), not '''.
24395 (test_integer_literals_rejected): Test that printing ''' is an error.
24396
24397 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24398 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
24399 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
24400 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
24401 Use gdb_test not test_print_accept.
24402 * lib/gdb.exp: Remove test_print_accept.
24403
24404 * gdb.base/signals.exp (signal_tests_1): Make pass message
24405 consistent with fail message.
24406
24407 * gdb.base/whatis.exp: Remove xfails for printing char vs.
24408 unsigned char; the bug (PR 1821) is fixed.
24409
24410 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
24411
24412 * gdb.base/scope.exp (test_at_localscopes): Call pass for
24413 successful tests--makes xfailing them work right.
24414
24415Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24416
24417 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
24418 only \r\n, not .*. The test can pass .* as the last thing in
24419 $pattern if that is what it wants. In addition to providing this
24420 flexibility, this change should speed up pattern matching in cases
24421 where the pattern already ended with .* (there were a number of
24422 them). This change also helps catch bad patterns--in the old
24423 scheme the typo "char \*" instead of "char \\*" would pass. Now
24424 it is caught.
24425 * Many .exp files: Update callers.
24426
24427 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
24428 clearer and does not spuriously match multiple ('s. Likewise for
24429 ) and *.
24430
24431 * gdb.base/nodebug.exp: Test ability to call a function and pass
24432 it a string (even with no debugging info).
24433
24434 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
24435 "p '\'", which is the same as "p ''" once tcl gets done with
24436 quoting, to "p '\\'", which I suspect is what is intended (one
24437 backslash gets sent to GDB).
24438
24439 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
24440
24441Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24442
24443 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
24444 1817) was fixed literally years ago.
24445
24446Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24447
24448 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
24449 test, it causes stepping out of call_after_alloca_subr with
24450 optimizing compilers.
24451 (localvars_in_indirect_call): Consume GDB prompt if `finish'
24452 fails.
24453
24454 * gdb.c++/templates.exp: Source templ-info.exp only if
24455 the templates executable exists.
24456
24457 * gdb.c++/misc.cc (class Contains_static_instance,
24458 class Contains_nested_static_instance),
24459 gdb.c++/classes.exp (test_static_members): Test printing of
24460 a class that contains a static instance of the class.
24461
24462Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24463
24464 * gdb.base/langs2.c (cppsub_): Don't prototype.
24465 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
24466 only, I believe).
24467
24468Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24469
24470 * lib/gdb.exp (skip_chill_tests): New procedure.
24471
24472 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
24473
24474Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
24475
24476 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
24477 each expect pattern. Cuts runtime from 12 to about 4 seconds.
24478
24479Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24480
24481 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
24482
24483 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
24484 disassemble 8, not 16, instructions for part 4.
24485
24486 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
24487 support the latter anymore.
24488
24489 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
24490 -DNO_PROTOTYPES.
24491 * gdb.base/callfuncs.c: Control use of prototypes based on
24492 NO_PROTOTYPES, not __STDC__.
24493 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
24494 t_float_values2 tests if prototypes in use.
24495
24496 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
24497 t_double_values): When checking differences against DELTA, check
24498 that difference is within the range (-DELTA,DELTA), not just
24499 (-infinity,DELTA).
24500
24501Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
24502
24503 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
24504 'file' command firts, then 'target', then 'load', this is due to gdb
24505 target set up.
24506 * config/mips-gdb.exp: Fix a couple regular exp bugs.
24507
24508Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
24509
24510 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
24511 FP load/store variants.
24512 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
24513
24514Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24515
24516 * gdb.base/term.exp: Do not give a warning if not native, it is
24517 not an abnormal condition.
24518
24519Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
24520
24521 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
24522 t_char_array".
24523
24524Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24525
24526 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
24527 are getting the version number.
24528
24529 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
24530 if not native, it is not an abnormal condition.
24531
24532Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24533
24534 * lib/gdb.exp: Just use "file exists", rather than undocumented
24535 dejagnu procedure "findfile".
24536
24537Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24538
24539 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
24540 (LDFLAGS): Set to -Xlinker -Ur.
24541
24542 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
24543 Removed, these values are set by lib/gdb.exp.
24544
24545 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
24546
24547Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24548
24549 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
24550 of replicating gdb startup code.
24551
24552 * config/mt-vxworks (LDFLAGS): Set to -r.
24553 (CFLAGS_FOR_TARGET): Removed.
24554
24555 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
24556 (gdb) and gdb for vxworks uses (vxgdb).
24557
24558 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
24559 executable is not in the tree and host != target, use sed and
24560 program_transform_name to determine the gdb name used by the
24561 target.
24562
24563 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
24564 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
24565
24566Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24567
24568 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
24569 floats, chars, and shorts where there are ANSI-style function
24570 definitions.
24571
24572 * gdb.base/langs.exp, gdb.base/langs*: New test.
24573 * gdb.base/Makefile.in: Build it.
24574 * TODO: Remove item about checking that C names don't get C++
24575 demangling applied; this test tests it.
24576
24577Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24578
24579 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
24580 went with the const70 xfail. The xfail went away a year ago.
24581
24582 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
24583
24584 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
24585 for hp300.
24586
24587 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
24588
24589 * gdb.base/a1-selftest.exp: Don't run on hp300.
24590
24591Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24592
24593 * Makefile.in (site.exp): Set host_alias and target_alias as well
24594 as host_triplet and target_triplet.
24595
24596Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24597
24598 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
24599
24600 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
24601 places as other ecoff systems).
24602
24603 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
24604 ultrix.
24605
24606Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24607
24608 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
24609 remove them.
24610 * gdb.base/nodebug.exp: Accept "function" in addition to "text
24611 variable and "variable" in addition to "data variable".
24612 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
24613
24614 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
24615 2.
24616 * gdb.base/list1.c (long_line): Add additional statement at start
24617 of function.
24618 * gdb.base/list.exp (test_forward_search): Update line number to
24619 reflect new statement.
24620
24621Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24622
24623 * gdb.base/signals.exp: Reinitialize searched source directories
24624 after gdb_start call.
24625
24626Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
24627
24628 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
24629 * gdb.stabs/Makefile.in: Likewise.
24630
24631 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
24632 change. Instead split the tests into smaller pieces.
24633 * gdb.disasm/hppa.s: Corresponding changes.
24634
24635Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24636
24637 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24638 Quote ^C when passing it to stty. For some shells ^ is a pipe.
24639
24640 * gdb.base/funcargs.exp: Modify many tests so that every test
24641 either passes or fails. Make some test names unique.
24642
24643Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24644
24645 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24646 Call stty to set interrupt character.
24647
24648 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
24649 for HP assembler versus GNU assembler based on actual behavior of
24650 $(CC), rather than assuming that $(AS) is always the GNU assembler.
24651
24652 * TODO: Suggest a few more stepping tests.
24653
24654Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
24655
24656 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
24657 restart GDB for h8300 after a continue.
24658 (return): Add pattern to match a29k-udi behavior.
24659 * gdb.base/nodebug.exp: Remove obsolete comment.
24660 * gdb.base/regs.exp: New file, testing of register displays.
24661 * gdb.base/return.exp: Fix typo in reference to $objdir.
24662 * gdb.base/whatis.exp: Always start with a fresh GDB.
24663
24664Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24665
24666 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
24667 higher, these tests generate a lot of output.
24668
24669Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24670
24671 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
24672 code following the catch silently ignored some errors; without the
24673 catch they should be thrown like any other tcl error. Also, the
24674 catch used "" instead of {} which meant all the callers who wanted
24675 to include one of the characters "[]$ had to quote it an extra time.
24676 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
24677 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
24678 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
24679 Remove extra quoting.
24680
24681Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
24682
24683 * gdb.base/commands.exp: Make test names unique; every test either
24684 passes or fails. Update some comments.
24685
24686 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
24687
24688Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24689
24690 The following fixes a FAIL caused by the fact that the alpha stabs
24691 configuration didn't use the ".if alpha" code in weird.def.
24692 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
24693 bit pointer, so the 32 bit version works even on the alpha.
24694 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
24695 Remove the stuff which allowed us to have separate versions for
24696 alpha and everything else.
24697
24698 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
24699 regexp which "info func operator\[\](" is supposed to match. Fix
24700 string to send to GDB. Note that GDB still doesn't work right. Add a
24701 new test for "info func .perator\[\](" which GDB does handle correctly.
24702
24703 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
24704
24705Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24706
24707 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
24708 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
24709 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
24710 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
24711 it makes the tests harder to understand and confuses test-o-matic.
24712 The preferred style is that each test provides a PASS or a FAIL,
24713 and has a unique message (e.g. "continue #54" not just "continue")
24714 which is the same for the pass and the fail.
24715 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24716 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
24717 to lib/gdb.exp.
24718 * gdb.base/printcmds.exp: Use test_print_accept. Remove
24719 prt_accept which was basically the same thing. Likewise for
24720 test_print_reject and prt_reject.
24721 * lib/gdb.exp (test_print_reject): Add some more error message
24722 patterns to match from the former printcmds.exp (prt_reject).
24723 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
24724 One defect of the passcount stuff is that some of it failed to
24725 report XPASS where appropriate.
24726 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
24727 stuff before and after arg in expected pattern.
24728 (test_paddr_operator_functions): Re-do test without print_addr_of;
24729 this is the only test which seems to want extra stuff there.
24730
24731Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24732
24733 * gdb.base/nodebug.exp: Update new tests to reflect improved
24734 wording of gdb output.
24735
24736 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
24737 and "ptype" work on variables in files compiled without -g.
24738 Replaces commented out "maint print msymbol" tests.
24739
24740Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24741
24742 * gdb.base/setvar.c (dummy): Call malloc.
24743
24744 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
24745 losing with the irix4 sed.
24746
24747 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
24748 ALRM" on irix4.
24749
24750Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24751
24752 * TODO: Remove items about corefile.exp testing new exec-file and
24753 backtrace; both are now done. Add items about printing enums.
24754
24755Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24756
24757 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
24758 "get signal $thissig" test fails.
24759
24760 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
24761
24762Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24763
24764 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
24765 compiler warning with dec alpha compiler.
24766
24767 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
24768 extra \n from gdb_test call (this explains why the prompt test
24769 that I removed yesterday was there).
24770 (user_defined_command_test): Remove extra \n and prompt test.
24771
24772 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
24773 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
24774 doesn't exist.
24775 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
24776 Also remove alpha workaround, which turns out to be because
24777 SIGABRT == SIGLOST.
24778
24779 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
24780
24781 * gdb.base/help.exp: Don't test "help show".
24782
24783Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24784
24785 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
24786 "set print address" is on.
24787 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
24788 pass prompt to gdb_test; gdb_test already looks for the prompt.
24789
24790 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
24791
24792 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
24793 was a vestige of the manual TESTSTRATEGY, and the purpose of it
24794 was to make sure that gdb can read a core file. But (a) the "read
24795 the corefile" part didn't make it to a1-selftest.exp, we just
24796 delete the corefile after creating it, and (b) we test reading
24797 corefiles in corefile.exp anyway. Also, this test left around a
24798 xgdb process on Solaris.
24799
24800 * gdb.base/corefile.exp: Also test backtrace.
24801
24802Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
24803
24804 * gdb.base/commands.exp: Test a simple user defined command with
24805 arguments and if/while statements; verify the full user command is
24806 printed by "show user".
24807
24808 * gdb.base/commands.exp: Test if/while commands as part of a
24809 breakpoint command list; verify they appear in breakpoint
24810 information.
24811
24812Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24813
24814 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
24815 than by dividing by zero.
24816
24817Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
24818
24819 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
24820 performing an inferior call with watchpoints enabled.
24821 * gdb.base/watchpoint.c (main): Delete second unnecessary read
24822 call.
24823
24824Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24825
24826 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
24827 of "file" command.
24828
24829 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
24830 Add additional pattern for when "int operator int(void);" appears
24831 in a different order.
24832
24833Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24834
24835 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
24836
24837 * gdb.base/help.exp: Replace most of docstrings for "info signals"
24838 and "signal" with ".*".
24839
24840Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24841
24842 * TODO: Add note about "handle all nostop".
24843
24844 * gdb.base/{sigall.c, sigall.exp}: New test.
24845 * gdb.base/Makefile.in: Add it.
24846
24847Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
24848
24849 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
24850 when invoking GDB, suppresses any windowing interface.
24851
24852Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
24853
24854 * config/sim-gdb: New file, simulator testing support.
24855
24856Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
24857
24858 * gdb.base/interrupt.exp: Test calling func1 twice.
24859
24860Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
24861
24862 * gdb.base/list.exp (test_forward_search): Set timeout higher
24863 when we'll be getting lots of output from gdb.
24864
24865 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
24866 "init_malloc" to after the expect statement. Run it if that
24867 regexp is taken, but also for two others which happen if source
24868 cannot be found.
24869
24870Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24871
24872 * gdb.base/printcmds.exp: New test, for printing register before
24873 program is running.
24874
24875Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24876
24877 * gdb.base/list.exp: Correct some alternate expect patterns
24878 to reflect changes in list1.c.
24879
24880Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24881
24882 * TODO: Add item regarding large frames.
24883
24884 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
24885
24886 * TODO: Remove item about enabling return.exp; it
24887 is enabled. Suggest a few more "return" tests.
24888
24889Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24890
24891 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
24892 anonymous unions.
24893
24894Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24895
24896 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
24897 and pr-5646.o, so "make" is the same as "make all", not "make
24898 pr-4975.o".
24899
24900Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
24901
24902 * gdb.base/list.exp: Adjust expectations to reflect changes in
24903 list1.c.
24904 (test_forward_search): New test proc.
24905 * gdb.base/list1.c (long_line): New function, has long source line.
24906
24907Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
24908
24909 * gdb.base/a1-selftest.exp: Change initial stepping to know about
24910 additional line of code that was added.
24911
24912Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
24913
24914 * gdb.disasm/hppa.s: Break the large branching tests into smaller
24915 tests so as not to overflow expect's input buffers.
24916 * gdb.disasm/hppa.exp: Corresponding changes.
24917
24918Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24919
24920 Beginnings of template debugging tests.
24921 * gdb.c++/templ-info.cc: New file to test for template
24922 debugging capability of the compiler.
24923 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
24924 templ-info.cc.
24925 * gdb.c++/templates.cc: Add explicit template instantiations
24926 to enable compiling with -fno-implicit-templates. Add destructor
24927 and 'value' method to T5 class for template tests.
24928 * gdb.c++/templates.exp: Add testcases for printing of template
24929 types, setting breakpoints on template methods and calling a
d63a86f8 24930 template method.
c906108c
SS
24931
24932Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
24933
24934 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
24935 branch target since some assemblers (gas-2.5) may emit a
24936 relocation for the branch instead of resolving it in the
24937 assembler.
24938
24939Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24940
24941 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
24942 through signal handler.
24943
24944Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24945
24946 * configure.in (*-*-netware): Use config/mt-netware.
24947
24948 * config/mt-netware: New file.
24949 * config/mt-i386-netware: Removed, separate configs for different
24950 netware architectures are no longer needed now that we have
24951 --with-headers.
24952
24953Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24954
24955 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
24956 by the recent changes to use ANSI C arithmetic conversions.
24957
24958Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24959
24960 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
24961 bug involving using inferior_pid to figure out whether to select a
24962 frame.
24963
24964Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
24965
24966 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
24967 match the current disassembler output.
24968
24969Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
24970
24971 * gdb.fortran/exprs.exp: Expect VOID instead of void.
24972 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
24973 types, expect "int" as type of integer values (for now).
24974
24975Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
24976
24977 * gdb.base/commands.exp: New tests for if/while commands.
24978
24979Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
24980
24981 * lib/gdb.exp (runto): Replace sub-pattern for hex value
24982 by .*, since hex values have different syntax in Chill mode.
24983
24984Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24985
24986 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
24987 linefeed from expect pattern for repeated types with indices > 9.
24988
24989Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
24990
24991 First part of Fortran test suite.
24992 * gdb.fortran: New directory.
24993 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
24994
24995Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24996
24997 * gdb.base/default.exp: Update expect pattern for load command
24998 without arguments.
24999
25000Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
25001
25002 * configure.in: Change i386 to i[345]86.
25003 * gdb.base/configure.in: Likewise.
25004 * gdb.c++/configure.in: Likewise.
25005 * gdb.chill/configure.in: Likewise.
25006
25007Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
25008
25009 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
25010 patterns, since that is not a valid context for comments.
25011
25012Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
25013
25014 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
25015 repeated types and repeated types with indices > 9.
25016
25017Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
25018
25019 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
25020 2417; old bug has been fixed.
25021
25022Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
25023
25024 * gdb.base/interrupt.exp: When trying to wake up the inferior,
25025 send the newline ourselves instead of assuming gdb_test will do
25026 so when passed an empty input string.
25027
25028 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
25029 stabs testcode.
25030
25031Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25032
25033 * lib/gdb.exp (gdb_test): Don't send anything if the first
25034 argument is an empty string. This makes cases where we want to
25035 match output that is already in expect's buffers (for example,
25036 matching a breakpoint after gdb_run_cmd has been called) work
25037 reliably.
25038
25039Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25040
25041 * config/netware.exp: New file.
25042
25043Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25044
25045 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
25046 the -B and -L prefixes so we can find the debugging stub.
25047
25048 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
25049 there and we are using the gcc from the tree.
25050
25051 * gdb.base/types.c: Removed.
25052
25053 * gdb.base/configure.in: Look for makefile fragments in ../config.
25054 Recognize i386-*-netware.
25055 * gdb.c++/configure.in: Likewise.
25056
25057Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25058
25059 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
25060 the correct TCL syntax.
25061
25062Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25063
25064 * gdb.base/opaque.exp: use runto instead of messing around with
25065 breakpoints. Simplify by using gdb_test.
25066
25067 * gdb.base/bitfields.exp: restart between tests on netware targets
25068 because breakpoints aren't relocated after target death. Run
25069 processes to completion.
25070
25071 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
25072
25073Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
25074
25075 * Makefile.in: Remove extra tabs that confuse some versions
25076 of "make". Use the newly built gdb to test with by default,
25077 rather than the first one in the tester's search path.
25078
25079Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
25080
25081 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
25082
25083 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
25084 condition help.
25085
25086Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25087
25088 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
25089
25090 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
25091 running.
25092 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
25093 * gdb.base/funcargs.exp: Likewise.
25094
25095 * gdb.base/bitfields.exp: Simplify by using gdb_test.
25096 * gdb.base/funcargs.exp: Likewise.
25097
25098 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
25099 message is "".
25100
25101Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25102
25103 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
25104 return,signals,twice}.exp: Handle non-existant binaries
25105 consistantly.
25106
25107 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
25108 * gdb.base/Makefile.in: Don't try to generate a core dump, we
25109 might testing a cross development system.
25110
25111Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25112
25113 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
25114 runtest script is relative to ${srcdir}, not ${rootdir}.
25115
25116Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
25117
25118 * gdb.base/signals.exp: Allow for optionality of breakpoint
25119 address.
25120
25121Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25122
25123 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
25124
25125Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25126
25127 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
25128 for size_t definition.
25129 * gdb.c++/templates.cc: Likewise
25130
25131 * config/mt-i386-netware: New file.
25132
25133 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
25134 defined.
25135
25136 * gdb.base/Makefile.in: Added support for systems that name core
25137 files by appending "core" to the program name.
25138 * gdb.base/a1-selftest.exp: Likewise.
25139
25140Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25141
25142 * gdb.base/return.exp: Add comment and message for `return double'
25143 test failure on Sparc Solaris.
25144
25145Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
25146
25147 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
25148
25149Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25150
25151 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
25152 from optimizing them away.
25153 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
25154 patterns to include default constructors and assignment operators,
25155 to match gcc versions beyond 2.5.8. Accept any cplus demangling
25156 character in the output of the virtual base pointer.
25157
25158Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25159
25160 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
25161 expression match in print_addr_of to avoid unintented matches.
25162 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
25163 versions up to 2.5.8.
25164
25165Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25166
25167 * gdb.base/list.exp: Tweak alternate pattern for listing of an
25168 included file to run under newer versions of expect.
25169 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
25170 consecutive >'s in templates to accomodate recent cplus-dem.c change.
25171 Remove xfail for the virtual table of BDDHookV.
25172
25173Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
25174
25175 * lib/gdb.exp (string_to_regexp): Set a default result.
25176 (default_gdb_start): Fix misleading message.
25177
25178Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
25179
25180 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
25181 Remove all CC, etc definitions.
25182 * config/mt-hpux: New file.
25183 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
25184 (CFLAGS, LDFLAGS): Define.
25185 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
25186
25187 * Makefile.in (site.exp): Don't insert host_os, etc.
25188 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
25189 (distclean): Check existence of subdir.
25190 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
25191 * gdb.base/Makefile.in: General cleanup and simplification.
25192 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25193 to build executables. Use default rule to build .o files.
25194 (EXPECT, RUNTEST, CC): Fix relative pathname.
25195 (site.exp): Don't insert host_os, etc.
25196 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
25197 and/or SIGUSR1 defined.
25198 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
25199 * gdb.c++/Makefile.in: General cleanup and simplification.
25200 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25201 (CFLAGS): Remove.
25202 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
25203
25204Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
25205
25206 * gdb.base/recurse.exp: Misc changes to get tests running again
25207 after Kung's changes to the watchpoint code.
25208 * gdb.base/watchpoint.exp: Likewise.
25209
25210Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
25211
25212 * lib/gdb.exp (string_to_regexp): Convert {\} also.
25213
25214Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
25215
25216 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
25217 * lib/gdb.exp (default_gdb_start): Define.
25218 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
25219 gdb.base/funcargs.exp, gdb.base/opaque.exp,
25220 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
25221 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
25222 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
25223 Don't call gdb_target_udi in between tests.
25224
25225Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25226
25227 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
25228 (which was basically just a local version of the same thing). In
25229 addition to avoiding duplication, gdb_test_exact is faster.
25230 * lib/gdb.exp (gdb_test_exact): Fix typo.
25231
25232 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
25233 don't give an error.
25234
25235 * gdb.base/term.exp: Call delete_breakpoints before starting.
25236
25237 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
25238 (t10): Add comment.
25239
25240Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25241
25242 Reorganization of the GDB Test Suite.
25243
25244 * gdb.base: New directory, contains all the basic tests.
25245 * gdb.c++: New directory, tests specific to C++.
25246 * gdb.chill: New directory, tests specific to Chill.
25247 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
25248 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
25249 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
25250 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
25251 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
25252 t30-31 to chill).
25253 * */gdbme.*: Rename to match appropriate expect scripts.
25254 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
25255 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
25256 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
25257 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
25258 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
25259 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
25260 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
25261 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
25262 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
25263 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
25264 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
25265 gdb.c++/virtfunc.cc: New names of C++ files.
25266 * gdb.chill/chillvars.ch: New name of Chill file.
25267 * gdb.base/configure.in, gdb.c++/configure.in,
25268 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
25269 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
25270 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
25271 * configure.in (configdirs): Update to reflect directory changes.
25272 (target_abbrev): No longer define for any configuration.
25273 * Makefile.in: Cosmetic improvements to header comments.
25274
25275Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
25276
25277 Various changes to gdb.t31:
25278
25279 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
25280 * gdbme.ch: Make all key-words and predefineds be upper-case.
25281 * chillvars.exp: Expect key-words and predefinds in upper-case.
25282
25283 * chillvars.exp: Use gdb_test_exact many places.
25284 Change expected output for arrays (which now includes index labels).
25285
25286 * pr-5020.exp, gdme.ch (module PR_5020):
25287 New test, for PR-5020.
25288
25289Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
25290
25291 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
25292 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
25293
25294Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
25295
25296 * Makefile.in: Fix bit-rot in definitions of CHILL,
25297 CHILL_FOR_TARGET and Chill_LIB.
25298 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
25299 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
25300 CHILL, and CHILL_LIB.
25301
25302Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
25303
25304 * Revert the previous changes. Please see Rob's directory
25305 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
25306
25307Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
25308
25309 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
25310 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
25311 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
25312 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
25313 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
25314 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
25315 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
25316 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
25317 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
25318 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
25319 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
25320 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
25321 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
25322 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
25323 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
25324 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
25325 changes from 94Q1.
25326
25327Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
25328
25329 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
25330 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
25331 Rob's new testing fragments.
25332
25333Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
25334
25335 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 25336 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
25337
25338Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25339
25340 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
25341 version also, match on casted version strings, and match on
25342 gdb startup case where the line numbers might be messed up.
25343
25344Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
25345
25346 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 25347 (CFLAGS): Delete it from here.
c906108c
SS
25348
25349Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
25350
25351 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
25352
25353Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
25354
25355 * Makefile.in (RUNTEST): Default to just "runtest".
25356
25357Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25358
25359 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
25360 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
25361 the code has been restructured.
25362
25363Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25364
25365 * gdb.t00/default.exp (set write): Allow any number of \r and/or
25366 \n, not just one of each.
25367
25368 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
25369 /bin/cc gives a warning if you do.
25370
25371Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
25372
d63a86f8 25373 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
25374 __t10ListS_link1ZUiRCUiPT0
25375
25376Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25377
25378 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
25379 on local variables in recursive functions.
25380
25381 * gdb.t07/Makefile.in: Build the new test.
25382
25383Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25384
25385 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
25386 directly. Instead compare the return values from actual calls.
25387
25388Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
25389
25390 * Makefile.in (check): Set TCL_LIBRARY for runtest.
25391
25392Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25393
25394 * From Peter Schauer with minor modifications.
a9c64011
AS
25395 * gdb.t15/return.exp (return_tests): Handle targets where "return"
25396 stops in mid-line in the caller. Add xfail for returning a float
25397 value on X86 targets.
c906108c
SS
25398
25399Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25400
25401 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
25402 to avoid expect lossage.
25403 (fmem_LRbug_tests): Likewise.
25404 * gdb.disasm/hppa.s: Corresponding changes.
25405
25406 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
25407 conditions to work with latest dejagnu/expect.
25408
25409 * gdb.t15/funcargs.exp (finish from indirect call): No longer
25410 expected to fail on the PA.
25411 (backtrace in call with trampolines): Explicitly require main
25412 to be frame #1 (no trampolines should show up in backtrace).
25413
25414 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
25415 "continue -expect".
25416 * gdb.t06/break.exp: Likewise.
25417 * gdb.t07/watchpoint.exp: Likewise.
25418 * gdb.t13/bitfields.exp: Likewise.
25419 * gdb.t15/{funcargs,return}.exp: Likewise.
25420 * gdb.stabs/weird.exp: Likewise.
25421 * config/{mips,udi}-gdb.exp: Likewise.
25422
25423 * hppa.sed: Enclose comments within a sed command to avoid
25424 losing with the old OSF1 sed.
25425
25426Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25427
25428 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
25429 sequent dynix.
25430 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
25431 * gdb.t15/funcargs.exp: Conditionally step again to really
25432 finish from marker_call_with_trampolines. Handle the case where
25433 the first step from within call_with_trampolines already steps
25434 us back to main.
25435 * gdb.t15/gdbme.c: Add comment to closing brace of
25436 call_with_trampolines for funcargs.exp.
25437
25438Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25439
d63a86f8 25440 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
25441 Fix typo(s).
25442
25443Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25444
25445 * gdb.t07/gdbme.c: More code for watchpoint testing.
25446
25447 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
25448 "Hardware watchpoint" throughout file.
25449 (test_watchpoint_triggered_in_syscall): New test.
25450 (test_complex_watchpoint): New test.
25451
25452Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25453
25454 * gdbme.c (call_with_trampolines): New function to try and step
25455 into. Tests trampoline problems on the PA.
25456
25457 * funcargs.exp (localvars_in_indirect_call): No longer expect
25458 stepping into indirect call to fail on PAs.
25459 (test_stepping_over_trampolines): New test.
25460
25461Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25462
25463 * TODO: Add suggestions for static member function tests, and
25464 completion tests.
25465
25466Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25467
25468 * TODO: Add suggestions for "p/a" tests.
25469
25470 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
25471 (default_gdb_exit): Replace all the hair with sending "quit" to
25472 the process with a simple close.
25473
25474Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25475
25476 * TODO: Add suggestions for shared library tests.
25477
25478Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25479
25480 * TODO: Add suggestions for x/s tests.
25481
25482Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25483
25484 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
25485 "enable once", and "enable breakpoints once" with ".*".
25486
25487Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25488
25489 * TODO: Add suggestions about structure passing tests.
25490
25491Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25492
25493 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
25494 the primary1 test, use work around if __GNUC__ < 2.
25495 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
25496 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
25497 Test for bad output rather than waiting for timeout. Issue
25498 second continue only if first continue failed.
25499
25500Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25501
25502 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
25503 operator[] test with gdb_test because the old code didn't seem to
25504 be getting the quoting right with the new dejagnu.
25505
25506Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
25507
25508 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
25509 one from the path.
25510 * Makefile.in: Use a fresh expect if there is one, use runtest
25511 from the src tree if there is one.
d63a86f8 25512
c906108c
SS
25513Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25514
25515 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
25516 next over recursive call. Revise the tests from that point on
25517 (which had been skipped) to match GDB's actual (correct) output.
25518
25519 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
25520 with next over a breakpoint whose condition is false.
25521
25522 * gdb.t00/help.exp: Comment out "help set print" tests just like
25523 (and for same reason as) "help set" test.
25524
25525Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25526
25527 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
25528 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
25529
25530Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25531
25532 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
25533 necessary gdb_target_udi.
25534
25535 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
25536
25537 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
25538 1838 and 2417; they are fixed.
25539
25540 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
25541 gdb.t03/ptype.exp (ptype structure, ptype union):
25542 Remove xfails; the test is looser than when the xfails were added.
25543
25544 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
25545 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
25546
25547 * gdb.t01/run.exp: Only run shell test if isnative.
25548
25549 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
25550 since "run" automatically loads if necessary. Call gdb_target_udi
25551 after the "file" since "file" kills any execution target.
25552
25553 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
25554 GDB. GDB doesn't work that way (not anymore at least) on UDI.
25555 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
25556 argument for UDI.
25557
25558Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25559
25560 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
25561
25562 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
25563
25564Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25565
25566 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
25567 properly quoting regexps. This makes the second argument to
25568 demangle a fixed string, which matches the callers, instead of a
25569 shell-style pattern which is what the previous implementation
25570 used. Update some of the callers.
25571
25572Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25573
25574 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
25575 (comib_nullified_tests): Fix typo.
25576 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
25577 strings. No longer expected to fail.
25578
25579 * gdb.disasm/hppa.s (addib_tests): Fix typo.
25580 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
25581 strings. No longer expected to fail.
25582
25583 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
25584 string. No longer expected to fail.
25585
25586Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25587
25588 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
25589 No longer expected to fail.
25590
25591 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
25592 string. No longer expected to fail.
25593
25594Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25595
25596 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
25597 only in the names (I probably got most of them). I was even
25598 generous with some which differed in underscores in names, and
25599 probably missed a few, and I *still* was able to remove almost a
25600 third of the file with almost no impact on testsuite coverage.
25601
25602Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25603
25604 * gdb.t00/default.exp: Match udi_attach error message as well as
25605 the one from child_attach.
25606
25607 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
25608
25609 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
25610
25611 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
25612 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
25613
25614 * Move test with enums and partial symbols back to
25615 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
25616 Reverts the change of 26 May 93. Per today's change to
25617 stabs.texinfo, the behavior that weird.exp was expecting was
25618 unreasonable; what is important is that the compiler+gdb get
25619 things right, which happens with a recent gcc. Also fix the test
25620 to deal with native compilers which put out the stab gdb can't
25621 deal with.
25622
25623Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25624
25625 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
25626 in the names. The main thing these accomplish is to slow things down.
25627 Many more such duplicates surely remain.
25628
25629 * gdb.t00/help.exp: Comment out "help support" test just like
25630 (and for same reason as) "help set" test.
25631
25632Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
25633
25634 * gdb.t06/break.exp: Remove setup_xfails for
25635 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
25636 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
25637 about known bug in gcc to include up through 2.5.8.
25638 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
25639 well as "_vb$".
25640 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
25641 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
25642 with latest gcc and gdb.
25643 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
25644 well as "_vb$".
25645
25646Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25647
25648 * configure.in (hppa*-*-*): Also configure and build stabs-only
25649 tests.
25650
25651Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25652
25653 * gdb.t10/hppa.mt: A makefile fragment for the PA.
25654 * gdb.t10/configure.in (hppa*-*-*): Use it.
25655
25656Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25657
25658 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
25659
25660Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25661
25662 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
25663 versions prior to 1.13.5.
25664
25665Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25666
25667 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
25668 the prompt is at the start of a line.
25669
25670Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25671
25672 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
25673 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
25674 in the copr tests now.
25675 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
25676 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
25677 expected to fail.
25678
25679Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
25680
25681 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
25682 gdb.t31/chillvars.exp, lib/gdb.exp:
25683 Tweak to run under either version of expect.
25684 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
25685 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
25686 * gdb.t11/list.exp: Remove extraneous whitespace.
25687
25688Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25689
25690 * gdb.t16/printcmds.exp (test_print_strings): Accept
25691 "(unsigned char *) " before the string.
25692
25693 * TODO: Add notes about printing of fancy types and GDB expressions.
25694
25695Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
25696
25697 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
25698 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 25699 if doing mips-idt-ecoff.
c906108c
SS
25700
25701Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
25702
25703 * Most .exp files: Tweak to run under either version of expect.
25704
25705Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25706
25707 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
25708 xfails; I'm not sure why they are failing, but not because of PR 1806.
25709
25710Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
25711
25712 * config/unix-gdb.exp: Remove gdb_unload cause it's already
25713 defined in lib/gdb.exp.
25714
25715Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25716
25717 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
25718 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
25719 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
25720 have to be typeless.
25721
25722Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25723
25724 * TODO: Add suggestion for copyright year test.
25725
25726Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
25727
25728 * configure.in (*-*-lynxos*): Add stabs tests.
25729
25730Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25731
25732 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
25733 so insert a tab before any assembler directive in column zero.
25734
25735 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
25736 stores.
25737 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
25738 stores.
25739 (fpu_short_memory_tests): Likewise.
25740
25741Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25742
25743 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
25744 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
25745 .stabs directives in comments.
25746
25747Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25748
25749 * TODO: New file, describing tests we could write.
25750 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
25751
25752Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25753
25754 * gdb.t06/signals.exp: Add kludge to force re-sync.
25755
25756 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
25757 to xgdb instead of gdb, get out of gdb.
25758
25759Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
25760
25761 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
25762 for info.
25763
25764Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25765
25766 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
25767 * gdb.stabs/configure.in (hppa*-*-*): Use it.
25768 * gdb.stabs/hppa.sed: New sed script for the PA.
25769
25770Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25771
25772 * gdb.stabs: Re-write weird.def and configuration to use sed
25773 instead of cpp. sed is portable and POSIX; cpp is neither.
25774
25775Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25776
25777 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
25778
25779Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25780
25781 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
25782
25783Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25784
25785 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
25786 "_vb$".
25787 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
25788 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
25789
25790Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25791
25792 * lib/gdb.exp: Comment out code which depends on non-existent
25793 `transform' procedure.
25794
25795Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
25796
25797 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
25798 * lib/gdb.exp: Transform tool name.
25799 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
25800 1.1's new error handling system.
25801
25802Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25803
25804 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
25805
25806Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25807
25808 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
25809 They made pattern matching so slow that timeouts happened on
25810 heavily loaded systems. Now any output from "show print" which
25811 gets us back to the GDB prompt is a PASS.
25812
25813Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
25814
25815 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
25816
25817Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25818
25819 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
25820
25821 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
25822 It is not from PR 3220.
25823
25824Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25825
25826 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
25827 just started failing because they depended on the order the
25828 subcommands are presented, or exact docstring text. This kind of
25829 test is a pain and has minimal benefit.
25830
25831Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25832
25833 * gdb.t09/corefile.exp: At end of test, use "core" command with
25834 no arguments.
25835
25836Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
25837
25838 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
25839 17}/Makefile.in: Make it possible to run the testsuite with Sun
25840 make and CC = cross gcc by adding explicit build rules for .o
25841 files.
25842
25843Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25844
25845 * gdb.t15/funcargs.exp: Don't put comments on same line as
25846 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 25847
c906108c
SS
25848Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25849
25850 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
25851
25852Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
25853
25854 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
25855 * gdb.t20/inherit.exp: remove three dumplicate entries.
25856
25857Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25858
25859 * gdb.t06/break.exp: For "next over recursive call", fail on any
25860 incorrect output, not just on "factorial (value=2)".
25861
25862Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25863
25864 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
25865 working now. Add an xfail if accesing a bss variable causes
25866 a memory error if the target is not yet run.
25867
25868Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25869
25870 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
25871 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
25872 name of __st* demangling (2 strings). Did Kung really get the
25873 more than 95 others right without testing them?
25874
25875Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
25876
25877 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
25878
25879Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
25880
25881 * configure.in (configdirs): Add gdb.disasm
25882 * gdb.disasm: New directory for GDB disassembler tests.
25883 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
25884
25885Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25886
25887 * gdb.t00/help.exp: Don't test "help set".
25888
25889 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
25890 from within expect statements. None of these happen anymore and
25891 they cause regressions to be silently unnoticed.
25892
25893 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
25894 messages) about known failures with gcc cygnus-2.4.5-930417.
25895
25896 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
25897 comp-info.exp so it gets built if it doesn't exist.
25898
25899 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
25900 it is no longer used.
25901 * gdb.t13/comp-info.c: Removed.
25902
25903Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25904
25905 * gdb.t06/signals.exp: Add xfail for sun3.
25906
25907Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25908
25909 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
25910 relevant because ^C doesn't get sent but failure can be reproduced
25911 interactively).
25912
25913Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25914
25915 * gdb.stabs/alpha.mt: New configuration file for alpha.
25916 * gdb.stabs/configure.in: Use it.
25917 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
25918 sharing with alpha.mt, redefine long to word via preprocessor.
25919 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
25920 for alpha.
25921 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
25922 native cc.
25923 * gdb.t00/teststrategy.exp: Change expect string so that we
25924 consume the `(xgdb)' from the command echo and from the gdb prompt.
25925 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
25926 gdb currently compares all values as long, so this failure probably
25927 applies to any configuration where LONGEST is bigger than a target int.
25928 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
25929 with gcc.
25930 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
25931 to handle opaque pointers, gcc is.
25932 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
25933 as first argument. Include <sys/types.h> and change all operator
25934 new definitions to use size_t.
25935 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
25936 now that we use size_t.
25937
25938Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25939
a9c64011 25940 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 25941 a long or float array cast all array members to the same type.
a9c64011 25942 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 25943 with 64 bit longs.
a9c64011 25944 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 25945 on alpha.
a9c64011 25946 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
25947
25948Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25949
25950 * gdb.t24 (demangle.exp): Constructors of templates have names like
25951 vector<int>::vector(int) not vector<int>::vector<int>(int). See
25952 section 14.6 of the ARM.
25953
25954 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
25955 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
25956 accomplish little and slow down the testsuite.
25957
25958 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
25959 Accept spaces various places.
25960
25961Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25962
25963 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
25964 with watchpoint enabled.
25965
25966 * Makefile.in: Remove definition of CC and remove the second
25967 definition of CXX (the "CXX = gcc" one remains). These definitions
25968 were causing backquotes to be expanded within backquotes, which
25969 doesn't work.
25970
25971Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
25972
25973 * gdb.t17/callfuncs.exp: Add "return 0" to end.
25974
25975Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25976
a9c64011
AS
25977 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
25978 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
25979 by mips cc and contains no stabs entries.
25980
25981Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
25982
25983 * config/vx-gdb.exp: Use fake device to load files rather than
25984 NFS.
25985 * lib/gdb.exp: New proc to do "file" command.
25986 * config/unix-gdb.exp: Use new "file" proc.
25987
25988Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
25989
25990 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
25991 Rework board rebooting slightly.
25992 (gdb_exit): Don't exit from the remote shell; there isn't one.
25993 * gdb.stabs/weird.exp: If a program is being debugged already,
25994 kill it.
25995 * gdb.t04/setvar.exp: Stop and restart gdb.
25996 * gdb.t05/expr.exp: Likewise.
25997 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
25998 restart gdb and reload the program.
25999 * gdb.t08/opaque.exp: Likewise.
26000 * gdb.t12/scope.exp: Likewise.
26001 * gdb.t13/bitfields.exp: Likewise.
26002 * gdb.t15/funcargs.exp: Likewise.
26003 * gdb.t20/classes.exp: Likewise.
26004 * gdb.t03/ptype.exp: Increase timeout.
26005 * gdb.t16/printcmds.exp (test_print_string_constants,
26006 test_print_array_constants): Likewise.
26007 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
26008 * gdb.t20/classes.exp (do_tests): Likewise.
26009 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
26010
26011Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
26012
26013 * gdb.stabs: Renamed *wierd* to *weird*.
26014
26015Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
26016
26017 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
26018 for timeout. Add "known gcc 2.4.5 bug" to failure message.
26019
26020Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
26021
26022 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
26023 (do_tests): Remove xfail for whatis on one_var and two_var.
26024
26025Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
26026
26027 * Makefile.in: Made cross building work better by adding
26028 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
26029
26030Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26031
26032 * gdb.t15/{return.c,return.exp,Makefile.in}:
26033 New test, currently commented out.
26034
26035Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
26036
26037 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
26038 still running and removes the leftover named socket so GDb can do
26039 clean restarts.
26040
26041Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
26042
26043 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
26044 console, not GDB.
26045 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
26046 cross testing works better with "make check"
26047 * config/unix-gdb: Use default procedures for exit and version.
26048 * config/vx-gdb.exp: Cleaned up and massaged back to working order
26049 with the newest VxWorks.
26050
26051Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26052
26053 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
26054 old form.
26055
26056 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
26057 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
26058
26059 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
26060
26061 * config/unix-gdb.exp: Remove this version of gdb_exit
26062 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
26063 Rob says he'll look at it when he gets back to testing boards.
26064
26065Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
26066
26067 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
26068 an expected fail for certain ptype commands.
26069
26070 * gdb.t20/classes.exp: Update expected results of "ptype class
26071 Base1" to account for the constructor that now appears in the type.
26072
26073Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
26074
26075 * configure.in (configdirs): Restore gdb.t04, which mysteriously
26076 disappeared from list.
26077 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
26078 "alldone" proc with call to cleanup and exit.
26079 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
26080 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
26081 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
26082 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
26083 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
26084 "alldone" proc with simple returns that suppress remaining
26085 tests. The alldone proc went away many months ago.
26086
26087Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26088
26089 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
26090
26091 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
26092
26093Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26094
26095 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
26096 as vax gdb will display them.
26097
26098Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26099
26100 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
26101 optimizers.
26102
26103 * scope.exp: Change "bad value for localval" messages so each one
26104 is unique.
26105
26106 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
26107 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
26108
26109 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
26110
26111Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26112
26113 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
26114 doesn't exist (due to optimization).
26115
26116Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26117
26118 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
26119 contains \r because the filename is long.
26120
26121 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
26122 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
26123
26124Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26125
26126 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
26127 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
26128 Ultrix.
26129 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
26130 int tests.
26131 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
26132
26133Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
26134
26135 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
26136
26137 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 26138 to match does not match the passing case but still matches the
c906108c
SS
26139 failing case.
26140
26141Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26142
26143 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
26144
26145Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
26146
26147 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
26148 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
26149 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
26150 Remove various versions of gdb_exit.
26151 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
26152 gdb_exit.
26153 * config/unix-gdb.exp: gdb_exit remains here, and should override
26154 the generic version, since it's doing a lot of wierd stuff that
26155 the other versions aren't. FIXME, fold it in, or abandon this
26156 version.
26157
26158Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26159
26160 * gdb.t24/demangle.exp: Add tests for PR 3220.
26161
26162Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26163
26164 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
26165
26166Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
26167
26168 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
26169 "i386-*-*". Works for i486 as well.
26170
26171 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
26172 bug, and expand domain of xfail to all SVR4 systems, since the
26173 actual problem is likely to be in generic SVR4 /proc support.
26174
26175Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26176
26177 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
26178
26179Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
26180
26181 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
26182 xfails for other systems. Match a missing 'Continuing.' as an
26183 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
26184
26185 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
26186 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
26187 Only issue warning for missing executables if -all option is used.
26188
26189 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
26190 file if -all option is used. It's like an unpredictable XFAIL.
26191
26192Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26193
26194 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
26195 for dynamically linked binaries.
26196
26197 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
26198
26199Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26200
26201 * gdb.t20/inherit.exp: Change message for "print tagless struct"
26202 to state that this is a known bug in old versions of g++.
26203
26204Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26205
26206 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
26207 while waiting for `Continuing'.
26208
26209Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
26210
26211 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
26212 in text, data, and bss.
26213 * gdb.t10/nodebug.c: Add local and global test variables for
26214 initialized and uninitialized data.
26215
26216Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26217
26218 * config/unix-gdb.exp (gdb_exit): Add "wait".
26219
26220Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26221
26222 * gdb.t06/signals.exp: xfail the continue from the handler for all
26223 targets.
26224
26225 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
26226 function with watchpoints enabled, the i386 call dummy starts with
26227 a call.
26228
26229 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
26230 386 bsd names its corefiles.
26231
26232Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
26233
26234 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
26235 compilers don't grok it.
26236 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
26237 with small octal ints rather than character constants, which
26238 are signed and might not fit if first promoted to int.
26239
26240Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
26241
26242 * gdb.t09/Makefile.in (clean): Remove corefile.
26243
26244Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26245
26246 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
26247
26248Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26249 and Jim Kingdon (kingdon@cygnus.com)
26250
26251 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
26252 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
26253 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
26254
26255Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26256
26257 * gdb.t17/interrupt.exp: Add xfail for hppa.
26258
26259Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26260
26261 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
26262 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
26263 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
26264 to determine signed-ness of bitfields and use the result to setup
26265 the xfail.
26266 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
26267 * gdb.t15/funcargs.exp: Use them to step until the second indirect
26268 call line is reached if necessary.
26269
26270Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26271
26272 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
26273
26274Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26275
26276 * gdb.t06/break.exp: Also test `clear' command.
26277
26278Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26279
26280 * gdb.t00/teststrategy.exp: Remove extra quote.
26281
26282 * gdb.t07/watchpoint.exp: Change xfail for calling function with
26283 watchpoint enabled to be for all non-68k machines.
26284
26285 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
26286
26287Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26288
26289 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
26290 targets use aout.mt instead of ecoff.mt as gas understands
26291 standard aout format.
26292
26293Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26294
26295 * lib/gdb.exp (runto): Don't insist that function we are running to
26296 was compiled with -g.
26297
26298 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
26299
26300 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
26301 to get back into the read system call.
26302 Accept leading newline in case where we woke it up.
26303
26304Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26305
26306 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
26307 to make the stabs test work on ecoff systems using gcc and -with-stabs.
26308 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
26309 enable ecoff configuration.
26310
26311Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26312
26313 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
26314
26315Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26316
26317 * gdb.t16/printcmds.exp: Add another printf test.
26318
26319Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
26320
26321 * configure.in: If configured -with-stabs on any target, add
26322 stabsdirs to configdirs.
26323
26324Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26325
26326 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
26327 fun" so pattern does not match the command itself.
26328
26329Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26330
26331 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
26332
26333Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26334
26335 * gdb.t17/interrupt.exp: Test for more things.
26336
26337Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26338
26339 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
26340 compiler arranges the code and line numbers.
26341
26342 * gdb.t17/interrupt.exp: Don't send \n after ^C.
26343
26344Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26345
26346 * gdb.t00/help.exp: Increase expect input buffer size.
26347
26348Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26349
26350 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
26351
26352 * gdb.t07/watchpoint.exp: Add xfail for hppa.
26353
26354 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
26355
26356 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
26357 [0-9]*, not just [0-9].
26358
26359Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26360
26361 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
26362
26363 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
26364
26365Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26366
26367 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
26368
26369Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26370
26371 * gdb.t06/signals.c: Add xfails for sun3.
26372
26373 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
26374
26375 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
26376 test_stepping tests.
26377
26378Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26379
26380 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
26381
26382 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
26383
26384 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
26385 rather than actually putting it through cpp twice.
26386
26387 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
26388
26389Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
26390
26391 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
26392 no longer needed.
26393
26394Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26395
26396 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
26397
26398 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
26399 C++ features prints as "struct", make it a pass, not an xfail.
26400
26401Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26402
26403 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
26404 Don't require VA to print as "class" rather than "struct".
26405
26406Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
26407
26408 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
26409
26410Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26411
26412 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
26413
26414Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26415
26416 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
26417 order.
26418
26419Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26420
26421 * gdb.t16/printcmds.exp: Add printf tests.
26422
26423 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
26424
26425 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
26426
26427Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
26428
26429 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
26430 pass counts, to counteract any existing or future setup_xfails.
26431
26432Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26433
26434 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
26435 {BEGIN,END}_COMMON for common block instead of STAB.
26436 * gdb.stabs/wierd.exp: Add xfail for rs6000.
26437
26438 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
26439 intp_var should be N_GSYM not N_LSYM.
26440 wierd-aout.S: Use a label for the value of the N_SO.
26441 wierd.def: Remove all backslashes.
26442 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
26443
26444Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26445
26446 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
26447 get the expected next to inheritance3.
26448
26449Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26450
26451 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
26452 now that gcc-2.4 gets it right.
26453
26454Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26455
26456 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
26457
26458 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
26459 generating comp-info.exp which works for cross-compilation.
26460
26461Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
26462
26463 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
26464 "*-*-sysv4.*".
26465
26466Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
26467
26468 * gdb.t01/run.exp: Start with a fresh gdb.
26469 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
26470 SVR4.x.
26471
26472Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
26473
26474 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
26475 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
26476 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
26477 Makefile.in (distclean, realclean): Remove gdbme.c from list of
26478 things to remove.
26479
26480Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
26481
26482 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
26483 test cases from bug reports.
26484
26485Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
26486
26487 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
26488 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
26489 avoid spurious xfails.
26490 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
26491 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
26492 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
26493
26494Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
26495
26496 * gdb.t00/teststrategy.exp: Rework to provide more useful
26497 description of each test, fix problem with systems that define
26498 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
26499 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
26500 results for "next over recursive call" so timeouts aren't taken
26501 by error.
26502
26503Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
26504
26505 * gdb.t12/scope.exp: Test printing of variables before run.
26506
26507 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
26508 printed in wrong order due to sorting.
26509
26510Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
26511
26512 * gdb.t00/teststrategy.exp: Fix expected results for printing
26513 user entered string constant. Is array of char, prints with no
26514 address.
26515
26516 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
26517 commands.
26518 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
26519 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
26520 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
26521 of struct of char arrays.
26522 * gdb.t00/radix.exp: New tests for radix commands.
26523
26524Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
26525
26526 * gdb.t16/printcmd.exp: Print a variable before running program
26527 (with xfail for AIX).
26528
26529Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
26530
26531 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
26532
26533 * gdb.t16/printcmd.exp: Don't print variables before running program.
26534
26535 * gdb.t06/break.exp: Don't require envp argument to main.
26536
26537 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
26538
26539 * gdb.t02/whatis.exp, gdb.t11/list.exp:
26540 Add xfails for rs6000.
26541
26542 * gdb.t02/whatis.exp: Change other tests not to re-test something
26543 we already tested.
26544
26545 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
26546 each type used has a variable of that type.
26547
26548Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
26549
26550 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
26551
26552Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
26553
26554 * configure.in: change srctrigger to be a file, not a directory
26555
26556Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
26557
26558 * configure.in (mips-idt-ecoff*): Added trailing '*'.
26559
26560 * gdb.t11/list.exp: Fixed a couple of typos.
26561
26562Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
26563
26564 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
26565 is fixed and PR is closed.
26566 * gdb.t16 (gdbme.c): Add simple test string variable.
26567 * gdb.t16 (printcmds.exp): Add tests with simple test string
26568 variable, primarily for boundaries on "set print elements".
26569
26570Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
26571
26572 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
26573 Make leading 0's optional and don't expect a tab in the middle
26574 of the number.
26575
26576 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
26577
26578 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
26579 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
26580 don't end command passed to gdb_test with newline.
26581
26582 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
26583 signed keyword away, don't expect signed bitfields to be signed.
26584
26585 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
26586 printing with only as many 1's as are in the field as well as printing
26587 with 32 1's (see comment).
26588
26589Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
26590
26591 * gdb.t00/default.exp: Start with a fresh gdb.
26592 * configure.in (configdirs): Remove gdb.t31 until the chill
26593 compiler works again. It no longer is able to find chillrt0
26594 since it isn't in libchill.a anymore.
26595 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
26596 wierd.o, make more modular.
26597 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
26598 spurious newlines that caused problems.
26599
26600Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26601
26602 * Move test with enums and partial symbols from gdb.t03/ptype.exp
26603 to gdb.stabs/wierd.exp since GCC has worked around the bug.
26604 gdb.stabs/wierd.{exp,def}: Many new tests.
26605
26606 * gdb.t00/default.exp: update info line for new message.
26607
26608 * gdb.t02/{whatis.exp,gdbme.c}:
26609 Test that "char *" doesn't print as "caddr_t".
26610
26611Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26612
26613 * gdb.t00/help.exp: Use .* in place of some help messages which
26614 just changed.
26615 gdb.t00/default.exp: Update "info frame" test for new message.
26616 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
26617 Remove some xfails
26618
26619Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26620
26621 * gdb.t03/{gdbme.c,ptype.exp}:
26622 Add tests for typedef'd struct and union without tags.
26623 Also check "whatis" on a variable of a typedef'd enum without a tag.
26624
26625 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
26626 PRMS 1823; the bug still exists but isn't reproduced by this test
26627 anymore), and remove rs6000 XFAIL (the bug is fixed).
26628
26629 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
26630 duplicated from whatis.exp. For those that are left, accept
26631 "long", "long int", or "int" for long variables (whatis.exp already
26632 has an XFAIL for "int", so no need to fail it here).
26633
26634 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
26635 Deal with GCC's names for types now that GDB uses the compiler's names.
26636
26637 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
26638 setup_xfail's for sunos4. If we #defined the signed keyword away,
26639 don't expect GDB to know that char it is signed.
26640
26641 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
26642
26643Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
26644
26645 * configure.in (configdirs): Add gdb.t24 for C++ tests that
26646 should work on any system, regardless of debugging format.
26647 * gdb.t21/demangle.exp: Move to gdb.t24.
26648 * gdb.t24/demangle.exp: Move from gdb.t21.
26649 * gdb.t24/{Makefile.in, configure.in}: New files.
26650
26651Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26652
26653 * configure.in: Do gdb.stabs and C++ tests only for stabs.
26654 * gdb.stabs: New directory.
26655
26656Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26657
26658 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
26659 not just "Quit anyway?".
26660
26661Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
26662
26663 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
26664 that all setup_xfails are immediately followed by clear_xfails.
26665
26666Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
26667
26668 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
26669 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
26670 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
26671 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
26672 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
26673 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26674 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26675 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
26676 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
26677 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
26678 gdb.t31/chillvars.exp, lib/gdb.exp:
26679 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
26680 bug-gdb@prep.ai.mit.edu.
26681
26682Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
26683
26684 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
26685 with 0.0, not integer 0.
26686
26687Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
26688
26689 * gdb.t06/break.exp: Update for "Kill the program" message change.
26690
26691Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
26692
26693 * Makefile.in (GDBFLAGS): Set to -nx.
26694 * Makefile.in (site.exp): Use GDBFLAGS.
26695
26696Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26697
26698 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
26699 Makefiles.
26700 (check): depend on just-check.
26701 (just-check): added so that tests can be run without a noop
26702 build pass.
26703
26704Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26705
26706 Switch to using configure's configdirs.
26707 * Makefile.in (Makefile): add configure.in dependency.
26708 (SUBDIRS): removed redundant assignment.
26709 * configure.in: switch subdirs assignment to configdirs.
26710 * gdb.t*/configure.in: new files.
26711
26712Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
26713
26714 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
26715 works.
26716
26717Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
26718
26719 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
26720 in explicit rules. Apparently this is not supported by some makes.
26721
26722Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
26723
26724 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
26725
26726Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26727
26728 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
26729 disappeared.
26730
26731Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
26732
26733 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
26734
26735Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
26736
26737 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
26738 watchpoint problem that is now fixed.
26739 * gdb.t30/chexp.exp: Remove setup_xfail for printing
26740 uninitialized convenience variables.
26741 * gdb.t31/chillvars.exp: Fix expected patterns for printing
26742 structures.
26743
26744Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26745
26746 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
26747 which causes expect to get out of sync with gdb on long output
26748 from help set.
26749 * gdb.t09/corefile.exp: Make expected pattern for core file
26750 failing signal and frame output format less sun specific.
26751
26752Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
26753
26754 * gdb.t31/chillvars.exp: Add and remove initial dummy
26755 breakpoint, so that symbol table is forced in.
26756 (Needed at least on Sunos4, though it seems not SVR4.)
26757 * gdb.t31/chillvars.exp: Update for changed output format.
26758
26759Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
26760
a9c64011 26761 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
26762
26763Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
26764
26765 * Makefile.in: Added --srcdir when invoking runtest, removed the
26766 need for a local config file. (optional now)
26767
26768Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
26769
26770 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
26771 failure count used to force early termination. Add some more
26772 expected failures for gnu style demangling.
26773
26774Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26775
26776 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
26777 pmi variable from gdb.t20/gdbme to get optimized away.
26778 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
26779 Check for written corefile upon timeout _and_ eof.
26780
26781Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26782
26783 * config/unix-gdb.exp: Add missing return 0.
26784
26785Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26786
26787 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
26788 test termination.
26789
26790Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
26791
26792 * configure.in (subdirs): Put back gdb.t17 which mysteriously
26793 disappeared.
26794
26795Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
26796
26797 * gdb.t10/crossload.exp: Disable the i860-elf test until such
26798 time as i860 support works.
26799
d63a86f8 26800 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
26801 "backtrace 100\r" rather than just "backtrace\r", to match last
26802 change.
26803
26804Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
26805
26806 * config/udi-gdb.exp (gdb_exit): Remove close command.
26807 (gdb_target_udi): New procedure to set the UDI target.
26808 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
26809 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
26810 Added waits for prompts after several question responses. Added
26811 some more responses used by a29k-amd-udi-gdb.
26812 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
26813 pass different arguments, restart UDI connection after program
26814 completion.
26815 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
26816 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26817 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
26818 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
26819 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
26820 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
26821 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26822 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
26823 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
26824 after program completion.
26825 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
26826 compiled with a SELECT_VECS setting.
26827 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
26828 infinite recursion.
26829
26830 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
26831 Added checks for COFF results, and made them expected failures for
26832 all targets. It would be better to make them expected failures
26833 for COFF targets only.
26834
26835Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
26836
26837 * Makefile.in: add null dvi target, don't bother to recurse
26838 through test directories for info and install-info; rename
26839 $(datadir) to be dejagnu instead of deja-gnu
26840
26841Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
26842
26843 * gdb.t31/gdbme.ch: Re-enable code that previously caused
26844 compiler to coredump.
26845 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
26846 code.
26847
26848Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
26849
26850 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
26851 coredump.
26852 * gdb.t31/chillvars.exp: Comment out tests that depend on that
26853 code.
26854
26855Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
26856
26857 * gdb.t03/ptype.exp: tests for return code from gdb_test.
26858 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
26859 which in a shell. Deletes xgdb when done.
26860 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
26861 Tests the return from the "set height" or "set width" commands.
26862 Added a few return codes where needed.
26863
26864Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
26865
26866 * Makefile.in (SUBDIRS): Add gdb.t17.
26867 * configure.in (subdirs): Add gdb.t17.
26868 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
26869 files to test gdb's calling of functions in the inferior with
26870 the correct arguments and gdb's ability to retrieve any
26871 result returned.
26872
26873Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
26874
26875 * config/unix-gdb.exp (gdb_exit): Remove close commands that
26876 may be called after gdb goes away. Previous versions of expect
26877 needed these to avoid file descriptor leaks, but they cause
26878 errors with the current revision of expect.
26879 * gdb.t00/gdbvars.exp: Use -re on expected output after
26880 setting sevenbit-strings.
26881 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
26882 to set sevenbit-strings consistent across tests.
26883 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
26884 set sevenbit-strings consistent across tests.
26885
26886Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
26887
26888 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
26889 expected output to match current "expect" expectations.
26890
26891Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
26892
26893 * gdb.t00/default.exp: Change expected output for default "source"
26894 command, to match new gdb behavior which requires a filename to
26895 source.
26896
26897Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
26898
26899 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
26900 expected fail for i486-*-* that misses the marker2 function.
26901 * gdb.t10/crossload.exp (bfddefault): Allow successful
26902 recognition of a format to pass even if no symbols are found.
26903 Explicitly catch failures where the format is not recognized
26904 or is ambiguous, and add the reason to the fail message.
26905 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
26906 the cause is and invalid target and add reason to failure message.
26907 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
26908 elf32-i386, elf32-sparc, and elf32-i860.
26909 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
26910 Set up expected failure for 'filename'::variable scope resolution,
26911 which is now apparently broken on all targets.
26912 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
26913 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
26914 gdb.t23/templates.exp: Change failure for missing binfile into
26915 just a warning.
26916 gdb.t21/demangle.exp: Change all cfront references to 'arm'
26917 references.
26918
26919Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
26920
26921 * gdb.t00/default.exp: Add expected output for default "source"
26922 command, to match new gdb behavior.
26923 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
26924
26925Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
26926
26927 * config/*-gdb.exp: returns an error, rather than exiting on
26928 internal errors.
26929
26930Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
26931
26932 * gdb.t03/gdbme.c: Add pointer to struct variable.
26933 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
26934 referencing struct members.
26935
26936Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
26937
26938 * configure.in (mips-idt-ecoff): New target.
26939 * config/mips-gdb.exp: New file for remote board using MIPS remote
26940 debugging protocol.
26941
26942 * Redid configuration scheme. Removed gdb.t*/configure.in.
26943 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
26944 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
26945 distclean targets. Built executables via .o files. Adjusted
26946 tests to account for source files in $(srcdir) rather than
26947 $(objdir).
26948 * lib/gdb.exp (runto): Don't expect () after the function name,
26949 because it may have arguments.
26950
26951Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
26952
26953 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
26954 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
26955 expected failures for mips-idt-* and mips-sgi-*.
26956 * gdb.t00/default.exp (attach): Kill process if requested.
26957 * gdb.t00/help.exp (help target core, help target): Accept a gdb
26958 that does not read core files.
26959 * gdb.t01/run.exp: Removed checks for exit status code.
26960 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
26961 it is linked in.
26962 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
26963 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
26964 appropriate, rather than doing it by hand.
26965 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
26966 execution.
26967 * gdb.t10/crossload.exp: Kill existing program if needed.
26968 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
26969 appropriate, rather than doing it by hand. Always increase
26970 timeout for this test, not just for VxWorks.
26971
26972Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
26973
26974 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
26975 of Chill STRUCT types and STRUCT values.
26976 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
26977 than "char".
26978 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 26979 struct2): New struct definitions and initializations to test
c906108c
SS
26980 simple Chill STRUCT types.
26981
26982Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
26983
26984 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
26985 the null byte at the end of strings.
26986 * gdb.t00/default.exp: Make show version insensitive to copyright
26987 date.
26988 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
26989 to avoid dependencies on target char signedness.
26990 * gdb.t16/printcmds.exp: Update expected results for explicitly
26991 unsigned char.
26992 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
26993 now work.
26994 * gdb.t21/demangle.exp: Add many more patterns for template
26995 demangling, most of them being expected failures.
26996 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
26997 string we are matching for, to match on the whole string.
26998 * gdb.t21/demangle.exp: Add many new test strings to demangle,
26999 and fix a whole bunch that had incorrect expected output but were
27000 passing anyway because of the bug in "proc demangle".
27001 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
27002 type.
27003 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
27004
27005Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
27006
a9c64011
AS
27007 * gdb/testsuite: made modifications to testcases, etc., to allow
27008 them to work properly given the reorganization of deja-gnu and the
27009 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
27010
27011Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
27012
27013 * gdb/testsuite: Initial creation of gdb/testsuite.
27014 Migrated dejagnu testcases and support files for testing nm to
27015 gdb/testsuite from deja-gnu. These files were moved "as is"
27016 with no modifications. This migration is part of a major overhaul
27017 of dejagnu. The modifications to these testcases, etc., which
27018 will allow them to work with the new version of dejagnu will be
27019 made in a future update.
48efe704 27020
8d8cb839 27021 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 27022\f
8d8cb839
EZ
27023;; Local Variables:
27024;; mode: change-log
27025;; left-margin: 8
27026;; fill-column: 74
27027;; version-control: never
27028;; End:
902f2ccb 27029
0b302171 27030 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
27031 Copying and distribution of this file, with or without modification,
27032 are permitted provided the copyright notice and this notice are preserved.