]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
PR ld/10340
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
8131799e
JB
12012-03-06 Joel Brobecker <brobecker@adacore.com>
2
3 * gdb.ada/bp_on_var: New testcase.
4
ba241969
JB
52012-03-06 Joel Brobecker <brobecker@adacore.com>
6
7 * gdb.ada/bp_enum_homonym: New testcase.
8
abe49676
YQ
92012-03-06 Yao Qi <yao@codesourcery.com>
10
11 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
12 x86_64-*-* and i?86-*-*.
13 Set up KFAIL for gdb/13808.
14
d8df103b
TT
152012-03-05 Tom Tromey <tromey@redhat.com>
16
17 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
18 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
19
b7b189f3
TT
202012-03-05 Tom Tromey <tromey@redhat.com>
21
22 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
23
69dc1c4d
YQ
242012-03-04 Yao Qi <yao@codesourcery.com>
25
26 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
27 messages for KFAIL.
28
3f20c47f
JK
292012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
30
31 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
32 (print one_two_three, indexes off, print few_reps, indexes off)
33 (print many_reps, indexes off, print empty, indexes off)
34 (print one_two_three, print few_reps, print many_reps, print empty):
35 Call setup_xfail if $gcc_old.
36
abf1152a
JK
372012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
38
39 Implement testsuite workaround for PR breakpoints/13781.
40 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
41 (set breakpoint condition-evaluation host): New conditional command.
42
a06715f8
JK
432012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
44
45 Code cleanup.
46 * gdb.cp/mb-templates.exp: New variables executable. Use it for
47 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
48 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
49 number 1 by $bpnum. Four times.
50
5808517f
YQ
512012-03-03 Yao Qi <yao@codesourcery.com>
52
53 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
54
dfe2ac14
JK
552012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
56
57 Setup KFAIL for PR server/13796.
58 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
59
8bbc467a
JB
602012-03-02 Joel Brobecker <brobecker@adacore.com>
61
62 * gdb.ada/operator_bp: New testcase.
63
c0eac87f
JB
642012-03-02 Joel Brobecker <brobecker@adacore.com>
65
66 * gdb.ada/info_locals_renaming: New testcase.
67
4f42c881
TT
682012-03-02 Tom Tromey <tromey@redhat.com>
69
70 * gdb.base/nextoverexit.c: New file.
71 * gdb.base/nextoverexit.exp: New file.
72
7380c0c9
EBM
732012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
74
75 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
76 parameter.
77
1faeff08
MR
782012-03-01 Maciej W. Rozycki <macro@mips.com>
79
80 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
81 core registers.
82
320b6f49
MR
832012-03-01 Maciej W. Rozycki <macro@mips.com>
84 Maciej W. Rozycki <macro@codesourcery.com>
85 Daniel Jacobowitz <dan@codesourcery.com>
86
87 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
88
ad5f7d6e
PA
892012-03-01 Pedro Alves <palves@redhat.com>
90
91 PR gdb/13767
92
93 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
94 (gdb_collect_globals_test): Call it.
95
d3dc44a6
KS
962012-03-01 Keith Seitz <keiths@redhat.com>
97
98 * gdb.cp/method2.exp: Output of overload menu is now
99 alphabetized. Update tests for "break A::method".
100 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
101 of hard-coding them.
102 Overload menu is alphabetized: rewrite to accommodate.
103 Unset variables LINE and TYPES which are used in other tests.
104 Compute the output of "info break".
105 Update the breakpoint table after all breakpoints are deleted.
106 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
107 compute ACTUALS and the method body based on parameters.
108 Update expected output accordingly.
109 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
110 unique comments to allow the use of gdb_get_line_number.
111
1122012-03-01 Keith Seitz <keiths@redhat.com>
113
114 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
115 some Tcl syntax.
116 * gdb.cp/ovldbreak.exp: Likewise.
117
7949c2a0
KS
1182012-03-01 Keith Seitz <keiths@redhat.com>
119
120 * gdb.base/help.exp (help show user): Update expected result
121 for new doc string changes (add "non-python").
122
7d74f244
DE
1232012-03-01 Scott J. Goldman <scottjg@vmware.com>
124
125 * gdb.python/py-cmd.exp: Add test to verify that python commands can
126 be put in the user-defined category and that the commands appear in
127 "help user-defined".
128
1b611343
JB
1292012-02-29 Joel Brobecker <brobecker@adacore.com>
130
131 * gdb.ada/tagged_not_init: New testcase.
132
99b1c762
JB
1332012-02-29 Joel Brobecker <brobecker@adacore.com>
134
135 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
136 * gdb.ada/enum_idx_packed: New testcase.
137
2d4a02ee
JB
1382012-02-29 Joel Brobecker <brobecker@adacore.com>
139
140 * gdb.ada/aliased_array: New testcase.
141
2e6fda7d
JB
1422012-02-29 Joel Brobecker <brobecker@adacore.com>
143
144 * gdb.ada/whatis_array_val: New testcase.
145
9a7f938f
JK
1462012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
147
148 Fix disp-step-syscall.exp: fork: single step over fork.
149 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
150 whitespaces.
151 (single step over $syscall): Remove its check.
152 (single step over $syscall final pc): New check.
153
8703a944
JK
1542012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
155
156 Support processors without SSSE3.
157 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
158 pabsd into ...
159 (ssse3_test): ... a new function.
160 (main): Call ssse3_test.
161 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
162 Update expected values everywhere.
163 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
164 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
165 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
166 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
167 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
168 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
169 Move these tests lower.
170 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
171 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
172 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
173 New tests.
174
c03e6ccc
YQ
1752012-02-29 Yao Qi <yao@codesourcery.com>
176 Pedro Alves <palves@redhat.com>
177
178 * gdb.trace/trace-mt.c: New.
179 * gdb.trace/trace-mt.exp: New.
180
7964b62a
TS
1812012-02-28 Thomas Schwinge <thomas@codesourcery.com>
182
2c8910ba
TS
183 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
184 numbers instead of hardcoding them.
185 * gdb.base/annota1.c: Provide suitable markers.
186 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
187 numbers instead of hardcoding them.
188 * gdb.base/annota3.c: Provide suitable markers.
189
190 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
191 * gdb.base/annota3.c: Likewise.
192 * gdb.base/sigall.c: Likewise.
193 * gdb.base/signals.c: Likewise.
194 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 195
5a41c0b7
MR
1962012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
197
198 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
199 failure return path.
200
ebbbe5c5
LM
2012012-02-27 Luis Machado <lgustavo@codesourcery.com>
202
203 * gdb.base/save-bp.exp: Account for new condition evaluator output.
204
8d126d8a
LM
2052012-02-24 Luis Machado <lgustavo@codesourcery.com>
206
207 * gdb.base/cond-eval-mode.exp: New file.
208
11337c2f
PA
2092012-02-24 Pedro Alves <palves@redhat.com>
210
211 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
212 (top level): Use with_test_prefix.
213
13fc3e3c
PA
2142012-02-24 Pedro Alves <palves@redhat.com>
215
216 * gdb.threads/attach-into-signal.exp (corefunc): Use
217 with_test_prefix.
218
07c1b626
JK
2192012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
220
221 Fix false FAILs on old CPUs without SSE.
222 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
223 Return untested for Illegal instruction.
224
596ba138
JK
2252012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
226
227 Fix false FAILs with glibc debug infos installed.
228 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
229 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
230
aeaa2474
SA
2312012-02-22 Sterling Augustine <saugustine@google.com>
232
233 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
234 constant with cast.
235
aed555c9
PA
2362012-02-21 Pedro Alves <palves@redhat.com>
237
238 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
239
78afebb4
PA
2402012-02-21 Pedro Alves <palves@redhat.com>
241
242 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
243
fdcfef12
PA
2442012-02-21 Pedro Alves <palves@redhat.com>
245
246 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
247 with_test_prefix.
248
0f4d39d5
PA
2492012-02-21 Pedro Alves <palves@redhat.com>
250
251 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
252 with_test_prefix here.
253 (top level): Do it here instead. Remove `:' from the
254 with_test_prefix string.
255 * gdb.base/attach-pie-misread.exp: Remove the leading space the
256 the suffix `:' from the with_test_prefix prefix string.
257 * gdb.base/break-interp.exp: Ditto.
258 * gdb.base/catch-load.exp: Ditto.
259 * gdb.base/disp-step-syscall.exp: Ditto.
260 * gdb.base/jit-so.exp: Ditto.
261 * gdb.base/jit.exp: Ditto.
262 * gdb.base/sepdebug.exp: Ditto.
263 * gdb.base/solib-display.exp: Ditto.
264 * gdb.base/solib-overlap.exp: Ditto.
265 * gdb.base/watch-cond-infcall.exp: Ditto.
266 * gdb.base/watchpoint.exp: Ditto.
267 * gdb.dwarf2/dw2-noloc.exp: Ditto.
268 * gdb.mi/mi-watch.exp: Ditto.
269 * gdb.mi/mi2-watch.exp: Ditto.
270 * gdb.threads/non-ldr-exc-1.exp: Ditto.
271 * gdb.threads/non-ldr-exc-2.exp: Ditto.
272 * gdb.threads/non-ldr-exc-3.exp: Ditto.
273 * gdb.threads/non-ldr-exc-4.exp: Ditto.
274 * gdb.threads/watchpoint-fork.exp: Ditto.
275 * gdb.threads/watchthreads-reorder.exp: Ditto.
276 * gdb.trace/change-loc.exp: Ditto.
277 * gdb.trace/pending.exp: Ditto.
278 * gdb.trace/status-stop.exp: Ditto.
279 * gdb.trace/strace.exp: Ditto.
280 * gdb.trace/trace-break.exp: Ditto.
281 * gdb.trace/unavailable.exp: Ditto.
282 * lib/gdb.exp (with_test_prefix): Always prefix with space and
283 suffix with colon. Adjust leading comments.
284
6a5870ce
PA
2852012-02-21 Pedro Alves <palves@redhat.com>
286 Tom Tromey <tromey@redhat.com>
287
288 * lib/gdb.exp: Add description of test prefixes.
289 (with_test_prefix): New procedure.
290 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
291 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
292 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
293 instead of lappend to append to pf_prefix.
294 * gdb.base/catch-load.exp: Use with_test_prefix.
295 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
296 * gdb.base/jit-so.exp: Use with_test_prefix.
297 * gdb.base/jit.exp: Use with_test_prefix.
298 * gdb.base/return-nodebug.exp (do_test): Use append instead of
299 lappend to append to pf_prefix.
300 * gdb.base/sepdebug.exp: Use with_test_prefix.
301 * gdb.base/solib-display.exp: Use with_test_prefix.
302 * gdb.base/solib-overlap.exp: Use with_test_prefix.
303 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
304 * gdb.base/watchpoint.exp: Use with_test_prefix.
305 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
306 * gdb.mi/mi-watch.exp: Use with_test_prefix.
307 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
308 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
309 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
310 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
311 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
312 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
313 append instead of lappend to append to pf_prefix.
314 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
315 * gdb.trace/change-loc.exp: Use with_test_prefix.
316 * gdb.trace/pending.exp: Use with_test_prefix.
317 * gdb.trace/status-stop.exp: Use with_test_prefix.
318 * gdb.trace/strace.exp: Use with_test_prefix.
319 * gdb.trace/trace-break.exp: Use with_test_prefix.
320 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
321 instead of lappend to append to pf_prefix.
322
35dc4a6b
JK
3232012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
324
325 Fix racy FAILs.
326 * gdb.base/inferior-died.c (main): Add return of 0.
327 * gdb.base/inferior-died.exp (continue): Fix expectation of
328 asynchronous events.
329 (p 1): New test.
330
c5a006e6
PA
3312012-02-20 Pedro Alves <palves@redhat.com>
332
333 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
334 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
335 gdb's internal debug output. For the non-threaded case, look for
336 "Program received signal SIGLARM", for the threaded case, peek at
337 the thread's siginfo.
338
cc51a170
PA
3392012-02-20 Pedro Alves <palves@redhat.com>
340
341 General cleanup, make output test messages unique, and build
342 different executable files for the non-threaded and threaded
343 cases.
344
345 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
346 Delete.
347 (executable_nothr, executable_thr): New globals.
348 (top level): Adjust to delete both executables.
349 (corefunc): New parameter $executable. Set $pf_prefix instead of
350 hand writing a prefix in tests. Issue a clean_restart and enable
351 lin-lwp debug output here.
352 (top level): Adjust. Use build_executable. Don't start gdb here,
353 and don't enable lin-lwp debug output here.
354 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
355
c755f03d
JK
3562012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
357
358 Fix racy FAILs.
359 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
360 "continue" command.
361
6bec5e0a
JK
3622012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
363
364 Fix for gdbserver non-extended mode.
365 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
366 and gdb_run_cmd.
367
2e8265fd
TT
3682012-02-17 Tom Tromey <tromey@redhat.com>
369
370 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
371 * gdb.python/py-events.exp: Check 'dir' output.
372 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
373
9e507076
YQ
3742012-02-17 Yao Qi <yao@codesourcery.com>
375
376 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
377
32d22ab1
TT
3782012-02-16 Tom Tromey <tromey@redhat.com>
379
380 * gdb.base/inferior-died.c: Don't include stdio.h.
381
9addecb9
TT
3822012-02-16 Tom Tromey <tromey@redhat.com>
383
384 * gdb.base/inferior-died.c: New file.
385 * gdb.base/inferior-died.exp: New file.
386
4cb6da1c
AR
3872012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
388
389 * gdb.base/break-inline.exp: New file.
390 * gdb.base/break-inline.c: New file.
391
3af2590d
TT
3922012-02-15 Tom Tromey <tromey@redhat.com>
393
394 * gdb.base/pc-fp.exp: Add "info register" tests.
395
29988831
TT
3962012-02-15 Tom Tromey <tromey@redhat.com>
397
398 * gdb.base/regs.exp: Remove.
399
10010058
PA
4002012-02-15 Pedro Alves <palves@redhat.com>
401
402 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
403 the target doesn't support tracepoints.
404 * gdb.trace/circ.exp: Ditto.
405 * gdb.trace/collection.exp: Ditto.
406 * gdb.trace/packetlen.exp: Ditto.
407 * gdb.trace/passc-dyn.exp: Ditto.
408 * gdb.trace/report.exp: Ditto.
409 * gdb.trace/tfind.exp: Ditto.
410 * gdb.trace/tspeed.exp: Ditto.
411 * gdb.trace/tsv.exp: Ditto.
412 * gdb.trace/unavailable.exp: Ditto.
413 * gdb.trace/while-dyn.exp: Ditto.
414
a2e0062d
PA
4152012-02-15 Pedro Alves <palves@redhat.com>
416
417 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
418 gdb_test_multiple, and call unsupported instead of fail, if the
419 remote side does not support the request.
420
a1999d40
PA
4212012-02-15 Pedro Alves <palves@redhat.com>
422
423 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
424 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
425 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
426 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
427 * gdb.server/server-run.exp: Make sure gdb is disconnected.
428 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
429 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
430 doesn't start with "extended-" already.
431
7cee1e54
PA
4322012-02-15 Pedro Alves <palves@redhat.com>
433
434 Support extended-remote. Avoid cascading timeouts.
435
436 * gdb.base/attach.exp (do_attach_tests): Add expected output for
437 the extended-remote target. If attaching with no file fails, load
438 the file manually.
439 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
440
816338b5
SS
4412012-02-14 Stan Shebs <stan@codesourcery.com>
442
443 * gdb.base/ena-dis-br.exp: Add enable count test.
444
cc30c4bd
PA
4452012-02-13 Pedro Alves <palves@redhat.com>
446
447 * config/mips-idt.exp: Delete.
448 * gdb.base/a2-run.exp: Remove mips-idt xfails.
449 * gdb.base/bitfields.exp: Remove mips-idt restarts.
450 * gdb.base/break.exp: Remove mips-idt references.
451 * gdb.base/chng-syms.exp: Ditto.
452 * gdb.base/default.exp: Ditto.
453 * gdb.base/funcargs.exp (funcargs_reload): Delete.
454 (top level): Don't call it.
455 * gdb.base/opaque.exp: Remove mips-idt restarts.
456 * gdb.base/ptype.exp: Remove mips-idt xfails.
457 * gdb.base/scope.exp: Remove mips-idt restarts.
458 * gdb.base/sepdebug.exp: Remove mips-idt references.
459 * gdb.base/watchpoint.exp (maybe_clean_restart)
460 (maybe_reinitialize): Delete.
461 (test_disabling_watchpoints, test_disabling_watchpoints)
462 (test_watchpoint_triggered_in_syscall)
463 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
464 Don't call them.
465
57008375
JK
4662012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
467
468 * gdb.server/server-exec-info.exp: New file.
469
4a2d9c08
PA
4702012-02-10 Pedro Alves <palves@redhat.com>
471
472 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
473 always non-empty.
474 (test_attach): Always pass $exec to test_attach_gdb.
475
09fa21bd
TT
4762012-02-08 Tom Tromey <tromey@redhat.com>
477
478 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
479 before inferior is started.
480
f0823d2c
TT
4812012-02-07 Tom Tromey <tromey@redhat.com>
482
483 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
484 Symbol.value.
485 * gdb.python/py-symbol.c (qq): Set default value.
486
4872012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
488
489 * gdb.python/py-symbol.c (qq): New global.
490 * gdb.python/py-symbol.exp: Add test for frame-less
491 lookup_symbol.
492 * gdb.python/py-symtab.exp: Fix line number.
493
f7e44f65
JB
4942012-02-03 Joel Brobecker <brobecker@adacore.com>
495
496 * gdb.ada/mi_task_arg: New testcase.
497
4c9ed63c
PA
4982012-02-02 Pedro Alves <palves@redhat.com>
499
500 * gdb.reverse/until-precsave.exp: Also put "record save" under the
501 extended timeout.
502
c0b9f2c6
PA
5032012-02-02 Pedro Alves <palves@redhat.com>
504
505 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
506 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
507
5f8cefd7
PA
5082012-02-02 Pedro Alves <palves@redhat.com>
509
510 * gdb.base/term.exp: Rewrite.
511 * gdb.base/term.c: New.
512
2f3a2569
PA
5132012-02-02 Pedro Alves <palves@redhat.com>
514
515 * gdb.base/default.exp (run "r" abbreviation, run): Add
516 extended-remote expected output.
517
f149aabd
TT
5182012-02-02 Tom Tromey <tromey@redhat.com>
519
520 * gdb.cp/dispcxx.exp: New file.
521 * gdb.cp/dispcxx.cc: New file.
522
03bef283
TT
5232012-02-01 Tom Tromey <tromey@redhat.com>
524
525 * gdb.base/jit-simple.exp: New file.
526 * gdb.base/jit-simple.c: New file.
527
a79b18b5
YQ
5282012-01-30 Yao Qi <yao@codesourcery.com>
529
530 * gdb.base/skip.exp: Make test result unique.
531
f0d1a53e
JK
5322012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
533
534 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
535 compatibility with valgrind-3.7.0.
536
4b3c9f41
PA
5372012-01-27 Pedro Alves <palves@redhat.com>
538
539 * gdb.base/watchpoint.exp (no_hw): New global.
540 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
541 disable hw watchpoints.
542 (test_wide_location_1, test_wide_location_2): If no_hw is set,
543 don't expect hw watchpoints.
544 (no_hw_watchpoints): Always clean restart.
545 (do_tests): New procedure, factored out from the top level.
546 (top level): Run tests twice. Once with hw watchpoints enabled,
547 another time with hw watchpoints disabled.
548
a13491c8
PA
5492012-01-27 Pedro Alves <palves@redhat.com>
550
551 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
552 out from the top level.
553 (top level): Call it instead.
554
f2c8a051
PA
5552012-01-27 Pedro Alves <palves@redhat.com>
556
557 * gdb.base/watchpoint.exp (top level): Re-enable hardware
558 watchpoints sooner.
559
654d7a9e
PA
5602012-01-27 Pedro Alves <palves@redhat.com>
561
562 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
563
274f47f3
PA
5642012-01-27 Pedro Alves <palves@redhat.com>
565
566 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
567 "You may have requested too many hardware
568 breakpoints/watchpoints".
569
e4d63ba2
PA
5702012-01-27 Pedro Alves <palves@redhat.com>
571
572 * gdb.base/watchpoint.exp (maybe_clean_restart)
573 (maybe_reinitialize): New.
574 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
575 expect "hit N times".
576 (test_disabling_watchpoints, test_complex_watchpoint)
577 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
578 Call maybe_clean_restart.
579 (top level): Use clean_restart. Remove "mips-idt-*"
580 reinitialization.
581
dbd95daf
PA
5822012-01-27 Pedro Alves <palves@redhat.com>
583
584 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
585
f3ad2025
PA
5862012-01-27 Pedro Alves <palves@redhat.com>
587
588 * gdb.base/watchpoint.exp: Clean restart after tests that don't
589 require `initialize' anymore. Remove unnecessary `initialize'
590 calls.
591
100aa3ae
PA
5922012-01-27 Pedro Alves <palves@redhat.com>
593
594 * gdb.base/watchpoint.exp (wp_set): Delete.
595 (initialize, test_simple_watchpoint, top level): Remove dead code.
596
c79a8e11
PA
5972012-01-27 Pedro Alves <palves@redhat.com>
598
599 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
600 typo.
601
048fe15a
PA
6022012-01-27 Pedro Alves <palves@redhat.com>
603
604 * config/extended-gdbserver.exp: New file.
605 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
606 comment.
607 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
608 * boards/native-extended-gdbserver.exp: New file.
609
4033a6bf
PA
6102012-01-26 Pedro Alves <palves@redhat.com>
611
612 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
613 and gdb_test_multiple.
614
3d7f4b81
PA
6152012-01-26 Pedro Alves <palves@redhat.com>
616
617 Make test messages unique, and more identifiable.
618 * gdb.multi/watchpoint-multi.exp: Change test messages.
619
484abf42
TT
6202012-01-25 Tom Tromey <tromey@redhat.com>
621
622 * gdb.base/solib-disc.exp: Fix regexps.
623
edcc5120
TT
6242012-01-24 Tom Tromey <tromey@redhat.com>
625
626 * lib/mi-support.exp (mi_expect_stop): Add special case for
627 solib-event.
628 * gdb.base/catch-load-so.c: New file.
629 * gdb.base/catch-load.exp: New file.
630 * gdb.base/catch-load.c: New file.
631 * gdb.base/break-interp.exp (reach_1): Update regexp.
632
30b91c90
JK
6332012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
634
635 Fix fuzzy results.
636 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
637 lpsimple and func.
638
53fe1783
GB
6392012-01-24 Gary Benson <gbenson@redhat.com>
640
641 Delete #if 0'd out code.
642 * gdb.base/default.exp (info catch): Remove.
643 * gdb.base/gdb_history (info catch): Likewise.
644 * gdb.base/help.exp (info catch): Likewise.
645
d0d8b0c6
JK
6462012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
647
648 Fix watchpoints to be specific for each inferior.
649 * gdb.multi/watchpoint-multi.c: New file.
650 * gdb.multi/watchpoint-multi.exp: New file.
651
4403d8e9
JK
6522012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
653
654 Fix watchpoints across inferior fork.
655 * gdb.threads/watchpoint-fork-child.c: New file.
656 * gdb.threads/watchpoint-fork-mt.c: New file.
657 * gdb.threads/watchpoint-fork-parent.c: New file.
658 * gdb.threads/watchpoint-fork-st.c: New file.
659 * gdb.threads/watchpoint-fork.exp: New file.
660 * gdb.threads/watchpoint-fork.h: New file.
661
050a2e1d
PA
6622012-01-23 Pedro Alves <palves@redhat.com>
663
664 * gdb.base/call-signal-resume.exp: Allow output after "return".
665
6a52fb62
PA
6662012-01-20 Pedro Alves <palves@redhat.com>
667
668 * gdb.python/py-finish-breakpoint.py: Fix typo.
669
145b16a9
UW
6702012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
671
672 * gdb.base/info-proc.exp: Also run on remote targets. Main
673 "info proc" command is now always present; whether target supports
674 actual info proc operation is detected when attempting to issue
675 the command.
676
26f6125e
JK
6772012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
678
679 * .gdbinit: Remove.
680
eb5227ce
PA
6812012-01-19 Pedro Alves <palves@redhat.com>
682
683 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
684 look at the funtions' returns.
685 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
686 (jprint.print(int, int)): Change return type to int. Adjust.
687
1db33378
PP
6882012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
689
690 PR gdb/9538
691 * gdb.base/sepdebug.exp: New test.
692
b9736cf8
PA
6932012-01-18 Pedro Alves <palves@redhat.com>
694
695 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
696 Allow output before ^done.
697
4aac40c8
TT
6982012-01-16 Tom Tromey <tromey@redhat.com>
699
700 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
701 Add tests for relative directory.
702
cafec441
TT
7032012-01-16 Tom Tromey <tromey@redhat.com>
704
705 * gdb.base/printcmds.c (enum flag_enum): New.
706 (three): New global.
707 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
708 enum printing.
709 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
710 FlagEnumerationPrinter.
711 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
712 * gdb.python/py-pp-maint.c (enum flag_enum): New.
713 (fval): New global.
714
abcc4978
PA
7152012-01-16 Pedro Alves <palves@redhat.com>
716
717 * lib/gdb.exp (banned_procedures): New variable.
718 (banned_variables_traced): Rename to ...
719 (banned_traced): ... this.
720 (gdb_init): Also trace banned procedures.
721 (gdb_finish): Also untrace banned procedures.
722
97ccebe8
PA
7232012-01-16 Pedro Alves <palves@redhat.com>
724
725 Remove all calls to strace.
726
2af7517b
JK
7272012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
728
729 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
730 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
731
9241a8bc
PP
7322012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
733
734 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
735 * gdb.base/pie-execl.exp: Likewise.
736
3848a17f
KS
7372012-01-12 Keith Seitz <keiths@redhat.com>
738
739 PR mi/10586
740 * gdb.mi/var-cmd.c (struct anonymous): New structure.
741 (do_anonymous_type_tests): New function.
742 (main): Call do_anonymous_type_tests.
743 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
744 (verify_everything): New procedure.
745 * gdb.mi/mi-var-cp.cc (class A): New class.
746 (anonymous_structs_and_unions): New function.
747 (main): Call anonymous_structs_and_unions.
748 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
749 (verify_everything): New procedure.
750
440e2fca
KS
7512012-01-12 Keith Seitz <keiths@redhat.com>
752
753 * lib/mi-support.exp: Expand comments about PATH_EXPR.
754 (varobj_tree::get_path_expr): Assume that all varobjs are
755 compound unless they are known simple types.
756 Adjust path expressions based on parent type, path parent type,
757 and tree language.
758 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
759 the root varobj.
760 (mi_walk_varobj_tree): Add LANGUAGE parameter.
761
675399c9
PA
7622012-01-11 Pedro Alves <palves@redhat.com>
763
764 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
765 core files on this machine" anymore.
766
97ddaa9b
PH
7672012-01-11 Paul Hilfinger <hilfingr@adacore.com>
768
769 * gdb.base/watchpoint.c (recurser): Initialize local_x.
770 (main): Repeat recurser call.
771 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
772 equivalent to 'local_x'.
773
ea733575
PH
7742012-01-11 Paul Hilfinger <hilfingr@adacore.com>
775 Joel Brobecker <brobecker@adacore.com>
776
777 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
778
2ca0b532
PA
7792012-01-05 Pedro Alves <alves.ped@gmail.com>
780
781 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
782 * gdb.python/py-events.c (first): Add bits for new "step N" test.
783 * gdb.python/py-events.exp: Test that "step N" tripping on a
784 breakpoint emits a breakpoint event.
785
6e681866
JB
7862012-01-03 Joel Brobecker <brobecker@adacore.com>
787
788 * gdb.base/auxv.exp: Reformat the copyright notice.
789
3c2d6aff
YQ
7902012-01-03 Yao Qi <yao@codesourcery.com>
791
792 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
793 (strace_trace_on_diff_addr): New.
794 * gdb.trace/strace.c: (main): Add two local variables.
795
0852fee3
UW
7962011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
797
798 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
799 * gdb.cell/gcore.exp: Likewise.
800 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
801 to verify the correct instance of main is selected.
802
12c3e59c
JB
8032012-01-02 Joel Brobecker <brobecker@adacore.com>
804
805 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
806 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
807 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
808 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
809 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
810 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
811 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
812 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
813 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
814 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
815 gdb.threads/thread_check.c: Reformat copyright header.
816
c0f378ec
EBM
8172011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
818
e4a7ca93 819 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
820 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
821 is not enabled.
822
3bc96cfb
JK
8232011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
824
825 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
826 parameter to self_exec, adjust the function.
827 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
828 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
829 (set var do_exit = 0): Remove test.
830 (newline at end of file): Add one.
831
095bcf5e
JB
8322011-12-27 Joel Brobecker <brobecker@adacore.com>
833
834 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
835 New files.
836
18d19bd1
JK
8372011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
838
839 Fix racy FAILs.
840 * gdb.threads/fork-thread-pending.c (barrier): New variable.
841 (thread_function, thread_forker): Call pthread_barrier_wait for it.
842 (main): Call pthread_barrier_init for it.
843
e809353a
JK
8442011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
845
846 Fix double send_gdb leading to racy FAILs.
847 * gdb.base/break.exp (set silent break bp_location1): Replace
848 3x send_gdb and gdb_expect by gdb_test.
849 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
850 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
851 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
852 instead of send_gdb. Twice.
853 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
854 3x send_gdb and gdb_expect by gdb_test.
855 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
856
da8cb7ec
JK
8572011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
858
859 * gdb.linespec/linespec.exp: Compile using {c++}.
860
ae1a303e
JK
8612011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
862
863 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
864 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
865 (verify GCC PR debug/51668): New test.
866
cc72b2a2
KP
8672011-12-23 Kevin Pouget <kevin.pouget@st.com>
868
869 Introduce gdb.FinishBreakpoint in Python.
870 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
871 py-finish-breakpoint2
872 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
873 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
874 instead of line number.
875 * gdb.python/py-finish-breakpoint.c: New file.
876 * gdb.python/py-finish-breakpoint.exp: New file.
877 * gdb.python/py-finish-breakpoint.py: New file.
878 * gdb.python/py-finish-breakpoint2.cc: New file.
879 * gdb.python/py-finish-breakpoint2.exp: New file.
880 * gdb.python/py-finish-breakpoint2.py: New file.
881
3b7962f9
JK
8822011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
883
884 Partial fix of compatibility with gcc-4.7.
885 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
886 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
887 Add comment to add a PASS case in the future.
888
6538471c
JK
889 Fix compatibility with gcc-4.7.
890 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
891
7052e42c
UW
8922011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
893
894 PR tdep/12797
895 * gdb.base/callfuncs.exp: Remove KFAIL.
896
9ac7f98e
JB
8972011-12-21 Joel Brobecker <brobecker@adacore.com>
898
899 * gdb.ada/task_bp: New testcase.
900
f6eeced0
JK
9012011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
902
903 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
904 -DNO_SECTIONS.
905 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
906
72225e17
JK
9072011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
908
909 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
910 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
911 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
912 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
913 conditional for gcc <= 4.5.
914
13ac8d2c
JK
9152011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
916
917 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
918 by XFAIL.
919 * gdb.cp/static-method.exp (info addr A::func())
920 (list static-method.cc:xxx::(anonymous namespace)::A::func)
921 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
922 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
923 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
924 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
925 (test value of F in k3_m): Likewise.
926 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
927 Likewise.
928
049682ba
JK
9292011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
930
931 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
932 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
933 Remove.
934 * gdb.threads/attachstop-mt.c: Remove.
935 * gdb.threads/attachstop-mt.exp: Remove.
936
2c9d8796
MK
9372011-12-17 Mark Kettenis <kettenis@gnu.org>
938
939 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
940
e0f9f062
DE
9412011-12-16 Doug Evans <dje@google.com>
942
f4aa2101 943 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
944 * boards/native-gdbserver.exp: New file.
945
e0f9f062
DE
946 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
947 gdbserver output.
948 (gdbserver_default_get_remote_address): New function.
949 (gdbserver_start): Call gdb,get_remote_address to compute argument
950 to "target remote" command.
951
80b6e756
PM
9522011-12-16 Phil Muldoon <pmuldoon@redhat.com>
953
1c3ad6ab 954 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
955 python print-stack. Add set/show python print-stack
956 off|full|message tests.
957
1576bd00
YQ
9582011-12-15 Yao Qi <yao@codesourcery.com>
959
960 * gdb.trace/strace.c: New
961 * gdb.trace/strace.exp: New.
962
d6a0f6e0
TT
9632011-12-14 Tom Tromey <tromey@redhat.com>
964
965 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
966
31015e1d
DE
9672011-12-14 Doug Evans <dje@google.com>
968
969 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
970
7b50312a
PA
9712011-12-14 Pedro Alves <pedro@codesourcery.com>
972
973 PR threads/10729
974
975 * gdb.mi/watch-nonstop.c: New file.
976 * gdb.mi/mi-watch-nonstop.exp: New file.
977
924437bc
PA
9782011-12-13 Pedro Alves <pedro@codesourcery.com>
979 Doug Evans <dje@google.com>
980
981 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
982 (clean_restart): Remove references to the gdb_stub target board
983 variable.
984 (gdb_step_for_stub): Delete.
985
986 * gdb.base/annota1.exp: Remove all references to [target_info
987 exists gdb_stub], gdb_step_for_stub and usestubs.
988 * gdb.base/annota3.exp: Ditto.
989 * gdb.base/async.exp: Ditto.
990 * gdb.base/break.exp: Ditto.
991 * gdb.base/code-expr.exp: Ditto.
992 * gdb.base/commands.exp: Ditto.
993 * gdb.base/completion.exp: Ditto.
994 * gdb.base/condbreak.exp: Ditto.
995 * gdb.base/consecutive.exp: Ditto.
996 * gdb.base/cvexpr.exp: Ditto.
997 * gdb.base/define.exp: Ditto.
998 * gdb.base/display.exp: Ditto.
999 * gdb.base/ena-dis-br.exp: Ditto.
1000 * gdb.base/environ.exp: Ditto.
1001 * gdb.base/gnu-ifunc.exp: Ditto.
1002 * gdb.base/maint.exp: Ditto.
1003 * gdb.base/pending.exp: Ditto.
1004 * gdb.base/sect-cmd.exp: Ditto.
1005 * gdb.base/sepdebug.exp: Ditto.
1006 * gdb.base/unload.exp: Ditto.
1007 * gdb.base/watchpoint-solib.exp: Ditto.
1008 * gdb.cp/annota2.exp: Ditto.
1009 * gdb.cp/annota3.exp: Ditto.
1010 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
1011 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
1012 * gdb.mi/mi-pending.exp: Ditto.
1013 * gdb.trace/circ.exp: Ditto.
1014 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
1015 * gdb.base/list.exp: Ditto.
1016
1017 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
1018 breakpoint function and all references to the usestubs macro.
1019 * gdb.base/exprs.c: Ditto.
1020 * gdb.base/freebpcmd.c: Ditto.
1021 * gdb.base/bitfields.c: Ditto.
1022 * gdb.base/bitfields2.c: Ditto.
1023 * gdb.base/break.c: Ditto.
1024 * gdb.base/call-sc.c: Ditto.
1025 * gdb.base/call-signals.c: Ditto.
1026 * gdb.base/callfuncs.c: Ditto.
1027 * gdb.base/charset.c: Ditto.
1028 * gdb.base/consecutive.c: Ditto.
1029 * gdb.base/constvars.c: Ditto.
1030 * gdb.base/funcargs.c: Ditto.
1031 * gdb.base/int-type.c: Ditto.
1032 * gdb.base/interrupt.c: Ditto.
1033 * gdb.base/langs0.c: Ditto.
1034 * gdb.base/list0.c: Ditto.
1035 * gdb.base/mips_pro.c: Ditto.
1036 * gdb.base/miscexprs.c: Ditto.
1037 * gdb.base/nodebug.c: Ditto.
1038 * gdb.base/opaque0.c: Ditto.
1039 * gdb.base/pointers.c: Ditto.
1040 * gdb.base/printcmds.c: Ditto.
1041 * gdb.base/ptype.c: Ditto.
1042 * gdb.base/recurse.c: Ditto.
1043 * gdb.base/reread1.c: Ditto.
1044 * gdb.base/reread2.c: Ditto.
1045 * gdb.base/restore.c: Ditto.
1046 * gdb.base/return.c: Ditto.
1047 * gdb.base/run.c: Ditto.
1048 * gdb.base/scope0.c: Ditto.
1049 * gdb.base/sepdebug.c: Ditto.
1050 * gdb.base/setshow.c: Ditto.
1051 * gdb.base/setvar.c: Ditto.
1052 * gdb.base/sigall.c: Ditto.
1053 * gdb.base/signals.c: Ditto.
1054 * gdb.base/structs.c: Ditto.
1055 * gdb.base/structs2.c: Ditto.
1056 * gdb.base/testenv.c: Ditto.
1057 * gdb.base/twice.c: Ditto.
1058 * gdb.base/unwindonsignal.c: Ditto.
1059 * gdb.base/watchpoint.c: Ditto.
1060 * gdb.base/watchpoints.c: Ditto.
1061 * gdb.base/whatis.c: Ditto.
1062 * gdb.cp/classes.cc: Ditto.
1063 * gdb.cp/cplusfuncs.cc: Ditto.
1064 * gdb.cp/derivation.cc: Ditto.
1065 * gdb.cp/formatted-ref.cc: Ditto.
1066 * gdb.cp/misc.cc: Ditto.
1067 * gdb.cp/overload.cc: Ditto.
1068 * gdb.cp/ovldbreak.cc: Ditto.
1069 * gdb.cp/ref-params.cc: Ditto.
1070 * gdb.cp/ref-types.cc: Ditto.
1071 * gdb.cp/templates.cc: Ditto.
1072 * gdb.cp/virtfunc.cc: Ditto.
1073 * gdb.hp/gdb.aCC/run.c: Ditto.
1074 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
1075 * gdb.hp/gdb.compat/xdb0.c: Ditto.
1076 * gdb.reverse/consecutive-reverse.c: Ditto.
1077 * gdb.reverse/sigall-reverse.c: Ditto.
1078 * gdb.reverse/until-reverse.c: Ditto.
1079 * gdb.reverse/watch-reverse.c: Ditto.
1080 * gdb.trace/actions.c: Ditto.
1081 * gdb.trace/circ.c: Ditto.
1082 * gdb.trace/collection.c: Ditto.
1083
fabde485
PA
10842011-12-13 Pedro Alves <pedro@codesourcery.com>
1085
1086 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
1087 (func6, func7): New.
1088 (main): Call func6 and func7.
1089 * gdb.base/watchpoint.exp (test_wide_location_1)
1090 (test_wide_location_2): New.
1091 (top level): Re-enable hardware watchpoints if necessary. Call
1092 test_wide_location_1 and test_wide_location_2.
1093
ff7d1690
YQ
10942011-12-11 Yao Qi <yao@codesourcery.com>
1095
1096 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
1097
a6af7abe
JB
10982011-12-11 Joel Brobecker <brobecker@adacore.com>
1099
1100 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
1101 expected output for unsupported case.
1102
61638e15
JK
11032011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1104
1105 PR testsuite/12649
1106 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
1107 Protect gdb_test_multiple by final $gdb_prompt match.
1108
0a00efc3
JK
11092011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1110
1111 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
1112 New variable, new test.
1113 (list static-method.cc:xxx::(anonymous namespace)::A::func)
1114 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
1115 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
1116 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
1117 them if HAVE_GCC_45682_FIXED is not set.
1118
4511b1ba
YQ
11192011-12-10 Yao Qi <yao@codesourcery.com>
1120
1121 * gdb.trace/status-stop.exp: New.
1122 * gdb.trace/status-stop.c: New.
1123
27949e73
JK
11242011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1125
1126 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
1127 timeout.
1128
d8ea7931
TT
11292011-12-08 Tom Tromey <tromey@redhat.com>
1130
1131 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
1132 condition.
1133
1cc310d2
SS
11342011-12-07 Stan Shebs <stan@codesourcery.com>
1135
1136 * gdb.trace/tfind.exp: Update for output changes.
1137
d482a875
PA
11382011-12-07 Pedro Alves <pedro@codesourcery.com>
1139
1140 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
1141 throws "Cannot insert catchpoints in this configuration".
1142 * gdb.ada/mi_catch_ex.exp: Likewise.
1143
f0ba3972
PA
11442011-12-06 Pedro Alves <pedro@codesourcery.com>
1145
1146 * gdb.base/break-always.exp: Test changing memory at addresses
1147 with breakpoints inserted.
1148
f8eba3c6
TT
11492011-12-06 Joel Brobecker <brobecker@acacore.com>
1150
1151 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
1152 involving a fully qualified function name.
1153
11542011-12-06 Tom Tromey <tromey@redhat.com>
1155
1156 * gdb.ada/homonym.exp: Add three breakpoint tests.
1157
11582011-12-06 Tom Tromey <tromey@redhat.com>
1159
1160 * gdb.base/solib-weak.exp (do_test): Remove kfail.
1161 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
1162 * gdb.objc/objcdecode.exp: Update for output changes.
1163 * gdb.linespec/linespec.exp: New file.
1164 * gdb.linespec/lspec.cc: New file.
1165 * gdb.linespec/lspec.h: New file.
1166 * gdb.linespec/body.h: New file.
1167 * gdb.linespec/base/two/thefile.cc: New file.
1168 * gdb.linespec/base/one/thefile.cc: New file.
1169 * gdb.linespec/Makefile.in: New file.
1170 * gdb.cp/templates.exp (test_template_breakpoints): Update for
1171 output changes.
1172 * gdb.cp/re-set-overloaded.exp: Remove kfail.
1173 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
1174 makes one breakpoint.
1175 * gdb.cp/method2.exp (test_break): Update for output changes.
1176 * gdb.cp/mb-templates.exp: Update for output changes.
1177 * gdb.cp/mb-inline.exp: Update for output changes.
1178 * gdb.cp/mb-ctor.exp: Update for output changes.
1179 * gdb.cp/ovsrch.exp: Use fully-qualified names.
1180 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
1181 has multiple matches.
1182 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
1183 error message change.
1184 * gdb.base/list.exp (test_list_filename_and_number): Update for
1185 error message change.
1186 * gdb.base/break.exp: Disable pending breakpoints. Update for
1187 output changes.
1188 * configure.ac: Add gdb.linespec.
1189 * configure: Rebuild.
1190 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
1191
c642a434
UW
11922011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
1193
1194 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
1195 last_break register on s390*-*-* targets.
1196
b18003d1
JB
11972011-12-06 Joel Brobecker <brobecker@adacore.com>
1198
1199 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
1200 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
1201 of parameter X in procedure Foo.
1202
fe96589c
SS
12032011-12-05 Stan Shebs <stan@codesourcery.com>
1204
1205 * gdb.trace/tfind.exp: Update help string matches.
1206
1820ab47
JK
12072011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1208
1209 * gdb.server/ext-run.exp (get process list): Accept also systemd
1210 as PID 1.
1211
e11ac3a3
JK
12122011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1213 Pedro Alves <pedro@codesourcery.com>
1214
1215 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
1216 starting GDB.
1217 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
1218 $use_gdb_stub.
1219 * gdb.base/display.exp: Likewise.
1220 * gdb.base/ending-run.exp: Likewise.
1221 * gdb.base/list.exp (test_listsize): Likewise.
1222 * gdb.base/setshow.exp: Likewise.
1223 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
1224 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
1225 check by global $use_gdb_stub.
1226 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
1227 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
1228 (default_gdb_init): Unset global $use_gdb_stub.
1229 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
1230 by global $use_gdb_stub.
1231 * lib/gdbserver-support.exp: Extend comments for set_board_info
1232 gdb_protocol and gdb,socketport.
1233 (gdbserver_start_extended): Set global gdbserver_protocol and
1234 gdbserver_gdbport. Clear global use_gdb_stub.
1235 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
1236 from target use_gdb_stub.
1237 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
1238
1d41d75c
DE
12392011-12-03 Doug Evans <dje@google.com>
1240
1241 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
1242 (gdb_step_for_stub): Add comments.
1243
d6d7a51a
MR
12442011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
1245
1246 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
1247 to the caller.
1248 (gdb_test_multiple): Likewise.
1249
05acf274
JK
12502011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1251
1252 Fix gdb.mi/mi-solib.exp without system debug info installed.
1253 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
1254 expect attribute, return 0 for it. Update comments.
1255
2268b414
JK
12562011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1257
1258 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
1259 (corrupted list): Adjust the expectation.
1260
585861ea
JK
12612011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1262
1263 PR threads/13448
1264 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
1265 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
1266 * gdb.threads/tls-var-main.c: New file.
1267 * gdb.threads/tls-var.c: New file.
1268 * gdb.threads/tls-var.exp: New file.
1269
968643aa
JK
12702011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1271
1272 PR testsuite/12649
1273 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
1274 Protect gdb_test_multiple by final $gdb_prompt match.
1275 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
1276 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1277 (test_tracepoints): Likewise.
1278
9750bca9
JK
12792011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1280
1281 PR breakpoints/13346
1282 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
1283 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
1284 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
1285
ac1349b7
JB
12862011-12-01 Joel Brobecker <brobecker@adacore.com>
1287
1288 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
1289 * gdb.ada/homonym/homonym.adb: For use of all types defined
1290 locally inside both Get_Value subprograms.
1291
26d44faf
JK
12922011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1293
1294 Fix racy FAILs.
1295 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
1296 of send_gdb.
1297
514f6425
UW
12982011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1299
1300 * gdb.base/testenv.exp: Skip on remote targets. Unset global
1301 environment variable after test completed.
1302
4255c8d2
UW
13032011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1304
1305 * gdb.base/solib-nodir.exp: Skip if remote target.
1306 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
1307 application. Call gdb_load_shlibs.
1308 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
1309
a35ad96a
JB
13102011-11-29 Joel Brobecker <brobecker@adacore.com>
1311
1312 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
1313
1a1d5513
JB
13142011-11-28 Joel Brobecker <brobecker@adacore.com>
1315
1316 * gdb.ada/fullname_bp: New testcase.
1317
50b4ddf8
JK
13182011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1319
1320 PR testsuite/12649
1321 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
1322 Wrap send_gdb into a new gdb_test.
1323
fb0aec57
JK
1324 Code cleanup.
1325 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
1326 Convert send_gdb and gdb_expect to gdb_test_multiple.
1327
2376d946
JK
13282011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1329
1330 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
1331
1eec78bd
KS
13322011-11-23 Keith Seitz <keiths@redhat.com>
1333
1334 * lib/mi-support.exp (varobj_tree): New namespace and procs.
1335 (mi_varobj_tree_test_children_callback): New proc.
1336 (mi_walk_varobj_tree): New proc.
1337
36dfb11c
TT
13382011-11-22 Tom Tromey <tromey@redhat.com>
1339
1340 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
1341 Add "use_mi_command" argument.
1342 (mi_run_cmd, mi_run_with_cli): New procs.
1343 * gdb.mi/solib-lib.c: New file.
1344 * gdb.mi/solib-main.c: New file.
1345 * gdb.mi/mi-solib.exp: New file.
1346
0e965dd0
DE
13472011-11-21 Doug Evans <dje@google.com>
1348
1349 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
1350 _Unwind_DebugHook is missing.
1351
f196051f
SS
13522011-11-20 Stan Shebs <stan@codesourcery.com>
1353
1354 * gdb.trace/tstatus.exp: New.
1355 * gdb.trace/actions.c: Include string.h.
1356
bfccc43c
YQ
13572011-11-18 Yao Qi <yao@codesourcery.com>
1358
1359 * gdb.trace/pending.exp: New.
1360 * gdb.trace/pending.c: New.
1361 * gdb.trace/pendshr1.c: New.
1362 * gdb.trace/pendshr2.c: New.
1363 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
1364 tracepoint location becomes pending.
1365 (tracepoint_change_loc_2): New.
1366
73cd8ab1
DM
13672011-11-16 David S. Miller <davem@davemloft.net>
1368
1369 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
1370 target is sparc*-*-linux*
1371
77426730
PK
13722011-11-15 Paul Koning <paul_koning@dell.com>
1373
1374 * gdb.python/py-type.exp: New testcases for exceptions on scalar
1375 types.
1376
ed59ded5
DE
13772011-11-14 Doug Evans <dje@google.com>
1378
1379 * gdb.base/shell.exp: New file.
1380
405f8e94
SS
13812011-11-14 Stan Shebs <stan@codesourcery.com>
1382
1383 * gdb.trace/ftrace.c: New.
1384 * gdb.trace/ftrace.exp: New.
1385
1e4d1764
YQ
13862011-11-14 Yao Qi <yao@codesourcery.com>
1387
1388 * gdb.trace/change-loc-1.c: New.
1389 * gdb.trace/change-loc-2.c: New.
1390 * gdb.trace/change-loc.c: New.
1391 * gdb.trace/change-loc.exp: New.
1392 * gdb.trace/change-loc.h: New.
1393 * gdb.trace/trace-break.c (marker): Define new symbol.
1394 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
1395 New.
1396 (break_trace_same_addr_6): New.
1397
71eba9c2 13982011-11-12 Matt Rice <ratmice@gmail.com>
1399
1400 * gdb.base/info-macros.exp: Make tests for info definitions
1401 test info macro. Add tests for info macro argument processing.
1402 Rename a few tests.
1403
1d93e29a
KS
14042011-11-11 Keith Seitz <keiths@redhat.com>
1405
1406 PR gdb/12843
1407 * gdb.base/linespecs.exp: New file.
1408
a4b5b48a
DE
14092011-11-11 Doug Evans <dje@google.com>
1410
1411 * gdb.threads/print-threads.exp: Extend timeout for slower
1412 tests.
1413
f6b47be4
DE
14142011-11-10 Doug Evans <dje@google.com>
1415
792a0230
DE
1416 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
1417 "record to end of main" test.
1418
f6b47be4
DE
1419 * gdb.python/py-type.c (TS): New typedef.
1420 (ts): New global.
1421 * gdb.python/py-type.exp: Test field list of typedef.
1422
22355c90
JB
14232011-11-10 Joel Brobecker <brobecker@adacore.com>
1424
1425 * gdb.ada/small_reg_param: New testcase.
1426
a7860e76
TT
14272011-11-09 Tom Tromey <tromey@redhat.com>
1428
1429 * gdb.cp/destrprint.exp: New file.
1430 * gdb.cp/destrprint.cc: New file.
1431
72a2e3dc
MI
14322011-11-08 Meador Inge <meadori@codesourcery.com>
1433
1434 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
1435 (switch_stack_to_other): New test function.
1436 * gdb.arch/thumb-prologue.exp: New test cases.
1437
c7195df2 14382011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
1439
1440 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
1441
d3895d7d
YQ
14422011-11-08 Yao Qi <yao@codesourcery.com>
1443
1444 * gdb.exp (supports_process_record): New.
1445 (supports_reverse): New.
1446 * gdb.reverse/break-precsave.exp: Call support_process_record
1447 to run test conditionally.
1448 * gdb.reverse/consecutive-precsave.exp: Likewise.
1449 * gdb.reverse/i386-precsave.exp: Likewise.
1450 * gdb.reverse/machinestate-precsave.exp: Likewise.
1451 * gdb.reverse/solib-precsave.exp: Likewise.
1452 * gdb.reverse/step-precsave.exp: Likewise.
1453 * gdb.reverse/until-precsave.exp: Likewise.
1454 * gdb.reverse/watch-precsave.exp: Likewise.
1455 * gdb.reverse/break-reverse.exp: Call support_reverse to run
1456 test conditionally.
1457 * gdb.reverse/consecutive-reverse.exp: Likewise.
1458 * gdb.reverse/finish-precsave.exp: Likewise.
1459 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1460 * gdb.reverse/finish-reverse.exp: Likewise.
1461 * gdb.reverse/i386-reverse.exp: Likewise.
1462 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1463 * gdb.reverse/machinestate.exp: Likewise.
1464 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
1465 * gdb.reverse/sigall-precsave.exp: Likewise.
1466 * gdb.reverse/sigall-reverse.exp: Likewise.
1467 * gdb.reverse/solib-reverse.exp: Likewise.
1468 * gdb.reverse/step-reverse.exp: Likewise.
1469 * gdb.reverse/until-reverse.exp: Likewise.
1470 * gdb.reverse/watch-reverse.exp: Likewise.
1471
a59306a3
YQ
14722011-11-05 Yao Qi <yao@codesourcery.com>
1473
1474 * gdb.trace/trace-break.exp: Add test on setting two
1475 fast tracepoints at the same address.
1476
87769f59
JK
14772011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1478
1479 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
1480
3065dfb6
SS
14812011-11-02 Stan Shebs <stan@codesourcery.com>
1482
1483 * gdb.trace/collection.c: Add code using strings.
1484 * gdb.trace/collection.exp: Add tests of string collection.
1485
89e208db
JK
14862011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1487
1488 * gdb.base/skip-solib.exp (executable_main): New variable.
1489 (binfile_main): Base it on that.
1490 Use $executable_main in clean_restart calls. Drop gdb_exit and
1491 gdb_start calls.
1492
405e54e9
JK
14932011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1494
1495 Fix racy FAILs.
1496 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
1497 breakpoint_re globals import by async. Set string_regex to .* for
1498 async. Remove the optional thread_selected_re and breakpoint_re
1499 globals expectations.
1500
58e8570a
JM
15012011-11-01 Joseph Myers <joseph@codesourcery.com>
1502
1503 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
1504 well as Cygwin.
1505
7b35ec7f 15062011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
1507
1508 Add tests for skip command.
89e208db
JK
1509 * gdb.base/skip-solib-lib.c: New
1510 * gdb.base/skip-solib-main.c: New
1511 * gdb.base/skip-solib.exp: New
1512 * gdb.base/skip.c: New
1513 * gdb.base/skip.exp: New
1514 * gdb.base/skip1.c: New
1515 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 1516
b9fd1791
PA
15172011-10-31 Yao Qi <yao@codesourcery.com>
1518 Pedro Alves <pedro@codesourcery.com>
1519
1520 * gdb.trace/trace-break.c: New.
1521 * gdb.trace/trace-break.exp: New.
1522
4323fecc
JK
15232011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1524
1525 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
1526 break-here-2.
1527
0e5bf2a8
PA
15282011-10-28 Pedro Alves <pedro@codesourcery.com>
1529
1530 * gdb.threads/no-unwaited-for-left.c: New.
1531 * gdb.threads/no-unwaited-for-left.exp: New.
1532 * gdb.threads/non-ldr-exc-1.c: New.
1533 * gdb.threads/non-ldr-exc-1.exp: New.
1534 * gdb.threads/non-ldr-exc-2.c: New.
1535 * gdb.threads/non-ldr-exc-2.exp: New.
1536 * gdb.threads/non-ldr-exc-3.c: New.
1537 * gdb.threads/non-ldr-exc-3.exp: New.
1538 * gdb.threads/non-ldr-exc-4.c: New.
1539 * gdb.threads/non-ldr-exc-4.exp: New.
1540
3a3dad98
JK
15412011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1542
1543 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
1544 * gdb.base/attach-pie-misread.exp: Likewise.
1545 * gdb.base/break-interp.exp: Likewise.
1546 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
1547 testcases for use_gdb_stub.
1548 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
1549 (continue): New testcase.
1550 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
1551 * gdb.threads/attach-into-signal.exp: Likewise.
1552 * gdb.threads/attach-stopped.exp: Likewise.
1553 * gdb.threads/attachstop-mt.exp: Likewise.
1554
d6a5d40c
PK
15552011-10-28 Paul Koning <paul_koning@dell.com>
1556
1557 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
1558
ca539be8
JK
15592011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1560
1561 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
1562 (mi_gdb_test): Import globals thread_selected_re
1563 and breakpoint_re. Expect them optionally at the regex start.
1564
d234ef5c
DE
15652011-10-27 Doug Evans <dje@google.com>
1566
1567 * gdb.python/python.exp: Test source -s.
1568
ab964825
PK
15692011-10-26 Paul Koning <paul_koning@dell.com>
1570
1571 * gdb.python/lib-types.cc (struct A): New structure.
1572 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 1573
54d8a644
PK
15742011-10-25 Paul Koning <paul_koning@dell.com>
1575
1576 PR python/13327
d234ef5c 1577
54d8a644
PK
1578 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
1579 fetch_lazy method.
1580
b0221781
YQ
15812011-10-24 Yao Qi <yao@codesourcery.com>
1582
1583 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
1584 target is tic6x-*-*.
1585
6cda5a20
JB
15862011-10-21 Joel Brobecker <brobecker@adacore.com>
1587
1588 * gdb.ada/mi_task_info/task_switch.adb: New file.
1589 * gdb.ada/mi_task_info.exp: New file.
1590
5ed9db04
JK
15912011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1592
1593 * gdb.cp/expand-psymtabs-cxx.exp: New file.
1594 * gdb.cp/expand-psymtabs-cxx.cc: New file.
1595
9df2fbc4
PM
15962011-10-20 Phil Muldoon <pmuldoon@redhat.com>
1597
1598 PR python/12656
1599
1600 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
1601 global_block tests.
1602
736086ba
TT
16032011-10-18 Tom Tromey <tromey@redhat.com>
1604
1605 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
1606
4af31552
TT
16072011-10-18 Tom Tromey <tromey@redhat.com>
1608
1609 * gdb.base/source.exp: Don't include full file name in test name.
1610 * gdb.python/python.exp: Don't include full file name in test
1611 name.
1612
43136979
AR
16132011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1614
1615 * gdb.base/attach-pie-noexec.c: New files.
1616 * gdb.base/attach-pie-noexec.exp: New files.
1617
543a9323
JM
16182011-10-17 Joseph Myers <joseph@codesourcery.com>
1619
1620 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
1621 prompt for each extra line in command.
1622
21ae7a4d
JK
16232011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1624
1625 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
1626 Revert the part of:
1627 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1628 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1629 Change the expected string.
1630
20ec36d9
JK
16312011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1632
1633 Fix results with system glibc debug info installed.
1634 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
1635 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
1636 Accept also __libc_ symbol prefix and no prefix.
1637
6501c2fc
KS
16382011-10-14 Keith Seitz <keiths@redhat.com>
1639
1640 PR c++/13225
1641 * gdb.cp/converts.cc (foo3_1): New function.
1642 (foo3_2): New functions.
1643 * gdb.cp/converts.exp: Add tests for int to pointer conversion
1644 and null pointer conversions of integer constant zero.
1645 Add test to check if all arguments are checked for incompatible
1646 conversion BADNESS.
1647
55b1fd0c
TT
16482011-10-14 Tom Tromey <tromey@redhat.com>
1649
1650 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
1651 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
1652 linespec.
1653
22c05d8a
JK
16542011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1655
1656 Fix internal error regression.
1657 * gdb.dwarf2/implptr-optimized-out.S: New file.
1658 * gdb.dwarf2/implptr-optimized-out.exp: New file.
1659
1d6edc3c
JK
16602011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1661
1662 Fix empty DWARF expressions DATA vs. SIZE conditionals.
1663 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
1664 (loclist): New.
1665 (4): New abbrev.
1666 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
1667 Use prepare_for_testing, remove clean_restart.
1668 (p arraynoloc, p arraycallnoloc): New tests.
1669
9ec72168
JK
16702011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1671
1672 * gdb.cp/namespace-enum.exp (executable): New variable.
1673 (binfile): Use ${objdir}/${subdir}/ prefix.
1674 Use ${executable} for clean_restart.
1675
9c6c53f7
SA
16762011-10-11 Sterling Augustine <saugustine@google.com>
1677
1678 * gdb.cp/Makefile.in: Add namespace-enum test.
1679 * gdb.cp/namespace-enum.exp: New file.
1680 * gdb.cp/namespace-enum.c: New file.
1681 * gdb.cp/namespace-enum-main.c: New file.
1682
fac7ceb3
UW
16832011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
1684
1685 * gdb.python/py-shared.exp: Relax filename check to handle remote:
1686 sysroot.
1687
941b2081
JK
16882011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1689
1690 Reimplement @entry in input expressions.
1691 * gdb.base/exprs.c (v_int_array_init): New variable.
1692 * gdb.base/exprs.exp (print v_int_array_init)
1693 (print *v_int_array_init@1, print *v_int_array_init@2)
1694 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
1695 (print v_int_array_init[1]@1): New tests.
1696
0344e878
JM
16972011-10-10 Joseph Myers <joseph@codesourcery.com>
1698
1699 * gdb.cp/gdb2495.exp: Do not include directories in filename in
1700 expected message.
1701
5a56e9c5
DE
17022011-10-09 Doug Evans <dje@google.com>
1703
1704 * gdb.base/alias.exp: Add tests for alias command.
1705
2bda9cc5
JK
17062011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1707
1708 * gdb.arch/amd64-entry-value.s: New file.
1709 * gdb.mi/mi2-amd64-entry-value.s: New file.
1710
a471c594
JK
17112011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1712
1713 Display @entry parameter values even for references.
1714 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
1715 functions.
1716 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
1717 reference and datap_input.
1718 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
1719 breakpoints.
1720 (continue to breakpoint: entry_reference: reference)
1721 (entry_reference: bt at entry)
1722 (continue to breakpoint: entry_reference: breakhere_reference)
1723 (entry_reference: bt, entry_reference: ptype regparam)
1724 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
1725 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
1726 (entry_reference: p regcopy, entry_reference: p nodataparam)
1727 (entry_reference: p nodataparam@entry): New tests.
1728
36b11add
JK
17292011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1730
1731 Support @entry in input expressions.
1732 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
1733 (entry_stack: p s1@entry, entry_stack: p s2@entry)
1734 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
1735 (tailcall: p j@entry): New tests.
1736 * gdb.cp/koenig.cc (A::entry): New function.
1737 (main): Call it.
1738 * gdb.cp/koenig.exp (p entry (c)): New test.
1739
e18b2753
JK
17402011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1741
1742 Display @entry parameter values (without references).
1743 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
1744 (different, validity, invalid): New functions.
1745 (main): Call them.
1746 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
1747 stacktest, breakhere_stacktest, different, breakhere_different,
1748 breakhere_validity and breakhere_invalid.
1749 (entry: bt): Update for @entry.
1750 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
1751 (entry_validity: *, entry_invalid: *): Many new tests.
1752 * gdb.base/break.exp
1753 (run until breakpoint set at small function, optimized file): Accept
1754 also the @entry suffix.
1755 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
1756 * gdb.mi/mi2-amd64-entry-value.c: New files.
1757 * gdb.mi/mi2-amd64-entry-value.exp: New files.
1758
2d6c5dc2
JK
17592011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1760
1761 Protect entry values against self tail calls.
1762 * gdb.arch/amd64-entry-value.cc (self2, self): New.
1763 (main): Call self.
1764 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
1765 (set debug entry-values 1, self: bt debug entry-values): New tests.
1766
111c6489
JK
17672011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1768
1769 Recognize virtual tail call frames.
1770 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
1771 (amb_b, amb_a): New.
1772 (main): Call a and b.
1773 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
1774 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
1775 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
1776 New tests.
1777
8e3b41a9
JK
17782011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1779
1780 Implement basic support for DW_TAG_GNU_call_site.
1781 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
1782 * gdb.arch/amd64-entry-value.cc: New file.
1783 * gdb.arch/amd64-entry-value.exp: New file.
1784
181cebd4
JK
17852011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1786
1787 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
1788 * gdb.dwarf2/implptr-64bit.S: New file.
1789 * gdb.dwarf2/implptr-64bit.exp: New file.
1790
741f5e3c
JK
17912011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1792
1793 Fix initial language detection with -readnow.
1794 * gdb.cp/readnow-language.cc: New file.
1795 * gdb.cp/readnow-language.exp: New file.
1796
a73d2258
JK
17972011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1798
1799 Fix printed anonymous struct name.
1800 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
1801
af369495
JM
18022011-10-09 Joseph Myers <joseph@codesourcery.com>
1803
1804 * gdb.base/solib-symbol.exp: Do not include directories in
1805 filenames in expected messages.
1806
1fa57852
DE
18072011-10-07 Doug Evans <dje@google.com>
1808
1809 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
1810
bd054e06
KP
18112011-10-07 Kevin Pouget <kevin.pouget@st.com>
1812
1813 Allow Python notification of new object-file loadings.
1814 * gdb.python/py-events.exp: Test newobjfile event.
1815 * gdb.python/py-events.py: Register newobjfile callback.
1816 * gdb.python/py-events.c: Add call to shared library
1817 * gdb.python/py-events-shlib.c: New file.
1818
8031b6f8
JM
18192011-10-06 Joseph Myers <joseph@codesourcery.com>
1820
1821 * gdb.base/fixsection.exp: Do not include directories in filename
1822 in expected message.
1823
7fea6923
PM
18242011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
1825
1826 Add tests for passing of environment variables to inferior.
1827 * gdb.base/testenv.c: New test source.
1828 * gdb.base/testenv.exp: New expect test.
1829
687f2a88
PK
18302011-10-04 Paul Koning <paul_koning@dell.com>
1831
1832 * gdb.python/py-value.c (main): Break before return.
1833
cb6be26b
KP
18342011-10-04 Kevin Pouget <kevin.pouget@st.com>
1835
1836 PR python/12691: Add the inferior to Python exited event
1837 * gdb.python/py-events.exp: Test the inferior attribute of exited
1838 event with a fork.
1839 * gdb.python/py-events.py: Print inferior number on exit.
1840 * gdb.python/py-events.c: Fork the inferior.
1841
fb213700
EBM
18422011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1843
1844 * gdb.base/jit.exp: Add testcase name to log message
1845
aa2071bd
PK
18462011-10-03 Paul Koning <paul_koning@dell.com>
1847 Jan Kratochvil <jan.kratochvil@redhat.com>
1848
1849 * gdb.python/py-value.exp
1850 (python inval = gdb.parse_and_eval('*(int*)0'))
1851 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
1852 (set argc=2, python print argc_lazy): New tests.
1853
dd11a36c
JB
18542011-10-02 Joel Brobecker <brobecker@adacore.com>
1855
1856 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
1857
46f886f1
JK
18582011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1859 Pedro Alves <pedro@codesourcery.com>
1860
1861 * gdb.python/py-value.exp (test_value_in_inferior): New variable
1862 can_read_0, test for it.
1863 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
1864 (parse_and_eval with memory error): ... here, make it untested if
1865 can_read_0.
1866
c5cb204f
MP
18672011-09-30 Marek Polacek <mpolacek@redhat.com>
1868
1869 * gdb.python/python.exp (verify pagination beforehand)
1870 (verify pagination afterwards): Fix race by splitting the line.
1871
68fb0ec0
JM
18722011-09-29 Joseph Myers <joseph@codesourcery.com>
1873
1874 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
1875 for 64-bit multilibs from i?86-* targets.
1876
6aee0d90
MP
18772011-09-29 Marek Polacek <mpolacek@redhat.com>
1878
1879 * lib/gdb.exp: Fix a typo in one of the comments.
1880
e9101ff5
MP
18812011-09-29 Marek Polacek <mpolacek@redhat.com>
1882
1883 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
1884 matching pattern.
1885
7a81bdbf
PK
18862011-09-28 Paul Koning <paul_koning@dell.com>
1887
1888 * gdb.python/py-type.c (enum E): New.
1889 * gdb.python/py-type.exp (test_fields): Add tests for Python
1890 mapping access to fields.
1891 (test_enums): New test for field access on enums.
1892
6710bf39
SS
18932011-09-27 Stan Shebs <stan@codesourcery.com>
1894
1895 * gdb.trace/collection.exp: Test collection of $_ret.
1896
b2a6bdeb
AT
18972011-09-22 Andreas Tobler <andreast@fgznet.ch>
1898
1899 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
1900 list of compilation switches for <*-*-freebsd*>.
1901
3c9057f3
SS
19022011-09-19 Stan Shebs <stan@codesourcery.com>
1903
1904 * gdb.trace/tspeed.exp: New file.
1905 * gdb.trace/tspeed.c: New file.
1906
34518530
YQ
19072011-09-18 Yao Qi <yao@codesourcery.com>
1908
1909 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
1910 instructions.
1911 (test_adr_32bit, test_pop_pc): Likewise.
1912 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
1913 Thumb instructions.
1914 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
1915 in gdb_test_multiple.
1916 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
1917
ab254057
YQ
19182011-09-17 Yao Qi <yao@codesourcery.com>
1919
1920 * lib/gdb.exp (can_single_step_to_signal_handler): New.
1921 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
1922 support single step to signal handler.
1923
9c317b71
YQ
19242011-09-17 Yao Qi <yao@codesourcery.com>
1925
1926 * gdb.base/disp-step-fork.c: New.
1927 * gdb.base/disp-step-syscall.exp: New.
1928 * gdb.base/disp-step-vfork.c: New.
1929
a8123151
JB
19302011-09-16 Joel Brobecker <brobecker@adacore.com>
1931
1932 * gdb.ada/tasks.exp: Make the expected output for
1933 the `info tasks' tests more resilient to spacing
1934 changes.
1935
63a9aad8
JK
19362011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1937
1938 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
1939 (reached breakpoint 2, reached breakpoint 3): Update expected output.
1940
2aa48337
KP
19412011-09-15 Kevin Pouget <kevin.pouget@st.com>
1942
1943 PR Python/12692 Add gdb.selected_inferior() to Python interface.
1944 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
1945
6839b47f
KP
19462011-04-30 Kevin Pouget <kevin.pouget@st.com>
1947
1948 Handle multiple breakpoint hits in Python interface:
1949 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
1950 presence.
1951 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
1952 breakpoint hits.
1953
0935723e
JK
19542011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1955 Jan Kratochvil <jan.kratochvil@redhat.com>
1956
1957 * gdb.python/py-events.exp: Remove pretty printing comment.
1958 * gdb.python/py-evsignal.exp: New file.
1959 * gdb.python/py-evthreads.c: Include signal.h.
1960 (thread3): Remove variable count3. Remove variable bad and use raise
1961 instead.
1962 (thread2): Remove variable count2. Move thread3 pthread_create here,
1963 merge pthread_join to a single line.
1964 (main): Remove variable count1. Merge pthread_join with pthread_create
1965 to a single line.
1966 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
1967 KFAIL python/12966 for gdbserver. Test return value of
1968 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
1969 gdb_expect by gdb_test and gdb_test_multiple.
1970 (thread 2, thread 3): New tests.
1971
4801a9a3
PA
19722011-09-12 Matt Rice <ratmice@gmail.com>
1973 Pedro Alves <pedro@codesourcery.com>
1974
1975 PR gdb/13175
1976
1977 * gdb.base/interp.exp: New tests.
1978 * gdb.base/interp.c: New file.
1979
24ece742
DE
19802011-09-12 Doug Evans <dje@google.com>
1981
1982 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
1983 * gdb.dwarf2/typeddwarf.exp: Ditto.
1984
7f062217
JK
19852011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1986
1987 Fix compatibility with x32 arch.
1988 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
1989 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
1990 is_x86_like_target.
1991 * testsuite/gdb.trace/collection.exp: Likewise.
1992 * testsuite/gdb.trace/report.exp: Likewise.
1993 * testsuite/gdb.trace/unavailable.exp: Likewise.
1994 * testsuite/gdb.trace/while-dyn.exp: Likewise.
1995 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
1996 (is_x86_like_target): Check also is_amd64_regs_target.
1997
08711b9a
JK
19982011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1999
2000 PR breakpoints/12435
2001 * gdb.arch/amd64-prologue-xmm.c: New file.
2002 * gdb.arch/amd64-prologue-xmm.exp: New file.
2003 * gdb.arch/amd64-prologue-xmm.s: New file.
2004
b99b5f66
JK
20052011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2006
2007 * gdb.dwarf2/dw2-param-error-main.c: New file.
2008 * gdb.dwarf2/dw2-param-error.S: New file.
2009 * gdb.dwarf2/dw2-param-error.exp: New file.
2010
a391a2f6
PA
20112011-09-08 Pedro Alves <pedro@codesourcery.com>
2012
2013 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
2014 inferior's pid and look for a core dump named core.$pid. Use
2015 `remote_file' commands on the host instead of hand coding shell
2016 commands on the build.
2017 * gdb.base/valgrind-db-attach.exp: Kill the program before
2018 finishing the test.
2019
7d8e6458 20202011-09-02 Matt Rice <ratmice@gmail.com>
2021
2022 * lib/prompt.exp: New file for testing the first prompt.
2023 * gdb.python/py-prompt.exp: Ditto.
2024 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
2025
68e77c9e
PA
20262011-09-02 Pedro Alves <pedro@codesourcery.com>
2027
2028 * gdb.threads/gcore-thread.exp: Set the global core_supported to
2029 0, before testing gcore.
2030
9655e943
JK
20312011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2032
df6dc84d
JK
2033 * dw2-ifort-parameter-debug.S: Update copyright year.
2034 * dw2-ifort-parameter.c: Update copyright year.
2035 * dw2-ifort-parameter.exp: Update copyright year.
2036
9655e943
JK
2037 * dw2-ifort-parameter-debug.S: New file.
2038 * dw2-ifort-parameter.c: New file.
2039 * dw2-ifort-parameter.exp: New file.
2040
353d1d73
JK
20412011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2042
2043 * gdb.base/commands.exp (error_clears_commands_left): New function.
2044 (): Call it.
2045
5c07461a
JK
20462011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2047
2048 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
2049 (C): Initialize `a'.
2050 * gdb.mi/mi-inheritance-syntax-error.exp
2051 (-data-evaluate-expression $path): Expect `a' as 5.
2052
0d932b2f
MK
20532011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
2054
2055 PR mi/11912
2056 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
2057 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
2058 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
2059 keyword in output of -var-info-path-expression.
2060
bdb54049
JK
20612011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2062
2063 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
2064 * gdb.trace/collection.exp: Likewise.
2065 * gdb.trace/report.exp: Likewise.
2066 * gdb.trace/unavailable.exp: Likewise.
2067 * gdb.trace/while-dyn.exp: Likewise.
2068
59cde39c
KS
20692011-08-18 Keith Seitz <keiths@redhat.com>
2070
2071 PR c++/12266
2072 * gdb.cp/meth-typedefs.cc: New file.
2073 * gdb.cp/meth-typedefs.exp: New file.
2074
fa3a4f15
PM
20752011-08-17 Phil Muldoon <pmuldoon@redhat.com>
2076
2077 * gdb.python/python.exp: Add extended-prompt tests.
2078
c1049fca
JK
20792011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2080
2081 * gdb.arch/i386-dr3-watch.exp
2082 (watchpoint on gap1 does not fit debug registers)
2083 (delete all watchpoints): Fix racy expect strings.
2084
d93f7b5c
YQ
20852011-08-14 Yao Qi <yao@codesourcery.com>
2086
2087 * gdb.base/maint.exp: set data_section to ".neardata".
2088 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
2089 * gdb.base/savedregs.exp: Handle SIGILL.
2090 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
2091 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
2092
457e09f0
DE
20932011-08-12 Doug Evans <dje@google.com>
2094
2095 * gdb.python/py-symbol.exp: Add test for symbol.type.
2096
5d0bb2fb
UW
20972011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
2098
2099 * gdb.threads/pthreads.exp: Enable on non-native configurations.
2100 * gdb.mi/mi-pthreads.exp: Likewise.
2101 * gdb.mi/mi2-pthreads.exp: Likewise.
2102 * gdb.mi/gdb669.exp.exp: Likewise.
2103
fcdfa280
PA
21042011-08-09 Pedro Alves <pedro@codesourcery.com>
2105
2106 * lib/mi-support.exp (detect_async): Rename to...
2107 (mi_detect_async): ... this.
2108 * gdb.mi/mi-nonstop-exit.exp: Adjust.
2109 * gdb.mi/mi-nonstop.exp: Adjust.
2110 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
2111 * gdb.mi/mi-nsintrall.exp: Adjust.
2112 * gdb.mi/mi-nsmoribund.exp: Adjust.
2113 * gdb.mi/mi-nsthrexec.exp: Adjust.
2114
9d8fa392
PA
21152011-08-09 Pedro Alves <pedro@codesourcery.com>
2116
2117 * gdb.base/display.c (do_loops): New `p_i' local.
2118 * gdb.base/display.exp: Test displaying a variable that is
2119 temporarily at a bad address.
2120
b6cede78
JK
21212011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2122
2123 * gdb.dwarf2/dw2-op-stack-value.S: New file.
2124 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
2125
67bedb8c
JK
21262011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2127
2128 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
2129 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
2130 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 2131
af6e93b2
PA
21322011-08-05 Pedro Alves <pedro@codesourcery.com>
2133
2134 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
2135 procedure.
2136 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
2137
1cf0e11f
YQ
21382011-08-05 Yao Qi <yao@codesourcery.com>
2139
2140 * gdb.base/callfuncs.exp: Set language after main.
2141 * gdb.cp/cplusfuncs.exp: Likewise.
2142 * gdb.cp/inherit.exp: Likewise.
2143
a1e28cb2
UW
21442011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2145
2146 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
2147 * gdb.base/watch-vfork.exp: Skip on remote targets.
2148
d4f5bbb9
UW
21492011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2150
2151 * gdb.threads/thread-find.exp: Support remote targets.
2152
724f4f80
UW
21532011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
2154
2155 * gdb.base/jit.exp: Download solib_binfile to target.
2156 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
2157 and call dlopen without full path name.
2158 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
2159 dlopen without full path name.
2160
934709f0
PW
21612011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2162
2163 * gdb.base/break-always.exp: Complete the test
2164 with duplicated breakpoints and enabling/disabling them.
2165
c26106c4
TT
21662011-08-02 Tom Tromey <tromey@redhat.com>
2167
2168 PR gdb/11289:
2169 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
2170
9300444e 21712011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
2172
2173 PR gdb/13045
2174 * gdb.base/float.exp: Add new test case for PR gdb/13045
2175 * gdb.base/float.c: New file.
2176
00bd41d6
PM
21772011-07-28 Phil Muldoon <pmuldoon@redhat.com>
2178
2179 * gdb.python/py-mi.exp: Test printers returning string hint, and
2180 also not returning a value.
2181 * gdb.python/py-prettyprint.c: Add testcase for above.
2182 * gdb.python/py-prettyprint.py: Add test printer for above.
2183
d24f74ce
JK
21842011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2185
2186 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
2187 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
2188 (.Ldie30) Add as field "data4".
2189 (.Ldie32) Rename field "b" to "shl".
2190 (abbrev4) Change for the "data4" field.
2191 (abbrev5, abbrev6) Remove.
2192 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
2193 (p &s.shl): ... here. Add comment.
2194 (p &s.data4): New.
2195
bb7da2bf
JK
21962011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2197
2198 Fix crash on lval_computed values.
2199 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
2200
11081198
JK
22012011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2202
2203 * gdb.base/help.exp (help whatis): Update the expected string.
2204
3c6e0cb3
JK
22052011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2206
2207 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
2208 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
2209 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
2210 Change the expected string.
2211
efa80663
PA
22122011-07-26 Pedro Alves <pedro@codesourcery.com>
2213
2214 * gdb.base/watchpoint.exp
2215 (test_disable_enable_software_watchpoint): New procedure.
2216 (top level): Run it.
2217
db8e4570
UW
22182011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
2219
2220 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
2221 executable file "${binfile}", C++ version "${binfile}-cxx".
2222 * gdb.python/py-prettyprint.exp: Likewise.
2223 * gdb.python/py-symbol.exp: Likewise.
2224 * gdb.python/py-type.exp: Likewise.
2225 * gdb.python/py-value.exp: Likewise.
2226 * gdb.python/py-template.exp (test_template_arg): Pass full executable
2227 file name instead of just suffix.
2228
543305c9
JK
22292011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2230
2231 Fix implicit pointer offsets.
2232 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
2233 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
2234 (continue to breakpoint: continue to baz breakpoint for implptr)
2235 (sanity check element 0, sanity check element 1)
2236 (enter the inlined function, check element 0 for the offset)
2237 (check element 1 for the offset)
2238 (continue to breakpoint: ignore the second baz breakpoint): New tests.
2239 (set foo breakpoint for implptr): Update the breakpoint number.
2240
b3215adc
UW
22412011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2242
2243 * gdb.python/py-mi.exp: Use different file names for different
2244 versions of the executable under test.
2245 * gdb.python/py-prettyprint.exp: Likewise.
2246 * gdb.python/py-symbol.exp: Likewise.
2247 * gdb.python/py-template.exp: Likewise.
2248 * gdb.python/py-type.exp: Likewise.
2249 * gdb.python/py-value.exp: Likewise.
2250
182b9acc
UW
22512011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2252
2253 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
2254 flag after restarting GDB if necessary.
2255
e6052b5d
UW
22562011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2257
2258 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
2259
1ced966e
PA
22602011-07-22 Pedro Alves <pedro@codesourcery.com>
2261
2262 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
2263 backend doesn't leave used debug registers behind.
2264
3543a589
TT
22652011-07-22 Tom Tromey <tromey@redhat.com>
2266
2267 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
2268 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
2269 argument.
2270 * gdb.dwarf2/typeddwarf-amd64.S: New file.
2271
14d15303 22722011-07-21 Matt Rice <ratmice@gmail.com>
2273
2274 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
2275 in mostlyclean rule. Add files ending in .core.
2276
9b158ba0 22772011-07-21 Matt Rice <ratmice@gmail.com>
2278
2279 PR macros/12999
2280 * gdb.base/info-macros.c: New test sources.
2281 * gdb.base/info-macros.exp: New tests.
2282
d17b6f81
PM
22832011-07-21 Phil Muldoon <pmuldoon@redhat.com>
2284
2285 * gdb.python/python.exp: Add prompt substitution tests.
2286
918dd910
JK
22872011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2288
2289 Fix crash if referenced CU is aged out.
2290 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
2291 New.
2292 * gdb.dwarf2/implptr.exp: Likewise.
2293
0e37a63c
JK
22942011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2295
2296 * gdb.dwarf2/implptr.S: Rebuilt.
2297 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
2298 (bar): Use them for j, k, l.
2299 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
2300 COMPILE.
2301 (print j in implptr:bar): Update for the intp typedef.
2302 (print p[0].x in implptr:foo): Use more exact regex.
2303
f65cf84c
TT
23042011-07-18 Tom Tromey <tromey@redhat.com>
2305
2306 * gdb.cp/static-method.exp: Add missing single quote.
2307
d5b4a7be
YQ
23082011-07-18 Yao Qi <yao@codesourcery.com>
2309
2310 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
2311 supported.
2312 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2313 * gdb.mi/mi-nonstop.exp: Likewise.
2314 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2315 * gdb.mi/mi-nsintrall.exp: Likewise.
2316 * gdb.mi/mi-nsmoribund.exp: Likewise.
2317 * gdb.mi/mi-nsthrexec.exp: Likewise.
2318 * gdb.python/py-evthreads.exp: Likewise.
2319
e9ea2662
JK
23202011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2321
2322 Code cleanup.
2323 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
2324 it. Substitute it instead of test_compiler_info everywhere.
2325
ce451573
UW
23262011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2327
2328 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
2329 remote targets as well.
2330
756d88a7
UW
23312011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2332
2333 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
2334 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
2335
31f83dc5
UW
23362011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2337
2338 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
2339 a remote machine, not the host.
2340 (gdb_compile_shlib): Set soname if target is remote.
2341
059241a0
PP
23422011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2343
2344 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
2345
28a0b48c 23462011-07-13 Matt Rice <ratmice@gmail.com>
2347
2348 * gdb.python/py-objfile-script-gdb.py: Renamed to
2349 py-objfile-script-gdb.py.in.
2350 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
2351 py-objfile-script-gdb.py.
2352 * gdb.python/py-objfile-script.exp: Update reference to
2353 py-objfile-script-gdb.py.
2354
9a771b67
JK
23552011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2356
2357 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
2358 reference undefined label.
2359
04ad99e6
JK
23602011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2361
2362 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
2363 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
2364 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
2365 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
2366
713389e0
PM
23672011-07-11 Phil Muldoon <pmuldoon@redhat.com>
2368
2369 PR python/12438
2370 * gdb.python/python.exp: Add maint set/show python print-stack
2371 deprecated tests. Add set/show python print-backtrace tests.
2372
97d146f8
JK
23732011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2374
2375 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
2376 debug info.
2377
facde0e5 23782011-07-06 Matt Rice <ratmice@gmail.com>
2379
2380 * gdb.python/python.exp: Update filename paths.
2381 * gdb.python/py-symtab.exp: Ditto.
2382
438640d1
MP
23832011-07-06 Marek Polacek <mpolacek@redhat.com>
2384
2385 * gdb.python/py-evthreads.exp: Add missing `$'.
2386
33a365df
MF
23872011-07-06 Jie Zhang <jie.zhang@analog.com>
2388
2389 * config/bfin.exp: New file.
2390 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
2391 * gdb.asm/bfin.inc: New file.
2392
8f7ae686
MP
23932011-07-06 Marek Polacek <mpolacek@redhat.com>
2394
df46027d 2395 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
2396 the whole output.
2397
eb2a6f42
TT
23982011-07-05 Tom Tromey <tromey@redhat.com>
2399
2400 * gdb.java/jprint.java (jprint.hi): New field.
2401 * gdb.java/jprint.exp: Print string.
2402
177b42fe
TJB
24032011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
2404
2405 * gdb.base/call-sc.c: Fix typos.
2406 * gdb.base/ifelse.exp: Likewise.
2407 * gdb.base/structs.c: Likewise.
2408
3b2a0cf2
JB
24092011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2410
2411 * gdb.base/jit-so.exp: New test.
2412 * gdb.base/jit-dlmain.c: New file.
2413 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
2414
46fc714c
JK
24152011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2416
2417 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
2418 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
2419 * gdb.cp/pr9167.exp (p b): Likewise.
2420 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
2421 (test value of P in inner_m, test type of Z in inner_m): Call
2422 setup_xfail for gcc <= 4.5.
46fc714c 2423
418c7cf7
JK
24242011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2425
2426 * gdb.cp/paren-type.cc: New files.
2427 * gdb.cp/paren-type.exp: New files.
2428
3d50dd94
JK
24292011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2430
2431 Stop on first linespec terminator instead of eating what we can.
2432 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
2433 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
2434 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
2435 (break C::f()): ... this one.
2436 (break C::operator()()): New test.
2437 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
2438 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
2439 test.
2440
dcf9f4ab
JK
24412011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2442
2443 Fall back linespec to minimal symbols.
2444 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
2445 error message.
2446 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
2447 * gdb.cp/minsym-fallback-main.cc: New file.
2448 * gdb.cp/minsym-fallback.cc: New file.
2449 * gdb.cp/minsym-fallback.exp: New file.
2450 * gdb.cp/minsym-fallback.h: New file.
2451
3f542ed1
JK
24522011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2453
2454 * gdb.cp/no-dmgl-verbose.cc: New file.
2455 * gdb.cp/no-dmgl-verbose.exp: New file.
2456
24572011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
2458
2459 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
2460 __GI_.
2461 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
2462 (f): New function.
2463 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
2464 (complete p 'func<short>(): ... here.
2465 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
2466 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
2467 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
2468 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
2469 Make them KFAIL gcc/49546.
2470
00eb2c4a
JB
24712011-07-01 Joel Brobecker <brobecker@adacore.com>
2472
2473 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
2474
85a20c42
JK
24752011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2476
2477 Test GCC PR debug/49546.
2478 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
2479 (test type of F in k3_m, test value of F in k3_m): New.
2480 * gdb.cp/temargs.cc (struct S3, struct K3): New.
2481 (main): New variable k3. Call k3.k3_m.
2482
d2d43431
JB
24832011-07-01 Jean-Charles Delay <delay@adacore.com>
2484
2485 * gdb.ada/packed_array.exp: Fix expected outout.
2486
54ae186f
JB
24872011-07-01 Jean-Charles Delay <delay@adacore.com>
2488
2489 * gdb.ada/packed_array.exp: fixed expected output.
2490
8f17729f
JB
24912011-07-01 Joel Brobecker <brobecker@adacore.com>
2492
2493 * gdb.ada/same_enum: New testcase.
2494
f5aa6869
JB
24952011-07-01 Joel Brobecker <brobecker@adacore.com>
2496
2497 * gdb.ada/ptr_typedef: New testcase.
2498
828292f2
JB
24992011-07-01 Joel Brobecker <brobecker@adacore.com>
2500
2501 * gdb.ada/arrayptr.exp: Add ptype test.
2502
18920c42
JB
25032011-07-01 Joel Brobecker <brobecker@adacore.com>
2504
2505 * gdb.ada/char_enum: New testcase.
2506
3536d9e3 25072011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
2508
2509 * gdb.base/dump.exp (capture_pointer_with_type): New.
2510 Get value from address instead of name.
2511 Start GDB once, and do `dump' and `restore'
2512 tests together.
2513
db863c42
MF
25142011-06-30 Jie Zhang <jie.zhang@analog.com>
2515 Mike Frysinger <vapier@gentoo.org>
2516
2517 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
2518 helper functions for getting/setting remotetimeout variable.
2519 * lib/gdb.exp (gdb_load): If the target is remote, set
2520 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
2521 with $loadtimeout. Set $load_ok to 0 before doing the load.
2522 Instead of returning, immediately, set $load_ok to 0. Call
2523 set_remotetimeout with $oldremotetimeout, and then return if
2524 $load_ok is 1.
2525
e9e642a8
AB
25262011-06-30 Andrew Burgess <aburgess@broadcom.com>
2527
2528 * gdb.python/py-template.exp: Don't run this test if the target
2529 does not support c++ tests.
2530
32019081
JK
25312011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2532
2533 Fix non-only rename list for Fortran modules import.
2534 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
2535 tests.
2536 * gdb.fortran/module.f90 (module moduse): New.
2537 (program module): use moduse, test var_x, var_y and var_z.
2538
0ecee54c
TT
25392011-06-29 Tom Tromey <tromey@redhat.com>
2540
2541 PR testsuite/12040:
2542 * gdb.fortran/array-element.exp: Use f90, not f77.
2543 * gdb.fortran/complex.exp: Use f90, not f77.
2544 * gdb.fortran/derived-type.exp: Use f90, not f77.
2545 * gdb.fortran/library-module.exp: Use f90, not f77.
2546 * gdb.fortran/logical.exp: Use f90, not f77.
2547 * gdb.fortran/module.exp: Use f90, not f77.
2548 * gdb.fortran/multi-dim.exp: Use f90, not f77.
2549 * gdb.fortran/subarray.exp: Use f90, not f77.
2550
3b2b8fea
TT
25512011-06-29 Tom Tromey <tromey@redhat.com>
2552
2553 * gdb.fortran/charset.exp: New file.
2554 * gdb.fortran/charset.f90: New file.
2555
42159ca5
TT
25562011-06-29 Tom Tromey <tromey@redhat.com>
2557
2558 PR testsuite/12040:
2559 * lib/future.exp: New file, mostly extracted from ada.exp.
2560 Rewrote compatibility code to use rename.
2561 (gdb_find_gfortran): New proc.
2562 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
2563 gfortran patch.
2564 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
2565 Move to future.exp.
2566 * lib/gdb.exp: Always load future.exp.
2567
af69a5ce
YQ
25682011-06-28 Yao Qi <yao@codesourcery.com>
2569
2570 * gdb.cp/exception.cc: Don't include iostream.
2571 (bar): Remove print statement.
2572 (catcher): New.
2573 (main): Remove print statements. Call function catcher.
2574 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
2575 Set breakpoint on catcher, and check the value of parameter.
2576
ab5c6a72
YQ
25772011-06-23 Yao Qi <yao@codesourcery.com>
2578
2579 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
2580 1.2 is disabled. KFAIL for uclinux.
2581
9497469f
MP
25822011-06-23 Marek Polacek <mpolacek@redhat.com>
2583
2584 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
2585 mi_gdb_test.
2586
b9132588
MP
25872011-06-23 Marek Polacek <mpolacek@redhat.com>
2588
5d197ed0 2589 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 2590
e55595ca
MP
25912011-06-23 Marek Polacek <mpolacek@redhat.com>
2592
5d197ed0
MP
2593 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
2594
25952011-06-23 Marek Polacek <mpolacek@redhat.com>
2596
2597 * gdb.mi/mi2-basics.exp: Fix races. Honour the
2598 `test_exec_and_symbol_mi_operatons' return value.
2599 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2600 gdb_test_multiple.
2601 (test_exec_and_symbol_mi_operatons): Likewise.
2602 (test_path_specification): Likewise.
e55595ca 2603
be777e08
YQ
26042011-06-23 Yao Qi <yao@codesourcery.com>
2605
2606 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
2607 supported.
2608 * lib/gdb.exp (support_displaced_stepping): New.
2609
615556d6
YQ
26102011-06-23 Yao Qi <yao@codesourcery.com>
2611
2612 * gdb.threads/execl.exp: Skip on remote target.
2613
833b0ca7
MP
26142011-06-21 Marek Polacek <mpolacek@redhat.com>
2615
5d197ed0 2616 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
2617 mi_gdb_test.
2618
1ee4023a
MP
26192011-06-20 Marek Polacek <mpolacek@redhat.com>
2620
5d197ed0 2621 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 2622
d0b1d624
MP
26232011-06-20 Marek Polacek <mpolacek@redhat.com>
2624
5d197ed0 2625 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
2626 mi_gdb_test.
2627
79aa92c1
MP
26282011-06-20 Marek Polacek <mpolacek@redhat.com>
2629
5d197ed0 2630 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 2631
5ce5db06
YQ
26322011-06-14 Yao Qi <yao@codesourcery.com>
2633
2634 gdb/testsuite/
2635 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
2636
533a737e
JK
26372011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2638
2639 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
2640
d0e53741
TT
26412011-06-10 Tom Tromey <tromey@redhat.com>
2642
2643 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
2644 Add tests for pointer-to-member-function.
2645 * gdb.cp/temargs.cc (S::somefunc): New function.
2646 (K2): New class.
2647 (main): Instantiate K2; call method.
2648
b5916bbd
JB
26492011-06-08 Joel Brobecker <brobecker@adacore.com>
2650
2651 * gdb.python/py-inferior.c (f2): Make str an array rather
2652 than a pointer.
2653 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
2654
5be4dfca
JK
26552011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2656
2657 * gdb.base/async-shell.c: New file.
2658 * gdb.base/async-shell.exp: New file.
2659
9f47e254
PA
26602011-06-06 Pedro Alves <pedro@codesourcery.com>
2661
2662 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
2663
64b9b334
JB
26642011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
2665
2666 From Stephen Kitt <steve@sk2.org>
2667 * gdb.base/help.exp: Adjust following some spelling corrections
2668 in GDB.
2669
dbc0f131
YQ
26702011-06-01 Yao Qi <yao@codesourcery.com>
2671
2672 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2673
fd336a18
KS
26742010-05-31 Keith Seitz <keiths@redhat.com>
2675
2676 PR c++/12750
2677 * gdb.cp/static-method.cc: New file.
2678 * gdb.cp/static-method.exp: New file.
2679
fa8b9902
KS
26802010-05-31 Keith Seitz <keiths@redhat.com>
2681
2682 PR symtab/12704
2683 * gdb.cp/anon-ns.cc: New file.
2684 * gdb.cp/anon-ns.exp: New file.
2685
0a5b1e09
PA
26862011-05-31 Pedro Alves <pedro@codesourcery.com>
2687
2688 * gdb.arch/i386-dr3-watch.c: New file.
2689 * gdb.arch/i386-dr3-watch.exp: New file.
2690
0578b8d1
YQ
26912011-05-30 Yao Qi <yao@codesourcery.com>
2692
2693 * gdb.base/callfuncs.c (t_structs_fc): New.
2694 (t_structs_dc, t_structs_ldc): New.
2695 (t_double_many_args):
2696 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
2697 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
2698 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
2699 * gdb.base/callfuncs.exp: Call new functions.
2700
6680506e
YQ
27012011-05-30 Yao Qi <yao@codesourcery.com>
2702
ff4d2c60
YQ
2703 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
2704 Call rerun_and_prepare for each test to isolate effects.
2705
27062011-05-30 Yao Qi <yao@codesourcery.com>
2707
2708 * gdb.base/varargs.c (find_max_float_real): New.
2709 (find_max_double_real, find_max_long_double_real): New.
2710 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
2711 * lib/gdb.exp (setup_kfail_for_target): New.
2712
e43ec454
YQ
27132011-05-30 Yao Qi <yao@codesourcery.com>
2714
2715 * gdb.base/funcargs.c (callca, callcb, callcc): New.
2716 (callcd, callce, callcf, callc1a, callc1b): New.
2717 (callc2a, callc2b): New.
2718 * gdb.base/funcargs.exp (complex_args): New.
2719 (complex_integral_args, complex_float_integral_args): New.
2720 * lib/gdb.exp (support_complex_tests): New. Determine
2721 whether to run test cases on _Complex types.
2722
432b4d03
JK
27232011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2724
2725 * gdb.threads/leader-exit.c: New file.
2726 * gdb.threads/leader-exit.exp: New file.
2727
6caf069d
MP
27282011-05-27 Marek Polacek <mpolacek@redhat.com>
2729
9497469f 2730 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 2731
97fce28b
MP
27322011-05-27 Marek Polacek <mpolacek@redhat.com>
2733
2734 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
2735 remove the `supported' variable.
2736 * gdb.mi/mi-nonstop.exp: Likewise.
2737 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2738 * gdb.mi/mi-nsintrall.exp: Likewise.
2739 * gdb.mi/mi-nsmoribund.exp: Likewise.
2740 * gdb.mi/mi-nsthrexec.exp: Likewise.
2741
9da8c2a0
PA
27422011-05-26 Pedro Alves <pedro@codesourcery.com>
2743
2744 * gdb.reverse/finish-reverse-bkpt.exp: New test.
2745
2c03e5be
PA
27462011-05-26 Pedro Alves <pedro@codesourcery.com>
2747
2748 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
2749
2e21250d
KS
27502011-05-24 Keith Seitz <keiths@redhat.com>
2751
2752 PR breakpoint/12803
2753 * gdb.cp/cmpd-minsyms.cc (a): New method.
2754 (b): New method.
2755 (c): New method.
2756 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
2757
cdac0397
PA
27582011-05-24 Pedro Alves <pedro@codesourcery.com>
2759
2760 * gdb.base/commands.exp (watchpoint_command_test): Check that the
2761 watchpoint's command list didn't execute when the watchpoint went
2762 out of scope.
2763
ee5683ab
PM
27642011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
2765
2766 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
2767 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
2768 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
2769 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2770 * gdb.arch/i386-permbkpt.exp: Likewise.
2771 * gdb.arch/i386-prologue.exp: Likewise.
2772 * gdb.arch/i386-size-overlap.exp: Likewise.
2773 * gdb.arch/i386-size.exp: Likewise.
2774 * gdb.arch/i386-unwind.exp: Likewise.
2775 * gdb.reverse/i386-precsave.exp: Likewise.
2776 * gdb.reverse/i386-reverse.exp: Likewise.
2777 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2778 * gdb.reverse/i387-env-reverse.exp: Likewise.
2779 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2780
c91c8c16
PA
27812011-05-24 Pedro Alves <pedro@codesourcery.com>
2782
2783 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
2784 file doesn't error, using MI.
2785
c50491a7
TT
27862011-05-23 Tom Tromey <tromey@redhat.com>
2787
2788 * gdb.base/charset.exp (string_display): Add tests to assign to
2789 arrays.
2790 * gdb.base/charset.c (short_array, int_array, long_array): New.
2791
4a07b7da
PA
27922011-05-20 Pedro Alves <pedro@codesourcery.com>
2793
2794 Cope with async mode.
2795
4a07b7da
PA
2796 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
2797 into gdb_test + mi_expect_stop.
2798
b275f2d2
PA
27992011-05-20 Pedro Alves <pedro@codesourcery.com>
2800
2801 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
2802 (callme): Remove printf call.
2803
eec52c44
PM
28042011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
2805
2806 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
2807 quote pattern to avoid problems with Cygwin/mingw expect versions.
2808 * gdb.base/default.exp (show convenience): Use double
2809 quote pattern for regular expressions.
2810
b3c8eb43
JK
28112011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2812
2813 Fix -readnow for -gdwarf-4 unused type units.
2814 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
2815 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2816
ed731959
JK
28172011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2818
2819 * gdb.base/kill-after-signal.c: New file.
2820 * gdb.base/kill-after-signal.exp: New file.
2821
3b48433d
PA
28222011-05-16 Pedro Alves <pedro@codesourcery.com>
2823
2824 * gdb.ada/start.exp: Call untested with the correct test filename.
2825 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
2826 test filename. Make the test's binary unique.
2827 * gdb.arch/i386-signal.exp: Call untested with the correct test
2828 filename.
2829 * gdb.arch/i386-size-overlap.exp: Ditto.
2830 * gdb.arch/Makefile.in (EXECUTABLES): Update.
2831 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2832 * gdb.cp/call-c.exp: Ditto.
2833 * gdb.mi/mi-reverse.exp: Call untested with the correct test
2834 filename. Make the test's binary unique.
2835 * gdb.mi/Makefile.in (EXECUTABLES): Update.
2836 * gdb.python/py-mi.exp: Ditto.
2837 * gdb.python/Makefile.in (EXECUTABLES): Update.
2838 * gdb.reverse/i386-precsave.exp: Ditto.
2839 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
2840 test filename.
2841 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2842 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
2843 unique.
2844 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
2845 test filename.
2846 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
2847 * gdb.trace/tfile.exp: Ditto.
2848
ba4a8bdd
YQ
28492011-05-14 Yao Qi <yao@codesourcery.com>
2850
2851 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
2852 type.
2853
dbaefcf7
DE
28542011-05-13 Doug Evans <dje@google.com>
2855
2856 * gdb.python/py-objfile-script.exp: New file.
2857 * gdb.python/py-objfile-script.c: New file.
2858 * gdb.python/py-objfile-script-gdb.py: New file.
2859 * testsuite/gdb.python/py-section-script.exp: Test
2860 "info auto-load-scripts".
2861
9930639c
TT
28622011-05-13 Tom Tromey <tromey@redhat.com>
2863
2864 * gdb.dwarf2/clztest.exp: New file.
2865 * gdb.dwarf2/clztest.c: New file.
2866 * gdb.dwarf2/clztest.S: New file.
2867
05272e11
DE
28682011-05-13 Doug Evans <dje@google.com>
2869
cc63ef9b
DE
2870 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
2871 String16 tests.
05272e11 2872
6edba76f
TT
28732011-05-13 Tom Tromey <tromey@redhat.com>
2874
2875 * lib/gdb.exp (is_x86_like_target): New proc.
2876 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
2877 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
2878 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
2879 -nostdlib to compiler.
2880 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
2881 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
2882 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
2883 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
2884 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
2885
028d0ed5
TJB
28862011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2887
2888 * gdb.python/py-function.exp: Test setting a value from a function
2889 which executes a command.
2890
8a9b8146
TT
28912011-05-12 Tom Tromey <tromey@redhat.com>
2892
2893 * gdb.dwarf2/typeddwarf.S: New file.
2894 * gdb.dwarf2/typeddwarf.c: New file.
2895 * gdb.dwarf2/typeddwarf.exp: New file.
2896
10483e8e
MP
28972011-05-12 Marek Polacek <mpolacek@redhat.com>
2898
2899 * gdb.mi/mi-basics.exp: Fix races. Honour the
2900 `test_exec_and_symbol_mi_operatons' return value.
2901 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2902 gdb_test_multiple.
2903 (test_exec_and_symbol_mi_operatons): Likewise.
2904 (test_path_specification): Likewise.
2905
faf067f1
JK
29062011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2907
2908 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
2909 (gdb_touch_execfile): Remove catch wrappers. New variable time.
2910 Replace `file copy' and `file rename' by `file mtime'. Twice.
2911
7ff911a3
JK
29122011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2913
2914 * gdb.base/readline-ask.c: New file.
2915 * gdb.base/readline-ask.exp: New file.
2916 * gdb.base/readline-ask.inputrc: New file.
2917
a536c6d7
UW
29182011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2919
2920 * gdb.cell/bt.exp: Delete breakpoints before running to signal
2921 to avoid race condition.
2922 * gdb.cell/coremaker.c: Use small stack size.
2923 * gdb.cell/ea-standalone.exp: Use file name without path as
2924 argument to c_to.
2925 * gdb.cell/fork.exp: Allow other output when continuing to end.
2926
d472a426
JK
29272011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2928
2929 * gdb.threads/corethreads.c: New file.
2930 * gdb.threads/corethreads.exp: New file.
2931
29322011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
2933
2934 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
2935 Try to compile the test using -Wl,-z,norelro first.
2936 (load_core): New variable libthread_db_seen, initialize it.
2937 (zeroed-threads cannot be listed): Protect it by XFAIL on
2938 !$libthread_db_seen.
2939
8be455d7
JK
29402011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2941
2942 PR 12573
2943 * gdb.dwarf2/dw2-skip-prologue.S: New file.
2944 * gdb.dwarf2/dw2-skip-prologue.c: New file.
2945 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
2946
1976171a
JK
29472011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2948
2949 * gdb.cp/psymtab-parameter.cc: New file.
2950 * gdb.cp/psymtab-parameter.exp: New file.
2951
7db6f30f
JK
29522011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2953
2954 Fix a race.
2955 * gdb.cp/static-print-quit.exp (print c): Split to ...
2956 (print c - <return>, print c - q <return>, print c - to quit):
2957 ... these. Make the testfile untested on gdb-7.1.
2958
85161e9e 29592011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
2960
2961 * lib/gdb.exp (exec_target_file, exec_symbol_file,
2962 gdb_rename_execfile, gdb_touch_execfile): New.
2963 * gdb.base/reread.exp: Use new procs to handle multiple
2964 exec files.
2965
0c51be18
YQ
29662011-05-05 Yao Qi <yao@codesourcery.com>
2967
2968 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
2969 (test_adr_32bit, test_pop_pc): New.
2970 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
2971 (test_adr_32bit, test_pop_pc): New.
2972
4d393d60
JM
29732011-05-04 Joseph Myers <joseph@codesourcery.com>
2974
2975 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
2976 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
2977 targets.
2978 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
2979 handle targets.
2980
8ffd0459
JK
29812011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2982
2983 * gdb.base/completion.exp (complete help info wat): Rename to ...
2984 (complete 'help info wat'): ... here.
2985 Remove all `-re ".*' and `-re "^.*' redundant regexes.
2986 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
2987
8e28d804
PA
29882011-05-04 Pedro Alves <pedro@codesourcery.com>
2989
2990 * gdb.base/completion.exp: Use gdb_test_multiple instead of
2991 gdb_test and explicit $gdb_prompt/timeout matches.
2992
3eb2ef34
YQ
29932011-05-04 Yao Qi <yao@codesourcery.com>
2994
2995 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
2996 and __thumb2__.
2997
aaaf81a3
MP
29982011-05-03 Marek Polacek <mpolacek@redhat.com>
2999
3000 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
3001 in place of `gdb_test "delete breakpoints"'. This eliminates two
3002 testcases.
3003
c4cbc0df
PA
30042011-05-02 Pedro Alves <pedro@codesourcery.com>
3005
3006 PR testsuite/12649
3007 Fix races.
3008
3009 * gdb.base/completion.exp: Remove all sleep calls. Remove
3010 unnecessary regexs. Don't explicitly expect anything after the
3011 prompt. Eat the prompt if necessary.
3012
b4cbb4a3
EBM
30132011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
3014
3015 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
3016 accept to show the caller line again as well as the line after.
3017
d65aec65
PM
30182011-04-29 Phil Muldoon <pmuldoon@redhat.com>
3019
3020 PR mi/12531
3021
3022 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
3023 compile target.
3024 * gdb.python/py-prettyprint.exp: Add C++ object for
3025 CPLUS_FAKE_CHILD test.
3026
30852783
UW
30272011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
3028
3029 * gdb.base/signest.exp: New file.
3030 * gdb.base/signest.c: Likewise.
3031
c7b1f0d9
JK
30322011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3033
3034 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
3035 thread and breakpoint notifications.
3036
559a7a62
JK
30372011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3038
3039 * gdb.base/fortran-sym-case.c: New file.
3040 * gdb.base/fortran-sym-case.exp: New file.
3041 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
3042 * gdb.dwarf2/dw2-case-insensitive.c: New file.
3043 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
3044
8344e389
JK
30452011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3046
3047 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
3048 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
3049 false #1', `if true else false #2' and `if true else false #3'.
3050
2484c66b
UW
30512011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
3052
3053 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
3054 while delivering signal.
3055
8d3788bd
VP
30562011-04-27 Vladimir Prus <vladimir@codesourcery.com>
3057
3058 MI breakpoint notifications.
3059
3060 * testsuite/gdb.mi/mi-cli.exp: Adust.
3061 * testsuite/gdb.mi/mi2-cli.exp: Adust.
3062 * testsuite/gdb.mi/mi-watch.exp: Adust.
3063 * testsuite/gdb.mi/mi2-watch.exp: Adust.
3064 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
3065 notifications.
3066
3e03848b
JK
30672011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3068
3069 * gdb.base/gdbindex-stabs-dwarf.c: New file.
3070 * gdb.base/gdbindex-stabs.c: New file.
3071 * gdb.base/gdbindex-stabs.exp: New file.
3072
918c9108
YQ
30732011-04-25 Yao Qi <yao@codesourcery.com>
3074
3075 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
3076 with /*...*/.
3077 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
3078
90556b8c
JK
30792011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3080
3081 * gdb.python/py-value.exp (test_objfiles): Name the first test
3082 `py-value in file.filename'.
3083
03f2bd59
JK
30842011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3085
3086 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
3087 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
3088 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
3089 !gdbserver_reconnect_p..
3090 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
3091
7b08b9eb
JK
30922011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3093
3094 * gdb.cp/cpcompletion.exp (complete class methods)
3095 (complete class methods beginning with F): Move them above runto. New
3096 comment about the runto delimiter.
3097
b78974c3
PA
30982011-04-20 Pedro Alves <pedro@codesourcery.com>
3099
3100 * gdb.base/maint.exp: Test that "maint print registers" works
3101 without a running program.
3102
20429c40 31032011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 3104
20429c40
MP
3105 * gdb.base/setshow.exp: Fix racy tests.
3106 ($old_gdb_prompt): New variable.
3107
7a9dd1b2
TT
31082011-04-19 Tom Tromey <tromey@redhat.com>
3109
3110 * gdb.mi/mi-nsmoribund.exp:
3111 * gdb.hp/gdb.objdbg/objdbg01.exp:
3112 * gdb.base/structs.exp (test_struct_returns):
3113 * gdb.base/call-sc.exp (test_scalar_returns):
3114 * gdb.base/bigcore.exp: Remove duplicate words.
3115
02835898
JK
31162011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3117
3118 * gdb.base/break-interp-lib.c (v, vptr): New variables.
3119 * gdb.base/break-interp.exp (test_attach): New comment.
3120
254f582e
JK
31212011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3122
3123 * gdb.threads/gcore-thread.exp ($core0file): New variable.
3124 (clear __stack_user.next, clear stack_used.next)
3125 (save a zeroed-threads corefile): New test.
3126 Call core_load for $core0file.
3127 (zeroed-threads cannot be listed): New test.
3128
4fe85f5c
JK
31292011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3130
3131 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
3132 filename.
3133 ($srcfile): Preserve the original value.
3134 ($testfile): Match it the .exp filename.
3135 ($corefile): New variable. Substitute it around.
3136 Use clean_restart.
3137 ($prev_timeout): Remove.
3138 (load_core): Move core loading into this proc.
3139 Fix restore of $timeout if load_core fails.
3140
63524580
JK
31412011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3142
3143 * gdb.base/eu-strip-infcall.c: New file.
3144 * gdb.base/eu-strip-infcall.exp: New file.
3145
90359a16
JK
31462011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3147
3148 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
3149 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
3150
626e7282
JK
31512011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3152
3153 Fix Python access to inlined frames.
3154 * gdb.python/py-frame-inline.c: New file.
3155 * gdb.python/py-frame-inline.exp: New file.
3156
3363d018
EBM
31572011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
3158
3159 * gdb.base/gdb1090.exp: Change breakpoint location to read the
3160 content of 's24' correctly (avoiding "optimized out").
3161 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
3162
28781456
JK
31632011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3164
3165 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
3166
4a4106ca
TJB
31672011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
3168
3169 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
3170 expect a colon in watch -location output.
3171
d26ccb4f
JK
31722011-04-13 Marek Polacek <mpolacek@redhat.com>
3173
df46027d 3174 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
3175 New testcase `expect response to define backtrace'. Also remove
3176 redundant `default' block.
3177
e1ab1f9c
JK
31782011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3179
3180 * gdb.python/py-prettyprint.c (struct hint_error): New.
3181 (main): New variable hint_error.
3182 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
3183 "print hint_error".
3184 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
3185 (register_pretty_printers): Register it.
3186
0c2e6019
TT
31872011-04-04 Tom Tromey <tromey@redhat.com>
3188
3189 * gdb.cp/maint.exp (test_help): Update.
3190 (test_namespace): Likewise.
3191
af57139d
JB
31922011-04-01 Joel Brobecker <brobecker@adacore.com>
3193
3194 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
3195 * gdb.ada/arrayptr.exp: Add new tests.
3196
956a9fb9
JB
31972011-04-01 Joel Brobecker <brobecker@adacore.com>
3198
3199 * gdb.ada/mi_catch_ex: New testcase.
3200
d0c4d642
PA
32012011-04-01 Pedro Alves <pedro@codesourcery.com>
3202
3203 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
3204 base::overload(void) method without specifying "const".
3205
18819fa6
UW
32062011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
3207
3208 * gdb.arch/thumb-singlestep.S: New file.
3209 * gdb.arch/thumb-singlestep.exp: Likewise.
3210
a4c8e806
TT
32112011-03-31 Tom Tromey <tromey@redhat.com>
3212
3213 * gdb.python/py-prettyprint.py (exception_flag): New global.
3214 (NoStringContainerPrinter._iterator.next): Check it.
3215 * gdb.python/py-prettyprint.c (main): New variable nstype2.
3216 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
3217
53832f31
TT
32182011-03-29 Tom Tromey <tromey@redhat.com>
3219
3220 * gdb.cp/anon-struct.cc: New file.
3221 * gdb.cp/anon-struct.exp: New file.
3222
e4620230
JK
32232011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3224
3225 Test STT_GNU_IFUNC support.
3226 * gdb.base/gnu-ifunc-lib.c: New file.
3227 * gdb.base/gnu-ifunc.c: New file.
3228 * gdb.base/gnu-ifunc.exp: New file.
3229
d0fb5eae
JK
32302011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3231
3232 Support a ring of related breakpoints.
3233 * gdb.base/watchpoint-delete.c: New file.
3234 * gdb.base/watchpoint-delete.exp: New file.
3235
20106cfb
JK
32362011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3237
3238 * gdb.ada/arrayparam.exp (print first after function call): Use
3239 explicit package name. Add a comment
3240 (print lasta after function call): Rename ...
3241 (print last after function call): ... it and use explicit package
3242 name.
3243 (print length after function call): Use explicit package name.
3244 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
3245 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
3246 (multiple matches for symbol i): Rename ...
3247 (multiple matches for symbol integervar): ... it.
3248 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
3249 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
3250
e7ab5e63
AB
32512011-03-25 Andrew Burgess <aburgess@broadcom.com>
3252
3253 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
3254 environment variable to make grep output more predictable. Move
3255 all the environment setup into gdb_init so it's done once per test
3256 case rather than each time we start gdb.
3257
9ef07c8c
TT
32582011-03-24 Tom Tromey <tromey@redhat.com>
3259
3260 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
3261 test.
3262
dd90784c
JK
32632011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3264
3265 * gdb.dwarf2/dw2-entry-value-main.c: New file.
3266 * gdb.dwarf2/dw2-entry-value.S: New file.
3267 * gdb.dwarf2/dw2-entry-value.exp: New file.
3268
05775840
PM
32692011-03-22 Phil Muldoon <pmuldoon@redhat.com>
3270
3271 PR python/12183
3272
3273 * gdb.python/py-function.exp: Add GdbError tests.
3274
8661b11b
PA
32752011-03-18 Pedro Alves <pedro@codesourcery.com>
3276
3277 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
3278 (reglocal_test_func, statlocal_test_func): New functions.
3279 (globals_test_func): Call new functions.
3280 * gdb.trace/unavailable.exp (gdb_collect_args_test)
3281 (gdb_collect_locals_test): New procedure.
3282 (gdb_trace_collection_test): Call new procedures.
3283
0fdb4f18
PA
32842011-03-18 Pedro Alves <pedro@codesourcery.com>
3285
3286 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
3287 (test_register, test_register_unavailable): New procedures.
3288 (gdb_unavailable_registers_test): New procedure.
3289 (gdb_trace_collection_test): Call it.
3290
99c3dc11
PM
32912011-03-18 Phil Muldoon <pmuldoon@redhat.com>
3292
3293 PR python/12149
3294
3295 * gdb.python/python.exp: Add gdb.write tests.
3296
29703da4
PM
32972010-03-17 Phil Muldoon <pmuldoon@redhat.com>
3298
3299 * gdb.python/Makefile.in: Add py-objfile.
3300 * gdb.python/py-objfile.exp: New file.
3301 * gdb.python/py-objfile.c: New file.
3302 * gdb.python/py-block.exp: Add is_valid tests.
3303 * gdb.python/py-inferior.exp: Ditto.
3304 * gdb.python/py-infthread.exp: Ditto.
3305 * gdb.python/py-symbol.exp: Ditto.
3306 * gdb.python/py-symtab.exp: Ditto.
3307
598997c8
KS
33082011-03-16 Keith Seitz <keiths@redhat.com>
3309
3310 PR c++/12273
3311 * gdb.cp/cmpd-minsyms.exp: New test.
3312 * gdb.cp/cmpd-minsyms.cc: New file.
3313
3314 PR c++/11734
3315 * gdb.cp/ovsrch.exp: New test.
3316 * gdb.cp/ovsrch.h: New file.
3317 * gdb.cp/ovsrch1.cc: New file.
3318 * gdb.cp/ovsrch2.cc: New file.
3319 * gdb.cp/ovsrch3.cc: New file.
3320 * gdb.cp/ovsrch4.cc: New file.
3321
c91513d8
PP
33222011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3323
3324 PR gdb/12528
3325 * gdb.base/Makefile.in: Adjust EXECUTABLES.
3326 * gdb.base/break-on-linker-gcd-function.exp: New test.
3327 * gdb.base/break-on-linker-gcd-function.cc: New file.
3328
7470fc63
AT
33292011-03-15 Andreas Tobler <andreast@fgznet.ch>
3330
3331 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
3332
959e7469
PM
33332011-03-15 Phil Muldoon <pmuldoon@redhat.com>
3334
3335 * lib/gdb.exp (gdb_unload): Add another termination case.
3336
9373cf26
JK
33372011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3338
3339 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
3340 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
3341 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
3342 Provide a stub byte there.
3343 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
3344 DW_AT_entry_pc.
3345 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
3346
24e9cda0
UW
33472011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
3348
3349 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
3350 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
3351 "generic ABI, auto".
3352 (altivec_abi_tests): Accept vectors returned by reference.
3353
7371cf6d
PM
33542010-03-14 Phil Muldoon <pmuldoon@redhat.com>
3355
3356 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
3357
ce77046a
UW
33582011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
3359
3360 * gdb.python/py-section-script.exp: Skip test if no Python support.
3361
176400c3
UW
33622011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
3363
3364 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
3365
ecec24e6
PM
33662011-03-10 Phil Muldoon <pmuldoon@redhat.com>
3367
3368 * gdb.python/py-parameter.exp: Update tests to the new Python
3369 parameter API. Add "no documentation" test. Add deprecated API
3370 backward compatibility test.
3371
5dbdd470
TT
33722011-03-09 Tom Tromey <tromey@redhat.com>
3373
3374 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
3375 gdb_continue_to_end.
3376
b66e66ee
MK
33772011-03-09 Mark Kettenis <kettenis@gnu.org>
3378
3379 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
3380 tabs.
3381
eceb0c5f
TT
33822011-03-09 Tom Tromey <tromey@redhat.com>
3383
3384 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
3385 parentheses.
3386 (gdb_continue_to_end): Add "allow_extra" parameter. Use
3387 $command.
3388 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
3389 argument to gdb_continue_to_end.
3390 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
3391 argument to gdb_continue_to_end.
3392 * gdb.cp/annota3.exp: Fix regex.
3393 * gdb.cp/annota2.exp: Fix regex.
3394 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
3395 gdb_continue_to_end.
3396 * gdb.base/call-signal-resume.exp: Revert earlier patch.
3397 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
3398 gdb_continue_to_end.
3399
63154eca
PA
34002011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3401
3402 * gdb.server/ext-run.exp
3403 (load new file without any gdbserver inferior): New test.
3404
967d1f9b
TT
34052011-03-07 Tom Tromey <tromey@redhat.com>
3406
3407 * Makefile.in (TAGS): Rewrite.
3408
d68dcbb9
JK
34092011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3410
3411 * gdb.trace/report.exp (12.1: trace report #1): New match for the
3412 initial commands echo. New match for `Found trace'. Anchor all the
3413 other matches. Anchor and match for `No trace frame found' the final
3414 match.
3415
6bf58e63
TT
34162011-03-07 Tom Tromey <tromey@redhat.com>
3417
3418 * Makefile.in (TAGS): New target.
3419
fda326dd
TT
34202011-03-07 Tom Tromey <tromey@redhat.com>
3421
3422 * lib/opencl.exp (skip_opencl_tests): Update for exit message
3423 change.
3424 * lib/mi-support.exp (mi_gdb_test): Update for exit message
3425 change.
3426 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
3427 exit message change.
3428 (skip_altivec_tests): Update for exit message change.
3429 (skip_vsx_tests): Likewise.
3430 (gdb_continue_to_end): Likewise. Add 'command' argument.
3431 * lib/cell.exp (skip_cell_tests): Update for exit message change.
3432 * gdb.threads/tls.exp: Update for exit message change.
3433 * gdb.threads/thread-unwindonsignal.exp: Use
3434 gdb_continue_to_end.
3435 * gdb.threads/step.exp (step_it): Update for exit message change.
3436 (continue_all): Likewise.
3437 * gdb.threads/print-threads.exp (test_all_threads): Update for
3438 exit message change.
3439 * gdb.threads/interrupted-hand-call.exp: Use
3440 gdb_continue_to_end.
3441 * gdb.threads/execl.exp: Use gdb_continue_to_end.
3442 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
3443 gdb_continue_to_end.
3444 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
3445 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
3446 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
3447 * gdb.cp/method.exp: Update for exit message change.
3448 * gdb.cp/mb-templates.exp: Update for exit message change.
3449 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
3450 * gdb.cp/annota3.exp: Update for exit message change.
3451 * gdb.cp/annota2.exp: Update for exit message change.
3452 * gdb.cell/fork.exp: Use gdb_continue_to_end.
3453 * gdb.base/term.exp: Update for exit message change.
3454 * gdb.base/step-test.exp (test_i): Update for exit message change.
3455 * gdb.base/sigstep.exp (advance): Update for exit message change.
3456 (advancei): Likewise.
3457 * gdb.base/siginfo.exp: Update for exit message change.
3458 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
3459 * gdb.base/reread.exp: Use gdb_continue_to_end.
3460 * gdb.base/langs.exp: Use gdb_continue_to_end.
3461 * gdb.base/interrupt.exp: Update for exit message change.
3462 * gdb.base/gdb1555.exp: Update for exit message change.
3463 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
3464 * gdb.base/ending-run.exp: Update for exit message change.
3465 * gdb.base/chng-syms.exp: Update for exit message change.
3466 * gdb.base/checkpoint.exp: Update for exit message change.
3467 * gdb.base/catch-syscall.exp (check_for_program_end): Use
3468 gdb_continue_to_end.
3469 (test_catch_syscall_with_wrong_args): Likewise.
3470 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
3471 * gdb.base/break-interp.exp (test_ld): Update for exit message
3472 change.
3473 * gdb.base/bang.exp: Update for exit message change.
3474 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
3475 (do_call_attach_tests): Likewise.
3476 * gdb.base/a2-run.exp: Update for exit message change.
3477 * gdb.arch/ppc-dfp.exp: Update for exit message change.
3478 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
3479 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
3480
dd19bd70
JK
34812011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3482
3483 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
3484
30e62689
TT
34852011-03-03 Tom Tromey <tromey@redhat.com>
3486
3487 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
3488 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
3489 * gdb.hp/gdb.aCC/configure.ac: Remove.
3490 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
3491 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
3492 * gdb.hp/gdb.base-hp/configure.ac: Remove.
3493 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
3494 * gdb.hp/gdb.compat/configure (Makefile): Remove.
3495 * gdb.hp/gdb.compat/configure.ac: Remove.
3496 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
3497 * gdb.hp/gdb.defects/configure (Makefile): Remove.
3498 * gdb.hp/gdb.defects/configure.ac: Remove.
3499 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
3500 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
3501 * gdb.hp/gdb.objdbg/configure.ac: Remove.
3502 * gdb.hp/configure.ac: Remove.
3503 * gdb.hp/configure: Remove.
3504 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
3505 substitution.
3506 (Makefile): Remove rule.
3507 * gdb.cell/configure.ac: Remove.
3508 * gdb.cell/configure: Remove.
3509 * gdb.stabs/Makefile.in (Makefile): Remove.
3510 (distclean): Don't remove config.status or config.log.
3511 * gdb.stabs/configure (Makefile): Remove.
3512 * gdb.stabs/configure.ac: Remove.
3513 * configure: Rebuild.
3514 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
3515 Remove stabs- and cell-specific logic. Test for existence of
3516 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
3517 subdirectories, gdb.cell, and and gdb.stabs.
3518 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
3519
c171f854
JB
35202011-03-03 Joel Brobecker <brobecker@adacore.com>
3521
3522 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
3523 end of buffer.
3524
9a5193cb
JB
35252011-03-02 Joel Brobecker <brobecker@adacore.com>
3526
3527 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
3528 gdb_test when running a test where we expected no output back.
3529
9bb4c1bb
MS
35302011-02-28 Michael Snyder <msnyder@vmware.com>
3531
3532 * gdb.cp/overload.cc: Change initializer value to integer.
3533
3bd0f5ef
MS
35342011-02-27 Michael Snyder <msnyder@vmware.com>
3535
3536 * gdb.multi/base.exp: Add test for remove-inferiors.
3537
2279eaad
JB
35382011-02-26 Joel Brobecker <brobecker@adacore.com>
3539
3540 * gdb.python/py-frame.exp: Simplify the initialization phase
3541 using prepare_for_testing.
3542
c82c0b55
MS
35432011-02-25 Michael Snyder <msnyder@vmware.com>
3544
3545 * gdb.multi/base.exp: Add tests for info inferiors with args.
3546
1d94651b
JK
35472011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3548
3549 * gdb.dwarf2/dw2-ranges.S: Rename to ...
3550 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
3551 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
3552 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
3553 asmfile3. Comment the STABS (#3) file compilation. Compile
3554 everything through assembler. Provide KFAIL for symtab/12497.
3555 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
3556 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
3557 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
3558 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
3559
3bd0f5ef
MS
35602011-02-24 Michael Snyder <msnyder@vmware.com>
3561
3562 * gdb.base/break.exp: Add tests for delete breakpoints using
3563 convenience variables and value history references.
3564
12c1418e
MS
35652011-02-24 Michael Snyder <msnyder@vmware.com>
3566
3567 * gdb.base/break.exp: Remove debugging 'printf' accidentally
3568 left behind in previous check-in.
3569
e5a67952
MS
35702011-02-23 Michael Snyder <msnyder@vmware.com>
3571
3572 * gdb.base/break.exp: Add tests for "info break" with arguments.
3573 * gdb.trace/infotrace.exp: Update patterns for error and help.
3574 * gdb.base/completion.exp: Update pattern.
3575 * gdb.base/ena-dis-br.exp: Update pattern.
3576 * gdb.base/help.exp: Update patterns.
3577
35782011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
3579
3580 * gdb.base/memattr.exp: New test.
3581 * gdb.base/memattr.c: Test load for memattr.exp.
3582
6e6fbe60
DE
35832011-02-22 Doug Evans <dje@google.com>
3584
3585 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
3586
1d41d745
MS
35872011-02-22 Michael Snyder <msnyder@vmware.com>
3588
3589 * Makefile.in: Make more clean.
3590 * gdb.ada/Makefile.in: Ditto.
3591 * gdb.arch/Makefile.in: Ditto.
3592 * gdb.asm/Makefile.in: Ditto.
3593 * gdb.base/Makefile.in: Ditto.
3594 * gdb.cp/Makefile.in: Ditto.
3595 * gdb.dwarf2/Makefile.in: Ditto.
3596 * gdb.java/Makefile.in: Ditto.
3597 * gdb.mi/Makefile.in: Ditto.
3598 * gdb.modula2/Makefile.in: Ditto.
3599 * gdb.python/Makefile.in: Ditto.
3600 * gdb.server/Makefile.in: Ditto.
3601 * gdb.stabs/Makefile.in: Ditto.
3602 * gdb.threads/Makefile.in: Ditto.
3603 * gdb.trace/Makefile.in: Ditto.
3604
79ba84ca
MS
36052011-02-22 Michael Snyder <msnyder@vmware.com>
3606
df46027d 3607 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
3608 info threads.
3609
b9b35694
JB
36102011-02-22 Joel Brobecker <brobecker@adacore.com>
3611
3612 * gdb.python/py-breakpoint.exp: Fix the expected output of
3613 one of the "maint info breakpoints" tests to accept the output
3614 generated on platforms that do not have hardware watchpoints.
3615
8bfb830f
JB
36162011-02-22 Joel Brobecker <brobecker@adacore.com>
3617
3618 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
3619 clean_restart. Be a little stricter in the expected output
3620 for one of the tests. Fix a typo in one of the comments.
3621
c45f3c54
JB
36222011-02-22 Joel Brobecker <brobecker@adacore.com>
3623
3624 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
3625 Delete variable binfile, no longer use. Add or modify test
3626 comments to make them unique.
3627
b97c863c
MS
36282011-02-21 Michael Snyder <msnyder@vmware.com>
3629
3630 * Makefile.in: Update for make clean.
3631 * gdb.ada/Makefile.in: Ditto.
3632 * gdb.arch/Makefile.in: Ditto.
3633 * gdb.asm/Makefile.in: Ditto.
3634 * gdb.base/Makefile.in: Ditto.
3635 * gdb.cp/Makefile.in: Ditto.
3636 * gdb.dwarf2/Makefile.in: Ditto.
3637 * gdb.java/Makefile.in: Ditto.
3638 * gdb.mi/Makefile.in: Ditto.
3639 * gdb.modula2/Makefile.in: Ditto.
3640 * gdb.python/Makefile.in: Ditto.
3641 * gdb.server/Makefile.in: Ditto.
3642 * gdb.stabs/Makefile.in: Ditto.
3643 * gdb.threads/Makefile.in: Ditto.
3644 * gdb.trace/Makefile.in: Ditto.
3645
aea5b279
MS
36462011-02-21 Michael Snyder <msnyder@vmware.com>
3647
3648 * gdb.threads/thread-find.exp: Update patterns for changes in
3649 output of "info threads" command.
3650
e3039479
UW
36512011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3652 Ulrich Weigand <uweigand@de.ibm.com>
3653
3654 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
3655 (skip_hw_watchpoint_tests): Likewise.
3656 (skip_hw_watchpoint_multi_tests): Likewise.
3657
b800ec70
UW
36582011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
3659
3660 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
3661 (skip_hw_watchpoint_tests): Likewise.
3662 (skip_hw_watchpoint_multi_tests): Likewise.
3663 (skip_hw_watchpoint_access_tests): Likewise.
3664
3665 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
3666 * gdb.base/pr11022.exp: Likewise.
3667 * gdb.base/watch-read.exp: Likewise.
3668 * gdb.base/watch_thread_num.exp: Likewise.
3669 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3670 * gdb.base/watchpoint-hw.exp: Likewise.
3671 * gdb.base/watchpoint.exp: Likewise.
3672 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
3673 * gdb.threads/watchthreads-reorder.exp: Likewise.
3674 * gdb.threads/watchthreads.exp: Likewise.
3675 * gdb.threads/watchthreads2.exp: Likewise.
3676
91033e37
JB
36772011-02-21 Joel Brobecker <brobecker@adacore.com>
3678
3679 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
3680 the debugger is unable to find the array bounds.
3681
eeaafae2
JK
36822011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3683
3684 * gdb.cp/typedef-operator.exp: New file.
3685 * gdb.cp/typedef-operator.cc: New file.
3686
e338d953
MS
36872011-02-17 Michael Snyder <msnyder@vmware.com>
3688
3689 * gdb.threads/thread-find.exp: Fix regular expressions.
3690
e67ad678
JB
36912011-02-17 Joel Brobecker <brobecker@adacore.com>
3692
3693 * gdb.ada/packed_array: Expand testcase to test printing of
3694 unconstrained packed array.
3695
93084bca
JB
36962011-02-17 Joel Brobecker <brobecker@adacore.com>
3697
3698 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
3699
a0c78a73
PA
37002011-02-16 Pedro Alves <pedro@codesourcery.com>
3701
f65d5553 3702 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
3703 (main): Initialize it before collecting, and and clear it
3704 afterwards.
f65d5553
PA
3705 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3706 collecting with '{type} addr', where the addr expression is not an
3707 rvalue.
a0c78a73 3708
3dfcbbd2
KW
37092011-02-16 Ken Werner <ken.werner@de.ibm.com>
3710
3711 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
3712 a bool variable. Expect correct OpenCL names for vector types. Use the
3713 uc3 variable name instead of referring to the uchar3 built-in type.
3714 Escape the asterisk at the half pointer test.
3715
08807d5a
PA
37162011-02-16 Pedro Alves <pedro@codesourcery.com>
3717
f65d5553 3718 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
3719 (main): Initialize it before collecting, and and clear it
3720 afterwards.
f65d5553
PA
3721 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3722 collecting overlapping memory ranges.
08807d5a 3723
60f98dde
MS
37242011-02-15 Michael Snyder <msnyder@vmware.com>
3725
3726 * gdb.base/default.exp: Add tests for thread commands.
3727 * gdb.base/help.exp: Add tests for thread commands.
3728 * gdb.threads/thread-find.exp: New test for thread find command.
3729
648cd113
KW
37302011-02-15 Ken Werner <ken.werner@de.ibm.com>
3731
3732 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
3733
494e194e
YQ
37342011-02-15 Yao Qi <yao@codesourcery.com>
3735
3736 PR tdep/12352
3737 * gdb.arch/arm-disp-step.S : New test for str instruction.
3738 * gdb.arch/arm-disp-step.exp : Likewise.
3739
d9492458
TJB
37402011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
3741
3742 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
3743 "vector_register2_vr" test strings. Test the extended floating
3744 point registers (F32~F63).
3745 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
3746 IBM XL C compiler. Make the test program use a register provided
3747 by the compiler for the lxvd2x instruction.
3748
8af8e3bc
PA
37492011-02-14 Pedro Alves <pedro@codesourcery.com>
3750
3751 * gdb.trace/unavailable.cc (class Base, class Middle, class
3752 Derived): New types.
3753 (derived_unavail, derived_partial, derived_whole): New globals.
3754 (virtual_partial): New global.
3755 (virtualp): Point at virtual_partial.
3756 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
3757 related to unavailable vptr.
3758
1b28d0b3
PA
37592011-02-14 Pedro Alves <pedro@codesourcery.com>
3760
3761 * gdb.trace/unavailable.cc (a, b, c): New globals.
3762 (main): Set and clear them.
3763 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
3764 `a' and `c', and check that `b' isn't collected, although `a' and
3765 `c' are.
3766
ec0a52e1
PA
37672011-02-14 Pedro Alves <pedro@codesourcery.com>
3768
3769 * gdb.trace/unavailable.cc (struct Virtual): New.
3770 (virtualp): New global pointer.
3771 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
3772 printing a pointer to an object whose type has a vtable, with
3773 print object on.
3774
24e6bcee
PA
37752011-02-14 Pedro Alves <pedro@codesourcery.com>
3776
3777 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
3778 value repeat handles unavailableness.
3779
39d37385
PA
37802011-02-14 Pedro Alves <pedro@codesourcery.com>
3781
3782 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
3783 tests for building arrays from unavailable values, subscripting
3784 non-memory rvalue unvailable arrays, and accessing fields or
3785 baseclasses of non-lazy unavailable values,
3786 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
3787 struct types.
3788 (g_smallstruct, g_smallstruct_b): New globals.
3789
06d72e16
PA
37902011-02-14 Pedro Alves <pedro@codesourcery.com>
3791
3792 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
3793
bc9a5551
JK
37942011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3795
3796 Fix const/volatile qualifiers of C++ types, PR c++/12328.
3797 * gdb.cp/overload-const.exp: New file.
3798 * gdb.cp/overload-const.cc: New file.
3799
54fcddd0
UW
38002011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3801
3802 * gdb.opencl/callfuncs.cl: New file.
3803 * gdb.opencl/callfuncs.exp: New test.
3804 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
3805
d6dafb7c
UW
38062011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3807
3808 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
3809 when computing result.
3810 * gdb.arch/altivec-abi.exp: Update expected results.
3811
a449c2d8
TJB
38122011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
3813
3814 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
3815 * gdb.base/jit.exp: Likewise.
3816 * gdb.base/pie-execl.exp: Likewise.
3817 * gdb.base/solib-nodir.exp: Likewise.
3818 * gdb.base/solib-overlap.exp: Likewise.
3819
764880b7
PA
38202011-02-07 Pedro Alves <pedro@codesourcery.com>
3821
3822 * gdb.trace/collection.c (global_pieces): New.
3823 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
3824 New procedure.
3825 (gdb_trace_collection_test): Call it.
3826
505500db
SW
38272011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
3828
3829 * gdb.python/py-evthreads.c: New file.
3830 * gdb.python/py-evthreads.exp: New file.
3831 * gdb.python/py-events.py: New file.
3832 * gdb.python/py-events.exp: New file.
3833 * gdb.python/py-events.c: New file.
3834
385203ed
DD
38352011-02-04 David Daney <ddaney@caviumnetworks.com>
3836
3837 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
3838
9011945e
AB
38392011-02-03 Andrew Burgess <aburgess@broadcom.com>
3840
3841 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
3842 gdb.base/disasm-end-cu.exp: New test for disassembling over the
3843 boundary between two compilation units.
3844
580688f3
PA
38452011-02-02 Pedro Alves <pedro@codesourcery.com>
3846
3847 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
3848 (Virtual): New structs.
3849 (virtual_o, virtual_middle_b): New globals.
3850 * gdb.cp/virtbase.exp: New tests.
3851
d3f0f853
PP
38522011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3853
3854 * gdb.base/jit.exp: New file.
3855 * gdb.base/jit-main.c: New file.
3856 * gdb.base/jit-solib.c: New file.
3857
b2030fb5
UW
38582011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
3859
3860 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
3861 proceed to initial kernel entry point.
3862 * gdb.opencl/datatypes.exp: Likewise.
3863 * gdb.opencl/operators.exp: Likewise.
3864 * gdb.opencl/vec_comps.exp: Likewise.
3865
2db19d1e
SW
38662011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
3867
3868 * gdb.cp/nsnested.cc: New.
3869 * gdb.cp/nsnested.exp: New.
3870 * gdb.cp/nsnoimports.exp: New.
3871 * gdb.cp/nsnoimports.cc: New.
3872
6b0c4c1f
JB
38732011-01-31 Joel Brobecker <brobecker@adacore.com>
3874
3875 * gdb.base/interact.exp: Add extra tests that verify that
3876 the value of the interactive-mode setting does not change
3877 after the script is sourced.
3878
80b23b6a
JK
38792011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3880
3881 * gdb.cp/noparam.exp: New file.
3882 * gdb.cp/noparam.cc: New file.
3883
ffd5ec24
PA
38842011-01-28 Pedro Alves <pedro@codesourcery.com>
3885
3886 * gdb.trace/tfile.exp: Test that with no traceframe selected,
3887 there's no stack or registers.
3888
a81766d8
TT
38892011-01-26 Tom Tromey <tromey@redhat.com>
3890
3891 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
3892 space before string output. Add test for "set print pretty off"
3893 case.
3894
585fdaa1
PA
38952011-01-25 Pedro Alves <pedro@codesourcery.com>
3896
3897 * gdb.base/frame-args.exp: Adjust.
3898 * gdb.dwarf2/dw2-noloc.exp: Adjust.
3899 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
3900 * gdb.dwarf2/pieces.exp: Adjust.
3901 * gdb.opt/clobbered-registers-O2.exp: Adjust.
3902 * gdb.opt/inline-locals.exp: Adjust.
3903 * gdb.threads/fork-child-threads.exp: Adjust.
3904
d468832a
KW
39052011-01-25 Ken Werner <ken.werner@de.ibm.com>
3906
3907 * gdb.opencl/convs_casts.cl: Move program scope variables into the
3908 OpenCL kernel function. Add a comment as marker. Add address space
3909 qualifiers for the remaining program scope variables.
3910 * gdb.opencl/datatypes.cl: Likewise.
3911 * gdb.opencl/operators.cl: Likewise.
3912 * gdb.opencl/vec_comps.cl: Likewise.
3913 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
3914 Add breakpoint at the marker comment.
3915 * gdb.opencl/datatypes.exp: Likewise.
3916 * gdb.opencl/operators.exp: Likewise.
3917 * gdb.opencl/vec_comps.exp: Likewise.
3918
490f124f
PA
39192011-01-24 Pedro Alves <pedro@codesourcery.com>
3920
3921 * gdb.base/printcmds.c (some_struct): New struct and instance.
3922 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
3923 procedure.
3924 <global scope>: Call it.
3925
6da78614
KW
39262011-01-21 Ken Werner <ken.werner@de.ibm.com>
3927
3928 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
3929 argument to the gdb_compile_opencl_hostapp call.
3930
ec64c9aa
YQ
39312011-01-19 Yao Qi <yao@codesourcery.com>
3932
3933 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
3934 positve list.
3935
810cfdbb
YQ
39362011-01-19 Yao Qi <yao@codesourcery.com>
3937
3938 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
3939 canonical form.
3940 Remove "xscale-*-*"
3941 * gdb.xml/tdesc-regs.exp: Likewise.
3942 * gdb.python/py-section-script.exp: Replace ARM target triplet
3943 with canonical form.
3944 Match arm*-*-symbianelf*.
3945 * gdb.base/dup-sect.exp: Likewise.
3946 * lib/dwarf.exp: New.
3947 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
3948 dwarf2_support.
3949 * gdb.dwarf2/dup-psym.exp: Likewise.
3950 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
3951 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3952 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
3953 * gdb.dwarf2/dw2-basic.exp: Likewise.
3954 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3955 * gdb.dwarf2/dw2-const.exp: Likewise.
3956 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
3957 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
3958 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3959 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
3960 * gdb.dwarf2/dw2-filename.exp: Likewise.
3961 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3962 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
3963 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3964 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3965 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
3966 * gdb.dwarf2/dw2-noloc.exp: Likewise.
3967 * gdb.dwarf2/dw2-op-call.exp: Likewise.
3968 * gdb.dwarf2/dw2-producer.exp: Likewise.
3969 * gdb.dwarf2/dw2-ranges.exp: Likewise.
3970 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
3971 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
3972 * gdb.dwarf2/dw2-strp.exp: Likewise.
3973 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
3974 * gdb.dwarf2/implptr.exp: Likewise.
3975 * gdb.dwarf2/mac-fileno.exp: Likewise.
3976 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
3977 * gdb.dwarf2/pieces.exp: Likewise.
3978 * gdb.dwarf2/pr11465.exp: Likewise.
3979 * gdb.dwarf2/valop.exp: Likewise.
3980 * gdb.dwarf2/watch-notconst.exp: Likewise.
3981 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
3982
4694da01
TT
39832011-01-19 Tom Tromey <tromey@redhat.com>
3984
3985 * gdb.python/py-infthread.exp: Add thread tests.
3986
b075872c
JB
39872011-01-14 Joel Brobecker <brobecker@adacore.com>
3988
3989 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
3990
2c3e6e24
JB
39912011-01-14 Joel Brobecker <brobecker@adacore.com>
3992
3993 * gdb.ada/widewide: New testcase.
3994
de8fa76c
JB
39952011-01-13 Joel Brobecker <brobecker@adacore.com>
3996
3997 * gdb.base/interact.exp: New testcase.
3998
1b05df00
TT
39992011-01-12 Tom Tromey <tromey@redhat.com>
4000
4001 * gdb.mi/gdb2549.exp: Update for error message changes.
4002 * gdb.mi/mi-cli.exp: Likewise.
4003 * gdb.mi/mi-disassemble.exp: Likewise.
4004 * gdb.mi/mi-pthreads.exp: Likewise.
4005 * gdb.mi/mi-regs.exp: Likewise.
4006 * gdb.mi/mi-stack.exp: Likewise.
4007 * gdb.mi/mi-var-block.exp: Likewise.
4008 * gdb.mi/mi-var-cmd.exp: Likewise.
4009 * gdb.mi/mi2-cli.exp: Likewise.
4010 * gdb.mi/mi2-disassemble.exp: Likewise.
4011 * gdb.mi/mi2-pthreads.exp: Likewise.
4012 * gdb.mi/mi2-regs.exp: Likewise.
4013 * gdb.mi/mi2-stack.exp: Likewise.
4014 * gdb.mi/mi2-var-block.exp: Likewise.
4015 * gdb.mi/mi2-var-cmd.exp: Likewise.
4016
c2ff108b
JK
40172011-01-12 Andrew Burgess <aburgess@broadcom.com>
4018 Jan Kratochvil <jan.kratochvil@redhat.com>
4019
4020 PR fortran/11104 and DWARF unbound arrays detection.
4021 * gdb.fortran/multi-dim.exp: New file.
4022 * gdb.fortran/multi-dim.f90: New file.
4023
b716877b
AB
40242011-01-12 Andrew Burgess <aburgess@broadcom.com>
4025
4026 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
4027 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
4028 add new tests for opcode dumping.
4029
6c162d5e
TT
40302011-01-11 Tom Tromey <tromey@redhat.com>
4031
4032 * gdb.python/py-infthread.exp: Load gdb-python.exp.
4033
77b06cd7
TJB
40342010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
4035
4036 Convert hardware watchpoints to use breakpoint_ops.
4037 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
4038 type is not supported.
4039 * gdb.base/foll-fork.exp: Likewise.
4040 * gdb.base/foll-vfork.exp: Likewise.
4041
f39a75d0
PM
40422011-01-10 Phil Muldoon <pmuldoon@redhat.com>
4043
4044 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
4045 Use load_lib gdb-python.exp.
4046 * gdb.python/python.exp: Ditto.
4047 * gdb.python/py-function.exp: Ditto.
4048
fc529d80
AS
40492011-01-09 Andreas Schwab <schwab@linux-m68k.org>
4050
4051 * gdb.threads/tls.exp ("info address me"): Fix expected output.
4052
fb03cb59
JK
40532011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4054
4055 * configure: Regenerate.
4056
d8e22779
TT
40572011-01-06 Tom Tromey <tromey@redhat.com>
4058
4059 * gdb.python/py-frame.exp: Test gdb.newest_frame.
4060
09050809
JB
40612011-01-06 Joel Brobecker <brobecker@adacore.com>
4062
fc529d80
AS
4063 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
4064 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
4065 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
4066 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
4067 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
4068 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
4069 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
4070 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
4071 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
4072 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
4073 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
4074 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
4075 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
4076 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
4077 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
4078 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
4079 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
4080 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
4081 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
4082 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
4083 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
4084 gdb.ada/uninitialized_vars.exp,
4085 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
4086 Simplify by using clean_restart.
09050809 4087
8ed5dd9e
JB
40882011-01-06 Joel Brobecker <brobecker@adacore.com>
4089
4090 Add marker to be used as anchor for inserting breakpoints.
4091 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
4092 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
4093 Likewise.
4094
4095 Remove uses of gdb_start_cmd.
4096 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
4097 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
4098
4099 Do not run testcase if testing with GDBserver.
4100 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
4101 if testing with GDBserver.
4102
368a124f
JB
41032011-01-06 Joel Brobecker <brobecker@adacore.com>
4104
4105 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
4106 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
4107 copyright header.
4108
44944448
JB
41092011-01-05 Joel Brobecker <brobecker@adacore.com>
4110
4111 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
4112 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
4113 testsuite/gdb.fortran/complex.f,
4114 testsuite/gdb.fortran/derived-type.f90,
4115 testsuite/gdb.fortran/library-module-lib.f90,
4116 testsuite/gdb.fortran/library-module-main.f90,
4117 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
4118 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
4119 Copyright year update.
4120
31886ea6
JB
41212011-01-05 Joel Brobecker <brobecker@adacore.com>
4122
4123 * gdb.base/langs1.f: Add copyright header.
4124
ebedcab5
JK
41252011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4126
4127 * gdb.base/morestack.exp: New file.
4128 * gdb.base/morestack.c: New file.
4129
de1eb2f9
JK
41302011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4131
4132 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
4133
9e87a409
JB
41342010-12-29 Joel Brobecker <brobecker@adacore.com>
4135
4136 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
4137 * gdb.ada/arrayptr.exp: Add test printing that new variable.
4138
720d1a40
JB
41392010-12-29 Joel Brobecker <brobecker@adacore.com>
4140
4141 * gdb.ada/lang_switch.exp: Correct expected parameter value.
4142
a283af87
AS
41432010-12-25 Andreas Schwab <schwab@linux-m68k.org>
4144
5d3d9cba
AS
4145 * gdb.threads/tls.exp: Fix typo.
4146
a283af87
AS
4147 * gdb.threads/thread-specific.exp (get_thread_list): Update.
4148 * gdb.threads/execl.exp: Update.
4149
2a20745c
YQ
41502010-12-23 Yao Qi <yao@codesourcery.com>
4151
4152 * gdb.arch/arm-disp-step.exp: New.
4153 * gdb.arch/arm-disp-step.S: New.
4154
a7658b96
TT
41552010-12-21 Tom Tromey <tromey@redhat.com>
4156
4157 * gdb.threads/execl.exp: Update.
4158 * gdb.threads/linux-dp.exp: Update.
4159 * gdb.threads/manythreads.exp: Update.
4160 * gdb.threads/tls.exp: Update.
4161
5b79abe7
TT
41622010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4163
4164 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
4165 (NextOverThrowDerivates) <resumebpt>: New.
4166 (resumebpt_test): New.
4167 (main): Call resumebpt_test.
4168 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
4169
0914bcdb
SS
41702010-12-12 Stan Shebs <stan@codesourcery.com>
4171
4172 * gdb.trace/tsv.exp: Test print command on trace state variables.
4173
305aeedc
TT
41742010-12-09 Tom Tromey <tromey@redhat.com>
4175
4176 * gdb.base/interp.exp: Add regression test.
4177
186c406b
TT
41782010-12-09 Tom Tromey <tromey@redhat.com>
4179
4180 * gdb.java/jnpe.java: New file.
4181 * gdb.java/jnpe.exp: New file.
4182 * gdb.cp/nextoverthrow.exp: New file.
4183 * gdb.cp/nextoverthrow.cc: New file.
4184
aae1c79a
DE
41852010-12-07 Doug Evans <dje@google.com>
4186
4187 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
4188 of data-directory.
4189 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
4190 updated.
4191 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
4192
60f98dde 41932010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
4194
4195 * gdb.base/callfuncs.exp: Test for skip_float_tests.
4196 * gdb.base/call-sc.exp: Ditto.
4197 * gdb.base/finish.exp: Ditto.
4198 * gdb.base/return.exp: Ditto.
4199 * gdb.base/return2.exp: Ditto.
4200
5fa290c1
DE
42012010-11-30 Doug Evans <dje@google.com>
4202
4203 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
4204 (gdb_expect_list): Fix spelling errors in comments.
4205 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
4206 send_gdb/gdb_expect_list where applicable.
4207 * gdb.base/call-ar-st.exp: Ditto.
4208 * gdb.base/funcargs.exp: Ditto.
4209 * gdb.base/gcore.exp: Ditto.
4210 * gdb.base/page.exp: Ditto.
4211 * gdb.base/sigaltstack.exp: Ditto.
4212 * gdb.base/siginfo.exp: Ditto.
4213 * gdb.base/sigstep.exp: Ditto.
4214 * gdb.base/trace-commands.exp: Ditto.
4215
4e04c971
DE
42162010-11-29 Doug Evans <dje@google.com>
4217
4218 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
4219 printer-name;subprinter-name.
4220
8cf6f0b1
TT
42212010-11-29 Tom Tromey <tromey@redhat.com>
4222
4223 * gdb.dwarf2/implptr.exp: New file.
4224 * gdb.dwarf2/implptr.c: New file.
4225 * gdb.dwarf2/implptr.S: New file.
4226
94b6973e
PM
42272010-11-29 Phil Muldoon <pmuldoon@redhat.com>
4228
fc529d80 4229 PR python/12199
94b6973e
PM
4230
4231 * gdb.python/py-breakpoint.exp: Test the delete method.
4232
8358c15c
JK
42332010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4234
4235 Fix step_resume_breakpoint unsaved during an infcall.
4236 * gdb.base/step-resume-infcall.exp: New file.
4237 * gdb.base/step-resume-infcall.c: New file.
4238
f6df29bc
TJB
42392010-11-24 Edjunior Machado <emachado@br.ibm.com>
4240
4241 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
4242
f2b5a5cf
TJB
42432010-11-24 Edjunior Machado <emachado@br.ibm.com>
4244
4245 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
4246 on ppc64's symbols; "finish" and "return" commands must accept to
4247 show the caller line again as well as the line after.
4248 * gdb.asm/powerpc64.inc: New file.
4249
6b0ecdc2
DE
42502010-11-23 Doug Evans <dje@google.com>
4251
4252 * lib/gdb.exp (gdb_test_sequence): New function.
4253 (gdb_expect_list): Add verbose -log call for each pattern.
4254 * gdb.base/signals.exp (test_handle_all_print): Call it.
4255 Reduce timeout increment from 6 minutes to 1 minute.
4256 * gdb.server/ext-run.exp: Call it.
4257
ea976c60
PM
42582010-11-23 Phil Muldoon <pmuldoon@redhat.com>
4259
f2b5a5cf 4260 PR python/12212
ea976c60
PM
4261
4262 * gdb.python/python.exp: Check that selected_thread raises an
4263 error when no inferior is loaded.
4264
c0efa795
JK
42652010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4266
4267 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
4268 * gdb.dwarf2/dw2-stack-boundary.S: New file.
4269
ec3aa567
JK
42702010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4271
4272 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
4273 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
4274
d8249011
DE
42752010-11-18 Doug Evans <dje@google.com>
4276
4277 * gdb.server/ext-run.exp: Fix intermittent failures.
4278
d4eba7d1
NF
42792010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4280
4281 * gdb.stabs/gdb11479.exp: Use runto_main.
4282
b04c2f88
NF
42832010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4284
4285 * gdb.base/break-entry.exp: Skip if using a stub.
4286
ae9d7ce4
NF
42872010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4288
4289 * gdb.python/py-inferior.exp: Pack values in target endianness.
4290
621c8364
TT
42912010-11-12 Tom Tromey <tromey@redhat.com>
4292
4293 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
4294 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
4295 MemoryError.
4296 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
4297 type.
4298 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
4299 MemoryError.
4300 (test_subscript_regression): Update exception type.
4301
84f4c1fe
PM
43022010-11-11 Phil Muldoon <pmuldoon@redhat.com>
4303
4304 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
4305 breakpoint tests.
4306
a1442452
PA
43072010-11-09 Pedro Alves <pedro@codesourcery.com>
4308
4309 * gdb.base/watchpoint.exp: Test "watch -location" with an
4310 innacessible location.
4311
efd11a33
JK
43122010-11-09 Edjunior Machado <emachado@br.ibm.com>
4313 Luis Machado <luisgpm@br.ibm.com>
4314
4315 * gdb.base/maint.exp: Expect "." prefix.
4316 * gdb.base/nodebug.exp: Expect "." Likewise.
4317 * gdb.base/sepsymtab.exp: Expect "." Likewise.
4318 * gdb.base/watchpoint-cond-gone.exp: Likewise.
4319 * gdb.base/watchpoint.exp: Expect a software watch to be created for
4320 POWER server processors.
4321
aa00efb5
JK
43222010-11-08 Edjunior Machado <emachado@br.ibm.com>
4323 Luis Machado <luisgpm@br.ibm.com>
4324
4325 * gdb.base/break-entry.exp: convert entry point for
4326 ppc64 and expect leading `.' on ppc64's symbols
4327
99e7ae30
DE
43282010-11-05 Doug Evans <dje@google.com>
4329
4330 * gdb.base/help.exp: Update expected output.
b521dba8
DE
4331 * gdb.python/py-param.exp: Delete, contents moved to ...
4332 * gdb.python/py-parameter.exp: ... here. New file.
4333 Add test for gdb.parameter ("directories").
99e7ae30 4334
f4b8a18d
KW
43352010-11-05 Ken Werner <ken.werner@de.ibm.com>
4336
4337 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
4338 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
4339 * configure: Regenerate.
4340 * gdb.opencl/Makefile.in: New File.
4341 * gdb.opencl/datatypes.exp: Likewise.
4342 * gdb.opencl/datatypes.cl: Likewise.
4343 * gdb.opencl/operators.exp: Likewise.
4344 * gdb.opencl/operators.cl: Likewise.
4345 * gdb.opencl/vec_comps.exp: Likewise.
4346 * gdb.opencl/vec_comps.cl: Likewise.
4347 * gdb.opencl/convs_casts.exp: Likewise.
4348 * gdb.opencl/convs_casts.cl: Likewise.
4349 * lib/opencl.exp: Likewise.
4350 * lib/opencl_hostapp.c: Likewise.
4351 * lib/opencl_kernel.cl: Likewise.
4352 * lib/cl_util.c: Likewise.
4353 * lib/cl_util.c: Likewise.
4354 * gdb.base/default.exp (set language): Add "opencl" to the list of
4355 languages.
4356
a9d5ef47
SW
43572010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
4358
4359 * gdb.cp/overload.exp: Added test for inheritance overload.
4360 * gdb.cp/overload.cc: Ditto.
4361 * gdb.cp/oranking.exp: Removed releveant kfails.
4362
03eb1c79
JK
43632010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4364 Joel Brobecker <brobecker@adacore.com>
4365
4366 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
4367 check test_compiler_info.
4368
dbc98a8b
KW
43692010-11-03 Ken Werner <ken.werner@de.ibm.com>
4370
4371 * gdb.base/gnu_vector.exp: Adjust expect messages.
4372
120bd360
KW
43732010-11-03 Ken Werner <ken.werner@de.ibm.com>
4374
4375 * gdb.base/gnu_vector.exp: Add unary operator tests.
4376
c37f7098
KW
43772010-11-03 Ken Werner <ken.werner@de.ibm.com>
4378
4379 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
4380
7b51bc51
DE
43812010-11-02 Doug Evans <dje@google.com>
4382
4383 * gdb.python/py-pp-maint.c: New file.
4384 * gdb.python/py-pp-maint.exp: New file.
4385 * gdb.python/py-pp-maint.py: New file.
4386
50c97f38
TT
43872010-11-02 Tom Tromey <tromey@redhat.com>
4388
4389 * gdb.base/default.exp: Remove "scheme" from language list.
4390
a289b8f6
JK
43912010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4392
4393 Revert:
4394 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4395 * gdb.threads/sigstep-threads.exp: New file.
4396 * gdb.threads/sigstep-threads.c: New file.
4397
cd017491
MS
43982010-10-20 Michael Snyder <msnyder@vmware.com>
4399
4400 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
4401
8e6a5956
UW
44022010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4403
4404 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
4405 Skip test completely if gdb,no_hardware_watchpoints.
4406
2c04da0d
UW
44072010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4408
4409 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
4410 strict, but do not check for any particular function name within libc.
4411
79afc5ef
SW
44122010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4413
4414 * gdb.cp/smartp.exp: New test.
4415 * gdb.cp/smartp.cc : New test.
4416
026ffab7
SW
44172010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4418
4419 * gdb.cp/converts.exp: Test pointer to bool conversion.
4420 Test pointer to long conversion.
4421 * gdb.cp/oranking.exp: Removed relevant kfail.
4422
3a772aa4
TT
44232010-10-18 Tom Tromey <tromey@redhat.com>
4424
4425 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
4426 argument to lazy_string.
4427 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
4428 (pp_ls.to_string): Use it.
4429 * gdb.python/py-prettyprint.c (main): Move declarations to top.
4430 Add "estring2" local.
4431
5fc3827b
JK
44322010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4433
4434 Fix s390x compatibility.
4435 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
4436 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
4437
8aeb23f3
JK
44382010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4439
4440 * gdb.threads/sigstep-threads.exp: New file.
4441 * gdb.threads/sigstep-threads.c: New file.
4442
c1e56572
JK
44432010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4444
4445 * gdb.base/pie-execl.exp: New file.
4446 * gdb.base/pie-execl.c: New file.
4447
92163a10
JK
44482010-10-13 Doug Evans <dje@google.com>
4449 Jan Kratochvil <jan.kratochvil@redhat.com>
4450
4451 PR exp/12117
4452 * gdb.cp/ptype-cv-cp.cc: New file.
4453 * gdb.cp/ptype-cv-cp.exp: New file.
4454
7062b0a0
SW
44552010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
4456
4457 * gdb.cp/converts.cc: New test program.
4458 * gdb.cp/converts.exp: New test.
4459 * gdb.cp/overload.exp: Added test for void* vs int*.
4460 * gdb.cp/overload.exp: Ditto.
4461 * gdb.cp/oranking.exp: Removed related kfail.
4462
0e3509db
DE
44632010-10-13 Doug Evans <dje@google.com>
4464
4465 * lib/gdb-python.exp (gdb_check_python_config): New function.
4466 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
4467 * gdb.python/lib-types.cc: New file.
4468 * gdb.python/lib-types.exp: New file.
4469
8dc78533
JK
44702010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4471
4472 * gdb.python/py-error.exp: New file.
4473 * gdb.python/py-error.py: New file.
4474
93c17e06
JK
44752010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4476
4477 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
4478 gdb_test_multiple.
4479
d8b34041
JK
44802010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4481
4482 * gdb.base/break-interp.exp: Use ldlags for linking flags.
4483 * gdb.base/prelink.exp: Likewise.
4484 * gdb.base/solib-nodir.exp: Likewise.
4485 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
4486 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
4487 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
4488
e0cc584e
UW
44892010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
4490
4491 * break-interp.exp (test_ld): Use two separate gdb_expect statements
4492 for the "info files" test to avoid timeouts on slow machines.
4493
cfc353b1
JK
44942010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4495
4496 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
4497 (main): Make openlib dummy call.
4498
d3d7896d
JK
44992010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4500
4501 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
4502 * break-interp.exp (reach): Move the core body ...
4503 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
4504 (test_ld): Provide always real argument, even to the linker. Replace
4505 dl_main by _dl_debug_state.
4506
5e533c94
JK
45072010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4508
4509 Fix results of prelinked PIEs on ppc*.
4510 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
4511 Accept also DISPLACEMENT "PRESENT".
4512 (main): Replace "ZERO" displacements by "PRESENT".
4513
33540610
SW
45142010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
4515
4516 * gdb.cp/oranking.exp: New test.
4517 * gdb.cp/oranking.cc: New test program.
4518
3bdf2bbd
KW
45192010-10-08 Ken Werner <ken.werner@de.ibm.com>
4520
4521 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
4522 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
4523
2f608a3a
KW
45242010-10-06 Ken Werner <ken.werner@de.ibm.com>
4525
4526 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
4527 lush, lynx) New constant.
4528 * gdb.base/constvars.exp: Test const array types.
4529 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
4530
aa2e2d8d
DE
45312010-10-06 Doug Evans <dje@google.com>
4532
4533 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
4534 of syscall staging area.
4535
2844d6b5
KW
45362010-10-06 Ken Werner <ken.werner@de.ibm.com>
4537
4538 * gdb.base/gnu_vector.c: Add variable c4.
4539 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
4540 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4541
7d8ac8bb
MR
45422010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
4543
4544 * gdb.arch/altivec-abi.exp: Fix a typo.
4545
84a02e58
MR
45462010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
4547
4548 * lib/mi-support.exp (thread_selected_re): Correct pattern used
4549 to match a thread ID.
4550
b18e6318
JK
45512010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4552
4553 Fix s390x testcase compatibility.
4554 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
4555
a2c09bd0
DE
45562010-10-01 Doug Evans <dje@google.com>
4557
4558 * lib/gdb-python.exp: New file.
4559 * gdb.python/py-block.exp: Use it.
4560 * gdb.python/py-breakpoint.exp: Ditto.
4561 * gdb.python/py-frame.exp: Ditto.
4562 * gdb.python/py-inferior.exp: Ditto.
4563 * gdb.python/py-param.exp: Ditto.
4564 * gdb.python/py-prettyprint.exp: Ditto.
4565 * gdb.python/py-shared.exp: Ditto.
4566 * gdb.python/py-symbol.exp: Ditto.
4567 * gdb.python/py-symtab.exp: Ditto.
4568 * gdb.python/py-type.exp: Ditto.
4569 * gdb.python/py-value.exp: Ditto.
4570 * gdb.python/python.exp: Ditto.
4571
38f12cfc
TT
45722010-09-30 Tom Tromey <tromey@redhat.com>
4573
4574 * gdb.base/anon.exp: New file.
4575 * gdb.base/anon.c: New file.
4576
9ae8282d
TT
45772010-09-30 Tom Tromey <tromey@redhat.com>
4578
4579 * gdb.base/completion.exp: Test completion through anonymous
4580 union.
4581 * gdb.base/break1.c (struct some_struct): Add anonymous union.
4582
e9e07ba6
JK
45832010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4584
4585 Fix printing parameters of inlined functions.
4586 * gdb.dwarf2/dw2-inline-param.exp: New file.
4587 * gdb.dwarf2/dw2-inline-param-main.c: New file.
4588 * gdb.dwarf2/dw2-inline-param.S: New file.
4589
cd2effb2
JK
45902010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4591
4592 PR corefiles/12071.
4593 * gdb.base/corefile.exp (quit with a process, no question: load core)
4594 (quit with a core file): New tests.
4595
bceffbf3
JK
45962010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4597
4598 Fix GDB crash on inferior calls with self-referencing classes.
4599 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
4600 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
4601 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
4602
1736ad11
JK
46032010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4604
4605 Fix lost siginfo_t for inferior calls.
4606 * gdb.base/siginfo-infcall.exp: New file.
4607 * gdb.base/siginfo-infcall.c: New file.
4608
a176ad92
JB
46092010-09-22 Joel Brobecker <brobecker@adacore.com>
4610
4611 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
4612
c2b0a229
JK
46132010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4614
4615 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
4616 New test.
4617 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
4618
e8ae22d1
JB
46192010-09-22 Joel Brobecker <brobecker@adacore.com>
4620
4621 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
4622 type of our const type.
4623
ec322823
SW
46242010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
4625
4626 * gdb.cp/pr12028.cc: New.
4627 * gdb.cp/pr12028.exp: New.
4628
72929c62
JB
46292010-09-22 Joel Brobecker <brobecker@adacore.com>
4630
4631 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
4632
875b4ff5 46332010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 4634 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
4635
4636 PR mi/11407
4637 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
4638 * gdb.mi/dw2-ref-missing-frame-main.c New File.
4639 * gdb.mi/dw2-ref-missing-frame.S New File.
4640 * gdb.mi/dw2-ref-missing-frame.exp New File.
4641
7155d578
TT
46422010-09-14 Tom Tromey <tromey@redhat.com>
4643
4644 PR symtab/8399:
4645 * gdb.threads/tls.exp: Remove kfail. Update expected output.
4646
515ed532
TT
46472010-09-14 Tom Tromey <tromey@redhat.com>
4648
4649 PR exp/11803:
4650 * gdb.threads/tls.exp: Use C++.
4651 (check_thread_local): Use K::another_thread_local.
4652 * gdb.threads/tls.c (class K): New.
4653 (another_thread_local): Now a member of K.
4654 (spin): Update. No longer K&R C.
4655
450ca57c
SW
46562010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4657
4658 * gdb.cp/koenig.cc: created class for testing member lookup.
4659 * gdb.cp/koenig.exp: Added test for member lookup.
4660
dbd492a3
JK
46612010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4662
4663 Fix false FAILs on sourcetree topdir directory containing "kill".
4664 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
4665 source line matching regexp.
4666
8d4d924b
JK
46672010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4668
4669 * gdb.python/python.exp (set height 0, collect help from uiout)
4670 (verify help to uiout): New tests.
4671
8e64f2a0
JK
46722010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4673
4674 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
4675 is_lp64_target to check 64bit target.
4676
4569eed2
JK
46772010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4678
4679 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
4680 (test_ld) <powerpc64-*>: New.
4681
5e1617b1
DJ
46822010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4683
4684 * gdb.cp/templates.exp (test_template_args): Allow "struct".
4685
c767944b
DJ
46862010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4687
4688 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
4689 (FunctionArg::method): New function.
4690 (empty, arg): New variables.
4691 (main): Call arg.method.
4692 * gdb.cp/templates.exp (test_template_args): New function.
4693 (do_tests): Call it.
4694
27d3a3fc
UW
46952010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4696
4697 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
4698 of "next" to proceed over pthread_exit call.
4699
55b7ce7f
UW
47002010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4701
4702 * gdb.base/maint.exp: Avoid wildcards against potentially very long
4703 "maint print statistics" output to prevent expect timeouts.
4704
809df446
JK
47052010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4706
4707 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
4708 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4709 (test_float_rejected): ... here.
4710 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
4711 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4712 (test_float_rejected): ... here.
4713 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
4714 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4715 (test_float_rejected): ... here.
4716 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
4717 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4718 (test_float_rejected): ... here.
4719
8464be76
DJ
47202010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
4721
4722 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
4723 before disabling hardware watchpoints.
4724 (test_inaccessible_watchpoint): Check that hardware watchpoints
4725 are used. Test for watchpoints on a constant address.
4726
14dba4b4
JK
47272010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4728
4729 * gdb.base/ui-redirect.exp: New file.
4730
3f3540e1 47312010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 4732 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
4733
4734 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
4735
0f254bb7
DE
47362010-08-31 Doug Evans <dje@google.com>
4737
4738 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
4739
03f17ccf
TT
47402010-08-30 Tom Tromey <tromey@redhat.com>
4741
4742 PR python/11792:
4743 * gdb.python/py-value.exp (test_subscript_regression): Add
4744 dynamic_type test.
4745
640617ad
DJ
47462010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
4747
4748 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
4749 instead of running to main. Do not test the main function.
4750 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
4751 Add new main.
4752
2ed91d1b
PA
47532010-08-26 Pedro Alves <pedro@codesourcery.com>
4754
4755 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
4756 one test.
4757
673bfd45
DE
47582010-08-24 Doug Evans <dje@google.com>
4759
4760 PR symtab/11942
4761 * gdb.dwarf2/dw4-sig-types.cc: New file.
4762 * gdb.dwarf2/dw4-sig-types.h: New file.
4763 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
4764 * gdb.dwarf2/dw4-sig-types.exp: New file.
4765
f9ffd4bb
TT
47662010-08-23 Tom Tromey <tromey@redhat.com>
4767
4768 PR python/11145:
4769 * gdb.python/py-value.c (Base, Derived): New types.
4770 (base): New global.
4771 * gdb.python/py-value.exp (test_subscript_regression): Add
4772 dynamic_cast test.
4773
d839c8a4
TT
47742010-08-23 Tom Tromey <tromey@redhat.com>
4775
4776 PR python/10676:
4777 * gdb.python/py-type.exp (test_fields): Add tests for type
4778 equality.
4779
702c2711
TT
47802010-08-23 Tom Tromey <tromey@redhat.com>
4781
4782 PR python/11915:
4783 * gdb.python/py-type.exp (test_fields): Add tests for array.
4784
832bafd3
KS
47852010-08-23 Keith Seitz <keiths@redhat.com>
4786
4787 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
4788 have any children. Create a new abbrev for it.
4789 Add missing terminal sequence to .debug_abbrev.
4790
c37bf528
KS
47912010-08-20 Keith Seitz <keiths@redhat.com>
4792
4793 PR symtab/11465:
4794 * gdb.dwarf2/pr11465.exp: New test.
4795 * gdb.dwarf2/pr11465.S: New file.
4796 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
4797 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
4798
4572cbac
TJB
47992010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
4800
4801 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
4802 registers. Update data sets with the new v2_double element in the
4803 VSX register union. Add vector_register3_vr data set for the AltiVec
4804 registers. Use gdb_test_no_output instead of send_gdb.
4805
e7fbb131
PA
48062010-08-19 Pedro Alves <pedro@codesourcery.com>
4807
4808 * gdb.python/py-shared.exp: New file, factored out from
4809 python.exp.
4810 * gdb.python/py-shared.c: New file.
4811 * gdb.python/py-shared-sl.c: New file.
4812 * gdb.python/python-1.c: New file.
4813 * gdb.python/python-sl.c: Delete.
4814 * gdb.python/python.c: Mention python-1.c.
4815 * gdb.python/python.exp: Move shared library tests to
4816 py-shared.exp.
4817 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
4818 (MISCELLANEOUS): New.
4819 (clean mostlyclean): Also remove $MISCELLANEOUS.
4820
d30f5e1f
DE
48212010-08-19 Doug Evans <dje@google.com>
4822
4823 PR exp/11926
4824 * gdb.base/printcmds.exp (test_float_accepted): New function.
4825 Move existing float tests there. Add tests for floats with suffixes.
4826 (test_float_rejected): New function.
4827 * gdb.java/jv-print.exp (test_float_accepted): New function.
4828 (test_float_rejected): New function.
4829 * gdb.objc/print.exp: New file.
4830 * gdb.pascal/print.exp: New file.
4831 * lib/objc.exp: New file.
4832
7b3fd859
PM
48332010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
4834
4835 * gdb.base/default.exp (info set): Avoid full buffer error and force
4836 reading up to final gdb prompt.
4837 (show): Likewise.
4838
c92817ce
TT
48392010-08-18 Tom Tromey <tromey@redhat.com>
4840
4841 PR symtab/11919:
4842 * gdb.base/completion.exp: Add test.
4843
f1208f9e
DE
48442010-08-18 Doug Evans <dje@google.com>
4845
4846 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
4847 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
4848 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
4849 Simplify, early exit if runto_main fails.
4850 * gdb.fortran/exprs.exp: load_lib fortran.exp.
4851 (set_lang_fortran): Moved to lib/fortran.exp.
4852 * gdb.fortran/types.exp: load_lib fortran.exp.
4853 (set_lang_fortran): Moved to lib/fortran.exp.
4854 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
4855 * gdb.java/jprint.exp (set_lang_java): Ditto.
4856 * gdb.java/jv-exp.exp: load_lib java.exp.
4857 If set_lang_java fails, issue a warning instead of failure to be
4858 consistent with other set_lang_foo uses.
4859 (set_lang_java): Moved to lib/java.exp.
4860 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
4861 If set_lang_java fails, issue a warning instead of failure to be
4862 consistent with other set_lang_foo uses.
4863 * gdb.pascal/types.exp: load_lib pascal.exp.
4864 (set_lang_pascal): Moved to lib/pascal.exp.
4865 * lib/fortran.exp: New file.
4866 * lib/java.exp (set_lang_java): New function.
4867 * lib/pascal.exp (set_lang_pascal): New function.
4868
2f06b485
YQ
48692010-08-18 Yao Qi <yao@codesourcery.com
4870
4871 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
4872 func_nofb_start and func_loopfb_start, so that address of functions
4873 is equal to these labels on Thumb.
4874
96e25403
YQ
48752010-08-18 Yao Qi <yao@codesourcery.com>
4876
4877 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
4878 to reflect latest c source file.
4879
36e6adc4
JK
48802010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4881
4882 * gdb.cp/infcall-dlopen.exp: New file.
4883 * gdb.cp/infcall-dlopen.cc: New file.
4884 * gdb.cp/infcall-dlopen-lib.cc: New file.
4885
f431efe5
PA
48862010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4887 Pedro Alves <pedro@codesourcery.com>
4888
4889 PR breakpoints/11371
4890
4891 * gdb.base/watch-cond-infcall.exp: New file.
4892 * gdb.base/watch-cond-infcall.c: New file.
4893
06a64a0b
TT
48942010-08-16 Tom Tromey <tromey@redhat.com>
4895
4896 * gdb.base/help.exp: Update.
4897 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
4898 watchpoint.
4899 (test_watch_location): New proc.
4900 (test_watchpoint_in_big_blob): Delete watchpoint.
4901 * gdb.base/watchpoint.c (func5): New function.
4902 (main): Call it.
4903
70ebf4ed
DE
49042010-08-16 Doug Evans <dje@google.com>
4905
4906 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
4907
ca5c20b6
PM
49082010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4909
4910 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
4911 tests.
4912
7346b668
KW
49132010-08-11 Ken Werner <ken.werner@de.ibm.com>
4914
4915 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
4916 * gdb.base/gnu_vector.c: New File.
4917 * gdb.base/gnu_vector.exp: Likewise.
4918
cb2e07a6
PM
49192010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4920
4921 * gdb.python/python.c: New File.
4922 * gdb.python/python-sl.c: New File.
4923 * gdb.python/python.exp: Test solib_address and decode_line
4924 * functions.
4925
5da1313b
JK
49262010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4927
4928 * gdb.python/python.exp (show height, set height 10)
4929 (verify pagination beforehand, verify pagination beforehand: q)
4930 (gdb.execute does not page, verify pagination afterwards)
4931 (verify pagination afterwards: q): New.
4932
49c3ccf7
DE
49332010-08-02 Doug Evans <dje@google.com>
4934
4935 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
4936 because of an older gcc, change test2
4937 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
4938 to unsupported.
4939
42c0c4f1
KH
49402010-07-30 Kazu Hirata <kazu@codesourcery.com>
4941
4942 * gdb.base/break-always.exp: Do not expect full paths to file
4943 names.
4944 * gdb.base/commands.exp: Likewise.
4945
d3765805
DE
49462010-07-30 Doug Evans <dje@google.com>
4947
c98ee71b
DE
4948 * gdb.cp/temargs.exp: For new tests that require newer gccs,
4949 xfail them when run with older gccs.
4950
fd961404
DE
4951 * lib/gdb.exp (build_executable): Forward "c++" option to
4952 get_compiler_info.
4953
999adef4
DE
4954 * gdb.python/py-type.exp (test_template): Mark as xfail tests
4955 "python print ttype.template_argument(1)" and
4956 "python print isinstance(ttype.template_argument(1), gdb.Value)"
4957 if using gcc 4.4 or earlier.
4958
d3765805
DE
4959 * gdb.base/valgrind-db-attach.exp: Use unique test name for
4960 attach-to-debugger handling.
4961
1276c759
JK
49622010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4963
4964 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
4965 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
4966 (main): Use copyreloc.
4967 * gdb.base/prelink.exp (split debug of executable)
4968 (.dynbss vs. .bss address shift): New tests.
4969
88caa9b9
PA
49702010-07-29 Pedro Alves <pedro@codesourcery.com>
4971
4972 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
4973 in gdb_test_multiple.
4974
c6f2ac43
PA
49752010-07-29 Pedro Alves <pedro@codesourcery.com>
4976
4977 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
4978 environment.
4979
326fd672
TT
49802010-07-28 Tom Tromey <tromey@redhat.com>
4981
4982 PR python/11060:
4983 * gdb.python/py-type.c (Temargs): New template.
4984 (temvar): New variable.
4985 * gdb.python/py-type.exp (test_template): New proc.
4986
3ce3b1ba
PA
49872010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4988
4989 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
4990 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
4991
34eaf542
TT
49922010-07-28 Tom Tromey <tromey@redhat.com>
4993
4994 PR c++/9946:
4995 * gdb.cp/temargs.exp: New file.
4996 * gdb.cp/temargs.cc: New file.
4997
d41b819e
JK
49982010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4999
5000 * gdb.base/help.exp (help disassemble): Update the content.
5001
26ab7092
JK
50022010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5003
5004 * gdb.threads/ia64-sigill.exp: New file.
5005 * gdb.threads/ia64-sigill.c: New file.
5006
5283e9e1
TT
50072010-07-27 Tom Tromey <tromey@redhat.com>
5008
5009 * gdb.opt/inline-cmds.c (ATTR): New define.
5010 (func1): Use it.
5011 (func2): Likewise.
5012 (func3): Likewise.
5013 (outer_inline1): Likewise.
5014 (outer_inline2): Likewise.
5015 * gdb.opt/inline-bt.c (ATTR): New define.
5016 (func1): Use it.
5017 (func2): Likewise.
5018 * gdb.opt/inline-locals.c (ATTR): New define.
5019 (func1): Use it.
5020 (func2): Likewise.
5021
e992ef73
TT
50222010-07-27 Tom Tromey <tromey@redhat.com>
5023
5024 * gdb.stabs/gdb11479.c (hack): New function.
5025 (test): Use it.
5026 (test2): Use it.
5027 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
5028 (int32_search_buf, int64_search_buf): No longer static.
5029 (x): Remove.
5030 * gdb.base/relocate.c (hack): New function.
5031
5374244e
PM
50322010-07-27 Phil Muldoon <pmuldoon@redhat.com>
5033
5034 * gdb.python/py-value.exp (test_inferior_function_call): New function.
5035 * gdb.python/py-value.c (func1): New function.
5036 (func2): Likewise.
5037
a99aee83
CV
50382010-07-26 Corinna Vinschen <vinschen@redhat.com>
5039
5040 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
5041 as not to clash with .data section.
5042
a04ba985
JG
50432010-07-26 Jerome Guitton <guitton@adacore.com>
5044
5045 * gdb.base/code_elim.exp: New file.
5046 * gdb.base/code_elim1.c: New file.
5047 * gdb.base/code_elim2.c: New file.
5048
23bd0f7c
PA
50492010-07-21 Pedro Alves <pedro@codesourcery.com>
5050
5051 PR symtab/11827
5052
5053 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
5054 (some_volatile_enum): New variable.
5055 * gdb.base/printcmds.exp (test_print_enums): New.
5056 <top level>: Call it.
5057
883df6dd
SW
50582010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
5059
5060 * gdb.cp/fpointer.cc: New test.
5061 * gdb.cp/fpointer.exp: New test.
5062
569b05a5
JK
50632010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5064
5065 * gdb.base/solib-nodir.exp: New file.
5066 * lib/gdb.exp (runto): New case for a GDB internal error.
5067
51d7d803
JK
50682010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5069 Ulrich Weigand <uweigand@de.ibm.com>
5070 Tom Tromey <tromey@redhat.com>
5071
5072 * gdb.base/charset-malloc.c: New file.
5073 * gdb.base/charset.c (malloc_stub): New prototype.
5074 (main): Call it instead of malloc itself.
5075 * gdb.base/charset.exp: Use only prepare_for_testing.
5076 (binfile): Remove the variable.
5077
c0edd9ed
JK
50782010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5079
5080 Make core files the process_stratum.
5081 * gdb.base/corefile.exp (run: load core again)
5082 (run: sanity check we see the core file, run: with core)
5083 (run: core file is cleared, attach: load core again)
5084 (attach: sanity check we see the core file, attach: with core)
5085 (attach: core file is cleared): New tests.
5086 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
5087
3cbaedff
KW
50882010-07-14 Ken Werner <ken.werner@de.ibm.com>
5089
5090 * gdb.arch/altivec-abi.exp: New tests.
5091
91158a56
TT
50922010-07-13 Tom Tromey <tromey@redhat.com>
5093
5094 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
5095 (main): Use it.
5096 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
5097
0f5238ed
TT
50982010-07-13 Tom Tromey <tromey@redhat.com>
5099
5100 * gdb.base/label.exp: New file.
5101 * gdb.base/label.c: New file.
5102
add265ae
L
51032010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
5104 H.J. Lu <hongjiu.lu@intel.com>
5105
5106 * lib/gdb.exp (is_ilp32_target): New.
5107 (is_lp64_target): Likewise.
5108
5109 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
5110 target.
5111 * gdb.arch/amd64-disp-step.exp: Likewise.
5112 * gdb.arch/amd64-dword.exp: Likewise.
5113 * gdb.arch/amd64-i386-address.exp: Likewise.
5114 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 5115
add265ae
L
5116 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
5117 target.
5118 * gdb.arch/i386-bp_permanent.exp: Likewise.
5119 * gdb.arch/i386-byte.exp: Likewise.
5120 * gdb.arch/i386-disp-step.exp: Likewise.
5121 * gdb.arch/i386-gnu-cfi.exp: Likewise.
5122 * gdb.arch/i386-prologue.exp: Likewise.
5123 * gdb.arch/i386-size-overlap.exp: Likewise.
5124 * gdb.arch/i386-size.exp: Likewise.
5125 * gdb.arch/i386-sse.exp: Likewise.
5126 * gdb.arch/i386-unwind.exp: Likewise.
5127 * gdb.arch/i386-word.exp: Likewise.
5128
5129 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
5130 test only when building 64-bit executables. Do not hard-code
5131 -m64 option.
5132
2dfb8c17
DE
51332010-07-07 Doug Evans <dje@google.com>
5134
5135 * lib/gdb.exp (gdb_test_list_exact): New function.
5136 * gdb.base/default.exp (show convenience): Call it, add tests for
5137 $_sdata = void, $_thread = 0.
5138
4e5799b6
JK
51392010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5140 Joel Brobecker <brobecker@adacore.com>
5141
5142 Fix re-run of PIE executable, PR shlibs/11776.
5143 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
5144 Remove $displacement_main to match the solib-svr4.c change. New "kill"
5145 and re-"run" of the inferior.
5146
1a219cc7
JK
51472010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5148 Joel Brobecker <brobecker@adacore.com>
5149
5150 Cope with missing /usr/sbin/prelink.
5151 * lib/prelink-support.exp (prelink_no):
5152 <result == 1 && $output is "no such file or directory">: New.
5153 (prelink_yes): Likewise. Return on failed prelink_no.
5154
5e3b36f8
JK
51552010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5156 Joel Brobecker <brobecker@adacore.com>
5157
5158 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
5159 build_executable by build_executable_own_libs. Replace "prelink -R"
5160 execution by a call of prelink_yes. Comment why "prelink -r" needs no
5161 change.
5162 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
5163 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
5164 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
5165 Replace build_executable by build_executable_own_libs's function
5166 build_executable_own_libs.
5167 (prelinkNO): Create new stub to call prelink_no.
5168 (prelinkYES): Create new stub to call prelink_yes.
5169 (test_attach): Rename calls of copy to file_copy.
5170 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
5171 (copy): Move to ...
5172 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
5173 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
5174 * gdb.base/prelink.exp: Disable testcase also for is_remote and
5175 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
5176 special flags by gdb_compile_shlib. Replace second gdb_compile by
5177 build_executable_own_libs. Replace "prelink -R" execution by a call of
5178 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
5179 a second call of prelink_yes. Replace restart commands by
5180 clean_restart.
5181 (prelink): Rename to ...
5182 (seen displacement message): ... this test. Extend its expectation
5183 strictness.
5184
86e4bafc
JK
51852010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5186
5187 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
5188 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
5189 displacement message exactly once.
5190
3cd07d20
JK
51912010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5192 Joel Brobecker <brobecker@adacore.com>
5193
5194 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
5195 its restore after the <$relink_args != ""> loop. new comment.
5196
0a1e94c7
JK
51972010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5198 Joel Brobecker <brobecker@adacore.com>
5199
5200 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
5201 code for it. New variable relink_args.
5202 (prelinkYES): Call prelinkNO.
5203 (test_attach): Accept new parameter relink_args. Re-prelink the binary
5204 in such case. Move the core code to ...
5205 (test_attach_gdb): ... a new function. Send GDB command "file".
5206 Extend expected "Attaching to " string.
5207
2f70bcfb
TT
52082010-07-02 Tom Tromey <tromey@redhat.com>
5209
5210 * gdb.base/bitops.exp: Remove extraneous "pass".
5211
a17ac5b0
TT
52122010-07-02 Ken Werner <ken.werner@de.ibm.com>
5213
5214 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
5215
dc10affe
PA
52162010-07-01 Pedro Alves <pedro@codesourcery.com>
5217
d41c0fc8
PA
5218 * gdb.base/help.exp: Adjust expected output.
5219
52202010-07-01 Pedro Alves <pedro@codesourcery.com>
5221
5222 * gdb.base/help.exp: Adjust expected output.
dc10affe 5223
0a600c36
JK
52242010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5225
5226 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
5227 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
5228 c++/11702.
5229
37cc8bfe
JK
52302010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5231 Doug Evans <dje@google.com>
5232
5233 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
5234 add .dynamic entry'.
5235
254e6b9e
DE
52362010-06-29 Doug Evans <dje@google.com>
5237
5238 Test PR c++/11702.
5239 * gdb.cp/m-static.exp: Add testcase.
5240 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
5241
595939de 52422010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
5243 Tom Tromey <tromey@redhat.com>
5244 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
5245
5246 * gdb.python/py-inferior.c: New File.
5247 * gdb.python/py-infthread.c: New File.
5248 * gdb.python/py-inferior.exp: New File.
5249 * gdb.python/py-infthread.exp: New File.
5250
98751a41
JK
52512010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5252
5253 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
5254 (ptype ::C::OtherFileClass typedefs): New.
5255 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
5256 (C::OtherFileClass::cOtherFileClassVar2): New.
5257 (C::OtherFileClass::cOtherFileClassVar_use): Use also
5258 cOtherFileClassVar2.
5259 (C::cOtherFileType2, C::cOtherFileVar2): New.
5260 (C::cOtherFileVar_use): use also cOtherFileVar2.
5261 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
5262
41f62f39
JK
52632010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5264
5265 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
5266 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
5267 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
5268 (print ::C::cOtherFileVar)
5269 (whatis C::OtherFileClass::cOtherFileClassType)
5270 (whatis ::C::OtherFileClass::cOtherFileClassType)
5271 (print C::OtherFileClass::cOtherFileClassVar)
5272 (print ::cOtherFileClassVar)
5273 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
5274 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
5275 trailing content.
5276 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
5277 (C::OtherFileClass::cOtherFileClassVar)
5278 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
5279 (C::cOtherFileVar, C::cOtherFileVar_use): New.
5280
af53d231
JK
52812010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5282
5283 Test PR c++/11703 and PR gdb/1448.
5284 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
5285 gdb/1448.
5286
9655fd1a
JK
52872010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5288
5289 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
5290 (main) <rtti_data>: New.
5291 * gdb.cp/virtbase.exp (print rtti_data): New.
5292
824cc8dd
JK
52932010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5294 Joel Brobecker <brobecker@adacore.com>
5295
5296 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
5297
6036c742
JK
52982010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5299
5300 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
5301
de6a0421
DE
53022010-06-28 Doug Evans <dje@google.com>
5303
5304 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
5305
b2dae948
DE
53062010-06-27 Doug Evans <dje@google.com>
5307
5308 * gdb.cp/m-static.exp: Update expected test output.
5309
0f3bb72e
PH
53102010-06-25 Paul Hilfinger <hilfinger@adacore.com>
5311
889bf7c5
PA
5312 * gdb.gdb/selftest.exp: Adjust expected message for
5313 capturing start-up runtime.
0f3bb72e 5314
bc9f0842
TT
53152010-06-25 Tom Tromey <tromey@redhat.com>
5316
5317 PR python/10808:
5318 * gdb.python/python.exp: Add new tests.
5319
099ef718
SW
53202010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
5321
5322 * gdb.cp/operator.cc: Created an import loop.
5323 * gdb.cp/operator.exp: Added testcase for import loop.
5324
5868a632
JK
53252010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5326
5327 Test PR python/11407.
5328 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
5329 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
5330 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
5331 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
5332 executable_nofb and executable_fb. New variables srcsfile, objsfile,
5333 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
5334 binfile. Call gdb_compile with clean_restart twice.
5335 (func_nofb print, func_nofb backtrace, func_loopfb print)
5336 (func_loopfb backtrace): New.
5337
af76db58
JK
53382010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5339
5340 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
5341 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
5342 by a hand made one.
5343 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
5344 i?86 requirement. Remove variables srcfile and binfile. New variable
5345 sources, executable_nofb and executable_fb. Call prepare_for_testing.
5346
f2c7657e
UW
53472010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5348
5349 * gdb.cell/dwarfaddr.exp: New file.
5350 * gdb.cell/dwarfaddr.S: New file.
5351
628fe4e4
JK
53522010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5353
5354 Test PR 9436.
5355 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
5356
f1421989
HZ
53572010-06-24 Hui Zhu <teawater@gmail.com>
5358
5359 * gdb.base/eval.exp: New file.
5360
d03285ec
UW
53612010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5362
5363 * gdb.cell/fork.exp: New file.
5364 * gdb.cell/fork.c: Likewise.
5365 * gdb.cell/fork-spu.c: Likewise.
5366
41b2c92d
PM
53672010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
5368
5369 * lib/gdb.exp (banned_variables_traced): New global variable.
5370 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
5371 (gdb_init): Use `trace add variable' instead of obsolete
5372 `trace variable'.
5373
d5bc977f
DE
53742010-06-21 Doug Evans <dje@google.com>
5375
5376 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
5377
d2ed6730
UW
53782010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5379
5380 * gdb.arch/spu-ls.exp: New file.
5381 * gdb.arch/spu-ls.c: Likewise.
5382
6aed2dbc
SS
53832010-06-18 Stan Shebs <stan@codesourcery.com>
5384
5385 * gdb.threads/thread-specific.exp: Add tests of $_thread.
5386
e0756905
UW
53872010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5388
5389 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
5390 * gdb.base/watch-cond.exp: Likewise.
5391 * gdb.python/py-breakpoint.exp: Likewise.
5392
d8053d4d
PA
53932010-06-18 Pedro Alves <pedro@codesourcery.com>
5394
5395 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
5396 clean_restart, make sure every test has a distinct message, and
5397 that messages don't include the executable' full path.
5398
81ce510c
DE
53992010-06-17 Doug Evans <dje@google.com>
5400
5401 * gdb.arch/i386-size.exp: Updated expected output for
5402 DISASSEMBLY_OMIT_FNAME.
5403
65d79d4b
SDJ
54042010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5405 Sergio Durigan Junior <sergiodj@redhat.com>
5406
5407 * gdb.base/watch-notconst.c: New file.
5408 * gdb.base/watch-notconst.S: New file.
5409 * gdb.base/watch-notconst2.c: New file.
5410 * gdb.base/watch-notconst2.S: New file.
5411 * gdb.base/watch-notconst.exp: New file.
5412 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
5413 (func4): Add operations on `global_ptr_ptr'.
5414 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
5415 routine to test watchpoints created with a constant expression.
5416 (test_inaccessible_watchpoint): Include tests for watchpoints
5417 created with a constant expression.
5418
df0f4836
KB
54192010-06-14 Kevin Buettner <kevinb@redhat.com>
5420
5421 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
5422 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
5423 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
5424 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
5425 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
5426 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
5427 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
5428 of `_start'.
5429
b769def5
UW
54302010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5431
5432 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
5433 not supported on the target.
5434 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5435 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5436 * gdb.mi/mi-nsintrall.exp: Likewise.
5437 * gdb.mi/mi-nsmoribund.exp: Likewise.
5438 * gdb.mi/mi-nsthrexec.exp: Likewise.
5439
d914c394
SS
54402010-06-11 Stan Shebs <stan@codesourcery.com>
5441
5442 * gdb.base/permissions.exp: New file.
5443
54442010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
5445
5446 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
5447 does not support ELF executable class.
5448
f3ce5b9c
UW
54492010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5450
5451 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
5452
8e46892c
JK
54532010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5454
5455 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
5456 (runto): Catch "The target does not support running in non-stop mode.".
5457
6cc55c64
MS
54582010-06-11 Michael Snyder <msnyder@vmware.com>
5459
5460 * gdb.base/setshow.exp (set language asm): Don't use
5461 gdb_test_no_output, fails on some targets.
5462
caddefa4
UW
54632010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5464
5465 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
5466 * gdb.cp/pr9167.exp: Likewise.
5467
468b1aa7
UW
54682010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5469
5470 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
5471
5c3552dc
UW
54722010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5473
5474 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
5475
02e6fe6a
UW
54762010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5477
5478 * gdb.base/charset.c (main): Make sure malloc gets linked in.
5479
0e03807e
TT
54802010-06-11 Tom Tromey <tromey@redhat.com>
5481
5482 PR gdb/9977, PR exp/11636::
5483 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
5484 (pieces_test_f6): Update expected output.
5485
2bdf28a0
JK
54862010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5487
5488 * gdb.base/moribund-step.exp: New.
5489
f6978de9
MS
54902010-06-08 Michael Snyder <msnyder@vmware.com>
5491
5492 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 5493 * gdb.ada/boolean_expr.exp:
f6978de9
MS
5494 * gdb.ada/frame_args.exp: Ditto.
5495 * gdb.ada/lang_switch.exp: Ditto.
5496 * gdb.ada/ptype_arith_binop.exp: Ditto.
5497 * gdb.ada/ref_param.exp: Ditto.
5498 * gdb.ada/type_coercion.exp:Ditto.
5499
5500 * gdb.asm/asm-source.exp: Ditto.
5501
5502 * gdb.base/attach.exp: Ditto.
5503 * gdb.base/bitfields2.exp: Ditto.
5504 * gdb.base/call-signal-resume.exp: Ditto.
5505 * gdb.base/callfuncs.exp: Ditto.
5506 * gdb.base/commands.exp: Ditto.
5507 * gdb.base/dbx.exp: Ditto.
5508 * gdb.base/default.exp: Ditto.
5509 * gdb.base/dump.exp: Ditto.
5510 * gdb.base/exprs.exp: Ditto.
5511 * gdb.base/freebpcmd.exp: Ditto.
5512 * gdb.base/interrupt.exp: Ditto.
5513 * gdb.base/list.exp: Ditto.
5514 * gdb.base/long_long.exp: Ditto.
5515 * gdb.base/maint.exp: Ditto.
5516 * gdb.base/ptype.exp: Ditto.
5517 * gdb.base/return.exp: Ditto.
5518 * gdb.base/setshow.exp: Ditto.
5519 * gdb.base/sigbpt.exp: Ditto.
5520 * gdb.base/sigrepeat.exp: Ditto.
5521
5522 * gdb.cp/classes.exp: Ditto.
5523
5524 * gdb.dwarf2/dw2-restore.exp: Ditto.
5525
5526 * gdb.gdb/selftest.exp: Ditto.
5527
5528 * gdb.multi/base.exp: Ditto.
5529 * gdb.multi/bkpt-multi-exec.exp: Ditto.
5530
5531 * gdb.python/py-block.exp: Ditto.
5532 * gdb.python/py-prettyprint.exp: Ditto.
5533 * gdb.python/py-template.exp: Ditto.
5534
5535 * gdb.server/ext-attach.exp: Ditto.
5536 * gdb.server/ext-run.exp: Ditto.
5537 * gdb.server/server-mon.exp: Ditto.
5538
5539 * gdb.threads/fork-thread-pending.exp: Ditto.
5540 * gdb.threads/hand-call-in-threads.exp: Ditto.
5541 * gdb.threads/interrupted-hand-call.exp: Ditto.
5542 * gdb.threads/linux-dp.exp: Ditto.
5543 * gdb.threads/manythreads.exp: Ditto.
5544 * gdb.threads/print-threads.exp: Ditto.
5545 * gdb.threads/pthreads.exp: Ditto.
5546 * gdb.threads/schedlock.exp: Ditto.
5547 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5548 * gdb.threads/threadapply.exp: Ditto.
5549
de7ff789
MS
55502010-06-08 Michael Snyder <msnyder@vmware.com>
5551
889bf7c5 5552 * gdb.ada/exec_changed.exp:
de7ff789
MS
5553 Use ".*" instead of "" as wildcard regexp.
5554
5555 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
5556 * gdb.base/call-ar-st.exp: Ditto.
5557 * gdb.base/checkpoint.exp: Ditto.
5558 * gdb.base/default.exp: Ditto.
5559 * gdb.base/dump.exp: Ditto.
5560 * gdb.base/ending-run.exp: Ditto.
5561 * gdb.base/fileio.exp: Ditto.
5562 * gdb.base/miscexprs.exp: Ditto.
5563 * gdb.base/pointers.exp: Ditto.
5564 * gdb.base/readline.exp: Ditto.
5565 * gdb.base/reread.exp: Ditto.
5566 * gdb.base/restore.exp: Ditto.
5567 * gdb.base/shlib-call.exp: Ditto.
5568 * gdb.base/valgrind-db-attach.exp: Ditto.
5569 * gdb.base/volatile.exp: Ditto.
5570 * gdb.base/watchpoints.exp: Ditto.
5571
5572 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
5573
5574 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
5575 * gdb.python/py-value.exp: Ditto.
5576
5577 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
5578 * gdb.trace/circ.exp: Ditto.
5579 * gdb.trace/collection.exp: Ditto.
5580 * gdb.trace/packetlen.exp: Ditto.
5581 * gdb.trace/passc-dyn.exp: Ditto.
5582 * gdb.trace/report.exp: Ditto.
5583 * gdb.trace/tfile.exp: Ditto.
5584 * gdb.trace/tfind.exp: Ditto.
5585 * gdb.trace/while-dyn.exp: Ditto.
5586
3bebe2f2
JK
55872010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5588
5589 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
5590
5c631832
JK
55912010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5592
5593 Test PR 10640.
5594 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
5595
4c3376c8
SW
55962010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
5597
5598 * gdb.cp/koenig.exp: Test for ADL operators.
5599 * gdb.cp/koenig.cc: Added ADL operators.
5600 * gdb.cp/operator.exp: New test.
5601 * gdb.cp/operator.cc: New test.
5602
dc226d5a
MS
56032010-06-04 Michael Snyder <msnyder@vmware.com>
5604
dfb88a23
MS
5605 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
5606 * gdb.base/pending.exp: Ditto.
f7ae76b3 5607
dc226d5a
MS
5608 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
5609
967cf477
DE
56102010-06-04 Doug Evans <dje@google.com>
5611
5612 * gdb.python/py-prettyprint.exp: Add new test for enabled and
5613 disabled printers.
5614 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
5615 (enable_lookup_function): New function.
5616
eb801841
TT
56172010-06-04 Tom Tromey <tromey@redhat.com>
5618
5619 * gdb.python/py-value.exp (test_value_hash): Don't test equality
5620 of hash and id.
5621
38979823
JK
56222010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5623
5624 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
5625 newline.
5626 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
5627 (empty verbose non-noisy clear, empty verbose noisy clear)
5628 (empty non-verbose noisy clear): Likewise.
5629
35ec993f
MS
56302010-06-03 Michael Snyder <msnyder@vmware.com>
5631
5632 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
5633 * gdb.base/display.exp: Ditto.
5634 * gdb.base/find.exp: Ditto.
5635 * gdb.base/ifelse.exp: Ditto.
5636 * gdb.base/multi-forks.exp: Ditto.
5637 * gdb.base/recurse.exp: Ditto.
5638 * gdb.base/setshow.exp: Ditto.
5639 * gdb.base/value-double-free.exp: Ditto.
5640 * gdb.base/watch-vfork.exp: Ditto.
5641 * gdb.base/watch_thread_num.exp: Ditto.
5642 * gdb.base/watchpoint-solib.exp: Ditto.
5643 * gdb.base/watchpoint.exp: Ditto.
5644 * gdb.base/watchpoints.exp: Ditto.
5645
5646 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
5647 * gdb.cp/overload.exp: Ditto.
5648 * gdb.cp/virtfunc.exp: Ditto.
5649
5650 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
5651
889bf7c5 5652 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
5653 Replace gdb_test with gdb_test_no_output.
5654
889bf7c5 5655 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
5656 Replace gdb_test with gdb_test_no_output.
5657 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5658 * gdb.threads/watchthreads.exp: Ditto.
5659 * gdb.threads/watchthreads2.exp: Ditto.
5660
5661 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
5662 * gdb.trace/tfind.exp: Ditto.
5663
c22decce
JB
56642010-06-03 Joel Brobecker <brobecker@adacore.com>
5665
5666 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
5667 successful test if message is the empty string.
5668
fd5700c7
JK
56692010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5670
5671 * gdb.fortran/module.exp (stopped language detection): New test.
5672
f55ee35c
JK
56732010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5674
5675 Support DW_TAG_module as separate namespaces.
5676 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
5677 gdb.fortran/library-module-lib.f90: New.
5678 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
5679 (print i): Remove.
5680 (continue to breakpoint: i-is-1, print var_i value 1)
5681 (continue to breakpoint: i-is-2, print var_i value 2)
5682 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
5683 (print var_d, print var_i value 14, ptype modmany, complete `modm)
5684 (complete `modmany, complete `modmany`, complete `modmany`var)
5685 (show language, setting breakpoint at module): New tests.
5686 * gdb.fortran/module.f90 (module mod): Remove.
5687 (module mod1, module mod2, module modmany, subroutine sub1)
5688 (subroutine sub2, program module): New.
5689
b8e8282f
JK
56902010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5691
5692 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
5693 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
5694 * gdb.cp/anon-union.exp (pass): Rename to ...
5695 (print z 2): ... here.
b8e8282f 5696
019ebafc
MS
56972010-06-02 Michael Snyder <msnyder@vmware.com>
5698
e68d8fd4
MS
5699 * gdb.trace/actions.exp: Use gdb_test_no_output.
5700 * gdb.trace/circ.exp: Ditto.
5701 * gdb.trace/packetlen.exp: Ditto.
5702 * gdb.trace/save-trace.exp: Ditto.
5703 * gdb.trace/tracecmd.exp: Ditto.
5704 * gdb.trace/tsv.exp: Ditto.
5705
12b5d08a
MS
5706 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
5707 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
5708 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5709 * gdb.threads/manythreads.exp: Ditto.
5710 * gdb.threads/print-threads.exp: Ditto.
5711 * gdb.threads/pthreads.exp: Ditto.
5712 * gdb.threads/schedlock.exp: Ditto.
5713 * gdb.threads/staticthreads.exp: Ditto.
5714 * gdb.threads/thread-specific.exp: Ditto.
5715 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5716 * gdb.threads/threadapply.exp: Ditto.
5717 * gdb.threads/watchthreads.exp: Ditto.
5718 * gdb.threads/watchthreads2.exp: Ditto.
5719
89493308
MS
5720 * gdb.python/py-block.exp: Use gdb_test_no_output.
5721 * gdb.python/py-prettyprint.exp: Ditto.
5722 * gdb.python/py-template.exp: Ditto.
5723 * gdb.python/py-value.exp: Ditto.
5724
5725 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
5726 * gdb.reverse/watch-reverse.exp: Ditto.
5727
5728 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
5729 * gdb.server/ext-run.exp: Ditto.
5730
019ebafc
MS
5731 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
5732 * gdb.dwarf2/dw2-compressed.exp: Ditto.
5733 * gdb.dwarf2/dw2-intercu.exp: Ditto.
5734 * gdb.dwarf2/dw2-intermix.exp: Ditto.
5735 * gdb.dwarf2/dw2-producer.exp: Ditto.
5736 * gdb.dwarf2/mac-fileno.exp: Ditto.
5737
5738 * gdb.gdb/observer.exp: Use gdb_test_no_output.
5739 * gdb.gdb/selftest.exp: Ditto.
5740
5741 * gdb.multi/base.exp: Use gdb_test_no_output.
5742
5743 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
5744
3e0ca3a5
JK
57452010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5746
5747 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
5748
9db70545
MS
57492010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
5750
a8d52276
MS
5751 * gdb.cp/class2.exp: Use gdb_test_no_output.
5752 * gdb.cp/classes.exp: Ditto.
5753 * gdb.cp/extern-c.exp: Ditto.
5754 * gdb.cp/inherit.exp: Ditto.
5755 * gdb.cp/maint.exp: Ditto.
5756 * gdb.cp/mb-inline.exp: Ditto.
5757 * gdb.cp/mb-templates.exp: Ditto.
5758 * gdb.cp/method2.exp: Ditto.
5759 * gdb.cp/misc.exp: Ditto.
5760 * gdb.cp/ovldbreak.exp: Ditto.
5761 * gdb.cp/punctuator.exp: Ditto.
5762 * gdb.cp/templates.exp: Ditto.
5763 * gdb.cp/virtbase.exp: Ditto.
5764
889bf7c5 5765 * gdb.threads/attach-stopped.exp:
9db70545 5766 Replace uses of send_gdb / gdb_expect.
889bf7c5 5767 * gdb.threads/attachstop-mt.exp:
9db70545 5768 Replace uses of send_gdb / gdb_expect.
889bf7c5 5769 * gdb.threads/gcore-thread.exp:
9db70545 5770 Replace uses of send_gdb / gdb_expect.
889bf7c5 5771 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
5772 Replace uses of send_gdb / gdb_expect.
5773 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 5774 * gdb.threads/print-threads.exp:
9db70545
MS
5775 Replace uses of send_gdb / gdb_expect.
5776 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
5777 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
5778 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
5779
5780 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
5781 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
5782 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
5783 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
5784 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
5785 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
5786 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
5787 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
5788 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
5789 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
5790 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
5791
359cc68c
JK
57922010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5793
5794 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
5795
7d3fe98e
SW
57962010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
5797
5798 * gdb.cp/koenig.exp: Added new test case.
5799 * gdb.cp/koenig.cc: Ditto.
5800
27d3a1a2
MS
58012010-06-01 Michael Snyder <msnyder@vmware.com>
5802
5803 * gdb.base/arithmet.exp: Use gdb_test_no_output.
5804 * gdb.base/arrayidx.exp: Ditto.
5805 * gdb.base/attach.exp: Ditto.
5806 * gdb.base/auxv.exp: Ditto.
5807 * gdb.base/bigcre.exp: Ditto.
5808 * gdb.base/break-always.exp: Ditto.
5809 * gdb.base/break-interp.exp: Ditto.
5810 * gdb.base/break.exp: Ditto.
5811 * gdb.base/breakpoint-shadow.exp: Ditto.
5812 * gdb.base/call-ar-st.exp: Ditto.
5813 * gdb.base/call-sc.exp: Ditto.
5814 * gdb.base/call-signal-resume.exp: Ditto.
5815 * gdb.base/callfuncs.exp: Ditto.
5816 * gdb.base/catch-syscall.exp: Ditto.
5817 * gdb.base/charset.exp: Ditto.
5818 * gdb.base/code-expr.exp: Ditto.
5819 * gdb.base/commands.exp: Ditto.
5820 * gdb.base/cond-expr.exp: Ditto.
5821 * gdb.base/condbreak.exp: Ditto.
5822 * gdb.base/cursal.exp: Ditto.
5823 * gdb.base/cvexpr.exp: Ditto.
5824 * gdb.base/default.exp: Ditto.
5825 * gdb.base/del.exp: Ditto.
5826 * gdb.base/detach.exp: Ditto.
5827 * gdb.base/display.exp: Ditto.
5828 * gdb.base/ena-dis-br.exp: Ditto.
5829 * gdb.base/eval-skip.exp: Ditto.
5830 * gdb.base/foll-fork.exp: Ditto.
5831 * gdb.base/foll-vfork.exp: Ditto.
5832 * gdb.base/frame-args.exp: Ditto.
5833 * gdb.base/funcargs.exp: Ditto.
5834 * gdb.base/gcore-buffer-overflow.exp: Ditto.
5835 * gdb.base/gdbvars.exp: Ditto.
5836 * gdb.base/help.exp: Ditto.
5837 * gdb.base/ifelse.exp: Ditto.
5838 * gdb.base/included.exp: Ditto.
5839 * gdb.base/list.exp: Ditto.
5840 * gdb.base/macscp.exp: Ditto.
5841 * gdb.base/maint.exp: Ditto.
5842 * gdb.base/multi-fork.exp: Ditto.
5843 * gdb.base/overlays.exp: Ditto.
5844 * gdb.base/page.exp: Ditto.
5845 * gdb.base/pending.exp: Ditto.
5846 * gdb.base/pointers.exp: Ditto.
5847 * gdb.base/pr11022.exp: Ditto.
5848 * gdb.base/prelink.exp: Ditto.
5849 * gdb.base/printcmds.exp: Ditto.
5850 * gdb.base/psymtab.exp: Ditto.
5851 * gdb.base/randomize.exp: Ditto.
5852 * gdb.base/relational.exp: Ditto.
5853 * gdb.base/relocate.exp: Ditto.
5854 * gdb.base/remote.exp: Ditto.
5855 * gdb.base/sepdebug.exp: Ditto.
5856 * gdb.base/set-lang-auto.exp: Ditto.
5857 * gdb.base/setshow.exp: Ditto.
5858 * gdb.base/setvar.exp: Ditto.
5859 * gdb.base/signals.exp: Ditto.
5860 * gdb.base/signull.exp: Ditto.
5861 * gdb.base/sigstep.exp: Ditto.
5862 * gdb.base/sizeof.exp: Ditto.
5863 * gdb.base/solib-disc.exp: Ditto.
5864 * gdb.base/store.exp: Ditto.
5865 * gdb.base/structs.exp: Ditto.
5866 * gdb.base/structs2.exp: Ditto.
5867 * gdb.base/subst.exp: Ditto.
5868 * gdb.base/term.exp: Ditto.
5869 * gdb.base/trace-commands.exp: Ditto.
5870 * gdb.base/unwindonsignal.exp: Ditto.
5871 * gdb.base/valgrind-db-attach.exp: Ditto.
5872 * gdb.base/varargs.exp: Ditto.
5873 * gdb.base/watch-cond.exp: Ditto.
5874 * gdb.base/watch_thread_num.exp: Ditto.
5875 * gdb.base/watchpoint-cond-gone.exp: Ditto.
5876 * gdb.base/watchpoint.exp: Ditto.
5877 * gdb.base/whatis-exp.exp: Ditto.
5878
f8d3bf8f
MS
58792010-06-01 Michael Snyder <msnyder@vmware.com>
5880
5881 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
5882 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
5883 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
5884 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
5885 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
5886 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
5887 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
5888 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
5889 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
5890 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
5891 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
5892 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
5893 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
5894 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
5895 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
5896
3f9e0d32
JK
58972010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5898
5899 * gdb.base/commands.exp (begin commands on watch): Remove excessive
5900 trailing newline.
5901 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
5902 * gdb.java/jmisc.exp (p *args\n): Rename to ...
5903 (p *args): ... here and remove excessive trailing newline.
5904
f629457d
JB
59052010-05-31 Joel Brobecker <brobecker@adacore.com>
5906
5907 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
5908
09eef106
JK
59092010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5910
5911 Accept the new Linux kernel "t (tracing stop)" string.
5912 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
5913 Update comment.
5914 (state_wait) <T (tracing stop)>: New.
5915 (main): Update the state_wait expect string.
5916
94f31136
PA
59172010-05-28 Pedro Alves <pedro@codesourcery.com>
5918
5919 * limits.c, limits.exp: Delete files.
5920 * Makefile.in (clean mostlyclean): Adjust.
5921 * tracecmd.exp: Adjust.
5922
096554ab
JK
59232010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5924
5925 * gdb.base/tui-layout.exp: New.
5926
27d3a1a2 59272010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 5928
889bf7c5 5929 * gdb.reverse/break-precsave.exp:
bcd2dc50 5930 Replace uses of send_gdb / gdb_expect.
889bf7c5 5931 * gdb.reverse/break-reverse.exp:
bcd2dc50 5932 Replace uses of send_gdb / gdb_expect.
889bf7c5 5933 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 5934 Replace uses of send_gdb / gdb_expect.
889bf7c5 5935 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 5936 Replace uses of send_gdb / gdb_expect.
889bf7c5 5937 * gdb.reverse/finish-precsave.exp:
bcd2dc50 5938 Replace uses of send_gdb / gdb_expect.
889bf7c5 5939 * gdb.reverse/finish-reverse.exp:
bcd2dc50 5940 Replace uses of send_gdb / gdb_expect.
889bf7c5 5941 * gdb.reverse/i386-precsave.exp:
bcd2dc50 5942 Replace uses of send_gdb / gdb_expect.
889bf7c5 5943 * gdb.reverse/i386-reverse.exp:
bcd2dc50 5944 Replace uses of send_gdb / gdb_expect.
889bf7c5 5945 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 5946 Replace uses of send_gdb / gdb_expect.
889bf7c5 5947 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 5948 Replace uses of send_gdb / gdb_expect.
889bf7c5 5949 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 5950 Replace uses of send_gdb / gdb_expect.
889bf7c5 5951 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 5952 Replace uses of send_gdb / gdb_expect.
889bf7c5 5953 * gdb.reverse/machinestate.exp:
bcd2dc50 5954 Replace uses of send_gdb / gdb_expect.
889bf7c5 5955 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 5956 Replace uses of send_gdb / gdb_expect.
889bf7c5 5957 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 5958 Replace uses of send_gdb / gdb_expect.
889bf7c5 5959 * gdb.reverse/solib-precsave.exp:
bcd2dc50 5960 Replace uses of send_gdb / gdb_expect.
889bf7c5 5961 * gdb.reverse/solib-reverse.exp:
bcd2dc50 5962 Replace uses of send_gdb / gdb_expect.
889bf7c5 5963 * gdb.reverse/step-precsave.exp:
bcd2dc50 5964 Replace uses of send_gdb / gdb_expect.
889bf7c5 5965 * gdb.reverse/step-reverse.exp:
bcd2dc50 5966 Replace uses of send_gdb / gdb_expect.
889bf7c5 5967 * gdb.reverse/until-precsave.exp:
bcd2dc50 5968 Replace uses of send_gdb / gdb_expect.
889bf7c5 5969 * gdb.reverse/until-reverse.exp:
bcd2dc50 5970 Replace uses of send_gdb / gdb_expect.
889bf7c5 5971 * gdb.reverse/watch-precsave.exp:
bcd2dc50 5972 Replace uses of send_gdb / gdb_expect.
889bf7c5 5973 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
5974 Replace uses of send_gdb / gdb_expect.
5975
3def43e0
JK
59762010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5977
5978 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
5979 excessive newline.
5980
27d3a1a2 59812010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
5982
5983 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
5984 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
5985 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
5986 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
5987 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
5988 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
5989 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
5990 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
5991 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
5992 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
5993 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
5994 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
5995 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
5996 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
5997 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
5998 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
5999 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
6000 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
6001 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 6002
27d3a1a2 60032010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 6004
22454424
MS
6005 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
6006 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
6007
6008 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
6009 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
6010 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
6011
889bf7c5 6012 * gdb.reverse/consecutive-reverse.exp:
22454424 6013 Replace uses of send_gdb / gdb_expect.
889bf7c5 6014 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
6015 Replace uses of send_gdb / gdb_expect.
6016
6017 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
6018 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
6019 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 6020 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
6021 Replace uses of send_gdb / gdb_expect.
6022 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
6023 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
6024 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
6025 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
6026 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
6027 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
6028 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
6029 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
6030 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
6031
60322010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 6033
22454424 6034 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 6035
22454424 6036 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 6037
22454424
MS
6038 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
6039 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
6040 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
6041 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
6042 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
6043 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
6044 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
6045 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
6046 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 6047
6e5f2c59
TT
60482010-05-25 Tom Tromey <tromey@redhat.com>
6049
6050 * gdb.base/macscp.exp: Add missing space after setup_kfail.
6051
bbc8b958
TT
60522010-05-25 Tom Tromey <tromey@redhat.com>
6053
6054 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
6055 argument order.
6056 * gdb.base/macscp.exp: Fix setup_kfail argument order.
6057 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
6058 order.
6059 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
6060 order.
6061 * gdb.base/call-sc.exp (setup_kfails): Remove.
6062 (setup_compiler_kfails): Remove.
6063 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
6064 argument order.
6065 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
6066 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
6067 (advancei): Fix setup_kfail argument order.
6068 * gdb.base/radix.exp: Fix setup_kfail argument order.
6069 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
6070 order.
6071 * gdb.base/structs.exp (setup_kfails): Remove.
6072 (setup_compiler_kfails): Fix setup_kfail argument order.
6073 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
6074 order.
6075 * gdb.java/jmain.exp: Fix setup_kfail argument order.
6076 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
6077 setup_kfail argument order.
6078 * gdb.cp/overload.exp: Fix setup_kfail argument order.
6079
83d1babf
TT
60802010-05-25 Tom Tromey <tromey@redhat.com>
6081
6082 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
6083
6acb16a2
MS
60842010-05-25 Michael Snyder <msnyder@vmware.com>
6085
6086 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
6087 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
6088 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
6089 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
6090 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
6091 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
6092 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
6093 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
6094 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
6095 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
6096 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
6097 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
6098 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
6099 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
6100 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
6101 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
6102 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
6103 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
6104 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
6105 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
6106 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
6107 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
6108 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
6109 * gdb.base/default.exp: Replace send_gdb with gdb_test.
6110 * gdb.base/define.exp: Replace send_gdb with gdb_test.
6111 * gdb.base/display.exp: Replace send_gdb with gdb_test.
6112 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
6113 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
6114 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
6115 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
6116 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
6117 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
6118 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
6119 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
6120 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
6121 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
6122 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
6123 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
6124 * gdb.base/help.exp: Replace send_gdb with gdb_test.
6125 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
6126 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
6127 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
6128 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
6129 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
6130 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
6131 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
6132 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 6133 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
6134
61352010-05-25 Doug Evans <dje@google.com>
6136
6137 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
6138 gdb.string_to_argv.
ad3986f0 6139
d3b1e874
TT
61402010-05-21 Tom Tromey <tromey@redhat.com>
6141
6142 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
6143 Call it.
6144 * gdb.dwarf2/pieces.S: Update.
6145 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
6146
cb826367
TT
61472010-05-21 Tom Tromey <tromey@redhat.com>
6148
6149 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
6150 Call it.
6151 * gdb.dwarf2/pieces.c (struct C): New.
6152 (f6): New function.
6153 * gdb.dwarf2/pieces.S: Replace.
6154
74de6778
TT
61552010-05-21 Tom Tromey <tromey@redhat.com>
6156
6157 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
6158 Call it.
6159
afd74c5f
TT
61602010-05-21 Tom Tromey <tromey@redhat.com>
6161
6162 * gdb.dwarf2.pieces.exp: New file.
6163 * gdb.dwarf2.pieces.S: New file.
6164 * gdb.dwarf2.pieces.c: New file.
6165
a7b75dfd 61662010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 6167 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
6168
6169 * lib/gdb.exp (gdb_test_no_output): New function.
6170 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
6171 when testing commands that should produce no output.
6172
c81c812a
JB
61732010-05-17 Joel Brobecker <brobecker@adacore.com>
6174
6175 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
6176 parameter that we want to watch being a constant.
6177
0cce5bd9
JB
61782010-05-17 Joel Brobecker <brobecker@adacore.com>
6179
6180 * gdb.ada/cond_lang: New testcase.
6181
47050449
JB
61822010-05-17 Joel Brobecker <brobecker@adacore.com>
6183
6184 * lib/gdb.exp (banned_variables): New variable/constant.
6185 (gdb_init): Add write trace on variables listed in banned_variables.
6186 (gdb_finish): Remove write traces on variables listed in
6187 banned_variables.
6188
77c01586
JB
61892010-05-17 Joel Brobecker <brobecker@adacore.com>
6190
6191 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
6192 * gdb.cp/koenig.exp: Likewise.
6193
88d4aea7
PM
61942010-05-14 Phil Muldoon <pmuldoon@redhat.com>
6195
889bf7c5 6196 PR python/11482
88d4aea7
PM
6197
6198 * gdb.python/py-value.exp (test_value_hash): New function.
6199
f5a010c0
PM
62002010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
6201
6202 PR exp/11530.
6203 * gdb.base/gdb11530.c: New file.
6204 * gdb.base/gdb11530.exp: New file.
6205
8ef4892f
JK
62062010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6207
6208 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
6209 * gdb.dwarf2/dw2-modula2-self-type.S: New.
6210
7322dca9
SW
62112010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
6212
6213 * gdb.cp/koenig.exp: New test.
6214 * gdb.cp/koenig.cc: New test program.
6215
02e7ea18
JB
62162010-05-05 Joel Brobecker <brobecker@adacore.com>
6217
6218 Remove the use of prms_id and bug_id throughout the testsuite.
6219
e1c34c5d
PM
62202010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
6221
6222 PR exp/11349.
6223 * testsuite/gdb.cp/ref-types.exp: Add test to examine
6224 use a reference local variable.
6225
8e1d0c49
JK
62262010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6227
6228 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
6229 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
6230 variable different_dir. Move debugfile into a full directory pathname
6231 under DIFFERENT_DIR.
6232 * lib/gdb.exp (separate_debug_filename): Remove.
6233 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
6234 variable debug_dir and mkdir of it. Update function comments.
6235
e66408ed
PA
62362010-04-29 Pedro Alves <pedro@codesourcery.com>
6237
6238 PR gdb/11557
6239
6240 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
6241 files.
6242
d7b32ed3
PM
62432010-04-29 Phil Muldoon <pmuldoon@redhat.com>
6244
889bf7c5 6245 * gdb.python/py-param.exp: New File.
d7b32ed3 6246
6aecb9c2
JB
62472010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
6248
6249 * gdb.base/default.exp: Fix "set language" test.
6250
bdf92a1c
PM
62512010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
6252
6253 PR breakpoints/11531.
6254 * gdb.base/gdb11531.c: New file.
6255 * gdb.base/gdb11531.exp: New file.
6256
3f172e24
TT
62572010-04-26 Tom Tromey <tromey@redhat.com>
6258
6259 * gdb.base/completion.exp: Add tests for completion and deprecated
6260 commands.
6261
64af4c92
JK
62622010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6263
6264 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
6265 (print /x char_array): Escape curly brackets.
6266
492928e4
JK
62672010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6268
6269 Fix deadlock on looped list of loaded shared objects.
6270 * gdb.base/solib-corrupted.exp: New.
6271
66d09542
DE
62722010-04-23 Doug Evans <dje@google.com>
6273
6274 * gdb.python/py-section-script.c: New file.
6275 * gdb.python/py-section-script.exp: New file.
6276 * gdb.python/py-section-script.py: New file.
6277
8bd10a10
CM
62782010-04-20 Chris Moller <cmoller@redhat.com>
6279
6280 PR 10179
6281
6282 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
6283 * gdb.base/pr10179-a.c:
6284 * gdb.base/pr10179-b.c:
6285 * gdb.base/pr10179.exp: New files.
6286
c0201579
JK
62872010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6288
6289 Fix crashes on dangling display expressions.
6290 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
6291 is SEP.
6292 (lib_flags): Remove the "debug" keyword.
6293 (libsepdebug): New variable for iterating new loop.
6294 (save_pf_prefix): New variable wrapping the loop.
6295 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
6296 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
6297
793b0ff8
PM
62982010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6299
6300 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
6301
097f51f7
PM
63022010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6303
6304 PR stabs/11479.
6305 * gdb.stabs/gdb11479.exp: New file.
6306 * gdb.stabs/gdb11479.c: New file.
6307
9a22f0d0
PM
63082010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6309
6310 * gdb.base/charset.c (Strin16, String32): New variables.
6311 * gdb.base/charset.exp (gdb_test): Test correct display
6312 of 16 or 32 bit strings.
6313
63142010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
6315
6316 PR 9167
6317 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
6318 * gdb.cp/pr9167.cc: New file.
6319 * gdb.cp/pr9167.exp: New file.
6320
6321
6e354e5e
PM
63222010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
6323
6324 PR pascal/11492.
6325 * gdb.pascal/gdb11492.pas: New file.
6326 * gdb.pascal/gdb11492.exp: New file.
6327
be942545
JB
63282010-04-20 Joel Brobecker <brobecker@adacore.com>
6329
1667e6e3 6330 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 6331
0c3acc09
JB
63322010-04-20 Joel Brobecker <brobecker@adacore.com>
6333
6334 * gdb.ada/dyn_loc: New testcase.
6335
ec31cde5
CM
63362010-04-20 Chris Moller <cmoller@redhat.com>
6337
6338 PR 10867
889bf7c5 6339
ec31cde5
CM
6340 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
6341 * gdb.cp/pr10687.cc: New file.
6342 * gdb.cp/pr10687.exp: New file.
6343
6344
ce4b0682
SDJ
63452010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6346 Sergio Durigan Junior <sergiodj@redhat.com>
6347
6348 * gdb.fortran/logical.exp: New testcase.
6349 * gdb.fortran/logical.f90: New file.
6350
3436961f
DE
63512010-04-19 Doug Evans <dje@google.com>
6352
6353 * gdb.base/help.exp (help source): Update expected output.
6354
4d836c09
JK
63552010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6356
6357 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
6358 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
6359 gdb_exit and return.
6360 (executable): New variable.
6361 (binfile): Use it.
6362
6149aea9
PA
63632010-04-19 Pedro Alves <pedro@codesourcery.com>
6364
6365 PR breakpoints/8554.
6366
6367 * gdb.trace/save-trace.exp: Adjust.
6368
ed41462c
L
63692010-04-17 H.J. Lu <hongjiu.lu@intel.com>
6370
6371 PR corefiles/11511
6372 * gdb.arch/system-gcore.exp: New.
6373 * gdb.arch/gcore.c: Likewise.
6374
3f7b2faa
DE
63752010-04-15 Doug Evans <dje@google.com>
6376
fa33c3cd
DE
6377 * gdb.python/py-progspace.c: New file.
6378 * gdb.python/py-progspace.exp: New file.
6379
3f7b2faa
DE
6380 * gdb.base/source.exp: Add tests for "source -s".
6381
79f283fe
PM
63822010-04-14 Phil Muldoon <pmuldoon@redhat.com>
6383
6384 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
6385 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
6386 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
6387 * gdb.python/py-mi.exp: New test for to_string returning None.
6388
fc8eb08a
PM
63892010-04-12 Phil Muldoon <pmuldoon@redhat.com>
6390
6391 * gdb.python/py-breakpoint.c: Make result global.
6392
26e197f6
JK
63932010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6394
6395 Fix non-GNU make compatibility.
6396 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
6397
adc36818
PM
63982010-04-09 Phil Muldoon <pmuldoon@redhat.com>
6399
6400 * gdb.python/py-breakpoint.exp: New File.
6401 * gdb.python/py-breakpoint.C: Ditto.
6402
64e17368
SS
64032010-04-08 Stan Shebs <stan@codesourcery.com>
6404
6405 * gdb.trace/actions.exp: Clear default-collect.
6406 * gdb.trace/save-trace.exp: Clear default-collect.
6407
fff5cc64
PM
64082010-04-08 Phil Muldoon <pmuldoon@redhat.com>
6409
6410 * gdb.python/py-value: Add null string variable.
6411 (test_lazy_string): Test zero length, NULL address lazy
6412 strings.
6413
a055a187
L
64142010-04-07 H.J. Lu <hongjiu.lu@intel.com>
6415
6416 * gdb.arch/i386-avx.c: New.
6417 * gdb.arch/i386-avx.exp: Likewise.
6418
6419 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
6420
96e39866
DE
64212010-04-06 Doug Evans <dje@google.com>
6422
6423 * gdb.base/source-test.gdb: New file.
6424 * gdb.base/source.exp: Test source -v.
6425
5984a431
UW
64262010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6427
6428 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
6429
ec8a089a
PM
64302010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
6431
6432 * gdb.stabs/aout.sed: Convert all backslash to double backslash
6433 within one line, unless it is followed by a double quote.
6434 * gdb.stabs/hppa.sed: Idem.
6435 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
6436 * gdb.stabs/weird.exp: Check for correct parsing of
6437 char and string constants.
ec8a089a
PM
6438 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
6439 in .stabs to .stabx substitution.
6440
fce3c1f0
SS
64412010-04-05 Stan Shebs <stan@codesourcery.com>
6442
6443 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
6444 constant global.
6445 * gdb.trace/tfile.exp: Try to print them.
6446
d77f58be
SS
64472010-04-04 Stan Shebs <stan@codesourcery.com>
6448
6449 * gdb.base/completion.exp: Update for new "info watchpoints".
6450 * gdb.base/default.exp: Ditto.
6451 * gdb.base/help.exp: Ditto.
6452 * gdb.base/watchpoint.exp: Ditto.
6453 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 6454
af54718e
SS
64552010-04-04 Stan Shebs <stan@codesourcery.com>
6456
6457 * gdb.trace/tfile.exp: Sharpen tfind test.
6458
74d1f91e
JK
64592010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6460
6461 * gdb.base/break-entry.exp: New.
6462
eb8e76db 64632010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 6464 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
6465
6466 * gdb.reverse/i386-sse-reverse.exp: New file.
6467 * gdb.reverse/i386-sse-reverse.c: New file.
6468
bf65cad8
PA
64692010-04-02 Pedro Alves <pedro@codesourcery.com>
6470
6471 * gdb.trace/tfind.exp: Adjust expected disassembly output.
6472
fff87407
SS
64732010-04-01 Stan Shebs <stan@codesourcery.com>
6474
6475 * gdb.trace/actions.exp: Tweak expected output.
6476 * gdb.trace/while-stepping.exp: Tweak expected output.
6477
fe01d668
L
64782010-04-01 H.J. Lu <hongjiu.lu@intel.com>
6479
6480 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
6481
86b17b60
PA
64822010-04-01 Pedro Alves <pedro@codesourcery.com>
6483
6484 * gdb.base/commands.exp: Adjust.
6485 * gdb.cp/extern-c.exp: Adjust.
6486
2c58c0a9
PA
64872010-04-01 Pedro Alves <pedro@codesourcery.com>
6488
6489 * gdb.trace/collection.c (local_test_func): Define a local struct,
6490 and instanciate it.
6491
0db9b91c
PA
64922010-04-01 Pedro Alves <pedro@codesourcery.com>
6493
6494 * gdb.trace/collection.exp (gdb_collect_args_test)
6495 (gdb_collect_argarray_test): XFAIL the tests that assume the
6496 argarray argument's elements are collected.
6497
8072405b
JK
64982010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6499
6500 * gdb.dwarf2/dw2-bad-parameter-type.exp,
6501 gdb.dwarf2/dw2-bad-parameter-type.S: New.
6502
8bf6485c
SS
65032010-03-31 Stan Shebs <stan@codesourcery.com>
6504
6505 * gdb.trace/save-trace.exp: Test save/restore of default-collect
6506 and tracepoint conditionals.
6507 (gdb_verify_tracepoints): Delete unused return.
6508
fd7f724a
KS
65092010-03-26 Keith Seitz <keiths@redhat.com>
6510
6511 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
6512 appear in the output before main.
6513 Remove KFAIL for gdb/2215 aka bz 9320.
6514
8d9e7719
DE
65152010-03-30 Doug Evans <dje@google.com>
6516
0906dd0b
DE
6517 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
6518 by dejagnu.
6519 * gdb.arch/amd64-dword.exp: Ditto.
6520
8d9e7719
DE
6521 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
6522 match.
6523 (break printf): Ditto.
6524
1da644f0
SW
65252010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
6526
6527 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
6528 gcc < 4.4.
6529 * gdb.cp/shadow.exp: Ditto.
6530
a8121990
PA
65312010-03-29 Pedro Alves <pedro@codesourcery.com>
6532
6533 * gdb.trace/collection.exp (run_trace_experiment): Make sure
6534 "tstart" is silent.
6535
6e79d367
PA
65362010-03-29 Pedro Alves <pedro@codesourcery.com>
6537
6538 * gdb.trace/collection.exp (executable): New.
6539 (binfile): Use it.
6540 (fpreg, spreg, pcreg): New.
6541 (test_register): Use gdb_test_multiple. Pass /x to print.
6542 (prepare_for_trace_test): New.
6543 (run_trace_experiment): Use "continue", not gdb_run_cmd.
6544 (gdb_collect_args_test, gdb_collect_argstruct_test)
6545 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
6546 prepare_for_trace_test.
6547 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
6548 fpreg, spreg and pcreg.
6549 (gdb_collect_expression_test, gdb_collect_globals_test): Use
6550 prepare_for_trace_test.
6551 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
6552 try to detect tracing support here. Don't set breakpoints at
6553 `begin' or `end' here.
6554 <global scope>: Use clean_restart. Run to main before checking
6555 for tracing support. Check for for tracing support here.
6556
09248348
JK
65572010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6558
6559 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
6560 " as $displacement" to "seen displacement message".
6561
d350db38
PA
65622010-03-28 Pedro Alves <pedro@codesourcery.com>
6563
6564 * gdb.trace/while-dyn.exp (executable): New variable.
6565 (binfile): Use it.
6566 (test_while_stepping): New function. Move most tests here. Call
6567 it once for each of the while-stepping, stepping and ws aliases.
6568
907af001
UW
65692010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6570
6571 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
6572 that do not provide the tagless_struct type name at all.
6573 (test_print_anon_union): Do not check value of uninitialized
6574 union member. Do not use cp_test_ptype_class, so we can accept
6575 "long" as well as "long int".
6576
610197fd
PA
65772010-03-26 Pedro Alves <pedro@codesourcery.com>
6578
6579 * gdb.trace/tfile.c (tohex, bin2hex): New.
6580 (write_error_trace_file): Hexify error description.
6581
6c28cbf2
SS
65822010-03-25 Stan Shebs <stan@codesourcery.com>
6583
6584 * gdb.trace/tfile.c: Generate an additional trace file, improve
6585 portability.
6586 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
6587 files in a better way.
6588
e62b8c7e
KS
65892010-03-25 Keith Seitz <keiths@redhat.com>
6590
6591 * gdb.java/jprint.exp: XFAIL printing of static class members
6592 because of GCC debuginfo problem.
6593
82ccf5a5
JK
65942010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6595
6596 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
6597
293e2f9e
DJ
65982010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6599
6600 * gdb.base/completion.exp: Allow long instead of long int.
6601 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
6602 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
6603 variable p.
6604 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
6605 * gdb.base/pointers.exp: Allow long instead of long int.
6606 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
6607 * gdb.base/step-line.exp: Allow a directory before the source file name.
6608
95a42b64
TT
66092010-03-24 Tom Tromey <tromey@redhat.com>
6610
6611 PR breakpoints/9352:
6612 * gdb.base/default.exp: Update.
6613 * gdb.base/commands.exp: Update.
6614 * gdb.cp/extern-c.exp: Test setting commands on multiple
6615 breakpoints at once.
6616
2390201f
DJ
66172010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6618
6619 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
6620 if gdb,nosignals.
6621 * gdb.base/watchpoints.c: Do not include unnecessary headers.
6622 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
6623 exited".
6624
8c9a6790
SS
66252010-03-24 Stan Shebs <stan@codesourcery.com>
6626
6627 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
6628
a6c727b2
DJ
66292010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6630
6631 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
6632 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
6633 argument. Handle "short" and "long".
6634 (Top level): Pass overprototyped output for old_fptr and xptr.
6635
4dfd5423
PA
66362010-03-23 Pedro Alves <pedro@codesourcery.com>
6637
6638 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
6639 format strings and add casts to avoid compiler warnings.
6640
66412010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
6642
6643 * lib/trace-support.exp (gdb_trace_setactions):
6644 Don't expect whitespace after ">" prompt.
6645 * gdb.trace/actions.exp: Adjust for output changes.
6646 * gdb.trace/while-stepping.exp: Likewise.
6647
c847d045
JK
66482010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6649
6650 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
6651 and r157645).
6652
5f717f1d
JK
66532010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6654
6655 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
6656 New.
6657
7d6d51d5
DJ
66582010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
6659
6660 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
6661 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
6662
3b11a015
SS
66632010-03-19 Stan Shebs <stan@codesourcery.com>
6664
6665 * gdb.trace/ax.exp: New file.
6666
d7d158ed
DE
66672010-03-19 Doug Evans <dje@google.com>
6668
6bb85cd1
DE
6669 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
6670 output from gcc.
6671
d7d158ed
DE
6672 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
6673 named /usr/sbin/prelink<foo>.
6674
4daf5ac0
SS
66752010-03-18 Stan Shebs <stan@codesourcery.com>
6676
6677 * gdb.trace/circ.exp: Test circular-trace-buffer.
6678 * gdb.trace/tfile.exp: Update tstatus test.
6679
e8d05480
JB
66802010-03-18 Joel Brobecker <brobecker@adacore.com>
6681
6682 * gdb.dwarf2/dw2-anonymous-func.S: New file.
6683 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
6684
441b986a
UW
66852010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6686
6687 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
6688
4247603b
PA
66892010-03-18 Pedro Alves <pedro@codesourcery.com>
6690
6691 * gdb.base/default.exp: Adjust the expected output of the finish
6692 and until commands when the inferior is not being run.
6693
13387711
SW
66942010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
6695
6696 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
6697 * gdb.cp/nsusing.exp: Ditto.
6698
6e31430b
TT
66992010-03-15 Tom Tromey <tromey@redhat.com>
6700
6701 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
6702 * gdb.cp/userdef.cc (operator==): New function.
6703 (main): New locals mem1, mem2.
6704
e2d69cb5
JZ
67052010-03-15 Jie Zhang <jie@codesourcery.com>
6706
6707 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
6708 Declare and use new loadtimeout variable.
6709
f572f0a9
DJ
67102010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
6711
6712 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
6713 Use gdb_load later.
6714
51f4c0b0
PA
67152010-03-14 Pedro Alves <pedro@codesourcery.com>
6716
6717 * gdb.base/solib-disc.c (main): Make format of fprintf a string
6718 literal. Add missing endlines to prints to stderr.
6719
1c809c68
TT
67202010-03-12 Tom Tromey <tromey@redhat.com>
6721
6722 PR c++/9708:
6723 * gdb.cp/m-static.exp: Add regression test.
6724 * gdb.cp/m-static.cc (method): New method.
6725 (main): Call it.
6726
00ae8fef
SW
67272010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
6728
6729 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
6730 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
6731
759f0f0b
PA
67322010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6733
21e24d21
PA
6734 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
6735
67362010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6737
759f0f0b
PA
6738 * lib/gdb.exp (skip_stl_tests): New.
6739 (gdb_compile): Symbian needs -ldl.
6740 (shlib_target_file): New.
6741 (shlib_symbol_file): New.
6742 (gdb_load_shlibs): Use shlib_target_file.
6743 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
6744 * gdb.cp/exception.exp: Use skip_stl_tests.
6745 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
6746 * gdb.cp/try_catch.exp: Use skip_stl_tests.
6747 * gdb.cp/mb-templates.exp: Ditto.
6748 * gdb.base/commands.exp: Relax regexes.
6749 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
6750 shlib_target_file and shlib_symbol_file.
6751 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
6752 sections.
6753 * gdb.base/ending-run.exp: Accept E32Main for symbian.
6754 * gdb.base/solib-disc.exp: Use
6755 shlib_target_file and shlib_symbol_file.
6756 * gdb.base/unload.exp: Don't skip on symbian. Use
6757 shlib_target_file and shlib_symbol_file.
6758 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
6759
6a8f2671 67602010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 6761
6a8f2671
PA
6762 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
6763 * gdb.trace/report.exp: Adjust for x86 and x86_64.
6764 Issue a tfind end before looking for a tracepoint frame.
6765 * gdb.trace/tfind.exp: Adjust tstatus output.
6766 Adjust disassembly output.
6767 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
6768
ccf26247
JK
67692010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6770
6771 * gdb.base/break-interp.exp: Create new displacement parameter value
6772 for the test_ld calls.
6773 (reach): New parameter displacement, verify its content. New push of
6774 pf_prefix "reach-$func:". Import global expect_out.
6775 (test_core): New parameter displacement, verify its content. New push
6776 of pf_prefix "core:". New command "set verbose on". Import global
6777 expect_out.
6778 (test_attach): New parameter displacement, verify its content. New
6779 push of pf_prefix "attach:". New command "set verbose on". Import
6780 global expect_out.
6781 (test_ld): New parameter displacement, pass it to the reach, test_core
6782 and test_attach calls and verify its content in the "ld.so exit" test.
6783 * gdb.base/prelink.exp: Remove gdb_exit and final return.
6784 (prelink): Update expected text, use gdb_test.
6785
e469c7fb
DE
67862010-03-10 Doug Evans <dje@google.com>
6787
6788 * gdb.base/checkpoint.exp: Fix comment.
6789 Lengthen timeout while doing >600 checkpoints test.
6790 Rename duplicate "kill all one" test to keep test names unique.
6791
60e1c644
PA
67922010-03-10 Pedro Alves <pedro@codesourcery.com>
6793
6794 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
6795
cec808ec
KS
67962010-03-08 Keith Seitz <keiths@redhat.com>
6797
889bf7c5
PA
6798 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
6799 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
6800 (dm_type_long): New function.
6801 (dm_type_unsigned_short): New function.
6802 (dm_type_unsigned_long): New function.
6803 (myint): New typedef.
6804 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
6805 long, unsigned shor and long, operator char*, and typedef.
6806 (test_lookup_operator_functions): Add operator char* test.
6807 (test_paddr_operator_functions): Likewise.
6808 (test_paddr_overloaded_functions): Use probe values for
6809 short, long, and unsigned short and long.
6810 (test_paddr_hairy_functions): If the demangler probe detected
6811 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
6812 demangler.
6813 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
6814 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
6815 and "print null_pmf".
6816 Add test "ptype a.*pmf".
6817 * gdb.cp/overload.exp: Allow optional "int" to appear with
6818 "short" and "long".
6819 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
6820 long expect value for men_overload1arg.
6821 Allow "int" to appear with "short" and "long".
6822 When testing "info break", add argument for main (void).
6823 Also allow "int" to appear with "short" and "long".
6824 Ditto with "unsigned" and "long long".
cec808ec
KS
6825 * gdb.java/jmain.exp: Do not enclose methods names in single
6826 quotes.
6827 * gdb.java/jmisc.exp: Likewise.
6828 * gdb.java/jprint.exp: Likewise.
6829 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
6830
6831 From Jan Kratochvil <jan.kratochvil@redhat.com>:
6832 * gdb.cp/exception.exp (backtrace after first throw)
6833 (backtrace after second throw): Allow a namespace before __cxa_throw.
6834 (backtrace after first catch, backtrace after second catch): Allow
6835 a namespace before __cxa_begin_catch.
6836
6837 * gdb.cp/cpexprs.exp: New file.
6838 * gdb.cp/cpexprs.cc: New file.
6839
6840 From Daniel Jacobowitz <dan@codesourcery.com>
6841 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
6842 to use string_to_regexp.
6843 (ctor, dtor): New functions. Use them to match constructor
6844 and destructor function types.
6845 (Top level): Use runto_main.
6846
f870a310
TT
68472010-03-05 Tom Tromey <tromey@redhat.com>
6848
6849 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
6850 gdb.target_charset.
6851 (pp_ns.to_string): Likewise.
6852
0c199f28
KS
68532010-03-04 Keith Seitz <keiths@redhat.com>
6854
6855 * gdb.cp/overload.exp: Test that the filename portion of a linespec
6856 can be quoted. Test that both the filename and function/line
6857 portions can be quoted at the same time.
6858
c7437ca6
PA
68592010-03-04 Pedro Alves <pedro@codesourcery.com>
6860
6861 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
6862
b111b805
DE
68632010-03-03 Doug Evans <dje@google.com>
6864
24486cb7
DE
6865 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
6866 libc contains libpthread.
6867
b111b805
DE
6868 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
6869 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
6870 of gdb_compile. Add another pattern to match android backtrace.
6871
a0e0ef55
TT
68722010-03-03 Tom Tromey <tromey@redhat.com>
6873
6874 PR gdb/11345:
6875 * gdb.base/printcmds.exp (test_printf): Add test.
6876
1ba53b71
L
68772010-03-02 H.J. Lu <hongjiu.lu@intel.com>
6878
6879 * gdb.arch/amd64-byte.exp: New.
6880 * gdb.arch/amd64-dword.exp: Likewise.
6881 * gdb.arch/amd64-pseudo.c: Likewise.
6882 * gdb.arch/amd64-word.exp: Likewise.
6883 * gdb.arch/i386-byte.exp: Likewise.
6884 * gdb.arch/i386-pseudo.c: Likewise.
6885 * gdb.arch/i386-word.exp: Likewise.
6886
f5dff777
DJ
68872010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
6888
6889 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
6890 types. Add structreg, bitfields, and flags registers.
6891 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
6892 registers.
6893
90884b2b
L
68942010-03-01 H.J. Lu <hongjiu.lu@intel.com>
6895
6896 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
6897 (load_description): Set architecture if defined.
6898
dc00d89f
PM
68992010-02-28 Phil Muldoon <pmuldoon@redhat.com>
6900
6901 * gdb.python/py-frame.exp: Add read_var block tests.
6902 * gdb.python/py-frame.c (block): New function.
6903
0e095b7e
JK
69042010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6905 Daniel Jacobowitz <dan@codesourcery.com>
6906
6907 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
6908
624f1a65
DM
69092010-02-25 David S. Miller <davem@davemloft.net>
6910
6911 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
6912 fix logic for setting all_syscalls_numbers.
6913
f3e9a817
PM
69142010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6915
6916 * Makefile.in: Add py-block and py-symbol.
6917 * gdb.python/py-symbol.exp: New File.
6918 * gdb.python/py-symtab.exp: New File.
6919 * gdb.python/py-block.exp: New File.
6920 * gdb.python/py-symbol.c: New File.
6921 * gdb.python/py-block.c: New File.
6922
f6bbabf0
PM
69232010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6924
6925 PR python/11314
6926 * lib/gdb.exp (skip_python_tests): New function.
6927 * gdb.python/py-cmd.exp: Use skip_python_tests.
6928 * gdb.python/py-frame.exp: Likewise.
6929 * gdb.python/py-function.exp: Likewise.
6930 * gdb.python/py-prettyprint.exp: Likewise.
6931 * gdb.python/py-template.exp: Likewise.
6932 * gdb.python/py-type.exp: Likewise.
6933 * gdb.python/py-value.exp: Likewise.
6934
85d721b8
PA
69352010-02-22 Pedro Alves <pedro@codesourcery.com>
6936
6937 PR9605
6938
6939 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
6940
48e32051
TT
69412010-02-19 Tom Tromey <tromey@redhat.com>
6942
6943 PR c++/8693, PR c++/9496:
6944 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
6945 regression tests.
6946
ac9c0048
JK
69472010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6948
6949 Fix compatibility with m68k as.
6950 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
6951 Use only /* comments */.
6952
57bb97a4
UW
69532010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6954
6955 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
6956 * configure: Regenerate.
6957
7d1bf85c
DJ
69582010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
6959
6960 * gdb.python/py-type.exp: Check for Python support.
6961
061b5285
PA
69622010-02-17 Pedro Alves <pedro@codesourcery.com>
6963
6964 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
6965 `regsub' syntax available.
6966
f8a8bc2c
PA
69672010-02-17 Pedro Alves <pedro@codesourcery.com>
6968
6969 * gdb.base/shmain.c (main): Remove printf call.
6970 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
6971 * gdb.base/unload.c (main): Make format of fprintf a string
6972 literal. Add missing endlines to prints to stderr.
6973 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
6974
6f451e5e
TT
69752010-02-17 Tom Tromey <tromey@redhat.com>
6976
6977 * gdb.java/jprint.java (jprint.props): New field.
6978 * gdb.java/jprint.exp (set_lang_java): Add regression test.
6979
12d79008
PA
69802010-02-17 Pedro Alves <pedro@codesourcery.com>
6981
ef801a0e 6982 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
6983 available.
6984
d252f7e5
DJ
69852010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6986
6987 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
6988 creation to support remote host testing.
6989
67bdab6c
DJ
69902010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6991
6992 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
6993 Recognize "command not found".
6994
bb391223
DJ
69952010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6996
6997 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
6998 single-stepping.
6999
70362913
DJ
70002010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7001
7002 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
7003 if arguments are not supported.
7004
493f3c00
DJ
70052010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7006
7007 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
7008 be const or non-const.
7009
8034c749
DJ
70102010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7011
7012 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
7013 mi_send_resuming_command to send -exec-continue.
7014
791dfb64
DJ
70152010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7016
7017 * gdb.base/list.exp (test_list_filename_and_function): Add test
7018 with single quotes.
7019 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
7020 matching.
7021 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
7022 Add KFAIL'd tests for PR gdb/11289.
7023
7c5fe868
DJ
70242010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7025
7026 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
7027
fdc498b8
DJ
70282010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7029
7030 * gdb.base/comp-dir/subdir/dummy.txt: New file.
7031 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
7032 a temporary directory.
7033
b519e2a6
DJ
70342010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
7035
7036 * gdb.base/charset.exp: Use a single regular expression to match
7037 show host-charset and show target-charset output.
7038
74164c56
JK
70392010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7040
7041 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
7042 "Illegal process-id" expect string more exact.
7043 (attach to digits-starting nonsense is prohibited): New.
7044
701ed6dc
JK
70452010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7046
7047 * gdb.base/prelink.exp (set verbose on): New.
7048
889bf7c5 70492010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
7050
7051 * mi-reverse.exp: New file. Test for reverse option to the
7052 following MI commands: exec-continue, exec-finish, exec-next,
7053 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 7054
dadf0e9c
JB
70552010-02-09 Joel Brobecker <brobecker@adacore.com>
7056
7057 * gdb.ada/ptype_tagged_param: New testcase.
7058
714f19d5
TT
70592010-02-08 Tom Tromey <tromey@redhat.com>
7060
7061 PR c++/8017:
7062 * gdb.cp/overload.exp: Add tests.
7063 * gdb.cp/overload.cc (struct K): New.
7064 (namespace N): New.
7065 (main): Call new functions.
7066 (K::staticoverload): Define.
7067
889bf7c5 70682010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
7069
7070 PR gdb/10728
7071 * gdb.cp/pr10728-x.h: New file.
7072 * gdb.cp/pr10728-x.cc: New file.
7073 * gdb.cp/pr10728-y.cc: New file.
7074 * gdb.cp/pr10728.exp: New file.
7075 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
7076
889bf7c5 70772010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
7078
7079 PR gdb/9067
7080 * gdb.cp/pr9067.exp: New
7081 * gdb.cp/pr9067.cc: New
7082 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
7083
7b356089
JB
70842010-02-08 Joel Brobecker <brobecker@adacore.com>
7085
7086 * lib/gdb.exp (gdb_test_timeout): New global variable.
7087 Set it to timeout if not already set.
7088 (gdb_init): Reset the value of timeout to gdb_test_timeout.
7089
1be00882
DE
70902010-02-05 Doug Evans <dje@google.com>
7091
7092 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
7093 user.
7094
82856980
SW
70952010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
7096
7097 PR c++/7935:
7098 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
7099
1a334831
TT
71002010-02-04 Tom Tromey <tromey@redhat.com>
7101
7102 * gdb.cp/virtbase.exp: Make test case names unique.
7103
9c3c02fd
TT
71042010-02-02 Tom Tromey <tromey@redhat.com>
7105
7106 * gdb.cp/virtbase.exp: Add regression tests.
7107 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
7108 (main): Instantiate RHC.
7109
0cc2414c
TT
71102010-02-02 Tom Tromey <tromey@redhat.com>
7111
7112 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
7113 type-printing change.
7114
edf3d5f3
TT
71152010-02-02 Tom Tromey <tromey@redhat.com>
7116
7117 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
7118 * gdb.cp/virtbase.cc: New file.
7119 * gdb.cp/virtbase.exp: New file.
7120 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
7121
e4b7f41c
JK
71222010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7123
7124 PR libc/11214:
7125 * gdb.threads/current-lwp-dead.c: Include features.h.
7126 (HAS_NOMMU): New.
7127 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
7128
b381ea14
JK
71292010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7130
7131 * gdb.base/symbol-without-target_section.exp,
7132 gdb.base/symbol-without-target_section.c: New.
7133
c593ac0e
DJ
71342010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7135
7136 * gdb.base/bigcore.exp: Reset increased timeout.
7137 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
7138
db25f29d
DJ
71392010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7140
7141 * gdb.base/gcore.exp (capture_command_output): Use
7142 gdb_test_multiple.
7143
f9d67f43
DJ
71442010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7145
7146 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
7147 * gdb.arch/thumb2-it.exp (test_it_break): New function.
7148 (Top level): Call it.
7149
177321bd
DJ
71502010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
7151
7152 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
7153
97f2ed50
DJ
71542010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7155
7156 * gdb.base/call-strs.exp, gdb.base/default.exp,
7157 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
7158 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
7159 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
7160 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
7161 gdb.base/watchpoint-solib.exp: Save and restore timeout.
7162 * gdb.base/ending-run.exp: Correct restore of timeout.
7163 * gdb.base/page.exp: Remove unnecessary timeout setting.
7164
e4e2711a
JB
71652010-01-29 Joel Brobecker <brobecker@adacore.com>
7166
7167 * gdb.ada/rec_return: New testcase.
7168
ba581dc1
JB
71692010-01-29 Joel Brobecker <brobecker@adacore.com>
7170
7171 * gdb.ada/call_pn: New testcase.
7172
4ea95be9
DJ
71732010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
7174
7175 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
7176 (Top level): Use it to resume.
7177 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
7178 the Thumb mode displaced stepping error as unsupported.
7179
df83a9bf
SW
71802010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
7181
889bf7c5
PA
7182 * gdb.cp/nsusing.exp: Added more tests.
7183 * gdb.cp/nsrecurs.exp: Ditto.
7184 * gdb.cp/nsusing.cc: Added test functions.
7185 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 7186
40b27cdc
JK
71872010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7188
7189 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
7190 absolute directory pathnames in gdb.sum file.
7191
de958931
SW
71922010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
7193
7194 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
7195 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
7196
708ead4e
TT
71972010-01-26 Tom Tromey <tromey@redhat.com>
7198
7199 PR exp/7643:
7200 * gdb.base/printcmds.exp (test_print_string_constants): Remove
7201 setup_kfail.
7202
b14e635e
SW
72032010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
7204
7205 * gdb.cp/nsrecurs.exp: New test.
7206 * gdb.cp/nsrecurs.cc: New test program.
7207 * gdb.cp/nsstress.exp: New test.
7208 * gdb.cp/nsstress.cc: New test program.
7209 * gdb.cp/nsdecl.exp: New test.
7210 * gdb.cp/nsdecl.cc: New test program.
7211
8540c487
SW
72122010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
7213
7214 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
7215 imported into file scope.
7216 Marked test as xfail.
7217 * gdb.cp/namespace-using.cc (marker5): New function.
7218 * gdb.cp/shadow.exp: New test.
7219 * gdb.cp/shadow.cc: New test program.
7220 * gdb.cp/nsimport.exp: New test.
7221 * gdb.cp/nsimport.cc: New test program.
7222
421d5d99
TT
72232010-01-25 Tom Tromey <tromey@redhat.com>
7224
7225 PR gdb/11049:
7226 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
7227 with "set print null-stop on".
7228
691f8dc1
JK
72292010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7230
7231 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
7232 Adjust it for DISASSEMBLY_OMIT_FNAME.
7233
0b92b5bb
TT
72342010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7235
7236 PR symtab/11199:
7237 * gdb.dwarf2/member-ptr-forwardref.exp,
7238 gdb.dwarf2/member-ptr-forwardref.S: New.
7239
23787403
JK
72402010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7241
7242 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
7243 (thread1_func): Protect thread1_tid with thread1_tid_cond by
7244 thread1_tid_mutex. Remove gdbstop_mutex handling.
7245 (thread2_func): Protect thread2_tid with thread2_tid_cond by
7246 thread2_tid_mutex. Remove gdbstop_mutex handling.
7247 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
7248 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
7249 pthread_cond_wait conditionalizations by while loops.
7250
b966cb8a
TT
72512010-01-20 Tom Tromey <tromey@redhat.com>
7252
7253 PR backtrace/10770:
7254 * gdb.dwarf2/pr10770.exp: New file.
7255 * gdb.dwarf2/pr10770.c: New file.
7256 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
7257
fcae584b
VP
72582010-01-20 Vladimir Prus <vladimir@codesourcery.com>
7259
7260 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
7261 that target was removed, and the test always runs native anyway.
7262
a0f49112
JK
72632010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7264
7265 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
7266 gdb.base/watchpoint-cond-gone-stripped.c: New.
7267
ceeb3d5a
TT
72682010-01-19 Tom Tromey <tromey@redhat.com>
7269
7270 PR c++/8000:
7271 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
7272 existing tests.
7273 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
7274 (main): Use AAA::SomeEnum.
7275
dd322c54
JK
72762010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7277
7278 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
7279 (test_ignore_count): Declare line_callme_body global.
7280 (run to breakpoint with ignore count): Use line_callme_body.
7281 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
7282 (set line_main_hello, set line_main_return): Reindent.
7283 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
7284 New.
7285 (continue to callee4): Use line_callee4_body.
7286 (check *stopped from CLI command): Use line_callee4_next.
7287 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
7288 (set line_main_hello, set line_main_return): Reindent.
7289 (set line_callee4_head, set line_callee4_body): New.
7290 (continue to callee4): Use line_callee4_body.
7291
4e8f195d
TT
72922010-01-18 Tom Tromey <tromey@redhat.com>
7293
7294 PR c++/9680:
7295 * gdb.cp/casts.cc: Add new classes and variables.
7296 * gdb.cp/casts.exp: Test new operators.
7297
9e14a9ba
JB
72982010-01-18 Tom Tromey <tromey@redhat.com>
7299 Thiago Jung Bauermann <bauerman@br.ibm.com>
7300
7301 * gdb.python/source2.py: New file.
7302 * gdb.python/source1: New file.
7303 * gdb.python/python.exp: Test "source" command.
7304
00bf0b85
SS
73052010-01-15 Stan Shebs <stan@codesourcery.com>
7306
7307 * gdb.trace/tfile.c: New file.
7308 * gdb.trace/tfile.exp: New file.
889bf7c5 7309
55235ad7
JK
73102010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7311
7312 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
7313
9f2982ff
JK
73142010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7315
7316 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
7317
bbfba9ed
JK
73182010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7319
7320 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
7321 (libfunc): New parameter action. Implement also selectable "sleep".
7322 * gdb.base/break-interp-main.c: Include assert.h.
7323 (libfunc): New parameter action.
7324 (main): New parameters argc and argv. Assert argc. Pass argv.
7325 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
7326 (test_attach): New proc.
7327 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
7328 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
7329
61f0d762
JK
73302010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7331
7332 * gdb.base/break-interp.exp (test_core): New proc.
7333 (test_ld): Call it.
7334
06a6f270
JK
73352010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7336
7337 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
7338 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
7339 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
7340 and gdb_compile_shlib. Use new -Wl compiler options.
7341 (dl bt, main bt): New tests.
7342
51bee8e9
JK
73432010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7344
7345 Support PIEs with no symfile_objfile.
7346 * gdb.base/break-interp.exp: New argument at the test_ld calls.
7347 (test_ld): New parameter trynosym.
7348 (test_ld <$trynosym>): New block.
7349
b8040f19
JK
73502010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7351
7352 * gdb.base/break-interp.exp: New file.
7353
be759fcf
PM
73542010-01-13 Phil Muldoon <pmuldoon@redhat.com>
7355
7356 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
7357 * gdb.python/py-prettyprint.py (pp_ls): New printer.
7358 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
7359 test.
7360 * gdb.python/py-prettyprint.c: Define lazystring test structure.
7361 * gdb.python/py-mi.exp: Add lazy string test.
7362
dc146f7c
VP
73632010-01-13 Vladimir Prus <vladimir@codesourcery.com>
7364
7365 * lib/mi-support.exp (mi_check_thread_states): Handle
7366 core number in thread listing.
7367
b4ba55a1
JB
73682010-01-12 Joel Brobecker <brobecker@adacore.com>
7369
7370 * gdb.base/maint.exp: Adjust the expected output for the
7371 "maint print type" test. Use gdb_test_multiple instead of
7372 gdb_sent/gdb_expect.
7373
08e24bd4
DE
73742010-01-11 Doug Evans <dje@google.com>
7375
6496a609
DE
7376 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
7377 from gdbserver_download. All callers updated.
7378
08e24bd4
DE
7379 * gdb.server/ext-run.exp: "info os processes" requires xml support.
7380
b5cfddf5
JK
73812010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7382
7383 Implement binary numbers parsing.
7384 * gdb.base/printcmds.exp (test_integer_literals_accepted)
7385 (test_integer_literals_rejected): New binary tests.
7386
3725885a
RW
73872010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7388
7389 * gdb.cell/configure: Regenerate.
7390
37aeb5df
JK
73912010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7392
7393 * gdb.base/corefile.exp: Move the core finding block out and call it as
7394 core_find, new variable $corefile, replace corefile by $corefile and
7395 [file tail $corefile] for usage vs. test names resp.
7396 * lib/gdb.exp (core_find): Move it as a new function here. New
7397 parameter binfile and deletefiles. New variable $destcore. Pre-delete
7398 $destcore. Return "" on error.
7399
d521f563
JK
74002010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7401
7402 Workaround PR binutils/10802.
7403 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
7404 (twice).
7405
28f24826
DJ
74062010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7407
7408 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
7409
2de75e71
JB
74102010-01-08 Joel Brobecker <brobecker@adacore.com>
7411
7412 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
7413 call, to avoid interruption.
7414
fe00719b 74152010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
7416
7417 * gdb.stabs/weird.def (args93): New.
7418
d0ef5df8
DE
74192010-01-07 Doug Evans <dje@google.com>
7420
7421 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
7422
3a08d52f
TT
74232010-01-07 Tom Tromey <tromey@redhat.com>
7424
7425 * gdb.base/source.exp: Use correct line number.
7426
7a697b8d
SS
74272010-01-05 Stan Shebs <stan@codesourcery.com>
7428
7429 * gdb.trace/tracecmd.exp: Test ftrace.
7430
7803799a
UW
74312010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7432
7433 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
7434
c54eabfa
JK
74352010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7436
7437 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
7438 "uint_for_mi_testing".
7439
02e7ef19
JB
74402010-01-01 Joel Brobecker <brobecker@adacore.com>
7441
7442 Test indented comment in file being sourced.
7443 * gdb.base/commands.exp: Test indented comment in file being sourced.
7444
abd775ce
JB
74452010-01-01 Joel Brobecker <brobecker@adacore.com>
7446
7447 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
7448 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
7449 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
7450 notice.
7451
79b55b82
JB
74522010-01-01 Joel Brobecker <brobecker@adacore.com>
7453
7454 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
7455 notice.
7456
8997583e
JK
74572010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7458
7459 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
7460 missing $after_stopped and comma (,) expectation.
7461
6da95a67
SS
74622009-12-31 Stan Shebs <stan@codesourcery.com>
7463
7464 * gdb.trace/actions.exp: Test teval action.
889bf7c5 7465
218d2fc6
TJB
74662009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7467
7468 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
7469 (top level): Call test_watchpoint_in_big_blob.
7470 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
7471 watchpoints.
7472 (func3): Write to buf.
7473
236f1d4d
SS
74742009-12-29 Stan Shebs <stan@codesourcery.com>
7475
7476 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 7477
f61e138d
SS
74782009-12-28 Stan Shebs <stan@codesourcery.com>
7479
7480 * gdb.trace/tsv.exp: New file.
7481 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 7482
0219b378
DJ
74832009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
7484
7485 * gdb.base/find.c (main): Reference search buffers.
7486 * gdb.base/included.c (main): Reference integer.
7487 * gdb.base/ptype.c (charfoo): Declare.
7488 (intfoo): Call charfoo.
7489 * gdb.base/scope0.c (useitp): New function.
7490 (usestatics): Use useitp.
7491 (useit): Add a type for val.
7492 * gdb.base/scope1.c (useit1): Take a pointer argument.
7493 (usestatics1): Update calls to useit1.
7494 * gdb.cp/call-c.cc: Declare foo.
7495 (main): Call foo.
7496 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
7497 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
7498 (main): Call C::ensureRefs and ensureOtherRefs.
7499 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
7500 variables.
7501 (ensureOtherRefs): New function.
7502 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
7503 * gdb.cp/templates.cc (main): Call t5i.value.
7504
3f78692f
JK
75052009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7506
7507 Fix compatibility with G++-4.5.
7508 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
7509 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
7510 (uncaught return): Remove.
7511
429374b8
JK
75122009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7513 Phil Muldoon <pmuldoon@redhat.com>
7514
7515 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
7516 (bp_location13, bp_location14, bp_location17, bp_location18)
7517 (marker3_proto, marker4_proto): New variables.
7518 (breakpoint info): Update output.
7519 (run until breakpoint at marker3, run until breakpoint at marker4): New
7520 tests.
7521
859825b8
JK
75222009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7523
7524 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
7525 Replace the printf call of Y by provided "y-set-1" label. New block
7526 for the second shared library.
7527 * gdb.base/unload.exp: Compile also the second library, call
7528 gdb_load_shlibs also for it. Use now gdb_breakpoint.
7529 (single pending breakpoint info): Rename to ...
7530 (pending breakpoint info before run): ... this extended test.
7531 (libfile2, libname2, libsrcfile2, libsrc2)
7532 (lib_sl2): New variables.
7533 (exec_opts): Set also SHLIB_NAME2.
7534 (pending breakpoint info on first run at shrfunc1)
7535 (pending breakpoint info on second run at shrfunc1)
7536 (pending breakpoint info on second run at shrfunc2)
7537 (print y from libfile, print y from libfile2): New tests.
7538 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
7539 * gdb.base/unloadshr2.c: New.
7540
e6a386cd
HZ
75412009-12-22 Hui Zhu <teawater@gmail.com>
7542
7543 * gdb.reverse/sigall-reverse.exp: Adjust.
7544
9e19b45e
VP
75452009-12-21 Vladimir Prus <vladimir@codesourcery.com>
7546
7547 PR gdb/10884
7548
7549 * gdb.mi/var-cmd.c (do_bitfield_tests): New
7550 (main): Call do_bitfield_tests.
aacf5b1e 7551 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 7552
d53a7b30
JB
75532009-12-20 Joel Brobecker <brobecker@adacore.com>
7554
7555 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
7556 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
7557 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
7558 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
7559 gdb.modula2/unbounded1.c: Update copyright header.
7560
191ca0a1
CM
75612009-12-10 Chris Moller <moller@mollerware.com>
7562
7563 PR gdb/9399
7564 * gdb.cp/virtfunc2.exp: New tests
7565 * gdb.cp/virtfunc2.cc: New tests
7566 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
7567
0fa6cf1b
MS
75682009-12-10 Oza Pawandeep (paawan1982@yahoo.com
7569
7570 * gdb.reverse/i387-env-reverse.c: New file.
7571 * gdb.reverse/i387-env-reverse.exp: New file.
7572 * gdb.reverse/i387-stack-reverse.c: New file.
7573 * gdb.reverse/i387-stack-reverse.exp: New file.
7574
361ae042
PM
75752009-12-08 Phil Muldoon <pmuldoon@redhat.com>
7576
7577 * gdb.python/py-type.exp (test_range): New test.
7578
bfd31e71
PM
75792009-12-03 Phil Muldoon <pmuldoon@redhat.com>
7580
7581 PR python/10805
7582
7583 * gdb.python/py-type.exp: New file.
7584 * gdb.python/py-type.c: New file.
7585 * Makefile.in: Add py-type.
7586
57a1d736
TT
75872009-12-03 Tom Tromey <tromey@redhat.com>
7588
7589 * gdb.python/py-value.exp (test_parse_and_eval): New
7590 function.
7591
1f3b5d1b
PP
75922009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7593
7594 PR gdb/11022
7595
7596 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
7597 * gdb.base/pr11022.c: New test.
7598
8b7dbdc9
JK
75992009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7600
7601 Fix spurious false FAILs.
7602 * gdb.base/structs.c (chartest): New.
7603 (main): Fill-in chartest.
7604 * gdb.base/structs.exp (anychar_re, first): New.
7605 (start_structs_test): Import global anychar_re and first.
7606 New gdb_test call "set print elements 300; ${testfile}"
7607 (start_structs_test <$first>): New block.
7608 (any): Import global anychar_re. New variable ac. Use ${ac}.
7609
6a53b2ec
JK
76102009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7611
7612 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
7613
d7167b4c
JK
76142009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7615
7616 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
7617 Force $srcfile file.
7618 * gdb.base/foll-fork.c (callee): Comment out the printf call.
7619
b1798462
UW
76202009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7621
7622 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
7623 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7624 * gdb.threads/watchthreads-reorder.exp: Likewise.
7625
b6199126
DJ
76262009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
7627
7628 PR gdb/8704
7629
7630 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
7631 "if", and "thread". Correct matching in the previous test.
7632
b22a0510
DJ
76332009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
7634
7635 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
7636
930636d2
MS
76372009-11-23 Michael Snyder <msnyder@vmware.com>
7638
7639 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
7640 * gdb.reverse-watch-precsave.exp: Ditto.
7641
21a0512e
PP
76422009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
7643
7644 * gdb.asm/asm-source.exp: Adjust.
7645 * gdb.base/help.exp: Adjust.
889bf7c5 7646
fc30d5e0
PA
76472009-11-22 Pedro Alves <pedro@codesourcery.com>
7648
7649 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
7650 (do_syscall_tests_without_xml): Set data-directory to
7651 /the/path/to/nowhere.
7652
f6bc2008
PA
76532009-11-21 Pedro Alves <pedro@codesourcery.com>
7654
7655 * gdb.threads/local-watch-wrong-thread.c,
7656 gdb.threads/local-watch-wrong-thread.exp: New files.
7657
8c2fb5de
PA
76582009-11-21 Pedro Alves <pedro@codesourcery.com>
7659
7660 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
7661 assume new `regsub' syntax available.
7662
ebec9a0f
PA
76632009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7664
a79d3c27
JK
7665 * gdb.base/watchpoint-hw-hit-once.exp,
7666 gdb.base/watchpoint-hw-hit-once.c: New.
7667
76682009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7669
7670 * gdb.threads/watchthreads-reorder.exp,
7671 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 7672
276a961b
MK
76732009-11-17 Nathan Sidwell <nathan@codesourcery.com>
7674
7675 * gdb.xml/tdesc-regs.exp: Use for m68k.
7676
4867c1fb
PA
76772009-11-15 Pedro Alves <pedro@codesourcery.com>
7678
7679 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
7680
f6838f81
DJ
76812009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7682
7683 * lib/gdb.exp (current_target_name): New procedure.
7684 (gdb_wrapper_target): New variable.
7685 (gdb_wrapper_init): Set gdb_wrapper_target.
7686 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
7687 wrapper.
7688
4ac4dd3f
DJ
76892009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7690
7691 * gdb.base/remote.exp: Delete the slowest load test.
7692 Do not load with fixed packet sizes.
7693
a7881759
DJ
76942009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7695
7696 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
7697
97a5b505
DJ
76982009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7699
7700 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
7701 srcfile when setting a breakpoint.
7702
d3e1fc54
DJ
77032009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
7704
7705 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
7706 macros.
7707
7cbcbded
DJ
77082009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7709
7710 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
7711 to be in memory.
7712 * gdb.base/display.c (force_mem): New.
7713 (do_loops): Use it. Add breakpoint comments.
7714 (do_vars): Add a breakpoint comment.
7715 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
7716 line numbers.
7717
bdea3a92
NF
77182009-11-13 Nathan Froyd <froydnj@codesourcery.com>
7719
7720 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
7721 instead of a bare "run".
7722
269f82e5
PP
77232009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7724
7725 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 7726
a69b7d9d
DJ
77272009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7728
7729 * lib/cell.exp (skip_cell_tests): Clean up test files before
7730 returning.
7731
b598bfda
DJ
77322009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7733
7734 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
7735 and the breakpoint menu. Do not call perror if a prompt is seen.
7736 Consume the following GDB prompt.
7737 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
7738 * gdb.cp/namespace.exp: Use gdb_test.
7739 * gdb.cp/templates.exp: Use gdb_test.
7740 (test_template_breakpoints): Use gdb_test_multiple.
7741
87728fa0
DJ
77422009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7743
7744 * gdb.base/break1.c (struct some_struct, values): Move earlier.
7745 (marker4): Reference values.
7746
b67c692f
DJ
77472009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7748
7749 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
7750 is missing.
7751
f0df251a
DJ
77522009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7753
7754 * gdb.base/break.c (need_malloc): New.
7755 * gdb.base/constvars.c (main): Reference crass and crisp.
7756 * gdb.base/gdb1821.c (main): Reference bar.
7757 * gdb.cp/gdb1355.cc (main): Reference s1.
7758 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
7759 (main): Call them.
7760 * gdb.cp/hang2.cc (dummy2): Define.
7761 * gdb.cp/hang3.cc (dummy3): Define.
7762 * gdb.cp/m-data.cc (main): Reference shadow.
7763
bdf7534a
NF
77642009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7765 Nathan Froyd <froydnj@codesourcery.com>
7766
7767 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
7768 remote host.
7769
f24fce77
NF
77702009-11-12 Nathan Froyd <froydnj@codesourcery.com>
7771
7772 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
7773 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
7774 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7775 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7776 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7777 * gdb.dwarf2/dw2-producer.exp: Likewise.
7778 * gdb.dwarf2/mac-fileno.exp: Likewise.
7779 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
7780 py-prettyprint.py to the remote host.
7781 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
7782
40f0318e
KS
77832009-11-11 Keith Seitz <keiths@redhat.com>
7784
7785 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
7786 use it instead of "Foo".
7787 * gdb.cp/classes.exp (do_tests): Add a test to access
7788 a method through a typedef'd class name.
7789
f3d9f7fb
NF
77902009-11-11 Nathan Froyd <froydnj@codesourcery.com>
7791
7792 * gdb.base/long_long.exp: Permit leading zeros on floating-point
7793 exponents.
7794 * gdb.base/pointers.exp: Likewise.
7795 * gdb.cp/ref-types.exp: Likewise.
7796
a4216f37
KS
77972009-11-11 Keith Seitz <keiths@redhat.com>
7798
7799 * gdb.cp/cplusfuncs.cc (class foo): Add operators
7800 new[] and delete[].
7801 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
7802 "void".
7803 (probe_demangler): Remove all single-quoting of
7804 method and variable names.
7805 (info_func_regexp): Remove the word "void" from any
7806 occurrence of "(void)".
7807 (print_addr_2): Remove all single-quoting of
7808 method names.
7809 (print_addr_2_kfail): Likewise.
7810 (print_addr): Single-quote C function names before
7811 passing to print_addr_2.
7812 (test_paddr_operator_functions): Remove single-quoting
7813 for method names.
7814 Add tests for operator new[] and operator delete[].
7815
9b14d7aa
JK
78162009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7817
7818 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
7819
85feb311
KS
78202009-11-09 Keith Seitz <keiths@redhat.com>
7821
7822 * gdb.cp/overload.exp: Add tests for resolving overloaded
7823 methods in expression parsing/evaluation.
7824
fa335448
DJ
78252009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
7826
7827 * lib/gdb.exp (default_gdb_version): Use --version instead of
7828 --command.
7829
ec3c07fc
NS
78302009-11-10 Nathan Sidwell <nathan@codesourcery.com>
7831
7832 * lib/gdb.exp (gdb_compile_test): New.
7833 (skip_ada_tests, skip_java_tests): New.
7834 (gdb_compile): Use gdb_compile_test for f77.
7835 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
7836 * lib/java.exp (compile_java_from_source): Remove runtests check,
7837 use gdb_compile_test to record result.
7838 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
7839 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
7840 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
7841 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
7842 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
7843 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
7844 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
7845 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
7846 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
7847 adjust gdb_compile invocations.
7848
b8b4e42b
JK
78492009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7850
7851 * Makefile.in (abs_builddir): New.
7852 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
7853 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
7854 `$(abs_builddir)/site.exp'.
7855
f8b7eaf3
DJ
78562009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
7857
7858 * config/m68k-emc.exp, lib/emc-support.exp,
7859 gdb.trace/gdb_c_test.c: Delete.
7860 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
7861 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7862 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7863 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7864 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7865 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
7866 casing for m68k-*-elf.
7867
c4187697
NS
78682009-11-03 Pedro Alves <pedro@codesourcery.com>
7869
7870 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
7871 * gdb.arch/i386-prologue.exp: Likewise.
7872 * gdb.arch/i386-unwind.exp: Likewise.
7873
db16b772
DJ
78742009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7875
7876 * lib/gdb.exp (gdb_expect): Fix timeout typo.
7877
bcf71277
DJ
78782009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7879
7880 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
7881
0105cee2
DJ
78822009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7883
7884 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
7885
24ddea62
JK
78862009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7887
7888 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
7889
287ccc17
JK
78902009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7891
7892 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
7893 * gdb.base/sepdebug2.c: New file.
7894
08bca259 78952009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
7896
7897 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
7898 the modified warnings for catch syscall. Verify if GDB was compiled
7899 with support for lib expat, and choose which tests to run depending
7900 on this.
7901
5d4e2b76
VP
79022009-10-30 Vladimir Prus <vladimir@codesourcery.com>
7903
7904 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
7905 that composite commands are parsed OK. And also test
7906 that breakpoint commands do work.
7907
240e538a
MS
79082009-10-23 Michael Snyder <msnyder@vmware.com>
7909
7910 gdb.reverse/consecutive-precsave.exp: Change expect pattern
7911 to allow for new disassembly style.
7912
9c419145
PP
79132009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7914
7915 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 7916
02506ff1
MS
79172009-10-22 Michael Snyder <msnyder@vmware.com>
7918
7919 * gdb.reverse/break-precsave.exp: New test.
7920 * gdb.reverse/consecutive-precsave.exp: Ditto.
7921 * gdb.reverse/finish-precsave.exp: Ditto.
7922 * gdb.reverse/i386-precsave.exp: Ditto.
7923 * gdb.reverse/machinestate-precsave.exp: Ditto.
7924 * gdb.reverse/sigall-precsave.exp: Ditto.
7925 * gdb.reverse/solilb-precsave.exp: Ditto.
7926 * gdb.reverse/step-precsave.exp: Ditto.
7927 * gdb.reverse/until-precsave.exp: Ditto.
7928 * gdb.reverse/watch-precsave.exp: Ditto.
7929
4cf866a3
MS
79302009-10-22 Michael Snyder <msnyder@vmware.com>
7931
7932 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
7933 for gdb_expect. Adjust one test's expect strings for the new
7934 format of disassemble.
7935 * gdb.reverse/finish-reverse.exp: Delete 'return'.
7936 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
7937 gdb_test_multiple.
7938 * gdb.reverse/step-reverse.exp: Delete 'return'.
7939 * gdb.reverse/until-reverse.exp: Delete blank lines.
7940 * gdb.reverse/watch-reverse.exp: Delete blank lines.
7941
2b28d209
PP
79422009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
7943
7944 * gdb.base/consecutive.exp: Adjust.
7945 * gdb.base/display.exp: Likewise.
7946 * gdb.base/pc-fp.exp: Likewise.
7947 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 7948
33b9c32b
MS
79492009-10-19 Michael Snyder <msnyder@vmware.com>
7950
7951 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
7952 * gdb.reverse/finish-reverse.c: Ditto.
7953 * gdb.reverse/sigall-reverse.c: Ditto.
7954 * gdb.reverse/solib-reverse.c: Ditto.
7955 * gdb.reverse/step-reverse.c: Ditto.
7956 * gdb.reverse/watch-reverse.c: Ditto.
7957
6c95b8df
PA
79582009-10-19 Pedro Alves <pedro@codesourcery.com>
7959 Stan Shebs <stan@codesourcery.com>
7960
7961 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
7962 * gdb.base/foll-exec.exp: Adjust to expect a process id before
7963 "Executing new program".
7964 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
7965 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
7966 left listed after having been killed.
7967 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
7968 * gdb.base/maint.exp: Adjust test.
7969
7970 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
7971 * gdb.multi/Makefile.in: New.
7972 * gdb.multi/base.exp: New.
7973 * gdb.multi/goodbye.c: New.
7974 * gdb.multi/hangout.c: New.
7975 * gdb.multi/hello.c: New.
7976 * gdb.multi/bkpt-multi-exec.c: New.
7977 * gdb.multi/bkpt-multi-exec.exp: New.
7978 * gdb.multi/crashme.c: New.
7979
279017b7
TG
79802009-10-13 Tristan Gingold <gingold@adacore.com>
7981
7982 * gdb.base/sepdebug.exp: Check debug info are found.
7983
0413d738
PA
79842009-10-08 Pedro Alves <pedro@codesourcery.com>
7985
7986 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
7987 bits.
7988
c628eecc
JK
79892009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7990
7991 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
7992
38af1bfe
JB
79932009-10-07 Joel Brobecker <brobecker@adacore.com>
7994
7995 * gdb.base/watchpoints.c: Add copyright header. Reformat one
7996 of the comments.
7997
2b0adecd
PM
79982009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
7999
8000 * gdb.base/annota1.exp: Remove obsolete match_max increase.
8001 * gdb.base/annota3.exp: Idem.
8002 * gdb.base/maint.exp: Idem.
8003
8d417781
PM
80042009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
8005
889bf7c5 8006 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
8007 to default.
8008
bb61102d
PM
80092009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
8010
889bf7c5 8011 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
8012 mingw and cygwin targets.
8013
ace5c364
PM
80142009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
8015 Pedro Alves <pedro@codesourcery.com>
8016
889bf7c5 8017 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
8018 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
8019
c2d494a0
PM
80202009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
8021
e1b52ce2
PM
8022 * gdb.base/shr1.c: Use %p in format string.
8023 * gdb.base/unload.c: Avoid warning in fprintf.
8024 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 8025
209f53f5
PM
80262009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
8027
8028 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
8029 long type.
8030 (test_unlink): Correct printf string.
8031 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
8032 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
8033
8172766a
JK
80342009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8035
8036 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
8037 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
8038 * gdb.arch/ia64-breakpoint-shadow.S: New file.
8039
0f73703c
UW
80402009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8041
8042 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
8043 * gdb.objc/nondebug.exp: Likewise.
8044
b32306ca
UW
80452009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8046
8047 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
8048 target_info setting.
8049
8050 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
8051 that detect new threads during "info threads".
8052
0057022f
UW
80532009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8054
8055 * gdb.threads/manythreads.c (main): Increase thread stack size
8056 to 2*PTHREAD_STACK_MIN.
8057 * gdb.threads/multi-create.c (main): Likewise.
8058 (create_function): Likewise.
8059
f29c0325
UW
80602009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8061
8062 * gdb.base/dump.exp: Pass difference of pointer types instead
8063 of integer types as offset to restore in intarr3.srec case.
8064
fcb34849
UW
80652009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8066
8067 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
8068
d5142e3b
UW
80692009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8070
8071 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
8072
087b74b2 80732009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 8074
087b74b2
PM
8075 New test for two watchpoints, with disabling of
8076 the first inserted.
8077 * testsuite/gdb.base/watchpoints.c: New file.
8078 * testsuite/gdb.base/watchpoints.exp: New file.
8079
96c07c5b
TT
80802009-09-25 Tom Tromey <tromey@redhat.com>
8081
8082 * gdb.base/charset.exp: Test utf-16 strings with Python.
8083
b8899f2b
TT
80842009-09-25 Tom Tromey <tromey@redhat.com>
8085
8086 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
8087 UCS-4.
8088 * gdb.base/charset.c (utf_32_string): Rename.
8089 (init_utf32): Rename.
8090 (main): Update.
8091
329719ec
TT
80922009-09-22 Tom Tromey <tromey@redhat.com>
8093
8094 * gdb.python/py-function.exp: Add regression tests.
8095
11ef0d76
KS
80962009-09-21 Keith Seitz <keiths@redhat.com>
8097
8098 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
8099 with invalid operator.
8100
3fe8f3b3
KS
81012009-09-21 Keith Seitz <keiths@redhat.com>
8102
8103 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
8104 and destructor using typedef name of class.
8105 * gdb.cp/classes.cc (class Base1): Add a destructor.
8106 (base1): New typedef.
8107 (use_methods): Instanitate an object of type base1.
8108 * gdb.cp/templates.exp (test_template_typedef): New procedure.
8109 (do_tests): Call test_template_typedef.
8110 * gdb.cp/templates.cc (Baz::~Baz): New method.
8111 (intBazOne): New typedef.
8112 (main): Instantiate intBazOne.
8113
7a9fe101
PM
81142009-09-21 Phil Muldoon <pmuldoon@redhat.com>
8115
8116 PR python/10633
8117
8118 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
8119 Function.
8120 (run_lang_tests): Add print elements test.
8121
2e4d963f
PM
81222009-09-21 Phil Muldoon <pmuldoon@redhat.com>
8123
8124 * gdb.python/py-value.exp (test_subscript_regression): New
8125 function. Test for invalid subscripts.
8126 * gdb.python/py-value.c (main): Add test array, and pointer to it.
8127 (ptr_ref): New function.
8128
ec7e75e7
PP
81292009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8130
8131 * gdb.base/default.exp: Fix "show convenience".
8132
0cc7d26f
TT
81332009-09-15 Tom Tromey <tromey@redhat.com>
8134
8135 * lib/mi-support.exp (mi_create_varobj): Update.
8136 (mi_create_floating_varobj): Likewise.
8137 (mi_create_dynamic_varobj): New proc.
8138 (mi_varobj_update): Update.
8139 (mi_varobj_update_with_type_change): Likewise.
8140 (mi_varobj_update_kv_helper): New proc.
8141 (mi_varobj_update_dynamic_helper): Rewrite.
8142 (mi_varobj_update_dynamic): New proc.
8143 (mi_list_varobj_children): Update.
8144 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
8145 * gdb.python/python-prettyprint.py (pp_outer): New class.
8146 (pp_nullstr): Likewise.
8147 (lookup_function): Register new printers.
8148 * gdb.python/python-prettyprint.c (struct substruct): New type.
8149 (struct outerstruct): Likewise.
8150 (substruct_test): New function.
8151 (struct nullstr): New type.
8152 (string_1, string_2): New globals.
8153 (main): Add new tests.
8154 * gdb.python/python-mi.exp: Added regression tests.
8155 * gdb.mi/mi2-var-display.exp: Update.
8156 * gdb.mi/mi2-var-cmd.exp: Update.
8157 * gdb.mi/mi2-var-child.exp: Update.
8158 * gdb.mi/mi2-var-block.exp: Update.
8159 * gdb.mi/mi-var-invalidate.exp: Update.
8160 * gdb.mi/mi-var-display.exp: Update.
8161 * gdb.mi/mi-var-cmd.exp: Update.
8162 * gdb.mi/mi-var-child.exp: Update.
8163 * gdb.mi/mi-var-block.exp: Update.
8164 * gdb.mi/mi-break.exp: Update.
8165 * gdb.mi/gdb701.exp: Update.
8166
a96d9b2e
SDJ
81672009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
8168
8169 * Makefile.in: Inclusion of catch-syscall object.
8170 * gdb.base/catch-syscall.c: New file.
8171 * gdb.base/catch-syscall.exp: New file.
8172
b43b923a
MS
81732009-09-12 Michael Snyder <msnyder@vmware.com>
8174
8175 * gdb.reverse/step-reverse.exp: Explicitly check for targets
8176 that can support reverse debuggnig.
8177
cec03d70
TT
81782009-09-11 Tom Tromey <tromey@redhat.com>
8179
8180 * gdb.dwarf2/valop.S: New file.
8181 * gdb.dwarf2/valop.exp: New file.
8182
e23bb3fc
MK
81832009-09-11 Mark Kettenis <kettenis@gnu.org>
8184
8185 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
8186
37c3696d
DE
81872009-09-10 Doug Evans <dje@google.com>
8188
8189 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
8190 Add $gdb_prompt to second breakpoint regexp.
8191
5172aecb
JB
81922009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
8193
8194 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
8195 names, add missing ones.
8196 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
8197 * gdb.python/py-frame.c: Rename from python-frame.c.
8198 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
8199 testfile name.
8200 * gdb.python/py-function.exp: Rename from python-function.exp.
8201 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
8202 testfile name.
8203 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
8204 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
8205 Adjust testfile name.
8206 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
8207 * gdb.python/py-template.cc: Rename from python-template.cc.
8208 * gdb.python/py-template.exp: Rename from python-template.exp.
8209 Adjust testfile name.
8210 * gdb.python/py-value.c: Rename from python-value.c.
8211 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
8212 testfile name.
8213
b554e4bd
JK
82142009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8215
8216 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
8217 $bpt2address.
8218 (Second breakpoint address is valid on ia64)
8219 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
8220
9a68ae16
JM
82212009-09-03 Joseph Myers <joseph@codesourcery.com>
8222
8223 * gdb.base/ending-run.exp: Restrict regular expression matching
8224 line number to require closing brace following.
8225
146b9145
DE
82262009-09-03 Doug Evans <dje@google.com>
8227
8228 * gdb.base/store.exp (check_set): Fix typo in expected value message.
8229
787d21e1
TT
82302009-09-02 Tom Tromey <tromey@redhat.com>
8231
8232 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
8233
e7802207
TT
82342009-09-02 Tom Tromey <tromey@redhat.com>
8235
8236 * gdb.dwarf2/callframecfa.exp: New file.
8237 * gdb.dwarf2/callframecfa.S: New file.
8238
817aadd2
JK
82392009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8240
8241 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
8242 gdb.base/solib-overlap-main.c: New.
8243
4a76eae5
DJ
82442009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
8245
8246 PR gdb/10565
8247
8248 * gdb.base/bitfields.c (struct container, container): New.
8249 (main): Initialize it and call break5.
8250 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
8251
d4b96c9a
JK
82522009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8253
8254 Support constant DW_AT_data_member_location by GCC PR debug/40659.
8255 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
8256
4e22772d
JK
82572009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8258
8259 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
8260
2efab443
MS
82612009-08-26 Michael Snyder <msnyder@vmware.com>
8262
8263 * gdb.base/i386-reverse.c: New file.
8264 * gdb.base/i386-reverse.exp: New file.
8265 * gdb.base/Makefile.in: Add new files to be removed.
8266
07ab73a0
JM
82672009-08-26 Joseph Myers <joseph@codesourcery.com>
8268
8269 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
8270 environment-pwd for remote host.
8271 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
8272
676accff
KS
82732009-08-24 Keith Seitz <keiths@redhat.com>
8274
8275 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
8276 Add two new C++ completer tests which limit the output to a
889bf7c5 8277 given class.
676accff 8278
f9f7ad22
MS
82792009-08-24 Michael Snyder <msnyder@vmware.com>
8280
8281 * gdb.base/del.exp: Fix typo in comment.
8282 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
8283
81ecdfbb
RW
82842009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8285
8286 * configure: Regenerate.
8287 * gdb.hp/configure: Likewise.
8288 * gdb.hp/gdb.aCC/configure: Likewise.
8289 * gdb.hp/gdb.base-hp/configure: Likewise.
8290 * gdb.hp/gdb.compat/configure: Likewise.
8291 * gdb.hp/gdb.defects/configure: Likewise.
8292 * gdb.hp/gdb.objdbg/configure: Likewise.
8293 * gdb.stabs/configure: Likewise.
8294
cab0c772
UW
82952009-08-19 Doug Evans <dje@google.com>
8296
8297 * gdb.base/gdbvars.c: New file.
8298 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
8299
b8fa0bfa
PA
83002009-08-14 Pedro Alves <pedro@codesourcery.com>
8301
8302 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8303 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
8304
b84aa90a
PA
83052009-08-13 Pedro Alves <pedro@codesourcery.com>
8306
8307 * gdb.base/default.exp: Adjust "set language test": it's now an
8308 enum command. Larger help string moved to "help set language".
8309 * gdb.base/help.exp: Adjust "help set language" expected output,
8310 now lists all known languages.
8311
0d8f9b2c
NF
83122009-08-11 Nathan Froyd <froydnj@codesourcery.com>
8313
8314 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
8315 all frame arguments.
8316 * gdb.arch/altivec-regs.exp: Likewise.
8317
bda180e0
TT
83182009-08-07 Tom Tromey <tromey@redhat.com>
8319
8320 * gdb.base/setshow.exp: Add tests for changes to set language, set
8321 check range, and set check type.
8322
48cb2d85
VP
83232009-08-03 Vladimir Prus <vladimir@codesourcery.com>
8324
8325 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
8326 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 8327 Call it.
48cb2d85 8328
1ea34204
UW
83292009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8330
8331 * configure.ac: Run gdb.cell tests when appropriate.
8332 * configure: Regenerate.
8333 * lib/cell.exp: New file.
8334 * gdb.cell: New directory.
8335 * gdb.cell/configure.ac: New file.
8336 * gdb.cell/configure: New file.
8337 * gdb.cell/Makefile.in: New file.
8338 * gdb.cell/arch.exp: New file.
8339 * gdb.cell/break.c: New file.
8340 * gdb.cell/break.exp: New file.
8341 * gdb.cell/break-spu.c: New file.
8342 * gdb.cell/bt.c: New file.
8343 * gdb.cell/bt2-spu.c: New file.
8344 * gdb.cell/bt-spu.c: New file.
8345 * gdb.cell/bt.exp: New file.
8346 * gdb.cell/coremaker.c: New file.
8347 * gdb.cell/coremaker-spu.c: New file.
8348 * gdb.cell/core.exp: New file.
8349 * gdb.cell/gcore.exp: New file.
8350 * gdb.cell/data.c: New file.
8351 * gdb.cell/data.exp: New file.
8352 * gdb.cell/data-spu.c: New file.
8353 * gdb.cell/ea-cache.exp: New file.
8354 * gdb.cell/ea-cache.c: New file.
8355 * gdb.cell/ea-cache-spu.c: New file.
8356 * gdb.cell/ea-standalone.c: New file.
8357 * gdb.cell/ea-standalone.exp: New file.
8358 * gdb.cell/ea-test.c: New file.
8359 * gdb.cell/ea-test.exp: New file.
8360 * gdb.cell/f-regs.exp: New file.
8361 * gdb.cell/mem-access.c: New file.
8362 * gdb.cell/mem-access.exp: New file.
8363 * gdb.cell/mem-access-spu.c: New file.
8364 * gdb.cell/ptype.exp: New file.
8365 * gdb.cell/registers.exp: New file.
8366 * gdb.cell/size.c: New file.
8367 * gdb.cell/sizeof.exp: New file.
8368 * gdb.cell/size-spu.c: New file.
8369 * gdb.cell/solib.exp: New file.
8370 * gdb.cell/solib-symbol.exp: New file.
8371
85e747d2
UW
83722009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8373
8374 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
8375
58d6951d
DJ
83762009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8377
8378 * gdb.base/float.exp: Handle VFP registers.
8379
6e0a4f15
MS
83802009-07-14 Michael Snyder <msnyder@vmware.com>
8381
dcd5da87
MS
8382 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
8383 to bring gdb to the beginning of the calling line.
8384
6e0a4f15
MS
8385 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
8386 confusing the i386 epilogue unwinder.
8387
782b2b07
SS
83882009-07-14 Stan Shebs <stan@codesourcery.com>
8389
8390 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
8391
f662c3bc
MS
83922009-07-14 Michael Snyder <msnyder@vmware.com>
8393
8394 * gdb.reverse/step-reverse.exp (stepi into function call):
8395 Call instruction may not be first instruction in the line.
8396 (reverse stepi from a function call): Used wrong line number.
8397
8f313923
JK
83982009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8399
8400 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
8401
4662c76e
JK
84022009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8403
8404 Fix gdb.base/macscp.exp when using custom inputrc.
8405 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
8406 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
8407 env(TERM) set.
8408 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
8409 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
8410
aa81e255
JK
84112009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8412
8413 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
8414 * gdb.base/annota1.exp (thread_test): Import global $testfile.
8415 Change the compilation target to match the testcase name.
8416 * gdb.base/sect-cmd.exp: Change the compilation target to match the
8417 testcase name.
8418 * a2-run.exp: Use for setup prepare_for_testing. Change the
8419 compilation target to match the testcase name.
8420 * gdb.base/commands.exp: Likewise.
8421 * gdb.base/finish.exp: Likewise.
8422 * gdb.base/float.exp: Likewise.
8423 * gdb.base/info-target.exp: Likewise.
8424 * gdb.base/relational.exp: Likewise.
8425 * gdb.base/term.exp: Likewise.
8426 * gdb.base/until.exp: Likewise.
8427 * gdb.base/volatile.exp: Likewise.
8428 * gdb.base/whatis-exp.exp: Likewise.
8429
4c93b1d7
HZ
84302009-07-11 Hui Zhu <teawater@gmail.com>
8431
8432 * gdb.base/help.exp (disassemble): Update expected help text.
8433
812f7342
TT
84342009-07-09 Tom Tromey <tromey@redhat.com>
8435
8436 * lib/gdb.exp: Handle TRANSCRIPT.
8437 (remote_spawn, remote_close, send_gdb): New procs.
8438
fbb8f299
PM
84392009-07-10 Phil Muldoon <pmuldoon@redhat.com>
8440
8441 * gdb.python/python-prettyprint.c: Add counted null string
8442 structure.
8443 * gdb.python/python-prettyprint.exp: Print null string. Test for
8444 embedded nulls.
8445 * gdb.python/python-prettyprint.py (pp_ns): New Function.
8446 * gdb.python/python-value.exp (test_value_in_inferior): Add
8447 variable length string fetch tests.
8448 * gdb.python/python-value.c (main): Add strings for string fetch tests.
8449
c0ac0ec7
JK
84502009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8451
8452 * gdb.base/dump.exp (inaccessible memory is reported): New test.
8453
30b66ecc
TT
84542009-07-07 Tom Tromey <tromey@redhat.com>
8455
8456 * gdb.base/call-rt-st.exp: Update for change to escape output.
8457 * gdb.base/callfuncs.exp: Likewise.
8458 * gdb.base/charset.exp: Likewise.
8459 * gdb.base/constvars.exp: Likewise.
8460 * gdb.base/long_long.exp: Likewise.
8461 * gdb.base/pointers.exp: Likewise.
8462 * gdb.base/printcmds.exp: Likewise.
8463 * gdb.base/setvar.exp: Likewise.
8464 * gdb.base/store.exp: Likewise.
8465 * gdb.cp/ref-types.exp: Likewise.
8466 * gdb.mi/mi-var-child.exp: Likewise.
8467 * gdb.mi/mi-var-display.exp: Likewise.
8468 * gdb.mi/mi2-var-display.exp: Likewise.
8469 * gdb.base/charset.exp: Test octal escape sequence length.
8470 Update for change to escape output.
8471
187c4a2b
JK
84722009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8473
8474 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
8475
d80a43f9
DJ
84762009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
8477
8478 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
8479
047427a8
JK
84802009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8481
8482 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
8483 gdbserver increasing $portnum if "Can't bind address" has been seen.
8484
8b5a0f4f
PA
84852009-07-05 Pedro Alves <pedro@codesourcery.com>
8486
8487 * gdb.base/ending-run.exp: Add "step out of main" pattern for
8488 mingw32ce.
8489
7d93ba58
PA
84902009-07-05 Pedro Alves <pedro@codesourcery.com>
8491
8492 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
8493 VFP format.
8494
2277426b
PA
84952009-07-02 Pedro Alves <pedro@codesourcery.com>
8496
8497 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
8498 linux. Adjust to use "inferior", "info inferiors", "detach
8499 inferior" and "kill inferior" instead of "restart", "info fork",
8500 "detach fork" and "delete fork".
8501 * gdb.base/ending-run.exp: Spell out "info".
8502 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
8503 the "kill" command.
8504
5af949e3
UW
85052009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8506
8507 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
8508 change to prefix TLS offset in hex with 0x.
8509
5d3729b5
UW
85102009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8511
8512 * gdb.base/default.exp: Update test case for "x" changes.
8513
af589bd0
TG
85142009-07-01 Tristan Gingold <gingold@adacore.com>
8515
8516 * gdb.base/bigcore.exp: Make darwin untested.
8517
40974f91
JK
85182009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8519
8520 * gdb.base/completion.exp (directory completion): Create the directory.
8521 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
8522 escapeuniquesub.
8523 (directory completion 2): Expect now ${escapeuniquesub}.
8524 (Glob remaining of directory test): Remove one excessive newline.
8525 Expect the real output.
8526
59dd3af6
JK
85272009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8528
8529 Fix `make check//%' target after `make check' has been ran.
8530 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
8531 a mkdir call.
8532 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
8533 (%/.dir): Remove.
8534
f4e164aa
JK
85352009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8536
8537 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
8538 the expected result record.
8539
69af2122
JK
85402009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8541
8542 Remove racy FAILs relying just on the timeouts.
8543 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
8544 (annotation_level 2): Remove racy FAILs.
8545
2fd481e1
PP
85462009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8547
8548 gdb/10275
889bf7c5
PA
8549 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
8550
c38f313d
DJ
85512009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
8552
8553 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
8554
8b777f02
VP
85552009-06-30 Vladimir Prus <vladimir@codesourcery.com>
8556
8557 * gdb.mi/mi-stack.exp: Testing symbolic options
8558 to -stack-list-locals and -stack-list-arguments.
8559
00c7eacf
JK
85602009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8561
8562 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
8563
6bc80edc
TT
85642009-06-29 Tom Tromey <tromey@redhat.com>
8565
8566 * dg-extract-results.sh: New file.
8567 * Makefile.in (FORCE_PARALLEL): New variable.
8568 (CHECK_TARGET): New conditional variable.
8569 (check): Use CHECK_TARGET.
8570 (DO_RUNTEST): New variable.
8571 (check-single): New target.
8572 (TEST_DIRS): New variable.
8573 (TEST_TARGETS): Likewise.
8574 (check-parallel): New target.
8575 (check-gdb.%): New pattern.
8576 (BASE1_FILES): New variable.
8577 (BASE2_FILES): Likewise.
8578 (check-gdb.base%): New pattern.
8579 (%/.dir): New pattern.
8580 * configure: Rebuild.
8581 * aclocal.m4 (AM_CONDITIONAL): New defun.
8582 * configure.ac: Check whether user is using GNU make.
8583 (GMAKE): New conditional.
8584
794684b6
SW
85852009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
8586
8587 * gdb.cp/namespace-nested-import.cc: New test.
8588 * gdb.cp/namespace-nested-import.exp: New test.
8589
edb3359d
DJ
85902009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
8591
8592 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
8593 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
8594 * gdb.opt/Makefile.in (EXECUTABLES): Update.
8595 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
8596 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
8597 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
8598 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
8599 gdb.opt/inline-markers.c: New files.
8600 * lib/gdb.exp (skip_inline_frame_tests): New function.
8601 (skip_inline_var_tests): New function.
8602
cf657a0c
AS
86032009-06-27 Andreas Schwab <schwab@linux-m68k.org>
8604
8605 * gdb.cp/exception.exp: Don't require $hex before inner frame in
8606 backtrace.
8607
28d41a99
MS
86082009-06-27 Michael Snyder <msnyder@vmware.com>
8609
8610 * gdb.reverse: New directory.
8611 * gdb.reverse/break-reverse.c: New test.
8612 * gdb.reverse/break-reverse.exp: New test.
8613 * gdb.reverse/consecutive-reverse.c: New test.
8614 * gdb.reverse/consecutive-reverse.exp: New test.
8615 * gdb.reverse/finish-reverse.c: New test.
8616 * gdb.reverse/finish-reverse.exp: New test.
8617 * gdb.reverse/machinestate.c: New test.
8618 * gdb.reverse/ms1.c: New test.
8619 * gdb.reverse/machinestate.exp: New test.
8620 * gdb.reverse/Makefile.in: New file.
8621 * gdb.reverse/shr2.c: New test.
8622 * gdb.reverse/solib-reverse.c: New test.
8623 * gdb.reverse/solib-reverse.exp: New test.
8624 * gdb.reverse/step-reverse.c: New test.
8625 * gdb.reverse/step-reverse.exp: New test.
8626 * gdb.reverse/until-reverse.c: New test.
8627 * gdb.reverse/ur1.c: New test.
8628 * gdb.reverse/until-reverse.exp: New test.
8629 * gdb.reverse/watch-reverse.c: New test.
8630 * gdb.reverse/watch-reverse.exp: New test.
8631 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
8632 * configure: Regenerate.
8633
fe3c8b0d
DE
86342009-06-26 Doug Evans <dje@google.com>
8635
8636 * gdb.base/psymtab.exp: Turn off pending breakpoints.
8637
3a72a602
PM
86382009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
8639
8640 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
8641 windows problem for 'file delete $binfile'.
8642
27aa8d6a
SW
86432009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
8644
8645 * gdb.cp/namespace-using.exp: New test.
8646 * gdb.cp/namespace-using.cc: New test.
8647
8ac055f8
JB
86482009-05-20 Joel Brobecker <brobecker@adacore.com>
8649
8650 * gdb.ada/variant_record_packed_array: New testcase.
8651
85e306ed
TT
86522009-06-23 Tom Tromey <tromey@redhat.com>
8653
8654 * gdb.base/charset.exp (test_combination): Regression test.
8655 * gdb.base/charset.c (my_wchar_t): New typedef.
8656 (myvar): New global.
8657 (main): Set myvar.
8658
56643c5e
PM
86592009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
8660
8661 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
8662 target.
8663
1fac167a
UW
86642009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8665
8666 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
8667
7ccb0be9
UW
86682009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8669
8670 * gdb.mi/gdb680.exp: Update test for error message.
8671
568d6575
UW
86722009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8673
8674 * gdb.base/annota1.exp: Allow multiple occurrences of the
8675 frames-invalid annotation.
8676 * gdb.cp/annota2.exp: Likewise.
8677
7cd1089b
PM
86782009-06-15 Phil Muldoon <pmuldoon@redhat.com>
8679
8680 * gdb.cp/gdb2495.cc: New file.
8681 * gdb.cp/gdb2495.exp: New file.
8682
72c63395
JK
86832009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8684
8685 Report error on GDB crash during runto.
8686 * lib/gdb.exp (runto <eof>): New.
8687
3788363d
DJ
86882009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
8689
8690 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
8691 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
8692 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
8693 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
8694 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
8695 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
8696 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
8697 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
8698 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
8699 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
8700 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
8701 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
8702 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
8703 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
8704 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
8705 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
8706 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
8707 gdb.server/server-mon.exp, gdb.server/server-run.exp,
8708 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8709 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
8710 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
8711 gdb.trace/passcount.exp, gdb.trace/report.exp,
8712 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
8713 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
8714 gdb.trace/while-stepping.exp: Use a unique name for the compiled
8715 executable.
8716
17592de3
PA
87172009-06-07 Pedro Alves <pedro@codesourcery.com>
8718
8719 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
8720 defined before referencing it.
8721
701e355d
DE
87222009-06-03 Doug Evans <dje@google.com>
8723
8724 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
8725 * gdb.arch/i386-see.c: Ditto.
8726
f2292c65
PM
87272009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
8728
8729 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
8730 (check_macro): Return 1 if undefined.
8731 If first test fails, check if macro debug information is available,
8732 and report unsupported test if no macro information is found.
8733
5a437975
DE
87342009-05-29 Doug Evans <dje@google.com>
8735
8736 * gdb.threads/hand-call-in-threads.exp: New.
8737 * gdb.threads/hand-call-in-threads.c: New.
8738
c141c696
MS
87392009-05-29 Michael Snyder <msnyder@vmware.com>
8740
8741 * gdb.base/break-always.exp: Change "1" to "on".
8742 Add confirmation check.
8743
b3444185
PA
87442009-05-28 Pedro Alves <pedro@codesourcery.com>
8745
8746 * gdb.threads/threxit-hop-specific.c: New.
8747 * gdb.threads/threxit-hop-specific.exp: New.
8748 * gdb.threads/thread-execl.c: New.
8749 * gdb.threads/thread-execl.exp: New.
8750
b6313243
TT
87512009-05-27 Tom Tromey <tromey@redhat.com>
8752 Thiago Jung Bauermann <bauerman@br.ibm.com>
8753
8754 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
8755 (mi_child_regexp): Likewise.
8756 (mi_list_varobj_children_range): Likewise.
8757 (mi_get_features): Likewise.
8758 (mi_list_varobj_children): Rewrite.
8759 * gdb.python/python-mi.exp: New file.
8760
a6bac58e
TT
87612009-05-27 Tom Tromey <tromey@redhat.com>
8762 Thiago Jung Bauermann <bauerman@br.ibm.com>
8763 Phil Muldoon <pmuldoon@redhat.com>
8764 Paul Pluzhnikov <ppluzhnikov@google.com>
8765
8766 * gdb.python/python-prettyprint.exp: New file.
8767 * gdb.python/python-prettyprint.c: New file.
8768 * gdb.python/python-prettyprint.py: New file.
8769 * gdb.base/display.exp: print/r is now valid.
8770
2c74e833
TT
87712009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
8772 Tom Tromey <tromey@redhat.com>
8773 Pedro Alves <pedro@codesourcery.com>
8774 Paul Pluzhnikov <ppluzhnikov@google.com>
8775
8776 * gdb.python/python-template.exp: New file.
8777 * gdb.python/python-template.cc: New file.
8778 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8779 tests.
8780 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8781 Call it.
8782 (test_value_after_death): New proc.
8783 * gdb.python/python-value.c (PTR): New typedef.
8784 (main): New variable 'x'.
8785
89c73ade
TT
87862009-05-27 Tom Tromey <tromey@redhat.com>
8787
8788 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8789 tests.
8790 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8791 Call it.
8792
a75724bc
PA
87932009-05-27 Pedro Alves <pedro@codesourcery.com>
8794
8795 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
8796
e58b0e63
PA
87972009-05-24 Pedro Alves <pedro@codesourcery.com>
8798
8799 * gdb.threads/fork-thread-pending.c: New.
8800 * gdb.threads/fork-thread-pending.exp: New.
8801
4ac36638
JK
88022009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8803
8804 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
8805 * gdb.dwarf2/dw2-strp.S (a_string2): New.
8806
889bf7c5 88072009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 8808
889bf7c5 8809 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 8810
b242c3c2
PA
88112009-05-17 Pedro Alves <pedro@codesourcery.com>
8812
8813 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
8814 `gdb_get_line_number'. Call `callee' in both parent and child.
8815 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
8816 `gdb_get_line_number' instead of hardcoding line numbers.
8817 (catch_fork_unpatch_child): New procedure to test detaching
8818 breakpoints from child fork.
8819 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
8820 hardcoding line numbers.
8821 (do_fork_tests): Run `catch_fork_unpatch_child'.
8822
ee342b23
VP
88232009-05-17 Vladimir Prus <vladimir@codesourcery.com>
8824
8825 * gdb.mi/mi-cmd-var.exp: Check that when varobj
8826 of structure type enters or leaves the scope, it
8827 is reported by -var-update.
8828
e2009e98
DE
88292009-05-11 Doug Evans <dje@sebabeach.org>
8830
8831 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 8832 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
8833 * gdb.threads/schedlock.c (main): Fix off-by-one error.
8834
00903456
JK
88352009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8836
8837 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
8838
dc621c35
DE
88392009-04-30 Doug Evans <dje@google.com>
8840
8841 * gdb.threads/watchthreads2.exp: New testcase.
8842 * gdb.threads/watchthreads2.c: New testcase.
8843
9ab4e744
DE
88442009-04-29 Doug Evans <dje@google.com>
8845
8846 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
8847 * gdb.cp/mb-ctor.cc: Ditto.
8848 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
8849 * gdb.cp/mb-inline.h (multi_line_foo): New function.
8850 * gdb.cp/mb-inline1.cc: Call it.
8851 * gdb.cp/mb-inline2.cc: Ditto.
8852 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
8853 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
8854
484086b7
JK
88552009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8856
8857 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
8858 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
8859 Replace all uses of `decimal' by `nonzero'.
8860 (info macro FROM_COMMANDLINE): New test.
8861
379a77b5
TT
88622009-04-27 Tom Tromey <tromey@redhat.com>
8863
8864 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
8865
b92b73c2
DE
88662009-04-27 Doug Evans <dje@google.com>
8867
8868 * gdb.threads/watchthreads.c (main): Initialize args before starting
8869 the threads. Plus formatting cleanup.
8870 * gdb.threads/watchthreads.exp: Avoid errant failures due to
8871 biased scheduling of one thread.
8872
945a118d
JG
88732009-04-27 Jerome Guitton <guitton@adacore.com>
8874
8875 * gdb.cp/templates.cc (GetMax): New template.
8876 (main): Declare two instances of GetMax.
8877 * gdb.cp/templates.exp: Add new test.
8878
d389af10
JK
88792009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8880
8881 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
8882
e7f86de9
JM
88832009-04-22 Joseph Myers <joseph@codesourcery.com>
8884
8885 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
8886
334cc82d
TT
88872009-04-15 Tom Tromey <tromey@redhat.com>
8888
8889 * gdb.base/charset.exp: Add regression test.
8890
d12672cc
JB
88912009-04-14 Joel Brobecker <brobecker@adacore.com>
8892
8893 * gdb.base/exe-lock.exp: New testcase.
8894
18e8c3bc
TT
88952009-04-13 Tom Tromey <tromey@redhat.com>
8896
8897 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
8898 operator on Frame.
8899
5ecd5cbe
UW
89002009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8901
8902 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
8903 * gdb.server/ext-attach.exp: Likewise.
8904
7309f756
VP
89052009-04-03 Vladimir Prus <vladimir@codesourcery.com>
8906
8907 Eliminate some sleep usage.
8908
889bf7c5
PA
8909 * gdb.mi/basics.c (do_nothing): New.
8910 (main): Use do_nothing instead of printf, so that
8911 not to introduce race condition between output of
8912 inferiour and output of gdb. Do not use sleep as it
8913 is not generally available on embedded targets.
7309f756 8914
f4b95f6f
PA
89152009-04-02 Pedro Alves <pedro@codesourcery.com>
8916
8917 * gdb.server/ext-attach.exp: Expect an optional process id after
8918 "Detached from remote process".
8919
de40b933
JK
89202009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8921
8922 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
8923 gdb.dwarf2/dw2-unresolved.exp: New.
8924
2ae101a4
PA
89252009-04-02 Pedro Alves <pedro@codesourcery.com>
8926
8927 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
8928 mi_run_to_main.
8929
56a8e183
PA
89302009-04-02 Pedro Alves <pedro@codesourcery.com>
8931
8932 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
8933 mi_run_to_main. Skip thread exit test on remote targets.
8934 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
8935 mi_run_to_main.
8936 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
8937 mi_run_to_main.
8938 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
8939 when expecting ^connected. Detect when the target doesn't support
8940 non-stop mode.
8941 (mi_run_cmd): Detect if non-stop mode was requested by isn't
8942 supported. Return -1 on error, 0 on success.
8943 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
8944 (mi_runto): Return mi_runto_helper's result explicitly.
8945
c35fafde
PA
89462009-04-01 Pedro Alves <pedro@codesourcery.com>
8947
8948 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
8949
f8a8dce6
JB
89502009-04-01 Tom Tromey <tromey@redhat.com>
8951
8952 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
8953 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
8954 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
8955 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
8956
71c25dea
TT
89572009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
8958 Jan Kratochvil <jan.kratochvil@redhat.com>
8959
8960 PR gdb/931
8961 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
8962 output.
8963 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
8964 for gdb/931.
8965 * dw2-strp.S (DW_AT_language): Change to C++.
8966 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
8967
02d9a9ce
JB
89682009-03-31 Joel Brobecker <brobecker@adacore.com>
8969
8970 * gdb.ada/tasks: New testcase.
8971
1042e4c0
SS
89722009-03-30 Stan Shebs <stan@codesourcery.com>
8973
8974 * gdb.trace/actions.exp: Update to match new info trace format.
8975 * gdb.trace/deltrace.exp: Ditto.
8976 * gdb.trace/infotrace.exp: Ditto.
8977 * gdb.trace/passcount.exp: Ditto.
8978 * gdb.trace/save-trace.exp: Ditto.
8979 * gdb.trace/while-stepping.exp: Ditto.
8980 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
8981
f8f6f20b
TJB
89822009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8983
8984 * gdb.python/python-frame.c: New file.
8985 * gdb.python/python-frame.exp: New file.
8986
c0c6f777
TJB
89872009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
8988
8989 * gdb.python/python-value.exp: Add tests for the address
8990 attribute.
8991
3cb51905
AS
89922009-03-29 Andreas Schwab <schwab@linux-m68k.org>
8993
8994 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
8995
88fc996f
DE
89962009-03-26 Doug Evans <dje@google.com>
8997
8998 * gdb.mi/mi-nonstop-exit.exp: New file.
8999 * gdb.mi/non-stop-exit.c: New file.
9000
56ef84b1
TT
90012009-03-26 Tom Tromey <tromey@redhat.com>
9002
9003 Update for change to prologue skipping:
9004 * gdb.mi/mi2-simplerun.exp: Update.
9005 * gdb.mi/mi2-break.exp: Update.
9006 * gdb.mi/mi-simplerun.exp: Update.
9007 * gdb.mi/mi-break.exp: Update.
9008 * gdb.base/ending-run.exp: Update.
9009
def2b000
TJB
90102009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
9011
9012 * gdb.python/python-value.exp (test_value_in_inferior): Test
9013 gdb.Value.is_optimized_out attribute.
9014
442ddf59
JK
90152009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
9016
9017 * gdb.dwarf2/dw2-noloc-main.c: New file.
9018 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
9019 (.text): Remove.
9020 (.data): New.
9021 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
9022 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
9023 (DW_TAG_subprogram func_cu1, noloc): Remove.
9024 (main): New.
9025 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
9026 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
9027 (file_symbols): New procedure.
9028
a8df5de4
TT
90292009-03-25 Tom Tromey <tromey@redhat.com>
9030
9031 * gdb.base/charset.exp (valid_target_charset): New proc.
9032 Use it to skip tests on invalid charsets.
9033
cc1d7add
PM
90342009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
9035
9036 * gdb.base/completion.exp: Add a test for directory completion.
9037
bcd5727b
JK
90382009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9039
9040 Fix a racy FAIL.
9041 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
9042 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
9043
cc924cad
TJB
90442009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
9045
9046 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
9047 * gdb.python/python-function.exp: Add test for function returning
9048 a GDB value.
9049
bc3b79fd
TJB
90502009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
9051
9052 * gdb.python/python-function.exp: New file.
9053
6c7a06a3
TT
90542009-03-20 Tom Tromey <tromey@redhat.com>
9055
9056 * gdb.base/store.exp: Update for change to escape output.
9057 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
9058 to escape output.
9059 * gdb.base/pointers.exp: Update for change to escape output.
9060 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
9061 to escape output.
9062 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
9063 escape output.
9064 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
9065 to escape output.
9066 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
9067 escape output.
9068 * gdb.base/setvar.exp: Update for change to escape output.
9069 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
9070 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
9071 to escape output.
9072 (test_print_string_constants): Likewise.
9073 * gdb.base/charset.exp (valid_host_charset): Check size of
9074 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
9075 cases. Handle "auto"-related output.
9076 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
9077 (uvar, Uvar): New globals.
9078
c31af87b
JG
90792009-03-19 Jerome Guitton <guitton@adacore.com>
9080
9081 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
9082 deltas.
9083 * gdb.ada/fixed_points.exp: Ditto.
9084
51272cf2
PA
90852009-03-18 Pedro Alves <pedro@codesourcery.com>
9086
9087 * return-nodebug.c: Don't include stdio.h.
9088 (init): Delete.
9089 (func): Delete definition and provide extern declaration.
9090 (t): New.
9091 (main): Don't call printf. Call func and store its result in t.
9092 * return-nodebug1.c: New.
9093 * return-nodebug.exp: Don't expect stdio output. Instead, print
9094 the global variable t. Drop printf formatters and cast types from
9095 foreach loop. Don't use prepare_for_testing. Compile
9096 return-nodebug.c and return-nodebug1.c in separate steps. Don't
9097 define FORMAT or CAST.
9098
d24948ac
PP
90992009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9100
9101 * gdb.base/solib-display.exp: Disable test for remote targers.
9102
61ff14c6
JK
91032009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9104
9105 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
9106
cb4dce93
JK
91072009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9108
9109 Fix a racy FAIL.
9110 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
9111 code from `follow parent, print pids'.
9112 (`follow child, print pids', `follow parent, print pids'): Call it.
9113 Replace `gdb_test "break..."' by gdb_breakpoint.
9114
f7c60c5e
VP
91152009-03-13 Vladimir Prus <vladimir@codesourcery.com>
9116
9117 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 9118 sync and async modes.
f7c60c5e 9119
383ace49
JB
91202009-03-12 Joel Brobecker <brobecker@adacore.com>
9121
9122 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
9123 that was checked in by mistake. Remove loading of ada.exp, since
9124 this is not necessary in this case.
9125
4ce102af
JB
91262009-03-12 Joel Brobecker <brobecker@adacore.com>
9127
9128 * gdb.ada/ptype_arith_binop.exp: New testcase.
9129
529a2aef
JB
91302009-03-12 Joel Brobecker <brobecker@adacore.com>
9131
9132 * gdb.ada/mod_from_name: New testcase.
9133
8a38181c
JB
91342009-03-12 Joel Brobecker <brobecker@adacore.com>
9135
9136 * gdb.ada/tick_last_segv: New testcase.
9137
11436dee
VP
91382009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9139
61ff14c6 9140 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 9141
1f31650a
VP
91422009-03-12 Vladimir Prus <vladimir@codesourcery.com>
9143
61ff14c6
JK
9144 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
9145 include the token in ^running and frame info in *stopped.
1f31650a 9146
a3247a22
PP
91472009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9148
9149 * solib-display.exp: New file.
9150 * solib-display-main.c: New file.
9151 * solib-display-lib.c: New file.
61ff14c6 9152
aae64587
PA
91532009-03-05 Pedro Alves <pedro@codesourcery.com>
9154
9155 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
9156
44aabfbc
JK
91572009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9158
9159 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
9160 (list_and_check_macro): Use more specific test name.
9161 (next to definition): Make the test names unique.
9162
c087fcd3
PM
91632009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
9164
9165 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 9166
c86cf029
VP
91672009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9168
9169 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
9170 notifications.
9171 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
9172 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
9173 * lib/mi-support.exp (library_loaded_re): New.
9174 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
9175
3ea85240
VP
91762009-02-17 Vladimir Prus <vladimir@codesourcery.com>
9177
9178 * gdb.gdb/observer.exp: Use test_notification observer, not
9179 normal_stop, everywhere.
9180 (test_normal_stop_notifications): Rename to...
9181 (test_notifications): ...this.
9182 (test_observer_normal_stop): Rename to...
9183 (test_observer): ...this.
9184
1903f0e6
DE
91852009-02-16 Doug Evans <dje@google.com>
9186
9187 * gdb.arch/amd64-disp-step.S (test_int3): New test.
9188 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
9189 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
9190 (test_prefixed_syscall,test_int3): New tests.
9191 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
9192 (test_prefixed_syscall,test_int3): New tests.
9193
1d33d6ba
VP
91942009-02-14 Vladimir Prus <vladimir@codesourcery.com>
9195
3cb51905
AS
9196 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
9197 (mi_expect_interrupt): Likewise.
9198 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
9199 response.
1d33d6ba 9200
faafb047
PM
92012009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9202
9203 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
9204 * gdb.base/pc-fp.exp (get_valueofx): Remove.
9205 Replace calls to get_valueofx by get_hexadecimal_valueof.
9206
417e16e2
PM
92072009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
9208
9209 * lib/gdb.exp (get_valueof): Accept anything as a return value.
9210 (get_integer_valueof): New procedure.
9211 (get_sizeof): Use new get_integer_value_of.
9212 * gdb.base/sizeof.exp: Replace all uses of get_valueof
9213 by get_integer_valueof.
9214
7065b901
TT
92152009-02-13 Tom Tromey <tromey@redhat.com>
9216
9217 * gdb.base/remote.exp (get_sizeof): Remove.
9218 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
9219 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
9220 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
9221 * lib/gdb.exp (get_valueof): Move from long_long.exp.
9222 (get_sizeof): Likewise.
9223
5d7cb8df
JK
92242009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9225
9226 PR fortran/9806
9227 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
9228
b2febfff
PP
92292009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9230
9231 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
9232
4aa995e1
PA
92332009-02-06 Pedro Alves <pedro@codesourcery.com>
9234
9235 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
9236
d8906c6f
TJB
92372009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9238
9239 * gdb.python/python-cmd.exp: New file.
9240
ff4ab08d
TG
92412009-02-06 Tristan Gingold <gingold@adacore.com>
9242
9243 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
9244
aacd552b
TG
92452009-02-05 Tristan Gingold <gingold@adacore.com>
9246
9247 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
9248 pointer is dereferenced and use this signal name in regexp.
9249 * gdb.base/signull.exp: Ditto.
9250 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
9251 * gdb.base/signull.c (main): Ditto.
9252
08c637de
TJB
92532009-02-04 Tom Tromey <tromey@redhat.com>
9254 Thiago Jung Bauermann <bauerman@br.ibm.com>
9255
9256 * gdb.python/python-value.exp: Use `gdb.history' instead of
9257 `gdb.value_from_history'.
9258 (test_value_numeric_ops): Add test for conversion of enum constant.
9259 * gdb.python/python-value.c (enum e): New type.
9260 (evalue): New global.
9261 (main): Use argv.
9262
20261af8
JG
92632009-02-04 Jerome Guitton <guitton@adacore.com>
9264
9265 * gdb.ada/uninitialized_vars: New test program.
9266 * gdb.ada/uninitialized_vars.exp: New testcase.
9267
52e44b43
TT
92682009-02-02 Tom Tromey <tromey@redhat.com>
9269
9270 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
9271 * gdb.cp/pr2489.cc: Rename...
9272 * gdb.cp/pr9594.cc: ... to this.
9273
1c71341a
TT
92742009-02-02 Tom Tromey <tromey@redhat.com>
9275
9276 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
9277 * gdb.cp/pr2489.cc: New file.
9278 * gdb.cp/cpcompletion.exp: New file.
9279
a4295225
TT
92802009-02-02 Tom Tromey <tromey@redhat.com>
9281
9282 PR exp/9059:
9283 * gdb.cp/call-c.exp: Add regression test.
9284 * gdb.cp/call-c.cc (FooHandle): New typedef.
9285 (main): New variable 'handle'.
9286
592375cd
VP
92872009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9288
9289 * lib/mi-support.exp (et_mi_thread_list)
9290 (check_mi_and_console_threads): Adjust for current thread in
9291 -thread-list-ids output.
9292
41447f92
VP
92932009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9294
889bf7c5
PA
9295 * gdb.mi/mi-break.exp (test_disabled_creation): New.
9296 Call it.
41447f92 9297
35669430
DE
92982009-01-28 Doug Evans <dje@google.com>
9299
9300 * gdb.arch/amd64-disp-step.S: New file.
9301 * gdb.arch/amd64-disp-step.exp: New file.
9302 * gdb.arch/i386-disp-step.S: New file.
9303 * gdb.arch/i386-disp-step.exp: New file.
9304
09f00d9a
PM
93052009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
9306
9307 * gdb.base/find.exp: Set newline variable
9308 using quotes instead of braces to fix cygwin failures.
9309
1e8fb976
PA
93102009-01-23 Pedro Alves <pedro@codesourcery.com>
9311
9312 * gdb.base/radix.exp: Add tests to ensure that that set
9313 input-radix 0 and set output-radix 0 are really rejected.
9314
da061712
PA
93152009-01-23 Pedro Alves <pedro@codesourcery.com>
9316
9317 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
9318 copyright years.
9319
dd7e2d2b
PA
93202009-01-23 Pedro Alves <pedro@codesourcery.com>
9321
9322 PR gdb/9664:
9323 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
9324
392452f6
PA
93252009-01-22 Pedro Alves <pedro@codesourcery.com>
9326
9327 PR c++/9631:
9328 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
9329
8653e71c
PM
93302009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
9331
9332 * gdb.server/file-transfer.exp: Use EXEEXT variable for
9333 binfile definition to fix Windows OS failure.
9334
a12cc160
DJ
93352009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9336
9337 PR gdb/9346
9338 * gdb.base/interrupt.c (sigint_handler): New.
9339 (main): Install a SIGINT handler if SIGNALS is defined. Exit
9340 on error.
9341 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
9342 Test "signal SIGINT".
9343
b89667eb
DE
93442009-01-19 Doug Evans <dje@google.com>
9345
9346 * gdb.base/break.exp: Update expected gdb output.
9347 * gdb.base/sepdebug.exp: Ditto.
9348 * gdb.mi/mi-syn-frame.exp: Ditto.
9349 * gdb.mi/mi2-syn-frame.exp: Ditto.
9350 * gdb.base/call-signal-resume.exp: New file.
9351 * gdb.base/call-signals.c: New file.
9352 * gdb.base/unwindonsignal.exp: New file.
9353 * gdb.base/unwindonsignal.c: New file.
9354 * gdb.threads/interrupted-hand-call.exp: New file.
9355 * gdb.threads/interrupted-hand-call.c: New file.
9356 * gdb.threads/thread-unwindonsignal.exp: New file.
9357
adb483fe
DJ
93582009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
9359
9360 * gdb.base/define.exp: Test defining and hooking prefix commands.
9361 * gdb.python/python.exp: Update test for "show user" output.
9362
60023297
JK
93632009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9364
9365 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
9366 now the output exactly, using less wildcards. Expect also the output
9367 of gfortran-4.3. Update for the f-valprint.c modification from
9368 2008-04-22.
9369 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
9370 Remove gdb_test test names where matching the command.
9371
ccc57cf9
PA
93722009-01-01 Pedro Alves <pedro@codesourcery.com>
9373
9374 PR breakpoints/9681:
9375 * gdb.base/watchpoint.exp: Add regression test.
9376
c7a6ca08
PA
93772008-12-31 Pedro Alves <pedro@codesourcery.com>
9378
9379 * gdb.threads/attach-into-signal.exp: Don't use
9380 gdb_suppress_entire_file.
9381 * gdb.threads/attach-stopped.exp: Ditto.
9382 * gdb.threads/attachstop-mt.exp: Ditto.
9383
3a031f65
PA
93842008-12-31 Pedro Alves <pedro@codesourcery.com>
9385
9386 PR gdb/8812:
9387 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
9388
09e6485f
PA
93892008-12-29 Pedro Alves <pedro@codesourcery.com>
9390
9391 PR gdb/7536:
9392 * gdb.base/radix.exp: Add tests to ensure invalid input radices
9393 and unsupported output radices are really rejected.
9394
0cd53049
JK
93952008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9396
9397 * gdb.cp/punctuator.exp: Backslash the '$' signs.
9398
ba163c7e
TT
93992008-12-22 Tom Tromey <tromey@redhat.com>
9400
9401 * gdb.cp/punctuator.exp: New file.
9402
6f4de6c9
JK
94032008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9404
9405 * gdb.base/completion.exp (Completing non-existing component): New test.
9406
0f34d0b4
JK
94072008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9408
9409 Fix for PR gdb/8648.
9410 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
9411 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
9412 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
9413 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
9414
db2ad4c3
JK
94152008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9416
9417 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
9418
bb5ef15e
DP
94192008-12-16 Christophe Lyon <christophe.lyon@st.com>
9420
9421 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
9422 compiler actually generate code at the expected line number.
9423
90142adc
JZ
94242008-12-15 Jie Zhang <jie.zhang@analog.com>
9425
9426 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
9427
fad6eecd
TT
94282008-12-12 Tom Tromey <tromey@redhat.com>
9429
9430 * gdb.base/commands.exp (redefine_hook_test): New proc.
9431 Call it.
9432
17c8aaf5
TT
94332008-12-11 Tom Tromey <tromey@redhat.com>
9434
9435 * gdb.base/macscp.exp: New regression test.
9436
7c8adf68
TT
94372008-12-11 Tom Tromey <tromey@redhat.com>
9438
9439 * gdb.base/macscp.exp: Print "address.addr".
9440 * gdb.base/macscp1.c (struct outer): New struct.
9441 (address): New global.
9442
b05dcbb7
TT
94432008-12-09 Tom Tromey <tromey@redhat.com>
9444
9445 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
9446 Call it.
9447
2d476de1
DE
94482008-12-04 Doug Evans <dje@google.com>
9449
9450 * gdb.server/ext-run.exp: Relax regexp for init program.
9451
87bdc959
TG
94522008-12-03 Tristan Gingold <gingold@adacore.com>
9453
9454 * gdb.base/macscp.exp: Generate an object file during compilation
9455 to work around Darwin dsymutil limitations.
9456
e0740f77
JK
94572008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9458
9459 Test resolving external references to TLS variables.
9460 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
9461 FILE2_THREAD_LOCAL.
9462 (testfile2, srcfile2): New variables.
9463 * gdb.threads/tls.c (file2_thread_local)
9464 (function_referencing_file2_thread_local): New.
9465 * gdb.threads/tls2.c: New file.
9466
67f0aac5
JB
94672008-11-28 Joel Brobecker <brobecker@adacore.com>
9468
9469 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
9470 rather than integer, as integer might not be big enough when
9471 on 64bit targets.
67f0aac5 9472
c332165e
JG
94732008-11-27 Jerome Guitton <guitton@adacore.com>
9474
9475 * gdb.cp/formatted-ref.exp: Add equality test.
9476 * gdb.ada/formatted_ref.exp: Ditto.
9477
fc9b693c
JK
94782008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9479
9480 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
9481 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
9482
a9c64011
AS
94832008-11-20 Andreas Schwab <schwab@suse.de>
9484
9485 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
9486 matching syscall entry point.
9487 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9488 (tcatch_vfork_then_child_follow): Likewise. Finish through
9489 vfork even if we stopped at the syscall trampoline.
9490
e2fd701e
DE
94912008-11-20 Doug Evans <dje@google.com>
9492
9493 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
9494
69abc51c
TJB
94952008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
9496
9497 * gdb.arch/ppc-dfp.exp: New file.
9498 * gdb.arch/ppc-dfp.c: New file.
9499
c14c28ba
PP
95002008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9501
9502 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 9503
2e74121d
DE
95042008-11-17 Doug Evans <dje@google.com>
9505
9506 * gdb.mi/mi-syn-frame.exp: Update expected output.
9507 * gdb.mi/mi2-syn-frame.exp: Update expected output.
9508
66bb093b
VP
95092008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9510
9511 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
9512 "thread N" results in =thread-selected.
9513 * lib/mi-support (mi_run_cmd, mi_expect_stop)
9514 (mi_send_resuming_command_raw): Be prepared for
9515 =thread-selected.
9516
3d043ef6
VP
95172008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9518
a9c64011
AS
9519 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
9520 * lib/mi-support.exp: Likewise.
3d043ef6 9521
808104c8
JB
95222008-11-16 Joel Brobecker <brobecker@adacore.com>
9523
9524 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
9525 commands from the expected output for "help catch".
9526
00b22944
JB
95272008-11-15 Joel Brobecker <brobecker@adacore.com>
9528
9529 * gdb.ada/int_deref.exp: New testcase.
9530
59669435
TT
95312008-11-14 Nick Roberts <nickrob@snap.net.nz>
9532
9533 * gdb.mi/gdb2549.exp: New file.
9534
de04a248
DE
95352008-11-11 Doug Evans <dje@google.com>
9536
9537 * gdb.base/callexit.exp: New file.
9538 * gdb.base/callexit.c: New file.
9539
6b8ce727
DE
95402008-11-10 Doug Evans <dje@google.com>
9541
9542 * lib/gdb.exp (GDBFLAGS): Move -nx ...
9543 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
9544 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
9545 (default_gdb_start,default_gdb_exit): Ditto.
9546 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
9547 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
9548 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
9549 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
9550 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
9551 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
9552
1b14b8aa
AS
95532008-11-03 Andreas Schwab <schwab@suse.de>
9554
9555 * gdb.base/hashline2.exp: Fix typo.
9556 * gdb.base/hashline3.exp: Likewise.
9557
f3134b88
TT
95582008-10-30 Tom Tromey <tromey@redhat.com>
9559
9560 * gdb.base/pointers.exp: Add test.
9561 * gdb.base/pointers.c (k, S): New typedefs.
9562 (instance): New global.
9563
c2226152
AS
95642008-10-30 Andreas Schwab <schwab@suse.de>
9565
9566 * gdb.base/args.exp: Add tests for newlines.
9567
462f405c
JB
95682008-10-30 Joel Brobecker <brobecker@adacore.com>
9569
9570 gdb.base/foll-exec.exp: Update the expected output of a couple
9571 of "info breakpoints" tests.
9572
79a45b7d
TT
95732008-10-28 Tom Tromey <tromey@redhat.com>
9574
9575 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
9576
adc13a14
PA
95772008-10-24 Pedro Alves <pedro@codesourcery.com>
9578
9579 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
9580 gdb_start_cmd.
9581 Use runto_main before any test that requires execution.
9582
252fbfc8
PA
95832008-10-23 Pedro Alves <pedro@codesourcery.com>
9584
9585 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
9586 instead of SIGINT.
9587
28148e3d
JB
95882008-10-22 Joel Brobecker <brobecker@adacore.com>
9589
9590 * gdb.base/completion.exp: Update expected output following
9591 the addition of the "info tasks" command.
9592
c209f847
TT
95932008-10-22 Tom Tromey <tromey@redhat.com>
9594
9595 * gdb.base/exprs.exp (test_expr): Add test for string
9596 concatenation.
9597
f177e350
PA
95982008-10-19 Pedro Alves <pedro@codesourcery.com>
9599
9600 * configure.ac: Output gdb.python/Makefile.
9601 * configure: Regenerate.
9602 * gdb.python/Makefile.in: New.
9603
cce89356
JB
96042008-10-16 Joel Brobecker <brobecker@adacore.com>
9605
9606 * gdb.base/foll-fork.exp: Adjust the expected output to match
9607 the new description for fork/vfork catchpoints in the "info
9608 breakpoints" output.
9609
176d289d
TJB
96102008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9611
9612 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
9613
a08702d6
TJB
96142008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9615
9616 * gdb.python/python-value.c: New file.
9617 * gdb.python/python-value.exp: New file.
9618
1c5cfe86
PA
96192008-10-15 Pedro Alves <pedro@codesourcery.com>
9620
9621 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
9622
5a98ad69
DP
96232008-10-15 Denis Pilat <denis.pilat@st.com>
9624
41702f1b 9625 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 9626
dcb1a1e2
TT
96272008-10-09 Tom Tromey <tromey@redhat.com>
9628
9629 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
9630 'fprintf' and 'stderr'.
9631
9124fe48
JB
96322008-10-07 Joel Brobecker <brobecker@adacore.com>
9633
9634 * gdb.ada/ref_tick_size.exp: New testcase.
9635
45452591
DE
96362008-10-06 Doug Evans <dje@google.com>
9637
9638 * gdb.dwarf2/dw2-cu-size.exp: New file.
9639 * gdb.dwarf2/dw2-cu-size.S: New file.
9640
9641 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
9642 .Ltype_int for clarity.
9643
4fc5b208
PP
96442008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9645
9646 PR gdb/2384:
9647 * gdb.cp/gdb2384.exp: Extended to test more cases.
9648 * gdb.cp/gdb2384.cc: Likewise.
9649 * gdb.cp/gdb2384-base.h: Likewise.
9650 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 9651
d78df370
JK
96522008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9653
9654 * gdb.base/maint.exp (maint print type): Remove printing
9655 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
9656
9a044a89
TT
96572008-09-30 Tom Tromey <tromey@redhat.com>
9658
9659 * gdb.base/macscp.exp: Add completion tests.
9660 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
9661 (TWENTY_THREE): Likewise.
9662 (FORTY_EIGHT): Likewise.
9663
506800a9
TT
96642008-09-30 Tom Tromey <tromey@redhat.com>
9665
9666 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
9667 everywhere.
9668 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
9669
1a6f01b5
JK
96702008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9671
9672 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
9673 testcase is derived from. Fix racy dependency on an expected PID
9674 number. No longer support the testcase on Linux kernel 2.4.x.
9675
2fae03e8
TT
96762008-09-27 Tom Tromey <tromey@redhat.com>
9677
9678 * gdb.base/macscp.exp: Add tests for stringification, splicing,
9679 and varargs.
9680
1ad15515
PA
96812008-09-22 Pedro Alves <pedro@codesourcery.com>
9682
9683 * lib/mi-support.exp (mi_expect_interrupt): New.
9684 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
9685 from gdb.mi/mi-nonstop.exp.
9686 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
9687 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
9688 lib/mi-support.exp.
9689 Use mi_check_thread_states throughout. Avoid ".*" and do not
9690 require an anchor after -exec-run.
9691
d0b76dc6
DJ
96922008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
9693
9694 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
9695 stop is pending. Avoid ".*" when two stops are pending.
9696 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
9697 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
9698 newlines in fullnames.
9699 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
9700 (mi_expect_stop): Update comments. Only anchor in sync mode.
9701 Do not match newlines.
9702 (mi_send_resuming_command_raw): Always return status.
9703 (mi_get_stop_line): Do not match more than one line by accident.
9704 Only anchor in sync mode.
9705 (mi_run_inline_test): If -exec-next fails, give up.
9706
9990c830
UW
97072008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9708
9709 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
9710 on SPU.
9711
ebcf6f00
JB
97122008-09-10 Joel Brobecker <brobecker@adacore.com>
9713
9714 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
9715
b6db24e5
JB
97162008-09-10 Joel Brobecker <brobecker@adacore.com>
9717
9718 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
9719 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9720 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
9721 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9722 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
9723 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
9724 gdb.ada/interface.exp, gdb.ada/null_array.exp,
9725 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9726 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9727 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9728 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
9729 Include the "= " sequence in the expected output of print tests.
9730
2bf448e0
JB
97312008-09-10 Joel Brobecker <brobecker@adacore.com>
9732
9733 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
9734 description for boolean types.
9735
d51fd4c8
PA
97362008-09-09 Pedro Alves <pedro@codesourcery.com>
9737
9738 * gdb.base/hook-stop-continue.c: New.
9739 * gdb.base/hook-stop-continue.exp: New.
9740
694182d2
DJ
97412008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9742
9743 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
9744
3b8a7fc0
JG
97452008-09-08 Jerome Guitton <guitton@adacore.com>
9746
9747 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
9748 (stack_check_probe_2, stack_check_probe_loop_1)
9749 (stack_check_probe_loop_2): New functions.
9750 (main): Add call to these new functions.
9751 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
9752 functions, check that the breakpoint is inserted at the appropriate
9753 location.
9754 (insert_breakpoint): Slightly refine this procedure so that it can
9755 be called several times in the test.
9756
96cc0ae8
JG
97572008-09-08 Jerome Guitton <guitton@adacore.com>
9758
9759 * gdb.base/stack-checking.c: New file.
9760 * gdb.base/stack-checking.exp: New file.
9761
1f08b409
TJB
97622008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9763
9764 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
9765 * gdb.arch/altivec-regs.exp: Likewise.
9766 * gdb.arch/vsx-regs.exp: Likewise.
9767
3099e1c4
TJB
97682008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9769
9770 * gdb.arch/ppc-fp.exp: New file.
9771 * gdb.arch/ppc-fp.c: New file.
9772
cc69bfc1
PP
97732008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9774
9775 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
9776 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 9777
b02a33db
MS
97782008-09-04 Michael Snyder <msnyder@vmware.com>
9779
9780 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
9781 as "at" (for non-debug functions such as _start).
9782
2992cbe0
UW
97832008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9784
9785 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
9786 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
9787 software watchpoints.
9788 * gdb.base/watch_thread_num.exp: Likewise.
9789
514f746b
AR
97902008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
9791
9792 * gdb.arch/i386-bp_permanent.exp: New test.
9793
876cecd0
TT
97942008-08-24 Tom Tromey <tromey@redhat.com>
9795
9796 * gdb.base/maint.exp: Update "maint print type".
9797
80f73d71
VP
97982008-08-21 Vladimir Prus <vladimir@codesourcery.com>
9799
9800 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
9801 support. Adjust the order of "*running" notifications.
9802 * gdb.mi/non-stop.c: Don't cast from int to void* and
9803 back.
9804
d9c78d7d
MK
98052008-08-20 Mark Kettenis <kettenis@gnu.org>
9806
9807 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
9808 expect to find it in the "info frame" output.
9809
97a2d1d3
DJ
98102008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
9811
9812 * gdb.base/interp.exp: Always consume both prompts.
9813
b96e2927
PA
98142008-08-20 Pedro Alves <pedro@codesourcery.com>
9815
9816 * gdb.base/pending.exp: Test pending breakpoints without symbols
9817 loaded.
9818
8cf6e61a
VP
98192008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9820
9821 * lib/mi-support.exp (mi_expect_stop): Produce
9822 more details on failures.
9823 * gdb.mi/mi-nonstop.exp: New.
9824 * gdb.mi/non-stop.c: New.
9825
c6ebd6cf
VP
98262008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9827
a9c64011
AS
9828 * gdb.mi/mi-async.exp: Use 'set target-async'.
9829 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 9830
46a9b8ed
DJ
98312008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
9832
9833 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
9834
44feb3ce
TT
98352008-08-17 Tom Tromey <tromey@redhat.com>
9836
9837 * gdb.base/help.exp (help catch): Rewrite.
9838
311a4e6b
TJB
98392008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9840
9841 * gdb.base/define.exp: Test indented command documentation.
9842 * gdb.python/python.exp: Test indented multi-line command.
9843
604c2f83
LM
98442008-08-15 Luis Machado <luisgpm@br.ibm.com>
9845
9846 * testsuite/gdb.arch/vsx-regs.c: New source file.
9847 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
9848 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
9849
886a217c
TT
98502008-08-14 Tom Tromey <tromey@redhat.com>
9851
9852 * gdb.base/macscp.exp: Add regression test for "macro define" or
9853 "macro undef" with no arguments.
9854
c814a4f3
PP
98552008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9856
9857 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 9858
12ab8a60
UW
98592008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9860
9861 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
9862
d57a3c85
TJB
98632008-08-06 Tom Tromey <tromey@redhat.com>
9864
9865 * gdb.python/python.exp: New file.
9866
c7b778ff
JK
98672008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9868
9869 Fix for PR gdb/1543.
9870 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
9871 $LOCATION.
9872 (location): New variable.
9873 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
9874 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
9875 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
9876 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
9877 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
9878 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
9879 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
9880 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
9881 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
9882 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
9883 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
9884 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
9885 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
9886 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
9887 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
9888 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
9889 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
9890 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
9891 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
9892 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
9893 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
9894 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
9895 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
9896 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
9897 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
9898 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
9899 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
9900 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
9901 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
9902 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
9903 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
9904 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
9905 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
9906 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
9907 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
9908 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
9909 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
9910 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
9911 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
9912 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
9913 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
9914 gdb.base/type-opaque.exp, gdb.base/until.exp,
9915 gdb.base/value-double-free.c, gdb.base/varargs.exp,
9916 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
9917 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
9918 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9919 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
9920 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
9921 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9922 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9923 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9924 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
9925 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
9926 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
9927 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
9928 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
9929 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
9930 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
9931 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
9932 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
9933 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
9934 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
9935 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9936 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
9937 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
9938 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
9939 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9940 gdb.pascal/types.exp, gdb.stabs/weird.exp,
9941 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
9942 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
9943 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
9944 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
9945 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
9946 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
9947 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9948 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9949 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9950 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9951 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9952 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
9953 lib/mi-support.exp, lib/trace-support.exp: Remove reference
9954 to bug-gdb@prep.ai.mit.edu .
9955
5e06a3d1
VP
99562008-07-31 Vladimir Prus <vladimir@codesourcery.com>
9957
9958 * lib/mi-support.exp (mi_load_shlibs): New.
9959 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
9960
9d81d21b
VP
99612008-07-30 Vladimir Prus <vladimir@codesourcery.com>
9962
9963 * lib/mi-support.exp (get_mi_thread_list)
9964 (check_mi_and_console_threads): New, moved from ...
9965 * gdb.mi/mi-pthread.exp: ...here.
9966 * gdb.mi/gdb669.exp (get_mi_thread_list)
9967 (check_mi_and_console_threads): Delete.
9968 * gdb.mi/mi2-pthread.exp: Likewise.
9969
bae98fe0
TT
99702008-07-28 Tom Tromey <tromey@redhat.com>
9971
9972 * Makefile.in (just-check): Remove. Move body to...
9973 (check): ... here.
9974
57380f4e
DJ
99752008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9976
9977 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
9978 Add a test for duplicated SIGINTs.
9979
e09490f1
DJ
99802008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9981
9982 * gdb.threads/schedlock.exp (get_args): Update to work for any
9983 value of NUM.
9984 (Top level): Report the number of threads that did not resume.
9985
6387b45f
DJ
99862008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9987
9988 * gdb.dwarf2/dw2-compressed.S: Also define __start.
9989
62f64ff2
DJ
99902008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9991
9992 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
9993 non-MI prompt.
9994
fa8de41e
TT
99952008-07-26 Tom Tromey <tromey@redhat.com>
9996
9997 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
9998 (function_struct, function_struct_ptr): New globals.
9999 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
10000 function pointer in a struct.
10001
ccb3ac8a
TT
100022008-07-26 Tom Tromey <tromey@redhat.com>
10003
10004 * gdb.base/macscp.exp: Add test for macro lexing bug.
10005
d7d9f01e
TT
100062008-07-18 Tom Tromey <tromey@redhat.com>
10007
10008 * gdb.base/macscp.exp: Add macro tests.
10009
9bf07184
PP
100102008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10011
10012 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
10013
becf6477
PP
100142008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10015
10016 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
10017
0709f7d3
PP
100182008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
10019
10020 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 10021
7093c834
PP
100222008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
10023
10024 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 10025
b432ffe3
JK
100262008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10027
10028 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
10029
b1a268e5
VP
100302008-07-12 Vladimir Prus <vladimir@codesourcery.com>
10031
10032 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
10033
e2995f8e
KB
100342008-07-11 Kevin Buettner <kevinb@redhat.com>
10035
10036 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
10037 of regexp to account for changes made to GDB in the printing of
10038 byte vectors.
10039
14032a66
TT
100402008-07-11 Tom Tromey <tromey@redhat.com>
10041
10042 * gdb.base/completion.exp: Add 'help' completion test.
10043
981505ef
JK
100442008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10045
10046 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
10047
10568435
JK
100482008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10049
10050 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
10051
4487aabf
PA
100522008-07-09 Pedro Alves <pedro@codesourcery.com>
10053
10054 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
10055
a4a9b1c4
PA
100562008-07-09 Pedro Alves <pedro@codesourcery.com>
10057
10058 * gdb.base/fullname.exp: Restore pwd if compiling failed.
10059
3c3185ac
JK
100602008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10061
10062 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
10063
7ebd49dc
VP
100642008-06-28 Vladimir Prus <vladimir@codesourcery.com>
10065
10066 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
10067 previous commit. Add a comment.
10068
84e46146
PA
100692008-06-28 Pedro Alves <pedro@codesourcery.com>
10070
10071 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
10072
0f8d4a2f
VP
100732008-06-28 Vladimir Prus <vladimir@codesourcery.com>
10074
10075 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
10076
f747e0ce
PA
100772008-06-27 Pedro Alves <pedro@codesourcery.com>
10078
10079 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
10080 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
10081 compiling an executable, link in an object that forces unbuffered
10082 output.
10083 * lib/set_unbuffered_mode.c: New file.
10084
734a5c36
JK
100852008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10086
10087 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
10088
a2840c35
VP
100892008-06-25 Vladimir Prus <vladimir@codesourcery.com>
10090
a9c64011
AS
10091 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
10092 mi_expect_stop.
10093 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
10094 Demand that *running is output.
10095 (detect_async): Perform checking every time.
10096 (mi_send_resuming_command): Extract everything into...
10097 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
10098 (mi_expect_stop): Don't accept any output before *stopped.
10099
6ae37fef
VP
101002008-06-13 Vladimir Prus <vladimir@codesourcery.com>
10101
10102 Robustify mi-simplerun.
a9c64011
AS
10103 * gdb.mi/basics.c (main): Add a call to sleep.
10104 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
10105 * gdb.mi/mi2-cli.exp: Likewise.
10106 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 10107
b4aa76f0 101082008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
10109
10110 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
10111
e1ac3328
VP
101122008-06-10 Vladimir Prus <vladimir@codesourcery.com>
10113
a9c64011
AS
10114 * gdb.mi/mi-console.exp: Adjust.
10115 * gdb.mi/mi-syn-frame.exp: Adjust.
10116 * gdb.mi/mi2-console.exp: Adjust.
10117 * gdb.mi/mi2-syn-frame.exp: Adjust.
10118 * lib/mi-support.exp (mi_run_cmd): Adjust.
10119 (mi_send_resuming_command): Adjust.
e1ac3328 10120
f7f9a841
VP
101212008-06-10 Vladimir Prus <vladimir@codesourcery.com>
10122
10123 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
10124 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
10125 testing of stopped.
10126 * gdb.mi/mi2-syn-frame.exp: Likewise.
10127 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
10128 (async, detect_async): New.
10129 (mi_expect_stop, mi_continue_to_line): Adjust expectation
10130 depending on if we're running in sync or async mode.
f7f9a841 10131
37cd5d19
TT
101322008-06-09 Tom Tromey <tromey@redhat.com>
10133
10134 * gdb.base/completion.exp: New tests for field name completion
10135 with spaces, and field name completion with '->'.
10136
65d12d83
TT
101372008-06-06 Tom Tromey <tromey@redhat.com>
10138
10139 * gdb.base/break1.c (struct some_struct): New struct.
10140 (values): New global.
10141 * gdb.base/completion.exp: Add field name completion test.
10142
ebfe2e3f
PP
101432008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10144
10145 * gdb.cp/call-c.exp: Test for incorrect handling of reference
10146 to pointer.
10147 * gdb.cp/call-c.cc: Likewise.
10148
bcf6fc3a
NR
101492008-06-06 Nick Roberts <nickrob@snap.net.nz>
10150
10151 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
10152 annotation.
10153
49fd4a42 101542008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 10155 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
10156
10157 * gdb.threads/execl.c, gdb.threads/execl1.c,
10158 gdb.threads/execl.exp: New tests.
a9c64011 10159
8a34ac3f
AR
101602008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
10161 Daniel Jacobowitz <dan@codesourcery.com>
10162
10163 * gdb.cp/exception.exp: Activate test, make it work with pending
10164 catchpoints.
10165
86ae69ef
JK
101662008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
10167
10168 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
10169
f7f9ae2c
VP
101702008-05-28 Vladimir Prus <vladimir@codesourcery.com>
10171
a9c64011
AS
10172 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
10173 now printed.
10174 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 10175
2a2d4dc3
AS
101762008-05-27 Andreas Schwab <schwab@suse.de>
10177
10178 * gdb.base/frame-args.exp: Handle arguments that are optimized
10179 out.
10180
5099e4d9
LM
101812008-05-26 Luis Machado <luisgpm@br.ibm.com>
10182
10183 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
10184 quiet for ppc32 and group options into a single variable.
10185
d9c36a91
JB
101862008-05-23 Joel Brobecker <brobecker@adacore.com>
10187
10188 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
10189 of zero-size elements.
10190 * gdb.ada/null_array.exp: Test printing this new array.
10191
103a8671
JK
101922008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10193
10194 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
10195
07a4cc1a 101962008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
10197
10198 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
10199 of the "finish" command.
10200
55f996a7
NR
102012008-05-21 Nick Roberts <nickrob@snap.net.nz>
10202
10203 * gdb.base/annota1.exp: Test for new annotation.
10204
907fc202
UW
102052008-05-16 Pedro Alves <pedro@codesourcery.com>
10206
10207 * gdb.base/fixsection.exp: New file.
10208 * gdb.base/fixsection0.c: New file.
10209 * gdb.base/fixsection1.c: New file.
10210
e8f97270
UW
102112008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10212
10213 * gdb.base/annota1.exp: Accept printf@... in place of printf.
10214 * gdb.base/annota3.exp: Likewise.
10215
ac0bb574
NF
102162008-05-13 Nathan Froyd <froydnj@codesourcery.com>
10217
10218 * gdb.base/watch_thread_num.exp: Don't run tests that require
10219 watchpoints if the target doesn't support them.
10220
6fadd07a
DE
102212008-05-12 Doug Evans <dje@google.com>
10222
10223 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
10224
6e9a4a30
JB
102252008-05-09 Joel Brobecker <brobecker@adacore.com>
10226
10227 * gdb.ada/assign_1.exp: New testcase.
10228
08388c79
DE
102292008-05-09 Doug Evans <dje@google.com>
10230
a3c83fae
DE
10231 * gdb.base/find.exp: New file.
10232 * gdb.base/find.c: New file.
08388c79 10233
bd5ddfe8
DJ
102342008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
10235
10236 * gdb.base/commands.exp (watchpoint_command_test): Handle
10237 gdb,no_hardware_watchpoints.
10238 * gdb.base/float.exp: Allow ARM targets without floating point.
10239 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
10240
b5dd68e2 102412008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 10242 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
10243
10244 * gdb.ada/lang_switch: New test program.
10245 * gdb.ada/lang_switch.exp: New testcase.
10246
382d13d1
DE
102472008-05-05 Doug Evans <dje@google.com>
10248
10249 * gdb.base/help.exp (disassemble): Update expected help text.
10250
9dd789d0
PA
102512008-05-04 Pedro Alves <pedro@codesourcery.com>
10252
10253 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
10254
611c83ae
PA
102552008-05-04 Pedro Alves <pedro@codesourcery.com>
10256
10257 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
10258 different times.
10259
ff013f42
JK
102602008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10261
10262 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
10263 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
10264 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
10265 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
10266
96dff6a2
VP
102672008-05-04 Vladimir Prus <vladimir@codesourcery.com>
10268
10269 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
10270 notification to appear.
10271
55cd6f92
DJ
102722008-05-04 Daniel Jacobowitz <dan@debian.org>
10273
10274 * gdb.base/fullname.c: New file.
10275 * gdb.base/fullname.exp: New file.
10276 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
10277
d705c43c
PA
102782008-05-03 Pedro Alves <pedro@codesourcery.com>
10279
10280 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
10281 expressions with macros.
10282
333222e1
JK
102832008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10284
10285 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
10286
5ac01682
DJ
102872008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
10288
10289 * gdb.base/completion.exp: Handle lack of other symbols beginning
10290 with "a".
10291
10292 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
10293
237fc4c9
PA
102942008-05-02 Jim Blandy <jimb@codesourcery.com>
10295
10296 * gdb.asm/asmsrc1.s: Add scratch space.
10297
ed5e9466
DJ
102982008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10299 Daniel Jacobowitz <dan@codesourcery.com>
10300
10301 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
10302 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
10303 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
10304
b39cc962
DJ
103052007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
10306
10307 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
10308
36d520f5
JB
103092008-05-01 Joel Brobecker <brobecker@adacore.com>
10310
10311 * gdb.base/info-target.exp: New testcase.
10312
8d4e3071
DJ
103132008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10314
10315 * gdb.cp/hang.exp: Use .cc instead of .C.
10316 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
10317 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
10318
6f3f3097
DJ
103192008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10320
10321 * gdb.base/gdb1250.exp: Remove perror.
10322 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
10323
5550a914
PA
103242008-04-30 Pedro Alves <pedro@codesourcery.com>
10325
10326 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
10327 .2byte.
10328
d848e687
DJ
103292008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
10330
10331 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
10332 (maybe_kfail): New.
10333
93b5768b
PA
103342008-04-25 Pedro Alves <pedro@codesourcery.com>
10335
10336 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
10337
721c02de
VP
103382008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10339
a9c64011
AS
10340 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
10341 * gdb.mi/mi2-syn-frame.exp: Likewise.
10342 * lib/mi-support.exp: Likewise.
721c02de 10343
74960c60
VP
103442008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10345
10346 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
10347 to specify regexp for the location to stop at.
10348 * gdb.base/break-always.c: New.
10349 * gdb.base/break-always.exp: New.
10350
d24317b4
VP
103512008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10352
10353 * lib/mi-support.exp (mi_runto_helper): Adjust
10354 for the original-location field.
10355 (mi_create_breakpoint, mi_list_breakpoints): New.
10356 * gdb.mi/mi-break.exp: Adjust.
10357 * gdb.mi/mi2-break.exp: Adjust.
10358 * gdb.mi/mi-pending.exp: Adjust.
10359 * gdb.mi/mi-simplerun.exp: Adjust.
10360 * gdb.mi/mi2-simplerun.exp: Adjust.
10361 * gdb.mi/mi-syn-frame.exp: Adjust.
10362 * gdb.mi/mi2-syn-frame.exp: Adjust.
10363 * gdb.mi/mi-until.exp: Adjust.
10364 * gdb.mi/mi2-until.exp: Adjust.
10365 * gdb.mi/mi-var-display.exp: Adjust.
10366 * gdb.mi/mi2-var-display.exp: Adjust.
10367 * gdb.mi/mi-watch.exp: Adjust.
10368 * gdb.mi/mi2-watch.exp: Adjust.
10369
fdc59709 103702008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 10371
a9c64011
AS
10372 * aclocal.m4: Add override.m4.
10373 * configure: Regenerate.
fdc59709 10374
8e91f023
VP
103752008-04-19 Vladimir Prus <vladimir@codesourcery.com>
10376
10377 * gdb.mi/var-cmd.c (do_at_tests): Verify that
10378 '-var-update --all-values' reports new value even the type
10379 of a variable object has changed.
10380
233a11ab
CS
103812008-04-18 Craig Silverstein <csilvers@google.com>
10382
10383 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
10384 files.
d24317b4 10385
9c1137ad
JB
103862008-04-18 Joel Brobecker <brobecker@adacore.com>
10387
10388 * gdb.ada/atomic_enum: New test program.
10389 * gdb.ada/atomic_enum.exp: New testcase.
10390
66d0bbc7
DE
103912008-04-17 Doug Evans <dje@google.com>
10392
10393 * gdb.opt/Makefile.in: Fix whitespace.
10394
100906b0
UW
103952008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
10396
10397 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
10398
4584e32e
DE
103992008-04-17 Doug Evans <dje@google.com>
10400
10401 * gdb.base/hashline1.exp: New testcase.
10402 * gdb.base/hashline2.exp: New testcase.
10403 * gdb.base/hashline2.exp: New testcase.
10404
0a320680
PA
104052008-04-17 Pedro Alves <pedro@codesourcery.com>
10406
10407 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
10408
18ac113b
AR
104092008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
10410
10411 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
10412 temporary breakpoint to match "Temporary breakpoint".
10413 * gdb.base/break.exp (delete_breakpoints): Likewise.
10414 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
10415 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
10416 * gdb.base/display.exp: Likewise.
10417 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
10418 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
10419 * gdb.base/restore.exp (restore_tests): Likewise.
10420 * gdb.base/sepdebug.exp: Likewise.
10421 * gdb.base/watchpoint.exp: Likewise.
10422 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
10423 * gdb.mi/mi-pending.exp: Likewise.
10424 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
10425 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
10426 * gdb.mi/mi-var-cmd.exp: Likewise.
10427 * gdb.mi/mi-var-display.exp: Likewise.
10428 * gdb.mi/mi2-cli.exp: Likewise.
10429 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
10430 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
10431 * gdb.mi/mi2-var-display.exp: Likewise.
10432 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
10433 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
10434 new "disp" field.
a9c64011 10435 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
10436 reason. This is to support fix for PR2424.
10437
add38693
JK
104382008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10439
10440 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
10441
fcacd99f
VP
104422008-04-13 Vladimir Prus <vladimir@codesourcery.com>
10443
10444 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 10445 field. Add more floating varobj tests.
fcacd99f 10446 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
10447 field.
10448 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
10449 (main): Call do_at_tests.
10450 * lib/mi-support.exp (mi_create_floating_varobj)
10451 (mi_varobj_update_with_type_change): New.
fcacd99f 10452
de051565
MK
104532008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
10454
10455 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
10456 option of -var-evaluate-expression.
10457 * gdb.mi/mi2-var-display.exp: Likewise.
10458
dbc52822
VP
104592008-04-07 Vladimir Prus <vladimir@codesourcery.com>
10460
10461 Introduce test setup helpers.
a9c64011
AS
10462 * lib/gdb.exp (build_executable, clean_restart)
10463 (prepare_for_testing): New.
10464 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
10465 * gdb.base/return.exp: Likewise.
10466 * gdb.base/ending-run.exp: Likewise.
dbc52822 10467
473591da
NR
104682008-04-07 Nick Roberts <nickrob@snap.net.nz>
10469
10470 * gdb.mi/mi-async.exp: New test for asynchronous Machine
10471 Interface (MI) responses.
10472
2b2d9e11
VP
104732008-04-06 Vladimir Prus <vladimir@codesourcery.com>
10474
a9c64011
AS
10475 * gdb.cp/breakpoint.cc: New code to test conditions involving
10476 member variables.
10477 * gdb.cp/breakpoint.exp: Test condition involving member
10478 variables.
2b2d9e11 10479
bb378428
VP
104802008-04-05 Vladimir Prus <vladimir@codesourcery.com>
10481
10482 * lib/mi-support.exp (mi_expect_stop): New.
10483 (mi_run_cmd): Change the
10484 token. Use mi_send_resuming_command, use
10485 mi_expect_stop.
10486 (mi_execute_to_helper): Rename to mi_execute_to.
10487 (mi_send_resuming_command): Add more error patterns.
10488 (mi_wait_for_stop): Renamed to...
10489 (mi_get_stop_line): ...this.
10490 (mi_run_inline_test): Adjust.
10491
10492 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
10493 * gdb.mi/mi-console.exp: Likewise.
10494 * gdb.mi/mi-pending.exp: Likewise.
10495 * gdb.mi/mi-simplerun.exp: Likewise.
10496 * gdb.mi/mi-stack.exp: Likewise.
10497 * gdb.mi/mi-stepi.exp: Likewise.
10498 * gdb.mi/mi-syn-frame.exp: Add comment.
10499 * gdb.mi/mi-until.exp: Likewise.
10500 * gdb.mi/mi-var-display.exp: Likewise.
10501 * gdb.mi/mi-watch.exp: Likewise.
10502 * gdb.mi/mi2-cli.exp: Likewise.
10503 * gdb.mi/mi2-console.exp: Likewise.
10504 * gdb.mi/mi2-simplerun.exp: Likewise.
10505 * gdb.mi/mi2-stack.exp: Likewise.
10506 * gdb.mi/mi2-stepi.exp: Likewise.
10507 * gdb.mi/mi2-until.exp: Likewise.
10508 * gdb.mi/mi2-var-display.exp: Likewise.
10509 * gdb.mi/mi2-watch.exp: Likewise.
10510
62172bb9
UW
105112008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10512
10513 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
10514
10515 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
10516
a13e061a
PA
105172008-04-04 Pedro Alves <pedro@codesourcery.com>
10518
10519 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
10520 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
10521 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10522 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
10523 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
10524 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
10525 expect an mi error duplicated in stderr.
10526
eae06beb
JB
105272008-04-03 Joel Brobecker <brobecker@adacore.com>
10528
10529 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
10530 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
10531 Add a couple of tests that verify the behavior when the new setting
10532 is set to "cancel" and "all".
10533 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
10534 "ask" before we start the testing.
10535
79c6ced6
AR
105362008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
10537
10538 * gdb.cp/casts.cc: Add class reference variables.
10539 * gdb.cp/casts.exp: New test cases for up/down casting references.
10540
6c2d1a6b
MK
105412008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
10542
10543 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
10544 instead of beginning to make an extra test pass.
10545 * gdb.mi/mi2-var-display.exp: Likewise.
10546
55b411d9
MR
105472008-03-31 Maciej W. Rozycki <macro@mips.com>
10548
10549 * gdb.base/break.exp: Mark failures as such. Fix formatting.
10550
c6140da2
MD
105512008-03-31 Markus Deuling <deuling@de.ibm.com>
10552 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10553
10554 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
10555 value. Add xfail for older kernels.
10556
79732189
AR
105572008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
10558
10559 Bring mi-support in line with gdb.exp.
10560 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
10561 (mi_gdb_start): New function.
10562
33c3676e
MR
105632008-03-28 Maciej W. Rozycki <macro@mips.com>
10564
10565 * gdb.mi/mi-var-cmd.exp: Fix a typo.
10566
92e28119
VP
105672008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10568
10569 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
10570 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 10571
9e8e3afe
VP
105722008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10573
10574 * lib/mi-support.exp (mi_create_varobj_checked): New.
10575 (mi_list_varobj_children): Allow to check for a
10576 value.
10577 (mi_list_array_varobj_children): New.
10578
10579 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
10580 and mi_list_varobj_children, as opposed to hardcoding
10581 expected strings.
10582 * gdb.mi/gdb701.exp: Likewise.
10583 * gdb.mi/gdb792.exp: Likewise.
10584 * gdb.mi/mi-var-block.exp: Likewise.
10585 * gdb.mi/mi-var-cmd.exp: Likewise.
10586 * gdb.mi/mi-var-invalidate.exp: Likewise.
10587 * gdb.mi/mi2-var-block.exp: Likewise.
10588 * gdb.mi/mi2-var-child.exp: Likewise.
10589 * gdb.mi/mi2-var-cmd.exp: Likewise.
10590 * gdb.mi/mi2-var-display.exp: Likewise.
10591
9df50351
JK
105922008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10593
10594 Fix random false FAILs on i386.
10595 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
10596
31e5d73a
DJ
105972008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10598
10599 PR gdb/544
10600 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
10601
12f4afab
DJ
106022008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10603
10604 PR gdb/544
10605 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
10606
b562a0cb
DJ
106072008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10608
10609 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
10610 fixed PR gdb/544.
10611
17faa917
DJ
106122008-03-21 Pedro Alves <pedro@codesourcery.com>
10613
10614 * gdb.threads/fork-child-threads.exp: Test next over fork.
10615
6214f497
DJ
106162008-03-21 Chris Demetriou <cgd@google.com>
10617
10618 * gdb.base/break.exp (rbreak junk): New test for rbreak
10619 "Junk at end of arguments" issue.
10620
63092375
DJ
106212008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10622
10623 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
10624 *& to work on created array elements.
10625 (Top level): Test print $pc with a file. Test string operations
10626 without a target.
10627 * gdb.base/ptype.exp: Do not expect *& to work on created array
10628 elements.
10629
b21991b0
DJ
106302008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10631
10632 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10633 gdb.threads/staticthreads.exp: Update exit query.
10634
c4b347c7
SL
106352008-03-07 Sandra Loosemore <sandra@codesourcery.com>
10636
10637 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
10638
fa4727a6
DJ
106392008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
10640
10641 * gdb.base/watchpoint.c (global_ptr, func4): New.
10642 (main): Call func4.
10643 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
10644 (test_inaccessible_watchpoint): New.
10645
2f34202f
MR
106462008-02-29 Maciej W. Rozycki <macro@mips.com>
10647
10648 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
10649 select the largest.
10650
0d6ba1b1
DJ
106512008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
10652
10653 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
10654 frames-invalid annotations.
10655
e691325a
PM
106562008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
10657
a9c64011 10658 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 10659
f85b5ecc
DE
106602008-02-27 Doug Evans <dje@google.com>
10661
10662 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
10663 for bug 1738.
10664 (breakpoint_to_handler_entry): Ditto.
10665
b40e7bf3
JB
106662008-02-27 Joel Brobecker <brobecker@adacore.com>
10667
10668 * gdb.base/ending-run.exp: Use the first line of code inside
10669 function body to test breakpoints.
10670 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
10671 location where the breakpoint is inserted when using the line
10672 where a function is declared. Fix typo in the description of
10673 one of the tests.
10674 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
10675
2faca73a
PM
106762008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10677
10678 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 10679 tests.
2faca73a 10680
6f439c36
PM
106812008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10682
10683 * gdb.base/args.exp: avoid same output for tests
10684 with single quotes.
10685
54e52265
VP
106862008-02-26 Vladimir Prus <vladimir@codesourcery.com>
10687
a9c64011
AS
10688 * gdb.base/annota1.exp: Adjust for 'info break'
10689 format changes.
10690 * gdb.base/annota3.exp: Likewise.
10691 * gdb.base/break.exp: Likewise.
10692 * gdb.base/condbreak.exp: Likewise.
10693 * gdb.base/pending.exp: Likewise.
10694 * gdb.base/sepdebug.exp: Likewise.
10695 * gdb.base/unload.exp: Likewise.
10696 * gdb.cp/ovldbreak.exp: Likewise.
10697 * gdb.mi/mi-pending.exp: Likewise.
54e52265 10698
897b09ca
DE
106992008-02-07 Doug Evans <dje@google.com>
10700
10701 * gdb.cp/mb-inline.exp: New.
10702 * gdb.cp/mb-inline.h: New.
10703 * gdb.cp/mb-inline1.cc: New.
10704 * gdb.cp/mb-inline2.cc: New.
10705
b1c32d35
PM
107062008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
10707
10708 * gdb.pascal/floats.pas: New test program.
10709 * gdb.pascal/floats.exp: New testcase.
10710
1a4ca44a
TJB
107112008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
10712
10713 * gdb.base/callfuncs.c (t_float_many_args): New function.
10714 (t_double_many_args): New function.
10715 * gdb.base/callfuncs.exp: Add tests for exceeding float
10716 and double parameters passed through the stack.
10717
439048e8
JB
107182008-02-05 Joel Brobecker <brobecker@adacore.com>
10719
10720 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
10721 gdb.ada/complete/foo.adb: New files.
10722 * gdb.ada/complete.exp: New testcase.
10723
81fe8080
DE
107242008-02-03 Doug Evans <dje@google.com>
10725
301f0ecf
DE
10726 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
10727
81fe8080
DE
10728 * gdb.cp/gdb2384.exp: New file.
10729 * gdb.cp/gdb2384.cc: New file.
10730 * gdb.cp/gdb2384-base.h: New file.
10731 * gdb.cp/gdb2384-base.cc: New file.
10732
4b071aec
DE
107332008-02-02 Doug Evans <dje@google.com>
10734
10735 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
10736
61137ba6
JB
107372007-02-01 Joel Brobecker <brobecker@adacore.com>
10738
10739 * gdb.ada/sym_print_name: New test program.
10740 * gdb.ada/sym_print_name.exp: New testcase.
10741
107422007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
10743
10744 * gdb.ada/nested/hello.adb: New file.
10745 * gdb.ada/nested.exp: New testcase.
10746 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10747
98deb0da
VP
107482008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10749
10750 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
10751 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
10752 don't cause future evaluations of function to report
10753 creation of internal breakpoints.
98deb0da 10754
723a2275
VP
107552008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10756
10757 * gdb.mi/mi-break.exp (test_error): New.
10758 Call it.
10759
fb546a2f
LM
107602008-01-31 Luis Machado <luisgpm@br.ibm.com>
10761
10762 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
10763 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
10764
2d8fd90a
PM
107652008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10766
10767 * gdb.pascal/integers.pas: New test program.
10768 * gdb.pascal/integers.exp: New testcase.
10769
a7fa0ded
PM
107702008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10771
10772 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
10773
5e1a1926
TJB
107742008-01-30 Luis Machado <luisgpm@br.ibm.com>
10775
10776 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
10777 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
10778
8d04f9f0
JB
107792008-01-30 Paul Hilfinger <hilfinger@adacore.com>
10780
10781 * gdb.ada/formatted_ref: New test program.
10782 * gdb.ada/formatted_ref.exp: New testcase.
10783
10784 * gdb.cp/formatted-ref.cc: New file.
10785 * gdb.cp/formatted-ref.exp: New testcase.
10786
ce75a98f
JB
107872008-01-30 Joel Brobecker <brobecker@adacore.com>
10788
10789 * gdb.base/ptype.exp: Add testing of "ptype $pc".
10790
e835f6bf
NR
107912008-01-30 Nick Roberts <nickrob@snap.net.nz>
10792
10793 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
10794 (test_file_list_exec_source_file): Update to new macro-info field.
10795
d118ef87
PH
107962008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
10797
10798 * gdb.ada/exprs: New test program.
10799 * gdb.ada/exprs.exp: New testcase.
10800
7d35ab09
TJB
108012008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
10802
10803 * dfp-test.c (DELTA, DELTA_B): New definitions.
10804 (double_val1, double_val2, double_val3, double_val4, double_val5,
10805 double_val6, double_val7, double_val8, double_val9, double_val10,
10806 double_val11, double_val12, double_val13, double_val14, dec32_val1,
10807 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
10808 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
10809 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
10810 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
10811 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
10812 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
10813 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
10814 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
10815 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
10816 dec128_val16): New global variables.
10817 (decimal_dec128_align): New function.
10818 (decimal_mixed): Likewise.
10819 (decimal_many_args_dec32): Likewise.
10820 (decimal_many_args_dec64): Likewise.
10821 (decimal_many_args_dec128): Likewise.
10822 (decimal_many_args_mixed): Likewise.
10823 * dfp-test.exp: Add tests calling new inferior functions.
10824
2d717e4f
DJ
108252008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10826
10827 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
10828 gdb.server/ext-run.exp: New files.
10829 * lib/gdbserver-support.exp (gdbserver_download): New.
10830 (gdbserver_start): New. Update gdbserver expected
10831 output.
10832 (gdbserver_spawn): Use them.
10833 (gdbserver_start_extended): New.
10834
e85a822c
DJ
108352008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10836
10837 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
10838 Run on GNU/Linux.
10839 (do_exec_tests): Check for systems which do not support catchpoints.
10840 Do not match START.
10841 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
10842 Run on GNU/Linux. Enable verbose output.
10843 (check_fork_catchpoints): New.
10844 (explicit_fork_child_follow, catch_fork_child_follow)
10845 (tcatch_fork_parent_follow): Update expected messages.
10846 (do_fork_tests): Use check_fork_catchpoints.
10847 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
10848 Run on GNU/Linux. Enable verbose output.
10849 (check_vfork_catchpoints): New.
10850 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
10851 expected messages.
10852 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
10853
401ea829
JB
108542008-01-29 Jim Blandy <jimb@red-bean.com>
10855
10856 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
10857 host' errors.
10858 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
10859
aceaf3ad
JB
108602008-01-29 Jim Blandy <jimb@red-bean.com>
10861
10862 * gdb.threads/sigthread.c: Use barriers to ensure that
10863 child_thread and child_thread_two are always initialized before we
10864 start to use them.
10865
a5606eee
VP
108662008-01-29 Vladimir Prus <vladimir@codesourcery.com>
10867
10868 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
10869 * gdb.base/watchpoint-solib.c: New.
10870 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 10871
c55a82bb
PM
108722008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
10873
10874 * gdb.base/gdb1056.exp: Add unsigned integer test.
10875
0993fe05
DE
108762008-01-28 Doug Evans <dje@google.com>
10877
10878 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
10879
4fe42e7f
JB
108802008-01-27 Jim Blandy <jimb@codesourcery.com>
10881
c7a69933
JB
10882 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
10883
4fe42e7f
JB
10884 * gdb.base/expand-psymtabs.exp: Doc fix.
10885
5def8285
MK
108862008-01-26 Mark Kettenis <kettenis@gnu.org>
10887
10888 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10889
5313c911
NR
108902008-01-24 Nick Roberts <nickrob@snap.net.nz>
10891
a9c64011 10892 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
10893 -var-set-format.
10894
93815fbf
VP
108952008-01-23 Chris Demetriou <cgd@google.com>
10896
10897 * gdb.threads/thread_events.c: New testcase source file.
10898 * gdb.threads/thread_events.exp: New testcase expect file.
10899
467a88ee
NR
109002008-01-23 Nick Roberts <nickrob@snap.net.nz>
10901
10902 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
10903
10904 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
10905 -var-set-format.
10906
d8f82aba
DJ
109072008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10908 Vladimir Prus <vladimir@codesourcery.com>
10909
10910 * gdb.base/float.exp: Allow missing floating point for m68k and
10911 PowerPC.
10912
60c46647
VP
109132008-01-22 Vladimir Prus <vladimir@codesourcery.com>
10914
10915 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
10916 ignore count.
10917 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
10918 * gdb.mi/mi-cli.exp: Adjust.
10919 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 10920
c7dd36a1
PA
109212008-01-17 Pedro Alves <pedro@codesourcery.com>
10922
10923 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
10924 and 'dummy_ptr' integer pointer. Initialize struct_declarations
10925 with dummy_ptr's address.
10926 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
10927 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
10928 all targets.
10929 * gdb.mi/mi2-var-child.exp: Likewise.
10930
39d5313e
JB
109312008-01-09 Joel Brobecker <brobecker@adacore.com>
10932
10933 * gdb.ada/null_array: New test program.
10934 * gdb.ada/null_array.exp: New testcase.
10935
0aea4bf3
LM
109362008-01-09 Luis Machado <luisgpm@br.ibm.com>
10937
10938 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
10939 with required float modifiers.
10940
0b354900
JB
109412008-01-08 Joel Brobecker <brobecker@adacore.com>
10942
10943 * gdb.ada/funcall_param: New test program.
10944 * gdb.ada/funcall_param.exp: New testcase.
10945
cdb7f5d4
JB
109462008-01-08 Joel Brobecker <brobecker@adacore.com>
10947
10948 * gdb.ada/arrayparam: New test program.
10949 * gdb.ada/arrayparam.exp: New testcase.
10950
88e2547f
JB
109512008-01-08 Joel Brobecker <brobecker@adacore.com>
10952
10953 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
10954 landed. Should also fix random failures in the test following it.
10955
f6867ce0
TJB
109562008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
10957
10958 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
10959 for expressions with decimal float values.
10960 (test_dfp_conversions): New function to test casts to and from
10961 decimal float types.
10962 Call test_dfp_conversions.
10963 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
10964 elements.
10965 (main): Initialize ds.float4 and ds.double8 elements.
10966 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
10967 string to new error message.
10968 (d64_set_tests): Likewise.
10969 (d128_set_tests): Likewise.
10970 Add tests for expressions with decimal float variables. Add tests for
10971 conversions to and from decimal float types.
10972
f9c11282
JB
109732008-01-05 Joel Brobecker <brobecker@adacore.com>
10974
10975 * gdb.ada/packed_tagged/comp_bug.adb: New file.
10976 * gdb.ada/packed_tagged.exp: New testcase.
10977
0ecbca72
JB
109782008-01-04 Joel Brobecker <brobecker@adacore.com>
10979
10980 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
10981 gdb.ada/homonym/homonym_main.adb: New files.
10982 * gdb.ada/homonym.exp: New testcase.
10983
c18d3d89
JB
109842008-01-04 Joel Brobecker <brobecker@adacore.com>
10985
10986 * gdb.ada/packed_array.exp: Add testing of references to
10987 a packed array.
10988
ecc7085b
JB
109892008-01-04 Joel Brobecker <brobecker@adacore.com>
10990
10991 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
10992 New files.
10993 * gdb.ada/type_coercion.exp: New testcase.
10994
c474c922
JB
109952008-01-04 Joel Brobecker <brobecker@adacore.com>
10996
10997 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
10998 gdb.ada/tagged/foo.adb: New file.
10999 * gdb.ada/tagged.exp: New testcase.
11000
9005b927
JB
110012008-01-04 Joel Brobecker <brobecker@adacore.com>
11002
11003 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
11004 gdb.ada/ptype_field/foo.adb: New files.
11005 * gdb.ada/ptype_field.exp: New testcase.
11006
1a6aaad8
JB
110072008-01-03 Joel Brobecker <brobecker@adacore.com>
11008
11009 * gdb.ada/print_pc.exp: New testcase.
11010
0ef22f53
JB
110112008-01-03 Joel Brobecker <brobecker@adacore.com>
11012
11013 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
11014 gdb.ada/taft_type/p.adb: New files.
11015 * gdb.ada/taft_type.exp: New testcase.
11016
1689ecf8
JB
110172008-01-03 Joel Brobecker <brobecker@adacore.com>
11018
11019 * gdb.ada/array_bounds/bar.adb: New file.
11020 * gdb.ada/array_bounds.exp: New testcase.
11021
a4d0b9c3
JB
110222008-01-03 Joel Brobecker <brobecker@adacore.com>
11023
11024 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
11025 gdb.ada/arrayptr/foo.adb: New files.
11026 * gdb.ada/arrayptr.exp: New testcase.
11027
a31ace00
JB
110282008-01-03 Joel Brobecker <brobecker@adacore.com>
11029
11030 * gdb.base/set-lang-auto.exp: New testcase.
11031
a97fced3
JB
110322008-01-03 Joel Brobecker <brobecker@adacore.com>
11033
11034 * gdb.ada/fun_addr/foo.adb: New file.
11035 * gdb.ada/fun_addr.exp: New testcase.
11036
ef29ce1a
JK
110372008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11038
11039 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
11040 New files
11041
0fafefe3
JB
110422008-01-02 Joel Brobecker <brobecker@adacore.com>
11043
11044 * array_subscript_addr/p.adb: New file.
a9c64011 11045 * array_subscript_addr.exp: New testcase.
0fafefe3 11046
c4359f8d
JB
110472008-01-02 Joel Brobecker <brobecker@adacore.com>
11048
a9c64011 11049 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
11050 New files.
11051 * gdb.ada/str_cmp_ref.exp: New testcase.
11052
1aa1b15b
JB
110532008-01-01 Joel Brobecker <brobecker@adacore.com>
11054
11055 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
11056 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 11057 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 11058
81c9b2cf
JB
110592008-01-01 Joel Brobecker <brobecker@adacore.com>
11060
11061 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
11062 gdb.ada/ref_param/pck.ads: New files.
11063 * gdb.ada/ref_param.exp: New testcase.
11064
319e4674
JB
110652008-01-01 Joel Brobecker <brobecker@adacore.com>
11066
11067 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
11068 gdb.ada/interface/foo.adb: New files.
11069 * gdb.ada/interface.exp: New testcase.
11070
ef682c56
JB
110712007-12-31 Jim Blandy <jimb@codesourcery.com>
11072
11073 * gdb.base/multi-forks.exp: Consume all output from child
11074 processes before proceeding to next test.
11075
f6f3eb6c
JB
110762007-12-29 Jim Blandy <jimb@codesourcery.com>
11077
11078 * configure: Regenerated.
11079
f652e42f
JB
110802007-12-27 Joel Brobecker <brobecker@adacore.com>
11081
11082 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
11083 gdb.ada/fixed_cmp/fixed.adb: New files.
11084 * gdb.ada/fixed_cmp.exp: New testcase.
11085
6943e596
JB
110862007-12-27 Joel Brobecker <brobecker@adacore.com>
11087
11088 * gdb.ada/boolean_expr.exp: New testcase.
11089
aad9a193
JB
110902007-12-26 Jim Blandy <jimb@codesourcery.com>
11091
11092 * gdb.base/multi-forks.exp: Doc fix.
11093
fb5f3683
JB
110942007-12-26 Joel Brobecker <brobecker@adacore.com>
11095
11096 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
11097 * gdb.ada/char_param.exp: Do not compile our test program with
11098 -gnata, this is unnecessary.
11099 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
11100
384e4a9c
JB
111012007-12-24 Joel Brobecker <brobecker@adacore.com>
11102
11103 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
11104 gdb.ada/print_chars/foo.adb: New files.
11105 * gdb.ada/print_chars.exp: New testcase.
11106
01e044f7
JB
111072007-12-24 Joel Brobecker <brobecker@adacore.com>
11108
11109 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
11110 gdb.ada/char_param/foo.adb: New files.
11111 * gdb.ada/char_param.exp: New testcase.
11112
0ce17860
JB
111132007-12-22 Jim Blandy <jimb@codesourcery.com>
11114
11115 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
11116 hard-coding source line numbers into the test.
11117 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
11118 gdb_get_line_number to find.
11119
919809b9
JB
111202007-12-22 Joel Brobecker <brobecker@adacore.com>
11121
11122 * gdb.base/ptype.c (highest): New struct type.
11123 (the_highest): New variable of that type.
11124 (main): Add dummy assignment to a field of variable the_highest.
11125 * gdb.base/ptype.exp: Test type printing of our new variable.
11126
abc8a88d
PM
111272007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
11128
11129 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 11130 and record first explicitly generated thread number.
abc8a88d
PM
11131 Use that thread number for thread specific watchpoint test.
11132 Add iteration number to repetitive tests.
11133
5158f3e3
CES
111342007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11135 Jim Blandy <jimb@codesourcery.com>
11136
11137 * gdb.base/expand-psymtabs.c: New testcase
11138 source file.
11139 * gdb.base/expand-psymtabs.exp: New testcase
11140 expect file.
11141
37e4754d
LM
111422007-12-17 Luis Machado <luisgpm@br.ibm.com>
11143
11144 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
11145 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
11146
551e5d04
JB
111472007-12-17 Joel Brobecker <brobecker@adacore.com>
11148
11149 * gdb.ada/frame_args/foo.adb: New file.
11150 * gdb.ada/frame_args/pck.ads: New file.
11151 * gdb.ada/frame_args/pck.adb: New file.
11152 * gdb.ada/frame_args.exp: New testcase.
11153
a05ee097
JB
111542007-12-17 Joel Brobecker <brobecker@adacore.com>
11155
11156 * gdb.base/frame-args.c: New file.
11157 * gdb.base/frame-args.exp: New testcase.
11158
c162e8c9 111592007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 11160 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
11161
11162 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
11163
afe8ab22 111642007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11165
afe8ab22
VP
11166 * gdb.mi/mi-pending.exp: New.
11167 * gdb.mi/mi-pending.c: New.
11168 * gdb.mi/mi-pendshr.c: New.
11169
dfdfb3ca
JB
111702007-12-06 Jim Blandy <jimb@codesourcery.com>
11171
11172 * gdb.base/default.exp: Update expected output for 'info catch'.
11173
b7fca990
JK
111742007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11175
11176 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
11177 must be set to binary.
11178
6a1afc1e
PA
111792007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
11180
11181 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
11182
a6b151f1
DJ
111832007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
11184
11185 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
11186 gdb.mi/mi-file-transfer.exp: New.
11187
43039443
JK
111882007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11189
11190 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
11191
0ef2251b
MR
111922007-11-22 Maciej W. Rozycki <macro@mips.com>
11193
11194 * gdb.trace/backtrace.exp: Fix a typo.
11195 * gdb.trace/circ.exp: Likewise.
11196 * gdb.trace/collection.exp: Likewise.
11197 * gdb.trace/limits.exp: Likewise.
11198 * gdb.trace/report.exp: Likewise.
11199 * gdb.trace/tfind.exp: Likewise.
11200 * gdb.trace/while-dyn.exp: Likewise.
11201
5443631e
NR
112022007-11-21 Nick Roberts <nickrob@snap.net.nz>
11203
11204 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
11205 objects of pointers that can't be dereferenced are now
11206 "noneditable".
11207
a4ce5b0d
UW
112082007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11209
11210 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
11211 (target_cpu): Remove.
11212
d6e956e5
VP
112132007-10-15 Vladimir Prus <vladimir@codesourcery.com>
11214
11215 * gdb.base/ending-run.exp: Expect the list of cleared
11216 breakpoint to come in natural order, not the reversed one.
a9c64011 11217
214270ab
VP
112182007-11-07 Vladimir Prus <vladimir@codesourcery.com>
11219
11220 * gdb.mi/mi-var-child.c (do_child_deletion): New.
11221 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 11222
1a619819
LM
112232007-11-05 Luis Machado <luisgpm@br.ibm.com>
11224
11225 * gdb.base/printcmds.exp: New function
11226 test_printf_with_dfp.
11227
5b01a6fa
DE
112282007-11-02 Doug Evans <dje@google.com>
11229
11230 * gdb.disasm/t01_mov.s: Remove carriage returns.
11231 * gdb.disasm/t02_mova.s: Ditto.
11232 * gdb.disasm/t03_add.s: Ditto.
11233 * gdb.disasm/t04_sub.s: Ditto.
11234 * gdb.disasm/t05_cmp.s: Ditto.
11235 * gdb.disasm/t06_ari2.s: Ditto.
11236 * gdb.disasm/t07_ari3.s: Ditto.
11237 * gdb.disasm/t08_or.s: Ditto.
11238 * gdb.disasm/t09_xor.s: Ditto.
11239 * gdb.disasm/t10_and.s: Ditto.
11240 * gdb.disasm/t11_logs.s: Ditto.
11241 * gdb.disasm/t12_bit.s: Ditto.
11242 * gdb.disasm/t13_otr.s: Ditto.
11243
ec33ab7f
JK
112442007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11245
11246 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
11247
ae0d01ff
UW
112482007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11249
11250 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
11251 provide DFP support.
11252
55eddb0f
DJ
112532007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
11254
11255 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
11256 Test "set powerpc vector-abi". Skip auto-detection tests for old
11257 toolchains.
11258
7020f05c
PA
112592007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11260
11261 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
11262 with [string compare].
11263
84bc3db9
PA
112642007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11265
11266 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
11267 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
11268
5876dc88
LM
112692007-10-25 Luis Machado <luisgpm@br.ibm.com>
11270
11271 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
11272 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
11273 * gdb.opt/Makefile.in: New makefile.
11274 * Makefile.in: Create new directory "gdb.opt".
11275 * configure.ac: Add "gdb.opt" directory.
11276 * configure: Regenerated.
a9c64011 11277
c3ea9a14
DE
112782007-10-25 Doug Evans <dje@google.com>
11279
11280 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
11281 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
11282
a9c64011 112832007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
11284 Thiago Jung Bauermann <bauerman@br.ibm.com>
11285
11286 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
11287 Floating Point expressions.
11288 * gdb.base/dfp-test.exp: new file adding tests for Decimal
11289 Floating Point variables.
11290 * gdb.base/dfp-test.c: new file containing program with Decimal
11291 Floating variables, used by gdb.base/dfp-test.exp.
11292
62a24a2b
DJ
112932007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
11294
11295 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
11296
e7b1eae6
UW
112972007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11298
11299 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
11300 compiling test case with GCC.
11301 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
11302
c641edcc
UW
113032007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11304
11305 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11306 format changes.
11307
5e5ebfe6
MS
113082007-10-18 Michael Snyder <msnyder@specifix.com>
11309
11310 * gdb.base/dbx.exp: Add missing "-re " operator.
11311
e831e7b6
GM
113122007-10-16 Gaius Mulley <gaius@glam.ac.uk>
11313
11314 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
11315 * configure.ac: Removed trailing spaces after backslash.
11316 * gdb.modula2: New directory.
11317 * gdb.modula2/Makefile.in: New file.
11318 * gdb.modula2/unbounded-array.exp: New file.
11319 * gdb.modula2/unbounded1.c: New file.
11320
7cc46491
DJ
113212007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
11322
11323 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
11324
113252007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
11326
11327 * gdb.base/sigstep.c (main): Add checks for
11328 return values for setitimer call.
11329 Call setitimer again with itimer = ITIMER_REAL
11330 if first call to setitimer fails.
11331
e91528f0
KH
113322007-10-11 Kazu Hirata <kazu@codesourcery.com>
11333
11334 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
11335 of $timeout.
11336
2ec9a4f8
DJ
113372007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11338
11339 * gdb.server/server-run.exp: Test for dynamic linker symbols.
11340
113412007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
11342
11343 * lib/gdb.exp (gdb_run_cmd): Move comment outside
11344 of gdb_expect call, to avoid interruption.
11345
64b2fa04
PA
113462007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
11347
11348 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
11349 (v_unsigned_long_long, v_long_long_array)
11350 (v_signed_long_long_array, v_unsigned_long_long_array)
11351 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
11352 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
11353 [!NO_LONG_LONG]: New.
11354 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
11355 v_long_long_member.
11356
11357 (v_long_long_func, v_signed_long_long_func)
11358 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
11359 (main) [!NO_LONG_LONG]: Initialize long long variants.
11360
11361 * gdb.base/whatis.exp: If board file requests no_long_long, build
11362 test with NO_LONG_LONG defined. Test long long, signed long long,
11363 and unsigned long long variants but only if board file doesn't
11364 disable it.
11365
a912286e 113662007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 11367 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
11368
11369 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
11370 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
11371 * configure: Regenerated.
11372 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
11373 gdb.pascal/types.exp, lib/pascal.exp: New files.
11374
471ba8c9
DJ
113752007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
11376
11377 * gdb.cp/classes.exp (do_tests): Always step to the line after the
11378 call.
11379 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
11380 to return to the call.
11381 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
11382 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
11383 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
11384 * gdb.mi/mi-until.exp (test_until): Likewise.
11385 * gdb.mi/mi2-until.exp (test_until): Likewise.
11386
fef8a650
DJ
113872007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
11388
11389 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
11390 two-char array.
11391 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
11392
d983da9c
DJ
113932007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
11394
11395 * gdb.threads/watchthreads.c (thread_function): Sleep between
11396 iterations.
11397 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
11398 at once for S/390. Generate matching fails and passes.
11399
17f62551
VP
114002007-09-27 Vladimir Prus <vladimir@codesourcery.com>
11401
11402 * gdb.mi/var-cmd.c (do_children_tests): Initialize
11403 the 'struct_declarations' variable to zeros.
a9c64011 11404
ed0616c6
VP
114052007-09-24 Vladimir Prus <vladimir@codesourcery.com>
11406
11407 * gdb.cp/mb-ctor.cc: New.
11408 * gdb.cp/mb-ctor.exp: New.
11409 * gdb.cp/mb-templates.cc: New.
11410 * gdb.cp/mb-templates.exp: New.
11411
41f1b697
DJ
114122007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
11413
11414 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
11415
3f213f78
PA
114162007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
11417
11418 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
11419 targets.
11420 * configure: Regenerate.
11421
0d381245 114222007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11423
0d381245
VP
11424 * gdb.base/annota1.exp: Adjust for 'info break'
11425 format changes.
11426 * gdb.base/annota3.exp: Likewise.
11427 * gdb.base/break.exp: Likewise.
11428 * gdb.base/condbreak.exp: Likewise.
11429 * gdb.base/pending.exp: Likewise.
11430 * gdb.base/sepdebug.exp: Likewise.
11431 * gdb.base/unload.exp: Likewise.
11432 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 11433
fe3f5fa8
VP
114342007-09-22 Vladimir Prus <vladimir@codesourcery.com>
11435
11436 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
11437 messages.
11438 * gdb.base/chng-syms.exp: Likewise.
11439 * gdb.base/unload.exp: Likewise.
a9c64011 11440
a75cf6c0
DJ
114412007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
11442
11443 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
11444
18ecae38
DJ
114452007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
11446
11447 * schedlock.c (NUM): Change to 1.
11448 (main): Use args[0] for the main thread.
11449 * schedlock.exp: Only expect two threads. Only issue one pass or fail
11450 regardless of the number of threads.
11451
5509918f
MR
114522007-09-14 Maciej W. Rozycki <macro@mips.com>
11453
4a543daf
MR
11454 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
11455 type down.
11456 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11457 test.
11458 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
11459 watchpoint type down.
11460 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11461 test.
11462
114632007-09-14 Maciej W. Rozycki <macro@mips.com>
11464
5509918f
MR
11465 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
11466 Move all the tests here and run them twice, once using software
11467 watchpoints and once using hardware watchpoints.
11468 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
11469
40b53987
DJ
114702007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
11471
11472 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
11473 test.
11474
695e2681
MK
114752007-09-10 Mark Kettenis <kettenis@gnu.org>
11476
8b3fc8d8
MK
11477 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
11478 build-id.
11479
695e2681
MK
11480 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
11481 know about $ORIGIN. Calculate output dir from $dest instead of
11482 using ${objdir}/{$subdir}.
11483
58d69f29
MK
114842007-09-09 Mark Kettenis <kettenis@gnu.org>
11485
11486 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
11487 gcore, before continuing with the test.
11488
3e347599
DJ
114892007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
11490
11491 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
11492 * gdb.mi/mi-watch.exp: Likewise.
11493
ea37ba09
DJ
114942007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11495 Jim Blandy <jimb@codesourcery.com>
11496
11497 * gdb.arch/i386-sse.exp: Do not expect character constants.
11498 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
11499 * gdb.base/display.exp: Allow print/s.
11500 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
11501 and unsigned char array changes.
11502
2025a643
DJ
115032007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11504
11505 * gdb.base/display.exp: Add tests for printf %p.
11506
26669a27
PA
115072007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
11508
11509 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
11510 the dll name to unicode.
11511
c8f021f8
JK
115122007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11513
11514 * gdb.base/default.exp (show version): Update the version text.
11515 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
11516
4cf31eea
JK
115172007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11518
11519 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
11520 New files.
11521
4935890f
JK
115222007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11523
11524 * lib/gdb.exp (build_id_debug_filename_get): New function.
11525 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
11526 Remove the generate DEBUG file for the future testcase runs.
11527 New testcase for the NT_GNU_BUILD_ID retrieval.
11528 Move the final testing step to ...
11529 (test_different_dir): ... a new function.
11530 New parameter XFAIL to XFAIL all the tests performed.
11531 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
11532 New parameter TYPE to PF_PREFIX all the tests performed.
11533
02142340
VP
115342007-08-31 Vladimir Prus <vladimir@codesourcery.com>
11535
11536 * gdb.mi/mi-var-cp.cc (path_expression): New
11537 function.
11538 * gdb.mi/mi-var-cp.exp: Run path exression tests.
11539
36acd84e
UW
115402007-08-27 Markus Deuling <deuling@de.ibm.com>
11541
11542 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
11543 to fit into SPU Local Store memory.
11544
a896d121
JB
115452007-08-23 Joel Brobecker <brobecker@adacore.com>
11546
11547 * gdb.base/default.exp: Adjust the expected output of "info
11548 warranty" after the switch to GPLv3.
11549
7b433602
JB
115502007-08-23 Joel Brobecker <brobecker@adacore.com>
11551
11552 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
11553 to 30000 (from 20000).
11554
e22f8b7c
JB
115552007-08-23 Joel Brobecker <brobecker@adacore.com>
11556
11557 Switch the license of all .exp files to GPLv3.
11558 Switch the license of all .f and .f90 files to GPLv3.
11559 Switch the license of all .s and .S files to GPLv3.
11560
5a0e3bd0
JB
115612007-08-23 Joel Brobecker <brobecker@adacore.com>
11562
11563 * configure.ac: Switch license to GPLv3.
11564
cc00619d
JB
115652007-08-23 Joel Brobecker <brobecker@adacore.com>
11566
11567 Switch the licensing to GPLv3 for all .ads and .adb files.
11568
8d26208a
DJ
115692007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
11570
11571 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
11572 and t_int_double.
11573 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
11574
4fcb9948
JB
115752007-08-17 Joel Brobecker <brobecker@adacore.com>
11576
11577 * gdb.base/step-line.c: Switch license to GPL version 3, and
11578 update copyright year.
11579 * gdb.base/step-line.inp: Likewise.
11580
b9c34f67
JB
115812007-08-17 Joel Brobecker <brobecker@adacore.com>
11582
11583 * gdb.base/gdb1555.exp: Make expected output immune to formatting
11584 changes inside gdb1555.c.
11585 * gdb.base/pending.exp: Likewise.
11586
2cc17678
DJ
115872007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
11588
11589 * config/default.exp: New file.
11590
e48883f7
DJ
115912007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11592
11593 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
11594 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
11595
1ab80e5b
MR
115962007-07-30 Maciej W. Rozycki <macro@mips.com>
11597
11598 * gdb.base/dump.exp: Force the correct endianness for binary
11599 formats not carrying this information.
11600
aba471f5
DJ
116012007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11602
11603 * gdb.threads/staticthreads.exp: Match .*sem_post.
11604
d4e07204
DJ
116052007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11606
11607 * gdb.base/readline.exp (operate_and_get_next): Match the final
11608 prompt.
11609
2b97317d
KB
116102007-07-23 Kevin Buettner <kevinb@redhat.com>
11611
11612 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
11613 to restarting SID.
11614
44efa07a
KB
116152007-07-18 Kevin Buettner <kevinb@redhat.com>
11616
11617 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
11618 prior to `gdb_start'.
11619
7b5ebade
KB
116202007-07-18 Kevin Buettner <kevinb@redhat.com>
11621
11622 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
11623 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
11624 Remove call to gdb_unload.
11625
255e7678
DJ
116262007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
11627 Daniel Jacobowitz <dan@codesourcery.com>
11628
11629 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
11630 for __WIN32__.
11631 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
11632 * gdb.base/unload.exp: Use shared library test routines.
11633
3a40aaa0
UW
116342007-07-03 Markus Deuling <deuling@de.ibm.com>
11635
11636 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
11637 * gdb.base/solib-symbol-lib.c: Likewise.
11638 * gdb.base/solib-symbol-main.c: Likewise.
11639
b0f4b84b
DJ
116402007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
11641
11642 * config/gdbserver.exp (gdb_reconnect): New.
11643 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
11644 gdb.base/solib-disc.exp: New files.
11645 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
11646 remote debugging".
11647 (gdb_compile): Add shlib_load flag.
11648 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
11649 port.
11650 (gdbserver_reconnect): New.
11651
1b05479a
DJ
116522007-07-01 Nick Roberts <nickrob@snap.net.nz>
11653 Daniel Jacobowitz <dan@codesourcery.com>
11654
11655 * gdb.base/annota3.exp: Test for if construct.
11656
86f78eb2
DJ
116572007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
11658
11659 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
11660
6a2eb474 116612007-06-21 Chris Dearman <chris@mips.com>
a9c64011 11662 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
11663
11664 * gdb.base/display.exp: Allow a newline after display/i.
11665 * gdb.base/pc-fp.exp: Likewise.
11666 * gdb.base/sigbpt.exp: Likewise.
11667
f8b73d13
DJ
116682007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11669
11670 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
11671 required features to be included.
11672
4339e69e
DJ
116732007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11674
11675 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
11676 in info threads output.
11677
23d964e7
UW
116782007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11679 Markus Deuling <deuling@de.ibm.com>
11680
11681 * gdb.arch/spu-info.exp: New testcase.
11682 * gdb.arch/spu-info.c: New file.
11683
fd20f75b
DJ
116842007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
11685
11686 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
11687 tpcs_offset. Restore lr after the call.
11688 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
11689
2226f861
DJ
116902007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
11691
11692 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
11693 (gdbserver_run): Kill any running gdbserver.
11694 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
11695
d12371a9
MR
116962007-05-17 Maciej W. Rozycki <macro@mips.com>
11697
11698 * gdb.base/sigbpt.exp: Preset segv_addr.
11699
93f02886
DJ
117002007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
11701
11702 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
11703 (gdb_compile_shlib): Likewise.
11704 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
11705 (default_gdb_init): Clear cleanfiles.
11706 (gdb_finish): Delete recorded cleanfiles.
11707 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
11708
11709 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
11710 Do not use isnative.
11711 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
11712 gdb.base/so-impl-ld.exp: Likewise.
11713 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
11714 * gdb.base/unload.exp: Likewise. Do not pass empty option to
11715 gdb_compile.
11716
b04e06d7
VP
117172007-05-15 Vladimir Prus <vladimir@codesourcery.com>
11718
11719 * config/unknown.exp: Remove.
11720
069ed931
UW
117212007-05-15 Markus Deuling <deuling@de.ibm.com>
11722
11723 * gdb.base/info-proc.exp: Check is_remote.
11724
09db0d03
UW
117252007-05-14 Markus Deuling <deuling@de.ibm.com>
11726
11727 * gdb.base/gcore.exp: Initialize variable core_supported.
11728
af2cbe8c
DJ
117292007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11730
11731 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
11732
027c0295
DJ
117332007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11734
11735 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
11736 * gdb.threads/print-threads.exp (test_all_threads): Allow
11737 negative and hexadecimal thread IDs.
11738
dc5000e7
DJ
117392007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11740
11741 * gdb.java/jprint.java (public): Avoid invalid call to static
11742 method.
11743
2e74ed18
DP
117442007-05-14 Denis Pilat <denis.pilat@st.com>
11745
11746 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
11747 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
11748 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11749 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
11750 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
11751
83547f02
UW
117522007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11753
11754 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 11755 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
11756 this mode.
11757 * gdb.base/ovlymgr.c: Provide stubs for spu target.
11758 * gdb.base/spu.ld: New file.
11759
b18be20d
DJ
117602007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
11761
11762 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
11763
be444858
DJ
117642007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
11765
11766 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
11767
b1d53152
DJ
117682007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11769
11770 * gdb.java/jmain.exp: Handle demangled names with and without method
11771 signatures.
11772
d084b331
DJ
117732007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11774
11775 * gdb.mi/mi-syn-frame.c (main, foo, bar)
11776 (have_a_very_merry_interrupt): Remove calls to puts.
11777 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
11778 inferior output.
11779 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
11780 test names.
11781
db9d7fc5
DJ
117822007-04-29 Markus Deuling <deuling@de.ibm.com>
11783 Daniel Jacobowitz <dan@codesourcery.com>
11784
11785 * gdb.base/auxv.exp (core_works): Also check is_remote.
11786 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
11787
ef783a7d 117882007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 11789
ef783a7d
VP
11790 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
11791 message, not the undefined 'module' variable.
11792 * gdb.base/siginfo.exp: Likewise.
11793 * gdb.base/sigstep.exp: Likewise.
11794 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
11795 serialport.
11796 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
11797
b7b73cae
CV
117982007-04-25 Corinna Vinschen <vinschen@redhat.com>
11799
11800 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
11801 target sim fails. Return 0 otherwise.
11802 (gdb_load): Return prematurely if gdb_target_sim fails.
11803
7d90fdfa
DP
118042007-04-16 Denis Pilat <denis.pilat@st.com>
11805
11806 * gdb.base/setshow.exp: Reset height after having set it to 100.
11807
5d3e9c85
DP
118082007-04-16 Denis Pilat <denis.pilat@st.com>
11809
11810 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
11811
18e75969
DP
118122007-04-16 Denis Pilat <denis.pilat@st.com>
11813
11814 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
11815
25d5ea92
VP
118162007-04-14 Vladimir Prus <vladimir@codesourcery.com>
11817
11818 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
11819 tests. Run the frozen varobjs test.
11820 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 11821 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 11822
0b49cb80
JK
118232007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11824
11825 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
11826 gdb.base/type-opaque.exp: New files.
11827
a73bafbc 118282007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
11829
11830 * gdb.mi/mi-var-child.c
a73bafbc
VP
11831 (do_children_tests): User char[2] instead of
11832 char so that automatic printing of pointers to char
11833 don't give unpredicable result.
11834 * gdb.mi/var-cmd.c (do_locals_test): Initialize
11835 local variables.
11836 * gdb.mi/mi-var-child.exp: Step to right line
11837 of do_children_tests.
11838 * gdb.mi/mi2-var-child.exp: Likewise.
11839 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 11840 do_locals_tests.
a73bafbc
VP
11841 (do_children_tests): User char[2] instead of
11842 char so that automatic printing of pointers to char
a9c64011 11843 don't give unpredicable result.
a73bafbc 11844 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 11845 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
11846 Pass test name to mi_wait_for_stop.
11847
7ce59000
DJ
118482007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11849
11850 * gdb.asm/asm-source.exp: Remove d10v case.
11851 * lib/gdb.exp (skip_cplus_tests): Likewise.
11852 * gdb.asm/d10v.inc: Deleted.
11853
20389057
DJ
118542007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11855
11856 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
11857
8807d78b
DJ
118582007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11859
11860 * config/netware.exp: Delete file.
11861
aa3edb8e
JB
118622007-03-29 Joel Brobecker <brobecker@adacore.com>
11863
11864 * gdb.dwarf2/dw2-noloc.S: New file.
11865 * gdb.dwarf2/dw2-noloc.exp: New file.
11866
297561ac
PA
118672007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
11868
11869 * gdb.cp/method2.cc: New test.
11870 * gdb.cp/method2.exp: New test.
11871 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
11872
1f81bd39
DJ
118732007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11874
11875 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
11876
9453113a
DJ
118772007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
11878
11879 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
11880
b741e217
DJ
118812007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11882
11883 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
11884 (gdb_load): Delete, replace with...
11885 (gdb_reload): ...this.
11886 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
11887 * gdb.server/server-mon.exp: Likewise.
11888 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
11889 (gdb_start_cmd): New.
11890 (gdb_file_cmd): Save the last loaded file.
11891 (gdb_reload): New.
11892 (gdb_gnu_strip_debug): Use transform.
11893 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
11894 support here. Use new $last_loaded_file. Check mtime.
11895 (gdb_target_cmd): Handle ObjC failure case.
11896 (infer_host_exec): Delete.
11897 (gdbserver_load): Rename to...
11898 (gdbserver_run): ...this. Simplify.
11899 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
11900 (mi_gdb_load): Move most contents to a new function...
11901 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
11902 (mi_run_cmd): Use mi_gdb_target_load.
11903 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
11904 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
11905 Use gdb_run_cmd.
11906 * gdb.base/charsign.exp: Remove incorrect comment.
11907 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
11908 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
11909 gdb.base/start.exp: Use gdb_start_cmd.
11910
446ab585 119112007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 11912 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
11913
11914 * gdb.base/sigbpt.exp: Fix the message when skipping test.
11915 * gdb.base/signull.exp: Similarly.
11916
bbb88ebf
UW
119172007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11918
11919 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
11920 messages available to test cases (like chng-sym.exp).
11921
cb8c4a99
AS
119222007-03-14 Andreas Schwab <schwab@suse.de>
11923
11924 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11925 format changes.
11926
4e463ff5
DJ
119272007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
11928
11929 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
11930 (optimized_1): New.
11931 (main): Call optimized_1.
11932 (gdb2029): Correct typos. Call gdb2029_marker.
11933 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
11934 for gdb2029.
11935
b6db2c47
MK
119362007-03-12 Mark Kettenis <kettenis@gnu.org>
11937
11938 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
11939 as tabs. Remove redundant test pattern.
11940
70ed3737
UW
119412007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11942
11943 * gdb.base/long_long.exp: Accept optional symbol name in <...>
11944 for /a format output.
11945
47b67b60
DJ
119462007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
11947
11948 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
11949 collect output incrementally.
11950
b8953b0e
UW
119512007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11952
11953 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
11954 for -var-create lpcharacter test.
11955 * gdb.mi/mi2-var-cmd.exp: Likewise.
11956
7acd5c40
UW
119572007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11958
11959 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
11960 pass on targets where address zero is readable.
11961
9c6759c1
UW
119622007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11963
11964 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
11965 just a single architecture.
11966
a2f1aeb4
UW
119672007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11968
11969 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
11970 (fetch_all_registers): New function, uses gdb_test_multiple and
11971 exp_continue to fetch inferior output line-by-line.
11972 Replace all uses of do_get_all_registers by fetch_all_registers.
11973
46579ac2
UW
119742007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11975
11976 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
11977 in target_info.
11978
fc133f24
MS
119792007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11980
a9c64011 11981 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
11982 consistancy; add a default (timeout) case.
11983
7646a51d
MS
119842007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11985
11986 * gdb.base/watchpoint.exp: Fix truncated comment.
11987
dcfff61f
MS
119882007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11989
11990 * Makefile.in: Remove spurious single-quotes from sed command.
11991
664e3ee9
DJ
119922007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
11993
11994 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
11995 func.
11996 * gdb.mi/mi2-var-cmd.exp: Likewise.
11997
d7cc6f2f
JB
119982007-02-27 Joel Brobecker <brobecker@adacore.com>
11999
a9c64011
AS
12000 * gdb.dwarf2/dw2-producer.S: New file.
12001 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
12002
120032007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
12004
12005 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
12006 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
12007 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
12008 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
12009 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
12010 Revert tests to use mi_gdb_test and include value field in output
12011 of -var-create.
12012
93d42b30
DJ
120132007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
12014
12015 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
12016
c499ed39
DJ
120172007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
12018
12019 * gdb.base/maint.exp: Remove full paths from test names.
12020 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
12021 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
12022
9836f81b
JB
120232007-02-27 Joel Brobecker <brobecker@adacore.com>
12024
12025 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
12026
c74d0ad8
DJ
120272007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12028
12029 * gdb.server/server-mon.exp: New test.
12030
2711e456
DJ
120312007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12032
12033 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
12034
ff6f572f
DJ
120352007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
12036
12037 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
12038 register capitalization.
12039
fada3feb
DP
120402007-02-13 Denis Pilat <denis.pilat@st.com>
12041
12042 * gdb.mi/mi-var-invalidate.exp: New file.
12043
fb1e4ffc
DJ
120442007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12045
12046 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
12047
3da939d7
DJ
120482007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12049
12050 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
12051
123dc839
DJ
120522007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
12053
12054 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
12055 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
12056
877e3645 120572007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
12058
12059 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
12060 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
12061 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
12062 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
12063 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 12064 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 12065 Update tests to include value field in output of -var-create.
a9c64011 12066
3c0a2960
AS
120672007-02-08 Andreas Schwab <schwab@suse.de>
12068
12069 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
12070
108546a0
DJ
120712007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
12072
12073 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
12074 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
12075
d701dcab
DP
120762007-02-02 Denis Pilat <denis.pilat@st.com>
12077
12078 * gdb.threads/threadapply.exp: check that frame is not changed by
12079 the thread apply all command.
12080
783e3e2f
AS
120812007-01-31 Andreas Schwab <schwab@suse.de>
12082
6d9c3a87
AS
12083 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
12084
3c50d7b9
AS
12085 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
12086 in the dwarf sections.
12087 * gdb.dwarf2/mac-fileno.S: Likewise.
12088
783e3e2f
AS
12089 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
12090 bspstore register on ia64.
12091
78ff580e
AS
120922007-01-29 Andreas Schwab <schwab@suse.de>
12093
cc8e9b12
AS
12094 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
12095 "frame-begin" annotation.
12096
78ff580e
AS
12097 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
12098 number of "frames-invalid" annotations.
12099
704a4f78
DJ
121002007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12101
12102 * gdb.base/commands.exp: Call if_commands_test.
12103 (gdb_test_no_prompt, if_commands_test): New.
12104
e741bf94
MK
121052007-01-28 Mark Kettenis <kettenis@gnu.org>
12106
12107 * gdb.threads/sigthread.c (NSIGS): Make bigger.
12108
474d0ad3
AS
121092007-01-27 Andreas Schwab <schwab@suse.de>
12110
12111 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
12112 .short/.int/.quad in the dwarf sections.
12113 * gdb.dwarf2/dw2-intercu.S: Likewise.
12114 * gdb.dwarf2/dw2-intermix.S: Likewise.
12115
e784b426
JK
121162007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12117
12118 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
12119 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
12120 array.
e784b426
JK
12121 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
12122 * gdb.base/setvar.exp: Likewise.
12123
37f08e04
AS
121242007-01-26 Andreas Schwab <schwab@suse.de>
12125
9a01813a
AS
12126 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
12127 test.
12128
37f08e04
AS
12129 * gdb.base/multi-forks.exp ("restart $i"): Also match
12130 __kernel_syscall_via_break.
12131
6e2a9270
VP
121322007-01-24 Vladimir Prus <vladimir@codesourcery.com>
12133
12134 * lib/mi-support.exp (mi_delete_varobj): New.
12135 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
12136 testcase.
12137 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
12138 (main): Call the above.
12139 (reference_update_test, base_in_reference_test)
12140 (reference_to_pointer): Delete the created varobjs.
a9c64011 12141
e515b470
DJ
121422007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
12143
12144 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
12145 * configure: Regenerated.
12146 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
12147 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
12148 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
12149 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
12150 * lib/gdb.exp (gdb_skip_xml_test): New function.
12151
08d8bcd7
DJ
121522007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
12153
12154 * gdb.base/sigrepeat.exp: Correct error message.
12155
121562007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
12157 Daniel Jacobowitz <dan@codesourcery.com>
12158
12159 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
12160 gdb.arch/i386-gnu-cfi-asm.S: New files.
12161
97c3f1f3
JK
121622007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12163
12164 * lib/gdb.exp: Abort on missing `site.exp'.
12165
cb1df416
DJ
121662007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12167 Daniel Jacobowitz <dan@codesourcery.com>
12168
12169 * gdb.base/included.c, gdb.base/included.exp,
12170 gdb.base/included.h: New files.
12171
35990120
DJ
121722007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12173
12174 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
12175 (maximize_rlimit): Reduce limits on 64-bit systems.
12176
6e81a116 121772007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
12178
12179 From Marcus Deuling <deuling@de.ibm.com>:
12180 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
12181 every case.
12182
6c3c41f3
NR
121832007-01-13 Nick Roberts <nickrob@snap.net.nz>
12184
12185 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
12186 (test_path_specification): Use objdir instead of srcdir to always
12187 get an absolute filename.
12188
2f12c312
DJ
121892007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
12190
12191 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
12192
81121995
VP
121932007-01-11 Vladimir Prus <vladimir@codesourcery.com>
12194
12195 * gdb.mi/mi-var-cp.cc (reference_update_tests):
12196 Make sure the variable we're using is in scope.
12197 (reference_to_pointer): Likewise.
12198
4741b737
DJ
121992007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12200
12201 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
12202 has no debug information.
12203
054410c3
DJ
122042007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
12205
12206 * gdb.base/annota1.exp: Remove extra send_gdb.
12207
818f79f6
DJ
122082007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12209
12210 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
12211
f7a6bb70
DJ
122122007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12213
12214 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
12215
57e66780
DJ
122162007-01-08 Nick Roberts <nickrob@snap.net.nz>
12217 Daniel Jacobowitz <dan@codesourcery.com>
12218
12219 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
12220 lcharacter or linteger change. Correct duplicated test name.
12221 * gdb.mi/mi2-var-cmd.exp: Likewise.
12222
3d799a95
DJ
122232007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12224
12225 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
12226
122272007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 12228
a9c64011
AS
12229 * gdb.base/nofield.c: New file.
12230 * gdb.base/nofield.exp: New testcase.
51679ba9 12231
eafb94e8
NR
122322007-01-05 Nick Roberts <nickrob@snap.net.nz>
12233
12234 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
12235
12236 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
12237 test.
12238
5e572bb4
DJ
122392007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12240
12241 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
12242
74a44383
DJ
122432007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12244
12245 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
12246 when continuing.
12247
1b572db9
DJ
122482007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12249
12250 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
12251 Expect ".exe" extension.
12252
381bc39b
DJ
122532007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12254
12255 * gdb.base/charset.exp: Add explicit filename to break.
12256 * gdb.base/dbx.exp: Add explicit filename to breaks.
12257
2b70e4c6
DJ
122582007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12259
12260 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
12261 * gdb.mi/mi2-file.exp: Likewise.
12262
303b6f5d
DJ
122632007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12264
12265 Implement specification of MI tests as comments
12266 in C and C++ sources.
12267 * lib/mi-support.exp (mi_autotest_data): New variable.
12268 (mi_autotest_source): New variable.
12269 (count_newlines, mi_prepare_inline_tests)
12270 (mi_get_inline_test, mi_continue_to_line)
12271 (mi_run_inline_test, mi_tbreak)
12272 (mi_send_resuming_command, mi_wait_for_stop): New functions.
12273 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
12274 Run inline tests.
12275 * gdb.mi/mi-var-cp.cc: Define tests here.
12276
23da0d94
VP
122772007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12278
12279 Simplify usage of mi_continue_to.
12280 * lib/mi-support.exp (mi_runto_helper): Renamed
12281 from mi_runto, added new parameter 'run_or_continue'.
12282 (mi_runto): Use mi_runto_helper.
12283 (mi_continue_to): Accept just function name as parameter.
12284 Use mi_runto_helper.
12285 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
12286 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 12287
f9e18282
JB
122882006-01-04 Joel Brobecker <brobecker@adacore.com>
12289
12290 Make this testcase a bit more realistic. The current code
12291 is too simplistic, and allows the compiler to optimize out
12292 some of the entities we need for this testcase.
12293 * gdb.ada/null_record/bar.ads (Void_Star): New type.
12294 (Do_Nothing): Add extra parameter.
12295 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
12296 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
12297 by using a variable of type Void_Star.
12298
fd678c65
JB
122992006-01-04 Joel Brobecker <brobecker@adacore.com>
12300
12301 * gdb.ada/catch_ex/foo.adb: New file.
12302 * gdb.ada/catch_ex.exp: New testcase.
12303
05cfdb42
DJ
123042007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
12305
12306 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
12307 pass --image-base to linker.
12308
2e03ee74
DJ
123092007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12310 Daniel Jacobowitz <dan@codesourcery.com>
12311
12312 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
12313 secondary prompts.
12314
0d5de010
DJ
123152007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12316
12317 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
12318 output. Test the types of members and member pointers.
12319 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
12320 gdb/2092.
12321 * gdb.cp/member-ptr.exp: Search for a comment instead of a
12322 statement. Enable for GCC. Update expected output for some tests
12323 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
12324 layout.
12325 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
12326 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
12327 (Diamond::vget_base): New.
12328 (main): Add new tests.
12329 * gdb.cp/printmethod.exp: Update expected output for member functions.
12330 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
12331 print pEe->D::vg().
12332
61a771aa
DJ
123332007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12334
12335 * gdb.threads/tls.exp: Allow stops in sem_post.
12336
2fa63963
DJ
123372006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
12338
12339 * gdb.base/annota1.exp: Allow .*printf in backtraces.
12340 * gdb.base/annota3.exp: Likewise.
12341 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
12342 again (instead of timing out).
12343 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
12344 GCC bug 26475.
12345 * gdb.java/jmisc.exp: Adjust to work with method signatures including
12346 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
12347 test from jmisc1.exp.
12348 * gdb.java/jmisc1.exp: Delete.
12349 * gdb.java/jprint.exp: Adjust to work with method signatures including
12350 return types.
12351 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
12352 * gdb.threads/linux-dp.exp: Don't be confused by program output.
12353 * lib/java.exp (compile_java_from_source): Pass the correct type
12354 to target_compile.
12355
5eefc2b7
JB
123562006-12-31 Joel Brobecker <brobecker@adacore.com>
12357
12358 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
12359 (stack_align_edx): New function.
12360 (stack_align_eax): New function.
12361 (main): Add calls to stack_align_edx and stack_align_eax.
12362 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
12363 Add testing for the cases where the register used during a stack
12364 realignment is edx. Same for eax.
12365
227c54da
DJ
123662006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
12367
12368 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
12369 and generic PE targets.
12370
cab8ac94
JB
123712006-12-29 Joel Brobecker <brobecker@adacore.com>
12372
12373 * gdb.ada/array_return.exp: Update copyright date list.
12374
ba54f318
JB
123752006-12-27 Joel Brobecker <brobecker@adacore.com>
12376
12377 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
12378 (Create_Small_Float_Vector): New function.
12379 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
12380 function body.
12381 * gdb.ada/array_return/p.adb: Use new type and function from
12382 package Pck.
12383 * gdb.ada/array_return.exp: Add a test verifying that GDB is
12384 able to print the value returned by a function returning an
12385 array of float.
12386
6b7a35dd
JB
123872006-12-20 Joel Brobecker <brobecker@adacore.com>
12388
12389 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
12390 The associated tests should be PASSing.
12391
038224f6
VP
123922006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12393
12394 Test for base in references.
12395 * gdb.mi/mi-var-cp.cc: Add test code.
12396 * gdb.mi/mi-var-cp.exp: Test for bases in references.
12397 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
12398 * gdb.mi/mi2-watch.exp: Likewise.
12399 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
12400 (mi_list_varobj_children): New function.
12401
b26ed50d
VP
124022006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12403
12404 * lib/mi-support.exp
12405 (mi_runto): Accept "()" after function name.
12406 (mi_create_varobj): New function.
12407 (mi_varobj_update): New function.
12408 (mi_Check_varobj_value): New function.
12409 * gdb.mi/mi-var-cp.exp: New file.
12410 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 12411
08232497
DJ
124122006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
12413
12414 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
12415 gdb.base/weaklib2.c: New files.
12416
d394c993 124172006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 12418
ac6c2fba
NS
12419 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
12420 info. Adjust test names.
12421
8ec659a0 12422 * gdb.base/break.c (main): Move position of malloc.
d394c993 12423 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 12424
acd65feb
VP
124252006-11-28 Vladimir Prus <vladimir@codesourcery.com>
12426
12427 * gdb.mi/mi-var-cmd.exp: Check -var-update after
12428 assignement of arrays and function pointers.
12429 * gdb.mi/var-cmd.c: Add declaration necessary for above
12430 tests.
12431
f556d5e5
NS
124322006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12433
12434 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
12435
12436 * gdb.threads/linux-dp.exp: Read thread table before and after
12437 creating each philosopher and verify it.
12438
697bc68d
NS
124392006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12440 Paul Brook <paul@codesourcery.com>
12441 Daniel Jacobowitz <dan@codesourcery.com>
12442
12443 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 12444 main to remove duplication. Add start function of the form
697bc68d
NS
12445 '_*start[1-9]*'. Add RVDS start function.
12446
29d73ae4
DJ
124472006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12448
12449 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
12450
c1d88655
UW
124512006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12452
12453 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
12454 * gdb.asm/spu.inc: New file.
12455 * gdb.base/term.exp: Disable if [target_info exists noargs].
12456 * gdb.gdb/complaints.exp: Disable if ![isnative].
12457 * gdb.gdb/selftest.exp: Likewise.
12458 * gdb.gdb/observer.exp: Likewise.
12459 * gdb.gdb/xfullpath.exp: Likewise.
12460 * gdb.base/attach.exp: Disable on SPU target.
12461 * gdb.cp/bs145503.exp: Likewise.
12462 * gdb.cp/exception.exp: Likewise.
12463 * gdb.cp/userdef.exp: Likewise.
12464
32a13b1a
DJ
124652006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12466
12467 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
12468
d8295fe9
VP
124692006-11-10 Vladimir Prus <vladimir@codesourcery.com>
12470
12471 * gdb.base/completion.exp: Fix completion tests for
12472 'info' and 'info '.
12473 * gdb.base/help.exp (help_test_raw, test_class_help)
12474 (test_prefix_command_help): Move...
12475 * lib/gdb.exp: Here.
12476 * gdb.base/main.exp: Adjust.
12477 * gdb.cp/maint.exp: Adjust.
12478 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 12479
8c394015
VP
124802006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12481
12482 * gdb.stabs/weird.exp (print_weird_var): Use
12483 gdb_test_multiple instead of gdb_expect.
12484
027fc1bc
VP
124852006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12486
12487 * gdb.base/help.exp (help_test_raw): New.
12488 (test_class_help): New.
12489 (test_prefix_command_help): New.
12490 Adjust testcases.
12491
67609209
FR
124922006-11-09 Christophe Lyon <christophe.lyon@st.com>
12493
12494 * gdb.base/constvars.c (main): Write to crass and crips, so that
12495 they are allocated by the compiler.
12496
f73adfeb
AS
124972006-10-27 Andreas Schwab <schwab@suse.de>
12498
12499 * gdb.base/multi-forks.exp: Use "detach fork" instead of
12500 "detach-fork".
12501
2f83a18e
DJ
125022006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
12503
12504 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
12505 of patterns.
12506
94277a38
DJ
125072006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12508
12509 * gdb.base/sepdebug.exp: Remove debug format test.
12510 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
12511 Handle no-symtab.
12512 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
12513
5bd2f6e2
DJ
125142006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12515
12516 * gdb.threads/manythreads.c (thread_function, main): Don't cast
12517 int to pointer or pointer to int.
12518 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
12519
8c008720
DJ
125202006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
12521
12522 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
12523
9e35dae4
DJ
125242006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12525
12526 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
12527
d9639e13
DJ
125282006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
12529
12530 PR c++/2116
12531 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
12532
390a1bd0
JB
125332006-10-06 Joel Brobecker <brobecker@adacore.com>
12534
12535 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
12536 the corresponding bug has been fixed in GDB (PR/2018).
12537
dd920c33
JB
125382006-10-06 Joel Brobecker <brobecker@adacore.com>
12539
12540 * gdb.base/subst.exp: New testcase.
12541
53bbefe9
JB
125422006-10-06 Joel Brobecker <brobecker@adacore.com>
12543
12544 * gdb.ada/array_return/pck.ads: Add copyright notice.
12545 * gdb.ada/array_return/pck.adb: Likewise.
12546 * gdb.ada/array_return/p.adb: Likewise.
12547 * gdb.ada/exec_changed/first.adb: Likewise.
12548 * gdb.ada/exec_changed/second.adb: Likewise.
12549
09851417
JB
125502006-10-06 Joel Brobecker <brobecker@adacore.com>
12551
12552 * gdb.ada/watch_arg/watch.adb: New file.
12553 * gdb.ada/watch_arg.exp: New testcase.
12554
041bf30d
VP
125552006-10-02 Vladimir Prus <vladimir@codesourcery.com>
12556
12557 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 12558 via string_to_regexp.
041bf30d 12559 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 12560
f286fbdd 125612006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
12562
12563 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
12564 Remove unused / obsolete files.
12565
7c07f349
NR
125662006-09-19 Nick Roberts <nickrob@snap.net.nz>
12567
12568 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
12569
cd5ff84a
VP
125702006-09-17 Vladimir Prus <vladimir@codesourcery.com>
12571
12572 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
12573 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 12574 the number of frames.
cd5ff84a 12575
ae018d1a
DJ
125762006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
12577
12578 * gdb.base/args.c (main): Add breakpoint marker.
12579 * gdb.base/args.exp: Use args_test for tests. Add new tests which
12580 really test empty arguments.
12581 (args_load): Delete.
12582 (args_test): New.
12583
b399c549
NR
125842006-09-13 Nick Roberts <nickrob@snap.net.nz>
12585
12586 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 12587 check for one file.
b399c549 12588
2ab1eb7a
VP
125892006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
12590
12591 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
12592 HIGH_FRAME argument to -stack-list-locals can be larger than
12593 the number of frames.
a9c64011 12594
476308bf
FF
125952006-08-18 Fred Fish <fnf@specifix.com>
12596
12597 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
12598 '$' in front of skip_vmx_tests_saved when setting that.
12599
8625200f
AS
126002006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
12601
12602 * gdb.base/trace-commands.exp: New file.
12603
089ec8f1
DJ
126042006-08-10 Joel Brobecker <brobecker@adacore.com>
12605 Daniel Jacobowitz <dan@codesourcery.com>
12606
12607 * gdb.base/step-bt.exp: Make hexadecimal address optional in
12608 expected output of the backtrace commands.
12609
b60f0898
JB
126102006-08-09 Joel Brobecker <brobecker@adacore.com>
12611
12612 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
12613 untested followed by return combination.
12614 * gdb.arch/altivec-regs.exp: Likewise.
12615 * gdb.arch/e500-abi.exp: Likewise.
12616 * gdb.arch/e500-regs.exp: Likewise.
12617 * gdb.arch/gdb1291.exp: Likewise.
12618 * gdb.arch/gdb1431.exp: Likewise.
12619 * gdb.arch/gdb1558.exp: Likewise.
12620 * gdb.arch/i386-prologue.exp: Likewise.
12621 * gdb.arch/i386-unwind.exp: Likewise.
12622 * gdb.asm/asm-source.exp: Likewise.
12623 * gdb.base/a2-run.exp: Likewise.
12624 * gdb.base/advance.exp: Likewise.
12625 * gdb.base/all-bin.exp: Likewise.
12626 * gdb.base/annota1.exp: Likewise.
12627 * gdb.base/annota3.exp: Likewise.
12628 * gdb.base/args.exp: Likewise.
12629 * gdb.base/arithmet.exp: Likewise.
12630 * gdb.base/assign.exp: Likewise.
12631 * gdb.base/async.exp: Likewise.
12632 * gdb.base/attach.exp: Likewise.
12633 * gdb.base/bang.exp: Likewise.
12634 * gdb.base/bigcore.exp: Likewise.
12635 * gdb.base/bitfields.exp: Likewise.
12636 * gdb.base/bitfields2.exp: Likewise.
12637 * gdb.base/break.exp: Likewise.
12638 * gdb.base/call-sc.exp: Likewise.
12639 * gdb.base/call-strs.exp: Likewise.
12640 * gdb.base/callfuncs.exp: Likewise.
12641 * gdb.base/checkpoint.exp: Likewise.
12642 * gdb.base/chng-syms.exp: Likewise.
12643 * gdb.base/code-expr.exp: Likewise.
12644 * gdb.base/commands.exp: Likewise.
12645 * gdb.base/completion.exp: Likewise.
12646 * gdb.base/cond-expr.exp: Likewise.
12647 * gdb.base/condbreak.exp: Likewise.
12648 * gdb.base/consecutive.exp: Likewise.
12649 * gdb.base/constvars.exp: Likewise.
12650 * gdb.base/corefile.exp: Likewise.
12651 * gdb.base/cvexpr.exp: Likewise.
12652 * gdb.base/dbx.exp: Likewise.
12653 * gdb.base/define.exp: Likewise.
12654 * gdb.base/detach.exp: Likewise.
12655 * gdb.base/display.exp: Likewise.
12656 * gdb.base/dump.exp: Likewise.
12657 * gdb.base/ena-dis-br.exp: Likewise.
12658 * gdb.base/ending-run.exp: Likewise.
12659 * gdb.base/environ.exp: Likewise.
12660 * gdb.base/eval-skip.exp: Likewise.
12661 * gdb.base/exprs.exp: Likewise.
12662 * gdb.base/fileio.exp: Likewise.
12663 * gdb.base/finish.exp: Likewise.
12664 * gdb.base/float.exp: Likewise.
12665 * gdb.base/foll-exec.exp: Likewise.
12666 * gdb.base/foll-fork.exp: Likewise.
12667 * gdb.base/foll-vfork.exp: Likewise.
12668 * gdb.base/freebpcmd.exp: Likewise.
12669 * gdb.base/funcargs.exp: Likewise.
12670 * gdb.base/gcore.exp: Likewise.
12671 * gdb.base/gdb1090.exp: Likewise.
12672 * gdb.base/gdb1250.exp: Likewise.
12673 * gdb.base/huge.exp: Likewise.
12674 * gdb.base/info-proc.exp: Likewise.
12675 * gdb.base/interrupt.exp: Likewise.
12676 * gdb.base/jump.exp: Likewise.
12677 * gdb.base/langs.exp: Likewise.
12678 * gdb.base/lineinc.exp: Likewise.
12679 * gdb.base/list.exp: Likewise.
12680 * gdb.base/logical.exp: Likewise.
12681 * gdb.base/long_long.exp: Likewise.
12682 * gdb.base/macscp.exp: Likewise.
12683 * gdb.base/maint.exp: Likewise.
12684 * gdb.base/mips_pro.exp: Likewise.
12685 * gdb.base/miscexprs.exp: Likewise.
12686 * gdb.base/multi-forks.exp: Likewise.
12687 * gdb.base/opaque.exp: Likewise.
12688 * gdb.base/overlays.exp: Likewise.
12689 * gdb.base/pc-fp.exp: Likewise.
12690 * gdb.base/pointers.exp: Likewise.
12691 * gdb.base/printcmds.exp: Likewise.
12692 * gdb.base/psymtab.exp: Likewise.
12693 * gdb.base/ptype.exp: Likewise.
12694 * gdb.base/recurse.exp: Likewise.
12695 * gdb.base/relational.exp: Likewise.
12696 * gdb.base/relocate.exp: Likewise.
12697 * gdb.base/remote.exp: Likewise.
12698 * gdb.base/reread.exp: Likewise.
12699 * gdb.base/restore.exp: Likewise.
12700 * gdb.base/return.exp: Likewise.
12701 * gdb.base/return2.exp: Likewise.
12702 * gdb.base/scope.exp: Likewise.
12703 * gdb.base/sect-cmd.exp: Likewise.
12704 * gdb.base/sep.exp: Likewise.
12705 * gdb.base/sepdebug.exp: Likewise.
12706 * gdb.base/setshow.exp: Likewise.
12707 * gdb.base/setvar.exp: Likewise.
12708 * gdb.base/sigall.exp: Likewise.
12709 * gdb.base/sigbpt.exp: Likewise.
12710 * gdb.base/signals.exp: Likewise.
12711 * gdb.base/signull.exp: Likewise.
12712 * gdb.base/sizeof.exp: Likewise.
12713 * gdb.base/solib.exp: Likewise.
12714 * gdb.base/step-line.exp: Likewise.
12715 * gdb.base/step-test.exp: Likewise.
12716 * gdb.base/structs.exp: Likewise.
12717 * gdb.base/structs2.exp: Likewise.
12718 * gdb.base/term.exp: Likewise.
12719 * gdb.base/twice.exp: Likewise.
12720 * gdb.base/until.exp: Likewise.
12721 * gdb.base/varargs.exp: Likewise.
12722 * gdb.base/volatile.exp: Likewise.
12723 * gdb.base/watchpoint.exp: Likewise.
12724 * gdb.base/whatis-exp.exp: Likewise.
12725 * gdb.base/whatis.exp: Likewise.
12726 * gdb.cp/ambiguous.exp: Likewise.
12727 * gdb.cp/annota2.exp: Likewise.
12728 * gdb.cp/annota3.exp: Likewise.
12729 * gdb.cp/bool.exp: Likewise.
12730 * gdb.cp/breakpoint.exp: Likewise.
12731 * gdb.cp/casts.exp: Likewise.
12732 * gdb.cp/class2.exp: Likewise.
12733 * gdb.cp/classes.exp: Likewise.
12734 * gdb.cp/cplusfuncs.exp: Likewise.
12735 * gdb.cp/ctti.exp: Likewise.
12736 * gdb.cp/derivation.exp: Likewise.
12737 * gdb.cp/exception.exp: Likewise.
12738 * gdb.cp/gdb1355.exp: Likewise.
12739 * gdb.cp/hang.exp: Likewise.
12740 * gdb.cp/inherit.exp: Likewise.
12741 * gdb.cp/local.exp: Likewise.
12742 * gdb.cp/m-data.exp: Likewise.
12743 * gdb.cp/m-static.exp: Likewise.
12744 * gdb.cp/member-ptr.exp: Likewise.
12745 * gdb.cp/method.exp: Likewise.
12746 * gdb.cp/misc.exp: Likewise.
12747 * gdb.cp/namespace.exp: Likewise.
12748 * gdb.cp/overload.exp: Likewise.
12749 * gdb.cp/ovldbreak.exp: Likewise.
12750 * gdb.cp/pr-1023.exp: Likewise.
12751 * gdb.cp/pr-1210.exp: Likewise.
12752 * gdb.cp/pr-574.exp: Likewise.
12753 * gdb.cp/printmethod.exp: Likewise.
12754 * gdb.cp/psmang.exp: Likewise.
12755 * gdb.cp/ref-params.exp: Likewise.
12756 * gdb.cp/ref-types.exp: Likewise.
12757 * gdb.cp/rtti.exp: Likewise.
12758 * gdb.cp/templates.exp: Likewise.
12759 * gdb.cp/try_catch.exp: Likewise.
12760 * gdb.cp/userdef.exp: Likewise.
12761 * gdb.cp/virtfunc.exp: Likewise.
12762 * gdb.disasm/am33.exp: Likewise.
12763 * gdb.disasm/h8300s.exp: Likewise.
12764 * gdb.disasm/mn10300.exp: Likewise.
12765 * gdb.disasm/sh3.exp: Likewise.
12766 * gdb.disasm/t01_mov.exp: Likewise.
12767 * gdb.disasm/t02_mova.exp: Likewise.
12768 * gdb.disasm/t03_add.exp: Likewise.
12769 * gdb.disasm/t04_sub.exp: Likewise.
12770 * gdb.disasm/t05_cmp.exp: Likewise.
12771 * gdb.disasm/t06_ari2.exp: Likewise.
12772 * gdb.disasm/t07_ari3.exp: Likewise.
12773 * gdb.disasm/t08_or.exp: Likewise.
12774 * gdb.disasm/t09_xor.exp: Likewise.
12775 * gdb.disasm/t10_and.exp: Likewise.
12776 * gdb.disasm/t11_logs.exp: Likewise.
12777 * gdb.disasm/t12_bit.exp: Likewise.
12778 * gdb.disasm/t13_otr.exp: Likewise.
12779 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
12780 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
12781 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12782 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
12783 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
12784 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12785 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12786 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
12787 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
12788 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
12789 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
12790 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
12791 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
12792 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
12793 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
12794 * gdb.mi/gdb701.exp: Likewise.
12795 * gdb.mi/gdb792.exp: Likewise.
12796 * gdb.mi/mi-basics.exp: Likewise.
12797 * gdb.mi/mi-break.exp: Likewise.
12798 * gdb.mi/mi-cli.exp: Likewise.
12799 * gdb.mi/mi-console.exp: Likewise.
12800 * gdb.mi/mi-disassemble.exp: Likewise.
12801 * gdb.mi/mi-eval.exp: Likewise.
12802 * gdb.mi/mi-file.exp: Likewise.
12803 * gdb.mi/mi-read-memory.exp: Likewise.
12804 * gdb.mi/mi-regs.exp: Likewise.
12805 * gdb.mi/mi-return.exp: Likewise.
12806 * gdb.mi/mi-simplerun.exp: Likewise.
12807 * gdb.mi/mi-stack.exp: Likewise.
12808 * gdb.mi/mi-stepi.exp: Likewise.
12809 * gdb.mi/mi-syn-frame.exp: Likewise.
12810 * gdb.mi/mi-until.exp: Likewise.
12811 * gdb.mi/mi-var-block.exp: Likewise.
12812 * gdb.mi/mi-var-child.exp: Likewise.
12813 * gdb.mi/mi-var-cmd.exp: Likewise.
12814 * gdb.mi/mi-var-display.exp: Likewise.
12815 * gdb.mi/mi-watch.exp: Likewise.
12816 * gdb.mi/mi2-basics.exp: Likewise.
12817 * gdb.mi/mi2-break.exp: Likewise.
12818 * gdb.mi/mi2-cli.exp: Likewise.
12819 * gdb.mi/mi2-console.exp: Likewise.
12820 * gdb.mi/mi2-disassemble.exp: Likewise.
12821 * gdb.mi/mi2-eval.exp: Likewise.
12822 * gdb.mi/mi2-file.exp: Likewise.
12823 * gdb.mi/mi2-read-memory.exp: Likewise.
12824 * gdb.mi/mi2-regs.exp: Likewise.
12825 * gdb.mi/mi2-return.exp: Likewise.
12826 * gdb.mi/mi2-simplerun.exp: Likewise.
12827 * gdb.mi/mi2-stack.exp: Likewise.
12828 * gdb.mi/mi2-stepi.exp: Likewise.
12829 * gdb.mi/mi2-syn-frame.exp: Likewise.
12830 * gdb.mi/mi2-until.exp: Likewise.
12831 * gdb.mi/mi2-var-block.exp: Likewise.
12832 * gdb.mi/mi2-var-child.exp: Likewise.
12833 * gdb.mi/mi2-var-cmd.exp: Likewise.
12834 * gdb.mi/mi2-var-display.exp: Likewise.
12835 * gdb.mi/mi2-watch.exp: Likewise.
12836 * gdb.stabs/exclfwd.exp: Likewise.
12837 * gdb.stabs/weird.exp: Likewise.
12838 * gdb.threads/gcore-thread.exp: Likewise.
12839 * gdb.trace/actions.exp: Likewise.
12840 * gdb.trace/backtrace.exp: Likewise.
12841 * gdb.trace/circ.exp: Likewise.
12842 * gdb.trace/collection.exp: Likewise.
12843 * gdb.trace/deltrace.exp: Likewise.
12844 * gdb.trace/infotrace.exp: Likewise.
12845 * gdb.trace/limits.exp: Likewise.
12846 * gdb.trace/packetlen.exp: Likewise.
12847 * gdb.trace/passc-dyn.exp: Likewise.
12848 * gdb.trace/passcount.exp: Likewise.
12849 * gdb.trace/report.exp: Likewise.
12850 * gdb.trace/save-trace.exp: Likewise.
12851 * gdb.trace/tfind.exp: Likewise.
12852 * gdb.trace/tracecmd.exp: Likewise.
12853 * gdb.trace/while-dyn.exp: Likewise.
12854 * gdb.trace/while-stepping.exp: Likewise.
12855
f4b618d1
JB
128562006-08-08 Joel Brobecker <brobecker@adacore.com>
12857
12858 * gdb.base/step-bt.c: New file.
12859 * gdb.base/step-bt.exp: New testcase.
12860
3d00d119
DJ
128612006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
12862
12863 * config/monitor.exp (gdb_load): Remove support for obsolete
12864 download-write-size.
12865 * gdb.base/remote.exp: Likewise. Update all callers of
12866 gdb_timed_load.
12867
017b5bd4
DJ
128682006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
12869
12870 * cursal.exp: Pass binfile to gdb_load.
12871
837c599d
DJ
128722006-08-01 Nathan Sidwell <nathan@codesourcery.com>
12873
12874 * gdb.base/cursal.exp: Add "" to gdb_load call.
12875
8dd4540b
MK
128762006-07-29 Mark Kettenis <kettenis@gnu.org>
12877
12878 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
12879 NetBSD/ELF targets.
12880
ab5c9f60
DJ
128812006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
12882
12883 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
12884 operator*.
12885
4c42eaff
DJ
128862006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
12887
12888 * gdb.base/completion.exp: Update for change in "file" behavior.
12889 * gdb.stabs/weird.exp: Likewise.
12890 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
12891 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
12892
0155cc76
NS
128932006-07-24 Nathan Sidwell <nathan@codesourcery.com>
12894
12895 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
12896 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
12897
16026cd7
AS
128982006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
12899
12900 * gdb.base/default.exp: Update source command error message.
12901 * gdb.base/help.exp: Update 'help source' message.
12902
16963cb6
DJ
129032006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
12904
12905 * gdb.cp/bs15503.exp: Update comment for no longer crashing
12906 test.
12907
6d7fd486
AS
129082006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
12909
12910 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
12911
29e8a844
DJ
129122006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12913
12914 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
12915
6afcfa39
DJ
129162006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12917
12918 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
12919
267a692b
MK
129202006-07-17 Mark Kettenis <kettenis@gnu.org>
12921
12922 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
12923 *-*-openbsd* from targets for wich we expect ARM FPA floating
12924 point format.
12925
85d2fec4
NR
129262006-07-17 Nick Roberts <nickrob@snap.net.nz>
12927
12928 * gdb.cp/annota3.exp: Expect frame-begin annotation.
12929
129302006-07-17 Mark Kettenis <kettenis@gnu.org>
12931
12932 * gdb.base/annota3.exp: Expect frame-begin annotation.
12933
85b4c6e8
JB
129342006-07-14 Joel Brobecker <brobecker@adacore.com>
12935
12936 * gdb.base/help.exp: Adjust "help unset" test to accept
12937 any list of unset commands.
12938
fb933624
DJ
129392006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
12940 Daniel Jacobowitz <dan@codesourcery.com>
12941
12942 * gdb.cp/ref-params.exp: New test.
12943 * gdb.cp/ref-params.cc: New source file.
12944 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
12945
1dff4b64
MK
129462006-07-08 Mark Kettenis <kettenis@gnu.org>
12947
12948 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
12949 spaces/tabs in regular expressions since they might not be there.
12950
40d2e0e3
AS
129512006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
12952
12953 * gdb.base/ifelse.exp: New file.
12954
f6c957d2
NS
129552006-07-04 Nathan Sidwell <nathan@codesourcery.com>
12956
12957 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
12958 line.
12959 * gdb.base/huge.exp: Loop over compilation to find a size that
12960 is acceptable.
12961 * gdb.base/remote.exp: Correct expected strings.
12962 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
12963
b9c5a23d
DJ
129642006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12965
12966 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
12967
9af2e58d
DJ
129682006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12969
12970 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
12971 native.
12972
30930ca5
DJ
129732006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12974
12975 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
12976 enable stabs testing.
12977
aa32fa1d
DJ
129782006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12979
bd4a4c80 12980 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
12981 gdb_test_multiple does.
12982
321fef15
DJ
129832006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12984
12985 * Makefile.in (host_alias): Remove.
12986 (target_alias): Use @target_noncanonical@.
12987 (site.exp): Don't set host_alias.
12988 * aclocal.m4: Remove contents. Include acx.m4.
12989 * configure: Regenerated.
12990 * configure.ac: Use ACX_NONCANONICAL_TARGET.
12991
e1c2defa
NS
129922006-06-13 Nathan Sidwell <nathan@codesourcery.com>
12993
e63b55d1
NS
12994 * lib/gdb.exp (gdb_load_cmd): New.
12995
5600ea19
NS
12996 * gdb.base/fileio.c: Add system(NULL) test.
12997 * gdb.base/fileio.exp: Check it.
12998
e1c2defa
NS
12999 * gdb.base/break.c: Add 10a breakpoint at }
13000 * gdb.base/break.exp: Add test for breakpoint at }
13001 * gdb.cp/anon-union.cc: Add code at end of function.
13002 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
13003 * gdb.mi/var-cmd.c: Add code at end of function.
13004 * gdb.mi/mi-var-display.exp: Adjust end of next.
13005 * gdb.mi/mi2-var-display.exp: Likewise.
13006 * gdb.base/fileio.c: Add stop function and insert calls at
13007 stopping places.
13008 * gdb.base/fileio.exp: Breakpoint stop function and remove
13009 explicit line number references.
13010
6c0112ec
JB
130112006-05-19 Joel Brobecker <brobecker@adacore.com>
13012
a9c64011
AS
13013 * gdb.base/del.exp (test_delete_alias): New function.
13014 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 13015
154189a4
FF
130162006-05-18 Fred Fish <fnf@specifix.com>
13017
13018 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
13019 required. Check for spurious output after program exits normally.
13020
582e64c2
FF
130212006-05-17 Fred Fish <fnf@specifix.com>
13022
13023 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
13024 gdb_load, so it works in the simulator.
13025
8ef6493a
FF
130262006-05-11 Fred Fish <fnf@specifix.com>
13027
13028 * gdb.base/bang.exp: Ignore unexpected output between the
13029 "program exited normally" and the gdb prompt, as many other
13030 tests do.
13031
692b141c
MK
130322006-05-07 Mark Kettenis <kettenis@gnu.org>
13033
13034 * gdb.base/help.exp: Make "delete checkpoint" part option for
13035 "help d" and "help delete" tests.
13036
540b8a30
UW
130372006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13038
a9c64011 13039 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
13040 expected output in some mi_gdb_test statements.
13041 * gdb.mi/mi2-basics.exp: Likewise.
13042
9b6462d9
JB
130432006-05-05 Joel Brobecker <brobecker@adacore.com>
13044
13045 * gdb.base/del.c: New file.
13046 * gdb.base/del.exp: New testcase.
13047
954de43b
DM
130482006-05-05 David S. Miller <davem@sunset.davemloft.net>
13049
13050 * gdb.base/break.exp: Do not assume a breakpoint on
13051 main will actually be in $srcfile when optimizing.
1303f75e
DM
13052 * gdb.base/savedregs.exp: Do not require that the dummy
13053 frame location match up to a symbol and source file location.
c3242428
DM
13054 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
13055 will get printed without a mi_cmd_data_list_register_values prefix.
13056 (*-data-list-register-*): Correct regular expressions to expect the new
13057 pseudo d? floating point registers.
13058 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 13059
c7e64c9a
DJ
130602006-05-05 Christophe Lyon <christophe.lyon@st.com>
13061
13062 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
13063 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
13064 is allocated by the compiler.
13065 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
13066 anons, e, anone to force their allocation by the compiler.
13067
130682006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
13069
13070 * gdb.base/help.exp: Update expected text for help d and
13071 help delete.
13072
27ce9a6d
MK
130732006-05-02 Mark Kettenis <kettenis@gnu.org>
13074
13075 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
13076 NetBSD/ELF targets.
13077
8608915f
MK
130782006-04-30 Mark Kettenis <kettenis@gnu.org>
13079
13080 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
13081 single-step breakpoint fails; make this a KFAIL on
13082 sparc*-*-openbsd*.
13083 * gdb.base/siginfo.exp: Likewise.
13084 * gdb.base/sigstep.exp (advance, advancei): Likewise.
13085
b8db102d
MS
130862006-04-26 Michael Snyder <msnyder@redhat.com>
13087
13088 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
13089 which may have to consume output from other forks.
13090 Add tests to make sure that "delete fork" succeeded.
13091
c702009a
MS
130922006-04-20 Michael Snyder <msnyder@redhat.com>
13093
13094 * 2006-03-22 Jim Blandy <jimb@redhat.com>
13095 Add support for the Renesas M32C and M16C.
13096
13097 * gdb.asm/asm-source.exp: Add m32c target.
13098 * gdb.asm/m32c.inc: Support for m32c target.
13099
e28493f2
AS
131002006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
13101
13102 * gdb.base/commands.exp (recursive_source_test): New test.
13103
880da185
DM
131042006-04-04 David S. Miller <davem@sunset.davemloft.net>
13105
13106 * gdb.base/float.exp: Add pattern for sparc targets.
13107
61d9b92f
DJ
131082006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
13109
13110 * gdb.base/commands.exp (stray_arg0_test): New test.
13111
bd717df8
PB
131122006-03-30 Paul Brook <paul@codesourcery.com>
13113
13114 * gdb.mi/mi-until.exp: kfail broken until command.
13115 * gdb.mi/mi2-until.exp: Ditto.
13116
ec793d3c
NR
131172006-03-27 Nick Roberts <nickrob@snap.net.nz>
13118
13119 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
13120
831004b7
AO
131212006-03-08 Alexandre Oliva <aoliva@redhat.com>
13122
13123 * gdb.base/prelink.exp: Anchor tested-for regular expression
13124 on gdb prompt.
13125
effe49a0
PB
131262006-03-07 Paul Brook <paul@codesourcery.com>
13127
13128 * gdb.base/assign.exp: Correct fail message.
13129
e5461016
PB
131302006-03-07 Paul Brook <paul@codesourcery.com>
13131
13132 * lib/compiler.c: Extract armcc version number.
13133 * lib/compiler.cc: Ditto.
13134
fc91c6c2
PB
131352006-03-07 Paul Brook <paul@codesourcery.com>
13136
13137 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
13138 additional_flags=-w.
13139 * gdb.arch/altivec-regs.exp: Ditto.
13140 * gdb.arch/e500-abi.exp: Ditto.
13141 * gdb.arch/e500-regs.exp: Ditto.
13142 * gdb.base/all-bin.exp: Ditto.
13143 * gdb.base/annota1.exp: Ditto.
13144 * gdb.base/annota3.exp: Ditto.
13145 * gdb.base/args.exp: Ditto.
13146 * gdb.base/arithmet.exp: Ditto.
13147 * gdb.base/assign.exp: Ditto.
13148 * gdb.base/async.exp: Ditto.
13149 * gdb.base/bang.exp: Ditto.
13150 * gdb.base/break.exp: Ditto.
13151 * gdb.base/call-rt-st.exp: Ditto.
13152 * gdb.base/completion.exp: Ditto.
13153 * gdb.base/cond-expr.exp: Ditto.
13154 * gdb.base/condbreak.exp: Ditto.
13155 * gdb.base/consecutive.exp: Ditto.
13156 * gdb.base/define.exp: Ditto.
13157 * gdb.base/display.exp: Ditto.
13158 * gdb.base/ena-dis-br.exp: Ditto.
13159 * gdb.base/environ.exp: Ditto.
13160 * gdb.base/eval-skip.exp: Ditto.
13161 * gdb.base/info-proc.exp: Ditto.
13162 * gdb.base/jump.exp: Ditto.
13163 * gdb.base/logical.exp: Ditto.
13164 * gdb.base/long_long.exp: Ditto.
13165 * gdb.base/maint.exp: Ditto.
13166 * gdb.base/miscexprs.exp: Ditto.
13167 * gdb.base/pc-fp.exp: Ditto.
13168 * gdb.base/pointers.exp: Ditto.
13169 * gdb.base/relational.exp: Ditto.
13170 * gdb.base/reread.exp: Ditto.
13171 * gdb.base/sect-cmd.exp: Ditto.
13172 * gdb.base/sep.exp: Ditto.
13173 * gdb.base/sepdebug.exp: Ditto.
13174 * gdb.base/until.exp: Ditto.
13175 * gdb.base/whatis-exp.exp: Ditto.
13176 * gdb.cp/annota2.exp: Ditto.
13177 * gdb.cp/annota3.exp: Ditto.
13178 * gdb.trace/actions.exp: Ditto.
13179 * gdb.trace/backtrace.exp: Ditto.
13180 * gdb.trace/circ.exp: Ditto.
13181 * gdb.trace/collection.exp: Ditto.
13182 * gdb.trace/deltrace.exp: Ditto.
13183 * gdb.trace/infotrace.exp: Ditto.
13184 * gdb.trace/limits.exp: Ditto.
13185 * gdb.trace/packetlen.exp: Ditto.
13186 * gdb.trace/passc-dyn.exp: Ditto.
13187 * gdb.trace/passcount.exp: Ditto.
13188 * gdb.trace/report.exp: Ditto.
13189 * gdb.trace/save-trace.exp: Ditto.
13190 * gdb.trace/tfind.exp: Ditto.
13191 * gdb.trace/tracecmd.exp: Ditto.
13192 * gdb.trace/while-dyn.exp: Ditto.
13193 * gdb.trace/while-stepping.exp: Ditto.
13194 * lib/gdb.exp: Ditto.
13195 (gdb_compile): Handle nowarning option.
13196
5f4a23d9
AO
131972006-03-07 Alexandre Oliva <aoliva@redhat.com>
13198
13199 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
13200 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
13201 Rename executable to prelinkt. Don't re-prelink if we didn't
13202 get a core file. Test prelink -u exit status to tell whether
13203 prelinking failed. Use gdb_test_multiple.
13204
9733fc94
DJ
132052006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
13206
13207 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
13208 (do_tests): Call it.
13209
cc10cae3
AO
132102006-02-28 Alexandre Oliva <aoliva@redhat.com>
13211
13212 * gdb.base/prelink.exp: New test.
13213 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
13214
15c46491
WZ
132152006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
13216
13217 * gdb.fortran/derived-type.f90: New file.
13218 * gdb.fortran/derived-type.exp: New testcase.
13219
5c9f7ded
DJ
132202006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
13221
13222 * gdb.base/default.exp: Allow ';' as a directory separator.
13223
5b96932b
AS
132242006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13225
13226 * gdb.base/help.exp (help add-symbol-file): Update.
13227
1986bccd
AS
132282006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13229
13230 * gdb.base/help.exp (help load): Update expected results.
13231
a8b7528f
FF
132322006-02-19 Fred Fish <fnf@specifix.com>
13233
13234 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
13235 specifix hex value as part of results.
13236 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 13237
f8261448
FF
132382006-02-16 Fred Fish <fnf@specifix.com>
13239
13240 * gdb.base/whatis.c: Define variables using typedefs char_addr,
13241 ushort_addr, and slong_addr, so the typedefs are not optimized
13242 away.
13243 * gdb.base/whatis.exp: Add tests using type name for struct type,
13244 union type, enum type, and typedef.
a9c64011 13245
31d8bdd2
MK
132462006-02-13 Mark Kettenis <kettenis@gnu.org>
13247
13248 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
13249
34e41e63
JB
132502006-02-13 Jim Blandy <jimb@redhat.com>
13251
13252 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
13253 case where it takes two "next" commands to skip past the init
13254 call.
13255
ac6e4f31
FF
132562006-02-12 Fred Fish <fnf@specifix.com>
13257
13258 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
13259 to handle cases where it takes two "next" commands to skip
13260 past the init call.
13261
2db2d571
JB
132622006-02-07 Joel Brobecker <brobecker@adacore.com>
13263
13264 * gdb.ada/array_return.exp: Mark the last test as expected to fail
13265 on hppa32 targets.
13266
38fcd64c
DJ
132672006-02-06 Vladimir Prus <ghost@cs.msu.su>
13268
13269 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
13270 field.
13271
1315ad46
MK
132722006-01-29 Mark Kettenis <kettenis@gnu.org>
13273
13274 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
13275
5625b943
DJ
132762006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13277
13278 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
13279 files.
13280
80df1bbe
DJ
132812006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13282
13283 * gdb.cp/maint.exp: Set complaints to a positive value.
13284
9078e690
DJ
132852006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13286
13287 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
13288 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
13289 function name.
13290
9c903399
DJ
132912006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13292
13293 * gdb.base/checkpoint.c: Update copyright notice. Include
13294 <stdlib.h>.
13295
761ae4d6
JB
132962006-01-04 Jim Blandy <jimb@redhat.com>
13297
13298 * gdb.asm/asm-source.exp: Independently provide default values for
13299 asm-flags and debug-flags. Use 'string equal' to do the
13300 comparison, not the implicit expr's '==' operator. Remove
13301 now-unneeded assignments to asm-flags. In h8300 case, place
13302 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
13303
099ac3dd
MS
133042006-01-04 Michael Snyder <msnyder@redhat.com>
13305
13306 * gdb.base/checkpoint.c: New file.
13307 * gdb.base/checkpoint.exp: New file.
13308 * gdb.base/multi-fork.c: New file.
13309 * gdb.base/multi-fork.exp: New file.
13310 * gdb.base/pi.txt: New file (data for checkpoint.c test).
13311
f4d85314
FF
133122006-01-04 Fred Fish <fnf@specifix.com>
13313
13314 * gdb.base/ptype.c (foo): Add typedef.
13315 (intfoo): Add function.
13316 * gdb.base/ptype1.c: New file.
13317 * gdb.base/ptype.exp: Handle compilation and linking with two
13318 source files. Test that proper type for "foo" is found based
13319 on source context rather than first match found in symtabs.
13320
a1b06f35
MK
133212005-12-28 Mark Kettenis <kettenis@gnu.org>
13322
13323 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
13324 * gdb.asm/openbsd.inc: Indent commands.
13325
d082a1e2
MK
133262005-12-26 Mark Kettenis <kettenis@gnu.org>
13327
c65016bd
MK
13328 * gdb.base/freebpcmd.exp: Increase timeout.
13329
d082a1e2
MK
13330 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
13331
d3c32a0e
DJ
133322005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
13333
13334 * gdb.base/default.exp: Update check for "show version".
13335
9fdb1f50
RC
133362005-12-09 Randolph Chung <tausq@debian.org>
13337
13338 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
13339 * gdb.asm/pa64.inc: New file.
13340
5f2c56f7
RC
133412005-12-09 Randolph Chung <tausq@debian.org>
13342
13343 * gdb.asm/common.inc: Indent commands.
13344 * gdb.asm/asmsrc1.s: Likewise.
13345 * gdb.asm/asmsrc2.s: Likewise.
13346
8117349c
RC
133472005-12-09 Randolph Chung <tausq@debian.org>
13348
13349 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
13350 (get_addr_of_sym): Remove duplicate print.
13351 (gen_core): xfail hppa*-*-hpux*, update expected output.
13352 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
13353 * gdb.arch/pa64-nullify.s: New file.
13354
8f07f25a
RC
133552005-12-09 Randolph Chung <tausq@debian.org>
13356
13357 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
13358
55b39184
DJ
133592005-12-07 Christophe Lyon <christophe.lyon@st.com>
13360
13361 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
13362 code generation for these functions.
13363 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
13364 error message.
13365
31e2b00f
AS
133662005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
13367
13368 * gdb.base/help.exp (help b, help br, help bre, help brea)
13369 (help break): Update the expected message.
13370
c3d0b56e
SC
133712005-11-11 Stephane Carrez <stcarrez@nerim.fr>
13372
13373 * gdb.asm/m68hc11.inc: Setup the data section.
13374 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
13375 script for this test.
13376 (m6812-*-*): Likewise.
13377
36ae0ea9
RC
133782005-11-09 Randolph Chung <tausq@debian.org>
13379
13380 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
13381
9d6f42e9
WZ
133822005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
13383
13384 * gdb.base/break.exp: Fix a comment typo.
13385
e2126a14
EZ
133862005-11-03 Jim Blandy <jimb@redhat.com>
13387
a9c64011
AS
13388 Checked in by Elena Zannoni <ezannoni@redhat.com>
13389
889bf7c5 13390 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 13391
e0ac7199
CV
133922005-11-02 Corinna Vinschen <vinschen@redhat.com>
13393
13394 * gdb.arch/gdb1558.c: Include stdio.h.
13395
31d3fb18
MK
133962005-10-31 Mark Kettenis <kettenis@gnu.org>
13397
13398 * gdb.asm/asm-source.exp: Use -e instead of --entry.
13399
e52b687c
MK
134002005-10-31 Mark Kettenis <kettenis@gnu.org>
13401
13402 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
13403
f4711d79
PG
134042005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
13405
a9c64011
AS
13406 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13407 vscr" tests to better match output.
f4711d79 13408
987a9106
JB
134092005-10-12 Jim Blandy <jimb@redhat.com>
13410
13411 * gdb.base/structs.exp (any): New function.
13412 (test_struct_returns): Don't make any assumptions at all about
13413 what value the function returns when GDB can't set the return
13414 value.
13415
2336bb58
JB
134162005-10-09 Joel Brobecker <brobecker@adacore.com>
13417
13418 * gdb.ada/arrayidx/p.adb: New file.
13419 * gdb.ada/arrayidx.exp: New testcase
13420
134212005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
13422
13423 * gdb.ada/array_return/pck.ads: New file.
13424 * gdb.ada/array_return/pck.adb: New file.
13425 * gdb.ada/array_return/p.adb: New file.
13426 * gdb.ada/array_return.exp: New testcase.
13427
705335ea
JB
134282005-10-03 Joel Brobecker <brobecker@adacore.com>
13429
a9c64011
AS
13430 * gdb.base/arrayidx.c: New file.
13431 * gdb.base/arrayidx.exp: New testcase.
705335ea 13432
11ee9940
NR
134332005-09-29 Nick Roberts <nickrob@snap.net.nz>
13434
13435 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
13436 frames-invalid and breakpoints-invalid are no longer generated
13437 with level 3 so don't expect them in the output.
13438
39fb8e9e
BR
134392005-09-27 Bob Rossi <bob@brasko.net>
13440
a9c64011 13441 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
13442 from test. Escape the | in mi_gdb_test call.
13443 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
13444 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
13445 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
13446 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
13447 expected regex's in mi_gdb_test calls.
13448 * lib/mi-support.exp: Remove arbitrary .* from tests.
13449 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
13450 Fully anchor GDB/MI expected results in mi_gdb_test.
13451 * lib/gdb.exp (string_to_regexp): Escape the ] character.
13452 * gdb.base/sizeof.exp: Remove escape character. Correct test.
13453
2af48f68
PB
134542005-09-26 Paul Brook <paul@codesourcery.com>
13455
13456 * long_long.exp: Exclude eabi targets from arm FPA float format test.
13457
f34502bc
WZ
134582005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13459
13460 * bfp-test.c: New file.
13461 * bfp-test.exp: New testcase.
13462
ca929517
WZ
134632005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13464
13465 * gdb.fortran/subarray.exp: New testcase to test the evaluation
13466 of subarray and substring variable.
13467 * gdb.fortran/subarray.f: New source file for the test of subarray
13468 and substring variable evaluation.
13469 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
13470 of string constant.
13471
c761af65
DJ
134722005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
13473
13474 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
13475 copyright dates.
13476
561d7a1d
PG
134772005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
13478
13479 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
13480 powerpc altivec' test with an almost identical 'info vector' test.
13481
b2b64cc9
PG
134822005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13483
a9c64011
AS
13484 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13485 vscr" tests to match output.
b2b64cc9 13486
6ac4d15a
PG
134872005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13488
a9c64011
AS
13489 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
13490 output.
6ac4d15a 13491
40e55bef
BR
134922005-09-11 Bob Rossi <bob@brasko.net>
13493
889bf7c5
PA
13494 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
13495 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
13496 commands that return an MI output command and an asyncronous MI output
13497 command.
40e55bef
BR
13498 * gdb.mi/mi-console.exp: Ditto.
13499
3c7385ec
BR
135002005-09-11 Bob Rossi <bob@brasko.net>
13501
13502 * gdb.mi/mi-var-child.c: Include <string.h>.
13503
a6cd0eb3
DJ
135042005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
13505
13506 * killed.exp: Correct gdb_expect syntax.
13507
2f168eed
CV
135082005-08-09 Corinna Vinschen <vinschen@redhat.com>
13509
13510 * lib/mi-support.exp (mi_gdb_load): Fix typo.
13511
ecd3fd0f
BR
135122005-08-02 Bob Rossi <bob@brasko.net>
13513
13514 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
13515 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
13516 Change tests to inferior-tty-set/show.
13517 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
13518 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
13519 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
13520 inferior. Use mi_gdb_test to get GDB and Inferior output.
13521 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
13522 descriptor.
13523 (mi_inferior_tty_name): Add inferior PTY file name.
13524 (mi_gdb_start): Add INFERIOR_PTY parameter.
13525 (mi_gdb_test): Add IPATTERN parameter.
13526
f1ea48cb 135272005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 13528
f1ea48cb
BR
13529 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
13530 parameter to mi_gdb_test.
13531 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
13532
6e650a67
DJ
135332005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13534
13535 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
13536 struct_declarations.
13537 * gdb.mi/mi-var-child.exp: Step over the initialization of
13538 struct_declarations.
13539
8be260b6
DJ
135402005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13541
13542 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
13543 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
13544 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
13545 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
13546 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
13547 file.
13548
4e660f07
NR
135492005-07-27 Nick Roberts <nickrob@snap.net.nz>
13550
13551 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
13552 (do_children_tests): Assign values to the extra elements.
13553
13554 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
13555 them for tests for "-var-update --no-values" and
a9c64011 13556 "-var-update --all-values".
4e660f07
NR
13557 Add test for "-var-list-children --simple-values".
13558
13559 * gdb.mi/basics.c (callee4): Add integer array D[3]...
13560
13561 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
13562 "-stack-list-locals --simple-values" Improve doc strings and
13563 comments.
13564
6bdae935
MK
135652005-07-18 Mark Kettenis <kettenis@gnu.org>
13566
598b7a6f
MK
13567 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
13568 *-*-openbsd*.
13569 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
13570
6bdae935
MK
13571 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
13572 sigaltsatck'.
13573
1323e929 135742005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 13575
1323e929
BR
13576 * gdb.base/default.exp (tty): Changed output of command.
13577 * gdb.base/help.exp (help tty): Ditto.
13578
b1a9c082
MK
135792005-07-12 Mark Kettenis <kettenis@gnu.org>
13580
13581 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
13582
10a844a2
MK
135832005-07-10 Mark Kettenis <kettenis@gnu.org>
13584
13585 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
13586 -stack-select-frame without arguments.
13587 (test_stack_frame_listing): Add test for newly implemented command
13588 -stack-info-frame.
13589
3cb3b8df
BR
135902005-07-06 Bob Rossi <bob@brasko.net>
13591
13592 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
13593 command.
13594 (Copyright): Update copyright.
13595
a0c5fbcf
WZ
135962005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
13597
13598 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
13599 tests to evaluate exponentiation expression.
13600
984971d0
AS
136012005-06-29 Andreas Schwab <schwab@suse.de>
13602
13603 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
13604 main to avoid warnings.
13605
13606 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
13607
fe03833f
NR
136082005-06-20 Nick Roberts <nickrob@snap.net.nz>
13609
13610 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
13611 -stack-select-frame without arguments.
13612 (test_stack_frame_listing): Add test for newly implemented command
13613 -stack-info-frame.
a9c64011 13614
7a55f279
WZ
136152005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
13616
0ffa0ea5
DJ
13617 * gdb.fortran/array-element.f: New file.
13618 * gdb.fortran/array-element.exp: New testcase.
7a55f279 13619
26585198
DJ
136202005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13621
13622 * gdb.base/bigcore.exp: Correct checks for systems which can
13623 not dump a large core file.
13624
c1bd25fd
DJ
136252005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13626
13627 * gdb.base/relocate.c: Add a copyright notice.
13628 (dummy): Remove.
13629 * gdb.base/relocate.exp: Test printing the values of variables
13630 from a relocatable file.
13631
589e074d
DJ
136322005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
13633
13634 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
13635 excess MI output after an error.
13636
0915f927
JB
136372005-05-29 Joel Brobecker <brobecker@adacore.com>
13638
13639 * gdb.arch/alpha-step.c: New file.
13640 * gdb.arch/alpha-step.exp: New testcase.
13641
76ff342d
DJ
136422005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
13643 Dennis Brueni <dennis@slickedit.com>
13644
13645 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
13646 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
13647 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
13648 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
13649 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13650 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
13651 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
13652
96b0c7ac
DJ
136532005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
13654 Wu Zhou <woodzltc@cn.ibm.com>
13655
13656 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
13657 IBM's xlc compiler.
13658 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
13659 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
13660
f21565d2
JB
136612005-05-13 Jim Blandy <jimb@redhat.com>
13662
13663 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
13664 calling gdb_suppress_entire_file.
13665 * gdb.base/charset.exp: Same.
13666 * gdb.base/call-rt-st.exp: Same.
13667
6006a3a1
BR
136682005-05-05 Bob Rossi <bob_rossi@cox.net>
13669
13670 * lib/gdb.exp (fullname_syntax): Added global regex.
13671 (fullname_syntax_POSIX): Ditto.
13672 (fullname_syntax_UNC): Ditto.
13673 (fullname_syntax_DOS_CASE): Ditto.
13674 (fullname_syntax_DOS): Ditto.
13675 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
13676 fullname_syntax variable to scope and use it.
13677 (test_file_list_exec_source_files): Ditto.
13678 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
13679
c3b69c04
DJ
136802005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
13681
13682 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
13683
3c95e6af
PG
136842004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
13685
a9c64011
AS
13686 * lib/gdb.exp (skip_altivec_tests): New function, based on
13687 check_vmx_hw_available from the GCC testsuite.
13688 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
13689 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 13690
78df6c56
JB
136912005-05-02 Jim Blandy <jimb@redhat.com>
13692
13693 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
13694 calling gdb_suppress_entire_file.
13695
1690f9cf
DJ
136962005-04-30 Randolph Chung <tausq@debian.org>
13697
13698 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
13699 Slightly relax "sem_post" name checking.
13700
5ea106f7
PG
137012005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13702
13703 * gdb.base/unload.exp: Use new shared library infrastructure.
13704
bf7234cf
PG
137052005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13706
13707 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 13708 infrastructure.
bf7234cf 13709
547b869a
CV
137102005-04-29 Corinna Vinschen <vinschen@redhat.com>
13711
13712 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
13713 * gdb.asm/h8300.inc: New file.
13714
f07e55f0
PG
137152005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13716
13717 * gdb.base/shlib-call.exp: Change to use new shared library
13718 infrastructure.
13719
3cbba3d1
PG
137202005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13721
a9c64011
AS
13722 * gdb.base/pending.exp: Change to use new shared library
13723 infrastructure.
3cbba3d1 13724
ed6df200
PG
137252005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13726
a9c64011
AS
13727 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
13728 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 13729
8c8f4ebe
PG
137302005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
13731
a9c64011
AS
13732 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
13733 shared objects being adjusted and update copyright years.
8c8f4ebe 13734
607fbc54
DJ
137352005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
13736
13737 * ChangeLog: Correct some 2003-01-13 dates.
13738 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
13739 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
13740 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
13741 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
13742 gdb.trace/tfind.exp: Update copyright years.
13743
57bf0e56
DJ
137442005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
13745 Daniel Jacobowitz <dan@codesourcery.com>
13746
13747 * lib/gdb.exp (gdb_compile): Handle shlib=.
13748 (gdb_compile_shlib): New function.
13749
9b593790
PG
137502005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
13751
a9c64011 13752 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 13753
9494c6a5
DJ
137542005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13755
13756 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
13757 gdb.server.
13758 * configure.ac: Likewise.
13759 * configure: Regenerated.
13760 * gdb.gdbserver/Makefile.in: Moved to...
13761 * gdb.server/Makefile.in: ... here.
13762 * gdb.gdbserver/server.c: Moved to...
13763 * gdb.server/server.c: ... here.
13764 * gdb.gdbserver/server-run.exp: Moved to...
13765 * gdb.server/server-run.exp: ... here.
13766
6f8eac0e
DJ
137672005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13768
13769 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
13770 * configure.ac: Create gdb.gdbserver/Makefile.
13771 * configure: Regenerated.
13772 * lib/gdbserver-support.exp: New file, derived from
13773 config/gdbserver.exp.
13774 * config/gdbserver.exp: Use gdbserver-support.exp.
13775 * gdb.gdbserver/Makefile.in: New file.
13776 * gdb.gdbserver/server.c: New file.
13777 * gdb.gdbserver/server-run.exp: New file.
13778
6e87504d
PG
137792005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
13780
a9c64011
AS
13781 * lib/gdb.exp (test_compiler_info): Return compiler_info
13782 if no arguments are given.
6e87504d 13783
d1779be4
PG
137842005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
13785
13786 * gdb.arch/altivec-abi.exp: Check for compiler and set
13787 use altivec' flag accordingly.
13788 * gdb.arch/altivec-regs.exp: Likewise.
13789
88750304
DJ
137902005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
13791
13792 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
13793
f3fb768d
AS
137942005-03-27 Andreas Schwab <schwab@suse.de>
13795
13796 * gdb.base/bigcore.c (main): Add missing mode argument in open
13797 call.
13798
7e813ac5
DJ
137992005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
13800
13801 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
13802 downloads.
13803 * config/gdbserver.exp (gdb_load): Likewise.
13804
8e3049aa
PB
138052005-03-14 Paul Brook <paul@codesourcery.com>
13806
13807 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
13808 targets.
13809
a9df7c44
JB
138102005-03-09 Joel Brobecker <brobecker@adacore.com>
13811
13812 * gdb.dwarf2/dup-psym.S: New file.
13813 * gdb.dwarf2/dup-psym.exp: New testcase.
13814
9f0d94e8
JB
138152005-03-09 Joel Brobecker <brobecker@adacore.com>
13816
13817 * gdb.ada/exec_changed/first.adb: New file.
13818 * gdb.ada/exec_changed/second.adb: New file.
13819 * gdb.ada/exec_changed.exp: New testcase.
13820
5f579bc5
NS
138212005-03-08 Nathan Sidwell <nathan@codesourcery.com>
13822
36e9969c
NS
13823 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
13824 (A2): New class.
13825 (main): Test operator+.
13826 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
13827 breakpoint test.
13828
5f579bc5
NS
13829 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
13830 * gdb.base/signull.exp: Disable if gdb,nosignals.
13831 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
13832 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
13833 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
13834 * gdb.mi/mi2-console.exp: Likewise.
13835 * gdb.trace/collection.exp (run_trace_experiment): Consume the
13836 continue output at start.
13837 (gdb_collect_locals_test): Robustify regexp.
13838 * gdb.trace/passc-dyn.exp: Fix comment typo.
13839 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
13840
be46087e
CV
138412005-03-08 Corinna Vinschen <vinschen@redhat.com>
13842
13843 * gdb.asm/asm-source.exp: Add iq2000 case.
13844 * gdb.asm/iq2000.inc: New file.
13845
384e1a61 138462005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 13847
384e1a61
MI
13848 * gdb.base/command.exp: Change hardcoded value to regular expression.
13849 * gdb.base/float.exp: Add powerpc to the list of targets checked.
13850
584b6e9e
DJ
138512005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
13852
13853 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
13854 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
13855 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
13856 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
13857 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
13858
ab5b5d61
MK
138592005-03-05 Mark Kettenis <kettenis@gnu.org>
13860
13861 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
13862 changes.
13863
ae051c1b
PG
138642004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
13865
a9c64011
AS
13866 * lib/compiler.c: Add test for IBM's xlc compiler.
13867 * lib/compiler.cc: Likewise.
ae051c1b 13868
3f0f6ed2
JB
138692004-02-24 Joel Brobecker <brobecker@adacore.com>
13870
13871 * gdb.ada/fixed_points.exp: Create compilation object directory
13872 before running the test.
13873 * gdb.ada/null_record.exp: Likewise.
13874 * gdb.ada/packed_array.exp: Likewise.
13875 * gdb.ada/start.exp: Likewise.
13876
724f452b
JB
138772005-02-15 Joel Brobecker <brobecker@adacore.com>
13878
13879 * gdb.ada/packed_array/pa.adb: New file.
13880 * gdb.ada/packed_array.exp: New testcase.
13881
57f5cdfb 138822005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 13883
1f393151
MK
13884 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
13885 files.
13886
ebdda337
MK
13887 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
13888 on *-*-openbsd*. Correctly match whitespace in regukar
13889 expressions.
13890
cf309262
DJ
138912005-02-10 Daniel Jacobowitz <dan@debian.org>
13892
13893 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
13894 PR exp/1821
13895 * gdb.base/gdb1821.c: New test file.
13896 * gdb.base/gdb1821.exp: New test file.
13897
3be49e7a
JB
138982005-02-09 Joel Brobecker <brobecker@adacore.com>
13899
13900 * gdb.base/start.c: New file.
13901 * gdb.base/start.exp: New testcase.
13902
e292e67d
JB
139032005-02-09 Joel Brobecker <brobecker@adacore.com>
13904
13905 * gdb.ada/start/dummy.adb: New file.
13906 * gdb.ada/start.exp: New testcase.
13907
dbdfa66c
CV
139082005-02-09 Corinna Vinschen <vinschen@redhat.com>
13909
13910 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
13911 for printing symbols and statistics.
13912 Add test for using relative pathnames in "maint print msymbols" test.
13913 Mark "maint info sections DATA" XFAIL on Cygwin.
13914 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
13915 tests.
13916
d7941671
AC
139172005-02-09 Andreas Schwab <schwab@suse.de>
13918
13919 Committed by Andrew Cagney <cagney@gnu.org>
13920 * gdb.base/remotetimeout.exp: New file.
13921
74e5ef44
MK
139222005-02-07 Mark Kettenis <kettenis@gnu.org>
13923
13924 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
13925
464dd14d
JB
139262005-02-03 Joel Brobecker <brobecker@adacore.com>
13927
13928 * gdb.ada/gnat_ada.gpr: New file.
13929 * gdb.ada/gnat_ada.gin: Delete, no longer used.
13930 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
13931 * configure.ac: No longer generate gnat_ada.gpr.
13932 * configure: Regenerate.
13933 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
13934 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
13935 * gdb.ada/null_record/bar.ads: Likewise.
13936 * gdb.ada/null_record/bar.adb: Likewise.
13937 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
13938 * gdb.ada/null_record.exp (testdir): New variable.
13939 (testfile): executable is now in testdir subdirectory.
13940 (srcfile): Use full path to the main compilation unit.
13941 * gdb.ada/fixed_points.exp: Same changes as above.
13942
30d756ae
NR
139432005-02-03 Nick Roberts <nickrob@snap.net.nz>
13944
13945 * gdb.base/interp.exp: New test.
13946
9d799f85
AC
139472005-01-24 Andrew Cagney <cagney@gnu.org>
13948
13949 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
13950
15656118
AC
139512005-01-19 Andrew Cagney <cagney@gnu.org>
13952
a892c31b
AC
13953 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
13954 configure.ac not configure.in.
13955
15656118
AC
13956 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
13957 of powerpc*-*-*.
13958 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 13959 * gdb.base/list.exp (test_list_function)
15656118
AC
13960 (test_list_filename_and_function): Ditto.
13961 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
13962
a7b01baf
AC
139632005-01-16 Andrew Cagney <cagney@gnu.org>
13964
17d92a02
AC
13965 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
13966
a7b01baf
AC
13967 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
13968
bc8332bb
AC
139692005-01-14 Andrew Cagney <cagney@gnu.org>
13970
13971 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
13972 * gdb.mi/mi2-var-cmd.exp: Ditto.
13973
4d074752
CV
139742005-01-10 Corinna Vinschen <vinschen@redhat.com>
13975
13976 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
13977
bec39cab
AC
139782005-01-07 Andrew Cagney <cagney@gnu.org>
13979
13980 * configure.ac: Rename configure.in, require autoconf 2.59.
13981 * configure: Re-generate.
13982 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
13983 * gdb.stabs/configure: Re-generate.
13984 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
13985 * gdb.hp/configure: Re-generate.
13986 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
13987 autoconf 2.59.
13988 * gdb.hp/gdb.objdbg/configure: Re-generate.
13989 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
13990 autoconf 2.59.
13991 * gdb.hp/gdb.defects/configure: Re-generate.
13992 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
13993 autoconf 2.59.
13994 * gdb.hp/gdb.compat/configure: Re-generate.
13995 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
13996 autoconf 2.59.
13997 * gdb.hp/gdb.base-hp/configure: Re-generate.
13998 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
13999 autoconf 2.59.
14000 * gdb.hp/gdb.aCC/configure: Re-generate.
14001
f10b16d4
JB
140022004-12-15 Jim Blandy <jimb@redhat.com>
14003
14004 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
14005 under NPTL when there is debugging info available for libpthread.
14006
fb6e1814
JG
140072004-12-13 Jerome Guitton <guitton@gnat.com>
14008
14009 * gdb.ada/fixed_points.c: New file.
14010 * gdb.ada/fixed_points.exp: New file.
14011
fe46cd3a
RC
140122004-12-03 Randolph Chung <tausq@debian.org>
14013
14014 * gdb.arch/pa-nullify.exp: New file.
14015 * gdb.arch/pa-nullify.s: New file.
14016
8de0841b
RC
140172004-11-30 Randolph Chung <tausq@debian.org>
14018
14019 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
14020 instead of "tbug". Fix regexp to work properly with gdb_test.
14021
c8170782
PH
140222004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
14023
14024 * gdb.base/bitfields2.exp: New test.
14025 * gdb.base/bitfields2.c: New file.
14026
954269c2
RE
140272004-11-28 Richard Earnshaw <rearnsha@arm.com>
14028
14029 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
14030
0107feed
RC
140312004-11-16 Randolph Chung <tausq@debian.org>
14032
14033 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
14034
f073ae8c
DJ
140352004-11-14 Daniel Jacobowitz <dan@debian.org>
14036
14037 * gdb.threads/threadapply.exp: Correct "macro details" test.
14038
19ad59e7
JJ
140392004-11-11 Jeff Johnston <jjohnstn@redhat.com>
14040
14041 * gdb.threads/threadapply.exp: New test.
14042 * gdb.threads/threadapply.c: New file.
14043
9cf0961b
MK
140442004-11-07 Mark Kettenis <kettenis@gnu.org>
14045
14046 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
14047 frames.
14048
c789492a
FL
140492004-11-05 Felix Lee <felix+log1@specifixinc.com>
14050
14051 * gdb.base/cursal.exp: New file.
14052 * gdb.base/cursal.c: New file.
14053
a1e167bb
AC
140542004-11-03 Andrew Cagney <cagney@gnu.org>
14055
14056 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
14057
b7cbf173
MK
140582004-10-30 Mark Kettenis <kettenis@gnu.org>
14059
14060 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
14061 NetBSD/ELF targets.
14062
88f9d34f
JB
140632004-10-29 Joel Brobecker <brobecker@gnat.com>
14064
14065 * gdb.threads/bp_in_thread.c: New file, copied from
14066 pthread_cond_wait.c.
14067 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
14068 file, rather than reusing the .c file from another testcase.
14069
ca7d6a0c
JB
140702004-10-20 Joel Brobecker <brobecker@gnat.com>
14071
14072 * gdb.ada/null_record.exp: Check where we stopped after
14073 sending the start command, instead of where the associated
14074 temporary breakpoint was inserted.
14075
0d863d03
AC
140762004-10-14 Andrew Cagney <cagney@gnu.org>
14077
14078 * gdb.mi/gdb701.c (main): Return 0.
14079
d11e72cb
DJ
140802004-10-13 Daniel Jacobowitz <dan@debian.org>
14081
d40539a4 14082 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 14083
e1923096
JJ
140842004-10-12 Jeff Johnston <jjohnstn@redhat.com>
14085
14086 * gdb.threads/schedlock.c: Add comment markers to use to find
14087 line numbers.
14088 * gdb.threads/schedlock.exp: Adjust regex to handle the new
14089 comments.
14090 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
14091 breakpoint lines.
14092
ec8ba2c9
DJ
140932004-10-12 Daniel Jacobowitz <dan@debian.org>
14094
14095 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
14096
0eb3658b
DJ
140972004-10-12 Daniel Jacobowitz <dan@debian.org>
14098
14099 * configure.in: Add gdb.dwarf2.
14100 * configure: Regenerated.
14101 * Makefile.in: Add gdb.dwarf2.
14102 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
14103 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
14104 gdb.dwarf2/file1.txt: New files.
14105
a271cc33
OF
141062004-10-11 Orjan Friberg <orjanf@axis.com>
14107
a9c64011 14108 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
14109 of "run", since the latter doesn't work with remote targets. Adjust
14110 the breakpoint numbering accordingly.
14111 * gdb.threads/pthread_cond_wait.exp: Ditto.
14112
895ce074
MC
141132004-10-08 Michael Chastain <mec.gnu@mindspring.com>
14114
14115 * gdb.base/overlays.exp: Update copyright years.
14116
6be3092d
KI
141172004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
14118
14119 * gdb.base/overlays.exp: Disable if target is Linux.
14120
e05389b8
FL
141212004-10-06 Felix Lee <felix+log1@specifixinc.com>
14122
14123 * config/gdbserver.exp (gdb_load): Use right filename on remote.
14124
73cb587d
KI
141252004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
14126
14127 * gdb.asm/asm-source.exp: Add m32r-linux target.
14128 * gdb.asm/m32r-linux.inc: New file.
14129
3c0edcdc
AC
141302004-09-24 Andrew Cagney <cagney@redhat.com>
14131 David Anderson <anderson@redhat.com>
14132
14133 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
14134 command fails, assume things will work.
14135 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
14136 (_GNU_SOURCE): Define.
14137 (print_unsigned, print_hex): Change parameter to "long long".
14138 (print_byte_count): New function, use to print byte counts.
14139 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
14140 O_LARGEFILE.
14141 (main): Compute an upper bound on a corefile in max_core_size.
14142 Limit memory chunk size to max_core_size. Limit total memory
14143 allocated to max_core_size.
14144
4bb3667f
AC
141452004-09-23 Andrew Cagney <cagney@gnu.org>
14146
14147 * gdb.base/bigcore.exp: Replace the code that creates a corefile
14148 from a separate process with code that creates a corefile by
14149 making the inferior dump core.
14150
60fe1a51
MK
141512004-09-23 Mark Kettenis <kettenis@gnu.org>
14152
14153 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
14154 block.
14155
8e937346
MC
141562004-09-23 Michael Chastain <mec.gnu@mindspring.com>
14157
14158 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
14159 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
14160 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
14161 Likewise.
14162
7213f6d6
JJ
141632004-09-20 Jeff Johnston <jjohnstn@redhat.com>
14164
14165 * gdb.java/jprint.exp: New test case for java inferior call.
14166 * gdb.java/jprint.java: Ditto.
14167
eac69dca
JB
141682004-09-15 Joel Brobecker <brobecker@gnat.com>
14169
14170 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
14171
22227696
MC
141722004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14173
14174 * gdb.threads/killed.c: Include <stdlib.h>.
14175 * gdb.threads/pthreads.c: Likewise.
14176
7dd403a4
MC
141772004-09-14 Michael Chastain <mec.gnu@mindspring.com>
14178
14179 * gdb.threads/killed.c: Add copyright notice.
14180
33f2d567
JM
141812004-09-10 Jason Molenda (jmolenda@apple.com)
14182
a9c64011
AS
14183 * gdb.base/define.exp: Two new tests to verify zero space chars
14184 after 'if' and 'while' commands in a user-defined command is correctly
14185 parsed.
33f2d567 14186
e05b62ac
AC
141872004-09-08 Andrew Cagney <cagney@gnu.org>
14188
14189 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
14190 delivery test with duplicate at end of file.
14191
9cbe82da
MK
141922004-09-06 Mark Kettenis <kettenis@jive.nl>
14193
14194 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
14195
564803d9
MC
141962004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14197
14198 * config/hppro.exp: Removed.
14199
7c6807ce
MC
142002004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14201
14202 * config/sparclet.exp: Removed.
14203
bf7e26dd
MC
142042004-09-05 Michael Chastain <mec.gnu@mindspring.com>
14205
14206 * config/udi.exp: Removed.
14207
714e341b
MC
142082004-09-02 Michael Chastain <mec.gnu@mindspring.com>
14209
14210 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
14211 of "exp_continue".
14212 (advancei): Likewise.
14213
1236e623
JJ
142142004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14215
14216 * gdb.base/unload.exp: Fix so messages aren't duplicated.
14217
3bdcad15
MI
142182004-09-01 Manoj Iyer <manjo@austin.ibm.com>
14219
228af206 14220 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
14221 to check for nodebug in executable.
14222 * gdb.gdb/observer.exp (setup_test): Likewise.
14223 * gdb.gdb/selftest.exp (test_with_self): Likewise.
14224 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
14225
c72b934c
AC
142262004-09-01 Andrew Cagney <cagney@gnu.org>
14227
14228 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14229 files.
14230
edd9b715
JJ
142312004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14232
14233 * gdb.base/unload.exp: Fix expected warning message to match
14234 latest format.
14235
fb4ce06b
CV
142362004-09-01 Corinna Vinschen <vinschen@redhat.com>
14237
14238 * gdb.base/call-rt-st.exp: Fix typos.
14239
ce78e7c3
MI
142402004-08-31 Manoj Iyer <manjo@austin.ibm.com>
14241
14242 * gdb.threads/thread_check.exp: New testcase.
14243 * gdb.threads/thread_check.c: New testcase.
14244
2dedb159
AC
142452004-08-31 Andrew Cagney <cagney@gnu.org>
14246
14247 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
14248 (skip_to_handler_entry): New procedures. Test stepping into a
14249 handler when the breakpoint is at the handler's entry point.
14250
68f53502
AC
142512004-08-30 Andrew Cagney <cagney@gnu.org>
14252
14253 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
14254 gdb/1757.
14255
3e3ffd2b
MC
142562004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14257
14258 With code from Manoj Iyer <manjo@austin.ibm.com>:
14259 * lib/gdb.exp (gdb_file_cmd): Return more information in the
14260 return value. Add an arm for "no debugging symbols found".
14261 Change a stray "error" to "perror".
14262 (gdb_run_cmd): Adapt to new return value.
14263 * gdb.base/remote.exp: Adapt to new return value.
14264 * gdb.gdb/complaints.exp: Likewise.
14265 * gdb.gdb/observer.exp: Likewise.
14266 * gdb.gdb/selftest.exp: Likewise.
14267 * gdb.gdb/xfullpath.exp: Likewise.
14268
4b6f5fd2
JB
142692004-08-27 Joel Brobecker <brobecker@gnat.com>
14270
14271 * gdb.threads/bp_in_thread.exp: New testcase.
14272
e5b25496
MC
142732004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14274
14275 Fix PR testsuite/1735.
14276 * gdb.threads/schedlock.c (thread_function): Add a cast
14277 to suppress a gcc warning.
14278 * gdb.threads/thread-specific.c (thread_function): Likewise.
14279
934353d6
MC
142802004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14281
14282 * gdb.base/unload.c: Include <stdlib.h>.
14283
f98a0aef 142842004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 14285
f98a0aef 14286 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
14287 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
14288 synchronized after the "return".
14289
5a2e8882
MC
142902004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14291
14292 * gdb.mi/basics.c: Include <stdio.h>.
14293 * gdb.mi/pthreads.c: Include <stdlib.h>.
14294 * gdb.mi/var-cmd.c: Include <stdlib.h>.
14295
a9640423
MC
142962004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14297
14298 * gdb.threads/schedlock.c: Add copyright notice.
14299
b04e311d
AC
143002004-08-25 Andrew Cagney <cagney@gnu.org>
14301
14302 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
14303 (skip_over_handler, breakpoint_over_hander): New test procedures.
14304 (advance, advancei): Add a proper prefix, do not use
14305 rerun_to_main.
14306 * gdb.base/sigstep.c (main): Change to use an infinite loop.
14307
7c27f15b
MC
143082004-08-24 Michael Chastain <mec.gnu@mindspring.com>
14309
14310 * gdb.mi/basics.c: Add copyright notice.
14311 * gdb.mi/var-cmd.c: Add copyright notice.
14312
fffc87ae
MC
143132004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14314
14315 * lib/gdb.exp: Remove signed_keyword_not_used.
14316 * lib/compiler.c: Likewise.
14317 * lib/compiler.cc: Likewise.
14318
d782e0bf
MC
143192004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14320
14321 * gdb.base/whatis.c: Remove conditional disabling of "signed".
14322 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
14323
96033e83
MC
143242004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14325
14326 * gdb.base/whatis.c: Add copyright notice.
14327
cf38c229
MK
143282004-08-20 Mark Kettenis <kettenis@gnu.org>
14329
14330 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
14331 it to skip the breakpoints encoded in the inline assembly.
14332
f4b49756
MC
143332004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14334
14335 * Makefile.in: Add gdb.fortran.
14336
2f193b69
MC
143372004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14338
14339 * gdb.base/call-sc.exp (test_scalar_returns):
14340 Fix cut-and-paste glitch in "Make fun return now".
14341
89a237cb
MC
143422004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14343
14344 * configure.in: Add gdb.fortran.
14345 * configure: Regenerate.
14346 * gdb.fortran/Makefile.in: New file.
14347 * lib/gdb.exp (skip_fortran_tests): New procedure.
14348
469aff8e
MC
143492004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14350
14351 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
14352 reference to bug-gnu@prep.ai.mit.edu.
14353 * gdb.mi/mi-var-child.exp: Likewise.
14354 * gdb.mi/mi-var-cmd.exp: Likewise.
14355 * gdb.mi/mi-var-display.exp: Likewise.
14356 * gdb.mi/mi2-var-block.exp: Likewise.
14357 * gdb.mi/mi2-var-child.exp: Likewise.
14358 * gdb.mi/mi2-var-cmd.exp: Likewise.
14359 * gdb.mi/mi2-var-display.exp: Likewise.
14360
00b51b9f
MK
143612004-08-15 Mark Kettenis <kettenis@gnu.org>
14362
14363 * gdb.base/unload.c (main): Make local variable msg const.
14364
45f07fef
MC
143652004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14366
14367 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
14368 to bug-gnu@prep.ai.mit.edu.
14369 * gdb.mi/mi-disassemble.exp: Likewise.
14370 * gdb.mi/mi-eval.exp: Likewise.
14371 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
14372 default line number.
14373 * gdb.mi/mi-return.exp: Likewise.
14374 * gdb.mi/mi-simplerun.exp: Likewise.
14375 * gdb.mi/mi-stack.exp: Likewise.
14376 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
14377 number with explicit range test.
14378 * gdb.mi/mi-watch.exp: Likewise.
14379 * gdb.mi/mi2-break.exp: Likewise.
14380 * gdb.mi/mi2-cli.exp: Likewise.
14381 * gdb.mi/mi2-disassemble.exp: Likewise.
14382 * gdb.mi/mi2-eval.exp: Likewise.
14383 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
14384 default line number.
14385 * gdb.mi/mi2-return.exp: Likewise.
14386 * gdb.mi/mi2-simplerun.exp: Likewise.
14387 * gdb.mi/mi2-stack.exp: Likewise.
14388 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
14389 number with explicit range test.
14390 * gdb.mi/mi2-watch.exp: Likewise.
14391
dd8c8ee7
MC
143922004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14393
14394 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
14395 * gdb.cp/m-static.exp: Likewise.
14396 * gdb.cp/rtti.exp: Likewise.
14397
4e838464
MK
143982004-08-14 Mark Kettenis <kettenis@gnu.org>
14399
14400 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
14401
8d8cb839
EZ
144022004-08-14 Eli Zaretskii <eliz@gnu.org>
14403
14404 * ChangeLog: Prefix Local Variables with semi-colons and indent
14405 the reference to older ChangeLog files, to fix fontification in
14406 Emacs.
14407
deea8bb0
MC
144082004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14409
14410 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
14411 * gdb.mi/mi2-break.exp: Likewise.
14412
c3297504
MC
144132004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14414
14415 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
14416
25808999
MC
144172004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14418
14419 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
14420
226a8d71
MC
144212004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14422
14423 * gdb.cp/classes.exp: Remove unused declarations. Just let
14424 test names default instead of providing special names. Remove
14425 extraneous demangler test.
14426
37fdf854
JJ
144272004-08-12 Jeff Johnston <jjohnstn@redhat.com>
14428
14429 * gdb.base/unload.exp: New test for breakpoints in dynamically
14430 loaded libraries.
14431 * gdb.base/unload.c: Ditto.
14432 * gdb.base/unloadshr.c: Ditto.
14433
2d3a7986
MC
144342004-08-12 Michael Chastain <mec.gnu@mindspring.com>
14435
14436 * gdb.cp/classes.exp (test_ptype_class_objects): Call
14437 cp_test_ptype_class.
14438 (test_enums): Likewise.
14439
c72b934c
AC
144402004-08-10 Andrew Cagney <cagney@gnu.org>
14441
14442 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14443 files.
14444
cc503c8a
AC
144452004-08-10 Andrew Cagney <cagney@gnu.org>
14446
14447 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
14448 init_malloc call.
14449
902f2ccb
MC
144502004-08-10 Michael Chastain <mec.gnu@mindspring.com>
14451
14452 * ChangeLog: Add copyright notice. The notice is copied
14453 from emacs 21.3 top level ChangeLog.
14454
78c90502
MC
144552004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14456
14457 * lib/cp-support.exp: New file.
14458 * lib/cp-support.exp (cp_test_type_class): New function.
14459 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
14460 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
14461 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
14462 cp_test_ptype_class.
14463
88e5ea78
MC
144642004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14465
14466 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
14467 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
14468 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
14469 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
14470 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14471 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
14472 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
14473 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
14474 gdb.mi/mi2-watch.exp: Update copyright years.
14475
6a89fc9c
MK
144762004-08-09 Mark Kettenis <kettenis@gnu.org>
14477
14478 * gdb.base/sigaltstack.exp: Provide proper anchoring.
14479
1482e0de
MC
144802004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14481
14482 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
14483 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
14484 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
14485 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14486 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
14487 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
14488 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
14489 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14490 gdb.mi/mi-watch.exp: Update copyright years.
14491
1a5ce3f3
DJ
144922004-08-08 Daniel Jacobowitz <dan@debian.org>
14493
14494 PR gdb/1738
14495 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
14496 from a breakpoint with a pending signal.
14497
04f6ecf2
DJ
144982004-08-08 Daniel Jacobowitz <dan@debian.org>
14499
14500 PR gdb/1736
14501 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
14502 * gdb.base/sigaltstack.exp (finish_test): Consume output until
14503 the prompt.
14504 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
14505
54d90d35
DJ
145062004-08-08 Daniel Jacobowitz <dan@debian.org>
14507
14508 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
14509
d2f6abb0
DJ
145102004-08-08 Daniel Jacobowitz <dan@debian.org>
14511
14512 PR gdb/1736
14513 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
14514 for i?86-*-linux*.
14515
5598c03d
DJ
145162004-08-08 Daniel Jacobowitz <dan@debian.org>
14517
14518 * gdb.arch/i386-prologue.exp: Compile without debug information.
14519
c6fee705
MC
145202004-08-08 Michael Chastain <mec.gnu@mindspring.com>
14521
14522 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
14523 rather than asking gdb to search.
14524
dd90efdb
MC
145252004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14526
14527 * gdb.base/gcore.c: Include <string.h>.
14528
1e84bec1
MC
145292004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14530
14531 * gdb.base/gcore.c: Add copyright notice.
14532
e425eb2b
MC
145332004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14534
14535 * gdb.base/freebpcmd.c: Include <stdio.h>.
14536 * gdb.base/long_long.c: Include <string.h>.
14537 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
14538 * gdb.base/siginfo.c: Include <string.h>.
14539 * gdb.base/sigstep.c: Include <string.h>.
14540
cb9aaed5
MC
145412004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14542
14543 * gdb.base/complex.c: Include <stdlib.h>.
14544
55944f3d
MC
145452004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14546
14547 * gdb.base/complex.c: Add copyright notice.
14548
7b2953d9
MC
145492004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14550
14551 * gdb.base/charset.c: Include <stdlib.h>.
14552
c9133d23
MC
145532004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14554
14555 * gdb.base/auxv.c: Include <stdlib.h>.
14556
0a8490ad
MC
145572004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14558
14559 * gdb.base/auxv.c: Add copyright notice.
14560
3426d5ec
MC
145612004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14562
14563 * gdb.base/coremaker.c: Add copyright notice.
14564 * gdb.base/coremaker2.c: Add copyright notice.
14565
8da195dd
AC
145662004-08-04 Andrew Cagney <cagney@gnu.org>
14567
14568 * gdb.base/store.exp: Update copyright.
14569 (check_set, up_set, check_struct, up_struct): Add a prefix to test
14570 names, do not import gdb_prompt.
14571
8d394f98
AC
145722004-08-01 Andrew Cagney <cagney@gnu.org>
14573
14574 Fix PR testsuite/1729.
14575 * gdb.base/dump.exp: Add test name to callers of capture_value, do
14576 not use capture_value with value 4.
14577 (capture_value): Add optional test name parameter.
14578 (test_reload_saved_value, test_restore_saved_value): Use $msg as
14579 the prefix, pass to capture_value.
14580
b6702b23
MK
145812004-08-01 Mark Kettenis <kettenis@gnu.org>
14582
14583 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
14584 * gdb.arch/i386-prologue.c (standard): New prototype and function.
14585 (main): Call new function.
14586
c203e0ca
MC
145872004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14588
14589 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
14590
a7995a30
MC
145912004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14592
14593 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
14594
9366563b
MC
145952004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14596
b6eeaf26 14597 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
14598 Accept more values of vtbl pointer. Remove some messages
14599 about "obsolete gcc or gdb".
14600
2fc1f950
MC
146012004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14602
14603 * gdb.cp/classes.exp: Accept more varieties of ptype output.
14604
c724d49b
MC
146052004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14606
14607 * gdb.base/asm-source.exp: Properly convert target board
14608 debug flags from gcc format to binutils format.
14609
736b0fce
MK
146102004-07-28 Mark Kettenis <kettenis@gnu.org>
14611
14612 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
14613 gdb1718". PR backtrace/1718 partially fixed.
14614
5633ea5c
JJ
146152004-07-27 Jeff Johnston <jjohnstn@redhat.com>
14616
14617 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
14618
575eebb1
NC
146192004-07-26 Nick Clifton <nickc@redhat.com>
14620
14621 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
14622 good default value for a specific architecture is available then
14623 set it to that value. Otherwise default to the -gstabs switch.
14624 Remove the -g... switches from the asm-flags variable. Allow the
14625 target board info to override the value if it wants to. Pass the
14626 switch on the assembler command line.
14627
62104619
MK
146282004-07-23 Mark Kettenis <kettenis@gnu.org>
14629
14630 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
14631 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
14632 (main): Call new function.
14633
4a1135b8
MC
146342004-07-22 Michael Chastain <mec.gnu@mindspring.com>
14635
14636 Test for PR exp/1715.
14637 * gdb.base/radix.exp: Refactor common procedures. Make all
14638 test names unique. Change XFAIL to KFAIL.
14639
8a12c1f0
MC
146402004-07-20 Michael Chastain <mec.gnu@mindspring.com>
14641
14642 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
14643 * gdb.ada/gnat_ada.gin: ... to here.
14644 * configure.in: Use gnat_ada.gin.
14645 * configure: Regenerate.
14646
23b451cf
AC
146472004-07-20 Andrew Cagney <cagney@gnu.org>
14648
14649 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
14650 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
14651 XFAILs. Clean up test messages and comments. Check backtraces.
14652 Delete re-sync code.
14653
ab618a02
MC
146542004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14655
14656 Fix PR cli/740.
14657 * gdb.base/annota1.exp: Honor gdb,nosignals.
14658 * gdb.base/annota3.exp: Likewise.
14659
46dad340
MC
146602004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14661
14662 * lib/java.exp: Update copyright notice.
14663
756d8c70
AC
146642004-07-19 Andrew Cagney <cagney@gnu.org>
14665
14666 * gdb.base/selftest.exp: Copy file from here ...
14667 * gdb.gdb/selftest.exp: ... to here.
14668
586027e6
AC
146692004-07-16 Andrew Cagney <cagney@redhat.com>
14670
14671 * lib/insight-support.exp: Delete file.
14672 * lib/java.exp (java_init): Fix copyright.
14673
029d2200
AC
146742004-07-16 Andrew Cagney <cagney@gnu.org>
14675
14676 * gdb.base/restore.c: Append "prologue" to comments marking the a
14677 function's prologue.
14678 * gdb.base/restore.exp: Update copyright, re-indent.
14679 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
14680 callerN" prefix where needed. Update patterns that match a
14681 function's prologue.
14682
653b62c5
MC
146832004-07-16 Michael Chastain <mec.gnu@mindspring.com>
14684
14685 * gdb.base/restore.c: Add copyright notice.
14686
f7d690e5
AC
146872004-07-16 Andrew Cagney <cagney@gnu.org>
14688
14689 * gdb.base/logical.exp: Update copyright.
14690 (evaluate): New procedure. Use to re-implement tests using
14691 several tables.
14692
d629a7cb
MH
146932004-07-14 Martin Hunt <hunt@redhat.com>
14694
14695 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
14696 which fixes some problems where init.tcl was not found.
14697
9c7bb332
AC
146982004-07-13 Andrew Cagney <cagney@gnu.org>
14699
6bf46641
AC
14700 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
14701 (check_sizeof, check_valueof): Do not include the output in the
14702 test name. Use gdb_test.
14703 (get_valueof): Use gdb_test_multiple.
14704
c4ffd4c0
AC
14705 * gdb.base/step-test.exp: Update copyright. Use
14706 gdb_test_multiple. Ensure that test names do not include
14707 architecture dependent output.
14708
ab89363a
AC
14709 * gdb.gdb/observer.exp: Update copyright.
14710 (setup_test): Use gdb_test_multiple.
14711 (attach_first_observer, attach_second_observer)
14712 (attach_third_observer, detach_first_observer)
14713 (detach_second_observer, detach_third_observer)
14714 (reset_counters, check_counters): Make $message a prefix.
14715 (test_normal_stop_notifications): Add "args" parameter - a list of
14716 init functions to be called. Make $message a prefix,
14717 (test_observer_normal_stop): Change the message prefixes so that
14718 they are unique, pass the attach / detach procedures to
14719 test_normal_stop_notifications.
14720
ec58997a
AC
14721 * gdb.base/signull.exp (test_segv): Prefix all tests with
14722 "${name}". Clean up test messages.
14723
b475183b
AC
14724 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
14725
9c7bb332
AC
14726 * gdb.base/ena-dis-br.exp: Update copyright.
14727 (break_at): New function. Replace send_gdb with gdb_test,
14728 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
14729 ignore count, not stopped at bpt", with KFAIL.
14730
2dd95497
CV
147312004-07-13 Corinna Vinschen <vinschen@redhat.com>
14732
14733 * gdb.base/attach.exp: Remove cleanupfile handling.
14734
419e626b
AC
147352004-07-12 Andrew Cagney <cagney@gnu.org>
14736
14737 * gdb.base/annota1.exp: Cleanup corefile test name.
14738 * gdb.base/annota3.exp: Ditto.
14739
8b1b3228
AC
147402004-07-12 Andrew Cagney <cagney@gnu.org>
14741
78650829
AC
14742 * gdb.base/signals.exp: Clean up copyright, re-indent.
14743
8b1b3228
AC
14744 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
14745 gdb_test and gdb_test_multiple.
14746
935c2760
JJ
147472004-07-08 Jeff Johnston <jjohnstn@redhat.com>
14748
14749 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 14750 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
14751 provide line number info for first statement in main.
14752
1544280f
AC
147532004-07-08 Andrew Cagney <cagney@gnu.org>
14754
1279f4ff
AC
14755 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
14756
1544280f
AC
14757 * gdb.base/sigbpt.exp: Make the common part of each test name a
14758 prefix instead of suffix.
14759
bcc82369
BR
147602004-07-07 Bob Rossi <bob_rossi@cox.net>
14761
14762 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
14763 test from test_tbreak_creation_and_listing to
14764 test_file_list_exec_source_file
14765 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
14766 Changed name of test from test_tbreak_creation_and_listing to
14767 test_file_list_exec_source_file
14768
23f4b0aa
JJ
147692004-07-07 Jeff Johnston <jjohnstn@redhat.com>
14770
14771 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
14772 the jmisc() constructor instead of <init>.
14773 * gdb.java/jmisc1.exp: Ditto.
14774
56401cd5
AC
147752004-07-07 Andrew Cagney <cagney@gnu.org>
14776
14777 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
14778 corrupting the PC.
14779
44ae2f6a
MC
147802004-07-06 Michael Chastain <mec.gnu@mindspring.com>
14781
14782 * gdb.cp/templates.exp: Accept whitespace change in demangler
14783 output.
14784
45a83408
AC
147852004-07-06 Andrew Cagney <cagney@gnu.org>
14786
14787 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
14788
d205ad70
MC
147892004-07-02 Michael Chastain <mec.gnu@mindspring.com>
14790
14791 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
14792 * lib/compiler.cc: Likewise.
14793
06ea1a61
MC
147942004-06-30 Michael Chastain <mec.gnu@mindspring.com>
14795
14796 * lib/compiler.cc: Work around string preprocessing problem
14797 with old hp c++ compiler.
14798 * lib/compiler.c: Likewise.
14799
daab1251
CV
148002004-06-29 Corinna Vinschen <vinschen@redhat.com>
14801
14802 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
14803 directives to conditionalize symbol prefixing.
14804 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
14805 additional_flags handling. Add underscore prefix for Cygwin.
14806 * gdb.arch/i386-unwind.c: Use preprocessor directives to
14807 conditionalize symbol prefixing.
14808 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
14809 additional_flags handling. Add underscore prefix for Cygwin.
14810
cc984116
CV
148112004-06-29 Corinna Vinschen <vinschen@redhat.com>
14812
14813 * gdb.base/bigcore.exp: Skip test on Cygwin.
14814
c279b077
MC
148152004-06-28 Michael Chastain <mec.gnu@mindspring.com>
14816
14817 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
14818 formats for "info register". Use gdb_test_multiple. Fix
14819 the "invalid register" test.
14820
0e915747
CV
148212004-06-28 Corinna Vinschen <vinschen@redhat.com>
14822
14823 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
14824 PID for Cygwin. Add Cygwin specific strings to check for in some
14825 tests.
14826 (do_attach_tests): Add a test for user interaction when attaching
14827 to a process with no matching symbol table already loaded.
14828
11422c86
AC
148292004-06-26 Andrew Cagney <cagney@gnu.org>
14830
14831 Test PR java/1567 and PR java/1565.
14832 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
14833 * gdb.java/jmisc2.exp: Delete file.
14834
cefbce26
MC
148352004-06-26 Michael Chastain <mec.gnu@mindspring.com>
14836
14837 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
14838
e19f872c
CV
148392004-06-25 Corinna Vinschen <vinschen@redhat.com>
14840
14841 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
14842 attach process.
14843
d931ba3b
MC
148442004-06-23 Michael Chastain <mec.gnu@mindspring.com>
14845
14846 * gdb.cp/pr-1553.exp: Remove.
14847
aef68c48
MC
148482004-06-22 Michael Chastain <mec.gnu@mindspring.com>
14849
14850 * gdb.cp/pr-1553.cc: Remove.
14851 * gdb.cp/pr-1553.exp: Disable this test.
14852
8d5df71a
JB
148532004-06-20 Jim Blandy <jimb@redhat.com>
14854
a9c64011 14855 Fix PR testsuite/1680.
8d5df71a
JB
14856 * gdb.arch/i386-sse.exp: Properly quote curly braces in
14857 regular expressions.
14858
4ac6f39d
MC
148592004-06-19 Michael Chastain <mec.gnu@mindspring.com>
14860
14861 Fix PR testsuite/1679.
14862 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
14863 Issue an UNSUPPORTED result instead.
14864
1b413552
JB
148652004-06-18 Jim Blandy <jimb@redhat.com>
14866
14867 * gdb.base/charset.exp: Only send a control-C if we see a new
14868 prompt and incomplete command.
14869
6daa6ebd
MC
148702004-06-18 Michael Chastain <mec.gnu@mindspring.com>
14871
14872 * gdb.cp/pr-574.cc: Add copyright notice.
14873
51fa4ae0
JB
148742004-06-17 Jim Blandy <jimb@redhat.com>
14875
14876 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
14877 cases where the regexp has no groups; this grabs random text from
14878 the previous test suite, whatever that was.
14879
8fea26c5
MC
148802004-06-17 Michael Chastain <mec.gnu@mindspring.com>
14881
14882 * gdb.cp/printmethod.cc: Add copyright notice.
14883
1e3aeb41
MC
148842004-06-16 Michael Chastain <mec.gnu@mindspring.com>
14885
14886 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
14887
9d9030bc
AC
148882004-06-16 Andrew Cagney <cagney@gnu.org>
14889
14890 * gdb.base/signull.c: Update copyright. Include <string.h>.
14891 (bowler): Replace data_pointer with data_read
14892 and data_write cases. Add code_descriptor case.
14893 (zero, desc): New array and pointer.
14894 (data, code): Change to simple pointers.
14895 * gdb.base/signull.exp: Fix probe pattern matching a function
14896 descriptor SIGSEGV. Replace data_pointer with data_read and
14897 data_write tests.
14898
acd4ad44
AC
148992004-06-16 Andrew Cagney <cagney@gnu.org>
14900
14901 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
14902
08fd625c
MC
149032004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14904
14905 * gdb.base/long_long.c: Add copyright notice.
14906
1903502c
MC
149072004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14908
14909 * gdb.base/long_long.exp: Remove reference to
14910 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
14911 to gdb_breakpoint and gdb_continue_to_breakpoint.
14912
83313cb1
JB
149132004-06-14 Jim Blandy <jimb@redhat.com>
14914
14915 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
14916 endian case.
14917
1bf404ef
AC
149182004-06-14 Andrew Cagney <cagney@gnu.org>
14919
14920 * gdb.base/gcore.exp (capture_command_output): Delete the always
14921 passing tests containing inferior values.
14922 * gdb.base/ending-run.exp: Do not include the breakpoint address
14923 in the test message. Update copyright.
14924 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
14925 size in the test name, use gdb_test_multiple. Update copyright.
14926
ef220b33
MC
149272004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14928
14929 * gdb.cp/ref-types.cc: Add copyright notice.
14930
4f70a4c9
MC
149312004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14932
14933 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
14934 hp_aCC_compiler.
14935 * lib/compiler.cc: Likewise.
14936 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
14937 'set' commands. Log diagnostics for other lines. Set
14938 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
14939
335928ac
MC
149402004-06-13 Michael Chastain <mec.gnu@mindspring.com>
14941
14942 * gdb.cp/try_catch.cc: Add copyright notice.
14943
2efb12e8
MC
149442004-06-12 Michael Chastain <mec.gnu@mindspring.com>
14945
14946 * gdb.cp/userdef.cc: Add copyright notice.
14947
0bbed51a
MC
149482004-06-11 Michael Chastain <mec.gnu@mindspring.com>
14949
14950 * gdb.cp/virtfunc.cc: Add copyright notice.
14951
e12a46c9
RC
149522004-06-11 Randolph Chung <tausq@debian.org>
14953
14954 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
14955 problem.
14956
338e05af
AC
149572004-06-10 Andrew Cagney <cagney@gnu.org>
14958
14959 * lib/compiler.cc, lib/compiler.c: Append either
14960 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
14961 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
14962 instead of gcc-3-3.
14963
dc3f10cb
AC
149642004-06-09 Andrew Cagney <cagney@gnu.org>
14965
b4d946af
AC
14966 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
14967 gdb/1455, bug is specific to "long long" and "double".
a9c64011 14968
dc3f10cb
AC
14969 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
14970 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
14971 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
14972 fixed.
14973
b5c0bfa2
AC
149742004-06-09 Andrew Cagney <cagney@gnu.org>
14975
14976 * gdb.base/structs.exp (test_struct_returns): Replace
14977 "return_value_unknown" and "finish_value_unknown" by
14978 "return_value_known" and "finish_value_known". Instead of
14979 "return_value_unknown" iff "finish_value_unknown", check
14980 "return_value_known" implies "finish_value_known".
14981
caeb605f
MH
149822004-06-08 Martin Hunt <hunt@redhat.com>
14983
14984 * gdb.base/float.exp: Add pattern for mips targets.
14985
c892bb64
RC
149862004-06-08 Randolph Chung <tausq@debian.org>
14987
14988 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
14989 message for unknown architectures more clear.
14990
48306d3e
JB
149912004-06-08 Joel Brobecker <brobecker@gnat.com>
14992
14993 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
14994 start the execution of the program.
14995
83ecb59f
JB
149962004-06-07 Jim Blandy <jimb@redhat.com>
14997
14998 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
14999 * gdb.arch/i386-cpuid.h: New helper file.
15000
55264cb4
RC
150012004-06-07 Randolph Chung <tausq@debian.org>
15002
15003 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
15004 has started.
15005
23cadb28
RM
150062004-06-04 Roland McGrath <roland@redhat.com>
15007
15008 Fix PR gdb/1647.
15009 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
15010 differently to be robust to output buffering differences.
15011
51d01eda
MC
150122004-06-04 Michael Chastain <mec.gnu@mindspring.com>
15013
15014 * gdb.threads/pthreads.exp: Update copyright years.
15015 (check_control_c): Change asynchronous 'after' to synchronous.
15016
f4fc3b93
RM
150172004-06-04 Roland McGrath <roland@redhat.com>
15018
15019 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
15020 next gdb prompt.
15021
4013522b
MC
150222004-06-02 Michael Chastain <mec.gnu@mindspring.com>
15023
15024 Fix PR gdb/1636.
15025 * gdb.threads/manythreads.exp: Change asynchronous 'after'
15026 calls to synchronous.
15027
7a8f1e6b
JB
150282004-05-26 Jim Blandy <jimb@redhat.com>
15029
15030 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
15031
81bb3443
RC
150322004-05-24 Randolph Chung <tausq@debian.org>
15033
15034 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
15035 * gdb.asm/pa.inc: New file.
15036
8f5a3103
MK
150372004-05-22 Mark Kettenis <kettenis@gnu.org>
15038
15039 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
15040
734b8fe8 150412004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 15042 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
15043
15044 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
15045 GDB prompt.
15046
725603e1
UW
150472004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15048
f4fc3b93 15049 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
15050 setjmp/longjmp. Use sigaction instead of signal.
15051
8b923272 150522004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 15053 Michael Snyder <msnyder@redhat.com>
8b923272
JB
15054
15055 * gdb.threads/pthread_cond_wait.c: New file.
15056 * gdb.threads/pthread_cond_wait.exp: New testcase.
15057
8bfabb04
AC
150582004-05-13 Andrew Cagney <cagney@redhat.com>
15059
15060 * gdb.base/signull.exp, gdb.base/signull.c: New files.
15061 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
15062
42edda50
AC
150632004-05-11 Andrew Cagney <cagney@redhat.com>
15064
15065 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
15066 fixed but revealed gdb/1639.
15067
d303a6c7
AC
150682004-05-10 Andrew Cagney <cagney@redhat.com>
15069
15070 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
15071 func1" and "next to 2nd alarm", kernel bug avoided.
15072
bf08c2a1
DJ
150732004-05-10 Daniel Jacobowitz <dan@debian.org>
15074
15075 PR external/1568
15076 * gdb.base/bigcore.exp: Check the size of the dumped core file.
15077 XFAIL if it is smaller than bytes_allocated.
15078 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
15079 (main): Make chunks_allocated unsigned. Correct comment.
15080
c0586a34
JB
150812004-05-07 Joel Brobecker <brobecker@gnat.com>
15082
15083 * gdb.arch/powerpc-aix-prologue.c: New file.
15084 * gdb.arch/powerpc-aix-prologue.exp: New file.
15085
f2785d12
JB
150862004-05-07 Jim Blandy <jimb@redhat.com>
15087
15088 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
15089 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
15090
bd7f6e30
JB
150912004-05-06 Joel Brobecker <brobecker@gnat.com>
15092
15093 * gdb.base/sep.exp: No longer setup_kfail when the program was
15094 built with dwarf2.
15095
0a5e7efe
JI
150962004-05-05 Jim Ingham <jingham@apple.com>
15097
15098 * gdb.base/pending.exp: Make sure pending breakpoints
15099 preserve the ignore count.
f4fc3b93 15100
a8958849
MK
151012004-04-27 Jerome Guitton <guitton@gnat.com>
15102
15103 * i386-prologue.exp: Add testcase for jump instruction as first
15104 instruction of the real code.
15105 * i386-prologue.c (jump_at_beginning): New function.
15106
7e103f5b
MK
151072004-04-28 Mark Kettenis <kettenis@gnu.org>
15108
15109 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
15110 x86_64-*-*.
15111
5d38b224
MK
151122004-04-28 Mark Kettenis <kettenis@gnu.org>
15113
15114 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
15115 i*86-*-*.
15116
0ef32fd9
MK
151172004-04-25 Mark Kettenis <kettenis@gnu.org>
15118
15119 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
15120 expression that checks the return type.
15121
71d7dd7c
AC
151222004-04-23 Andrew Cagney <cagney@redhat.com>
15123
15124 * gdb.base/call-sc.exp: New test of scalar call/return values.
15125 * gdb.base/call-sc.c: Ditto.
15126
1e9f977e
JJ
151272004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15128
15129 * gdb.threads/manythreads.c: Reduce thread stack size.
15130
899d9e3a
JJ
151312004-04-23 Jeff Johnston <jjohnstn@redhat.com>
15132
15133 * gdb.threads/manythreads.c: Add copyright notice.
15134
61bcae62
AC
151352004-04-23 Andrew Cagney <cagney@redhat.com>
15136
15137 * gdb.base/siginfo.exp: Better handle step out of signal.
15138 * gdb.base/sigstep.exp: Ditto.
15139
7339a42e 151402004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 15141 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
15142
15143 * gdb.threads/manythreads.c: New testcase.
15144 * gdb.threads/manythreads.exp: Ditto.
15145
5c98409b
JB
151462004-04-22 Jim Blandy <jimb@redhat.com>
15147
15148 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
15149 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
15150
3b611f1a
MC
151512004-04-21 Michael Chastain <mec.gnu@mindspring.com>
15152
15153 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
15154
f0fd9238
AC
151552004-04-21 Andrew Cagney <cagney@redhat.com>
15156
15157 * gdb.base/sigstep.c: New file.
15158 * gdb.base/sigstep.exp: New file.
15159
90990674
JB
151602004-04-16 Joel Brobecker <brobecker@gnat.com>
15161
15162 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
15163 call to observer_notify_normal_stop.
15164
78cef34b
AC
151652004-04-15 Andrew Cagney <cagney@redhat.com>
15166
15167 * gdb.base/siginfo.c: New file.
15168 * gdb.base/siginfo.exp: New file.
15169
d2343407
JB
151702004-04-12 J. Brobecker <brobecker@gnat.com>
15171
15172 * gdb.base/sep.exp: Fix typo in comment.
15173
a2dba3c8
JB
151742004-04-12 J. Brobecker <brobecker@gnat.com>
15175
15176 * gdb.base/sep.c: New file.
15177 * gdb.base/sep-proc.c: New file.
15178 * gdb.base/sep.exp: New testcase.
15179
15f7b60e
MK
151802004-04-09 Mark Kettenis <kettenis@gnu.org>
15181
15182 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
15183 support.
15184
44f4de1a
AC
151852004-04-05 Andrew Cagney <cagney@redhat.com>
15186
15187 * gdb.base/sigaltstack.c: New file.
15188 * gdb.base/sigaltstack.exp: New file.
15189
ef04f396
JB
151902004-04-04 Joel Brobecker <brobecker@gnat.com>
15191
15192 * gdb.base/foll-fork.exp: Update the expected output for
15193 "help set follow-fork-mode", to match a change that was made
15194 to the help of this variable on 2004-01-13.
15195
d40d2c92
JB
151962004-04-01 Joel Brobecker <brobecker@gnat.com>
15197
15198 * lib/ada.exp: Add copyright notice.
15199 * bar.ads: Likewise.
15200 * bar.adb: Likewise.
15201 * null_record.adb: Likewise.
15202 * null_record.exp: Likewise.
15203 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
15204
f86ef5a3
JB
152052004-04-01 Joel Brobecker <brobecker@gnat.com>
15206
15207 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
15208 * configure: Regenerate.
15209
414e70e3
JB
152102004-04-01 Joel Brobecker <brobecker@gnat.com>
15211
15212 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
15213 to build the application. Remove the message printed when in
15214 verbose mode, redundant with the UNSUPPORTED message above.
15215
f0aaee49
JB
152162004-03-31 Joel Brobecker <brobecker@gnat.com>
15217
15218 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
15219 * gdb.ada (null_record.exp): New testcase.
15220
ac81cb54
JB
152212004-03-31 Joel Brobecker <brobecker@gnat.com>
15222
15223 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
15224
854af2f7
JB
152252004-03-31 Joel Brobecker <brobecker@gnat.com>
15226
15227 * gdb.ada: New subdirectory.
15228 * gdb.ada/Makefile.in: New file.
15229 * gdb.ada/gnat_ada.gpr.in: New file.
15230
034cb681
JB
152312004-03-31 Joel Brobecker <brobecker@gnat.com>
15232
15233 * lib/ada.exp: New file.
15234
78a1a894
DJ
152352004-03-24 Daniel Jacobowitz <drow@mvista.com>
15236
15237 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
15238 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
15239
4b2b3b3e
AC
152402004-03-22 Andrew Cagney <cagney@redhat.com>
15241
15242 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
15243 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
15244 Problem identified by Ulrich Weigand.
15245
23c73aa3
DC
152462004-03-17 David Carlton <carlton@kealia.com>
15247
15248 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
15249 PR c++/826.
15250
d63a86f8
RM
152512004-03-16 Roland McGrath <roland@redhat.com>
15252
15253 * gdb.base/auxv.exp: New file.
15254 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
15255
0e02aa50
DC
152562004-03-12 David Carlton <carlton@kealia.com>
15257
15258 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
15259 * gdb.cp/pr-1553.cc: Ditto.
15260 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
15261 pass branch.
15262
c20b71be
MC
152632004-03-12 Michael Chastain <mec.gnu@mindspring.com>
15264
15265 * gdb.cp/templates.exp: Accept more template types.
15266
c7414a01
MC
152672004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15268
15269 From Corinna Vinschen with modifications.
15270 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
15271 local variable obj_with_enum.
15272 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
15273 results with obj_with_enum.
15274
ed69573c
MC
152752004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15276
15277 * gdb.cp/classes.cc: New file, copied from misc.cc.
15278 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
15279
28301461
MC
152802004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15281
15282 * gdb.cp/misc.cc: Add copyright notice.
15283
1198ecbe
DC
152842004-03-05 David Carlton <carlton@kealia.com>
15285
15286 * gdb.cp/rtti.exp: Add 'print *obj3' test.
15287 * gdb.cp/rtti.h: Update copyright.
15288 (namespace n2::n3): New.
15289 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
15290 (n2::n3::func3): New.
15291 (main): Call n2::n3::func3.
15292 * gdb.cp/rtti2.cc: Update copyright.
15293 (n2::create3): New.
15294
9e08c470
MK
152952004-03-04 Mark Kettenis <kettenis@gnu.org>
15296
15297 * gdb.asm/openbsd.inc: Fix typo.
15298
4bebc3aa
FF
152992004-03-03 Fred Fish <fnf@redhat.com>
15300
15301 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
15302 "val" instead of unused "size". Update copyright year.
15303
6ea9fb37
DJ
153042004-02-29 Daniel Jacobowitz <drow@mvista.com>
15305
15306 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
15307 to use unsigned char.
15308 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
15309 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
15310
23b23974
DJ
153112004-02-29 Daniel Jacobowitz <drow@mvista.com>
15312
15313 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
15314 line of output.
15315
7574fd53
DJ
153162004-02-28 Daniel Jacobowitz <drow@mvista.com>
15317
15318 * gdb.base/relocate.c (dummy): Initialize.
15319
a195357f
DJ
153202004-02-28 Daniel Jacobowitz <drow@mvista.com>
15321
15322 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
15323 a breakpoint at exit.
15324
72fd54a9
FF
153252004-02-27 Fred Fish <fnf@redhat.com>
15326
15327 * gdb.base/chng-syms.exp: Add expect condition to match failing
15328 case that isn't a timeout.
15329
b9d23137
AC
153302004-02-27 Andrew Cagney <cagney@redhat.com>
15331
15332 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
15333 support.
15334
15d208f6 153352004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 15336
15d208f6
FF
15337 * gdb.arch/gdb1431.c: Remove.
15338 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
15339 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
15340 of "until" incorrectly.
15341
98f9cd2d
JB
153422004-02-26 J. Brobecker <brobecker@gnat.com>
15343
15344 * gdb.cp/class2.cc (empty): New class.
15345 (refer): New function.
15346 (main): Declare an object of type empty and use it.
15347 * gdb.cp/class2.exp: Print the value of an object of type empty.
15348
9b50c11b
JJ
153492004-02-26 Jeff Johnston <jjohnstn@redhat.com>
15350
15351 * gdb.base/langs.exp: Update query string to match the
15352 new nquery format used for pending breakpoints.
15353
0dcd613f
AC
153542004-02-26 Andrew Cagney <cagney@redhat.com>
15355
15356 Fix PR i18n/1570.
15357 * gdb.base/charset.c: Update copyright notice.
15358 (main, init_string): Remove the escape character '\e' tests.
15359 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
15360 * gdb.base/charset.exp (valid_host_charset): Ditto.
15361 * gdb.base/setvar.exp: Ditto.
15362
b8a56647
AC
153632004-02-24 Andrew Cagney <cagney@redhat.com>
15364
90d59e34
AC
15365 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
15366 mmapped data in core file" PASS and FAIL messages consistent.
15367
b8a56647
AC
15368 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
15369 setting a breakpoint. Work around PR java/1565.
15370
9f27c604
JJ
153712004-02-23 Jeff Johnston <jjohnstn@redhat.com>
15372
15373 * lib/gdb.exp (gdb_breakpoint): Update query string to match
15374 new nquery format.
15375 * gdb.base/pending.exp: Ditto.
15376
3224a706
MK
153772004-02-22 Mark Kettenis <kettenis@gnu.org>
15378
15379 * configure.in: Run stabs tests on *BSD.
15380 * configure: Regenerated.
15381
41e0a9ca
MK
153822004-02-21 Mark Kettenis <kettenis@gnu.org>
15383
15384 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
15385
1e1b3428
FF
153862004-02-20 Fred Fish <fnf@redhat.com>
15387
15388 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
15389 blank in test for "returns short", for consistency with other
15390 "returns xxx" tests. Update copyright year.
15391
f9a7572a
FF
153922004-02-19 Fred Fish <fnf@redhat.com>
15393
15394 New testcase for PR breakpoint/1558.
15395 * gdb.arch/gdb1558.exp: New file.
15396 * gdb.arch/gdb1558.c: New file.
15397
b2ce2854
EZ
153982004-02-19 Elena Zannoni <ezannoni@redhat.com>
15399
15400 * gdb.base/nodebug.exp: Fix typo.
15401
e7c9ff01
JB
154022004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15403
15404 Committed by Jim Blandy <jimb@redhat.com>.
15405
62f4b920
JB
15406 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
15407
2db536a1
JB
15408 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
15409
e7c9ff01
JB
15410 * gdb.base/float.exp: Support s390*-*-* targets.
15411
f3205b34
AF
154122004-02-17 Adam Fedor <fedor@gnu.org>
15413
15414 * gdb.base/gdb1555.exp: New file.
15415 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
15416
9d62932d
EZ
154172004-02-17 Elena Zannoni <ezannoni@redhat.com>
15418
15419 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
15420
344c9711
FF
154212004-02-16 Fred Fish <fnf@redhat.com>
15422
15423 * gdb.arch/gdb1291.c: Remove
15424 * gdb.arch/gdb1291.s: New test input file.
15425 * gdb.arch/gdb1291.exp: Expand test to check case that should not
15426 fail. Test for correct result, known incorrect result, other
15427 failures and timeouts.
15428
2d822687
AC
154292004-02-16 Andrew Cagney <cagney@redhat.com>
15430
15431 * gdb.base/bigcore.exp: New file.
15432 * gdb.base/bigcore.c: New file.
15433
dac15b66
AC
154342004-02-13 Andrew Cagney <cagney@redhat.com>
15435
15436 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
15437 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
15438 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
15439 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
15440 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
15441 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
15442 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
15443 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
15444 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
15445 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
15446
6bdfc2c4
JJ
154472004-02-11 Jeff Johnston <jjohnstn@redhat.com>
15448
15449 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
15450 executed is an alloc instruction.
15451
87b3ede8
DC
154522004-02-11 David Carlton <carlton@kealia.com>
15453
15454 * gdb.cp/breakpoint.exp: New.
15455 * gdb.cp/breakpoint.cc: New.
15456
6e19e2bf
MC
154572004-02-11 Michael Chastain <mec.gnu@mindspring.com>
15458
15459 Partial fix for PR gdb/1543.
15460 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
15461 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
15462 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
15463 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
15464 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
15465 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
15466 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
15467 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
15468 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
15469 to bug-gdb@prep.ai.mit.edu .
15470 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
15471 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
15472 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
15473 Likewise.
15474
5c5455dc
AC
154752004-02-10 Andrew Cagney <cagney@redhat.com>
15476
15477 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
15478 using gdb_internal_error_resync.
15479
9cf689d7
DJ
154802004-02-09 Daniel Jacobowitz <drow@mvista.com>
15481
15482 * gdb.threads/thread-specific.exp: Stop early if no threads are
15483 found.
15484
d2dc51db
MC
154852004-02-09 Michael Chastain <mec.gnu@mindspring.com>
15486
15487 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
15488
14b1a056
DJ
154892004-02-08 Daniel Jacobowitz <drow@mvista.com>
15490
15491 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
15492 breakpoints.
15493
83f66e8f
DJ
154942004-02-07 Daniel Jacobowitz <drow@mvista.com>
15495
15496 * config/sim.exp (gdb_load): Handle $arg == "".
15497 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
15498 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
15499
30fc0091
EZ
155002004-02-07 Elena Zannoni <ezannoni@redhat.com>
15501
a9c64011
AS
15502 * gdb.base/maint.exp: Update test to reflect
15503 obstack changes.
30fc0091 15504
4d806929
JJ
155052004-02-04 Jeff Johnston <jjohnstn@redhat.com>
15506
15507 * gdb.base/pendshr.c (pendfunc): New function that calls
15508 pendfunc1.
15509 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
15510
7bfdd688
FF
155112004-02-04 Fred Fish <fnf@redhat.com>
15512
15513 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
15514 function symbols and update copyright years.
15515 * gdb.arch/gdb1291.c: Ditto.
15516
aaa08ee4
MC
155172004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15518
15519 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
15520
dbad7755
MC
155212004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15522
15523 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
15524
ec4646ef
MC
155252004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15526
15527 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
15528
1b802196
FF
155292004-02-02 Fred Fish <fnf@redhat.com>
15530
15531 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
15532 remote targets. Update copyright years.
15533
18fe2033
JJ
155342004-02-02 Jeff Johnston <jjohnstn@redhat.com>
15535
15536 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
15537 support.
15538 * gdb.base/langs.exp: Fix test which attempts to create
15539 breakpoint on non-existent function to handle new pending
15540 support.
15541 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
15542 a breakpoint.
15543 * gdb.base/pending.exp: New test.
15544 * gdb.base/pending.c: New file.
15545 * gdb.base/pendshr.c: Ditto.
15546
8d577d32
DC
155472004-02-02 David Carlton <carlton@kealia.com>
15548
15549 * gdb.cp/overload.exp: Add overloadNamespace tests.
15550 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
15551 (overloadNamespace, XXX): New.
15552 (main): Call XXX::marker2.
15553
3ad13771
FF
155542004-02-01 Fred Fish <fnf@redhat.com>
15555
15556 * gdb.base/dump.exp: Use runto_main instead of "runto main".
15557 * gdb.base/finish.exp: Ditto.
15558 * gdb.base/gcore.exp: Ditto.
15559 * gdb.base/huge.exp: Ditto.
15560 * gdb.base/info-proc.exp: Ditto.
15561 * gdb.base/return2.exp: Ditto.
15562 * gdb.threads/gcore-thread.exp: Ditto.
15563
44c75849
DJ
155642004-02-01 Daniel Jacobowitz <drow@mvista.com>
15565
15566 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
15567
005bc093
MK
155682004-02-01 Mark Kettenis <kettenis@gnu.org>
15569
15570 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
15571 that opening the file succeeds on OpenBSD.
15572
c47cebdb
DJ
155732004-02-01 Daniel Jacobowitz <drow@mvista.com>
15574
15575 * gdb.threads/thread-specific.c: New file.
15576 * gdb.threads/threads-specific.exp: New test script.
15577 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
15578 to expect_out.
15579
5a01311c
MK
155802004-02-01 Mark Kettenis <kettenis@gnu.org>
15581
15582 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
15583 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
15584 only on the "print_small_structs from print_long_arg_list" test.
15585
ce22a4f1
DJ
155862004-02-01 Daniel Jacobowitz <drow@mvista.com>
15587
15588 * gdb.base/completion.exp: Kill a stray backslash.
15589
15590 From Jim Ingham <jingham@apple.com>:
15591 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
15592 agrees with the result from sending a tab.
15593
abbab9d3
DJ
155942004-01-31 Daniel Jacobowitz <drow@mvista.com>
15595
15596 * gdb.base/chng-syms.exp: Remove stray newline.
15597
53904d1e
MK
155982004-01-31 Mark Kettenis <kettenis@gnu.org>
15599
15600 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
15601 *-*-openbsd*.
15602 * gdb.asm/openbsd.inc: New file.
15603
3a4b3aac
MK
156042004-01-30 Mark Kettenis <kettenis@gnu.org>
15605
15606 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
15607 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
15608 *-*solaris2*. Remove commented out default settings for
15609 asm-flags. Replace gdb_compile with target_link.
15610
ebac27b4
MC
156112004-01-29 Michael Chastain <mec.gnu@mindspring.com>
15612
15613 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
15614 for all tests. Remove old hp-ux and cygnus xfail cases.
15615
d8679d84
PH
156162004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
15617
15618 * gdb.base/chng-syms.exp: New file.
15619 * gdb.base/chng-syms.c: New file.
15620
0a55bc22
MC
156212004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15622
15623 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
15624 Provide arms for current output in all my configurations.
15625
94b8e876
MC
156262004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15627
15628 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
15629 * lib/compiler.cc: Likewise.
15630 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
15631 get the right preprocessor. Eval the output directly. Remove
15632 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
15633 hp_f77_compiler and hp_f90_compiler completely.
15634 (gdb_preprocess): Delete.
15635 (get_compiler): Delete.
15636
7cf03d44
MK
156372004-01-24 Mark Kettenis <kettenis@gnu.org>
15638
15639 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
15640 <string.h>.
15641
68b6dce9
NR
156422004-01-24 Nick Roberts <nick@nick.uklinux.net>
15643
15644 * gdb.mi/mi-stack.exp: Update copyright.
15645
b368761e
DC
156462004-01-23 David Carlton <carlton@kealia.com>
15647
15648 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
15649 test for cp_lookup_transparent_type.
15650 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
15651 call them.
15652
f2061b53
DJ
156532004-01-23 Daniel Jacobowitz <drow@mvista.com>
15654
15655 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
15656 after -var-update.
15657
37fc574a
DC
156582004-01-23 David Carlton <carlton@kealia.com>
15659
15660 * gdb.cp/namespace.cc (C::ensureRefs): New.
15661 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
15662
8e94b928
NR
156632004-01-20 Nick Roberts <nick@nick.uklinux.net>
15664
15665 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
15666 case "-stack-list-locals 2".
15667 * gdb.mi/mi-var-child.exp: Test for case
15668 "-var-list-children --all-values NAME".
15669
997b0952
MC
156702004-01-18 Michael Chastain <mec.gnu@mindspring.com>
15671
15672 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
15673
52470da3
MK
156742004-01-18 Mark Kettenis <kettenis@gnu.org>
15675
7049b4b8
MK
15676 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
15677 used with gdb_test_multiple.
15678
52470da3
MK
15679 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
15680 read at address 0. This fixes PR testsuite/1504.
15681
da6012e5
DJ
156822004-01-18 Daniel Jacobowitz <drow@mvista.com>
15683
15684 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
15685 Remove downloading, guessing the host executable, the calls to
15686 gdb_file_cmd and gdb_target_cmd, and "load" support.
15687 (infer_host_exec): New function broken out from gdb_load.
15688 (gdb_load): New wrapper for gdbserver_gdb_load.
15689 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
15690 gdb_target_cmd. Use -target-select.
15691 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
15692 Download binaries to the host. Clear last_mi_remote_file when
15693 we load a new binary.
15694 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
15695 call gdbserver_gdb_load and mi_gdb_target_cmd.
15696
32c70722
MC
156972004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15698
15699 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
15700 type patterns.
15701
b0cecf36
MC
157022004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15703
15704 * gdb.cp/templates.exp: Fix typo in test name of
15705 "print Foo<volatile char*>::foo".
15706
4120d7e6
MC
157072004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15708
15709 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
15710
f679e530
BE
157112004-01-16 Ben Elliston <bje@wasabisystems.com>
15712
15713 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
15714 (clean mostlyclean): Remove empty rm.
15715
091c48f6
MC
157162004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15717
15718 * gdb.base/setvar.exp: Add copyright years.
15719
3e5fc8d2
DC
157202004-01-14 David Carlton <carlton@bactrian.org>
15721
15722 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
15723 PR c++/1511 and update coment.
15724 * gdb.cp/templates.exp: Update patterns to match current output.
15725 If changes involve something other than whitespace, KFAIL
15726 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
15727
63d06c5c
DC
157282004-01-14 David Carlton <carlton@kealia.com>
15729
15730 * gdb.cp/namespace.exp: Add tests involving classes defined within
15731 namespaces.
15732 * gdb.cp/namespace.cc (C::CClass): New.
15733 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
15734
a51dab88
EZ
157352004-01-14 Elena Zannoni <ezannoni@redhat.com>
15736
15737 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
15738 what debug info we have. Print a better message if something goes
15739 wrong while producing the separate debug info file.
15740
a476ccc9
MC
157412004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15742
15743 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
15744
f453692c
MC
157452004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15746
15747 * gdb.base/callfuncs.c: Add copyright notice.
15748
f40063a5
MC
157492004-01-13 Michael Chastain <mec.gnu@mindspring.com>
15750
15751 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
15752 inheritance. PR gdb/1498, PR gcc/13539.
15753
19ac3974
EZ
157542004-01-13 Elena Zannoni <ezannoni@redhat.com>
15755
a9c64011
AS
15756 * gdb.threads/gcore-thread.exp: Prefix name of binary with
15757 test specific name.
15758 * gdb.mi/gdb669.exp: Ditto.
15759 * gdb.mi/mi-pthreads.exp: Ditto.
15760 * gdb.mi/mi1-pthreads.exp: Ditto.
15761 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 15762
56c97c6e
MC
157632004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15764
15765 * gdb.cp/member-ptr.cc: Add copyright notice.
15766
a0644324
MC
157672004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15768
15769 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
15770 some patterns for recent versions of gcc and hpacc. Delete
15771 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
15772 Delete tests that access a NULL pointer-to-member-data. This
15773 script is still disabled for gcc.
15774
32fabe09
EZ
157752004-01-12 Elena Zannoni <ezannoni@redhat.com>
15776
15777 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 15778 escaped correctly.
32fabe09 15779
1f8a6abb
EZ
157802004-01-12 Elena Zannoni <ezannoni@redhat.com>
15781
15782 * gdb.base/sepdebug.exp: New file.
15783 * gdb.base/sepdebug.c: New file.
15784 * lib/gdb.exp (separate_debug_filename): New procedure.
15785 (gdb_gnu_strip_debug): New procedure.
15786
48efe704
AC
157872004-01-12 Andrew Cagney <cagney@redhat.com>
15788
15789 * gdb.mi/ChangeLog: Delete file. Renamed to ...
15790 * gdb.mi/ChangeLog-1999-2003: New file.
15791
a9415475
AC
157922004-01-12 Andrew Cagney <cagney@redhat.com>
15793
15794 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
15795 "Renaming a directory to a non-empty directory returns ENOTEMPTY
15796 or EEXIST", treat EBUSY as an XFAIL.
15797
83b8cf9d
MC
157982004-01-11 Michael Chastain <mec.gnu@mindspring.com>
15799
15800 * gdb.base/scope.exp: Remove obsolete setup_xfail for
15801 hp_cc_compiler.
15802
9939d2a8
MC
158032004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15804
15805 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
15806 decorations.
15807
1ff8cadf
MC
158082004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15809
15810 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
15811 and "(aCC)" decorations. Remove obsolete doco about old
15812 test results.
15813
6fa9022e
MC
158142004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15815
15816 * gdb.cp/exception.exp: Fix typo in doco.
15817
209721fe
MK
158182004-01-09 Mark Kettenis <kettenis@gnu.org>
15819
15820 * gdb.base/gdb1476.exp: Fix typo.
15821
ef11303e
MC
158222004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15823
15824 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
15825 file.
15826
041ab88c
MC
158272004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15828
15829 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
15830 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
15831 Use gdb_compile. Remove restriction on gcc. Add some patterns
15832 for recent version of gdb. Delete second half, which was a copy
15833 of the first half with different build flags. This test is
15834 still disabled because it is still not ready for production.
15835
e36d075a
MC
158362004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15837
15838 * gdb.cp/exception.cc: Add copyright notice.
15839 * gdb.cp/exception.exp: Add a notice that this file is broken
15840 because of line number changes caused by addition of copyright
15841 notice.
15842
42b190ad
MC
158432004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15844
15845 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
15846 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
15847
8f25f06b
MC
158482004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15849
15850 * gdb.cp/classes.exp: Accept gnu abi 2.
15851 * gdb.cp/derivation.exp: Likewise.
15852 * gdb.cp/overload.exp: Likewise.
15853 * gdb.cp/virtfunc.exp: Likewise.
15854
06ded8b8
MC
158552004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15856
15857 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
15858 semicolon after end of function.
15859
77c26ae3
MC
158602004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15861
15862 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
15863 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
15864 boilerplate code for compiling and running the program under
15865 test. Add some string method tests.
15866
20757486
MC
158672004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15868
15869 * gdb.cp/bs15503.cc: Add copyright notice.
15870 * gdb.cp/bs15503.exp: Adjust line number.
15871
0fd3b503
MC
158722004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15873
15874 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
15875 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
15876
10d1bea8
MC
158772004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15878
15879 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
15880 hp_cc_compiler.
15881
2789202a
MC
158822004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15883
15884 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
15885 * gdb.cp/ctti.exp: Use the marker instead of "next".
15886 With gcc, run further before bailing.
15887
b862f14c
MC
158882004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15889
15890 * gdb.cp/cttiadd.cc: Add copyright notice.
15891 * gdb.cp/cttiadd1.cc: Likewise.
15892 * gdb.cp/cttiadd2.cc: Likewise.
15893 * gdb.cp/cttiadd3.cc: Likewise.
15894
96da2469
MC
158952004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15896
15897 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
15898 Use gdb_test, gdb_test_multiple. Use floating-point values that
15899 have exact representations in IEEE-ish formats.
15900
053248ff
MC
159012004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15902
15903 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
15904 compilers. Delete duplicate call to get_compiler_info.
15905 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
15906 * gdb.base/volatile.exp: Likewise.
15907
84acecdd
MK
159082004-01-07 Mark Kettenis <kettenis@gnu.org>
15909
15910 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
15911 memory at address 0.
15912
fe11a27f
MC
159132004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15914
15915 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
15916 to test for hp-ux assembler. Fix copyright years.
15917
60ad077b
AC
159182004-01-07 Andrew Cagney <cagney@redhat.com>
15919
15920 * gdb.base/fileio.c (strerrno): Add "EBUSY".
15921
1c9b8f33
AC
159222004-01-07 Andrew Cagney <cagney@redhat.com>
15923
15924 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
15925 when creating the read-only file. From analysis by Roland McGrath
15926 and Elena Zannoni.
15927
753ccc7a
MC
159282004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15929
15930 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
15931
eca3e36b
MC
159322004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15933
15934 * gdb.base/cvexpr.c: Be type-safe with function pointers and
15935 data pointers.
15936
f8d4bac4
MC
159372004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15938
15939 * gdb.cp/m-static.exp: Compile one source file at a time.
15940 Delete unused call to get_compiler_info.
15941
9b4e0f94
MC
159422004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15943
15944 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
15945 * gdb.base/call-rt-st.exp: Likewise.
15946 * gdb.base/nodebug.exp: Likewise.
15947 * gdb.base/volatile.exp: Likewise.
15948 * gdb.cp/ref-types.exp: Likewise.
15949 * gdb.cp/templates.exp: Likewise.
15950
023c1024
MK
159512004-01-05 Mark Kettenis <kettenis@gnu.org>
15952
15953 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
15954
19703c4a
MC
159552004-01-05 Michael Chastain <mec.gnu@mindspring.com>
15956
15957 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
15958 hppa*-hp-hpux*.
15959
18b67037
MK
159602004-01-04 Mark Kettenis <kettenis@gnu.org>
15961
ba6219c8
MK
15962 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15963 x86_64-*-*.
15964
18b67037
MK
15965 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15966 sparc64-*-* and sparc*-solaris2*.
15967
1bfbbb9d
MK
159682004-01-04 Mark Kettenis <kettenis@gnu.org>
15969
15970 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
15971 return ${tests}" test. The ${tests} already mentions the
15972 filename.
15973
06846494
MC
159742004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15975
15976 * gdb.cp/local.exp: Accept gcc abi 2.
15977
3b0cb202
MC
159782004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15979
15980 * gdb.cp/templates.exp: Accept gcc abi 2.
15981
0643ec3f
MC
159822004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15983
15984 * lib/compiler.cc: Remove supports_template_debugging.
15985 * gdb.cp/templates.exp: Do not test supports_template_debugging.
15986
d231d0b1
MC
159872004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15988
15989 * gdb.cp/namespace.exp: Accept gcc abi 2.
15990
44ffb27c
MC
159912004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15992
15993 * gdb.cp/method.exp: Accept gcc abi 2.
15994
184ad485
MC
159952004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15996
15997 * gdb.cp/classes.exp: Generate identical results as old version.
15998 * gdb.cp/derivation.exp: Likewise.
15999 * gdb.cp/overload.exp: Likewise.
16000 * gdb.cp/virtfunc.exp: Likewise.
16001
116f09e7
MC
160022004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16003
16004 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
16005 mysterious bug with sourceware version of expect.
16006
b1379776
MC
160072004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16008
16009 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
16010 current versions of gcc, including gcc abi 2. Remove gratuitous
16011 restart of test program. Use gdb_test_multiple and gdb_test for
16012 all tests. Add patterns to xfail missing "const" in "const char *"
16013 and kfail PR gdb/1155.
16014
6b7a4c0e
MC
160152004-01-01 Michael Chastain <mec.gnu@mindspring.com>
16016
16017 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
16018 current versions of gcc, including gcc abi 2. Remove gratuitous
16019 restart of test program. Use gdb_test_multiple and gdb_test for
16020 all tests. Add patterns to kfail PR gdb/1498.
16021
51615d72
MC
160222003-12-31 Michael Chastain <mec.gnu@mindspring.com>
16023
16024 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
16025 current versions of gcc, including gcc abi 2. Use "breakpoint"
16026 and "continue" instead of restarting the target program. Use
16027 gdb_test_multiple and gdb_test for all tests.
16028
7b79a9d7
MK
160292004-01-01 Mark Kettenis <kettenis@gnu.org>
16030
16031 * gdb.asm/asm-source.exp: Update copyright year. Link statically
16032 for *-*-solaris2*.
16033
1cd3489f
MC
160342003-12-31 Michael Chastain <mec.gnu@mindspring.com>
16035
16036 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
16037 current versions of gcc, including gcc abi 2. Use "breakpoint"
16038 and "continue" instead of restarting the target program several
16039 times. Use gdb_test_multiple and gdb_test for all tests.
16040
850742db
MC
160412003-12-18 Michael Chastain <mec.gnu@mindspring.com>
16042
16043 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
16044 source files.
16045
eb4bbda8
MC
160462003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16047
16048 * gdb.base/environ.exp: Handle compiling test case from multiple
16049 source files.
16050
e42c7771
MC
160512003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16052
16053 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
16054
80e4b428
JB
160552003-12-17 Jim Blandy <jimb@redhat.com>
16056
5f06973a
JB
16057 * gdb.base/freebpcmd.c: Add copyright notice.
16058
80e4b428
JB
16059 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
16060
0ab84fb7
MC
160612003-12-16 Michael Chastain <mec.gnu@mindspring.com>
16062
16063 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
16064
1b3bb3d0
JB
160652003-12-13 Jim Blandy <jimb@redhat.com>
16066
16067 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
16068
3a4c9371
KB
160692003-12-12 Kevin Buettner <kevinb@redhat.com>
16070
16071 * gdb.asm/frv.inc: New file.
16072 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
16073
a1dea79a
FF
160742003-12-09 Fred Fish <fnf@redhat.com>
16075
16076 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
16077 functions to break1.c and leave prototypes behind. Add more
16078 "set breakpoint NN here" comments.
16079 * gdb.base/break1.c: New file.
16080
16081 * gdb.base/break.exp: Handle compiling test case from multiple
16082 source files and change source file references as needed.
16083 * gdb.base/completion.exp: Ditto.
16084 * gdb.base/condbreak.exp: Ditto.
16085 * gdb.base/define.exp: Ditto.
16086 * gdb.base/ena-dis-br.exp: Ditto.
16087 * gdb.base/info-proc.exp: Ditto.
16088 * gdb.base/maint.exp: Ditto.
16089 * gdb.base/until.exp: Ditto.
16090
16091 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
16092 hardcoded line numbers.
16093 * gdb.base/define.exp: Ditto.
16094 * gdb.base/ena-dis-br.exp: Ditto.
16095 * gdb.base/maint.exp: Ditto.
16096 * gdb.base/until.exp: Ditto.
16097
16098 * gdb.base/completion.exp: Use "break1" for completion tests since
16099 "break" is no longer a unique prefix.
16100
5266b69c
AC
161012003-12-06 Andrew Cagney <cagney@redhat.com>
16102
16103 * gdb.base/structs.exp (test_struct_returns): When applicable, set
16104 "return_value_unimplemented". When an unimplemented struct return
16105 architecture, report incorrect values as a KFAIL
16106
374451f0
MC
161072003-12-05 Michael Chastain <mec.gnu@mindspring.com>
16108
16109 * gdb.cp/rtti.exp: Accept new wording of warning from
16110 cp_lookup_rtti_type.
16111
ba9b20a7
MC
161122003-12-05 Michael Chastain <mec.gnu@mindspring.com>
16113
16114 Partial fix for PR testsuite/1456.
16115 * gdb.base/scope.exp (test_at_main): Replace references to
16116 gcc_compiled with calls to test_compiler_info.
16117 (test_at_foo): Likewise.
16118 (test_at_bar): Likewise.
16119
b74b6d0b
MC
161202003-12-04 Michael Chastain <mec.gnu@mindspring.com>
16121
16122 Partial fix for PR testsuite/1456.
16123 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
16124 to test_compiler_info.
16125
ccfa3402
MC
161262003-12-03 Michael Chastain <mec.gnu@mindspring.com>
16127
16128 * gdb.base/so-impl-ld.exp: Update copyright notice.
16129
f6246aba
MC
161302003-12-02 Michael Chastain <mec.gnu@mindspring.com>
16131
16132 Partial fix for PR testsuite/1456.
16133 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
16134 to test_compiler_info.
16135
13ae734a
MC
161362003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16137
16138 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
16139 from current versions of gdb. Clean up regular expressions.
16140 Delete redundant timeout case.
16141
d8e1cdee
MC
161422003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16143
16144 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
16145 from current versions of gdb. Clean up regular expressions.
16146 Delete redundant timeout case.
16147
96457b64
MC
161482003-12-01 Michael Chastain <mec.gnu@mindspring.com>
16149
16150 Partial fix for PR testsuite/1456.
16151 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
16152 gcc_compiled with call to test_compiler_info.
16153
f35309fc
MC
161542003-11-30 Michael Chastain <mec.gnu@mindspring.com>
16155
16156 Partial fix for PR testsuite/1456.
16157 * gdb.base/list.exp (test_list_function): Delete unused declaration
16158 of gcc_compiled.
16159
d7afdf9b
MC
161602003-11-29 Michael Chastain <mec.gnu@mindspring.com>
16161
16162 Partial fix for PR testsuite/1456.
16163 * gdb.base/complex.exp: Replace reference to gcc_compiled with
16164 call to test_compiler_info.
16165
71507b56
MK
161662003-11-29 Mark Kettenis <kettenis@gnu.org>
16167
16168 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
16169 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
16170 it to create the appropriate note.inc.
16171 * gdb.asm/asmsrc1.s: Include "note.inc".
16172 * gdb.asm/netbsd.inc: New file.
16173 * gdb.asm/empty.inc: New file.
16174
f81f93f7
MC
161752003-11-28 Michael Chastain <mec.gnu@mindspring.com>
16176
16177 Partial fix for PR testsuite/1456.
16178 * gdb.base/constvars.exp: Replace references to gcc_compiled with
16179 calls to test_compiler_info.
16180
9a77938e
MC
161812003-11-27 Michael Chastain <mec.gnu@mindspring.com>
16182
16183 Partial fix for PR testsuite/1456.
16184 * gdb.base/volatile.exp: Replace references to gcc_compiled with
16185 calls to test_compiler_info.
16186
e8367dc7
MK
161872003-11-27 Mark Kettenis <kettenis@gnu.org>
16188
16189 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
16190 pattern for the KFAILs.
16191
526c61ee
AF
161922003-11-25 Adam Fedor <fedor@gnu.org>
16193
16194 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
16195 * gdb.objc/objcdecode.m: New file.
16196
28f2d600
AF
161972003-11-25 Adam Fedor <fedor@gnu.org>
16198
16199 * gdb.objc/nondebug.exp: Test for PR objc/1236.
16200 * gdb.objc/nondebug.m: New file.
16201
a3895cee
BE
162022003-11-26 Ben Elliston <bje@wasabisystems.com>
16203
16204 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16205 NetBSD as it does on FreeBSD. Modelled on a similar change by
16206 Mark Kettenis on 2003-05-30.
16207 (link-flags): Set to "--entry _start" regardless of target.
16208 Special linker flags are to be appended to $link-flags.
16209 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
16210
c9f2c8a3
MC
162112003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16212
16213 * gdb.cp/method.exp: Accept output of new demangler.
16214
15a0587a 162152003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
16216
16217 * gdb/class2.exp: New file.
16218 * gdb/class2.cc: New file.
16219
3c00b570
MC
162202003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16221
16222 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
16223 of new demangler.
16224
7027acc7
MK
162252003-11-23 Mark Kettenis <kettenis@gnu.org>
16226
16227 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
16228 of gdb_test "run".
16229
b0e1598a
MK
162302003-11-23 Mark Kettenis <kettenis@gnu.org>
16231
16232 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
16233 "continue" into "run".
16234
4d9eda44
MC
162352003-11-23 Michael Chastain <mec.gnu@mindspring.com>
16236
16237 Partial fix for PR testsuite/1456.
16238 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
16239 call to test_compiler_info.
16240 * gdb.cp/ctti.exp: Likewise.
16241 * gdb.cp/derivation.exp: Likewise.
16242 * gdb.cp/member-ptr.exp: Likewise.
16243 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
16244 reference to gcc_compiled.
16245
162462003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
16247
16248 Fix PR testsuite/1463.
16249 * gdb.base/structs.exp (start_structs_test): Call
16250 get_debug_format before using the debug format.
16251
d422fe19
AC
162522003-11-22 Andrew Cagney <cagney@redhat.com>
16253
16254 * lib/gdb.exp (gdb_test_multiple): Add simple example.
16255 * gdb.base/structs.exp: Use gdb_test_multiple.
16256
039cf96d
AC
162572003-11-20 Andrew Cagney <cagney@redhat.com>
16258
6882279b
AC
16259 * gdb.base/structs.exp: Handle and recover from internal errors.
16260 Replace "foo${n}" with "foo<n>" in test messages.
16261
e53890ae
AC
16262 * gdb.base/structs.exp: Update copyright. Rewrite.
16263 * gdb.base/structs.c: Update copyright. Rewrite.
16264
2b211c59
AC
16265 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
16266 resync count exceeded.
d63a86f8 16267
039cf96d
AC
16268 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
16269 from the internal error.
16270 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
16271 Original from Jim Blandy.
16272 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 16273
eac98b22
AC
162742003-11-19 Andrew Cagney <cagney@redhat.com>
16275
16276 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
16277 KFAIL.
16278
67455b2a
MK
162792003-11-17 Mark Kettenis <kettenis@gnu.org>
16280
16281 New testcase for PR backtrace/1435.
16282 * gdb.arch/i386-unwind.exp: New file.
16283 * gdb.arch/i386-unwind.c: New file.
16284
853d6e5b
AC
162852003-11-17 Andrew Cagney <cagney@redhat.com>
16286
16287 * lib/gdb.exp (compiler_info): New global.
16288 (test_compiler_info): New function.
16289 (get_compiler_info): Set compiler_info.
16290 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
16291 "compiler_info" to gcc-<major>-<minor>.
16292
38cf6e11
MC
162932003-11-15 Michael Chastain <mec.gnu@mindspring.com>
16294
16295 * gdb.trace/configure: Remove.
16296
a50d3602
EZ
162972003-11-13 Elena Zannoni <ezannoni@redhat.com>
16298
16299 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 16300 breakpoints.
a50d3602
EZ
16301 * gdb.base/break.exp: Remove all references to explicit line
16302 numbers.
16303
d9407aaa
NC
163042003-11-11 Nick Clifton <nickc@redhat.com>
16305
16306 * gdb.base/shreloc.exp: Do not run for targets which do not
16307 support shared objects.
16308
db488fc1
CV
163092003-11-10 Corinna Vinschen <vinschen@redhat.com>
16310
16311 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
16312 Don't run tests if nofileio flag is given.
16313
6a90a18e
EZ
163142003-11-07 Elena Zannoni <ezannoni@redhat.com>
16315
16316 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 16317 as well as 'Watchpoint'.
6a90a18e 16318
0b915e9c
EZ
163192003-11-06 Elena Zannoni <ezannoni@redhat.com>
16320
16321 Reported by Jim Ingham <jingham@apple.com>:
16322 * gdb.base/annota1.exp: Match at least one occurrence of the
16323 signal handler annotation.
16324
d7e4b55f
EZ
163252003-11-06 Elena Zannoni <ezannoni@redhat.com>
16326
a9c64011
AS
16327 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
16328 as well as 'Watchpoint'.
d7e4b55f 16329
2fe4e8d0
MC
163302003-11-05 Michael Chastain <mec@shout.net>
16331
16332 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
16333
6ef88553
KW
163342003-11-03 Kris Warkentin <kewarken@qnx.com>
16335
16336 * gdb.arch/gdb1291.c: New test file.
16337 * gdb.arch/gdb1291.exp: New test script.
16338 * gdb.arch/gdb1431.c: New test file.
16339 * gdb.arch/gdb1431.exp: New test script.
16340
ae7dc4d8
MC
163412003-10-22 Michael Chastain <mec@shout.net>
16342
16343 * gdb.mi/pthreads.c: Add copyright notice.
16344
c39d7427
MC
163452003-10-22 Michael Chastain <mec@shout.net>
16346
16347 * gdb.threads/pthreads.c: Add copyright notice.
16348
8b7d96c1
MC
163492003-10-20 Michael Chastain <mec@shout.net>
16350
16351 * gdb.base/gdb1056.exp: New test script.
16352
d1d69fdd
DJ
163532003-10-13 Daniel Jacobowitz <drow@mvista.com>
16354
16355 * gdb.threads/killed.exp: Use gdb_run_cmd.
16356
7d605576
DJ
163572003-10-13 Daniel Jacobowitz <drow@mvista.com>
16358
16359 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
16360 create a core file.
16361 * gdb.threads/gcore-thread.exp: Likewise.
16362
618ec112
CV
163632003-10-13 Corinna Vinschen <vinschen@redhat.com>
16364
16365 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
16366 type, based on char type.
16367 (struct bit_flags_short_t): New bitfield type, based on short type.
16368 (init_bit_flags_char): New fuction.
16369 (init_bit_flags_short): Ditto.
16370 (print_bit_flags_char): Ditto.
16371 (print_bit_flags_short): Ditto.
16372 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
16373
9367a73c
MC
163742003-10-11 Michael Chastain <mec@shout.net>
16375
16376 * gdb.base/call-rt-st.exp: Update copyright year.
16377
1decf120
KI
163782003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
16379
16380 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
16381 * gdb.disasm/sh3.s: Ditto.
16382
5445b2ae
DJ
163832003-10-07 Daniel Jacobowitz <drow@mvista.com>
16384
16385 * gdb.threads/switch-threads.exp: New test.
16386 * gdb.threads/switch-threads.c: New source file.
16387
aec24853
CV
163882003-10-07 Corinna Vinschen <vinschen@redhat.com>
16389
16390 * gdb.base/ending-run.exp: Add sh specific case.
16391
adc7428d
AC
163922003-10-06 Andrew Cagney <cagney@redhat.com>
16393
16394 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
16395 * gdb.disasm/mn10200.exp: Delete obsolete file.
16396
c9d37158
DJ
163972003-09-29 Daniel Jacobowitz <drow@mvista.com>
16398
16399 * ChangeLog: Correct an entry command.exp -> commands.exp.
16400 * gdb.base/commands.exp (bp_deleted_in_command_test)
16401 (temporary_breakpoint_commands): Check noargs.
16402
79c2c32d
DC
164032003-09-25 David Carlton <carlton@kealia.com>
16404
16405 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
16406 of some print tests, where appropriate. Add tests for C::D::cd,
16407 E::ce, F::cXfX, G::XgX.
16408 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
16409
594e6d67
RE
164102003-09-25 Richard Earnshaw <rearnsha@arm.com>
16411
16412 * lib/java.exp (java_init): Import target_alias before using it.
16413
10f0d451
DC
164142003-09-25 David Carlton <carlton@kealia.com>
16415
16416 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
16417
274bcba0
EZ
164182003-09-23 Elena Zannoni <ezannoni@redhat.com>
16419
d63a86f8 16420 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 16421 weirdness.
274bcba0 16422
cdbf20f7
MC
164232003-09-17 Michael Chastain <mec@shout.net>
16424
16425 * gdb.cp/gdb1355.exp: New file.
16426 * gdb.cp/gdb1355.c: New file.
16427
71e06f80
CV
164282003-09-15 Corinna Vinschen <vinschen@redhat.com>
16429
16430 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
16431 * gdb.asm/sh.inc: New file.
16432
5c4e30ca
DC
164332003-09-11 David Carlton <carlton@kealia.com>
16434
bd45b7af
DC
16435 * gdb.cp/namespace.exp: Add tests for namespace types.
16436 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
16437 (test_namespace): New.
16438
1c199746
EZ
164392003-09-11 Elena Zannoni <ezannoni@redhat.com>
16440
a9c64011 16441 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 16442 * gdb.stabs/weird.exp: Ditto.
1c199746 16443
04ed252f
MC
164442003-09-08 Michael Chastain <mec@shout.net>
16445
16446 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
16447
d8a2d9e7
MC
164482003-09-07 Michael Chastain <mec@shout.net>
16449
16450 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
16451 'parse error'.
16452
161afb24
MK
164532003-09-07 Mark Kettenis <m.kettenis@osp.nl>
16454
16455 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
16456
49f2741a
MC
164572003-08-30 Michael Chastain <mec@shout.net>
16458
16459 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
16460 * gdb.gdb/observer.exp: Ditto.
16461 * gdb.gdb/xfullpath.exp: Ditto.
16462
8afa723e
MK
164632003-08-29 Mark Kettenis <kettenis@gnu.org>
16464
16465 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
16466 *-*-*bsd*.
16467
f31dfe3b
JJ
164682003-08-28 Jeff Johnston <jjohnstn@redhat.com>
16469
16470 * gdb.base/dump.exp: Skip for ia64.
16471
4630e498
JJ
164722003-08-25 Jeff Johnston <jjohnstn@redhat.com>
16473
16474 * gdb.asm/asm-source.exp: Add ia64 support.
16475 * gdb.asm/ia64.inc: New file.
16476
1105b7ef
MC
164772003-08-22 Michael Chastain <mec@shout.net>
16478
16479 * gdb.cp: New directory.
16480 * gdb.cp/*: Copy from gdb.c++/*.
16481 * gdb.c++/*: Remove.
16482 * Makefile.in: Change gdb.c++ to gdb.cp.
16483 * configure.in: Ditto.
16484 * configure: Regnerate.
16485
c945b932
MK
164862003-08-18 Mark Kettenis <kettenis@gnu.org>
16487
16488 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
16489 * gdb.arch/i386-prologue.c (gdb1338): Add function.
16490
2b66634b
DJ
164912003-08-17 Daniel Jacobowitz <drow@mvista.com>
16492
16493 * mi-var-display.exp (-var-list-children weird): Accept function
16494 pointers with argument types.
16495 * mi1-var-display.exp (-var-list-children weird): Likewise.
16496 * mi2-var-display.exp (-var-list-children weird): Likewise.
16497
a356f73b
DJ
164982003-08-17 Daniel Jacobowitz <drow@mvista.com>
16499
16500 * gdb.base/annota3.exp: Add missing newline.
16501
483417b8
MC
165022003-08-06 Michael Chastain <mec@shout.net>
16503
16504 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
16505
c99c59c3
MS
165062003-08-12 Michael Snyder <msnyder@redhat.com>
16507
16508 * gdb.base/float.exp: Add test for SH.
16509
55ed7501
MK
165102003-08-10 Mark Kettenis <kettenis@gnu.org>
16511
16512 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
16513
1a371f2e
EZ
165142003-08-07 Elena Zannoni <ezannoni@redhat.com>
16515
16516 * gdb.base/completion.exp: Remove reduntant completion test
16517 on filename.
16518
e0f353ce
EZ
165192003-08-07 Elena Zannoni <ezannoni@redhat.com>
16520
a9c64011
AS
16521 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
16522 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
16523 gdb.trace/save-trace.exp: Make sure that full pathnames are
16524 escaped correctly.
e0f353ce 16525
5710a1af 165262003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 16527
a9c64011
AS
16528 * configure.in: Don't generate config.h from config.hin.
16529 * configure: Regenerate.
16530 * config.hin: Remove file.
16531 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
16532 * gdb.threads/pthreads.c: Ditto.
5710a1af 16533
dcd81ce9
DJ
165342003-08-07 Daniel Jacobowitz <drow@mvista.com>
16535
16536 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16537 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
16538 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
16539 Replace ld24 with seth/add3.
16540
6009d884
AC
165412003-08-02 Andrew Cagney <cagney@redhat.com>
16542
16543 * gdb.base/annota3.exp: New file.
16544 * gdb.base/annota3.c: New file.
16545 * gdb.c++/annota3.exp: New file.
16546 * gdb.c++/annota3.cc: New file.
16547
51514e06
MC
165482003-07-29 Michael Chastain <mec@shout.net>
16549
16550 * gdb.threads/tls.c (spin): Check errno only if sem_wait
16551 actually failed.
16552 (do_pass): Likewise.
16553 * gdb.threads/tls.exp: Always initialize no_of_threads.
16554
4ee6625b
DJ
165552003-07-27 Daniel Jacobowitz <drow@mvista.com>
16556
16557 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
16558 pattern.
16559 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
16560 * gdb.threads/tls.exp: Recognize one case of the host library not
16561 supporting TLS.
16562
225f2bf6
AC
165632003-07-27 Andrew Cagney <cagney@redhat.com>
16564
16565 * gdb.base/fileio.exp: Use SH when running commands using
16566 remote_exec.
16567
bcb27c9f
DJ
165682003-07-24 Daniel Jacobowitz <drow@mvista.com>
16569
16570 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16571 * gdb.base/relocate.c (dummy): New padding array.
16572
3d67be83
MS
165732003-07-22 Michael Snyder <msnyder@redhat.com>
16574
d63a86f8 16575 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
16576
16577 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
16578 patterns to be more general, accepting old and new output.
16579 Some output chars (such as '+') also must be quoted.
d63a86f8 16580 Some addresses are displayed numerically instead of
3d67be83
MS
16581 symbolically.
16582
57ba3b85
MS
165832003-07-23 Michael Snyder <msnyder@redhat.com>
16584
686d097c
MS
16585 * gdb.base/return2.exp: Don't test long-long return.
16586
57ba3b85
MS
16587 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
16588 * gdb.disasm/t01_mov.exp: Ditto.
16589 * gdb.disasm/t02_mova.s: Ditto.
16590 * gdb.disasm/t02_mova.exp: Ditto.
16591 * gdb.disasm/t03_add.s: Ditto.
16592 * gdb.disasm/t03_add.exp: Ditto.
16593 * gdb.disasm/t04_sub.s: Ditto.
16594 * gdb.disasm/t04_sub.exp: Ditto.
16595 * gdb.disasm/t05_cmp.s: Ditto.
16596 * gdb.disasm/t05_cmp.exp: Ditto.
16597 * gdb.disasm/t06_ari2.s: Ditto.
16598 * gdb.disasm/t06_ari2.exp: Ditto.
16599 * gdb.disasm/t07_ari3.s: Ditto.
16600 * gdb.disasm/t07_ari3.exp: Ditto.
16601 * gdb.disasm/t08_or.s: Ditto.
16602 * gdb.disasm/t08_or.exp: Ditto.
16603 * gdb.disasm/t09_xor.s: Ditto.
16604 * gdb.disasm/t09_xor.exp: Ditto.
16605 * gdb.disasm/t10_and.s: Ditto.
16606 * gdb.disasm/t10_and.exp: Ditto.
16607 * gdb.disasm/t11_logs.s: Ditto.
16608 * gdb.disasm/t11_logs.exp: Ditto.
16609 * gdb.disasm/t12_bit.s: Ditto.
16610 * gdb.disasm/t12_bit.exp: Ditto.
16611 * gdb.disasm/t13_otr.s: Ditto.
16612 * gdb.disasm/t13_otr.exp: Ditto.
16613
e00759ef
EZ
166142003-07-22 Elena Zannoni <ezannoni@redhat.com>
16615
16616 * gdb.threads/tls.exp :Add kfail for 'info address' case.
16617
8bc2021f
EZ
166182003-07-22 Elena Zannoni <ezannoni@redhat.com>
16619
a9c64011
AS
16620 * gdb.threads/tls.c : New file.
16621 * gdb.threads/tls.exp : New file.
16622 * gdb.threads/tls-main.c : New file.
16623 * gdb.threads/tls-shared.c : New file.
16624 * gdb.threads/tls-shared.exp : New file.
8bc2021f 16625
89320c4c
AS
166262003-07-22 Andreas Schwab <schwab@suse.de>
16627
16628 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
16629
180dea7c
AS
166302003-07-20 Andreas Schwab <schwab@suse.de>
16631
16632 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
16633 due to insn reordering.
16634
0714963c
AC
166352003-07-15 Andrew Cagney <cagney@redhat.com>
16636
16637 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
16638
98a23b3f
MC
166392003-07-15 Michael Chastain <mec@shout.net>
16640
16641 * gdb.base/gdb1250.exp: New file.
16642 * gdb.base/gdb1250.c: New file.
16643
27e417a2
ML
166442003-07-09 Michal Ludvig <mludvig@suse.cz>
16645
16646 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
16647 expansion of size_t to 'unsigned long', not only to 'unsigned'.
16648
8bc2021f
EZ
166492003-07-09 Elena Zannoni <ezannoni@redhat.com>
16650
a9c64011
AS
16651 * gdb.threads/tls.c: New file.
16652 * gdb.threads/tls.exp: New file.
16653 * gdb.threads/tls-main.c: New file.
16654 * gdb.threads/tls-shared.c: New file.
16655 * gdb.threads/tls-shared.exp: New file.
8bc2021f 16656
d99968dc
EZ
166572003-07-09 Elena Zannoni <ezannoni@redhat.com>
16658
16659 * gdb.base/annota1.exp: Make sure that we properly escape the
16660 full path of the source file. Xfail more permissive patterns,
d63a86f8 16661 due to a compiler debug info problem.
d99968dc 16662
83876b3b
AS
166632003-07-07 Andreas Schwab <schwab@suse.de>
16664
2705e972
AS
16665 * gdb.asm/m68k.inc: New file.
16666 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
16667
83876b3b
AS
16668 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
16669 arguments"): Also match negative number.
16670
16671 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
16672
3a871b37
DJ
166732003-07-03 Daniel Jacobowitz <drow@mvista.com>
16674
16675 * gdb.base/store.c (charest): New typedef.
16676 (add_char): Rename to add_charest, update.
16677 (wack_char): Rename to wack_charest, update types. Return l + r
16678 to keep r live across the call.
16679 (wack_short, wack_int, wack_long, wack_longest, wack_float)
16680 (wack_double, wack_doublest): Return l + r to keep r live across
16681 the call.
16682 * gdb.base/store.exp: Accomodate store.c changes.
16683
b2a7f303
DC
166842003-06-30 David Carlton <carlton@kealia.com>
16685
16686 * gdb.c++/maint.exp (test_invalid_name): New.
16687 (test_first_component): Add tests for invalid names.
16688
3c6cb4a1
MC
166892003-06-29 Michael Chastain <mec@shout.net>
16690
16691 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
16692 output of '<VTT for class>' for virtual base classes.
16693
f1c2644b
DJ
166942003-06-29 Daniel Jacobowitz <drow@mvista.com>
16695
16696 * gdb.base/completion.exp: Tab-complete "complet" instead of
16697 "compl".
16698 * gdb.base/complex.exp, gdb.base/complex.c: New files.
16699
18080350
DJ
167002003-06-29 Daniel Jacobowitz <drow@mvista.com>
16701
16702 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
16703 * gdb.base/volatile.exp: Likewise.
16704
f56973f8
DJ
167052003-06-29 Daniel Jacobowitz <drow@mvista.com>
16706
16707 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
16708 gdb/1265.
16709
167102003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
16711 Daniel Jacobowitz <drow@mvista.com>
16712
16713 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
16714 initial line count of 'captured_main' from 26 to 32.
16715 (test_with_self): Allow xmalloc call to be interleaved with the
16716 preceding two lines.
16717
e766d4d6
JB
167182003-06-24 Joel Brobecker <brobecker@gnat.com>
16719
16720 * gdb.base/bang.exp: New testcase.
16721
f125c9a4
JB
167222003-06-23 Joel Brobecker <brobecker@gnat.com>
16723
16724 * gdb.base/langs.exp: Add some tests for the "minimal" language
16725 support.
16726
6e25beaf
EZ
167272003-06-23 Elena Zannoni <ezannoni@redhat.com>
16728
16729 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
16730 the testcase.
16731
2f816dda
DJ
167322003-06-22 Daniel Jacobowitz <drow@mvista.com>
16733
16734 * gdb.base/relocate.exp: Test add-symbol-file with a variable
16735 offset.
16736
db5a5748
DJ
167372003-06-22 Daniel Jacobowitz <drow@mvista.com>
16738
16739 * gdb.c++/pr-1210.cc: New file.
16740 * gdb.c++/pr-1210.exp: New file.
16741
1df0c130
DJ
167422003-06-21 Daniel Jacobowitz <drow@mvista.com>
16743
16744 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
16745 000-exec-continue.
16746
a92feac0
MK
167472003-06-15 Mark Kettenis <kettenis@gnu.org>
16748
16749 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
16750 on *-*-*bsd* instead of *-*-freebsd*.
16751
81a58f5b
AC
167522003-06-14 Andrew Cagney <cagney@redhat.com>
16753
16754 * gdb.base/store.exp: Test longest and doublest. Test all
16755 parameters. Weaken return statement match.
16756 * gdb.base/store.c: Add longest and doublest - aka long long and
16757 long double functions. Put all parameters into local register
16758 variables. Use negative values.
16759
b257a0d3
AC
167602003-06-14 Andrew Cagney <cagney@redhat.com>
16761
16762 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
16763 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
16764 exit status.
16765 * gdb.base/fileio.exp: Disable target when nointerrupts and
16766 noinferiorio, instead of limiting it to remote. Use remote_exec
16767 instead of system.
d63a86f8 16768
21c38304
JJ
167692003-06-12 Jeff Johnston <jjohnstn@redhat.com>
16770
16771 * gdb.base/float.exp: Add ia64 support.
16772
1bcdb424
CV
167732003-06-12 Corinna Vinschen <vinschen@redhat.com>
16774
16775 * gdb.base/fileio.exp: Run only on remote targets.
16776
6aeb981f
CV
167772003-06-10 Corinna Vinschen <vinschen@redhat.com>
16778
16779 * gdb.base/fileio.c: New file, testing File-I/O.
16780 * gdb.base/fileio.exp: Ditto.
16781
53df362e
RG
167822003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
16783
16784 * gdb.base/shreloc.exp: New file, check symbol values obtained from
16785 shared objects after relocation at load time (gdb PR/1132).
16786 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 16787 as above, part of the shared object relocation test.
53df362e 16788
ffee1b46
MK
167892003-06-08 Mark Kettenis <kettenis@gnu.org>
16790
b5ca3722
MK
16791 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
16792 fully filled history list.
16793 * gdb.base/gdb_history: New file.
16794
03ed860d
MK
16795 * gdb.base/signals.exp: XFAIL "continue to func1" on
16796 i*86-*-freebsd*.
16797
ffee1b46
MK
16798 * gdb.base/attach.exp: When trying to attach to a nonexistent
16799 process, make it possible to specify the PID based on the target,
16800 and do so for *-*-freebsd*.
16801
d80dbb52
RH
168022003-06-02 Richard Henderson <rth@redhat.com>
16803
16804 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
16805
6dd77b81
RH
168062003-06-02 Richard Henderson <rth@redhat.com>
16807
16808 * gdb.base/selftest.exp: Next over lim_at_start initialization.
16809
f6347e16
RH
168102003-06-02 Richard Henderson <rth@redhat.com>
16811
16812 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
16813
2c161407
DJ
168142003-06-01 Daniel Jacobowitz <drow@mvista.com>
16815
16816 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
16817 of globalvar.
16818
572eb746
MK
168192003-06-01 Mark Kettenis <kettenis@gnu.org>
16820
16821 * gdb.asm/asm-source.exp: Check for memory read errors in
16822 disassembler test on *BSD too.
16823
9e9617a5
RH
168242003-06-01 Richard Henderson <rth@redhat.com>
16825
16826 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
16827 for .frame.
16828 (gdbasm_call): Lose ldgp.
16829 (gdbasm_startup): Add frame information.
16830 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
16831
7b34ad4e
MK
168322003-05-31 Mark Kettenis <kettenis@gnu.org>
16833
16834 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
16835 i?86-*-*.
16836
10059fdf
MK
168372003-05-30 Mark Kettenis <kettenis@gnu.org>
16838
16839 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16840 FreeBSD.
16841
acf4b816
RH
168422003-05-29 Richard Henderson <rth@redhat.com>
16843
16844 * gdb.asm/alpha.inc: New file.
16845 * gdb.asm/asm-source.exp: Use it.
16846
e9ecd949
JB
168472003-05-29 Jim Blandy <jimb@redhat.com>
16848
16849 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
16850 'core.PID'.
16851
e3e5a4f3
JB
168522003-05-22 Jim Blandy <jimb@redhat.com>
16853
16854 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
16855 backtrace.
d63a86f8 16856
72fe3d25
DC
168572003-05-20 David Carlton <carlton@math.stanford.edu>
16858
16859 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
16860 this time.
16861
58da2eb2
DC
168622003-05-19 David Carlton <carlton@bactrian.org>
16863
16864 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
16865 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
16866
1fcb5155
DC
168672003-05-19 David Carlton <carlton@bactrian.org>
16868
16869 * gdb.c++/namespace.exp: Add namespace scope and anonymous
16870 namespace tests.
16871 Bump copyright date.
16872 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
16873 (main): Call C::D::marker2.
16874 * gdb.c++/namespace1.cc: New file.
16875
85e85163
JJ
168762003-05-14 Jeff Johnston <jjohnstn@redhat.com>
16877
16878 Roland McGrath <roland@redhat.com>
d63a86f8 16879 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
16880 there is no manager thread.
16881
a25fbfec
JJ
168822003-05-08 Jeff Johnston <jjohnstn@redhat.com>
16883
d63a86f8
RM
16884 * gdb.threads/schedlock.exp: Remove assumption that all threads
16885 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
16886 in one of the child threads rather than the main thread.
16887
be375bae
JB
168882003-05-07 Jim Blandy <jimb@redhat.com>
16889
09bf6082
JB
16890 Add support for assembly source testing on the s390x.
16891 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
16892 architecture.
16893 * gdb.asm/s390x.inc: New file.
16894
be375bae
JB
16895 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
16896 succession of 'if' statements.
16897
00905d52
AC
168982003-05-05 Andrew Cagney <cagney@redhat.com>
16899
16900 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
16901
b1e29e33
AC
169022003-05-05 Andrew Cagney <cagney@redhat.com>
16903
16904 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
16905 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
16906
e33d66ec
EZ
169072003-05-02 Elena Zannoni <ezannoni@redhat.com>
16908
16909 * gdb.base/charset.exp: Update based on new behavior of set/show
16910 charset commands.
16911
2b6fd0d8
AC
169122003-05-01 Andrew Cagney <cagney@redhat.com>
16913
16914 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
16915 variable do not give memory errors.
16916
130cacce
AF
169172003-04-30 Adam Fedor <fedor@gnu.org>
16918
16919 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
16920 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
16921 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
16922 gdb.objc/basicclass.m: : New files
16923
16924 * lib/gdb.exp (gdb_compile_objc): New procedure.
16925
bea71854
DJ
169262003-04-27 Daniel Jacobowitz <drow@mvista.com>
16927
16928 * gdb.base/signals.exp: Make backtrace tests more specific.
16929
0f20eeea
DC
169302003-04-23 David Carlton <carlton@bactrian.org>
16931
16932 * gdb.c++/maint.exp (test_first_component): Add tests for
16933 'operator' in more locations.
16934
c8c4d8dc
KB
169352003-04-16 Kevin Buettner <kevinb@redhat.com>
16936
16937 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
16938
3fe60e3c
EZ
169392003-04-16 Elena Zannoni <ezannoni@redhat.com>
16940
16941 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 16942 func marke' instead. Update test name.
3fe60e3c 16943
9219021c
DC
169442003-04-15 David Carlton <carlton@math.stanford.edu>
16945
16946 * gdb.c++/maint.exp: New file.
16947
5dd55bdd
EZ
169482003-04-14 Elena Zannoni <ezannoni@redhat.com>
16949
16950 * gdb.threads/schedlock.c: Change type of thread function argument
16951 to long, to avoid warnings on 64-bit platforms.
16952
00890572
EZ
169532003-04-14 Elena Zannoni <ezannoni@redhat.com>
16954
a9c64011
AS
16955 * gdb.base/attach.exp: Add new message from ptrace in case of
16956 attaching to nonexistent process.
d63a86f8 16957
93201743
JB
169582003-04-11 Jim Blandy <jimb@redhat.com>
16959
16960 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16961 gdb.c++/userdef.cc: Place comments on the lines to which the
16962 marker function might return.
16963 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16964 gdb.c++/userdef.exp: Look for those comments to check that we've
16965 returned to the right place, instead of checking line numbers.
16966
2a11c64d
EZ
169672003-04-11 Elena Zannoni <ezannoni@redhat.com>
16968
a9c64011
AS
16969 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
16970 match on sourcefile name, instead of directory name.
2a11c64d 16971
68ab8fc5
EZ
169722003-04-10 Elena Zannoni <ezannoni@redhat.com>
16973
d63a86f8 16974 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
16975 working directory name.
16976
5624293a
JB
169772003-04-09 Jim Blandy <jimb@redhat.com>
16978
16979 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16980 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
16981 after an inferior function call, report the failure, but allow the
16982 test to continue.
16983
f1f02ee4
SC
169842003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16985
16986 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16987 with -DPROTOTYPES.
16988
6eb79af0
SC
169892003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16990
16991 * gdb.base/break.exp: Revert last patch.
16992
8dfb4cf0
SC
169932003-04-04 Stephane Carrez <stcarrez@nerim.fr>
16994
16995 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16996 with -DPROTOTYPES.
16997
ed4c619a
AC
169982003-04-02 Andrew Cagney <cagney@redhat.com>
16999
17000 * gdb.base/callfuncs.exp: Make "print add" messages unique.
17001 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
17002 matching directories by the name breakpoint.
17003 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
17004 Make "continue to marker1" consistent.
17005 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
17006 message consistent.
17007 * lib/gdb.exp: Put "the program is no longer running", and "the
17008 program exited" in parenthesis.
17009 * lib/mi-support.exp: Ditto.
d63a86f8 17010
4e35d5f0 170112003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 17012
4e35d5f0
BR
17013 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
17014
71900fe8
AC
170152003-03-29 Andrew Cagney <cagney@redhat.com>
17016
17017 * gdb.base/sizeof.c (main): Print the value of '\377'.
17018 * gdb.base/sizeof.exp: Check the sign of '\377'.
17019
c0655a16
MC
170202003-03-27 Michael Chastain <mec@shout.net>
17021
17022 * gdb.base/gdb1090.exp: New file.
17023 * gdb.base/gdb1090.cc: New file.
17024
5b2a3989
JB
170252003-03-27 J. Brobecker <brobecker@gnat.com>
17026
17027 * gdb.gdb/observer.exp: New regression test.
17028
79876890
MC
170292003-03-27 Michael Chastain <mec@shout.net>
17030
17031 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
17032 * gdb.base/ptype.exp: Likewise.
17033
6eac95e3
CV
170342003-03-27 Corinna Vinschen <vinschen@redhat.com>
17035
17036 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
17037
e8c71839
MC
170382003-03-26 Michael Chastain <mec@shout.net>
17039
17040 * gdb.base/ptype.exp: Actually use some typedef'd types.
17041
71b10041
SC
170422003-03-21 Stephane Carrez <stcarrez@nerim.fr>
17043
17044 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
17045 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
17046
2512cf80
CV
170472003-03-20 Corinna Vinschen <vinschen@redhat.com>
17048
17049 * gdb.base/default.exp: Fix regular expression.
17050
0d195a4f
CV
170512003-03-20 Corinna Vinschen <vinschen@redhat.com>
17052
17053 * gdb.base/args.exp: Fix regular expression.
17054
8a2dbca8
CV
170552003-03-20 Corinna Vinschen <vinschen@redhat.com>
17056
17057 * gdb.base/help.exp: Allow Win32 child process.
17058
bf028682
CV
170592003-03-20 Corinna Vinschen <vinschen@redhat.com>
17060
17061 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
17062 when stepping out of main().
17063
182dbe85
CV
170642003-03-20 Corinna Vinschen <vinschen@redhat.com>
17065
17066 * gdb.base/default.exp: Check for win32 specific message when calling
17067 "run" without executable.
17068
d67a6ba5
CV
170692003-03-20 Corinna Vinschen <vinschen@redhat.com>
17070
17071 * gdb.base/args.exp: Expect .exe in output.
17072
a955b5bb
CV
170732003-03-20 Corinna Vinschen <vinschen@redhat.com>
17074
17075 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
17076 Cygwin native.
17077
bf6bad4b
AC
170782003-03-17 Andrew Cagney <cagney@redhat.com>
17079
17080 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
17081 vector registes.
17082 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
17083 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
17084
293e9a31
DC
170852003-03-17 David Carlton <carlton@math.stanford.edu>
17086
17087 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
17088 test, for PR breakpoints/38.
17089 Call test_watchpoint_and_breakpoint.
17090 * gdb.base/watchpoint.c (func3): New function.
17091 (main): Call func3.
17092
5330f2db
DC
170932003-03-04 David Carlton <carlton@math.stanford.edu>
17094
17095 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
17096 Garply<Garply<char> >:: garply".
17097 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
17098 with respect to PR c++/1111; note also PR c++/1113.
17099 (test_template_breakpoints): KFAIL "constructor breakpoint" with
17100 respect to PR c++/1062.
17101 KFAIL "destructor breakpoint" with respect to PR c++/1112.
17102
6ece72da
DC
171032003-03-03 David Carlton <carlton@math.stanford.edu>
17104
17105 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
17106 with respect to PR c++/57.
17107 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
17108 c++/826.
17109 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
17110 respect to PR c++/57.
17111
85ca1584
DC
171122003-03-03 David Carlton <carlton@math.stanford.edu>
17113
17114 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
17115 respect to PR c++/33 into FAILs.
17116
98e9c5b8
MC
171172003-03-03 Michael Chastain <mec@shout.net>
17118
7bedbf27
MC
17119 * configure.in: Update copyright years.
17120
171212003-03-03 Michael Chastain <mec@shout.net>
17122
17123 * Makefile.in: Update copyright years.
98e9c5b8 17124
f683e100
DC
171252003-02-28 David Carlton <carlton@math.stanford.edu>
17126
17127 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
17128 print class instead of struct and/or superfluous protection
17129 specifiers, as long as the resulting output is equivalent to the
17130 source code.
17131 Delete FIXME from end of messages on tests that don't need
17132 fixing.
17133
a9e0cf2c
DC
171342003-02-28 David Carlton <carlton@math.stanford.edu>
17135
17136 * gdb.c++/templates.exp (do_tests): Allow const in the two
17137 Foo<volatile char *>::foo tests.
17138
e8d359df
MS
171392003-02-27 Michael Snyder <msnyder@redhat.com>
17140
d63a86f8 17141 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
17142 will be consistant.
17143
0b71dc91
DC
171442003-02-26 David Carlton <carlton@math.stanford.edu>
17145
17146 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
17147 char *>::foo" test with respect to PR c++/33. Create a new test
17148 which is identical to that one except that it doesn't put the
17149 space between the "char" and the "*"; KFAIL it, too.
17150
dd14ab43
DC
171512003-02-26 David Carlton <carlton@math.stanford.edu>
17152
17153 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
17154 template types into either PASSes or KFAILs (corresponding to PR
17155 c++/57). Tweak indentation. Update copyright.
17156
1146c7f1
SC
171572003-02-23 Stephane Carrez <stcarrez@nerim.fr>
17158
17159 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
17160
74641dfb
MC
171612003-02-13 Michael Chastain <mec@shout.net>
17162
17163 * gdb.base/exprs.exp: Remove i960 remnants.
17164 * gdb.base/funcargs.exp: Likewise.
17165 * gdb.base/list.exp: Likewise.
17166 * gdb.base/ptype.exp: Likewise.
17167
559cd2d0
DC
171682003-02-14 David Carlton <carlton@math.stanford.edu>
17169
17170 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
17171 pEe->D::vg()" from XFAIL to KFAIL.
17172
c4f90d87
JM
171732003-02-13 Jason Molenda (jmolenda@apple.com)
17174
17175 * gdb.base/maint.exp: Update maint print statistics regexp to include
17176 new entries.
17177
cbc4d97c
MC
171782003-02-13 Michael Chastain <mec@shout.net>
17179
17180 * gdb.c++/inherit.exp: Remove call to get_debug_format.
17181
40f235b7
MC
171822003-02-12 Michael Chastain <mec@shout.net>
17183
17184 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
17185 * gdb.c++/inherit.exp: Likewise.
17186 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
17187 * gdb.c++/templates.exp: Likewise.
17188 * gdb.c++/virtfunc.exp: Likewise.
17189
c56716b0
JM
171902003-02-06 Jason Molenda (jason-cl@molenda.com)
17191
17192 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
17193 why the code is written that way.
17194
070afcf8
MC
171952003-02-05 Michael Chastain <mec@shout.net>
17196
17197 * gdb.base/dump.exp: Add missing copyright line.
17198
5d0331e5
JM
171992003-02-05 Jason Molenda (jason-cl@molenda.com)
17200
f7ae6d3e 17201 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
17202 at the beginning so the breakpoint doesn't get set on the loop.
17203
92851186
MC
172042003-02-05 Michael Chastain <mec@shout.net>
17205
17206 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
17207 output for configurations with gcc 2.95.3.
17208
cbf1e085
AC
172092003-02-05 Keith Seitz <keiths@redhat.com>
17210 Andrew Cagney <ac131313@redhat.com>
17211
17212 * gdb.mi/mi-cli.exp: New file.
d63a86f8 17213
29518e1e
MC
172142003-02-04 Michael Chastain <mec@shout.net>
17215
17216 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
17217 Call perror and then continue.
17218
5af1d5f3
MC
172192003-02-03 Michael Chastain <mec@shout.net>
17220
17221 * gdb.c++/pr-1023.cc: New file.
17222 * gdb.c++/pr-1023.exp: New file.
17223
6b549786
JB
172242003-02-05 Jim Blandy <jimb@redhat.com>
17225
17226 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
17227 it's local to foobar. Check for it there, and check that it's not
17228 present in main.
17229 * gdb.c++/local.cc (marker2): New function.
17230 (foobar): Call marker1.
17231 (main): Call marker2 instead of marker1.
17232
67f16606
AC
172332003-02-04 Andrew Cagney <ac131313@redhat.com>
17234
17235 * gdb.disasm/mn10200.exp: Obsolete file.
17236 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
17237 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
17238 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
17239
1c5cb38e
DC
172402003-02-04 David Carlton <carlton@math.stanford.edu>
17241
17242 * gdb.c++/overload.exp: Test intToChar(1).
17243 * gdb.c++/overload.cc (intToChar): New.
17244 (main): Call intToChar.
17245
d1fe6965
DC
172462003-02-03 David Carlton <carlton@math.stanford.edu>
17247
17248 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
17249 'might_kfail' arg.
17250 KFAIL some of the continue_to_bp_overloaded calls, according to
17251 PR c++/1025.
17252
9ba61c5d
MC
172532003-02-01 Michael Chastain <mec@shout.net>
17254
17255 * gdb.base/advance.c (marker1): New marker function.
17256 * gdb.base/advance.exp: When the 'advance' command lands on the
17257 return breakpoint, it can legitimately stop on either the
17258 current line or the next line. Accommodate both outcomes.
17259 * gdb.base/until.exp: Likewise.
17260
e7494ffb
AC
172612003-02-02 Andrew Cagney <ac131313@redhat.com>
17262
17263 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
17264 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
17265 now a list, not a tuple.
17266 * gdb.mi/mi-var-display.exp: Ditto.
17267 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 17268
075559bc
AC
172692003-02-01 Andrew Cagney <ac131313@redhat.com>
17270
17271 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
17272 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
17273 stack backtraces.
17274 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 17275
2bd4c7b1
MK
172762003-02-01 Mark Kettenis <kettenis@gnu.org>
17277
17278 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17279 gdb.mi/mi1-pthreads.exp: Return instead of calling
17280 gdb_suppress_entire_file.
17281
eabd8992
MS
172822003-02-01 Mark Salter <msalter@redhat.com>
17283
17284 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
17285
71469e2f
MS
172862003-01-31 Mark Salter <msalter@redhat.com>
17287
17288 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
17289 Support empty arg.
17290
38a94d44
MC
172912003-01-30 Michael Chastain <mec@shout.net>
17292
17293 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
17294 This was a workaround for a UTF-8 bug in readline 4.3. The bug
17295 has been fixed in gdb/readline on 2003-01-09.
17296
19ea9e73
MS
172972003-01-29 Michael Snyder <msnyder@redhat.com>
17298
e8d359df
MS
17299 * gdb.base/maint.exp: Allow for leading underscore in symbol.
17300 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
17301 * gdb.base/args.exp: Skip if target does not support args passing.
17302
2307bd6a
DJ
173032003-01-22 Daniel Jacobowitz <drow@mvista.com>
17304
19ea9e73 17305 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
17306 gdb_test. Accept a list of expect arguments as the third
17307 parameter.
17308 (gdb_test): Use it.
17309
f2dd3617
EZ
173102003-01-20 Elena Zannoni <ezannoni@redhat.com>
17311
17312 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
17313 allow for different test tree configurations. Update some
17314 tescases accordingly.
17315 * gdb.arch/altivec-regs.exp: Ditto.
17316 * gdb.asm/asm-source.exp: Ditto.
17317 * gdb.base/advance.exp: Ditto.
17318 * gdb.base/display.exp: Ditto.
d63a86f8 17319 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
17320 * gdb.base/mips_pro.exp: Ditto.
17321 * gdb.base/overlays.exp: Ditto.
17322 * gdb.base/relocate.exp: Ditto.
17323 * gdb.base/setshow.exp: Ditto.
17324 * gdb.base/step-line.exp: Ditto.
17325 * gdb.base/step-test.exp: Ditto.
17326 * gdb.base/until.exp: Ditto.
17327 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
17328
c71cdefd
DC
173292003-01-17 David Carlton <carlton@math.stanford.edu>
17330
17331 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
17332 corresponding to PR c++/945.
17333 Update copyright.
17334
fdba05d7
DC
173352003-01-17 David Carlton <carlton@math.stanford.edu>
17336
17337 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
17338 corresponding to PR c++/68.
17339
173402003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
17341
17342 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
17343 (test_paddr_hairy_functions): Call print_addr_2_kfail for
17344 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
17345
c362c33a
EZ
173462003-01-15 Elena Zannoni <ezannoni@redhat.com>
17347
0fbc361c
EZ
17348 * gdb.base/break.exp: Fix change of default location, because of
17349 removal of until tests.
17350 * gdb.base/help.exp: Update test for new 'until' help message.
17351 Add test for help on 'advance'.
a9c64011 17352 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 17353
dabf8a35
MK
173542003-01-15 Mark Kettenis <kettenis@gnu.org>
17355
17356 * gdb.base/default.exp: Adapt "info float" test for recent changes
17357 to that command. Add test for "info vector".
17358 * gdb.base/float.exp: New file. Add test for "info float" that
17359 resembles the old test in gdb.base/default.exp.
17360
a1769aca
DC
173612003-01-15 David Carlton <carlton@math.stanford.edu>
17362
17363 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
17364
82025e13
EZ
173652003-01-15 Elena Zannoni <ezannoni@redhat.com>
17366
17367 * gdb.base/break.exp: Move the tests of until command from here...
17368 * gdb.base/until.exp: ... to here. New file. Add other tests.
17369 * gdb.base/advance.c: New file.
17370 * gdb.base/advance.exp: New file.
17371
8f9ab801
EZ
173722003-01-14 Elena Zannoni <ezannoni@redhat.com>
17373
a9c64011
AS
17374 * gdb.base/args.c: New file.
17375 * gdb.base/args.exp: New file.
8f9ab801 17376
9ae66589
DJ
173772003-01-14 Daniel Jacobowitz <drow@mvista.com>
17378
17379 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
17380
8d77e5c3
DJ
173812003-01-14 Daniel Jacobowitz <drow@mvista.com>
17382
17383 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
17384
12d2f0a1
DJ
173852003-01-14 Daniel Jacobowitz <drow@mvista.com>
17386
17387 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
17388 dates.
17389
6ca37014
DJ
173902003-01-13 Daniel Jacobowitz <drow@mvista.com>
17391
17392 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
17393
b0023472
DJ
173942003-01-13 Daniel Jacobowitz <drow@mvista.com>
17395
17396 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
17397 (ptype &*"foo").
17398 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
17399
607fbc54 174002003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
17401
17402 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
17403 * gdb.mi/mi1-console.exp: Likewise.
17404
607fbc54 174052003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
17406
17407 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
17408 * gdb.mi/mi1-console.exp: Likewise.
17409
a1fb14a2
DJ
174102003-01-13 Daniel Jacobowitz <drow@mvista.com>
17411
17412 * gdb.c++/overload.exp: Remove some fixed XFAILs.
17413
c4cf40b7
DJ
174142003-01-09 Daniel Jacobowitz <drow@mvista.com>
17415
17416 * gdb.base/detach.exp: New test.
17417
696d5a5b
DJ
174182003-01-09 Daniel Jacobowitz <drow@mvista.com>
17419
17420 * Makefile.in (ALL_SUBDIRS): New variable.
17421 (subdirs, clean, distclean): Use it.
17422 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
17423 regenerating Makefile, since it is generated from the top level.
17424 * gdb.asm/Makefile.in: Likewise.
17425 * gdb.base/Makefile.in: Likewise.
17426 * gdb.c++/Makefile.in: Likewise.
17427 * gdb.disasm/Makefile.in: Likewise.
17428 * gdb.java/Makefile.in: Likewise.
17429 * gdb.mi/Makefile.in: Likewise.
17430 * gdb.threads/Makefile.in: Likewise.
17431 * gdb.trace/Makefile.in: Likewise.
17432
754533e4
DC
174332003-01-09 David Carlton <carlton@math.stanford.edu>
17434
17435 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
17436 Add copyright year 2003.
17437
d8b3e9ee
MC
174382003-01-06 Michael Chastain <mec@shout.net>
17439
17440 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
17441 When selecting a thread, 'line' and 'file' are optional.
17442 * gdb.mi/mi1-pthreads.exp: Likewise.
17443
8e9e0fe6
AS
174442003-01-06 Andreas Schwab <schwab@suse.de>
17445
17446 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
17447 failures.
17448
b5ab8ff3
DJ
174492003-01-04 Daniel Jacobowitz <drow@mvista.com>
17450
17451 Fix PR gdb/844
17452 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
17453 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
17454
17455 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
17456 instead of calling gdb_suppress_entire_file.
17457 * gdb.threads/print-threads.exp: Likewise.
17458 * gdb.threads/schedlock.exp: Likewise.
17459
17460 * gdb.threads/killed.exp: Return instead of calling
17461 gdb_suppress_entire_file.
17462 * gdb.threads/linux-dp.exp: Likewise.
17463 * gdb.threads/pthreads.exp: Likewise.
17464
1e698235
DJ
174652003-01-04 Daniel Jacobowitz <drow@mvista.com>
17466
17467 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
17468 stabs.
17469 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
17470 * gdb.base/whatis.exp: Always allow (void) after function names.
17471
147ff08c
DJ
174722003-01-04 Daniel Jacobowitz <drow@mvista.com>
17473
17474 * gdb.c++/casts.exp: Correct regexp.
17475
dc62bfc2
MK
174762003-01-04 Mark Kettenis <kettenis@gnu.org>
17477
17478 * configure.in: Call AC_CONFIG_HEADER. Don't call
17479 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
17480 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
17481 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
17482 aforementioned directories in the AC_OUPUT call.
17483 * config.hin: New file.
17484 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17485 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
17486 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
17487 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
17488 pass -I$objdir instead of -I$objdir/$subdir in compilation.
17489 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
17490 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
17491 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
17492 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
17493 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
17494 gdb.threads/configure.in, gdb.threads/configure,
17495 gdb.threads/config.in, gdb.trace/configure.in,
17496 gdb.trace/configure: Removed.
17497
77afa639
MC
174982003-01-03 Michael Chastain <mec@shout.net>
17499
17500 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
17501 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
17502
7634bb6e
DJ
175032003-01-03 Daniel Jacobowitz <drow@mvista.com>
17504
17505 * gdb.base/store.exp: Fix regular expressions.
17506
b39c905e
MK
175072002-12-28 Mark Kettenis <kettenis@gnu.org>
17508
17509 * configure.in: Rewrite.
17510 * configure: Regenerated.
17511
0a8551dd
DC
175122003-01-03 David Carlton <carlton@math.stanford.edu>
17513
17514 * gdb.base/psymtab.exp: New file.
17515 * gdb.base/psymtab1.c: Ditto.
17516 * gdb.base/psymtab2.c: Ditto.
17517
c60b7188
AF
175182002-12-23 Adam Fedor <fedor@gnu.org>
17519
17520 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
17521
ee73db83
DC
175222002-12-23 David Carlton <carlton@math.stanford.edu>
17523
17524 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
17525 and current_directory initialization.
17526
d6c1774e
JB
175272002-12-22 Jim Blandy <jimb@redhat.com>
17528
f0a847b8
JB
17529 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
17530 rather than as part of the output file name.
17531
d6c1774e
JB
17532 * gdb.base/attach.exp: There's no need to copy the test program to
17533 /tmp; that was only ever necessary on HP/UX, and this test is
17534 entirely disabled there anyway.
17535
f0708dbb
JB
175362002-12-21 Jim Blandy <jimb@redhat.com>
17537
4c2acfea
JB
17538 * gdb.c++/psmang.exp: Doc fix.
17539
f0708dbb
JB
17540 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
17541 test.
17542
9579e000
DC
175432002-12-20 David Carlton <carlton@math.stanford.edu>
17544
17545 * gdb.c++/annota2.exp: KFAIL annotate-quit.
17546
d1810171
MC
175472002-12-18 Michael Chastain <mec@shout.net>
17548
17549 * gdb.c++/annota2.exp: Add copyright year 2002.
17550
76565097
DC
175512002-12-17 David Carlton <carlton@math.stanford.edu>
17552
17553 * gdb.c++/try_catch.cc: Add marker comments.
17554 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
17555 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
17556 * gdb.c++/m-static.cc: Ditto.
17557 * gdb.c++/m-static1.cc: Ditto.
17558 * gdb.c++/try_catch.cc: Ditto.
17559
da81390b
JJ
175602002-12-16 Jeff Johnston <jjohnstn@redhat.com>
17561
17562 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
17563 to see whether we are using the new -environment-directory
17564 command which resets via -r or the old version of the command
17565 which may prompt the user. Part of fix for gdb/741.
17566
b304d130
AC
175672002-12-13 Andrew Cagney <ac131313@redhat.com>
17568
17569 * gdb.fortran/types.exp: Update obsolete comment.
17570 * gdb.fortran/exprs.exp: Ditto.
17571 * lib/gdb.exp: Delete obsolete code.
17572 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
17573 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
17574 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
17575 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
17576 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
17577 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
17578 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
17579 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
17580 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
17581 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
17582 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
17583 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
17584 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
17585 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
17586 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
17587 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
17588 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
17589 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
17590 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
17591 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
17592 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
17593 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
17594 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
17595 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
17596 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
17597 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
17598 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
17599 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
17600 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
17601 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
17602 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
17603 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
17604 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
17605 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
17606 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
17607 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
17608 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
17609
a23b6e6a
DC
176102002-12-11 David Carlton <carlton@math.stanford.edu>
17611
17612 * gdb.c++/m-data.exp: Add test for members that shadow global
17613 variables: see PR gdb/804.
17614 * gdb.c++/m-data.cc: Ditto.
17615
6604731b
DJ
176162002-12-10 Daniel Jacobowitz <drow@mvista.com>
17617
17618 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
17619
de46ecd7
DC
176202002-12-06 David Carlton <carlton@math.stanford.edu>
17621
17622 * gdb.base/store.c: Don't declare functions static.
17623
27e829d0
AC
176242002-12-04 Andrew Cagney <ac131313@redhat.com>
17625
17626 * gdb.base/store.exp, gdb.base/store.c: New files.
17627
92806416
DJ
176282002-12-03 Daniel Jacobowitz <drow@mvista.com>
17629
17630 * gdb.base/selftest.exp: Update for current gdb.
17631
3bcbaac5
DJ
176322002-12-03 Daniel Jacobowitz <drow@mvista.com>
17633
17634 * gdb.base/maint.exp: Only dump symbols from one source file
17635 or objfile.
17636
f4f00b1f
DJ
176372002-12-03 Daniel Jacobowitz <drow@mvista.com>
17638
17639 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
17640 function call.
17641
f1c8a949
JB
176422002-11-25 Jim Blandy <jimb@redhat.com>
17643
17644 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
17645 function appearing in error message.
17646
9e297a97
DJ
176472002-11-21 Daniel Jacobowitz <drow@mvista.com>
17648
17649 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
17650
1f312e79
JJ
176512002-11-08 Jeff Johnston <jjohnstn@redhat.com>
17652
d63a86f8
RM
17653 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
17654 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
17655 should be in mi console format. This is part of fix for PR gdb/604.
17656
83c31e7d
FN
176572002-09-18 Fernando Nasser <fnasser@redhat.com>
17658
17659 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
17660 which explicitly prints the zero offset as "+0".
17661
322b3f65
DJ
176622002-10-22 Daniel Jacobowitz <drow@mvista.com>
17663
17664 * gdb.threads/schedlock.c (args): Make unsigned.
17665
176662002-10-21 Daniel Jacobowitz <drow@mvista.com>
17667
17668 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
17669 numbers. Allow "foo2|selected stack frame".
17670 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
17671 * gdb.asm/asmsrc2.s: Likewise.
17672 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
17673 comments.
17674 * gdb.asm/mips.inc: New file.
17675
5e2fe5b8
AF
176762002-10-18 Adam Fedor <fedor@gnu.org>
17677
17678 * gdb.base/default.exp: Update expected output to include 'ObjC'.
17679 * gdb.base/help.exp: Likewise.
17680
abe1a5d0
KB
176812002-10-17 Kevin Buettner <kevinb@redhat.com>
17682
17683 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
17684 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
17685
10abb1d4
JB
176862002-10-02 Jim Blandy <jimb@redhat.com>
17687
17688 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
17689
1f609b42
AC
176902002-10-01 Andrew Cagney <ac131313@redhat.com>
17691
17692 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
17693 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
17694 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
17695 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
17696 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
17697 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
17698 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
17699
0aee02e4
AC
177002002-09-29 Andrew Cagney <ac131313@redhat.com>
17701
17702 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
17703 * mi0-disassemble.exp, mi0-eval.exp: Delete.
17704 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
17705 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
17706 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
17707 * mi0-var-block.exp, mi0-var-child.exp: Delete.
17708 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 17709
6fde09ad
KB
177102002-09-27 Kevin Buettner <kevinb@redhat.com>
17711
17712 * gdb.base/annota1.exp (info break): Make directory components of
17713 path optional since not all compilers emit this debug information.
17714
889bf7c5
PA
17715 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
17716 step ends up stepping out of the function instead of stopping on
17717 the epilogue.
6fde09ad 17718
9e8aab75
KS
177192002-09-26 Keith Seitz <keiths@redhat.com>
17720
17721 * lib/insight-support.exp (gdbtk_start): Figure out where
17722 the insight executable is based on where gdb is. Use this
17723 executable to start insight instead of gdb.
17724
e36180d7
AC
177252002-09-25 Andrew Cagney <cagney@redhat.com>
17726
17727 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
17728
9dd34b2b
AC
177292002-09-24 Andrew Cagney <ac131313@redhat.com>
17730
17731 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
17732 test_isolated_complaints.
17733 (test_empty_complaint): New function.
17734 (test_empty_complaints): New function. Check no output when no
17735 complaints.
d63a86f8 17736
dea97812
KB
177372002-09-19 Jim Blandy <jimb@redhat.com>
17738
a9c64011 17739 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 17740
54951bd7
AC
177412002-09-19 Andrew Cagney <ac131313@redhat.com>
17742
17743 * gdb.gdb/complaints.exp: New file.
17744
dec43320
AC
177452002-09-18 Andrew Cagney <ac131313@redhat.com>
17746
17747 * gdb.base/maint.exp: Check `help maint internal-warning'.
17748
e70d6e3f
DC
177492002-09-18 David Carlton <carlton@math.stanford.edu>
17750
17751 * gdb.c++/m-static.exp: Remove breakpoints depending on line
17752 numbers, and replace them by a single breakpoint after the
17753 constructors are all finished.
17754 Add test 4.
17755 * gdb.c++/m-static.cc: Add test 4.
17756 * gdb.c++/m-static.h: New file.
17757 * gdb.c++/m-static1.cc: New file.
17758
17759 * gdb.c++/printmethod.exp: New file.
17760 * gdb.c++/printmethod.cc: New file.
17761
17762 * gdb.c++/pr-574.exp: New file.
17763 * gdb.c++/pr-574.cc: New file.
17764
afb5c968
CV
177652002-09-18 Corinna Vinschen <vinschen@redhat.com>
17766
17767 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
17768 embedded targets which never actually exit.
17769
31e45dee
FN
177702002-09-18 Fernando Nasser <fnasser@redhat.com>
17771
17772 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
17773 "don't step after run" as unresolved or unsupported, instead of xfail.
17774
a283c5a1
CV
177752002-09-18 Corinna Vinschen <vinschen@redhat.com>
17776
17777 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
17778 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
17779 Add newline to expected string in "step out of main (status wrapper)"
17780 case.
17781
11350d2a
CV
177822002-09-18 Corinna Vinschen <vinschen@redhat.com>
17783
17784 * lib/gdb.exp (rerun_to_main): Allow restarting application.
17785 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
17786
0deec7d6
TT
177872002-09-17 Tom Tromey <tromey@redhat.com>
17788
17789 * gdb.base/printcmds.exp (test_print_string_constants): Expect
17790 \000, not \0, in double-quoted string.
17791
b2b4a1b5
CV
177922002-09-14 Corinna Vinschen <vinschen@redhat.com>
17793
c9d37158 17794 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
17795 string after running the commands execution on breakpoint tests.
17796
1c56143a
CV
177972002-09-13 Corinna Vinschen <vinschen@redhat.com>
17798
17799 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
17800
37f8da45
JB
178012002-09-12 Joel Brobecker <brobecker@gnat.com>
17802
17803 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
17804
08b468e0
KS
178052002-09-10 Keith Seitz <keiths@redhat.com>
17806
17807 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
17808 runto proc.
17809 (mi_run_to_main): Use mi_runto.
17810 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
17811
dc360f58
KS
178122002-09-10 Keith Seitz <keiths@redhat.com>
17813
17814 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
17815 regexp for stopping at main. Could have multiple event notifications.
17816 Don't assume that main was declared with no parameters.
17817 (mi_next): Use mi_step_to.
17818 (mi_step): Use mi_next_to.
17819
ce3abcfb
CV
178202002-09-09 Corinna Vinschen <vinschen@redhat.com>
17821
17822 * gdb.base/default.exp: Fix expected string in `info float' test.
17823
d1f5b980
BE
178242002-09-09 Ben Elliston <bje@redhat.com>
17825
17826 * config/mips.exp: Update comments.
17827 * config/mips-idt.exp: Likewise.
17828 * config/nind.exp: Likewise.
17829 * config/slite.exp: Likewise.
17830 * config/sparclet.exp: Likewise.
17831 * config/udi.exp: Likewise.
17832 * config/vx.exp: Likewise.
17833 * config/vxworks29k.exp: Likewise.
17834
2f71430b
JB
178352002-09-05 Jim Blandy <jimb@redhat.com>
17836
17837 * gdb.threads/killed.exp: Fix test failure message.
17838
7ddebc7e
KS
178392002-09-04 Keith Seitz <keiths@redhat.com>
17840
17841 * lib/mi-support.exp: Update copyright.
17842 (mi_gdb_test): Increase the priority of the expected pattern
17843 so that it matches gdb_test.
17844
0ae67eb3
KS
178452002-09-03 Keith Seitz <keiths@redhat.com>
17846
17847 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
17848 Use integer comparison instead of string comparison for testing
17849 whether binary was built.
17850
38fc42c8
JB
178512002-09-03 Jim Blandy <jimb@redhat.com>
17852
17853 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
17854
b6ff0e81
JB
178552002-08-29 Jim Blandy <jimb@redhat.com>
17856
17857 * gdb.threads/pthreads.exp: Move the portable thread compilation
17858 code into a function in lib/gdb.exp, and call that from here.
17859 * lib/gdb.exp (gdb_compile_pthreads): New function.
17860
07c98896
KS
178612002-08-29 Keith Seitz <keiths@redhat.com>
17862
17863 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
17864 expect_out so that callers can get at it.
17865
0312286c
DJ
178662002-08-23 Daniel Jacobowitz <drow@mvista.com>
17867
17868 * gdb.threads/print-threads.c: New file.
17869 * gdb.threads/print-threads.exp: New file.
17870 * gdb.threads/schedlock.c: New file.
17871 * gdb.threads/schedlock.exp: New file.
17872
dd039bc4
EZ
178732002-08-22 Elena Zannoni <ezannoni@redhat.com>
17874
a9c64011
AS
17875 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
17876 not altivec.c.
dd039bc4 17877
1f36144c
MK
178782002-08-17 Mark Kettenis <kettenis@gnu.org>
17879
17880 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
17881 targets. The problem should be fixed now.
17882
16057ec7 178832002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
17884
17885 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
17886 2002-07-24 change that removes final dots from error messages.
17887
3c1499ad
TT
178882002-08-13 Tom Tromey <tromey@redhat.com>
17889
17890 * gdb.base/readline.exp: New file.
17891
a20ce2c3
AC
178922002-08-01 Andrew Cagney <ac131313@redhat.com>
17893
17894 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
17895 supress message.
17896
db034ac5
AC
178972002-08-01 Andrew Cagney <cagney@redhat.com>
17898
17899 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
17900 CHILL_FOR_TARGET and CHILL_LIB.
17901 * configure.in (configdirs): Remove gdb.chill.
17902 * configure: Regenerate.
17903 * lib/gdb.exp: Obsolete references to chill.
17904 * gdb.fortran/types.exp: Ditto.
17905 * gdb.fortran/exprs.exp: Ditto.
17906
3e000b18
KB
179072002-07-30 Kevin Buettner <kevinb@redhat.com>
17908
17909 * gdb.base/shlib-call.exp (additional_flags): Conditionally
17910 set Irix-specific compile and link flags.
17911
28f4966b
KB
179122002-07-29 Kevin Buettner <kevinb@redhat.com>
17913
17914 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
17915 source files. The ``-o'' option doesn't work with the ``-E'' option
17916 when using the Irix compiler.
17917
46c0d5a6
DJ
179182002-07-19 Daniel Jacobowitz <drow@mvista.com>
17919
17920 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
17921 Improve support for reusing an exec file. Copy exec file
17922 to target, and run gdbserver on the target instead of on the host.
17923
eecf4bed
JB
179242002-07-18 Jim Blandy <jimb@redhat.com>
17925
0f815cdf
JB
17926 * gdb.base/ending-run.exp: Don't expect to see the program end in
17927 some orderly fashion when we're running on a real stand-alone
17928 board.
17929
eecf4bed
JB
17930 * gdb.base/interrupt.exp: Correct logic for skipping tests on
17931 targets that don't support interrupts.
17932
52d309e4
JB
179332002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
17934
17935 * gdb.base/attach.exp: Add patterns to match output from /proc-based
17936 systems.
17937 Move comments in expect statements to inside the actions, so that they
17938 don't get matched against.
17939
ff683d9e
MK
179402002-07-10 Mark Kettenis <kettenis@gnu.org>
17941
17942 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
17943 function when asleep" test.
17944
b5356753
AC
179452002-07-10 Andrew Cagney <ac131313@redhat.com>
17946
17947 * gdb.base/page.exp: Rewrite to handle problems with very long
17948 `info set' output. Update copyright.
17949
6aa4d13a
AC
179502002-06-26 Andrew Cagney <ac131313@redhat.com>
17951
17952 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
17953 gdb.threads-hp.
17954 * gdb.hp/configure: Regenerate.
17955 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
17956 * gdb.hp/gdb.threads-hp/configure: Delete file.
17957 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
17958
8cf8c2b8
AC
179592002-06-22 Andrew Cagney <ac131313@redhat.com>
17960
17961 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
17962 setlocale, bindtextdomain and textdomain.
17963
6827a8f8
JB
179642002-06-11 Jim Blandy <jimb@redhat.com>
17965
919d772c
JB
17966 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
17967 preprocessor macro information is present.
17968
6827a8f8
JB
17969 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
17970 tests.
17971
c15b0d21
MS
179722002-06-06 Michael Snyder <msnyder@redhat.com>
17973
c5984d70
MS
17974 * gdb.base/overlays.exp: Record addresses of overlay
17975 functions in TCL variables rather than in GDB variables,
17976 to avoid having GDB convert them to pointers (with loss
17977 of information).
17978
d63a86f8 17979 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 17980 default linker script changes.
c15b0d21
MS
17981 * gdb.base/long_long.exp: Add check for sizeof (long double).
17982
be26fe0d
ML
179832002-06-06 Michal Ludvig <mludvig@suse.cz>
17984
17985 * gdb.asm/asm-source.exp: Add x86-64 target.
17986 * gdb.asm/x86_64.inc: New.
d63a86f8 17987
258093ca 179882002-05-30 Michael Chastain <mec@shout.net>
258093ca 17989
4b3153f1 17990 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
17991 * gdb.c++/m-static.cc: New file.
17992 * gdb.c++/m-static.exp: New file.
17993
241264c6
MS
179942002-05-28 Michael Snyder <msnyder@redhat.com>
17995
17996 * gdb.base/call-ar-st.exp: Allow for reduced floating point
17997 precision.
17998
9bba8c8f 179992002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 18000
4b3153f1 18001 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
18002 * gdb.c++/m-data.cc: New file.
18003 * gdb.c++/m-data.exp: New file.
18004
180052002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 18006
4b3153f1 18007 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 18008 * gdb.c++/try_catch.cc: New file.
d63a86f8 18009 * gdb.c++/try_catch.exp: New file.
9bba8c8f 18010
def1b996
MC
180112002-05-27 Michael Chastain <mec@shout.net>
18012
18013 * gdb.c++/local.exp: Accept more nested types in output.
18014
522ba268
MC
180152002-05-26 Michael Chastain <mec@shout.net>
18016
18017 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
18018
277254ba
MS
180192002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
18020
18021 * lib/gdb.exp (gdb_wrapper_init): Just because
18022 gdb_wrapper_file exists, this does not mean that the file
18023 should not be rebuilt. That is what gdb_wrapper_initialized
18024 is for.
18025 (default_gdb_init): Reset gdb_wrapper_initialized.
18026
b61a8733
MS
180272002-05-23 Michael Snyder <msnyder@redhat.com>
18028
d63a86f8 18029 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
18030 the precision of the floating point test results.
18031 * gdb.base/call-rt-st.exp: Ditto.
18032
b61a8733
MS
18033 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
18034 * gdb.base/call-rt-st.exp: Ditto.
18035
56f6e910
MC
180362002-05-19 Michael Chastain <mec@shout.net>
18037
18038 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
18039
ad0b0016
EZ
180402002-05-19 Elena Zannoni <ezannoni@redhat.com>
18041
a9c64011
AS
18042 * configure.in (configdirs): Add gdb.arch.
18043 * configure: Regenerate.
ad0b0016 18044
f617d2b6
JB
180452002-05-17 Jim Blandy <jimb@redhat.com>
18046
18047 * gdb.base/completion.exp: Recognize the more detailed error
18048 messages produced by the macro expander's lexical analyzer.
18049
eac2a696
EZ
180502002-05-14 Elena Zannoni <ezannoni@redhat.com>
18051
a9c64011
AS
18052 * gdb.arch/altivec-abi.c: New file.
18053 * gdb.arch/altivec-abi.exp: New file.
18054 * gdb.arch/altivec-regs.c: New file.
18055 * gdb.arch/altivec-regs.exp: New file.
eac2a696 18056
2fdde8f8
DJ
180572002-05-14 Daniel Jacobowitz <drow@mvista.com>
18058
18059 * gdb.base/maint.exp (maint print type): Update for new type
18060 structure.
d63a86f8 18061
e31f1a7c
EZ
180622002-05-14 Elena Zannoni <ezannoni@redhat.com>
18063
18064 * gdb.arch: New directory.
18065 * gdb.arch/configure.in: New file.
18066 * gdb.arch/configure: New file.
18067 * gdb.arch/Makefile.in: New file.
18068
db589741
CV
180692002-05-13 Corinna Vinschen <vinschen@redhat.com>
18070
18071 * gdb.asm/asm-source.exp: Add v850 as supported target.
18072 * gdb.asm/v850.inc: New file.
18073
8ce2a7dc
DJ
180742002-05-13 Daniel Jacobowitz <drow@mvista.com>
18075
18076 * gdb.c++/annota2.exp (annotate-quit): Add comment.
18077
df763c7f
DJ
180782002-05-12 Daniel Jacobowitz <drow@mvista.com>
18079
18080 * gdb.base/break.exp: Check 'break "marker2"'.
18081
377daeed
MS
180822002-05-10 Michael Snyder <msnyder@redhat.com>
18083
18084 * gdb.base/long_long.exp: Fix typo.
18085
c4b7bc2b
JB
180862002-05-10 Jim Blandy <jimb@redhat.com>
18087
ecac9a4e
JB
18088 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
18089 a bug.
18090
c4b7bc2b
JB
18091 * gdb.base/printcmds.exp (test_integer_literals_rejected):
18092 Recognize more detailed error message produced by the macro
18093 expander's lexical analyzer.
18094 * lib/gdb.exp (test_print_reject): Same.
18095
e71019a1
MK
180962002-05-09 Mark Kettenis <kettenis@gnu.org>
18097
18098 * gdb.c++/method.exp: Fix typo.
18099
fedfc8e6
MS
181002002-05-08 Michael Snyder <msnyder@redhat.com>
18101
166a1957
MS
18102 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
18103 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 18104 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
18105 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
18106 Add iftarget clause for strongarm.
d63a86f8 18107
f1c47eb2
MS
181082002-05-06 Michael Snyder <msnyder@redhat.com>
18109
cb9a9d3e
MS
18110 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
18111 (gdb_continue_to_end): Accept output from status wrapper.
18112 * gdb.base/ending-run.exp: Add case for output from status wrapper.
18113 Clean up fail messages to match pass messages.
18114
f1c47eb2
MS
18115 Enable the "needs_status_wrapper" testsuite feature.
18116 * lib/gdb.exp (gdb_wrapper_init): New procedure.
18117 (gdb_compile): Conditionally call gdb_wrapper_init.
18118 * gdb.base/a2-run.exp: Recognize output from status wrapper.
18119 * gdb.c++/method.exp: Recognize output from status wrapper.
18120
6079c749
BE
181212002-05-06 Ben Elliston <bje@redhat.com>
18122From Graydon Hoare <graydon@redhat.com>
18123
18124 * config/sid.exp: Include support for "rawsid" protocol.
18125
188baff3
JB
181262002-05-03 Jim Blandy <jimb@redhat.com>
18127
18128 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
18129 * gdb.c++/hang3.C: New file.
18130
b9c07f0f
AC
181312002-05-04 Andrew Cagney <ac131313@redhat.com>
18132
18133 * gdb.base/default.exp: Remove obsolete code.
18134 * gdb.c++/misc.exp: Ditto. Update copyright.
18135 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
18136 * gdb.base/whatis.exp: Ditto. Update copyright.
18137 * gdb.base/scope.exp: Ditto. Update copyright.
18138 * gdb.base/ptype.exp: Ditto. Update copyright.
18139 * gdb.base/printcmds.exp: Ditto. Update copyright.
18140 * gdb.base/opaque.exp: Ditto. Update copyright.
18141 * gdb.base/list.exp: Ditto.
18142 * gdb.base/funcargs.exp: Ditto. Update copyright.
18143 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
18144 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
18145 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
18146 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
18147 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
18148 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
18149
5c7a0397
MS
181502002-05-02 Michael Snyder <msnyder@redhat.com>
18151
d6dcc264 18152 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
18153 * gdb.base/long_long.exp: Add xscale target.
18154 * gdb.base/default.exp: Add xscale target.
18155
eb7f1c48
JB
181562002-05-01 Jim Blandy <jimb@redhat.com>
18157
18158 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
18159 gdb.c++/hang.exp: New test.
18160
a6befae8
FF
181612002-05-01 Fred Fish <fnf@redhat.com>
18162
18163 * gdb.base/completion.exp: Handle completions of "./Make" for
18164 more than one completion possibility, as is the case when we
18165 build and test in the source tree.
18166
0a310277
AG
181672002-04-29 Anthony Green <green@redhat.com>
18168
18169 * gdb.java/jmisc1.exp: New file.
18170 * gdb.java/jmisc2.exp: New file.
18171
6ff9af88
DJ
181722002-04-24 Daniel Jacobowitz <drow@mvista.com>
18173
18174 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
18175
96b3d632
EZ
181762002-04-23 Elena Zannoni <ezannoni@redhat.com>
18177
18178 * gdb.base/help.exp: Change 'help status' to allow for target
18179 dependent output differences.
18180
5019bb54
MC
181812002-04-22 Michael Chastain <mec@shout.net>
18182
18183 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
18184
a805a116
MC
181852002-04-22 Michael Chastain <mec@shout.net>
18186
18187 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
18188
a1706bfd
DM
181892002-04-17 David S. Miller <davem@redhat.com>
18190
18191 * gdb.asm/sparc64.inc: New file.
18192 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
18193
a73a20a2
EZ
181942002-04-19 Elena Zannoni <ezannoni@redhat.com>
18195
18196 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
18197 instruction file directly into the build tree. Clean up at end of
18198 test.
18199
ba678339
DM
182002002-04-18 David S. Miller <davem@redhat.com>
18201
18202 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
18203 handle 64-bit platforms correctly.
18204 * gdb.base/maint.exp: Likewise.
18205
b03399da
KB
182062002-04-18 Kevin Buettner <kevinb@redhat.com>
18207
18208 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
18209 ``-fpic'' when compiling files comprising a shared library, but
18210 it does need additional linker flags in order to find shared
18211 libraries at run time.
18212
e2004992
KB
182132002-04-18 Kevin Buettner <kevinb@redhat.com>
18214
18215 * gdb.base/cvexpr.c (use): New function.
18216 (main): Invoke use() on all global variables to prevent
18217 some linkers from deleting these otherwise unused symbols.
18218
d8937120
MC
182192002-04-17 Michael Chastain <mec@shout.net>
18220From David S. Miller <davem@redhat.com>
18221
18222 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
18223 handle 64-bit platforms correctly.
18224
ffd61a58
MS
182252002-04-12 Michael Snyder <msnyder@redhat.com>
18226From Jim Blandy <jimb@redhat.com>
a9c64011 18227 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
18228 script can handle this instead.
18229 * gdb.base/bar.c (barx): Same.
18230 * gdb.base/baz.c (bazx): Same.
18231 * gdb.base/grbx.c (grbxx): Same.
18232
18233 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
18234 manager doesn't automatically unmap overlays unnecessarily.
18235
6b8426a6
MH
182362002-04-10 Martin M. Hunt <hunt@redhat.com>
18237
18238 * gdb.base/ending-run.exp: Fix pattern for Mips targets
18239 stepping out of main.
18240
34af4875
MC
182412002-04-09 Michael Chastain <mec@shout.net>
18242
18243 * gdb.c++/local.cc (main): Move call to marker1() inside nested
18244 scope so that the nested scope tests will make sense.
18245 * gdb.c++/local.exp: Write patterns that actually work with gcc
18246 (the HP patterns "were never known to work with gcc").
18247 Keep the old aCC patterns too.
18248
2d1676a0
DJ
182492002-04-09 Daniel Jacobowitz <drow@mvista.com>
18250
18251 * gdb.base/attach.exp: Correct target board test.
18252
3a63e3f9
MC
182532002-04-08 Michael Chastain <mec@shout.net>
18254
18255 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
18256 in a const method. Add some xfail and fail cases for configurations
18257 that do not emit the "const ...".
18258
f18dabd2
MC
182592002-04-07 Michael Chastain <mec@shout.net>
18260
18261 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
18262 Accept "A * const" and "const A * const" as type of "this".
18263 Fix spelling of getFunky throughout. Make messages uniform.
18264
0fcddd82
EZ
182652002-04-07 Elena Zannoni <ezannoni@redhat.com>
18266
a9c64011 18267 Work around for PR gdb/285:
0fcddd82
EZ
18268 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
18269
16a8534a
EZ
182702002-04-07 Elena Zannoni <ezannoni@redhat.com>
18271
18272 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
18273 instructions file at run time instead of configure time.
18274 Sometimes we run the test in a directory that is not the one we
18275 configured in.
18276 * gdb.asm/configure.in: Delete creation of symlink.
18277 * gdb.asm/configure: Regenerate.
18278
24181d81
JB
182792002-04-05 J. Brobecker <brobecker@gnat.com>
18280
18281 * gdb.gdb/xfullpath.exp: New test, to exercise the new
18282 xfullpath () function.
18283
7cdb7107
DJ
182842002-04-04 Daniel Jacobowitz <drow@mvista.com>
18285
18286 * gdb.asm/Makefile.in: Correct dependencies.
18287
18288 * gdb.asm/powerpc.inc: New file.
18289 * gdb.asm/asm-source.exp: Add PowerPC.
18290 * gdb.asm/configure.in: Likewise.
18291 * gdb.asm/configure: Regenerated.
18292
a7d17088
DJ
182932002-04-04 Daniel Jacobowitz <drow@mvista.com>
18294
18295 * gdb.base/relocate.exp: New file.
18296 * gdb.base/relocate.c: New file.
18297
cd721503
FF
182982002-04-04 Fred Fish <fnf@redhat.com>
18299
18300 * gdb.base/step-test.exp: Update comment regarding stopping in
18301 memcpy/bcopy calls inserted as part of the compiler runtime.
18302
b22ad7a7
MS
183032002-04-04 Michael Snyder <msnyder@redhat.com>
18304
18305 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
18306
5f279fa6
DJ
183072002-04-03 Daniel Jacobowitz <drow@mvista.com>
18308
18309 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
18310 (gdb_expect): Remove $notransfer hack.
18311
dd0fd3ce
DJ
183122002-04-02 Daniel Jacobowitz <drow@mvista.com>
18313
18314 * gdb.c++/classes.exp ("calling method for small class"): Match
18315 updated register output.
18316
1e50cda1
DJ
183172002-03-30 Daniel Jacobowitz <drow@mvista.com>
18318
18319 Fix PR gdb/452
18320 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
18321 when finished. Make gdb_file_cmd send "exec-file" when
18322 appropriate.
18323
24015922
DJ
183242002-03-30 Daniel Jacobowitz <drow@mvista.com>
18325
18326 * gdb.base/attach.exp: Remove extra setup_xfail.
18327
dd7dfd64
MS
183282002-03-26 Michael Snyder <msnyder@redhat.com>
18329
18330 * gdb.base/default.exp: Add tests for dump, append, and restore.
18331 * gdb.base/help.exp: Add tests for dump, append, and restore.
18332 * gdb.base/dump.exp: New file, test dump, append and restore.
18333 * gdb.base/dump.c: New file.
18334
48b2f8d7
MS
183352002-03-27 Michael Snyder <msnyder@redhat.com>
18336
d63a86f8 18337 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
18338 clean-ups in help messages.
18339
05b4d525
FF
183402002-03-26 Fred Fish <fnf@redhat.com>
18341
18342 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
18343 have debugging info for those functions and the compiler uses them
18344 internally to copy structs around.
18345
d7679631
FF
183462002-03-26 Fred Fish <fnf@redhat.com>
18347
18348 * gdb.base/list.exp: Revert the change made yesterday and add note
18349 about why we don't list the default lines for remote targets.
18350
523ac3f9
MS
183512002-03-25 Michael Snyder <msnyder@redhat.com>
18352
18353 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
18354
754b2b8d
FF
183552002-03-25 Fred Fish <fnf@redhat.com>
18356
18357 * gdb.base/list.exp: This test works on remote targets so remove
18358 the short circuit for remote targets. Update copyright.
18359
33c3e192
FF
183602002-03-25 Fred Fish <fnf@redhat.com>
18361
18362 * gdb.base/attach.exp: Fix logic error that was suppressing this
18363 test for all non hppa*-*-hpux* targets, instead of the hp target.
18364 Move comments closer to the suppression point. Also now need to
18365 check that we are running natively.
18366
d43e73ee
MS
183672002-03-22 Michael Snyder <msnyder@redhat.com>
18368
882c8f02
MS
18369 * gdb.base/default.exp: Add test for gcore. Update copyright.
18370 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 18371
04c12f60
FF
183722002-03-06 Fred Fish <fnf@redhat.com>
18373
18374 * gdb.base/funcargs.c: Remove extraneous ';' character.
18375 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
18376
b43df995
MC
183772002-03-04 Michael Chastain <mec@shout.net>
18378
18379 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
18380 accommodate gcc v3 function signature.
18381 * gdb.mi/mi0-var-cmd-exp: Ditto.
18382
92362027
AC
183832002-02-24 Andrew Cagney <ac131313@redhat.com>
18384
18385 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
18386 ``GNU/Linux'' or ``Linux kernel''
18387 * testsuite/gdb.threads/pthreads.c: Ditto.
18388
258ad32d
MC
183892002-02-24 Michael Chastain <mec@shout.net>
18390
18391 * gdb.threads/pthreads.c (thread1): Add a return statement.
18392 (thread2): Likewise.
18393 (foo): Likewise.
18394
04c3b3d4
MC
183952002-02-23 Michael Chastain <mec@shout.net>
18396
18397 * gdb.threads/linux-dp.c (philosopher): Add a return statement
18398 to placate gcc.
18399
5a2a0a20
MC
184002002-02-23 Michael Chastain <mec@shout.net>
18401
18402 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
18403 test "ptype bint". The test passes on all my stabs configurations.
18404
a640f7fc
JB
184052002-02-21 Jim Blandy <jimb@redhat.com>
18406
27924826
JB
18407 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
18408 filename at a time, and watch for the ones we want to see.
18409
a640f7fc
JB
18410 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
18411 types of pointers to prototyped functions.
18412
edcc8c75
AC
184132002-02-20 Andrew Cagney <ac131313@redhat.com>
18414
18415 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
18416 signed, unsigned and straight char.
18417 (padding_char, padding_short, padding_int, padding_long,
18418 padding_long_long, padding_float, padding_double,
18419 padding_long_double): New global variables.
18420 (fill, fill_structs): New functions.
18421
18422 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
18423 for correctly sized writes. Update copyright.
18424 (get_valueof): New procedure.
18425 (get_sizeof): Call get_valueof.
18426 (check_valueof): New procedure.
18427 (check_padding): New procedure.
18428
ac57ea44
MC
184292002-02-20 Michael Chastain <mec@shout.net>
18430
18431 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
18432 to setup_xfail. Document some of the remaining calls.
18433
7a10c941
MC
184342002-02-18 Michael Chastain <mec@shout.net>
18435
18436 * gdb.c++/userdef.exp: Update copyright year.
18437
fb8acdcc
DJ
184382002-02-18 Daniel Jacobowitz <drow@mvista.com>
18439
18440 * gdb.c++/userdef.exp: Test overloaded operators properly.
18441 Remove xfails.
18442
fda6ae12
MS
184432002-02-14 Michael Snyder <msnyder@redhat.com>
18444
18445 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
18446
676a0442
DJ
184472002-02-14 Daniel Jacobowitz <drow@mvista.com>
18448
18449 * gdb.base/a2-run.exp: Check for a remote target properly.
18450 * gdb.base/annota1.exp: Likewise.
18451 * gdb.base/list.exp: Likewise.
18452 * gdb.base/reread.exp: Likewise.
18453 * gdb.base/scope.exp: Likewise.
18454 * gdb.base/shlib-call.exp: Likewise.
18455 * gdb.base/term.exp: Likewise.
18456 * gdb.c++/annota2.exp: Likewise.
18457
78b4f468
RE
184582002-02-13 Richard Earnshaw <rearnsha@arm.com>
18459
18460 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
18461
9a81ba51
MC
184622002-02-10 Michael Chastain <mec@shout.net>
18463
18464 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
18465 (call_after_alloca): Ditto.
18466
004af6c7
DJ
184672002-02-10 Daniel Jacobowitz <drow@mvista.com>
18468
18469 * gdb.base/ending-run.exp: Guard "cont" test with
18470 gdb_skip_stdio_test.
18471
37225f62
JB
184722002-02-06 Jim Blandy <jimb@redhat.com>
18473
18474 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
18475 from here...
18476 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
18477 To here. Disable this test on non-HP platforms. Add big comment.
18478
fe6fdd96
MS
184792002-02-04 Michael Snyder <msnyder@redhat.com>
18480
18481 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
18482 other than d10v and m32r.
18483
036fad3f
RE
184842002-02-02 Richard Earnshaw <rearnsha@arm.com>
18485
18486 * gdb.base/default.exp: Rewrite test patterns to reduce time
18487 taken to match them.
18488
7148ab62
DJ
184892002-01-30 Daniel Jacobowitz <drow@mvista.com>
18490
18491 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
18492 Allow a start function above main.
18493 * gdb.threads/linux-dp.exp: Fix copyright date.
18494
396cc255
DJ
184952002-01-30 Daniel Jacobowitz <drow@mvista.com>
18496
a9c64011
AS
18497 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
18498 (check_philosopher_stack): Check for manager thread before checking
18499 for a just-starting thread.
396cc255 18500
f038d31b
DJ
185012002-01-30 Daniel Jacobowitz <drow@mvista.com>
18502
18503 From Neil Booth <neil@daikokuya.demon.co.uk>:
18504 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
18505 warnings.
18506
b3ff9d9a
FF
185072002-01-21 Fred Fish <fnf@redhat.com>
18508
18509 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
18510 not caller.
18511
39ad761d
JB
185122002-01-21 Jim Blandy <jimb@redhat.com>
18513
18514 * gdb.base/reread.exp: Check that GDB properly re-reads the
18515 executable file when it changes while no inferior is running.
18516
aaf320fa
FF
185172002-01-21 Fred Fish <fnf@redhat.com>
18518
a9c64011
AS
18519 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
18520 optionally accept the "shlib events" variation.
aaf320fa 18521
808a31f5
JB
185222002-01-21 Jim Blandy <jimb@redhat.com>
18523
18524 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
18525 call `fflush' after every `printf', so that the output is produced
18526 at predictable points, regardless of whatever buffering does (or
18527 doesn't) take place.
18528 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
18529 at different points.
18530
4420d5e2
DJ
185312002-01-20 Daniel Jacobowitz <drow@mvista.com>
18532
18533 * gdb.c++/inherit.exp: Update copyright years.
18534 * gdb.c++/method.exp: Likewise.
18535
3e36a0f4
DJ
185362002-01-20 Daniel Jacobowitz <drow@mvista.com>
18537
18538 * gdb.c++/classes.exp: Update for improved v3 support and skipping
18539 artificial methods/arguments.
18540 * gdb.c++/derivation.exp: Likewise.
18541 * gdb.c++/inherit.exp: Likewise.
18542 * gdb.c++/method.exp: Likewise.
18543 * gdb.c++/virtfunc.exp: Likewise.
18544
b4ceaee6
AC
185452002-01-18 Andrew Cagney <ac131313@redhat.com>
18546
18547 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
18548 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
18549 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
18550 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
18551 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
18552 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
18553
ecace851
JB
185542002-01-17 Jim Blandy <jimb@redhat.com>
18555
18556 * gdb.asm/asm-source.exp (info symbol): Take another shot at
18557 anchoring the pattern matching the entry point symbol's name.
18558
375fc983
AC
185592002-01-17 Andrew Cagney <ac131313@redhat.com>
18560
18561 * gdb.base/maint.exp: Update ``maint internal-error'' to match
18562 continue/quit query. Update copyright.
18563
fe6fdd96
MS
185642002-01-14 Michael Snyder <msnyder@redhat.com>
18565
18566 * gdb.base/gcore.exp: Remove extra debugging output.
18567
e017c81f
DJ
185682002-01-13 Daniel Jacobowitz <drow@mvista.com>
18569
18570 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
18571 for slightly dubious v2 mangled string.
18572
37ab3bf8
DJ
185732002-01-13 Daniel Jacobowitz <drow@mvista.com>
18574
18575 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
18576
1bc05c3a 185772002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 18578
1bc05c3a 18579 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 18580
1bc05c3a
JM
18581 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
18582 constructors.
18583 * gdb.c++/derivation.exp: Likewise.
18584 * gdb.c++/templates.exp: Likewise.
18585 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 18586
1bc05c3a
JM
185872002-01-10 Michael Snyder <msnyder@redhat.com>
18588
18589 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 18590
a911c360
MS
185912002-01-08 Michael Snyder <msnyder@redhat.com>
18592
18593 * gdb.base/gcore.exp: New test for generate-core-file command.
18594 * gdb.base/gcore.c: Testcase for above.
18595 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
18596
ea2119ec
JM
185972002-01-08 Jason Merrill <jason@redhat.com>
18598
18599 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
18600
68203136
FF
186012002-01-07 Fred Fish <fnf@redhat.com>
18602
18603 * gdb.c++/overload.exp: Remove unconditional xfails for:
18604 print foo_instance1.overloadargs(1)
18605 print foo_instance1.overloadargs(1, 2)
18606 print foo_instance1.overloadargs(1, 2, 3)
18607 print foo_instance1.overloadargs(1, 2, 3, 4)
18608 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
18609 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
18610 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
18611 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
18612 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
18613 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
18614 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
18615 print foo_instance1.overload1arg()
18616 print foo_instance1.overload1arg((char)arg2)
18617 print foo_instance1.overload1arg((signed char)arg3)
18618 print foo_instance1.overload1arg((unsigned char)arg4)
18619 print foo_instance1.overload1arg((int)arg7)
18620 print foo_instance1.overload1arg((unsigned int)arg8)
18621 print foo_instance1.overload1arg((float)arg11)
18622 print foo_instance1.overload1arg((double)arg12)
d63a86f8 18623
21b9b5b1
MS
186242002-01-07 Michael Snyder <msnyder@redhat.com>
18625
18626 * gdb.base/huge.exp: New test. Print a very large target data object.
18627 (skip_huge_test): New test variable. Define if you want to skip this
18628 test. The test reads an 8 megabyte data object from the target, so it
18629 might be very time consuming on remote targets with a slow connection.
18630 * gdb.base/huge.c: New file. Test case for above.
18631
725f922e
FF
186322002-01-07 Fred Fish <fnf@redhat.com>
18633
18634 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
18635 g_instance.bfoo, and g_instance.cfoo.
18636
889bf7c5 186372002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 18638
889bf7c5
PA
18639 * gdb.base/break.c (multi_line_if_conditional): New function.
18640 (multi_ilne_while_conditional): Likewise.
18641 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
18642 IF or WHILE condition puts the breakpoint at the start of
18643 the condition.
f286b2c3 18644
634d57ec
JL
18645 * gdb.base/selftest.exp (backtrace through signal handler): Remove
18646 hppa*-*-hpux* expected failure.
18647 * gdb.base/structs.exp (do_function_calls): Similarly.
18648
18649 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
18650 watchpoints.
18651
9fbfe2dc
AC
186522002-01-06 Andrew Cagney <ac131313@redhat.com>
18653
18654 Fix PR gdb/66.
18655 * gdb.base/structs.exp: Replace skip for a29k with skip for
18656 gdb,cannot_call_functions.
18657 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
18658 * gdb.base/callfuncs.exp: Ditto.
18659 * gdb.base/call-rt-st.exp: Ditto.
18660 * gdb.base/call-strs.exp: Ditto.
18661 * gdb.base/callfwmall.exp: Ditto.
18662 * gdb.base/scope.exp: Obsolete xfail a29k.
18663 * gdb.c++/misc.exp: Ditto.
18664 * gdb.c++/cplusfuncs.exp: Ditto.
18665 * gdb.base/ptype.exp: Ditto.
18666 * gdb.base/printcmds.exp: Ditto.
18667 * gdb.base/opaque.exp: Ditto.
18668 * gdb.base/list.exp: Ditto.
18669 * gdb.base/funcargs.exp: Ditto.
18670 * gdb.base/default.exp: Ditto.
18671
8ddad156
MS
186722002-01-04 Michael Snyder <msnyder@redhat.com>
18673
ca4976a6 18674 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
18675 * gdb.base/maint.exp: Add tests for maint info sections options.
18676
1b074332
JL
18677Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
18678
18679 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
18680
7d159115
CV
186812001-12-20 Corinna Vinschen <vinschen@redhat.com>
18682
18683 * gdb.asm/arm.inc: New file.
18684 * gdb.asm/asm-source.exp: Add arm targets.
18685 * gdb.asm/configure.in: Ditto.
18686 * gdb.asm/configure: Recreated from configure.in.
18687
8fb87725
JL
18688Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
18689
afabe08c
JL
18690 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
18691 with HP's compiler.
18692 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18693 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18694 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18695 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18696
18697 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
18698 either HP's compilers or GCC.
18699
db521deb
JL
18700 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
18701 a SIGBUS or SIGSEGV.
18702
18703 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
18704
18705 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
18706 can be compiled with either HP's compiler or GCC.
18707
cfa88ab7
JL
18708 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
18709 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
18710 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
18711
ca344dff
JL
18712 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
18713 to match current gdb output. Update due to using auto-solib-limit
18714 for limiting instead of overloading auto-solib-add.
18715 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
18716 test program.
18717
3f3c6e55 18718 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
18719 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
18720 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18721 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18722 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18723 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18724 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
18725 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
18726 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
18727 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
18728 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
18729 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
18730 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 18731
8fb87725
JL
18732 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
18733 a SIGTRAP to the inferior.
18734
cf599fa7
CV
187352001-12-19 Corinna Vinschen <vinschen@redhat.com>
18736
18737 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
18738 Substitute call to target_link by call to gdb_compile.
18739
2cd045cd
JL
18740Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
18741
a9c64011
AS
18742 * gdb.base/break.exp: Fix HP specific search string when testing
18743 backtracing in a called function.
2cd045cd 18744
a9c64011
AS
18745 * gdb.base/constvars.exp: Only set lang to C++ if we're
18746 compiling the test with HP's compilers.
18747 * gdb.base/volatile.exp: Similarly.
2cd045cd 18748
99ebe9ac
JB
187492001-12-19 Jim Blandy <jimb@redhat.com>
18750
18751 * gdb.base/printcmds.exp: Expect the null character to be printed
18752 as '\0', and the '\013' to be printed as '\v'.
18753 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
18754 * gdb.base/setvar.exp: Same.
18755
b9891b29
JB
187562001-12-17 Jim Blandy <jimb@redhat.com>
18757
0eba65ab
JB
18758 * gdb.base/completion.exp: Rather than completing very long
18759 filenames, which can make the readline library produce output we
18760 don't recognize, cd to the directory first, and then complete
18761 using nice, short relative paths.
18762
6970b5b1
JB
18763 * gdb.base/completion.exp: On some systems, there is, in fact, a
18764 variable named `b' in scope, since GDB treats all static
a9c64011
AS
18765 variables as being in scope. So use `no_var_named_this'
18766 instead of `b'.
6970b5b1 18767
b9891b29 18768 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 18769 can't find the core file's registers as a failure.
b9891b29 18770
e6ccd35f
JSC
187712001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
18772
a9c64011
AS
18773 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
18774 test expect string more specific.
e6ccd35f 18775
105ba819
CV
187762001-12-13 Corinna Vinschen <vinschen@redhat.com>
18777
18778 * gdb.asm/asm-source.exp: Add support for xstormy16.
18779 * gdb.asm/configure.in: Ditto.
18780 * gdb.asm/configure: Rebuild.
18781 * gdb.asm/xstormy16.inc: New file.
18782
e9e79dd9
FF
187832001-12-10 Fred Fish <fnf@redhat.com>
18784
18785 * gdb.base/maint.exp: Update to match changes in type dumping code.
18786
347dc97d
JB
187872001-12-10 Jim Blandy <jimb@redhat.com>
18788
18789 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
18790 matching the entry point symbol's name at the beginning of the
18791 line.
347dc97d 18792
5178b9d6
DJ
187932001-12-07 Daniel Jacobowitz <drow@mvista.com>
18794
18795 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
18796 gdb.c++/inherit.exp, gdb.c++/method.exp,
18797 gdb.c++/namespace.exp, gdb.c++/templates.exp,
18798 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
18799 and class layout support.
18800
af890c52
DJ
188012001-12-07 Daniel Jacobowitz <drow@mvista.com>
18802
18803 * gdb.c++/classes.exp: Add test for static member function.
18804 * gdb.c++/misc.cc: Add class with static member function.
18805
7a345fb3
JB
188062001-12-07 Jim Blandy <jimb@redhat.com>
18807
f2e54a80 18808 If GDB says it can't find the struct the function returned, report
8032bf31
JB
18809 those tests as `unsupported'.
18810 * gdb.base/call-rt-st.exp (print_struct_call): New function.
18811 Rewrite subsequent tests to use it.
18812
18813 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
18814 those tests as `unsupported'.
18815 * gdb.base/structs.exp (call_struct_func): New function.
18816 (do_function_calls): Use call_struct_func to call the functions
18817 returning structs.
18818
0bc69509
JB
18819 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
18820 whether functions are prototyped or not, so we can't possibly pass
18821 arguments to t_float_values2 properly.
18822
7a345fb3
JB
18823 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
18824 value of `timeout' for targets other than the mips*tx39-*.
18825
edb6ede1
MS
188262001-12-06 Michael Snyder <msnyder@redhat.com>
18827
d63a86f8 18828 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
18829 and detect whether the start symbol has a leading underscore.
18830
2d842f13
JB
188312001-12-04 Jim Blandy <jimb@redhat.com>
18832
18833 * gdb.base/completion.exp: Clarify indentation.
18834
68550daf
JB
188352001-12-03 Jim Blandy <jimb@redhat.com>
18836
18837 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
18838 variables on the S/390, not `.word'.
18839
cd5195a8
JB
188402001-11-30 Jim Blandy <jimb@redhat.com>
18841
18842 Add assembly-source tests for s390-ibm-linux.
18843 * gdb.asm/s390.inc: New file.
18844 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
18845 the S/390 architecture.
a9c64011 18846 * gdb.asm/configure: Regenerated.
cd5195a8 18847
ca9efc90
MS
188482001-11-30 Michael Snyder <msnyder@redhat.com>
18849
18850 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
18851 next, info source, info sources, info line, global and static
18852 variables, and static functions.
18853 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
18854 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
18855 * gdb.asm/asmsrc1.s: Add a static function and some variables.
18856 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
18857 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
18858 (gdbasm_leave): Restore frame pointer.
18859 (gdbasm_startup): Copy stack set-up from crt0.S.
18860
d0e66976
FN
188612001-11-26 Fernando Nasser <fnasser@redhat.com>
18862
18863 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
18864 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
18865 to a local (non-static) variable. Copy tstruct.a to a static buffer
18866 and return a pointer to that buffer.
18867 * gdb.base/callfwmall.c (t_structs_a): Ditto.
18868
e2334072
MK
188692001-11-24 Mark Kettenis <kettenis@gnu.org>
18870
18871 * gdb.asm/configure.in: Fix recognition of ix86 target.
18872 * gdb.asm/configure: Regenerate.
18873
756caa3d
MS
188742001-11-21 Michael Snyder <msnyder@redhat.com>
18875
18876 * gdb.asm/sparc.inc: New file.
18877 * gdb.asm/asm-source.exp: Recognize sparc target.
18878 * gdb.asm/configure.in: Recognize sparc target.
18879 * gdb.asm/configure: Regenerate.
d63a86f8 18880
9a4d72d5
MS
188812001-11-21 Michael Snyder <msnyder@redhat.com>
18882
18883 * gdb.asm/m32r.inc: New file.
18884 * gdb.asm/asm-source.exp: Recognize m32r target.
18885 * gdb.asm/configure.in: Recognize m32r target.
18886 * gdb.asm/configure: Regenerate.
18887
a773d1cd
MS
188882001-11-20 Michael Snyder <msnyder@redhat.com>
18889
017ac23d
MS
18890 * gdb.asm/i386.inc: New file.
18891 * gdb.asm/asm-source.exp: Recognize ix86 target.
18892 * gdb.asm/configure.in: Recognize ix86 target.
18893 * gdb.asm/configure: Regenerate.
18894
a773d1cd
MS
18895 * gdb.c++/namespace.exp: Fix quotes in output messages.
18896
bb632afb
MS
188972001-11-14 Michael Snyder <msnyder@redhat.com>
18898
25d559ca 18899 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
18900 qualifier in a type cast expression, to designate an address
18901 in the instruction space (Harvard architecture).
18902
4749e309
MS
189032001-11-13 Michael Snyder <msnyder@redhat.com>
18904
18905 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
18906 Tests for expressions using 'const' and 'volatile'.
18907
25050984
CV
189082001-11-13 Corinna Vinschen <vinschen@redhat.com>
18909
18910 * gdb.asm/asm-sources.exp: Allow defining linker flags.
18911
1902c51f
DJ
189122001-11-12 Daniel Jacobowitz <drow@mvista.com>
18913
18914 * lib/mi-support.exp (mi_run_to_helper): Move comments
18915 outside of gdb_expect.
18916
dcf95b47
DJ
189172001-11-11 Daniel Jacobowitz <drow@mvista.com>
18918
18919 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
18920 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
18921 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
18922 mi0_run_to): New functions.
18923 * gdb.mi/mi-simplerun.exp: Use them.
18924 * gdb.mi/mi0-simplerun.exp: Likewise.
18925 * gdb.mi/mi-var-cmd.exp: Likewise.
18926 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 18927
45b074e1
AC
189282001-11-10 Andrew Cagney <ac131313@redhat.com>
18929
18930 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
18931 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
18932
bf50d346
AC
189332001-11-09 Andrew Cagney <ac131313@redhat.com>
18934
18935 * gdb.base/restore.exp: Include $expected value in restored test
18936 message.
18937
9383332c
AC
189382001-11-09 Andrew Cagney <ac131313@redhat.com>
18939
18940 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
18941 implemented.
18942
db62520a
MS
189432001-11-08 Michael Snyder <msnyder@redhat.com>
18944
18945 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
18946 Add pass/fail message for stop at breakpoint in call dummy function.
18947
b5703437
MS
189482001-11-07 Michael Snyder <msnyder@redhat.com>
18949
d63a86f8
RM
18950 * gdb.c++/templates.exp (test_template_breakpoints):
18951 If we get an overload menu, but it does not match what
760f6330 18952 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
18953 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
18954 making the whitespace optional. Argument for "new" may be
18955 "unsigned" as well as "unsigned int/long".
d63a86f8 18956 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
18957 making the whitespace optional. Also replace "(void) with
18958 "((void|)), making the keyword "void" optional.
d63a86f8 18959 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
18960 making the whitespace optional. Also replace "(void) with
18961 "((void|)), making the keyword "void" optional.
3bf40917
MS
18962 * gdb.base/callfuncs.c (t_float_values): This function must
18963 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 18964 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
18965 can be tested against both cases. Usually one case involves
18966 promotion of float to double, while the other does not.
18967 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
18968 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
18969 includes a stack frame for "start".
18970
c8ab4e6d
JB
189712001-11-05 Jim Blandy <jimb@redhat.com>
18972
18973 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
18974 pointers are 32 bits long, and that offsets of relocs are always
18975 stored in the data (REL-style), and not in the reloc entry itself
18976 (RELA-style).
18977 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
18978 stabs.
18979
3f08ced9
MS
189802001-11-01 Michael Snyder <msnyder@redhat.com>
18981
18982 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
18983 and regular expression operators by using quoting.
18984
cbfa24cd
MS
189852001-10-31 Michael Snyder <msnyder@redhat.com>
18986
18987 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
18988 depending on what the symbol table contains.
18989 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
18990 the output of the ptype command. Similarly, accept both "const &"
18991 and "const&".
18992
aaa68313
CV
189932001-10-31 Corinna Vinschen <vinschen@redhat.com>
18994
18995 * gdb.base/miscexprs.c (main): Add usage of preprocessor
18996 symbol `STORAGE' to allow to choose the storage class of
18997 the local datastructures.
18998 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
18999 compiler directive.
19000
91740388
MS
190012001-10-30 Michael Snyder <msnyder@redhat.com>
19002
19003 * gdb.base/jump.exp: Allow it to run for all targets.
19004
1b7c05e7
CV
190052001-10-29 Corinna Vinschen <vinschen@redhat.com>
19006
19007 * gdb.base/call-ar-st.c (print_double_array): Match for loop
19008 with new double_array size.
19009 (main): Change storage class of all local variables to static.
19010 Reduce size of double_array to 9.
19011 * gdb.base/call-ar-st.exp: Increase timeout value.
19012 Change expected output for double array to match new size in
19013 call-ar-st.c.
19014
36a22261
CV
190152001-10-29 Corinna Vinschen <vinschen@redhat.com>
19016
19017 * gdb.base/ending-run.exp: Create identical output when passing
19018 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 19019 Stormy16 target.
36a22261 19020
92b8ae91
MK
190212001-10-28 Mark Kettenis <kettenis@gnu.org>
19022
19023 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
19024 that we catch the expected failure under Linux/x86.
19025
cb135b83
OF
190262001-10-29 Orjan Friberg <orjanf@axis.com>
19027
19028 * gdb.base/setvar.exp: Escape curly braces.
19029 * gdb.stabs/weird.exp: Ditto.
19030
6884aa54
DJ
190312001-10-27 Daniel Jacobowitz <drow@mvista.com>
19032
19033 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
19034 * gdm.mi/mi0-hack-cli.exp: Likewise.
19035
0398c9aa
AC
190362001-10-25 Andrew Cagney <ac131313@redhat.com>
19037
19038 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
19039 messages.
19040
d20bf2e8
AC
190412001-10-21 Andrew Cagney <ac131313@redhat.com>
19042
19043 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
19044 checking MI enabled.
19045
03dd63aa
CV
190462001-10-09 Corinna Vinschen <vinschen@redhat.com>
19047
19048 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
19049
1d9d99f3
FCE
190502001-10-04 Frank Ch. Eigler <fche@redhat.com>
19051
19052 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
19053 if gdb child process crashes, just signal an error.
19054
838ae6c4
JB
190552001-10-02 Jim Blandy <jimb@redhat.com>
19056
19057 * lib/gdb.exp (test_xfail_format): Simplify.
19058
19059 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
19060 front of the variable name `format'. Simplify `if'.
19061
8f0cbc1c
DJ
190622001-10-01 Daniel Jacobowitz <drow@mvista.com>
19063
19064 * gdb.threads/pthreads.exp: Wait for output and delay
19065 before sending ^C.
19066
1f08dafd
DJ
190672001-10-01 Daniel Jacobowitz <drow@mvista.com>
19068
19069 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
19070 some incorrect output instead of timing out.
19071 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
19072
674f90ff
CV
190732001-09-28 Corinna Vinschen <vinschen@redhat.com>
19074
19075 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
19076 check to allow additional `int'.
19077
9b284272
DJ
190782001-09-27 Daniel Jacobowitz <drow@mvista.com>
19079
19080 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
19081 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
19082
b55a4771
MS
190832001-09-27 Michael Snyder <msnyder@redhat.com>
19084
19085 * lib/gdb.exp (test_debug_format): New proc.
19086 (setup_xfail_format): Use new proc test_debug_format.
19087 * gdb.base/constvars.exp (local_compiler_xfail_check): New
19088 proc; use new service proc test_debug_format.
19089 Replace all other "gcc_compiled" tests with this test.
19090 * gdb.base/volatile.exp (local_compiler_xfail_check): New
19091 proc; use new service proc test_debug_format.
19092 Replace all other "gcc_compiled" tests with this test.
19093
190942001-09-27 Michael Snyder <msnyder@redhat.com>
19095
19096 * gdb.base/cvexpr.exp: New file.
19097 * gdb.base/cvexpr.c: New file
19098 Test for expressions using const and volatile keywords.
19099
4e6667ac
CV
191002001-09-26 Corinna Vinschen <vinschen@redhat.com>
19101
19102 * gdb.base/constvars.exp: Check for different orders of keywords
19103 and additional "int" strings in output.
19104
4f337972
AC
191052001-09-22 Andrew Cagney <ac131313@redhat.com>
19106
19107 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
19108 responses from "help maint".
19109
2015650d
FCE
191102001-09-19 Frank Ch. Eigler <fche@redhat.com>
19111
19112 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
19113 to localhost:NNN instead of :NNN, in case Xvfb is listening
19114 only on TCP.
19115
f3bcedc1
CV
191162001-09-19 Corinna Vinschen <vinschen@redhat.com>
19117
19118 * gdb.base/recurse.exp: When checking leaving the watchpoint
19119 scope, recognize when gdb is in function's epilogue and pass.
19120
6b819c92
KS
191212001-09-18 Keith Seitz <keiths@redhat.com>
19122
19123 * lib/insight-support.exp (_gdbtk_export_target_info): Add
19124 support for running tests against sid targets.
19125 (gdbtk_done): Ditto.
19126
a10c9419
CV
191272001-09-18 Corinna Vinschen <vinschen@redhat.com>
19128
19129 * gdb.base/ending-run.c (main): Set stdout buffersize
19130 to the same reasonable value for any target.
19131 * gdb.base/ending-run.exp: Add a regular expression
19132 to make testsuite happy on Sanyo Stormy16 target.
19133
739d0d99
CV
191342001-09-17 Corinna Vinschen <vinschen@redhat.com>
19135
19136 * gdb.base/display.c (do_loops): Add float variable `f'.
19137 Increment f in loop.
19138 * gdb.base/display.exp: Increment timeout by 60 seconds.
19139 Change float display test to use variable `f'.
19140
1b8947f0
JB
191412001-09-17 Jim Blandy <jimb@redhat.com>
19142
19143 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
19144 overflowing the limited breakpoint tables on some ROM monitors
19145 (like the ROM68K).
19146
9890ac81
FCE
191472001-09-15 Frank Ch. Eigler <fche@redhat.com>
19148
19149 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
19150 the "-ac" (disable access control) flag.
19151
6db765ea
JH
191522001-08-30 Jeff Holcomb <jeffh@redhat.com>
19153
19154 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
19155 ints.
19156
4c32cc04
KS
191572001-08-30 Keith Seitz <keiths@redhat.com>
19158
19159 * lib/gdb.exp: Move all insight-related functionality into
19160 separate file.
19161 * lib/insight-support.exp: New file.
19162
8d6e6f81
FCE
191632001-08-29 Frank Ch. Eigler <fche@redhat.com>
19164
19165 * config/sid.exp (sid_start): Never set sid verbosity; disable
19166 expect_background {} that consumed its stdout; tolerate </dev/null.
19167 Attempt to set endianness override in "sid" protocol mode. Cleanup.
19168
6a90e1d0
AC
191692001-08-18 Andrew Cagney <ac131313@redhat.com>
19170
19171 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
19172 CLI jump command to start it.
19173 (mi_run_to_main): Fail immediatly when unexpected output.
19174
1759b3c3
AC
191752001-08-18 Andrew Cagney <ac131313@redhat.com>
19176
19177 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
19178 beginning of function. Fix PR gdb/191.
19179
61d11d80
FCE
191802001-08-16 Frank Ch. Eigler <fche@redhat.com>
19181
19182 * config/sid.exp (sid_start): Don't warn if we cannot figure out
19183 what to force sid endianness to.
19184
942a4df2
KS
191852001-08-15 Keith Seitz <keiths@redhat.com>
19186
19187 * lib/gdb.exp (gdbtk_start): Don't set environment
19188 variables for TCL_LIBRARY and friends. Insight will
19189 now figure these out for itself.
19190
0521c418
MS
191912001-08-02 Michael Snyder <msnyder@redhat.com>
19192
19193 * gdb.base/completion.exp: Remove the symbol "a64l" from
19194 the expect string; this is target-specific, and not related
19195 to what is being tested.
19196
74a9a58a
DB
191972001-08-02 Dave Brolley <brolley@redhat.com>
19198
19199 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
19200
c70819fa
MS
192012001-07-25 Michael Snyder <msnyder@redhat.com>
19202
c2b8fa57
MS
19203 * gdb.base/consecutive.exp: New file. Test stepping over
19204 breakpoints on consecutive instructions.
19205 * gdb.base/consecutive.c: New file.
19206
c70819fa
MS
19207 * gdb.base/call-rt-st.exp: Use double-backslash to quote
19208 curly braces in regular expressions.
19209
2b1a1355
MS
192102001-07-25 Michael Snyder <msnyder@redhat.com>
19211
19212 * gdb.base/ending-run.exp: Accept "Program exited normally" as
19213 legitimate output from stepping out of main.
19214
413eca6f
KS
192152001-07-22 Keith Seitz <keiths@redhat.com>
19216
19217 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
19218 the empty string, do not run the tests.
19219
7e5a9322
SC
192202001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19221
19222 * gdb.base/long_long.exp: Detect size of pointer. Take into
19223 account 2-byte pointers when testing for p/a results.
19224
de58f10f
SC
192252001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19226
d63a86f8 19227 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
19228 and defined to 1K for m68hc11.
19229 (random_data): Reduce table to 1K for embedded platforms (68hc11).
19230 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
19231 (sizeof_random_data): New variable to tell the size of the data table;
19232 don't test past this size; always run to main.
19233
d6f5fea1
SC
192342001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19235
19236 * gdb.base/return2.exp: return of long long and double fails for
19237 68HC11; don't execute these tests on that platform.
19238 * gdb.base/return.exp: Return of a double fails for 68hc11.
19239
c477543d
SC
192402001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19241
19242 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
19243 tests that print a float.
19244 * call-rt-st.exp: Likewise.
19245
63cf1c79
MK
192462001-07-12 Mark Kettenis <kettenis@gnu.org>
19247
19248 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
19249 running this test on Linux.
19250
112f9ab5
MC
192512001-06-24 Michael Chastain <chastain@redhat.com>
19252
19253 * gdb.base/arithmet.exp: Remove some tests to make all test names
19254 unique.
19255
4970cb0f
MS
192562001-07-03 Michael Snyder <msnyder@redhat.com>
19257
19258 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
19259 the output of the ptype command.
19260
d85da69f
MS
192612001-07-02 Michael Snyder <msnyder@redhat.com>
19262
4c8a82de
MS
19263 * gdb.base/completion.exp: Don't assume that break.c is the only
19264 source file that may contain functions named "marker".
d85da69f
MS
19265 * gdb.base/corefile.exp: Quote the curly braces in regexp.
19266
8afc772b
AC
192672001-06-28 Andrew Cagney <ac131313@redhat.com>
19268
19269 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
19270 of files to delete.
19271
19272 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
19273 * gdb.disasm/h8300s.exp: New file.
19274 gdb.disasm/h8300s.s: Likewise.
19275
cff22675
AC
192762001-06-27 Andrew Cagney <ac131313@redhat.com>
19277
19278 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
19279 empty breakpoint tables.
19280
68c81b54
AC
192812001-06-25 Andrew Cagney <ac131313@redhat.com>
19282
19283 * lib/mi-support.exp: Update args=... part of stop-reason
19284 patterns. Accept either a list or a tuple.
19285
2dd62704
AC
192862001-06-23 Andrew Cagney <ac131313@redhat.com>
19287
19288 * lib/mi-support.exp: Remove local emacs variable defining
19289 change-log-default-name.
19290
b4127474
MC
192912001-06-22 Michael Chastain <chastain@redhat.com>
19292
19293 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
19294 This is operationally compatible with the previous version.
19295
8dbfb380
JB
192962001-06-13 Jim Blandy <jimb@redhat.com>
19297
19298 * lib/gdb.exp (gdb_test): Doc fix.
19299
f2d8c86d
MC
193002001-06-10 Michael Chastain <chastain@redhat.com>
19301
19302 * gdb.base/exprs.exp: Remove a duplicate test.
19303
81564d34
JB
193042001-06-06 Jim Blandy <jimb@redhat.com>
19305
19306 * gdb.base/return2.exp (main): Use values to test float and double
19307 returns that are not NaN's, to avoid being confused by IEEE
19308 comparison rules.
19309
da55addb
MS
193102001-06-04 Michael Snyder <msnyder@redhat.com>
19311
19312 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 19313 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
19314 rather than wait for 12 more tests to time out.
19315
42c65987
JB
193162001-06-06 Jim Blandy <jimb@redhat.com>
19317
b18bced9 19318 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 19319 Don't forget to match the GDB prompt.
b18bced9 19320
42c65987
JB
19321 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
19322
5b41e5f0
JB
193232001-06-04 Jim Blandy <jimb@redhat.com>
19324
19325 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
19326 command.
19327
015e046f
KB
193282001-05-31 Kevin Buettner <kevinb@redhat.com>
19329
19330 * gdb.base/annota1.exp (info break): Match four or more spaces
19331 after "Address".
19332
fb1ffbbe
MC
193332001-05-31 Michael Chastain <chastain@redhat.com>
19334
19335 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
19336 (dm_type_int_star): Likewise.
19337 (dm_type_long_star): Likewise.
19338 (dm_type_void_star): Likewise.
19339
5ea2a32c
KB
193402001-05-29 Kevin Buettner <kevinb@redhat.com>
19341
19342 * gdb.base/completion.exp (INPUTRC): Set this environment variable
19343 to a known value in order to get consistent results regardless
19344 of the setting of INPUTRC or the presence or contents of .inputrc.
19345
ae23c492
MS
193462001-05-24 Michael Snyder <msnyder@redhat.com>
19347
ac55707e
MS
19348 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
19349 Don't require that the main thread and the manager thread are the
19350 first in the list.
19351
ae23c492
MS
19352 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
19353 debugging. If test fails, issue an "unsupported" not a "fail".
19354
400071f1
JB
193552001-05-24 Jim Blandy <jimb@redhat.com>
19356
19357 Don't assume that short is shorter than int.
19358 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
19359 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 19360 this isn't true.
400071f1
JB
19361 ("print unsigned char == (~0)"): Add test that verifies that ~0,
19362 an int, is not equal to ~0 stored in an unsigned char. This tests
19363 the same thing that the previous test meant to, but works on
19364 16-bit machines, too.
19365 ("print unsigned char != (~0)"): Same test, complemented.
19366
0816a3e5
MS
193672001-05-24 Michael Snyder <msnyder@redhat.com>
19368
19369 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 19370 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
19371 and prevents dejagnu getting out of step.
19372
f6dc23a9
KB
193732001-05-23 Kevin Buettner <kevinb@redhat.com>
19374
19375 * gdb.base/finish.exp (finish_void): Revise pattern for
19376 stopping on the call statement to not permit stopping at
19377 the start of the instructions comprising the call sequence.
19378
7dbd117d
MC
193792001-05-19 Michael Chastain <chastain@redhat.com>
19380
19381 * gdb.base/callfuncs.exp: Make all test names unique.
19382 * gdb.base/commands.exp: Make all test names unique.
19383 * gdb.base/condbreak.exp: Make all test names unique.
19384 * gdb.base/dbx.exp: Make all test names unique.
19385 * gdb.base/default.exp: Make all test names unique.
19386 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
19387 and TIMEOUT messages to their corresponding PASS message.
19388 * gdb.base/ending-run.exp: Make all test names unique.
19389 * gdb.base/long_long.exp: Remove duplicate test.
19390
6b0b0a9e
KB
193912001-05-21 Kevin Buettner <kevinb@redhat.com>
19392
19393 * gdb.base/finish.exp (finish_void): Allow "finish" command to
19394 stop on the call statement as well as the statement after the
19395 call.
19396
2caa35cb
MS
193972001-05-21 Michael Snyder <msnyder@redhat.com>
19398
19399 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
19400
40713331
EZ
194012001-05-10 Elena Zannoni <ezannoni@redhat.com>
19402
a9c64011
AS
19403 * gdb.base/completion.exp: Revamp test. Make it execute on all
19404 platforms.
40713331 19405
c2c1be8d
EZ
194062001-05-10 Elena Zannoni <ezannoni@redhat.com>
19407
a9c64011
AS
19408 * config/gdbserver.exp (gdb_load): Handle the case
19409 in which the arguments to gdbserver are given in the
19410 baseboard configuration file.
19411 Also handle the case in which the server needs to do a
19412 load.
2c9cd303 19413
9671de48
KS
194142001-05-07 Keith Seitz <keiths@cygnus.com>
19415
a9c64011
AS
19416 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
19417 set up the display for testing.
19418 (gdbtk_start): Convert all paths to paths that tcl will like.
19419 Export target information to environment.
19420 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
19421 necessary.
19422 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
19423 (to_tcl_path): New proc to convert a given pathname into
19424 a path acceptible as an argument to a tcl command.
19425 (_gdbtk_export_target_info): New proc to export target info
19426 into the environment for gdbtk testing.
19427 (gdbtk_done): New proc to signal end-of-test.
9671de48 19428
5a360f47
JB
194292001-05-06 Jim Blandy <jimb@redhat.com>
19430
19431 * restore.c: Make the code of caller0 correspond to its comment.
19432
66c756c6
MS
194332001-05-03 Michael Snyder <msnyder@redhat.com>
19434
19435 * config/sid.exp (gdb_target_sid): Check for error messages.
19436 On error or timeout, don't make expect exit (which will terminate
19437 all subsequent tests); instead just make gdb exit.
d63a86f8 19438 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
19439 return a negative value.
19440
a966fde5
JB
194412001-04-24 Jim Blandy <jimb@redhat.com>
19442
851c18e0
JB
19443 * gdb.c++/templates.exp: If we see the prompt for the overload
19444 list, but we haven't recognized any of the longer patterns,
19445 arrange for this test to fail, not hang.
19446
a966fde5
JB
19447 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
19448 variations.
19449
db144853
MC
194502001-04-22 Michael Chastain <chastain@redhat.com>
19451
19452 * gdb.c++/local.exp: Use the 'runto' library function.
19453 * gdb.c++/namespace.exp: Likewise.
19454 * gdb.c++/overload.exp: Likewise.
19455
3207ec21
KB
194562001-03-26 Kevin Buettner <kevinb@redhat.com>
19457
19458 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
19459 * gdb.base/step-line.exp: New file. Test step/next in presence of
19460 #line directives.
19461 * gdb.base/step-line.c: New file. Test program for the above.
19462 * gdb.base/step-line.inp: New file. We pretend that this file has
19463 been transformed by some other tool into step-line.c.
19464
13b57657
JB
194652001-03-21 Jim Blandy <jimb@redhat.com>
19466
19467 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
19468 unmangled operator names.
19469
754cbe1c
JB
194702001-03-20 Jim Blandy <jimb@redhat.com>
19471
19472 * gdb.threads/linux-dp.exp: Recognize an additional message
19473 generated by GDB when it doesn't understand how to debug threads
19474 on the target system.
19475
177495c9
AC
194762001-03-19 Andrew Cagney <ac131313@redhat.com>
19477
19478 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
19479
f266096b
MC
194802001-03-12 Michael Chastain <chastain@redhat.com>
19481
19482 * gdb.c++/derivation.exp: Use the 'runto' library function.
19483
cac3c2ff
MC
194842001-03-12 Michael Chastain <chastain@redhat.com>
19485
19486 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
19487
b6c11a24
MC
194882001-02-24 Michael Chastain <chastain@redhat.com>
19489
19490 * gdb.c++/ref-types.exp: Change handwritten code to library
19491 function 'runto'.
19492
6bae5bce
OF
194932001-03-16 Orjan Friberg <orjanf@axis.com>
19494
19495 * gdb.base/signals.exp: Set count to 0 explicitly.
19496
0015fd9a
MS
194972001-03-15 Mark Salter <msalter@redhat.com>
19498
19499 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
19500 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
19501 (gdb_load): Add support for additional target_info: gdb_download_size
19502 and gdb_load_timeout.
0015fd9a 19503
fc33412a
DT
19504Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
19505
19506 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
19507 file -- to prevent failing when the compile fails but we have no
19508 intention of running the tests anyway.
fc33412a
DT
19509
19510 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
19511 tests if set.
19512
19513 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 19514 integers.
fc33412a
DT
19515
19516 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
19517 * gdb.c++/namespace.exp: Ditto.
19518
115f06de
OF
195192001-03-07 Orjan Friberg <orjanf@axis.com>
19520
19521 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
19522 * gdb.base/pointers.exp: Relax pattern match of decimals.
19523
b6ba6518
KB
195242001-03-06 Kevin Buettner <kevinb@redhat.com>
19525
19526 * Makefile.in, config/abug.exp, config/cfdbug.exp,
19527 config/cpu32bug.exp, config/dve.exp, config/est.exp,
19528 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
19529 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
19530 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
19531 config/sh.exp, config/sid.exp, config/slite.exp,
19532 config/sparclet.exp, config/udi.exp, config/unknown.exp,
19533 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
19534 config/vxworks.exp, config/vxworks29k.exp,
19535 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
19536 gdb.base/all-bin.exp, gdb.base/annota1.exp,
19537 gdb.base/arithmet.exp, gdb.base/assign.exp,
19538 gdb.base/async.exp, gdb.base/attach.exp,
19539 gdb.base/bitfields.exp, gdb.base/bitops.exp,
19540 gdb.base/break.exp, gdb.base/call-ar-st.exp,
19541 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
19542 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
19543 gdb.base/commands.exp, gdb.base/completion.exp,
19544 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
19545 gdb.base/constvars.exp, gdb.base/corefile.exp,
19546 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
19547 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
19548 gdb.base/ending-run.exp, gdb.base/environ.exp,
19549 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
19550 gdb.base/finish.exp, gdb.base/foll-exec.exp,
19551 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
19552 gdb.base/funcargs.exp, gdb.base/help.exp,
19553 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
19554 gdb.base/logical.exp, gdb.base/long_long.exp,
19555 gdb.base/maint.exp, gdb.base/mips_pro.exp,
19556 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
19557 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
19558 gdb.base/pointers.exp, gdb.base/printcmds.exp,
19559 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
19560 gdb.base/regs.exp, gdb.base/relational.exp,
19561 gdb.base/remote.exp, gdb.base/reread.exp,
19562 gdb.base/restore.exp, gdb.base/return2.exp,
19563 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
19564 gdb.base/selftest.exp, gdb.base/setshow.exp,
19565 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
19566 gdb.base/sigall.exp, gdb.base/signals.exp,
19567 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
19568 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
19569 gdb.base/step-test.exp, gdb.base/structs.c,
19570 gdb.base/structs.exp, gdb.base/structs2.exp,
19571 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
19572 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
19573 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
19574 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19575 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
19576 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
19577 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
19578 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
19579 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
19580 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
19581 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
19582 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
19583 gdb.fortran/types.exp, gdb.java/jmisc.exp,
19584 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
19585 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
19586 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
19587 gdb.trace/circ.exp, gdb.trace/collection.exp,
19588 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
19589 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
19590 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
19591 gdb.trace/report.exp, gdb.trace/save-trace.exp,
19592 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
19593 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
19594 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
19595 notices.
19596
dc96c6c7 195972001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
19598
19599 * gdb.base/varargs.c (find_max_double): Fix printf format string:
19600 first arg is int not float.
19601
dc96c6c7 196022001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
19603
19604 * gdb.base/reread.exp: Unsupported for non-native targets;
19605 doesn't work for remote debugging.
19606
9b0c4aeb
FN
196072001-02-19 Fernando Nasser <fnasser@redhat.com>
19608
19609 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
19610 * gdb.base/ending-run.exp: Properly handle the BSP state when
19611 stepping past the end of main.
9b0c4aeb 19612
02aa71d5
MC
196132001-02-19 John Moore <jmoore@redhat.com>
19614
19615 * gdb.base/commands.exp (infrun_breakpoint_command_test):
19616 Converted HPUX fix for non-expected items following multiple
19617 step commands into general solution for all platforms.
19618
1fa449a4
MC
196192001-02-18 Michael Chastain <chastain@redhat.com>
19620
19621 * gdb.c++/classes.exp (do_tests): Change runto statements
19622 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19623 statements demangler agnostic.
19624 * gdb.c++/virtfunc.exp (do_tests): Likewise.
19625 (gdb_virtfunc_restart): Likewise.
19626
b2f9ec70
MC
196272001-02-14 Michael Chastain <chastain@redhat.com>
19628
19629 * gdb.c++/inherit.exp (do_tests): Change runto statements
19630 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19631 statements demangler agnostic.
19632
cf74b8ca
AC
19633Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
19634
19635 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
19636 ``continue to bkpt at common_routine in thread 2'' and ``stopped
19637 before calling common_routine 15 times'' tests.
cf74b8ca 19638
99f78f56
MC
196392001-02-11 Michael Chastain <chastain@redhat.com>
19640
19641 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
19642 Helps the test script figure out which demangler is in use.
19643 (dm_type_foo_ref): Ditto.
19644 (dm_type_int_star): Ditto.
19645 (dm_type_long_star): Ditto.
19646 (dm_type_unsigned_int): Ditto.
19647 (dm_type_void): Ditto.
19648 (dm_type_void_star): Ditto.
99707966 19649 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
19650 Probe the gdb demangler and set variables to accommodate
19651 formatting differences.
19652 (info_func_regexp): New function. Same as info_func, but
19653 matches against a regexp.
19654 (info_func): Match against a literal string.
19655 (print_addr_2): New function. Match against a literal string,
19656 which can be different from the input to gdb.
19657 (print_addr): Simply call print_addr_2 with the same argument twice.
19658 (test_lookup_operator_functions): Use demangler formatting variables.
19659 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
19660 the tests in the same order as the C++ class declaration.
19661 (test_paddr_operator_functions): Ditto.
19662 (test_paddr_overloaded_functions): Ditto.
19663 (test_paddr_hairy_functions): Use demangler formatting variables.
19664 Add reference to gdb/19 for related tests.
19665 (do_tests): Call probe_demangler.
19666
1de8f023
KB
196672001-01-30 Kevin Buettner <kevinb@redhat.com>
19668
19669 * gdb.c++/templates.cc (printf): Remove unused function definition.
19670
ca3f91ed
MS
196712001-01-26 Felix Lee <flee@redhat.com>
19672
19673 * sid.exp (sid_exit): Pass host, not target, to remote_close.
19674
196752001-01-25 matthew green <mrg@redhat.com>
19676
19677 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
19678 up sid.
19679 (sid_exit): Call `remote_pop_conn' after GDB is gone.
19680
196812001-01-25 matthew green <mrg@redhat.com>
19682
19683 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 19684 Deprecate $sid_spawn_id.
ca3f91ed
MS
19685 (sid_exit): Remove code necessary only for `spawn.'
19686
196872001-01-25 matthew green <mrg@redhat.com>
19688
19689 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
19690
fb18ec4a
MC
196912001-01-28 Michael Chastain <chastain@redhat.com>
19692
19693 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
19694 to call when tests fail. It takes gdb out of the overloaded
19695 function choice menu back to the main prompt, so that the test
19696 program stays synchronized.
19697 (set_bp_overloaded): New proc to collect all the common
19698 code for setting a breakpoint on an overloaded name. Calls
19699 take_gdb_out_of_choice_menu when needed.
19700 (menu_overload1arg): New variable to collect the repeated
19701 instances of the expected menu for an overloaded name. Change
19702 the regular expression to handle changes in g++ type encoding:
19703 "void" can be either "void" or "", and "unsigned int" can be
19704 either "unsigned int" or "unsigned".
19705 (continue_to_bp_overloaded): Change regular expressions to handle
19706 changes in g++ type encoding.
19707 (no proc): Call take_gdb_out_of_choice_menu when needed.
19708 Remove redundant calls to "info break". Accept either "canceled"
19709 or "cancelled". Change regular expressions in "info break"
19710 calls to handle changes in g++ type encoding. Give all tests
19711 unique strings.
19712
9c646a6e
BE
197132001-01-17 Ben Elliston <bje@redhat.com>
19714
19715 * config/sid.exp: New file.
19716
9549d9c1
AC
19717Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
19718
19719 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
19720
dc96c6c7 197212000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
19722
19723 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
19724 Add a RE to accept a non-ascii char if one is ever presented.
19725
b4df4f68
FN
197262000-12-20 Fernando Nasser <fnasser@redhat.com>
19727
297dd0fd 19728 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 19729
dc96c6c7 197302000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 19731
d63a86f8 19732 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
19733 in regexp. One '\' does not suffice on Linux.
19734
4a7bddb6
MC
197352000-12-09 Michael Chastain <chastain@redhat.com>
19736
19737 * gdb.base/break.exp (test_clear_command): Use a marker function
19738 rather than 'main' for the test function. Also move this
19739 test to an execution point where the marker function names are
19740 guaranteed to be bound to functions. (Executing tests after a
19741 'finish' from main runs into name conflicts with local names
19742 in __libc_start_main).
19743
dc96c6c7 197442000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
19745
19746 * gdb.base/finish.exp: New test for gdb's "finish" command.
19747 * gdb.base/return2.exp: New test for gdb's "return" command.
19748 * gdb.base/return2.c: New source file for above.
19749
dc96c6c7 197502000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
19751
19752 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
19753 * gdb.base/miscexprs.exp: Ditto.
19754 * gdb.base/pointers.exp: Ditto.
19755 * gdb.c++/derivation.exp: Ditto.
19756 * gdb.c++/local.exp: Ditto.
19757 * gdb.c++/namespace.exp: Ditto.
19758 * gdb.c++/overload.exp: Ditto.
19759 * gdb.c++/ref-types.exp: Ditto.
19760
dc96c6c7 197612000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
19762
19763 * gdb.base/constvars.exp: Test result of "up" command.
19764 * gdb.base/miscexprs.exp: Ditto.
19765 * gdb.base/pointers.exp: Ditto.
19766 * gdb.base/scope.exp: Ditto.
19767 * gdb.c++/derivation.exp: Ditto.
19768 * gdb.c++/local.exp: Ditto.
19769 * gdb.c++/namespace.exp: Ditto.
19770 * gdb.c++/overload.exp: Ditto.
19771 * gdb.c++/ref-types.exp: Ditto.
19772
44097287
FN
197732000-11-22 Michael Chastain <chastain@redhat.com>
19774
19775 * mips_pro.exp: Accept either "middle -> top -> main" or
19776 "middle -> main" in the backtrace, because gcc can optimize
19777 tail calls to jumps. Remove setup_xfail for the hppa case.
19778 Add a comment with the original warning messages from PR 3016,
19779 which was filed in 1993, to preserve them for posterity.
19780
9d2e1bab
ND
197812000-11-17 Nick Duffek <nsd@redhat.com>
19782
19783 * lib/gdb.exp (gdb_test): Override timeout with board info.
19784
1aca8eb7
ND
197852000-11-17 Nick Duffek <nsd@redhat.com>
19786
19787 * gdb.base/display.exp: Don't kill running stub. Add "again" to
19788 the second kill and detach messages.
19789
93076499
ND
197902000-11-17 Nick Duffek <nsd@redhat.com>
19791
19792 * configure.in: Add AC_EXEEXT.
19793 * configure: Regenerate.
19794 * Makefile.in (just-check): Export EXEEXT.
19795 * lib/gdb.exp ($EXEEXT): Import from environment.
19796 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
19797 expect "maint dump-me" on Cygwin.
19798 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
19799 $EXEEXT.
19800
30e87cd3
ND
198012000-11-17 Nick Duffek <nsd@redhat.com>
19802
19803 * gdb.base/break.exp: Test backtrace and finish from called
19804 function on all platforms, not just HP-UX.
19805
dc96c6c7 198062000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
19807
19808 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
19809 code from gdb_target_monitor, so it can be used independantly
19810 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 19811
dc96c6c7 198122000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
19813
19814 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
19815 * gdb.base/corefile.exp: Expect the message "Program is being
19816 debugged already" when we send the "corefile" command, since
19817 the preceeding gdb_load may have connected gdb to a remote target.
19818 * gdb.base/display.exp: Disable hardware watchpoints if new
19819 board info variable "no_hardware_watchpoints" is true.
19820 Replace single-letter commands with more readable ones.
19821 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
19822 if new board info variable "no_hardware_watchpoints" is true.
19823 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
19824 to see if stdio (printf) testing is possible.
19825 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
19826 board info variable "no_hardware_watchpoints" is true. Use new
19827 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
19828
39124dea
FN
198292000-11-13 Fernando Nasser <fnasser@redhat.com>
19830
19831 From Orjan Friberg <orjanf@axis.com>:
19832 * gdb.base/printcmds.exp: Escape curly braces followed by a number
19833 in array print pattern match.
19834
a9e2e984
FN
198352000-11-09 Fernando Nasser <fnasser@redhat.com>
19836
19837 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
19838 spelling "cancelled" to U.S. spelling "canceled" to match changes
19839 made to gdb.
19840 * gdb.c++/ovldbreak.exp: Ditto.
19841
c7db355b
PS
198422000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19843
19844 * gdb.base/callfuncs.c (main): Moved to end of file, call
19845 t_double_values to initialize the FPU before inferior calls are made.
19846 * gdb.base/callfuncs.exp: Test for register preservation after calling
19847 inferior functions. Add tests for continuining, finishing and
19848 returning from a stop in a call dummy.
19849
dc96c6c7 198502000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
19851
19852 * gdb.base/commands.exp: Break up long lines, and re-indent.
19853
dc96c6c7 198542000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
19855
19856 * config/gdbserver.exp: Rewritten from the ground up, to make it
19857 compatible with the current dejagnu tree, and to make it work with
19858 the new "gdbserver" in libremote.
19859
dc96c6c7 198602000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
19861
19862 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
19863 * gdb.base/varargs.exp: Skip entire test if no printf support.
19864 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
19865 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
19866
dc96c6c7 198672000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
19868
19869 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
19870 no floating point support.
19871 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
19872 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
19873 * gdb.base/call-rt-st.exp: Ditto.
19874 * gdb.base/call-strs.exp: Ditto.
19875
bac5fc66
JG
198762000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
19877
19878 * gdb.base/sizeof.c: include <stdio.h>.
19879
19880 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
19881 'finish', otherwise uncaptured gdb_prompt would potentially
19882 throw remaining test points out of sync.
bac5fc66 19883
b22a6027
SB
198842000-07-26 Scott Bambrough <scottb@netwinder.org>
19885
19886 * gdb.base/recurse.exp: Run tests for all targets.
19887 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
19888 gnu-oldld case on ARM.
19889 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
19890 for ARM targets.
d63a86f8 19891
d8231941
AG
19892Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
19893
19894 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
19895 * gdb.java/configure: Rebuild.
19896
8caabe69
AG
19897Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
19898
19899 * gdb.java/jv-exp.exp: New file.
19900
9d273ca3
AG
19901Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
19902
19903 * configure: Rebuilt.
19904 * configure.in (configdirs): Add gdb.java.
19905 * gdb.java/jmisc.java: New file.
19906 * gdb.java/jmisc.exp: New file.
19907 * gdb.java/Makefile.in: New file.
19908 * gdb.java/configure: Rebuilt.
19909 * gdb.java/configure.in: New file.
19910 * lib/java.exp: New file.
19911
4f823a66
AC
19912Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
19913
19914 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 19915 underflow.
4f823a66 19916
2391e11d
AC
19917Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
19918
19919 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 19920 and the compilers sizes.
2391e11d 19921
54602222
ND
199222000-07-09 Nick Duffek <nsd@redhat.com>
19923
19924 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
19925 (use_methods): New function.
19926 (main): Call use_methods().
19927 * gdb.c++/classes.exp (test_method_param_class): New procedure.
19928 (do_tests): Call test_method_param_class.
19929
2bec0572
ND
199302000-07-09 Nick Duffek <nsd@redhat.com>
19931
19932 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
19933 spelling.
19934 (test_enums): New procedure. Move enum tests from end of script
19935 to here. Set breakpoint on function name instead of line number.
19936 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
19937 (enums2): New marker function.
19938 (enums1): New function.
19939 (main): Call enums1(). Move enum tests to enums1().
19940
78492fde
AC
19941Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
19942
19943 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 19944 compile/link program. Update line numbers.
78492fde
AC
19945 * gdb.asm/d10v.inc: Define ``startup''.
19946 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 19947
49a2cef8
AC
19948Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
19949
19950 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
19951
3e6c8688
EZ
199522000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19953
19954 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 19955 of 'help maint print' command.
3e6c8688 19956
9ff5cbe9
AC
19957Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
19958
19959 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 19960 they use gdb_expect_list.
9ff5cbe9 19961
17c579bd
AC
19962Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
19963
19964 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
19965 memory-read-packet-size'' instead of ``set endian big'' to test
19966 long commands.
17c579bd 19967
e6d71bf3
DB
199682000-06-03 Daniel Berlin <dan@cgsoftware.com>
19969
19970 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 19971 g++, and stop skipping them.
e6d71bf3
DB
19972
19973 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
19974 work under g++.
19975
d63a86f8 19976 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
19977 initialization.
19978
dc96c6c7 199792000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
19980
19981 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
19982 the regular expression: accept an (almost) arbitrary sequence of
19983 "frames-invalid" and "breakpoints-invalid" messages both before
19984 and after the "starting" message.
19985
dc96c6c7 199862000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
19987
19988 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 19989
dc96c6c7 199902000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
19991
19992 * gdb.base/annota1.exp (annotate-signal-handler-caller):
19993 Relax the regular expression a little, make it pass on Solaris 8.
19994
8216cda9
KB
199952000-05-12 Kevin Buettner <kevinb@redhat.com>
19996
19997 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 19998 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
19999 Instead, it is permissible for gdb to stop on the line of the
20000 call itself.
20001
1a570b2f
MS
200022000-05-12 Michael Snyder <msnyder@.cygnus.com>
20003
20004 * gdb.base/break.exp (bp on small function, optimized file):
20005 Add a second pass pattern. The behavior differs here between stabs
20006 and dwarf for one-line functions. Stabs preserves two line symbols
20007 (one before the prologue and one after) with the same line number,
20008 but dwarf regards these as duplicates and discards one of them.
20009 Therefore the address after the prologue (where the breakpoint is)
20010 has no exactly matching line symbol, and GDB reports the breakpoint
20011 as if it were in the middle of a line rather than at the beginning.
20012
dc96c6c7 200132000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 20014
d63a86f8 20015 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
20016 rather than "send_gdb" (for consistancy).
20017
7d418785
AC
20018Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
20019
20020 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
20021 * gdb.c++/templates.cc: Properly check for GCC version number.
20022 * lib/compiler.cc: Likewise
20023
dc96c6c7 200242000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 20025
d63a86f8 20026 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
20027 gdb may not stop at the first line of main, due to code motion.
20028
dc96c6c7 200292000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
20030
20031 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
20032 This test depends on parsing the printf output from the target.
20033 Since the sparclet stub doesn't do stdio, this will never work.
20034 * gdb.base/call-rt-st.exp: ditto.
20035 * gdb.base/call-strs: ditto.
20036
dc96c6c7 200372000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
20038
20039 * gdb.base/miscexprs.exp: make sizeof long array test portable.
20040
20041 * gdb.base/ending-run.exp: After connecting to a remote target,
20042 but before running, the target will appear to be in a random
20043 location. Specify both a file and a line for breakpoints.
20044 Also, the function that calls main may be called 'init'
20045 rather than 'start'.
20046
a5a51225
EZ
200472000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20048
20049 * gdb.base/help.exp: Update output for add-symbol-file command.
20050
7930cc7c
FN
200512000-04-10 Fernando Nasser <fnasser@cygnus.com>
20052
20053 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20054 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
20055
23e37ab1
C
200562000-04-07 J.T. Conklin <jtc@redback.com>
20057
e93c542c
C
20058 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
20059
23e37ab1
C
20060 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
20061
591b8fa3
PDM
20062Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
20063
20064 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 20065 values that can be represented exactly.
591b8fa3
PDM
20066 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
20067 above change, and to not check against the directory part of the source
20068 file name.
20069 (step into print_long_arg_list): Likewise.
20070 (print print_small_structs from print_long_arg_list): Likewise.
20071 (print print_long_arg_list): Likewise.
20072
7a495180
EZ
200732000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20074
30b53638 20075 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 20076
beb998c6
AC
20077Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
20078
20079 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
20080
1c689132
DB
200812000-03-25 Daniel Berlin <dan@cgsoftware.com>
20082
20083 * gdb.base/commands.exp (deprecated_command_test): Add test for
20084 deprecate with no arguments.
20085
c1790a9d
JL
200862000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
20087
20088 * gdb.base/break.exp: Add new test for setting breakpoints on
20089 optimized code so we can test breakpoints work even when function
20090 prologues may be optimized away
20091
003ba290
FN
200922000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
20093
20094 From David Whedon <dwhedon@gordian.com>
a9c64011 20095 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 20096
6837a0a2
DB
200972000-03-22 Daniel Berlin <dan@cgsoftware.com>
20098
20099 * gdb.base/help.exp: Added test for new apropos command.
20100
b9593231
KB
201012000-03-21 Kevin Buettner <kevinb@redhat.com>
20102
20103 * gdb.base/pointers.c (usevar): New function.
20104 (main): Make sure that global variables v_int_pointer2, rptr,
20105 and y are all referenced someplace in the program by calling
20106 usevar() on them. [Some linkers delete symbols which are
20107 never referenced. The space remains, but there's no way to
20108 get a (symbolic) handle on the variable from the debugger.]
20109
751a959b
EZ
201102000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20111
20112 * gdb.base/printcmds.c: Add typedeffed arrays.
20113
20114 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 20115 procedure to test arrays that are typedef'd.
751a959b 20116
73a93a32
JI
201172000-03-13 James Ingham <jingham@leda.cygnus.com>
20118
20119 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 20120 the library directories.
73a93a32 20121
fb40c209
AC
20122Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
20123
20124 * configure.in (configdirs): Add sub directory gdb.mi.
20125 * configure: Re-generate.
20126
20127 * gdb.mi: New directory.
d63a86f8 20128
ee4dd2c9
AC
201292000-02-25 Scott Bambrough <scottb@netwinder.org>
20130
20131 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 20132 a long long value as a double on ARM platforms.
ee4dd2c9 20133
70f0cc22
JB
201342000-02-16 Jim Blandy <jimb@redhat.com>
20135
20136 * gdb.base/break.exp ("breakpoint line number"): Make sure the
20137 default source file is set properly before running this test.
20138
853819b8
EZ
201392000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20140
20141 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 20142 gdbtk/library directory, not in gdbtcl2.
853819b8 20143
dfcd3bfb
JM
201442000-02-04 Jim Blandy <jimb@redhat.com>
20145
20146 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
20147 backslash from regexp pattern.
20148
20149 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
20150 procedure. Use it to run all the "continue to bp overloaded"
20151 tests. Note that this changes the names of the tests slightly.
20152 If the breakpoint hit message includes a hex PC value, because
20153 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
20154 from the real source code, still consider that a pass.
20155
20156 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
20157 XFAIL here if the breakpoint message contains a hex address. Note
20158 similar change on 1999-11-02.
20159
20160 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
20161
20162 * gdb.base/ptype.exp: Establish a default source file before
20163 calling get_debug_format.
20164
201652000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
20166
20167 * gdb.base/watchpoint.exp: Remove duplication of test messages.
20168
8b93c638
JM
201692000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20170
20171 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
20172 of successive stepi commands -- while in the prologue we should see
20173 the function entry bracket.
20174
201752000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
20176
20177 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
20178 reach __change_mode() when stepping through the end of main().
20179
c5394b80
JM
201802000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
20181
20182 * gdb.base/default.exp: Fix expected pattern.
20183 * gdb.base/help.exp: Same.
20184
0d06e24b
JM
201852000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20186
20187 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 20188 Don't use xfail's because that affects only the following test.
d63a86f8 20189
0d06e24b 20190 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 20191 solaris or linux.
0d06e24b
JM
20192
20193 * gdb.base/selftest.exp: Update to reflect changes to main.c.
20194
dc96c6c7 201952000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 20196
d63a86f8 20197 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
20198 "A syntax error" rather than "A parse error". Accept both.
20199
202002000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
20201
20202 * gdb.base/default.exp: Remove OS dependent string from "target
20203 remote" test.
20204 * gdb.base/help.exp: Same for "help target remote" test.
20205
c3f6f71d
JM
202062000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20207
20208 From Jim Kingdon <kingdon@redhat.com>:
20209
20210 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
20211 prompt (cleanup rather than necessity, but still might keep output
20212 from spilling to next test).
c3f6f71d
JM
20213
202142000-01-02 Fred Fish <fnf@cygnus.com>
20215
20216 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
20217 AIX, which defines them in <sys/types.h>.
20218
ed9a39eb 202191999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 20220
ed9a39eb 20221 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 20222 float" test.
ed9a39eb
JM
20223
202241999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 20225
ed9a39eb 20226 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
20227
20228 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
20229 outermost frame disallowed".
20230
202311999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
20232
20233 * gdb.base/setvar.exp: New tests for setting the value of a struct
20234 with a constant list.
20235
202361999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20237
20238 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
20239 require the user to type a cast before setting the value of a struct.
20240
de57eccd
JM
202411999-12-06 Jim Blandy <jimb@cygnus.com>
20242
20243 * gdb.base/default.exp: Expect the new 'info float' command on
20244 all i386 platforms.
20245
20246 * gdb.threads/linux-dp.exp: Expand our ability to recognize
20247 LinuxThreads libraries that don't support debugging.
20248
c2d11a7d
JM
20249Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20250
20251 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
20252 Change the buffer type to ``unsigned char'' to simplify size
20253 arithmetic.
c2d11a7d
JM
20254
20255 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
20256 stub only handles 400-1 byte packets. Verify that the download
20257 worked.
c2d11a7d
JM
20258
202591999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
20260
20261 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
20262 tests, using UNRESOLVED for the untested cases. Also, does not wait
20263 for a timeout if the prompt was received before a recognizable pattern.
20264
202651999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
20266
20267 * lib/gdb.exp (gdb_expect_list): Fix spelling.
20268
202691999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20270
20271 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 20272 watchpoints.
c2d11a7d
JM
20273
202741999-11-24 Jason Merrill <jason@casey.cygnus.com>
20275
20276 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
20277
20278 * gdb.c++/local.exp: Be more flexible in recognizing local class
20279 name mangling. Don't allow horribly truncated method names.
20280 * gdb.c++/derivation.exp: Expect protected inheritance.
20281 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
20282 * gdb.c++/virtfunc.exp: Likewise.
20283 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
20284 when printing a nested enum.
20285
202861999-11-22 Jim Blandy <jimb@cygnus.com>
20287
20288 * gdb.base/step-test.exp: Properly await GDB's response to setting
20289 a breakpoint on the call to large_struct_by_value.
20290
20291 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
20292 just because we have debug info for the `start' function.
20293
202941999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
20295
20296 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
20297 "Unknown signal" messages, which indicate (on LinuxThreads) that
20298 GDB doesn't know how to debug threads on this system. This is
20299 better than hanging while philosopher 0 dumps chatter into gdb.log.
20300
203011999-11-18 Tom Tromey <tromey@cygnus.com>
20302
20303 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
20304
203051999-11-18 Fred Fish <fnf@cygnus.com>
20306
20307 * gdb.base/coremaker2.c: Add sample program for generating
20308 cores that is more self contained than coremaker.c. Eventually
20309 I'll add more code to this and tie it into the testsuite.
20310
4ce44c66
JM
203111999-11-12 Stan Shebs <shebs@andros.cygnus.com>
20312
20313 * gdb.base/dollar.exp: Remove, now in gdb.hp.
20314
203151999-11-10 Jimmy Guo <guo@cup.hp.com>
20316
20317 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 20318 from $srcdir/lib/.
4ce44c66 20319 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 20320 and gdb.c++/.
4ce44c66
JM
20321
20322 * gdb.c++/derivation.exp: remove redundant get compiler info code.
20323
d63a86f8 20324 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
20325 'continue with watch' test point.
20326
203271999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
20328
20329 Merged from p2linux-990323-branch:
d63a86f8 20330
4ce44c66
JM
20331 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
20332
11cf8741
JM
20333Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
20334
20335 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 20336 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
20337
20338Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
20339
20340 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 20341 gdb_expect_list.
11cf8741
JM
20342
20343Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
20344
20345 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
20346
203471999-11-03 Mark Salter <msalter@cygnus.com>
20348
20349 * gdb.base/break.exp: Fix "stub continue" pattern.
20350
203511999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
20352
20353 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
20354
203551999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
20356
20357 * gdb.base/display.exp ("finish"): Add timeout clause.
20358
20359 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
20360 plain prompt clause, so this doesn't have to time out in order to
20361 fail.
20362
20363 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 20364 breakpoint hit messages include an address.
11cf8741
JM
20365
20366 * gdb.base/display.exp: Don't forget to escape parens in regular
20367 expressions. Unix regexp notatation sucks.
20368
203691999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20370
20371 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 20372 order for 'signalled' message.
11cf8741 20373
5c44784c
JM
203741999-11-01 Stan Shebs <shebs@andros.cygnus.com>
20375
20376 From Jimmy Guo <guo@cup.hp.com>:
20377 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
20378 * gdb.base/annota1.c: Add code for tests to work with.
20379
203801999-10-26 Frank Ch. Eigler <fche@cygnus.com>
20381
20382 * gdb.base/remote.exp: New test for remote downloading settings.
20383 * gdb.base/remote.c: New file with large .data.
20384
917317f4
JM
203851999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
20386
20387 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
20388 for LinuxThreads support, merged from the Code Fusion branch.
20389
20390Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
20391
20392 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
20393 containing exp_continue into a while within an expect. Don't
20394 attempt a start more than three times. Check return value from
20395 gdb_load.
d63a86f8 20396
2df3850c
JM
20397Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
20398
20399 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 20400 a pass case.
2df3850c 20401
2acceee2
JM
204021999-10-01 Kevin Buettner <kevinb@cygnus.com>
20403
20404 * gdb.base/break.c (main): Added a statement that we can step
20405 off of.
20406 * gdb.base/break.exp: Added tests for setting a breakpoint
20407 at an offset and stepping onto a breakpoint.
20408
204091999-10-01 Fred Fish <fnf@cygnus.com>
20410
d63a86f8 20411 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
20412 gdb output.
20413
c2c6d25f
JM
204141999-09-18 Jim Blandy <jimb@cris.red-bean.com>
20415
20416 * gdb.base/break.exp: Code locations are in hex, don't forget!
20417 (For HP-UX.)
20418
204191999-09-17 Stan Shebs <shebs@andros.cygnus.com>
20420
20421 * condbreak.exp: Use break.c as test program.
20422 * condbreak.c: Remove, redundant with break.c.
20423
204241999-09-15 Stan Shebs <shebs@andros.cygnus.com>
20425
20426 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 20427 Z-packets if the target needs it.
c2c6d25f
JM
20428
204291999-09-13 James Ingham <jingham@leda.cygnus.com>
20430
20431 * gdb.c++/overload.exp: Added tests for listing overloaded
20432 functions with function pointers in the arg, explicitly calling
20433 out the version you want.
20434
cff3e48b
JM
204351999-09-09 Stan Shebs <shebs@andros.cygnus.com>
20436
20437 * long_long.exp: Add variations of test cases that work for
20438 targets with 16-bit ints and 32-bit doubles.
20439
d4f3574e
SS
204401999-09-08 Stan Shebs <shebs@andros.cygnus.com>
20441
20442 * break.c (main): Compare a possibly-uninitialized argc with an
20443 unlikely value that fits in 16 bits.
20444
204451999-09-07 Stan Shebs <shebs@andros.cygnus.com>
20446
20447 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
20448 0xfeeb, don't want negative numbers if ints are 16 bits.
20449
20450 * lib/gdb.exp (skip_cplus_tests): New proc.
20451 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
20452 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
20453 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
20454 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
20455 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
20456 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
20457 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
20458 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
20459
20460 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
20461
20462Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
20463
20464 * gdb.base/corefile.exp (up): Allow a parameter to appear
20465 in the frame that we're going up to.
20466
20467 From Jim Blandy <jimb@cygnus.com>:
20468
20469 * gdb.base/default.exp (info float): Expect some output now.
20470
20471 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
20472 returning floating-point values to fail on the x86.
20473 * gdb.base/callfwmall.exp (do_function_calls): Same.
20474
20475 * gdb.base/list.exp (test_listsize): Correct expectations for
20476 listing line 1 with listsize 2. Also, listing a single line
20477 works now, as does listing three lines. [Kevin's note: There
20478 were a number of other cases fixed too where the expectations
20479 differed...]
20480
204811999-09-02 Stan Shebs <shebs@andros.cygnus.com>
20482
20483 * gdb.base/selftest.exp: Add case for when version prints as
20484 constant string instead of char pointer.
20485
104c1213
JM
204861999-08-25 Stan Shebs <shebs@andros.cygnus.com>
20487
20488 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 20489 stepping out of main.
104c1213
JM
20490
20491 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
20492 G++ used.
20493
20494 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 20495 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
20496
20497 * gdb.c++/ovldbreak.exp: Update match string in test that
20498 includes a warning of multiple breakpoints.
20499
205001999-08-24 Stan Shebs <shebs@andros.cygnus.com>
20501
20502 * gdb.base/display.exp: Improve precision of step-after-finish
20503 added yesterday.
20504
20505 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 20506 test.
104c1213
JM
20507
20508 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
20509 configs when using G++, not just hppa*.
20510
205111999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20512
20513 * gdb.base/async.c: New file.
20514 * gdb.base/async.exp: New file.
20515
20516Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
20517
20518 * gdb.base/break.exp: Tweak PA specific tests to properly handle
20519 PA64.
20520
53a5351d
JM
20521Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
20522
104c1213
JM
20523 * gdb.base/display.exp: "finish" can leave us mid-line on many
20524 targets, deal with it. Add a small constant to main, instead of
20525 1000 since main+1000 may not be a valid address in the target.
20526
53a5351d
JM
20527 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
20528 on hpux11.
20529
20530 * gdb.base/attach.exp: Handle another hpux11 error message variant
20531 when attaching to a process that does not exist.
20532
205331999-08-19 J.T. Conklin <jtc@redback.com>
20534
20535 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 20536 characters in 'continue to 1241' test.
53a5351d
JM
20537
205381999-08-17 Stan Shebs <shebs@andros.cygnus.com>
20539
20540 * gdb.base/call-ar-st.exp: Add a shorter match case for the
20541 stop in print_long_arg_list, define and use a whitespace
20542 variable in print_small_structs test, add an XFAIL for Solaris.
20543 * gdb.base/dbx.exp: XFAIL func commands until somebody is
20544 interested enough to fix.
20545
7be570e7
JM
205461999-08-13 Keith Seitz <keiths@cygnus.com>
20547
20548 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
20549 (dbx_gdb_load): Remove. Use gdb_load instead, since that
20550 proc knows about targets other than the natives.
20551 (test_assign): Use "gdb_run_cmd" to "run" the target.
20552 Check that we've actually hit the breakpoint at main.
20553 When we attempt to assign a value to a local variable, check
20554 that the variable is in the current scope, i.e., don't use
20555 a test with an empty result.
20556
20557Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
20558
20559 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 20560 command.
7be570e7
JM
20561
205621999-08-09 Stan Shebs <shebs@andros.cygnus.com>
20563
20564 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20565 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
20566 gdb.compat, gdb.threads-hp.
20567 gdb.hp/configure, gdb.hp/configure.in: New files.
20568 gdb.hp/Makefile.in: Recurse into new subdirs.
20569 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
20570 gdb.hp/gdb.objdbg: New directory, tests for debugging info
20571 in object files.
20572 gdb.hp/tools: New directory, aux tools for HP-specific tests.
20573
96baa820
JM
205741999-08-05 Stan Shebs <shebs@andros.cygnus.com>
20575
20576 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 20577 funky printf, remove a bogus p/a test.
96baa820
JM
20578
205791999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20580
20581 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
20582 connected to the target. This is necessary when running not
20583 natively.
96baa820
JM
20584
205851999-08-03 Stan Shebs <shebs@andros.cygnus.com>
20586
20587 * gdb.base/step-test.exp: Removed some extraneous messages.
20588
20589 * gdb.base/long_long.exp: Don't run memory examination tests
20590 on little-endian targets (they will need a different set of
20591 results to match).
20592
205931999-08-02 Stan Shebs <shebs@andros.cygnus.com>
20594
20595 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
20596 until somebody decides to fix GDB.
20597
20598 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 20599 constant as "ULL".
96baa820
JM
20600 * gdb.base/long_long.exp: Loosen x/c test, add partial result
20601 matches for a couple x/2 commands.
20602
a0b3c4fd
JM
206031999-07-30 Stan Shebs <shebs@andros.cygnus.com>
20604
20605 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
20606 by merging in ref-types2 tests.
20607 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
20608
20609 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20610 * gdb.c++/Makefile.in: Add standard actions.
20611 (EXECUTABLES): Rename from PROGS, update list.
20612 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
20613 from gdb.hp.
20614 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
20615 foo and bar locals.
20616 * gdb.c++/anon-union.exp: Fix tests to match.
20617 * gdb.c++/classes.exp: Run if HP compiler used, add extra
20618 expect matches to handle output variations.
20619 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
20620 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 20621 output, add HP alternatives for new and delete prints.
a0b3c4fd 20622 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 20623 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
20624 * gdb.c++/demangle.exp: Use $style when reporting failure.
20625 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
20626 * gdb.c++/inherit.exp: Run if HP compiler used, add some
20627 match alternatives.
20628 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 20629 compilers.
a0b3c4fd
JM
20630 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
20631 * gdb.c++/method.exp: Add match alternatives.
20632 * gdb.c++/misc.cc: Add bool types.
20633 * gdb.c++/misc.exp: Add tests for bool types.
20634 * gdb.c++/overload.exp: Add xfails.
20635 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
20636 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
20637 add some more template parameter tests (only for HP currently).
20638 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
20639 * gdb.c++/virtfunc.cc: Add return type and value for main.
20640 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
20641 match alternatives.
d63a86f8 20642
a0b3c4fd
JM
206431999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20644
20645 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
20646
206471999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
20648
20649 * gdb.base/signals.exp: Don't expect getting a backtrace from
20650 within a signal handler to fail on Linux.
20651
206521999-07-29 Stan Shebs <shebs@andros.cygnus.com>
20653
20654 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20655 * lib/gdb.exp: Remove some gratuitious semicolons.
20656 (delete_breakpoints): Increase timeout.
20657 (gdb_expect): Add -notransfer option.
20658 (gdb_test): Use -notransfer option.
20659 (get_compiler_info): Add f77 case.
20660 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 20661 case.
a0b3c4fd
JM
20662 (gdb_preprocess): Call get_compiler.
20663
20664 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
20665 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
20666 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
20667 gdb.base/long_long.exp, gdb.base/printcmds.exp,
20668 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
20669 third arg to gdb_test.
a0b3c4fd
JM
20670 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
20671 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 20672 HP-UX xfails, add others.
a0b3c4fd
JM
20673 * gdb.base/completion.exp: Reflect name change of self-test.
20674 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
20675 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
20676 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
20677 HP failure number.
a0b3c4fd
JM
20678 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
20679 useless HP-UX 10.30 references.
20680 * gdb.base/maint.exp: Loosen matches.
20681 * gdb.base/pointers.c (main): Declare more_code.
20682 * gdb.base/pointers.exp: Match on output of a `next'.
20683 * gdb.base/structs.c: Add prototypes.
20684 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
20685 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
20686
206871999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20688
20689 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 20690 command.
a0b3c4fd
JM
20691
206921999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20693
20694 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
20695 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
20696
20697 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
20698 debug info. Deal with lack of signal hanlder info in stack.
20699
a9c64011 20700 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
20701 * gdb.base/annota1.exp: If printf has debug info, deal with it.
20702
5a2468f5
JM
207031999-07-19 Stan Shebs <shebs@andros.cygnus.com>
20704
20705 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 20706 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 20707
adf40b2e
JM
20708Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20709
20710 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 20711 a1-selftest.exp.
adf40b2e
JM
20712 * gdb.base/configure: Re-generate.
20713
207141999-07-12 Stan Shebs <shebs@andros.cygnus.com>
20715
20716 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
20717 in trying to run first and name is too long.
20718
20719 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
20720 pointers2.c and pointers2.exp, respectively.
20721 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
20722 doschk happier.
20723
43e526b9
JM
207241999-07-08 Stan Shebs <shebs@andros.cygnus.com>
20725
20726 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
20727 callfuncs2.c and callfuncs2.exp.
20728
20729 * gdb.base/list.exp: Remove mistaken xfails.
20730 * gdb.base/list0.h: Add optional prototypes.
20731
9846de1b
JM
20732Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
20733
a9c64011 20734 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 20735 calling malloc.
a9c64011
AS
20736 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
20737 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 20738 use.
9846de1b
JM
20739
207401999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20741
20742 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
20743 * gdb.base/annota2.cc, annota2.exp: Move from here.
20744 * gdb.c++/annota2.cc, annota2.exp: To here.
20745 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
20746
43ff13b4
JM
20747Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
20748
20749 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 20750 a consistent format.
43ff13b4 20751
085dd6e6
JM
207521999-06-25 Stan Shebs <shebs@andros.cygnus.com>
20753
20754 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20755 * lib/gdb.exp (get_compiler_info): Add detection for assorted
20756 HP compilers, also set the globals $true and $false.
20757
20758 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
20759 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
20760 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
20761 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
20762 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
20763 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
20764 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
20765 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
20766 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
20767 whatis.c} Add C++ compatible function definitions and return
20768 types, add includes for library functions.
085dd6e6
JM
20769 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
20770 * gdb.base/step-test.c (myglob): Rename from glob.
20771 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
20772 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
20773 files, move here from gdb.hp.
085dd6e6 20774 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
20775 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
20776 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
20777 Adjust line numbers in regexps.
085dd6e6
JM
20778
20779 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
20780 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
20781 instead of 0/1.
20782
20783 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
20784 foll-vfork.exp: New files, move here from gdb.hp.
20785 * gdb.base/page.exp: New file, test of pagination command.
20786
20787 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
20788 recursion test.
20789 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
20790
20791 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 20792 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
20793
20794 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 20795 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 20796 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 20797 watchpoint test.
085dd6e6
JM
20798 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
20799 them work.
20800 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
20801 expressions properly.
20802 * gdb.base/corefile.exp: Loosen the match slightly.
20803 * gdb.base/default.exp: Allow "Error accessing memory" message
20804 also.
20805 * gdb.base/display.exp: Skip over x/0 j if PA64.
20806 * gdb.base/funcargs.exp: Add xfails for HP-UX.
20807 * gdb.base/interrupt.exp: Ditto.
20808 * gdb.base/langs.exp: Add symbolic matches governed by compiler
20809 in use.
20810 * gdb.base/list.exp: Add xfails for HP-UX.
20811 * gdb.base/long_long.exp: Refine some of the numeric matches.
20812 * gdb.base/mips_pro.exp: Xfail on HP-UX.
20813 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
20814 * gdb.base/nodebug.exp: Succeed on more varieties of output.
20815 * gdb.base/opaque.exp: Remove some HP-UX xfails.
20816 * gdb.base/ptype.exp: Succeed on more varieties of output.
20817 * gdb.base/scope.exp: Add xfails for HP-UX.
20818 * gdb.base/sect-cmd.exp: Add more cases.
20819 * gdb.base/setvar.exp: Add xfails for HP-UX.
20820 * gdb.base/shlib-call.exp: Loosen some matches slightly.
20821 * gdb.base/signals.exp: Match on void symbolically.
20822 * gdb.base/step-test.exp: Add case for PA64.
20823 * gdb.base/term.exp: Add exit and restart.
20824 * gdb.base/twice.exp: Clean up after self.
20825 * gdb.base/varargs.exp: Disable overload resolution explicitly.
20826 * gdb.base/whatis.exp: Allow more ways to pass tests.
20827
20828 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 20829 no longer useful.
085dd6e6
JM
20830
20831Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
20832
20833 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 20834 list of patterns.
085dd6e6 20835 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
20836 print_double_array(double_array)", "continuing to breakpoint
20837 1018", "print print_double_array(array_d)" and "continuing to
20838 1034" tests.
d63a86f8 20839
085dd6e6
JM
208401999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
20841
a9c64011 20842 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
20843
208441999-06-24 Stan Shebs <shebs@andros.cygnus.com>
20845
20846 * config/mt-*: Remove, these haven't been used since 1996.
20847
208481999-06-22 Stan Shebs <shebs@andros.cygnus.com>
20849
20850 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 20851 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
20852 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
20853
9e0b60a8
JM
208541999-06-18 Stan Shebs <shebs@andros.cygnus.com>
20855
20856 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
20857 simpler match case for the ptype of the big class.
20858
208591999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20860
20861 * gdb.exp: Fix test for gdb_prompt existence.
20862
208631999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20864
20865 * gdb.exp (gdb_test): Add fail after calls to perror.
20866
208671999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20868
20869 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
20870
208711999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20872
20873 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
20874
0f71a2f6
JM
20875Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
20876
20877 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 20878 malloc() is linked in.
0f71a2f6
JM
20879
208801999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20881
20882 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
20883 step at end.
20884
20885 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
20886
208871999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
20888
20889 * gdb.java/jv-print.exp: New file. (Our first Java test!)
20890
cce74817
JM
20891Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
20892
20893 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
20894 * gdb.base/mips_pro.exp: Likewise.
20895
208961999-06-02 Keith Seitz <keiths@cygnus.com>
20897
20898 * gdb.c++/templates.cc: Change all "new" operators to throw
20899 an exception.
20900 * gdb.c++/cplusfuncs.cc: Likewise.
20901
20902 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
20903
20904Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
20905
20906 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
20907 * gdb.base/ending-run.exp: When stepping out of main, accept a
20908 step into an arbitrary assembler file.
cce74817 20909
392a587b
JM
209101999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20911
d63a86f8 20912 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 20913 "breakpoint-invalid" to be printed.
d63a86f8 20914 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
20915 number of "frames-invalid" and "breakpoint-invalid" to be printed.
20916 * gdb.base/annota2.cc: Initialize a.x to 0.
20917
9e086581
JM
209181999-05-17 Keith Seitz <keiths@cygnus.com>
20919
20920 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
20921 when "skip_float_tests" set.
20922 Ditto for "print print_double_array(array_d)", "print print_small_structs",
20923 "print print_ten_doubles", and "step into print_long_arg_list".
20924 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
20925 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
20926 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
20927 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
20928 "skip_float_tests" is set.
20929 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
20930 when "skip_float_tests" set.
d63a86f8 20931
cd0fc7c3
SS
209321999-05-06 Keith Seitz <keiths@cygnus.com>
20933
20934 * gdb.base/annota2.cc: Include stdio.h.
20935
20936Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
20937
20938 * gdb.base/crossload.exp: Remove, this has been disabled ever
20939 since BFD stopped including all targets, and cross-GDB gets
20940 plenty of testing anyway.
20941 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
20942 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
20943 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
20944 * gdb.base/README: Remove, was doc for this.
20945 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 20946 needed.
cd0fc7c3 20947
b83266a0
SS
209481999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20949
20950 * gdb.base/call-ar-st.exp: Fix one regular expression in test
20951 output.
20952
20953 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
20954 * gdb.base/annota2.exp: New file. More annotation tests.
20955 * gdb.base/annota1.c: New file. Source file for annota1.exp.
20956 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
20957
209581999-04-23 Angela Marie Thomas <angela@cygnus.com>
20959
20960 * config/cfdbug.exp: New file.
20961
7a292a7a
SS
209621999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
20963
20964 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
20965 Marcus Daniel's and Dale Hawkins's demangler crashes.
20966
20967 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
20968 test_lucid_style_demangling, test_arm_style_demangling,
20969 test_hp_style_demangling): Try Tom Tromey's core-dumping
20970 identifier under each demangling style.
7a292a7a
SS
20971
209721999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
20973
20974 * gdb.c++/demangle.exp: Include the current demangling style
20975 in all test names.
20976 (current_demangling_style): New global variable.
20977 (set_demangling_style, test_demangling_core, test_demangling,
20978 test_demangling_exact): New functions.
20979 (test_gnu_style_demangling, test_lucid_style_demangling,
20980 test_arm_style_demangling, test_hp_style_demangling): Use those,
20981 instead of calling gdb_test and gdb_test_exact directly.
20982 (catch_demangling_errors): New function, which reports errors
20983 signalled by the demangling test functions in an orderly way.
20984 (do_tests): Use catch_demangling_errors.
20985
209861999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
20987
20988 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 20989 grouping in expressions, not {}.
7a292a7a
SS
20990
20991 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 20992 initialized yet.
7a292a7a
SS
20993
209941999-04-01 Stan Shebs <shebs@andros.cygnus.com>
20995
20996 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
20997 are listed.
20998
209991999-03-26 Stan Shebs <shebs@andros.cygnus.com>
21000
21001 * gdb.stabs/weird.exp: Test for CC being defined before
21002 looking at its value.
21003
210041999-03-25 Stan Shebs <shebs@andros.cygnus.com>
21005
21006 * gdb.base/call-ar-st.exp: Remove stray '#'.
21007 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
21008 "short int" and "long int".
21009 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 21010 change, to mollify finicky HP compiler.
7a292a7a
SS
21011 * gdb.hp/reg-test.exp (testfile): Fix file name.
21012 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 21013
7a292a7a
SS
21014 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
21015 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
21016 alternate form of enum ptype.
21017
c906108c
SS
210181999-03-23 Stan Shebs <shebs@andros.cygnus.com>
21019
7a292a7a
SS
21020 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
21021 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
21022 passing skip_hp_tests, so as not to waste time on guaranteed
21023 failure.
7a292a7a 21024
c906108c
SS
21025 * gdb.c++/overload.cc: Pass string instead of char addr, always
21026 init ccpfoo.
21027 * gdb.c++/templates.cc: Fix syntax error.
21028
7a292a7a
SS
21029Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21030
21031 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 21032 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
21033 command.
21034
210351999-03-18 James Ingham <jingham@cygnus.com>
21036
21037 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
21038
21039 * gdb.c++/method.exp: It was testing an uninitialized int on the
21040 stack and assuming it was positive.
21041
21042 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
21043
21044 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 21045 keep it from killing the rest of the tests.
7a292a7a
SS
21046 Use gdb_continue_to_end.
21047
21048 * gdb.base/sigall.exp: use gdb_continue_to_end.
21049
21050 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
21051
21052 * gdb.base/display.exp: use runto_main, not run.
21053
d63a86f8
RM
21054 * gdb.base/default.exp: Check for the current error message in the
21055 r abbreviation test.
7a292a7a
SS
21056 Add strongarm to the targets that know info float.
21057
d63a86f8 21058 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
21059 run which doesn't work with monitors.
21060
21061 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
21062
21063 * gdb.base/break.exp: use the gdb_continue_to_end proc.
21064
21065 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
21066 program. Traps the case (in Cygmon) when the program never really
21067 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
21068 more places, so I used my name. Sorry Mark...
21069
21070 * config/monitor.exp (gdb_target_monitor): added another
21071 target_info parameter: remotebinarydownload. This will set the
21072 remotebinarydownload flag if this is causing some boards trouble.
21073
210741999-03-18 Mark Salter <msalter@cygnus.com>
21075
21076 * lib/gdb.exp (continue_to_exit): New function.
21077
21078 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
21079 * gdb.base/ending-run.exp: Ditto.
21080 * gdb.base/step-test.exp: Ditto.
21081
210821999-03-16 Stan Shebs <shebs@andros.cygnus.com>
21083
21084 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
21085 (suggested by Art Haas <ahaas@neosoft.com>).
21086
210871999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
21088
889bf7c5 21089 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
21090
21091Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
21092
21093 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 21094 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
21095
210961999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
21097
21098 * gdb.base/call-strs.exp: Don't assume that `step' will step over
21099 a call to strlen; sometimes we do have sources.
21100
211011999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
21102
21103 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 21104 character, so GDB won't print garbage after its end.
d63a86f8 21105
c906108c
SS
21106 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
21107 breakpoint there instead. Sometimes GCC emits memcpy to handle
21108 the large structures being passed by value, so we step into that
21109 instead of sum_array_print, which obscures what we're really testing.
21110 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
21111 the bizarre steps into memcpy, so do that here. Add check for
21112 stepping into function calls that pass large structures by value.
21113 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
21114 Remove all references to specific line numbers.
21115 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
21116 New type and function.
21117 (main): Call large_struct_by_value, passing it a large struct by value.
21118 * lib/gdb.exp (gdb_get_line_number): New function.
21119
21120 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
21121 more portable.
21122
7a292a7a
SS
211231999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
21124
c906108c
SS
21125 * lib/gdb.exp: Doc fixes.
21126
7a292a7a
SS
211271999-03-05 Nick Clifton <nickc@cygnus.com>
21128
d63a86f8 21129 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
21130
211311999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
21132
c906108c 21133 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
21134 commands. They're not germane to this test, and they don't work
21135 that way on remote targets.
c906108c 21136
3fc11d3e
JM
211371999-03-01 James Ingham <jingham@cygnus.com>
21138
21139 * Changelog entries merged over from gdb development branch.
21140
3fc11d3e
JM
21141 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
21142
21143 * lib/gdb.exp (gdbtk_analyze_results): Generic function
21144 for outputting results of test run.
21145
2d4a1622 21146 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
21147
21148 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 21149
7a292a7a
SS
211501999-02-25 Felix Lee <flee@cygnus.com>
21151
21152 * lib/gdb.exp (debug_format): initialize
21153
c906108c
SS
211541999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
21155
21156 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
21157 * gdb.base/call-rt-st.c: Ditto.
21158
c906108c
SS
211591999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
21160
21161 * gdb.threads/pthreads.exp (horiz): New variable.
21162 (test_startup): Fix regexps that capture thread numbers.
21163
211641999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
21165
21166 * gdb.base/smoke.exp: Disambiguate two test case names (both
21167 called ``print'').
21168
21169Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21170
21171 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 21172 compilation.
c906108c
SS
21173
211741999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21175
21176 * gdb.base/miscexprs.exp: Change patterns to match GDB's
21177 actual output formatting.
21178 * gdb.base/smoke.exp: GDB removes leading 0's.
21179 * gdb.base/volatile.exp: Don't check type of remuneration;
21180 that variable is no longer defined in constvars.c.
21181 * gdb.base/step-test.c (main): Exit with explicit exit code.
21182 * gdb.base/step-test.exp: Remove two nexti checks--they are
21183 not portable.
21184
211851999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
21186
21187 * gdb.base/help.exp ("help delete display"): Fix test to match
21188 gdb's output.
21189
21190 * gdb.base/long_long.c (known_types): Initialize values to zero.
21191 * gdb.base/long_long.exp: Step one more line
21192 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
21193 leading zeros. Explicitly ask for hex formatting. Use
21194 unique test case names.
c906108c
SS
21195
21196Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21197
d63a86f8 21198 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
21199
21200 * gdb.c++/method.exp: Add missing close brace.
21201
212021999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
21203
21204 * gdb.base/maint.exp: Use 'set height 0' to disable page
21205 prompting, not 'set height 400'.
21206
21207 Fix a bunch of timeouts.
21208 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
21209 four separate tests, so expect doesn't take forever to match a ton
21210 of text against a regexp with lots of .* forms.
21211 ("maint print psymbols", "maint print symbols"): Make some of
21212 these greps more selective, so that expect doesn't try to wade
21213 through huge piles of output and time out.
21214
21215 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
21216
21217 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
21218 tests: one which doesn't expect shlib events to be reported, and
21219 another which does, but is XFAIL for all platforms other than
21220 HP/UX.
c906108c
SS
21221
21222 * gdb.base/break.exp: Teach the test suite that the `catch
21223 fork', `catch vfork', and `catch exec' commands produce error
21224 messages on platforms that don't provide these features.
21225
21226Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21227
21228 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
21229 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
21230 (shortening names from solib_threshold.exp etc), won't run on
21231 anything but HP-UX for the foreseeable future.
c906108c 21232 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 21233 reflect move.
c906108c
SS
21234
21235Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
21236
21237 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 21238 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
21239
21240Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
21241
21242 * gdb.base/shlib-call.exp: add test cases to verify that gdb
21243 successfully re-sets breakpoints in shared libraries.
21244 * gdb.base/shmain.c (main): return 0, don't fall off the end.
21245
21246Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21247
d63a86f8
RM
21248 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
21249 and compiled w/o GCC.
c906108c
SS
21250
21251 * gdb.hp/watch-cmd.exp: ditto.
21252
21253 * gdb.hp/watch-hp.exp: ditto.
21254
21255 * gdb.hp/xdb1.exp: ditto.
21256
21257 * gdb.hp/xdb2.exp: ditto.
21258
21259 * gdb.hp/dbx.exp: ditto.
21260
21261Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
21262
21263 * constvars.c: Remove C++-isms.
21264 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 21265 with GCC.
c906108c
SS
21266
21267Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
21268
21269 The following changes are part of the HP merge.
21270
21271 * gdb.base/break.exp: new tests to verify that catchpoints for
21272 fork, vfork, and exec don't trigger inappropriately.
21273
21274 * gdb.base/opaque.exp: compile one file at a time, then link.
21275
21276 * gdb.base/signals.exp: be more restrictive about which hppa
21277 systems receive a setup_xfail. new tests.
21278
21279 * gdb.base/solib_threshold.build: new file.
21280 * gdb.base/solib_threshold.exp: new file.
21281 * gdb.base/solib_threshold.link_opts: new file.
21282 * gdb.base/solib_threshold.mk: new file.
21283 * gdb.base/gen_solib_threshold.c: new file.
21284
21285 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
21286 tests. New tests for enums inside classes.
21287
21288 * gdb.c++/compiler.cc: indicate support of template debugging.
21289
21290 * gdb.c++/demangle.exp: run hp style demangling tests.
21291
21292 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
21293 tests.
21294
21295 * gdb.c++/misc.cc: changes to support new tests.
21296
21297 * gdb.c++/templates.cc: changes to support HP's compiler; changes
21298 to support new tests.
21299
21300 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
21301 gcc, then skip these tests.
21302
21303Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
21304
21305 The following files are part of the HP merge; some had longer
21306 names at HP, but have been renamed to be no more than 14
21307 characters in length.
21308
21309 * gdb.hp/ambiguous.cc: new file.
21310 * gdb.hp/ambiguous.exp: new file.
21311 * gdb.hp/attach.exp: new file.
21312 * gdb.hp/attach2.exp: new file.
21313 * gdb.hp/classes-hp.exp: new file.
21314 * gdb.hp/ctti.exp: new file.
21315 * gdb.hp/ctti-add.cc: new file.
21316 * gdb.hp/ctti-add1.cc: new file.
21317 * gdb.hp/ctti-add2.cc: new file.
21318 * gdb.hp/ctti-add3.cc: new file.
21319 * gdb.hp/dbx.exp: new file.
21320 * gdb.hp/exception.cc: new file.
21321 * gdb.hp/exception.exp: new file.
21322 * gdb.hp/foll-exec.c: new file.
21323 * gdb.hp/foll-exec.exp: new file.
21324 * gdb.hp/foll-fork.c: new file.
21325 * gdb.hp/foll-fork.exp: new file.
21326 * gdb.hp/foll-vfork.c: new file.
21327 * gdb.hp/foll-vfork.exp: new file.
21328 * gdb.hp/inherit-hp.exp: new file.
21329 * gdb.hp/more-steps.exp: new file.
21330 * gdb.hp/namespace.cc: new file.
21331 * gdb.hp/namespace.exp: new file.
21332 * gdb.hp/optimize.exp: new file.
21333 * gdb.hp/pxdb.c: new file.
21334 * gdb.hp/pxdb.exp: new file.
21335 * gdb.hp/quicksort.exp: new file.
21336 * gdb.hp/reg-test.exp: new file.
21337 * gdb.hp/reg-test.s: new file.
21338 * gdb.hp/sized-enum.c: new file.
21339 * gdb.hp/sized-enum.exp: new file.
21340 * gdb.hp/start-stop.exp: new file.
21341 * gdb.hp/templ-hp.cc: new file.
21342 * gdb.hp/templ-hp.exp: new file.
21343 * gdb.hp/thr-lib.c: new file.
21344 * gdb.hp/thr-lib.exp: new file.
21345 * gdb.hp/thr-lib.h: new file.
21346 * gdb.hp/thr-liblib.c: new file.
21347 * gdb.hp/virtfun-hp.c: new file.
21348 * gdb.hp/virtfun-hp.exp: new file.
21349 * gdb.hp/watch-cmd.exp: new file.
21350 * gdb.hp/watch-hp.exp: new file.
21351 * gdb.hp/xdb1.exp: new file.
21352 * gdb.hp/xdb2.exp: new file.
21353 * gdb.hp/xdb3.exp: new file.
21354
21355Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
21356
21357 The following files are part of the HP merge; some had longer
21358 names at HP, but have been renamed to be no more than 14
21359 characters in length.
21360
21361 * gdb.base/ss.h: new file.
21362 * gdb.base/call-ar-st.c: new file.
21363 * gdb.base/call-ar-st.exp: new file.
21364 * gdb.base/call-rt-st.c: new file.
21365 * gdb.base/call-rt-st-exp: new file.
21366 * gdb.base/call-strs.exp: new file.
21367 * gdb.base/ena-dis-br.exp: new file.
21368 * gdb.base/environ.exp: new file.
21369 * gdb.base/long_long.exp: new file.
21370 * gdb.base/sect-cmd.exp: new file.
21371 * gdb.base/shlib-cl2.exp: new file.
21372 * gdb.base/smoke.exp: new file.
21373 * gdb.base/so-impl-ld.c: new file.
21374 * gdb.base/so-impl-ld.exp: new file.
21375 * gdb.base/so-indr-cl.c: new file.
21376 * gdb.base/so-indr-cl.exp: new file.
21377 * gdb.base/varargs.exp: new file.
21378 * gdb.base/volatile.exp: new file.
21379 * gdb.base/whatis-exp.exp: new file.
7a292a7a 21380 * gdb.base/display.exp: new file.
c906108c
SS
21381 * gdb.c++/derivation.exp: new file.
21382 * gdb.c++/local.exp: new file.
21383 * gdb.c++/member-ptr.exp: new file.
21384 * gdb.c++/overload.exp: new file.
21385 * gdb.c++/ovldbreak.exp: new file.
21386 * gdb.c++/ref-types.exp: new file.
21387 * gdb.c++/ref-types2.exp: new file.
21388 * gdb.c++/userdef.exp: new file.
d63a86f8 21389
c906108c
SS
21390Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
21391
21392 * gdb.base/default.exp: Reflect wording change in remote.c.
21393
dc96c6c7 21394Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21395
21396 * gdb.base/help.exp: Update to reflect current text.
21397
21398Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
21399
21400 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
21401 they're stack variables and contain garbage.
21402 * gdb.c++/anon-union.exp: new file.
21403
21404 The following changes were made by David Taylor
889bf7c5
PA
21405 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21406 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21407 in changes by HP.
c906108c
SS
21408
21409 * gdb.base/bitops.exp: new file.
21410 * gdb.base/default.exp: change expected messages for catch and
21411 info catch tests to reflect HP merge changes.
21412 * gdb.base/enable-disable-break.exp
21413 * gdb.base/ending-run.c: new file.
21414 * gdb.base/long_long.c: new file.
21415 * gdb.base/maint.exp: new file.
21416 * gdb.base/pointers2.exp: new file.
21417 * gdb.base/shlib-call2.exp: new file.
21418 * gdb.base/solib.exp: new file.
21419 * gdb.base/step-test.c: new file.
21420 * gdb.c++/anon-union.cc: new file.
21421 * gdb.c++/local.cc: new file.
21422 * gdb.c++/member-pointer.cc: new file.
21423 * gdb.c++/method.cc: new file.
21424 * gdb.c++/ref-types.cc: new file.
21425 * gdb.c++/ref-types2.cc: new file.
21426 * gdb.c++/userdef.cc: new file.
d63a86f8 21427
c906108c
SS
21428 * gdb.base/scope.exp: compile one file at a time, then link.
21429 * gdb.base/langs.exp: ditto.
21430 * gdb.base/list.exp: ditto.
d63a86f8 21431
c906108c
SS
21432Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
21433
21434 The following changes were made by David Taylor
889bf7c5
PA
21435 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21436 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21437 in changes by HP.
d63a86f8 21438
c906108c
SS
21439 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
21440 skip tests. When compiling pass c++ flag to gdb_compile.
21441 * gdb.c++/
d63a86f8 21442
c906108c
SS
21443 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
21444 test for on hppa*-*-hpux*; use args to see if c++ was specified.
21445 (skip_hp_tests): new function.
21446 (gdb_preprocess): new function.
21447
21448 * configure.in (hpdir): decide whether to configure gdb.hp.
21449 * configure: regenerated.
21450
21451 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
21452 to delete on clean.
21453 (EXECUTABLES): update to reflect new additions.
21454 * gdb.base/commands.exp: update message expected.
21455 * gdb.base/default.exp: add copyright notice.
21456 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
21457 * gdb.base/help.exp: update messages to reflect current text.
21458 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
21459 targets for recurse tests.
21460 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
21461 skip this file.
21462
21463 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
21464 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
21465 compilation.
21466 * gdb.c++/misc.exp: ditto.
21467 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
21468 run the tests. tell gdb_compile that it's a c++ compilation.
21469
21470 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 21471
c906108c
SS
21472 * gdb.base/all-bin.exp: new file.
21473 * gdb.base/arithmet.exp: new file.
21474 * gdb.base/assign.exp: new file.
21475 * gdb.base/completion.exp: new file.
21476 * gdb.base/cond-expr.exp: new file.
21477 * gdb.base/condbreak.exp: new file.
21478 * gdb.base/define.exp: new file.
21479 * gdb.base/dollar.exp: new file.
21480 * gdb.base/environment.exp: new file.
21481 * gdb.base/eval-skip.exp: new file.
21482 * gdb.base/jump.exp: new file.
21483 * gdb.base/logical.exp: new file.
21484 * gdb.base/pointers.exp: new file.
21485 * gdb.base/relational.exp: new file.
21486 * gdb.base/section_command.exp: new file.
21487 * gdb.base/whatis-expr.exp: new file.
21488
21489 * gdb.base/all-types.c: new file.
21490 * gdb.base/call-array-struct.c: new file.
21491 * gdb.base/call-return-struct.c: new file.
21492 * gdb.base/call-strings.c: new file.
21493 * gdb.base/callfuncs2.c: new file.
21494 * gdb.base/condbreak.c: new file.
21495 * gdb.base/constvars.c: new file.
21496 * gdb.base/display.c: new file.
21497 * gdb.base/int-type.c: new file.
21498 * gdb.base/jump.c: new file.
21499 * gdb.base/miscexprs.c: new file.
21500 * gdb.base/pointers.c: new file.
21501 * gdb.base/pointers2.c: new file.
21502 * gdb.base/shmain.c: new file.
21503 * gdb.base/shr1.c: new file.
21504 * gdb.base/shr2.c: new file.
21505 * gdb.base/solib.c: new file.
21506 * gdb.base/solib1.c: new file.
21507 * gdb.base/solib2.c: new file.
21508 * gdb.base/varargs.c: new file.
21509 * gdb.c++/derivation.cc: new file.
21510 * gdb.c++/overload.cc: new file.
21511 * gdb.c++/ovldbreak.cc: new file.
21512 * gdb.hp/attach.c: new file.
21513 * gdb.hp/attach2.c: new file.
21514 * gdb.hp/average.c: new file.
21515 * gdb.hp/compiler.c: new file.
21516 * gdb.hp/compiler.cc: new file.
21517 * gdb.hp/execd-program.c: new file.
21518 * gdb.hp/follow-exec.c: new file.
21519 * gdb.hp/follow-fork.c: new file.
21520 * gdb.hp/follow-vfork-and-exec.c: new file.
21521 * gdb.hp/misc-hp.cc: new file.
21522 * gdb.hp/more-steps.c: new file.
21523 * gdb.hp/optimize.c: new file.
21524 * gdb.hp/quicksort.c: new file.
21525 * gdb.hp/run-hp.c: new file.
21526 * gdb.hp/start-stop.c: new file.
21527 * gdb.hp/sum.c: new file.
21528 * gdb.hp/templates-hp.cc: new file.
21529 * gdb.hp/thread-local-in-lib.c: new file.
21530 * gdb.hp/thread-local-in-lib.h: new file.
21531 * gdb.hp/thread-local-in-lib.lib.c: new file.
21532 * gdb.hp/vforked-program.c: new file.
21533 * gdb.hp/virtfunc-hp.cc: new file.
21534 * gdb.hp/watchpoint-hp.c: new file.
21535 * gdb.hp/xdb.c: new file.
21536 * gdb.hp/xdb0.c: new file.
21537 * gdb.hp/xdb0.h: new file.
21538 * gdb.hp/xdb1.c: new file.
21539
21540Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
21541
21542 The following change was made by Edith Epstein
889bf7c5
PA
21543 <eepstein@cygnus.com> as part of a project to merge in changes
21544 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
21545
21546 * gdb.c++/demangle.exp: changed the expected output for some
21547 ARM-style mangling -- removed second reference to datatype.
889bf7c5 21548 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 21549 T1<char>::~T1<char>(void)
c906108c 21550 becomes,
a9c64011
AS
21551 maint demangle __dt__11T1__pt__2_cFv
21552 T1<char>::~T1(void)
c906108c 21553
889bf7c5 21554 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 21555
c906108c
SS
21556Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
21557
21558 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
21559 * gdb.trace/backtrace.exp: Likewise.
21560 * gdb.trace/circ.exp: Likewise.
21561 * gdb.trace/collection.exp: Likewise.
21562 * gdb.trace/deltrace.exp: Likewise.
21563 * gdb.trace/infotrace.exp: Likewise.
21564 * gdb.trace/limits.exp: Likewise.
21565 * gdb.trace/packetlen.exp: Likewise.
21566 * gdb.trace/passc-dyn.exp: Likewise.
21567 * gdb.trace/passcount.exp: Likewise.
21568 * gdb.trace/report.exp: Likewise.
21569 * gdb.trace/save-trace.exp: Likewise.
21570 * gdb.trace/tfind.exp: Likewise.
21571 * gdb.trace/tracecmd.exp: Likewise.
21572 * gdb.trace/while-dyn.exp: Likewise.
21573 * gdb.trace/while-stepping.exp: Likewise.
21574
215751998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
21576
21577 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
21578
21579Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
21580
21581 From Brendan Kehoe:
21582 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
21583 int return types.
21584
21585Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
21586
21587 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 21588 remote dos host testing right.
c906108c
SS
21589
21590Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
21591
21592 * gdb.base/corefile.exp: remove some xfails.
21593
21594Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
21595
21596 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 21597 have different timestamps.
c906108c
SS
21598
21599Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
21600
21601 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 21602 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
21603
21604Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
21605
21606 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 21607 delta.
c906108c
SS
21608
21609Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
21610
21611 * gdb.base/default.exp: Add brace missing from previous delta.
21612
21613Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
21614
21615 * gdb.base/default.exp: Support test for info float for all
21616 varieties of arm toolchain.
21617
dc96c6c7 21618Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21619
21620 * gdb.trace/*.exp: remove "remote_download" command.
21621
dc96c6c7 21622Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21623
21624 * gdb.trace/*.exp: remove -gdwarf from compile.
21625
21626Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
21627
21628 * gdb.trace/configure.in(AC_INIT): typo
21629 * gdb.trace/configure: regenerated
21630
dc96c6c7 21631Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21632
21633 * config/m68k-emc.exp: New file.
21634 * lib/<emc-support.exp trace-support.exp}: New files.
21635 * configure.in: add new test directory gdb.trace.
21636 * gdb.trace/{configure configure.in Makefile.in}: New files.
21637 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
21638 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
21639 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
21640 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
21641 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
21642 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
21643 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 21644
dc96c6c7 21645Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21646
21647 * gdb.c++/classes.exp: Change all regular expressions to match
21648 arbitrary combinations of newline/carriage-return, so that they
21649 will work equally well on Unix and Windows.
21650 * gdb.c++/inherit.exp: ditto.
21651 * gdb.c++/virtfunc.exp: ditto.
21652
216531998-08-11 Dawn Perchik <dawn@cygnus.com>
21654
21655 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
21656
c2d11a7d
JM
21657Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
21658
21659 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
21660 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
21661 to use a0-a3/d0-d3 as needed.
21662
21663Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
21664
21665 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
21666 * gdb.disasm/am33.exp: Corresponding changes.
21667
c906108c
SS
216681998-07-11 Felix Lee <flee@cygnus.com>
21669
21670 * gdb.base/callfuncs.exp: add cmp10 test.
21671 * gdb.base/callfuncs.c (cmp10): new function.
21672
21673Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
21674
d63a86f8 21675 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
21676 into two parts to get around a synchronization problem in expect.
21677
3fc11d3e
JM
21678Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
21679
21680 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
21681
21682 * configure.in: Add options for gdbtk testsuite.
21683
21684 * configure: Regenerate.
21685
21686 * gdb.gdbtk: New directory to hold gdbtk tests.
21687
c906108c
SS
21688Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21689
21690 * gdb.fortran/types.exp: Escape brackets in expect patterns
21691 for test_float_literal_types_accepted tests.
21692 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
21693 before run test.
21694
c2d11a7d
JM
21695Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
21696
21697 * am33.exp: Just compile, do not link the testcase.
21698 * am33.s: Add ".am33" pseudoop to force am33 mode.
21699
c906108c
SS
217001998-06-25 Felix Lee <flee@cygnus.com>
21701
21702 * gdb.base/setshow.exp: make sure $pc is sane.
21703
21704 * gdb.stabs/weird.exp: split expect patterns properly.
21705
c2d11a7d
JM
21706Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
21707
21708 * gdb.disasm/am33.s: New disassembler testfile for the am33.
21709 * gdb.disasm/am33.exp: Run it.
21710
dc96c6c7 21711Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21712
21713 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
21714 match processing (and eliminate spurious timeouts when running).
21715
dc96c6c7 21716Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21717
21718 * gdb.base/signals.exp (test_handle_all_print): put back Mach
21719 exception test, but conditionalize it on target [mach | gnu].
21720
dc96c6c7 21721Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
21722
21723 * gdb.base/overlays.exp: fixup compile line for linker script.
21724
21725Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
21726
21727 * gdb.fortran/types.exp: don't guess at float size.
21728
21729Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
21730
21731 * gdb.base/exprs.exp: delete test that depends on int size.
21732
21733Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
21734
21735 * config/sim.exp: Removed checks for target triplets.
21736 (gdb_target_sim): Use gdb,target_sim_options.
21737
21738Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
21739
21740 * gdb.base/reread.exp: New file.
21741 * gdb.base/reread1.c: New file.
21742 * gdb.base/reread2.c: New file.
21743
21744Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
21745
21746 * config/sim.exp: Use 'target sim -sparclite' when running
21747 SPARClite programs.
21748
21749Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
21750
21751 * gdb.base/structs2.exp: New file.
21752 * gdb.base/structs2.c: New file.
21753
21754Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
21755
21756 * gdb.asm/common.inc: New file.
21757 * gdb.asm/d10v.inc: New file.
21758 * asm-source.exp: Pass -I's to gas to find .inc files.
21759 Update line numbers in expected output.
21760 * asmsrc1.s: Rewrite.
21761 * asmsrc2.s: Rewrite.
21762 * configure.in: Create arch.inc symlink.
21763 * configure: Regenerate.
21764 * Makefile.in (distclean): Delete arch.inc.
21765
21766Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
21767
21768 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
21769 (t_enum_value2): ditto
21770 (t_enum_value3): ditto
21771 (main): ditto
c906108c
SS
21772Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21773
21774 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
21775 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
21776 change.
21777 Use gdb_test instead of send_gdb/gdb_expect sequences.
21778
21779Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
21780
21781 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
21782 not void.
21783
21784Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
21785
21786 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
21787 subroutines. Used to test gdbs ability to single step through PC
21788 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
21789
21790Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
21791
21792 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
21793 more rigorous EGCS C++ error checking.
21794
21795Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21796
a9c64011
AS
21797 * gdb.base/help.exp: Clean up `help set args' and `help show args'
21798 tests.
21799 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
21800 function when asleep.
21801 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
21802 for i*86 Linux and SVR4 signal handling problems.
21803 Remove linux xfail for `next to handler in signals_tests_1', fixed
21804 by recent infrun.c change.
21805 Limit backtrace to 10 frames to avoid timeout problems with infinite
21806 stack backtraces.
21807 Adjust expect pattern in `handle all print' test to match Apr 28 1997
21808 target.[ch] change.
c906108c
SS
21809
21810Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
21811
21812 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
21813 for a newline from gdb before continuing.
21814 (default_gdb_exit): Just look for y or n.
21815 (gdb_test): Detect abnormal exit from GDB running on DOS; if
21816 it does, fail the rests of the tests in the file.
21817
21818Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
21819
21820 * config/cygmon.exp: New file.
21821
21822Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
21823
21824 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 21825 main" test on remote targets.
c906108c
SS
21826
21827 * gdb.base/scope.exp: Fix problem with filelocal_bss before
21828 run test on remote targets.
21829
21830Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
21831
21832 * gdb.asm: New directory.
21833 * configure.in: Configure it.
21834 * configure: Regenerate.
21835 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
21836 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
21837
21838Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
21839
21840 * config/mn10300-eval.exp: New file to support MN10300 eval board.
21841
dc96c6c7 21842Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 21843
a9c64011
AS
21844 * gdb.base/overlays (several files): Merge the two overlay
21845 managers into one. Change variables (foox, barx, bazx, grbxx)
21846 back into ints but force them to load in their proper sections.
c906108c
SS
21847
21848Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
21849
21850 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 21851 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
21852 (D10VCopy): Handle memory regions crossing 16k boundaries.
21853 (D10VCopy): Transfer data in 32 bit chunks.
21854
21855Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
21856
21857 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 21858 correct.
c906108c
SS
21859
21860 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 21861 map. Include space for printf in .text segment.
c906108c
SS
21862
21863 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 21864 updated d10v memory VMA/LMA map.
c906108c 21865 (D10VCopy): Call D10VTranslate.
d63a86f8 21866
c906108c
SS
21867Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
21868
21869 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
21870
21871 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
21872 that it won't be put into the .sdata - small data -
21873 section. Update reference.
c906108c
SS
21874 * gdb.base/baz.c (bazx, baz): Ditto.
21875 * gdb.base/foo.c (foox, foo): Ditto.
21876 * gdb.base/grbx.c (grbxx, grbx): Ditto.
21877
21878 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 21879 to be arrays.
d63a86f8 21880
dc96c6c7 21881Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 21882
a9c64011
AS
21883 * gdb.base/overlays.exp: fix up and get working again.
21884 Add tests for backtraces from an overlay function.
d63a86f8 21885
c906108c
SS
21886Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
21887
21888 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
21889 "calling function with watchpoint enabled".
21890
21891Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
21892
21893 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 21894 gdb_suppress_tests for d10v-*-*.
c906108c
SS
21895 * lib/gdb.exp (gdb_suppress_tests): Disable this function
21896 pending review of whether it is useful or not.
21897
21898Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
21899
21900 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
21901
21902Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
21903
21904 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
21905 * config/dve.exp: New file to support Densan boards.
21906
21907Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
21908
21909 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 21910 reads and BSD.
c906108c
SS
21911
21912Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
21913
21914 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
21915 response.
21916
21917 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
21918
21919Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
21920
21921 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 21922 test.
c906108c
SS
21923
21924 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 21925 target_sizeof_long and target_bigendian_p.
c906108c 21926 (structs_by_value, structs_by_reference): Check values according
889bf7c5 21927 to targets word size and endianess.
d63a86f8 21928
c906108c
SS
21929Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
21930
21931 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 21932 output.
c906108c
SS
21933
21934Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
21935
21936 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 21937 Update test of set args help to match source change.
c906108c
SS
21938
21939Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
21940
21941 * gdb.base/default.exp: Expect help system output to be in
21942 alphabetical order.
21943 * gdb.base/help.exp: Ditto.
21944
21945Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
21946
21947 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
21948 "i*86-pc-linux-gnu*".
21949 * gdb.base/interrupt.exp: Ditto.
21950 * gdb.base/corefile.exp: Ditto.
21951
21952 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 21953 define vxworks when building the testcase.
c906108c
SS
21954
21955 * gdb.base/ptype.exp: Fix testnames to be unique.
21956 * gdb.base/radix.exp: Ditto.
21957 * gdb.base/term.exp: Ditto.
21958 * gdb.base/whatis.exp: Ditto.
21959 * gdb.c++/classes.exp: Ditto.
21960
21961Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
21962
21963 * gdb.base/callfuncs.exp: Fix indentation.
21964
21965 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
21966 suppress_flag has been set.
21967 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
21968 target feature.
21969
21970Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
21971
21972 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
21973 the testcase.
21974
21975 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 21976 set_debug_traps() and breakpoint().
c906108c
SS
21977 * gdb.c++/misc.cc (main): Ditto.
21978 * gdb.c++/templates.cc (main): Ditto.
21979 * gdb.c++/virtfunc.cc (main): Ditto.
21980
21981Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
21982
21983 * lib/gdb.exp(gdb_step_for_stub): New function.
21984 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
21985 exists, reload the executable and do a "continue" instead of
21986 doing a jump.
21987 (runto_main): Use gdb_step_for_stub.
d63a86f8 21988
c906108c 21989 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 21990 tests to have unique names.
c906108c
SS
21991 * gdb.base/callfuncs.exp: Ditto.
21992 * gdb.base/commands.exp: Ditto.
21993 * gdb.base/default.exp: Ditto.
21994 * gdb.base/help.exp: Ditto.
21995 * gdb.base/list.exp: Ditto.
21996 * gdb.base/opaque.exp: Ditto.
21997 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
21998 similar tests.
d63a86f8 21999
c906108c
SS
22000 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
22001 * gdb.c++/cplusfuncs.cc: Ditto.
22002 * gdb.c++/virtfunc.cc: Ditto.
22003
22004 * config/monitor.exp: Keep track of the last file we saw, rather
22005 than trying to get the info from gdb.
22006
22007 * gdb.fortran/types.exp: Move comment to previous line.
22008
22009Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
22010
22011 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 22012 target mode.
c906108c
SS
22013
22014Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
22015
22016 From Bob Manson:
22017 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 22018 string from GDB when it connects.
c906108c
SS
22019
22020 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
22021
22022Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
22023
22024 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
22025 if we can't get a debug format from GDB (we may be testing an
22026 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
22027
22028 * gdb.stabs/weird.exp: Fix quoting.
22029
22030 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
22031
22032Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
22033
22034 * config/arm-ice.exp: New file.
22035
22036Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
22037
22038 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 22039 until it has been modified to work with the new testsuite.
c906108c 22040
99707966 22041 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
22042 testcase won't compile, cause all of the testcases in the file to
22043 fail instead.
c906108c
SS
22044
22045 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
22046 (gdb_clear_suppressed): New procedure.
22047 (gdb_stop_suppressing_tests): Only clear suppress_flag if
22048 it contains a positive value.
22049
22050Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
22051
22052 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
22053
22054 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
22055
22056Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
22057
22058 * lib/gdb.exp (setup_xfail_format): New function.
22059 (get_debug_format): New function to get debug format.
22060 (debug_format): New global variable to hold last value set
22061 by get_debug_format.
22062 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 22063 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
22064 * gdb.c++/ptype.exp: Ditto.
22065 * gdb.c++/classes.exp: Ditto.
22066 * gdb.c++/cplusfuncs.exp: Ditto.
22067 * gdb.c++/inherit.exp: Ditto.
22068 * gdb.c++/templates.exp: Ditto.
22069 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 22070
c906108c
SS
22071Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
22072
22073 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
22074 host doesn't have a currently-open connection.
22075
22076 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
22077 any gdb stub target. Handle cases where gdb doesn't respond when
22078 interrupted in a sane fashion.
c906108c
SS
22079
22080 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 22081 same thing in a totally different way.
c906108c
SS
22082
22083 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 22084 setting "timeout".
c906108c 22085 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 22086 default_gdb_init now.
c906108c
SS
22087
22088Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
22089
22090 * gdb.base/printcmds.exp: Fix "check for floating addition"
22091 regexp to accept results within approx +/- .01 of exact value.
22092 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
22093
22094Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
22095
22096 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 22097 properly.
c906108c
SS
22098 (gdb_expect): Add optional timeout parameter, and add timeout
22099 value to various calls.
22100 (gdb_suppress_tests): Only give one warning message per group.
22101
22102Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
22103
22104 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
22105 global variables. Handle getting a value for $timeout more
22106 gracefully.
c906108c
SS
22107
22108Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22109
22110 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 22111 initialize.
c906108c 22112 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 22113 by a target configuration file.
c906108c
SS
22114 (gdb_expect): Pass the timeout to remote_expect.
22115
22116 * config/monitor.exp(gdb_load): Fix typo in regexp.
22117
22118Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
22119
22120 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
22121
22122Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
22123
22124 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
22125 here. Call gdb_target_exec before rebooting the target, to make
22126 sure the connection to the target is closed.
c906108c
SS
22127 (gdb_load): Pass the name of the executable to gdb_target_monitor.
22128 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
22129 Also detect "Timeout reading from remote" error.
22130
22131 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
22132 gdb_target_monitor. Don't call gdb_file_cmd here; let
22133 gdb_target_monitor do it.
c906108c
SS
22134
22135 * gdb.disasm/hppa.exp: Don't use exec_output.
22136
22137Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
22138
22139 * gdb.base/list.exp: If we're debugging a non-native target,
22140 try to set the pc register to point to the start of the
22141 program before doing the first list command.
22142
22143 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 22144 test_calls after restarting.
c906108c
SS
22145
22146 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 22147 reloading.
c906108c
SS
22148
22149 * gdb.base/watchpoint.exp: Fix typo.
22150
22151 * gdb.base/setshow.exp: Check for use_gdb_stub.
22152
22153 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 22154 stub case.
c906108c
SS
22155 * gdb.base/langs.exp: Ditto.
22156
22157 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
22158 gdb_load_offset. If we weren't given a file to load, figure out
22159 what the current file is and use it.
c906108c
SS
22160
22161 * config/i386-bozo.exp: New file.
22162
22163Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
22164
22165 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
22166 feature.
22167
22168 * config/proelf.exp: New entry.
22169
22170Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
22171
22172 * lib/gdb.exp: Remove spurious .* patterns at the beginning
22173 of regexps.
22174
22175 * gdb.base/watchpoint.exp: Don't run the test_stepping
22176 tests if gdb can't call functions on the target.
22177
22178 * gdb.base/setshow.exp: Don't run the set prompt tests if
22179 the board has gdb_prompt set.
22180
22181Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
22182
22183 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
22184 * gdb.base/commands.exp: Likewise.
22185 * gdb.base/setshow.exp: Likewise.
22186
22187Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
22188
22189 * config/monitor.exp(gdb_start): Look for gdb_prompt target
22190 feature.
22191
22192 * config/i960.exp: New file.
22193
22194Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
22195
22196 * gdb.base/funcargs.exp: Check for gdb,short_int target
22197 feature instead of looking for explicit target triplets.
22198
dc96c6c7 22199Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 22200
d63a86f8 22201 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
22202 "p 123DEADBEEF", to check parse_number.
22203 * top.c: change "to enable to enable" to "to enable" in a couple
22204 of help strings.
22205
22206Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
22207
22208 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
22209 on the mn10300.
d63a86f8 22210
c906108c
SS
22211Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
22212
22213 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
22214 where the test executable is run with explicit args.
22215 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
22216
22217Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
22218
22219 * gdb.base/run.c: Use FAKEARGV to build test executable that
22220 does not require a command line arg, since most simulators
22221 don't currently support passing such an arg into the simulated
22222 program.
22223 * gdb.base/commands.exp: Change tests to insert the proper
22224 value as the arg to the first recursive factorial call. Change
22225 compilation line to define FAKEARGV at compile time.
22226
22227Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
22228
22229 * gdb.base/recurse.exp: Enable these tests for the mn10300.
22230 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
22231 function with watchpoint enabled" test.
22232
22233Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
22234
22235 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 22236 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
22237
22238 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 22239 "Tests restarted" messages.
c906108c
SS
22240
22241Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
22242
22243 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
22244
dc96c6c7 22245Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22246
22247 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
22248 for INFO SYMBOL; add help tests for OVERLAY commands.
22249 * gdb.base/default.exp: add tests for INFO SYMBOL command;
22250 add tests for OVERLAY commands
22251 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
22252 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
22253 * gdb.base/sigall.c: add usestubs code frag
22254 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 22255
c906108c
SS
22256Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
22257
22258 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
22259 failures.
22260 (gdb_stop_suppressing_tests): Note that tests have restarted.
22261
22262Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
22263
22264 * config/h8300.exp: New file.
22265
22266Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
22267
22268 * gdb.base/setshow.exp: Check for the existence of a
22269 feature, not its value.
22270
22271Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
22272
22273 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
22274
22275 * gdb.base/scope.exp: It's now init0(), not init().
22276
22277 * gdb.base/scope0.c: For now, change init() to be init0().
22278
22279 * config/monitor.exp: Use gdb_serial in preference to serial
22280 or netport.
22281
22282 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 22283 and it's not already set.
c906108c
SS
22284
22285Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
22286
22287 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 22288 isn't using a stub and if it supports argument passing.
c906108c
SS
22289
22290Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
22291
22292 * config/udi.exp(gdb_start): Make sure UDICONF is set
22293 properly before starting gdb.
22294
22295Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
22296
22297 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
22298 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
22299 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
22300
22301Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
22302
22303 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 22304 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
22305
22306 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
22307
22308 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
22309
22310 * config/monitor.exp: Make sure we disconnect from the target.
22311 Also, try a reboot/reload cycle instead of failing if the
22312 load fails.
22313
22314Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
22315
22316 * gdb.base/default.exp: Don't set match_max.
22317 * gdb.base/help.exp: Ditto.
22318 * gdb.base/list.exp: Ditto.
22319 * gdb.base/signals.exp: Ditto.
22320
22321 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
22322 set, use remote_ld to download the testcase instead of
22323 the GDB loader.
22324
22325Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
22326
22327 * config/vr5000.exp: New file.
22328
22329 * config/monitor.exp(gdb_target_monitor): Add pattern for
22330 "Ending remote" to detect errors in connecting.
22331
22332 * gdb.base/setshow.exp: Add .* within auto language test.
22333
22334 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
22335 target feature.
22336
22337 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 22338 and reboot the board if necessary.
c906108c
SS
22339
22340 * gdb.base/setvar.exp(test_set): Handle multiple prints within
22341 a set of tests. Remove print.* from the patterns being checked.
22342
22343Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
22344
22345 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
22346 refer to gdb_spawn_id.
22347
22348 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
22349 longer used.
22350 * config/sparclet.exp: Ditto.
22351 * config/sparclet-old.exp: Ditto.
22352 * config/slite.exp: Ditto.
22353 * config/sim.exp: Ditto.
22354 * gdb.base/funcargs.exp: Ditto.
22355
22356 * lib/gdb.exp:Remove references to gdb_spawn_id.
22357 (gdb_expect): Move to remote.exp.
22358
22359Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
22360
22361 * config/monitor.exp: Detect the "Couldn't establish connection"
22362 message from GDB.
22363
22364Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
22365
22366 * gdb.base/bitfields.exp: Use runto instead of explicit
22367 gdb_run_cmd/gdb_expect sequences.
22368
22369 * gdb.base/break.exp(text_next_with_recursion): Add match for
22370 gdb_expect call.
22371
22372 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
22373 We also need to handle the "A program is being debugged already"
22374 prompt from gdb. Use gdb_test to set the baud rate.
22375
22376 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
22377 to 20000. Really. I mean it.
22378
22379Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22380
22381 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
22382 fails. If suppress_flag is set, skip perror message about not
22383 being able to send to GDB.
c906108c 22384 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 22385 GDB.
c906108c
SS
22386 (gdb_expect): If suppress_flag is set, always fail immediately.
22387 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
22388 (gdb_init): Call gdb_stop_suppressing_tests.
22389 (default_gdb_exit): Ditto.
22390 (default_gdb_start): Ditto.
22391
22392 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 22393 gdb_stop_suppressing_tests as appropriate.
c906108c 22394 * gdb.base/break.exp: Ditto.
889bf7c5 22395 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
22396 * gdb.base/commands.exp: Ditto.
22397 * gdb.base/exprs.exp: Ditto.
889bf7c5 22398 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
22399 * gdb.base/list.exp: Ditto.
22400 * gdb.base/recurse.exp: Ditto.
889bf7c5 22401 * gdb.base/scope.exp: Ditto.
c906108c
SS
22402 * gdb.base/structs.exp: Ditto.
22403 * gdb.c++/inherit.exp: Ditto.
22404
22405Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
22406
22407 * config/vr4300.exp: New file.
22408
99707966 22409 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 22410
99707966 22411 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
22412
22413Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
22414
22415 * lib/gdb.exp(gdb_init): New function.
22416
22417 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 22418 for each individual variable set.
c906108c
SS
22419
22420 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
22421 name.
22422
22423 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
22424
22425 * gdb.base/scope.exp: Use gdb_test.
22426
22427 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
22428 aborting; the testsuite driver will do that for us (see
22429 gdb_finish). Also, use gdb_test in a few more places.
22430
22431Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
22432
22433 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
22434
22435Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
22436
22437 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
22438 and "add_tests" are not at the same address.
22439
22440Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
22441
22442 * gdb.base/ptype.exp: Use gdb_test.
22443
22444Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
22445
22446 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
22447 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
22448 left in. No longer expect them to fail.
22449
22450 * gdb.stabs/*.mt; Deleted, no longer used.
22451 * gdb.stabs/configure.in: Remove references to target makefile
22452 frags.
22453 * gdb.stabs/configure: Rebuilt.
22454
22455 * gdb.disasm/*.mt: Deleted, no longer used.
22456 * gdb.disasm/configure.in: Remove references to target makefile
22457 frags. Use "sh3.s" as the unique filename for this directory.
22458 * gdb.disasm/configure: Rebuilt.
22459
22460 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
22461 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
22462 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
22463
22464Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
22465
22466 * config/udi.exp: Use mondfe,name instead of remote_host.
22467
22468Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
22469
22470 * gdb.base/watchpoint.exp: Don't expect a failure when calling
22471 a function with a watchpoint enabled on the mn10200.
22472
22473 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
22474 before trying to create it!
22475
22476Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
22477
22478 * config/vx.exp: Use hostname instead of netport.
22479
22480 * config/vxworks.exp: New file.
22481
22482 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
22483
22484 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 22485 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
22486 occurs.
22487
22488 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
22489 $gdb_spawn_id directly.
22490 (gdb_run_cmd): Try _start as well as start. Use the target feature
22491 gdb,start_symbol as the symbol to start from when jumping.
22492
22493Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
22494
22495 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
22496 redundant) test.
22497
22498 * gdb.base/recurse.exp: Relax final value test for 'b' so that
22499 it doesn't lose for 16bit integer systems.
22500
22501Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
22502
22503 * gdb.fortran/types.exp: If the target doesn't support "double"
22504 data types, then expect "real" types to only be 4 bytes.
22505
22506 * gdb.c++/virtfunc.exp: Expect failure for virtual function
22507 call tests if the target doesn't support inferior function calls.
22508
22509 * gdb.base/printcmds.exp: Allow minor deviation in FP values
22510 in printf tests.
22511
22512Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
22513
22514 * gdb.base/help.exp: Disable "help set", "help show", and
22515 "help support". Simplify regexp for "help stack".
22516
22517 * gdb.base/default.exp: Set match_max to 5000 and the timeout
22518 to 60 seconds. Temporarily set match_max to 15000 around the
22519 "info copying" test.
22520
22521 * gdb.base/nodebug.exp: Don't try to do an inferior function
22522 call if the target doesn't support them.
22523 * gdb.base/printcmds.exp: Likewise.
22524 * gdb.base/setvar.exp: Likewise.
22525 * gdb.base/structs.exp: Likewise.
22526 * gdb.c++/templates.exp: Likewise.
22527 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
22528
22529 * gdb.base/recurse.exp: Enable for the mn10200.
22530
22531 * configure.in: Do configure gdb.stabs directory for *-*-elf
22532 targets.
22533 * configure: Rebuilt.
22534
22535 * gdb.base/break.exp: Check for gdb,noresults before testing
22536 exit status and/or results from the target.
22537 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
22538 * lib/gdb.exp: Remove old (now bogus) initialization of
22539 noinferior, noargs, noresults and nosignals.
22540
22541Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
22542
22543 * config/sh.exp: New file.
22544
22545 * config/slite.exp: Try to connect multiple times to the board
22546 before rebooting. Only send a "monitor run" if need_monitor_run
22547 is set.
22548
22549 * gdb.base/break.exp: Don't do the "stub continue" test if
22550 the target has gdb_stub set.
22551
22552 * gdb.base/callfuncs.exp: Increase the timeout.
22553
22554 * gdb.base/interrupt.exp: Don't even try to compile the testcase
22555 if the target has gdb,noinferiorio set.
22556
22557 * gdb.base/list.exp: Increase match_max to 10000 characters.
22558
22559 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
22560
22561 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
22562 target.
22563
22564 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
22565
22566Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
22567
22568 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
22569 trying to delete the copy of gdb. Catch the file delete so we
22570 don't die if the delete fails; also, the file should be copied to
22571 the host, not to the build.
c906108c
SS
22572
22573Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
22574
22575 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 22576 parenthesis in case it contains multiple regexps separated
c906108c
SS
22577 with |.
22578
22579 * gdb.base/watchpoint.exp: Use gdb_test.
22580 * gdb.base/default.exp: Ditto.
22581
22582Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
22583
99707966 22584 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 22585
c906108c
SS
22586 * gdb.base/scope.exp: Use gdb_test.
22587 * gdb.c++/classes.exp: Ditto.
22588 * gdb.c++/inherit.exp: Ditto.
22589
22590Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
22591
22592 * gdb.base/crossload.exp: Don't use execute_anywhere, use
22593 remote_exec instead.
22594 * gdb.base/corefile.exp: Don't be ridiculous.
22595 * gdb.base/*.c: Add missing stub invocations.
22596
22597Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
22598
22599 * config/slite.exp: Miscellaneous fixes.
22600
22601 * lib/gdb.exp: Fix runto.
22602
22603 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
22604 the target.
22605
22606 * gdb.base/watchpoint.exp: Fix regexp.
22607
22608 * lib/gdb.exp(default_gdb_exit): Add a catch to the
22609 close and wait commands, as the descriptor may now be
22610 invalid. Always call "remote_close host".
22611
22612Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
22613
22614 Major rewrite for testsuite revision.
d63a86f8 22615
c906108c
SS
22616 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
22617 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
22618 instead of relying on spawn_id to always contain a valid
22619 spawn id.
22620 (get_compiler_info): New procedure to build the ${binfile}.ci
22621 file, instead of replicating this in N different places.
22622 (gdb_compile): New procedure.
d63a86f8 22623
c906108c 22624 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
22625 appropriate arguments) instead of compile. Use gdb_test in a lot
22626 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
22627 at the start of a testcase, as this is no longer done magically.
22628
22629 config/*-gdb.exp: Rename without the -gdb suffix.
22630
22631 config/mips.exp: Use remote_close instead of exit_remote_shell.
22632 config/monitor.exp: Use target_info instead of looking at
22633 baud, timeout, etc.
22634 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
22635
22636Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22637
22638 * gdb.c++/templates.exp (test_ptype_of_templates),
22639 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
22640 Update expect patterns for destructors and assignment operators
22641 to match corresponding c-typeprint.c changes.
22642 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
22643 to destructor breakpoint test, GDB should be able to set the
22644 destructor breakpoint without specifying arguments.
22645
22646Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
22647
22648 * gdb.threads/pthreads.exp: Change result for failure to compile due
22649 to lack of pthreads runtime support from an error to simply an
22650 unsupported test, per dejagnu standards.
22651
22652Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22653
22654 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
22655 where GDB exits to reduce pattern match time.
22656 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
22657
22658 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
22659
dc96c6c7 22660Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22661
22662 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
22663 * gdb.base/default.exp: ditto.
22664 * gdb.base/nodebug.exp: ditto.
22665 * gdb.base/printcmds.exp: ditto.
22666 * gdb.base/ptype.exp: ditto.
22667 * gdb.base/setvar.exp: ditto.
22668 * gdb.base/structs.exp: ditto.
22669 * gdb.base/setshow.c: Guard against uninitialized values of argc.
22670
22671Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
22672
22673 * configure, */configure: Rebuild with autoconf 2.12.
22674
22675Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
22676
22677 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
22678 use new i*86-pc-linux*-gnu quads.
22679 * gdb.base/corefile.exp: Ditto.
22680 * gdb.base/signals.exp: Ditto.
22681 * gdb.base/sigall.exp: Ditto.
22682 * gdb.base/interrupt.exp: Ditto.
22683
22684 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
22685 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
22686 RedHat 4.0.
d63a86f8 22687
c906108c 22688 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
22689 linux. This allows the test case to at least compile on latest
22690 linux, but still not run due to missing the threads runtime library.
c906108c
SS
22691
22692Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22693
22694 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
22695 directory to search gdb directory. Accept and step over conditional
22696 stack alignment code. Consume $prompt in failure cases.
22697 Reset timeout to $oldtimeout instead of some arbitrary value.
22698 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
22699 timeout problems with infinite stack backtraces.
22700 * gdb.base/ptype.exp (ptype struct link, union tu_link):
22701 Accept function parameters for linkfunc member.
22702
22703Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
22704
22705 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
22706 (CXXFLAGS): Remove, unreferenced.
22707 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
22708 previous -B options and also add -B option to pick up cross compiled
22709 runtime.
c906108c
SS
22710 (TARGET_INCLUDES): Add for -I options and add code to initialize when
22711 doing cross compiles.
22712 (target_alias): Declare global.
22713 (xgcc): Set variable to full path of gcc in build tree. Use findfile
22714 to verify that gcc exists in build tree, and if so set CC to that
22715 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 22716
c906108c
SS
22717Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
22718
22719 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
22720 ptype test for anonymous union. Fixup testcase to match
22721 current gcc debug output.
22722
22723Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
22724
22725 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
22726 force argument to an unsigned long type.
22727
22728Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
22729
22730 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 22731 tests and anonymous union print/ptype tests.
c906108c
SS
22732 * gdb.base/list.exp (test_forward-search): Increase timeout by
22733 5 minutes for the "search extremely long line" case.
22734 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
22735 completely optional and that the pass/fail messages use the command as
22736 the message if that third arg is a null string.
22737 (gdb_test_exact): Arrange that a null string pattern means match a
22738 null string output rather than any output, which might include random
889bf7c5 22739 errors.
c906108c
SS
22740 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
22741 backtrace test.
22742 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
22743 always failing and failure is now exposed by gdb.exp changes.
22744
22745Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
22746
22747 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
22748 weren't being noted.
22749
22750Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22751
22752 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
22753 * gdb.stabs/weird.exp: Remove v_comb xfails.
22754
dc96c6c7 22755Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22756
22757 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 22758 list.exp scope.exp watchpoint.exp]
c906108c 22759 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 22760
dc96c6c7 22761Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22762
22763 * config/monitor.exp: Increase download timeout to 1000 seconds.
22764
dc96c6c7 22765Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22766
22767 * config/m32r.exp: Increase timeout to 120 seconds.
22768
22769Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
22770
22771 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
22772 and accept older ordering as obsolescent gcc or gdb.
22773 * gdb.c++/templates.exp: Ditto.
22774 * gdb.c++/virtfunc.exp: Ditto.
22775
22776Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
22777
22778 * gdb.base/coremaker.c: Add code to mmap some data so we
22779 can check that it ends up in the core file.
22780 * gdb.base/corefile.exp: Add test to read mmapped data
22781 from core file.
22782
dc96c6c7 22783Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22784
22785 * config/m32r.exp: New file.
22786
22787Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
22788
22789 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
22790 that cflags can contains -gstabs, and work correctly for other tests.
22791
dc96c6c7 22792Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
22793
22794 * gdb.base/setshow.exp: New file, tests show and set.
22795 * gdb.base/setshow.c: New file, tests show and set.
22796 * gdb.base/help.exp: Add test for help set|show annotate.
22797 * gdb.base/default.exp: Add test for set|show annotate.
22798
22799Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
22800
22801 * testsuite/gdb.base/break.exp: Make backtrace from factorial
22802 errors unique.
22803 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
22804 explicitly.
22805
22806Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
22807
22808 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
22809 and width commands. This is done elsewhere.
22810 * (gdb_start): Don't call gdb_start_sim here. That's already
22811 done in gdb_load. This fixes lots of failures in default.exp.
22812
22813Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
22814
22815 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
22816 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
22817 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
22818 in the same we we treat other failures (since it may be an expected
889bf7c5 22819 condition), rather than as an error.
c906108c
SS
22820 * gdb.base/signals.exp (test_handle_all_print): Revert back to
22821 old test format.
22822
22823Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
22824
22825 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
22826 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 22827 twice. Nuke the duplicates.
c906108c 22828 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 22829 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
22830 Remove config.h along with other config files.
22831
22832Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
22833
22834 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
22835 "p func1 ()" and note that rests of tests are skipped.
22836 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 22837 setup_xfails for "print func2::coremaker_local".
c906108c
SS
22838 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
22839 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
22840 affected by the previous run test.
22841 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
22842 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
22843 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
22844 "pass int powerset tuple" and "pass modeless int powerset tuple".
22845 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
22846 "real write 4" and "real write 8".
22847 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 22848 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
22849 "print \$i after tuple assign 2", and
22850 "print vs2 after tuple assign 2".
22851 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
22852 meaningful error message and return -1 so the caller can
22853 suppress further tests and avoid a cascade of errors.
d63a86f8 22854
c906108c
SS
22855Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
22856
22857 * gdb.base/a1-selftest.exp: Tweak tests to account for new
22858 format for printing version.
22859 * gdb.base/default.exp: Ditto.
22860 * gdb.base/interrupt.exp: Fix problem with cascade of
22861 errors if child process dies while calling a function.
d63a86f8 22862
c906108c
SS
22863Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
22864
22865 * Makefile.in (VPATH): Add
22866 * Makefile.in (Makefile, config.status): Fix rules so things get
22867 remade when necessary.
22868
22869Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
22870
22871 * Makefile.in (just-check): Add path to sibling expect dir
22872 to environment variable specified by RPATH_ENVVAR.
22873
22874Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
22875
22876 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
22877 (just-check): Add shared library paths for libstdc++, tk,
22878 tcl, bfd, and opcodes to the environment variable specified
22879 in RPATH_ENVVAR.
22880 * configure.in: Add support to recognize --enable-shared flag
22881 and generate correct value for RPATH_ENVVAR.
22882 * configure: Regenerated with autoconf.
22883
22884Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
22885
22886 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 22887 include all osf versions.
c906108c
SS
22888 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
22889 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
22890 when target is linux. When failing to build pthreads test
22891 executable, give more meaningful message.
22892 * gdb.threads/pthreads.c: Hpux also uses old definition of second
22893 arg for pthread_create.
d63a86f8 22894
c906108c
SS
22895Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
22896
22897 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 22898 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 22899 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 22900 and -lpthreads (everybody else).
c906108c
SS
22901 (test_startup): Fail gracefully if threads are not supported.
22902 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
22903 "p/c array_index("abcdef",2)" when not gcc compiled.
22904 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
22905 "print func2::coremaker_local" when not gcc compiled.
22906 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
22907 "ptype on opaque struct tagname (statically)",
22908 "ptype on opaque struct tagname (dynamically) 1", and
22909 "ptype on opaque struct tagname (dynamically) 2"
22910 for not compiled with gcc.
22911 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
22912 backtrace when compiled with gcc.
d63a86f8 22913 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
22914 than always return success.
22915
22916Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
22917
22918 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
22919
22920Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
22921
22922 * gdb.base/structs.exp: Undo last change.
22923
22924Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
22925
22926 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
22927 encapsulate all the steps/nexts done during self test, starting
22928 at main, and makes them less sensitive to optimization issues.
22929 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
22930 signal handler" test.
22931 * gdb.threads/pthreads.exp: Only run this for native configs.
22932 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
22933 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
22934 tests.
22935 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
22936 for "runto test_calls(void)" test.
d63a86f8 22937
c906108c
SS
22938Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
22939
22940 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
22941 and don't expect address info in breakpoint confirmations.
22942
22943Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
22944
22945 * gdb.base/list.exp (test_forward_search): Increase timeout
22946 temporarily by 60 seconds for searching extremely long line,
889bf7c5 22947 and then reset to old value when done. Increase expect input
c906108c
SS
22948 buffer to 10000.
22949
22950Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
22951
22952 * gdb.base/list.exp (test_forward_search): Fix to handle very
22953 long source line without overflowing expect's input buffer.
22954
22955Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
22956
22957 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
22958 "buffer_full".
22959
22960 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
22961 "buffer_full".
22962
22963 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
22964 "buffer_full".
22965
22966 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
22967 "buffer_full".
22968
22969Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
22970
22971 * configure.in (configdirs): Add gdb.threads.
22972 * configure: Regenerated with autoconf.
22973 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
22974 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
22975 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 22976
c906108c
SS
22977Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
22978
22979 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
22980
22981Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
22982
22983 * gdb.base/signals.exp (test_handle_all_print): Test separately for
22984 each signal's status in the output of "handle all print".
22985 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
22986 the \r\n sequence that immediately precedes the gdb prompt.
22987 * gdb.base/a1-selftest.exp: Save original timeout and restore
22988 after test.
22989
22990Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
22991
22992 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
22993 symbol.
22994
22995Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
22996
22997 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
22998
22999Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
23000
23001 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
23002 timeout by 60 seconds.
23003
23004Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
23005
23006 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
23007 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
23008 error return.
23009
23010Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
23011
23012 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
23013 gdb initialization, also report how long dejagnu waited. Restore
23014 old timeout before doing error return. Temporarily increase timeout
889bf7c5 23015 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
23016
23017Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
23018
23019 * lib/gdb.exp: Report timeout value for verbosity level 2.
23020 * config/gdbserver.exp: Ditto.
23021 * config/hppro.exp: Ditto.
23022 * config/mips-gdb.exp: Ditto.
23023 * config/monitor.exp: Ditto.
23024 * config/netware.exp: Ditto.
23025 * config/sim-gdb.exp: Ditto.
23026 * config/slite-gdb.exp: Ditto.
23027 * config/udi-gdb.exp: Ditto.
23028 * config/unix-gdb.exp: Ditto.
23029 * config/vx-gdb.exp: Ditto.
23030 * gdb.base/a1-selftest.exp: Ditto.
23031 * gdb.base/a2-run.exp: Ditto.
23032 * gdb.base/break.exp: Ditto.
23033 * gdb.base/corefile.exp: Ditto.
23034 * gdb.base/list.exp: Ditto.
23035 * gdb.base/recurse.exp: Ditto.
23036 * gdb.base/scope.exp: Ditto.
23037 * gdb.base/signals.exp: Ditto.
23038
23039Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
23040
23041 * gdb.threads/Makefile.in (docdir): Removed.
23042
23043Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
23044
23045 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 23046 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 23047 @srcdir@.
d63a86f8 23048 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
23049 autoconf 2.5 or higher.
23050 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
23051
23052Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
23053
23054 * configure: Regenerated.
23055 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
23056 avoid name clashes with SunOS headers.
23057
23058Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
23059
23060 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
23061
23062Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
23063
23064 * gdb.base/callfuncs.exp: Finish last change -- make sure the
23065 prototype information ends up in the compiler info file.
23066
23067Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
23068
23069 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
23070 attempting to regenerate it. Eliminate use of a temporary file
23071 and just generate the info file directly. Source it immediately,
23072 for consistency of use.
23073 * gdb.base/corefile.exp: Ditto
23074 * gdb.base/exprs.exp: Ditto.
23075 * gdb.base/funcargs.exp: Ditto.
23076 * gdb.base/langs.exp: Ditto.
23077 * gdb.base/list.exp: Ditto.
23078 * gdb.base/mips_pro.exp: Ditto.
23079 * gdb.base/nodebug.exp: Ditto.
23080 * gdb.base/opaque.exp: Ditto.
23081 * gdb.base/ptype.exp: Ditto.
23082 * gdb.base/scope.exp: Ditto.
23083 * gdb.base/setvar.exp: Ditto.
23084 * gdb.base/signals.exp: Ditto.
23085 * gdb.base/whatis.exp: Ditto.
23086 * gdb.c++/templates.exp: Ditto.
23087 * gdb.c++/virtfunc.exp: Ditto.
23088 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 23089 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
23090
23091Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23092
23093 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
23094 it got fixed by the recent lookup_minimal_symbol_by_pc change.
23095 Increase timeout, a lot of single stepping might be needed if the
23096 target has no hardware watchpoints.
23097
23098Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
23099
23100 * gdb.base/break.exp: Ignore compiler warnings when compiling
23101 break.c.
23102 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
23103 * gdb.base/default.exp: Add h8300 xfails. Handle messages
23104 from remote-sim.
23105 * gdb.base/exprs.exp: Add h8300 xfails.
23106 * gdb.base/funcargs.exp: Likewise.
23107 * gdb.base/nodebug.exp: Likewise.
23108 * gdb.base/printcmds.exp: Likewise.
23109 * gdb.base/ptype.exp: Likewise.
23110 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
23111 h8300 xfails.
d63a86f8 23112 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
23113 on the h8300.
23114 * gdb.base/funcargs.c: Explicitly make last constant argument to
23115 call_after_alloca_subr an unsigned long type.
23116 * gdb.base/return.c: Include stdio.h.
23117
23118Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
23119
23120 * config/abug.exp: New file for the older Motorola Bug monitor
23121 that runs on the mvme13x series VME boards.
23122 * config/monitor.exp: Use the new config array for target settings
23123 if they exist.
23124
23125Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
23126
23127 * sim-gdb.exp: Make the SH simulator allocate less space when
23128 it is targeted.
23129
23130Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
23131
23132 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
23133 test.
23134
23135Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
23136
23137 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
23138 "rs6000-*-*" for "list function in include file" when gcc compiled.
23139 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
23140 for "p ctable1[120]".
23141 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
23142 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
23143 Remove setup_xfail for "rs6000-*-*" for
23144 "print 'scope0.c'::filelocal before run".
23145 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
23146 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
23147 since some compilers don't allow both options to be given
23148 on the same command line. Create object file and move it.
d63a86f8 23149
c906108c
SS
23150Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
23151
23152 * gdb.base/corefile.exp: Always regenerate the core file, since
23153 we always regenerate the coremaker program. Detect special case
23154 where registers cannot be read from core file.
d63a86f8 23155
c906108c
SS
23156Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
23157
23158 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
23159 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
23160 * gdb.c++/templates.exp: Only match on basename of file since
23161 some formats like xcoff don't encode directory information.
23162 * gdb.stabs/weird.exp: Use the right sed script for powerpc
23163 and rs6000 AIX xcoff targets.
23164 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
23165 * configure: Regenerate.
23166 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
23167 here, rather than in distclean.
d63a86f8 23168
c906108c
SS
23169Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
23170
23171 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
23172 defined, and use it to compile the test case with -O2. The
23173 native compilation still uses no optimization.
23174 * gdb.base/mips_pro.c: Remove inline assembly code since
23175 it is compiled PIC by default, which results in assembler
23176 warnings that make the testsuite think the compilation
23177 was unsuccessful.
23178
23179Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
23180
23181 * gdb.c++/misc.exp: Add note to message for
23182 "print s.a for foo struct" that this is a known gcc 2.7.2
23183 and earlier bug.
23184
23185Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
23186
23187 * gdb.base/break.exp: Fix pattern for matching "Delete all
23188 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
23189 setup_xfail for deleting all breakpoints test. Fix various
23190 timeout messages to include "(timeout)".
23191 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
23192 for "p t_float_values2(3.14159,float_val2)".
23193 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
23194 for "continue to call2g" when gcc compiled.
23195 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
23196 "up to foo in langs.exp", "show language at foo in langs.exp",
23197 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
23198 and "show language at fsub in langs.exp".
23199 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
23200 "list line 1 in include file", "list message for lines past EOF",
23201 "list function in include file", "list list0.h:foo", and
23202 "list filename:function; nonexistant function".
23203 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
23204 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
23205 and "ptype t_char_array" to be for native cc only.
d63a86f8 23206
c906108c
SS
23207Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
23208
d63a86f8 23209 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 23210 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 23211 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
23212
23213Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
23214
23215 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
23216 "bt in signals.exp". This problem only appears when running
23217 the testsuite, and then only intermittently.
23218
23219Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
23220
23221 * gdb.base/return.exp (return_tests): Differentiate between
23222 two tests of continuing.
23223
23224Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
23225
23226 * */Makefile.in (maintainer-clean): Remove config.log.
23227 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
23228 * gdb.c++/Makefile.in (PROGS): Add inherit.
23229 (clean): Remove *.ci.
23230
23231Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
23232
23233 * gdb.c++/misc.cc: Add test code from Mike Stump.
23234 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
23235
23236Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
23237
23238 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
23239 to "alpha-*-osf2*" and add comment.
23240 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
23241 setup_xfail for "step over execarg initialization" and
23242 "step over corearg initialization".
c906108c
SS
23243 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
23244 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
23245 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 23246 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
23247 "print func2::coremaker_local", and "backtrace in corefile.exp".
23248 * gdb.base/signals.exp: Build and source signals.ci.
23249 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
23250 to be for gcc only.
23251 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 23252
c906108c
SS
23253Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23254
23255 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
23256 Feb 3 procfs.c change.
23257
23258Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
23259
23260 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
23261
23262Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
23263
23264 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
23265 from dejagnu's apparent default of 10 seconds, which gives random
23266 results when running the tests over NFS on moderately loaded systems.
23267 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
23268
23269Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
23270
23271 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
23272 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 23273 result reports.
c906108c
SS
23274
23275Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
23276
23277 * configure.in (CY_AC_PATH_TCLH): Remove.
23278 * configure: Regenerate.
23279
23280Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
23281
23282 * gdb.c++/Makefile.in (clean): Add missing '{'.
23283
23284Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
23285
23286 * lib/gdb.exp: Provide a default value for noinferior.
23287
23288 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
23289 Load libgloss.exp.
23290
23291Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
23292
23293 * gdb.disasm/hppa.exp: Compile directly into an executable, use
23294 the executable, not the .o to run the tests from.
23295
23296Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
23297
23298 * gdb.base/break.exp: Don't test for program exit or exit status
23299 if $noresults if nonzero.
23300 * gdb.base/langs.exp: Likewise.
23301 * gdb.base/watchpoint.exp: Likewise.
23302
23303 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
23304 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
23305 trying to compile the testcase.
23306
23307Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
23308
23309 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
23310 * gdb.base/signals.exp (continue to handler): Likewise.
23311
23312Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
23313
23314 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
23315
23316 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
23317
23318Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
23319
23320 * gdb.base/corefile.exp: Recognize "not found" as failure
23321 when trying to determine if a core file was generated.
23322 If no core file was generate the first time, try again without
23323 the ulimit -c to work around braindamaged shells.
23324
23325Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
23326
23327 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
23328 [] tests with "test" and enclose string in quotes.
23329 * gdb.stabs/configure: Rebuild
d63a86f8 23330
c906108c
SS
23331Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
23332
23333 Changes in sync with expect:
23334 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
23335 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
23336 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
23337 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
23338 argument to AC_REQUIRE.
23339 * configure: Regenerated.
23340
23341Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
23342
23343 * gdb.base/corefile.exp: When generating a core, discard any
23344 error messages about ulimit not found and the "core dumped"
23345 message from the shell that runs the coredumper.
23346
23347Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
23348
23349 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
23350
23351 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
23352 which sed script to run. Expect failure for v_comb test
23353 on PA targets too.
d63a86f8 23354
c906108c
SS
23355Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
23356
23357 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 23358 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
23359
23360Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
23361
23362 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
23363 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 23364 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
23365 * lib/gdb.exp (default_gdb_start): Fix typo.
23366 * gdb.base/corefile.exp: Allow "Core was generated by ..."
23367 messages to not include the full program name that caused
23368 the core dump since some systems (such as solaris) apparently
23369 truncate this path to about 80 characters.
23370 When generating a core file first try increasing the core file
23371 size limit to unlimited since some systems may default it to
23372 zero, and it is harmless to try it. Move the test for failing
23373 to generate a core file to where it will actually get executed.
23374 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
23375 new gdb result from g++ debug info improvements and make old
23376 pattern obsolescent. Also account for size_t differences
23377 (may be int or long).
23378 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
23379 initialization before function call is placed in the delay slot
23380 and thus appears to be skipped over by commands such as "next".
23381
23382Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
23383
23384 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
23385
23386Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
23387
23388 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
23389 input source file; fix code to compile test to deal with this
23390 convention.
23391 * gdb.c++/*.exp: Likewise.
23392
23393Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
23394
23395 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
23396 "bt in signals.exp".
23397
23398Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
23399
23400 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
23401 "step over execarg initialization" and
889bf7c5 23402 "step over corearg initialization".
c906108c
SS
23403
23404Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
23405
23406 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
23407 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
23408
23409Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
23410
23411 From Rob Savoye (rob@poseidon.cygnus.com)
23412 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
23413 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
23414 configure.in}, gdb.disasm/{Makefile.in, configure.in},
23415 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
23416 configure.in}: Major reworking for autoconfig.
c906108c
SS
23417 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
23418 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 23419 New files.
c906108c
SS
23420 * config/unix-gdb.exp: Make GDB global.
23421 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
23422 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
23423 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
23424 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
23425 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
23426 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 23427 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
23428 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
23429 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
23430 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
23431 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 23432 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
23433 to returns as necessary, arrange for test to compile own testcase
23434 executable.
c906108c 23435 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 23436
c906108c
SS
23437Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
23438
23439 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 23440 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
23441 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
23442 "backtrace through signal handler".
23443
23444Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23445
23446 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
23447 continuing from a job control stop signal.
23448 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
23449
23450Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
23451
23452 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
23453 * gdb.base/corefile.exp: Likewise.
23454 * gdb.base/funcargs.exp: Likewise.
23455
23456Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
23457
23458 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
23459 * config/monitor.exp: Add support for setting baud rate.
23460
23461Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
23462
23463 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
23464 i*86-*-linux* xfails for "backtrace through signal handler".
23465 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
23466 "print func2::coremaker_local".
23467 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 23468 alpha-dec-osf2* xfail for
c906108c
SS
23469 "delete all breakpoints when none".
23470
23471Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
23472
23473 * gdb.base/break.exp: Change test that deletes all breakpoints
23474 when no user breakpoints are installed. A post 4.15 change
23475 causes gdb to no longer prompt in this case.
23476
23477Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
23478
23479 * gdb.base/return.exp (return_tests): Change xfail for test
23480 "correct value returned double test" to stop xfailing at
23481 Solaris 2.5. Apparently the bug has been fixed.
23482
23483Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
23484
23485 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
23486 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
23487
23488Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
23489
23490 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
23491 * gdb.disasm/hppa.s: Corresponding changes.
23492
23493Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
23494
23495 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
23496 makefile fragment.
23497 * config/mt-hpux: Deleted.
23498
23499Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
23500
d63a86f8 23501 * Many files: When warning about suppressed tests due to a
c906108c
SS
23502 nonexistant test binary, avoid incrementing the warning count.
23503
23504Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
23505
23506 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 23507
c906108c
SS
23508Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23509
23510 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
23511 "sparc-*-solaris2*".
23512
23513Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23514
23515 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
23516 Add global and local variables and initialize them.
23517 * gdb.base/corefile.exp: Test correct mapping of corefile sections
23518 by printing variables. Remove rs6000 and powerpc xfails, BFD now
23519 extracts the file name and terminating signal from the core file.
23520 * TODO: Remove note about tests for correct mapping of corefile.
23521 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
23522 from optimizing it away.
23523 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
23524 handles common blocks.
23525
23526Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
23527
23528 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
23529 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
23530
23531Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
23532
23533 * Makefile.in (maintainer-clean): New target, synonym for
23534 realclean.
23535 * gdb.base/Makefile.in (maintainer-clean): Likewise.
23536 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
23537 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
23538 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
23539 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
23540 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
23541
23542Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
23543
23544 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
23545 xfails when not gcc compiled for "print foo::funclocal".
23546 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
23547 "print foo::funclocal at foo",
23548 "print 'scope1.c'::foo::funclocal at foo",
23549 "print foo::funclocal_bss at foo",
23550 "print 'scope1.c'::foo::funclocal_bss at foo",
23551 "print foo::funclocal_ro at foo",
23552 "print 'scope1.c'::foo::funclocal_ro at foo",
23553 "print bar::funclocal at foo" and
23554 "print 'scope1.c'::bar::funclocal at foo".
23555 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
23556 gcc compiled for "print foo::funclocal at bar".
23557 Expand all messages to ensure that they identify that
23558 the test is at bar().
23559 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
23560 gcc compiled for:
23561 "ptype on opaque struct pointer (statically)",
23562 "ptype on opaque struct tagname (statically)",
23563 "ptype on opaque struct pointer (dynamically) 1",
23564 "ptype on opaque struct tagname (dynamically) 1",
23565 "ptype on opaque struct pointer (dynamically) 2" and
23566 "ptype on opaque struct tagname (dynamically) 2
23567 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
23568 gcc compiled for:
23569 "p datalocal"
23570 "whatis datalocal",
23571 "ptype datalocal",
23572 "p bsslocal",
23573 "whatis bsslocal", and
23574 "ptype bsslocal".
23575 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
23576 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
23577 when not gcc compiled.
23578 * gdb.base/funcargs.exp (float_and_integral_args): Add
23579 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
23580 compiled.
23581 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
23582 "backtrace from call6a" when not gcc compiled.
23583 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
23584 "backtrace from call7a" when not gcc compiled.
23585 * gdb.base/callfuncs.exp (do_function_calls):
23586 Add "hppa*-*-hpux*" xfail when not gcc compiled for
23587 "p t_char_array_values(char_array_val2,char_array_val1)",
23588 "p t_char_array_values(char_array_val1,char_array_val2)",
23589 "p t_char_array_values("carray 1","carray 2")",
23590 "p t_char_array_values("carray 1",char_array_val2)",
23591 "p t_char_array_values(char_array_val1,"carray 2")",
23592 "p sum_args(1,{2})",
23593 "p sum_args(2,{2,3})",
23594 "p sum_args(3,{2,3,4})",
23595 "p sum_args(4,{2,3,4,5})"
23596 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
23597 "backtrace in corefile.exp" when not gcc compiled.
23598
23599Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23600
23601 * gdb.base/signals.exp: Rewrite `handle all print' test as
23602 a procedure. Accept blanks or TABs as whitespace, increase
23603 timeout and expect input buffer size for the large output
23604 from the command. Remove "i*86-*-bsdi2.0" xfail.
23605
23606Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23607
23608 * gdb.base/setvar.exp: Add new testcases for truncation when
23609 assigning invalid values to bitfields.
23610
23611Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
23612
d63a86f8 23613 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
23614 mips-sgi-irix* xfail for
23615 "call inferior func with struct - returns char *"
23616 and fix test so that an optional (unsigned char *) cast is
889bf7c5 23617 accepted in the result.
c906108c
SS
23618
23619Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
23620
23621 * gdb.base/funcargs.exp (float_and_integral_args): Remove
23622 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23623 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
23624 * gdb.base/signals.exp: Remove duplicate "handle all print" test
23625 that accidentally got checked in.
23626
23627Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
23628
d63a86f8 23629 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
23630 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
23631 compiled test.
23632 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
23633 Add mips-sgi-irix5* xfail for not gcc compiled.
23634 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
23635 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
23636 "p top", "whatis top", "p middle", and "whatis middle".
23637 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
23638 "whatis signed char" for not gcc compiled.
23639 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
23640 "set variable signed char=-1 (-1)" and
23641 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
23642 * gdb.base/funcargs.exp (float_and_integral_args):
23643 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
23644 Add mips-sgi-irix* xfail when not gcc compiled for
23645 "continue to call2b".
23646 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
23647 "continue to call2g".
23648 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
23649 "backtrace from call6a"
23650 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
23651 "backtrace from call7k".
23652 Add mips-sgi-irix5* xfail when not gcc compiled for
23653 "backtrace from call7a".
23654 (localvars_after_alloca): Fix gdb_test cmds for
23655 "print * after runto ...".
23656 Remove rs6000-*-* xfails for
23657 "print i after runto localvars_after_alloca" and
23658 "print l after runto localvars_after_alloca"
23659 for all compilers.
23660 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 23661 when not compiled with gcc, for:
c906108c
SS
23662 "print signed char == (minus)",
23663 "print signed char != (minus)",
23664 "print signed char < (minus)",
23665 "print signed char > (minus)".
23666 * gdb.base/callfuncs.exp (do_function_calls):
23667 Add mips-sgi-irix* xfail, when compiled with native compiler, for
23668 "call inferior func with struct - returns char *".
d63a86f8 23669 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
23670 "correct value returned double test" to include Solaris 2.4.
23671 * gdb.base/funcargs.exp (float_and_integral_args):
23672 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 23673
c906108c
SS
23674Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23675
23676 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
23677 enumeration bitfields if compiling with GNU C.
23678 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
23679 to empty' prompt.
23680
23681Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
23682
23683 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
23684 test for PRO targets.
23685
23686 * gdb.base/funcargs.exp: Avoid ever setting more than 8
23687 breakpoints in the inferior at any given time by making
23688 two groups of breakpoints for call2*, call6* and call7*
23689 tests.
23690
23691Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23692
23693 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
23694 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
23695 from optimizing it away.
23696 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
23697 "call inferior func with struct".
23698
23699Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
23700
23701 * configure.in: Only configure gdb.chill for particular targets.
23702
23703Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
23704
23705 * gdb.base/Makefile.in: Add action to .c.o transformation
23706 rule that generates a .ci file for each .o file and remove
23707 explicit .c.o rules except for callfuncs.o.
23708 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
23709 generates a .ci file for each .o file and remove explicit
23710 .cc.o rules.
23711 (clean): Remove *.tmp *.ci files.
23712 (EXECUTABLES): Remove templ-info.exp.
23713 * gdb.base/compiler.c: New file.
23714 * gdb.c++/compiler.cc: New file
23715 * gdb.base/scope.exp: Source gdb.base/scope.ci.
23716 Change rs6000-*-* xfail for
23717 "print 'scope0.c'::filelocal_ro" and
23718 "print 'scope1.c'::filelocal" and
23719 "print 'scope1.c'::filelocal_bss" and
23720 "print 'scope1.c'::filelocal_ro" and
23721 "print 'scope1.c'::foo::funclocal" and
23722 "print 'scope1.c'::foo::funclocal_ro" and
23723 "print 'scope1.c'::bar::funclocal" and
23724 "print 'scope0.c'::filelocal_ro" and
23725 "print 'scope1.c'::filelocal at foo" and
23726 "print 'scope1.c'::filelocal_bss at foo" and
23727 "print 'scope1.c'::filelocal_ro at foo" and
23728 "print 'scope1.c'::foo::funclocal at foo" and
23729 "print 'scope1.c'::foo::funclocal_bss at foo" and
23730 "print 'scope1.c'::foo::funclocal_ro at foo" and
23731 "print 'scope1.c'::bar::funclocal at foo" and
23732 "print 'scope0.c'::filelocal_ro" and
23733 "print 'scope1.c'::filelocal" and
23734 "print 'scope1.c'::filelocal_bss" and
23735 "print 'scope1.c'::filelocal_ro" and
23736 "print 'scope1.c'::foo::funclocal" and
23737 "print 'scope1.c'::foo::funclocal_bss" and
23738 "print 'scope1.c'::foo::funclocal_ro" and
23739 "print 'scope1.c'::bar::funclocal" and
23740 "print 'scope1.c'::bar::funclocal_bss"
23741 to only be xfail'd when not compiled with gcc.
d63a86f8 23742 Add rs6000-*-* xfail for
c906108c
SS
23743 "print 'scope0.c'::filelocal_bss before run"
23744 when compiled with gcc.
23745 (test_at_main): Add rs6000-*-* xfail for
23746 "print filelocal_ro in test_at_main"
23747 when compiled with gcc.
23748 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 23749 Add rs6000-*-aix* xfail for
c906108c
SS
23750 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
23751 "ptype t_char_array", not compiled with gcc.
23752 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
23753 xfail for "list foo (in include file)" when gcc compiled.
23754 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 23755 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
23756 "run to call0a" if not compiled with gcc.
23757 (unsigned_integral_args): Add rs6000-*-* xfail for
23758 "run to call1a" if not compiled with gcc.
23759 (float_and_integral_args): Add rs6000-*-* xfail for
23760 "run to call2a" if not compiled with gcc and for
23761 "continue to call2b" for any compiler.
23762 Add rs6000-*-* xfail to
23763 "print f1 after run to call2a" for gcc compiled.
23764 (discard_and_shuffle): Add rs6000-*-* xfail for
23765 "run to call6a".
23766 (shuffle_round_robin): Add rs6000-*-* xfail for
23767 "backtrace from call7a" if not compiled with gcc.
23768 Add rs6000-*-* xfail for
23769 "backtrace from call7b" if compiled with gcc.
23770 (call_after_alloca): Add rs6000-*-* xfail for
23771 "print c in call_after_alloca" and
23772 "print s in call_after_alloca" and
23773 "backtrace from call_after_alloca_subr"
23774 if not compiled with gcc.
23775 (localvars_in_indirect_call): Add rs6000-*-* xfail for
23776 "print c in localvars_in_indirect_call" and
23777 "print c in localvars_in_indirect_call" and
23778 "backtrace in indirectly called function" and
23779 "stepping into indirectly called function"
23780 if not compiled with gcc.
23781 (localvars_after_alloca): Add rs6000-*-* xfail for
23782 "print c after runto localvars_after_alloca" and
23783 "print s after runto localvars_after_alloca" and
23784 "print i after runto localvars_after_alloca" and
23785 "print l after runto localvars_after_alloca"
23786 for all compilers.
23787 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
23788 than whatis-info.exp.
23789 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
23790 than opaque-info.exp.
23791 Setup rs6000-*-* xfail for
d63a86f8 23792 "ptype on opaque struct pointer (statically)" and
c906108c
SS
23793 "ptype on opaque struct pointer (dynamically)" when
23794 not compiled with gcc.
23795 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
23796 rather than callf-info.exp.
23797 (do_function_calls): Add clear_xfail for rs6000-*-* for
23798 "p t_float_values2(3.14159,float_val2)". Seems to work
23799 fine there, both with xlc and gcc. Need to find out what
23800 it is doing right and fix other platforms.
23801 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
23802 "call inferior func with struct - returns int",
23803 "call inferior func with struct - returns long",
23804 "call inferior func with struct - returns float",
23805 "call inferior func with struct - returns double",
23806 "call inferior func with struct - returns char *",
23807 but only if not gcc compiled (presumes xlc compiled).
23808 Change rs6000-*-* xfails for
23809 "call inferior func with struct - returns char" and
23810 " call inferior func with struct - returns short" to only
23811 xfail if not using gcc.
23812 (clean mostlyclean): Remove *.ci and *.tmp files.
23813 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
23814 than templ-info.exp.
23815 * gdb.base/langs.exp: Source gdb.base/langs.ci.
23816 Add rs6000-*-* xfail for "up to foo in langs.exp"
23817 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 23818 when not gcc compiled.
d63a86f8 23819
c906108c
SS
23820Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23821
23822 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
23823 * gdb.base/corefile.exp: Likewise.
23824 * gdb.base/list.exp: Likewise.
23825 * gdb.base/scope.exp: Likewise.
23826 * gdb.base/siganls.exp: Likewise.
23827
23828 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
23829 compiler output.
23830 * gdb.base/whatis.exp: Likewise.
23831
23832Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
23833
23834 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
23835 failure (opcode table has been fixed to match reality).
23836
23837Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
23838
23839 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
23840 "call inferior func with struct - returns char",
23841 "call inferior func with struct - returns short"
23842
23843 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
23844 "print 'scope0.c'::filelocal at main",
23845 "print 'scope0.c'::filelocal_bss in test_at_main",
23846 "print 'scope0.c'::filelocal at foo",
23847 "print 'scope0.c'::filelocal_bss in test_at_foo",
23848 "print 'scope0.c'::filelocal at bar",
23849 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 23850
c906108c
SS
23851 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
23852 in source file 1". This bug seems to have been fixed with both
23853 gcc and native cc (was native assembler bug?).
23854
23855Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
23856
23857 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
23858 "backtrace through signal handler" to "i*86-*-sysv4*".
23859 * gdb.base/signals.exp: Add xfail for "'next' behaved as
23860 continue" case. Add "known SVR4 bug" to fail message.
23861 Add "i*86-*-bsdi2.0" xfail for "handle all print".
23862 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
23863 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
23864 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
23865 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
23866 "up to foo in langs.exp", "show language at foo in
23867 langs.exp", "up to cppsub_ in langs.exp", "show
23868 language at cppsub_ in langs.exp", "up to fsub in
23869 langs.exp", and "show language at fsub in langs.exp".
23870 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
23871 "bactrace in corefile.exp".
23872 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
23873 "call inferior function with struct - returns float" and
23874 "call inferior function with struct - returns double".
d63a86f8 23875
c906108c
SS
23876Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
23877
23878 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
23879 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
23880 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
23881 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
23882
23883Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
23884
23885 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
23886 (or overriden) "CHILL" macro rather then bare "gcc".
23887 Also look for ../../gcc/xgcc since that is what we will
23888 actually need, not "Makefile". Remove following assignment
23889 of CHILL to CHILL_FOR_TARGET because that results in
23890 recursive definition.
23891
23892Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
23893
23894 * gdb.base/corefile.exp: Change xfail for backtrace in
23895 corefile.exp from linuxaout to all linux.
23896 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
23897 cases where we miss the breakpoint at the signal handler
23898 for some reason. Setup xfail for linuxoldld/linuxaout and
23899 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
23900 hitting SIGURG breakpoint.
23901 * gdb.base/signals.exp: Setup xfail for "next" acting like
23902 continue to add linuxoldld. Setup xfail for all linux for
23903 "next to handler in signals_tests_1", "backtrace in
23904 signals_tests_1", "continue to func1", "pass SIGUSR1",
23905 and continue to handler".
23906
23907Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
23908
23909 * Update all FSF addresses except those in COPYING* files.
23910
23911Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
23912
23913 * gdb.base/a2-run.exp: Change messages to be more explicit about
23914 the status of args, and quote binfile in results.
23915
23916Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
23917
23918 * gdb.base/callfuncs.exp: Add tests for passing structs to
23919 inferior functions and return various types.
23920 * gdb.base/callfuncs.c: Add functions to receive a struct
23921 and return a member of the struct, in various types.
23922
23923Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23924
23925 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
23926
23927Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
23928
23929 * config/vxworks29k.exp: New file, sources vxworks.exp.
23930
23931Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23932
23933 * config/gdbremote.exp: New file. Testing framework using
23934 gdbserver.
23935
23936Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
23937
23938 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
23939 "call function when asleep" and "send end of file".
23940 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
23941 for "backtrace in corefile.exp".
23942 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
23943 for "backtrace through signal handler".
23944 * gdb.base/corefile.exp: Make sure we actually generate a core file
23945 before trying the core tests. Some systems allow the user to suppress
23946 generation of core files and default to that (linux for example).
23947 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
23948 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
23949
23950Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23951
23952 * gdb.threads: New directory with some crude multi-threaded
23953 gdb tests (step.exp and step2.exp).
23954 * config/mt-lynx (STEP_EXECUTABLE): Define.
23955 (THREADFLAGS): Define.
23956
23957Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
23958
23959 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
23960
23961 * gdb.base/signals.exp: Disable whole file for lynx until
23962 further notice.
23963
23964 * gdb.base/signals.exp: xfail test where "next" acts like
23965 "continue" for lynx.
23966
23967 * gdb.base/interrupt.exp: xfail test for calling function while
23968 inferior is asleep for lynx.
23969
23970 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
23971 than one cr-lf after each command.
23972
23973Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23974
23975 * configure.in: Reinstate setting of stabsdirs variable, fix
23976 typo in setting up configdirs for native builds.
23977
23978 * gdb.base/return.exp: Fix typo in return double test.
23979 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
23980 compiler from optimizing them away.
23981
23982Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
23983
23984 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
23985 sequences to be echo'd by gdb when using gdb_test.
23986 * gdb.chill/chexp.exp: Likewise.
23987 * gdb.fortran/exprs.exp: Likewise
23988
23989Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23990
23991 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
23992 after the inferior gdb has started.
23993
23994 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
23995 after each command.
23996 * gdb.base/funcargs.exp: Likewise.
23997 * gdb.base/gdbvars.exp: Likewise.
23998 * gdb.base/interrupt.exp: Likewise.
23999 * gdb.base/list.exp: Likewise.
24000 * gdb.base/watchpoint.exp: Likewise.
24001 * gdb.c++/demangle.exp: Likewise.
24002 * gdb.c++/inherit.exp: Likewise.
24003 * gdb.chill/chexp.exp: Likewise.
24004 * gdb.fortran/exprs.exp: Likewise.
24005
24006 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
24007 test if we can't handle IO to/from the inferior.
24008
24009 * gdb.c++/misc.exp: Always check for a program already being
24010 started after sending a "run" command to gdb.
24011
24012 * gdb.base/twice.exp: Start with a fresh gdb.
24013
24014 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
24015 only depend on gdb's expression code, not the chill runtime.
24016
24017 * gdb.base/return.c: Put return values into variables so we
24018 can have gdb print them rather than depending on the program
24019 to print them.
24020 * gdb.base/return.exp: Corresponding changes.
24021
24022 * lib/gdb.exp: Provide default value for noinferiorio.
24023 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
24024 the inferior.
24025
24026 * gdb.base/break.exp: Always check for a program already being
24027 started after sending a "run" command to gdb.
24028 (text_next_with_recursion): Don't check the output from the
24029 program's printf statement. Instead just make sure the program
24030 exited.
24031
24032 * gdb.base/commands.exp: Protect tests which need arguments with
24033 $noargs conditionals.
24034
24035Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24036
24037 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
24038 of structure member arrays to match gdb/valops.c:value_addr change.
24039
24040Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
24041
24042 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
24043 cases.
24044
24045Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
24046
24047 * configure.in (configdirs): Remove gdb.chill from default list
24048 of subdirs and then add it back in only if doing a native build.
24049 The current chill compiler does not yet work in any cross build.
24050 * Revert all signal changes from Jul 6.
24051 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
24052 for sh-hms targets, allowing these tests to link, with no other
24053 changes. Testing is suppressed by setting "nosignals" in site.exp.
24054
24055Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
24056
24057 * configure.in (signaldirs): Define and add to configdirs for all
24058 targets except some specific ones that are known to not support signals.
24059 Also clean up formatting.
24060 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
24061 (signals, sigall): Remove rules to build.
24062 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
24063 Moved to new gdb.signals directory.
24064 * gdb.signals: New test directory.
24065 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
24066 signals.c signals.exp}: New or moved files.
24067
24068Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
24069
24070 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
24071
24072Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
24073
24074 * gdb.base/return.exp: Xfail `return double' test failure
24075 on at least Solaris 2.3 and handle future/past versions on
24076 a case by case basis as appropriate. Also update message
24077 to include i*86 failures.
24078
24079Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24080
24081 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
24082
24083 * lib/gdb.exp: Fix comment which erroneously identified
24084 gdb_file_cmd as gdb_load (the 19 May change was in fact to
24085 gdb_file_cmd not gdb_load).
24086 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
24087
24088 * gdb.base/setvar.exp: Make test names consistent between pass and
24089 fail cases. Use gdb_test more.
24090
24091Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24092
24093 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
24094
24095Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24096
24097 * gdb.base/help.exp: Fix expected help string for `show commands'.
24098
24099Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
24100
24101 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
24102
24103 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
24104 of a text section.
24105
24106Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
24107
24108 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
24109 that loop eventually terminates. Fix Connection refused logic so
24110 that testsuite will expire nicely.
24111
24112Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
24113
24114 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
24115 config/rom68k.exp: New tcl glue for the appropriate monitors.
24116 These all just end up calling monitor.exp.
24117 * config/monitor.exp (gdb_target_monitor): Handle `Connection
24118 refused' by retrying. Cleanup some timeout issues.
24119 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
24120 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
24121 callers don't have to set/restore global timeout variable.
24122
24123 * The following set of changes centralizes management of the global
24124 timeout variable. This way, it can be set in one target dependent
24125 place instead of dozens of places scattered throughout the test suite.
24126 If you need to lengthen a timeout, then you should either set timeout
24127 in one of the config/{target}.exp files, or multiply it by a factor.
24128 Setting it to an absolute value is always going to lose for some
24129 targets.
24130 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
24131 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
24132 * gdb.base/funcargs.exp: Don't set timeout.
24133 * gdb.base/list.exp (test_forward_search): Only use local timeout.
24134 * gdb.base/printcmds.exp (test_print_string_constants
24135 test_print_array_constants): Don't set timeout.
24136 * gdb.base/ptype.exp: Don't set timeout.
24137 * gdb.base/recurse.exp: Don't set timeout.
24138 * gdb.base/return.exp: Don't set timeout.
24139 * gdb.base/watchpoint.exp: Don't set timeout.
24140 * gdb.c++/classes.exp (do_tests): Don't set timeout.
24141 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
24142
24143Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
24144
24145 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
24146
24147Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24148
24149 * lib/gdb.exp: Disable chill tests for irix5.
24150
24151Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24152
24153 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
24154 each test pass or fail.
24155
24156Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24157
24158 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
24159 xlc not gcc.
24160
24161Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
24162
24163 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
24164
24165Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
24166
24167 * config/est.exp: Fix copyright and comments. Remove dead code.
24168 Use targetname, serialport and baud variables instead of fixed
24169 constants.
24170 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
24171 * config/cpu32bug.exp: New file to support cpu32bug monitors.
24172
24173Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24174
24175 * gdb.base/watchpoint.exp: Don't run
24176 test_watchpoint_triggered_in_syscall for sunos.
24177
24178Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24179
24180 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
24181 they don't seem to exist. Do include stdio.h.
24182
24183Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24184
24185 * gdb.base/a1-selftest.exp: Add alpha xfail.
24186
24187Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24188
24189 * gdb.base/watchpoint.c (main): Prompt before calling read().
24190 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24191 Revise accordingly. Remove cruft about sending "123" several
24192 times, until it gets noticed. Clean up the "print buf[0]" stuff
24193 so that it passes or fails, and waits for prompts in the usual way.
24194
24195Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24196
24197 * gdb.base/recurse.exp: Fix comment.
24198
24199 * TODO: Remove item about printing variables in nodebug.exp. Add
24200 item about enabling tests which are only run on some targets.
24201
24202 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
24203 fail, make test names unique, use new gdb_test convention
24204 regarding pattern, use gdb_test more, etc.).
24205
24206 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
24207 fail, make test names unique, etc.).
24208
24209Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24210
24211 * gdb.base/nodebug.c: Change return type of top and middle to
24212 short.
24213 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
24214 are fixed by the recent mdebugread.c changes. Allow `short ()'
24215 as type for top and middle.
24216
24217Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24218
24219 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
24220 nearly as I can tell, the whole thing was an accident in Stu's
24221 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
24222 to replace a send/expect pair with gdb_test, but ended up only
24223 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
24224 of 30 Mar 1995 took care of it, but left this vestigial comment
24225 which I am now nuking.
24226
24227Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24228
24229 * gdb.base/break.exp: Look for different line number for
24230 breakpoint at main depending on usestubs.
24231
24232Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24233
24234 * gdb.base/list.exp: Adjust some alternate expect patterns to
24235 match recent list0.c change. Add alternate expect pattern for
24236 output from `list default lines around main' for optimizing
24237 compilers.
24238
24239Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24240
24241 * lib/gdb.exp: If nosignals is not set, set it to 0.
24242
24243Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
24244
24245 * config/slite-gdb.exp: Responds to load symbol table prompt.
24246 * gdb.base/break.exp: Adjust line number, fix rerun.
24247 * gdb.base/langs0.c: Add #ifdef usestubs.
24248
24249Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
24250
24251 * gdb.base/list.exp: Adjust line contents after adding new lines in
24252 list0.c. Also fix a syntax error.
24253
24254 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
24255 * gdb.base/break.exp: ditto.
24256 * gdb.base/list.exp: ditto.
24257 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
24258 * gdb.base/run.c: ditto.
24259 * gdb.base/list0.c: ditto.
24260 * gdb.base/funcargs.c: ditto.
24261
24262Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
24263
24264 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
24265 $targetname, $serialport and $baud instead of hardwired variables.
24266 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
24267 target doesn't support signals.
24268
24269Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
24270
24271 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
24272
24273Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24274
24275 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
24276 Don't rely on the value of an auto variable before it has been
24277 initialized. Use gdb_test more.
24278
24279Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24280
24281 * lib/gdb.exp (default_gdb_version): A version number must start
24282 with a digit, but other than that contains all characters up to
24283 the first whitespace character.
24284
24285Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24286
24287 * gdb.base/commands.exp (breakpoint_command_test): New tests.
24288
24289Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24290
24291 * gdb.c++/*.exp: Warn if executable does not exist. The original
24292 reason for skipping the warning was that configure.in sometimes
24293 intentionally skipped building the executables but the tcl code
24294 had no way of knowing. That (a) was always bogus with respect to
24295 error handling, (b) is no longer true (right now there is no way
24296 to skip C++ tests).
24297
24298 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
24299
24300Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24301
24302 * gdb.base/list.exp: Add expect patterns for output from
24303 SunPRO compiled executables.
24304 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
24305 types.
24306
24307Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24308
24309 * gdb.base/break.exp (test_next_with_recursion): Accept any line
24310 number (we are already testing that the correct source line text
24311 gets printed).
24312
24313 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
24314 that is what is intended, but something needed to be done to get
24315 sunos4 native working again.
24316
24317 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
24318
24319 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
24320 apparently went with a (very) old xfail.
24321
24322Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
24323
24324 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
24325 runto_main is a proc in gdb.exp that will do 'step' for target use
24326 stubs.
24327 * gdb.base/exprs.exp: ditto.
24328 * gdb.base/interrupt.exp: ditto.
24329 * gdb.base/opaque.exp: ditto.
24330 * gdb.base/printcmds.exp: ditto.
24331 * gdb.base/ptype.exp: ditto.
24332 * gdb.base/scope.exp: ditto.
24333 * gdb.base/setvar.exp: ditto.
24334 * gdb.base/signals.exp: ditto.
24335 * gdb.base/twice.exp: ditto.
24336 * gdb.c++/classes.exp: ditto.
24337 * gdb.c++/inherit.exp: ditto.
24338 * gdb.c++/templates.exp: ditto.
24339 * gdb.base/break.exp: no run and hit main for stubs. Change line
24340 numbers for breakpoints and info breakpoint.
24341 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
24342 breakpoint().
24343 * gdb.base/callfuncs.c: ditto.
24344 * gdb.base/exprs: ditto.
24345 * gdb.base/interrupt.c: ditto.
24346 * gdb.base/opaque0.c: ditto.
24347 * gdb.base/printcmds.c: ditto.
24348 * gdb.base/ptype.c: ditto.
24349 * gdb.base/scope0.c: ditto.
24350 * gdb.base/setvar.c: ditto.
24351 * gdb.base/signals.c: ditto.
24352 * gdb.base/twice.c: ditto.
24353 * gdb.c++/misc.cc: ditto.
24354 * gdb.c++/templates.cc: ditto.
24355
24356Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24357
24358 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
24359
24360 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
24361 somewhere between `read' and `main.c'. I'm pretty sure the
24362 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
24363 and it isn't particularly useful.
24364
24365 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
24366
24367Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24368
24369 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
24370
24371Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
24372
24373 * config/mt-slite: add LIBS and -nostdlib.
24374 * config/slite-gdb.exp: add this new file to support sparclite target.
24375
24376Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
24377
24378 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
24379
24380 * gdb.base/a2-run.exp: Change argument to istarget from
24381 "*-*-vxworks" to "*-*-vxworks*".
24382 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
24383
24384Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
24385
24386 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
24387 will not runto main but do a 'step' to step out of breakpoint().
24388 * config/mt-slite: add -Dusestubs.
24389
24390Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24391
24392 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
24393 instead of just @.
24394
24395 * gdb.base/signals.exp: Add test for "handle all print".
24396 * TODO: Remove "handle all print". Also remove item about
24397 checking copyright date (I don't like the idea of a spurious FAIL
24398 based on when we run the tests).
24399
24400 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
24401 for SunOS4 (reason for failure not investigated). Remove
24402 redundant test for $binfile.
24403
24404 * gdb.base/nodebug.c (array_index): Call malloc.
24405
24406 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
24407
24408Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
24409
24410 * gdb.base/recurse.exp: Update gdb_test invocation to use new
24411 conventions and slightly simplify the matching regexp.
24412
24413Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24414
24415 * gdb.base/break.exp: Update gdb_test invocation to use new
24416 convention.
24417
24418 * lib/gdb.exp: If noargs is not set, set it to 0.
24419
24420 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
24421 tests unique.
24422
24423 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
24424
24425Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24426
24427 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
24428 one argument of type "<non-float parameter>".
24429
24430Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
24431
24432 * config/rom68k.exp: New file to support Motorola IDP board.
24433 * gdb.base/a2-run.exp: Skip this file if noargs is set.
24434 * gdb.base/break.c: Change things around so that this program
24435 doesn't depend upon args. This is necessary to make remote
24436 targets work (in general, they can't take args).
24437 * gdb.base/break.exp: Don't try to send args to program. Don't
24438 expect output. Also, replace lots of code with gdb_test.
24439
24440Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24441
24442 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
24443 printing of '\'' (which is what the comment says we are testing,
24444 even though we were not), not '''.
24445 (test_integer_literals_rejected): Test that printing ''' is an error.
24446
24447 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24448 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
24449 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
24450 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
24451 Use gdb_test not test_print_accept.
24452 * lib/gdb.exp: Remove test_print_accept.
24453
24454 * gdb.base/signals.exp (signal_tests_1): Make pass message
24455 consistent with fail message.
24456
24457 * gdb.base/whatis.exp: Remove xfails for printing char vs.
24458 unsigned char; the bug (PR 1821) is fixed.
24459
24460 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
24461
24462 * gdb.base/scope.exp (test_at_localscopes): Call pass for
24463 successful tests--makes xfailing them work right.
24464
24465Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24466
24467 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
24468 only \r\n, not .*. The test can pass .* as the last thing in
24469 $pattern if that is what it wants. In addition to providing this
24470 flexibility, this change should speed up pattern matching in cases
24471 where the pattern already ended with .* (there were a number of
24472 them). This change also helps catch bad patterns--in the old
24473 scheme the typo "char \*" instead of "char \\*" would pass. Now
24474 it is caught.
24475 * Many .exp files: Update callers.
24476
24477 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
24478 clearer and does not spuriously match multiple ('s. Likewise for
24479 ) and *.
24480
24481 * gdb.base/nodebug.exp: Test ability to call a function and pass
24482 it a string (even with no debugging info).
24483
24484 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
24485 "p '\'", which is the same as "p ''" once tcl gets done with
24486 quoting, to "p '\\'", which I suspect is what is intended (one
24487 backslash gets sent to GDB).
24488
24489 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
24490
24491Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24492
24493 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
24494 1817) was fixed literally years ago.
24495
24496Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24497
24498 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
24499 test, it causes stepping out of call_after_alloca_subr with
24500 optimizing compilers.
24501 (localvars_in_indirect_call): Consume GDB prompt if `finish'
24502 fails.
24503
24504 * gdb.c++/templates.exp: Source templ-info.exp only if
24505 the templates executable exists.
24506
24507 * gdb.c++/misc.cc (class Contains_static_instance,
24508 class Contains_nested_static_instance),
24509 gdb.c++/classes.exp (test_static_members): Test printing of
24510 a class that contains a static instance of the class.
24511
24512Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24513
24514 * gdb.base/langs2.c (cppsub_): Don't prototype.
24515 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
24516 only, I believe).
24517
24518Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24519
24520 * lib/gdb.exp (skip_chill_tests): New procedure.
24521
24522 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
24523
24524Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
24525
24526 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
24527 each expect pattern. Cuts runtime from 12 to about 4 seconds.
24528
24529Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24530
24531 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
24532
24533 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
24534 disassemble 8, not 16, instructions for part 4.
24535
24536 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
24537 support the latter anymore.
24538
24539 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
24540 -DNO_PROTOTYPES.
24541 * gdb.base/callfuncs.c: Control use of prototypes based on
24542 NO_PROTOTYPES, not __STDC__.
24543 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
24544 t_float_values2 tests if prototypes in use.
24545
24546 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
24547 t_double_values): When checking differences against DELTA, check
24548 that difference is within the range (-DELTA,DELTA), not just
24549 (-infinity,DELTA).
24550
24551Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
24552
24553 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
24554 'file' command firts, then 'target', then 'load', this is due to gdb
24555 target set up.
24556 * config/mips-gdb.exp: Fix a couple regular exp bugs.
24557
24558Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
24559
24560 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
24561 FP load/store variants.
24562 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
24563
24564Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24565
24566 * gdb.base/term.exp: Do not give a warning if not native, it is
24567 not an abnormal condition.
24568
24569Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
24570
24571 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
24572 t_char_array".
24573
24574Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24575
24576 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
24577 are getting the version number.
24578
24579 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
24580 if not native, it is not an abnormal condition.
24581
24582Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24583
24584 * lib/gdb.exp: Just use "file exists", rather than undocumented
24585 dejagnu procedure "findfile".
24586
24587Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24588
24589 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
24590 (LDFLAGS): Set to -Xlinker -Ur.
24591
24592 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
24593 Removed, these values are set by lib/gdb.exp.
24594
24595 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
24596
24597Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24598
24599 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
24600 of replicating gdb startup code.
24601
24602 * config/mt-vxworks (LDFLAGS): Set to -r.
24603 (CFLAGS_FOR_TARGET): Removed.
24604
24605 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
24606 (gdb) and gdb for vxworks uses (vxgdb).
24607
24608 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
24609 executable is not in the tree and host != target, use sed and
24610 program_transform_name to determine the gdb name used by the
24611 target.
24612
24613 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
24614 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
24615
24616Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24617
24618 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
24619 floats, chars, and shorts where there are ANSI-style function
24620 definitions.
24621
24622 * gdb.base/langs.exp, gdb.base/langs*: New test.
24623 * gdb.base/Makefile.in: Build it.
24624 * TODO: Remove item about checking that C names don't get C++
24625 demangling applied; this test tests it.
24626
24627Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24628
24629 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
24630 went with the const70 xfail. The xfail went away a year ago.
24631
24632 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
24633
24634 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
24635 for hp300.
24636
24637 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
24638
24639 * gdb.base/a1-selftest.exp: Don't run on hp300.
24640
24641Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24642
24643 * Makefile.in (site.exp): Set host_alias and target_alias as well
24644 as host_triplet and target_triplet.
24645
24646Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24647
24648 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
24649
24650 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
24651 places as other ecoff systems).
24652
24653 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
24654 ultrix.
24655
24656Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24657
24658 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
24659 remove them.
24660 * gdb.base/nodebug.exp: Accept "function" in addition to "text
24661 variable and "variable" in addition to "data variable".
24662 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
24663
24664 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
24665 2.
24666 * gdb.base/list1.c (long_line): Add additional statement at start
24667 of function.
24668 * gdb.base/list.exp (test_forward_search): Update line number to
24669 reflect new statement.
24670
24671Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24672
24673 * gdb.base/signals.exp: Reinitialize searched source directories
24674 after gdb_start call.
24675
24676Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
24677
24678 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
24679 * gdb.stabs/Makefile.in: Likewise.
24680
24681 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
24682 change. Instead split the tests into smaller pieces.
24683 * gdb.disasm/hppa.s: Corresponding changes.
24684
24685Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24686
24687 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24688 Quote ^C when passing it to stty. For some shells ^ is a pipe.
24689
24690 * gdb.base/funcargs.exp: Modify many tests so that every test
24691 either passes or fails. Make some test names unique.
24692
24693Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24694
24695 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24696 Call stty to set interrupt character.
24697
24698 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
24699 for HP assembler versus GNU assembler based on actual behavior of
24700 $(CC), rather than assuming that $(AS) is always the GNU assembler.
24701
24702 * TODO: Suggest a few more stepping tests.
24703
24704Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
24705
24706 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
24707 restart GDB for h8300 after a continue.
24708 (return): Add pattern to match a29k-udi behavior.
24709 * gdb.base/nodebug.exp: Remove obsolete comment.
24710 * gdb.base/regs.exp: New file, testing of register displays.
24711 * gdb.base/return.exp: Fix typo in reference to $objdir.
24712 * gdb.base/whatis.exp: Always start with a fresh GDB.
24713
24714Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24715
24716 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
24717 higher, these tests generate a lot of output.
24718
24719Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24720
24721 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
24722 code following the catch silently ignored some errors; without the
24723 catch they should be thrown like any other tcl error. Also, the
24724 catch used "" instead of {} which meant all the callers who wanted
24725 to include one of the characters "[]$ had to quote it an extra time.
24726 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
24727 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
24728 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
24729 Remove extra quoting.
24730
24731Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
24732
24733 * gdb.base/commands.exp: Make test names unique; every test either
24734 passes or fails. Update some comments.
24735
24736 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
24737
24738Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24739
24740 The following fixes a FAIL caused by the fact that the alpha stabs
24741 configuration didn't use the ".if alpha" code in weird.def.
24742 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
24743 bit pointer, so the 32 bit version works even on the alpha.
24744 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
24745 Remove the stuff which allowed us to have separate versions for
24746 alpha and everything else.
24747
24748 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
24749 regexp which "info func operator\[\](" is supposed to match. Fix
24750 string to send to GDB. Note that GDB still doesn't work right. Add a
24751 new test for "info func .perator\[\](" which GDB does handle correctly.
24752
24753 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
24754
24755Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24756
24757 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
24758 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
24759 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
24760 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
24761 it makes the tests harder to understand and confuses test-o-matic.
24762 The preferred style is that each test provides a PASS or a FAIL,
24763 and has a unique message (e.g. "continue #54" not just "continue")
24764 which is the same for the pass and the fail.
24765 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24766 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
24767 to lib/gdb.exp.
24768 * gdb.base/printcmds.exp: Use test_print_accept. Remove
24769 prt_accept which was basically the same thing. Likewise for
24770 test_print_reject and prt_reject.
24771 * lib/gdb.exp (test_print_reject): Add some more error message
24772 patterns to match from the former printcmds.exp (prt_reject).
24773 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
24774 One defect of the passcount stuff is that some of it failed to
24775 report XPASS where appropriate.
24776 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
24777 stuff before and after arg in expected pattern.
24778 (test_paddr_operator_functions): Re-do test without print_addr_of;
24779 this is the only test which seems to want extra stuff there.
24780
24781Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24782
24783 * gdb.base/nodebug.exp: Update new tests to reflect improved
24784 wording of gdb output.
24785
24786 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
24787 and "ptype" work on variables in files compiled without -g.
24788 Replaces commented out "maint print msymbol" tests.
24789
24790Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24791
24792 * gdb.base/setvar.c (dummy): Call malloc.
24793
24794 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
24795 losing with the irix4 sed.
24796
24797 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
24798 ALRM" on irix4.
24799
24800Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24801
24802 * TODO: Remove items about corefile.exp testing new exec-file and
24803 backtrace; both are now done. Add items about printing enums.
24804
24805Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24806
24807 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
24808 "get signal $thissig" test fails.
24809
24810 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
24811
24812Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24813
24814 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
24815 compiler warning with dec alpha compiler.
24816
24817 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
24818 extra \n from gdb_test call (this explains why the prompt test
24819 that I removed yesterday was there).
24820 (user_defined_command_test): Remove extra \n and prompt test.
24821
24822 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
24823 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
24824 doesn't exist.
24825 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
24826 Also remove alpha workaround, which turns out to be because
24827 SIGABRT == SIGLOST.
24828
24829 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
24830
24831 * gdb.base/help.exp: Don't test "help show".
24832
24833Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24834
24835 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
24836 "set print address" is on.
24837 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
24838 pass prompt to gdb_test; gdb_test already looks for the prompt.
24839
24840 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
24841
24842 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
24843 was a vestige of the manual TESTSTRATEGY, and the purpose of it
24844 was to make sure that gdb can read a core file. But (a) the "read
24845 the corefile" part didn't make it to a1-selftest.exp, we just
24846 delete the corefile after creating it, and (b) we test reading
24847 corefiles in corefile.exp anyway. Also, this test left around a
24848 xgdb process on Solaris.
24849
24850 * gdb.base/corefile.exp: Also test backtrace.
24851
24852Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
24853
24854 * gdb.base/commands.exp: Test a simple user defined command with
24855 arguments and if/while statements; verify the full user command is
24856 printed by "show user".
24857
24858 * gdb.base/commands.exp: Test if/while commands as part of a
24859 breakpoint command list; verify they appear in breakpoint
24860 information.
24861
24862Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24863
24864 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
24865 than by dividing by zero.
24866
24867Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
24868
24869 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
24870 performing an inferior call with watchpoints enabled.
24871 * gdb.base/watchpoint.c (main): Delete second unnecessary read
24872 call.
24873
24874Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24875
24876 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
24877 of "file" command.
24878
24879 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
24880 Add additional pattern for when "int operator int(void);" appears
24881 in a different order.
24882
24883Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24884
24885 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
24886
24887 * gdb.base/help.exp: Replace most of docstrings for "info signals"
24888 and "signal" with ".*".
24889
24890Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24891
24892 * TODO: Add note about "handle all nostop".
24893
24894 * gdb.base/{sigall.c, sigall.exp}: New test.
24895 * gdb.base/Makefile.in: Add it.
24896
24897Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
24898
24899 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
24900 when invoking GDB, suppresses any windowing interface.
24901
24902Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
24903
24904 * config/sim-gdb: New file, simulator testing support.
24905
24906Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
24907
24908 * gdb.base/interrupt.exp: Test calling func1 twice.
24909
24910Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
24911
24912 * gdb.base/list.exp (test_forward_search): Set timeout higher
24913 when we'll be getting lots of output from gdb.
24914
24915 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
24916 "init_malloc" to after the expect statement. Run it if that
24917 regexp is taken, but also for two others which happen if source
24918 cannot be found.
24919
24920Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24921
24922 * gdb.base/printcmds.exp: New test, for printing register before
24923 program is running.
24924
24925Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24926
24927 * gdb.base/list.exp: Correct some alternate expect patterns
24928 to reflect changes in list1.c.
24929
24930Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24931
24932 * TODO: Add item regarding large frames.
24933
24934 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
24935
24936 * TODO: Remove item about enabling return.exp; it
24937 is enabled. Suggest a few more "return" tests.
24938
24939Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24940
24941 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
24942 anonymous unions.
24943
24944Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24945
24946 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
24947 and pr-5646.o, so "make" is the same as "make all", not "make
24948 pr-4975.o".
24949
24950Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
24951
24952 * gdb.base/list.exp: Adjust expectations to reflect changes in
24953 list1.c.
24954 (test_forward_search): New test proc.
24955 * gdb.base/list1.c (long_line): New function, has long source line.
24956
24957Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
24958
24959 * gdb.base/a1-selftest.exp: Change initial stepping to know about
24960 additional line of code that was added.
24961
24962Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
24963
24964 * gdb.disasm/hppa.s: Break the large branching tests into smaller
24965 tests so as not to overflow expect's input buffers.
24966 * gdb.disasm/hppa.exp: Corresponding changes.
24967
24968Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24969
24970 Beginnings of template debugging tests.
24971 * gdb.c++/templ-info.cc: New file to test for template
24972 debugging capability of the compiler.
24973 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
24974 templ-info.cc.
24975 * gdb.c++/templates.cc: Add explicit template instantiations
24976 to enable compiling with -fno-implicit-templates. Add destructor
24977 and 'value' method to T5 class for template tests.
24978 * gdb.c++/templates.exp: Add testcases for printing of template
24979 types, setting breakpoints on template methods and calling a
d63a86f8 24980 template method.
c906108c
SS
24981
24982Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
24983
24984 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
24985 branch target since some assemblers (gas-2.5) may emit a
24986 relocation for the branch instead of resolving it in the
24987 assembler.
24988
24989Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24990
24991 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
24992 through signal handler.
24993
24994Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24995
24996 * configure.in (*-*-netware): Use config/mt-netware.
24997
24998 * config/mt-netware: New file.
24999 * config/mt-i386-netware: Removed, separate configs for different
25000 netware architectures are no longer needed now that we have
25001 --with-headers.
25002
25003Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25004
25005 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
25006 by the recent changes to use ANSI C arithmetic conversions.
25007
25008Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25009
25010 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
25011 bug involving using inferior_pid to figure out whether to select a
25012 frame.
25013
25014Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
25015
25016 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
25017 match the current disassembler output.
25018
25019Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
25020
25021 * gdb.fortran/exprs.exp: Expect VOID instead of void.
25022 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
25023 types, expect "int" as type of integer values (for now).
25024
25025Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
25026
25027 * gdb.base/commands.exp: New tests for if/while commands.
25028
25029Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
25030
25031 * lib/gdb.exp (runto): Replace sub-pattern for hex value
25032 by .*, since hex values have different syntax in Chill mode.
25033
25034Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25035
25036 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
25037 linefeed from expect pattern for repeated types with indices > 9.
25038
25039Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
25040
25041 First part of Fortran test suite.
25042 * gdb.fortran: New directory.
25043 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
25044
25045Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25046
25047 * gdb.base/default.exp: Update expect pattern for load command
25048 without arguments.
25049
25050Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
25051
25052 * configure.in: Change i386 to i[345]86.
25053 * gdb.base/configure.in: Likewise.
25054 * gdb.c++/configure.in: Likewise.
25055 * gdb.chill/configure.in: Likewise.
25056
25057Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
25058
25059 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
25060 patterns, since that is not a valid context for comments.
25061
25062Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
25063
25064 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
25065 repeated types and repeated types with indices > 9.
25066
25067Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
25068
25069 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
25070 2417; old bug has been fixed.
25071
25072Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
25073
25074 * gdb.base/interrupt.exp: When trying to wake up the inferior,
25075 send the newline ourselves instead of assuming gdb_test will do
25076 so when passed an empty input string.
25077
25078 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
25079 stabs testcode.
25080
25081Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25082
25083 * lib/gdb.exp (gdb_test): Don't send anything if the first
25084 argument is an empty string. This makes cases where we want to
25085 match output that is already in expect's buffers (for example,
25086 matching a breakpoint after gdb_run_cmd has been called) work
25087 reliably.
25088
25089Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25090
25091 * config/netware.exp: New file.
25092
25093Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25094
25095 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
25096 the -B and -L prefixes so we can find the debugging stub.
25097
25098 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
25099 there and we are using the gcc from the tree.
25100
25101 * gdb.base/types.c: Removed.
25102
25103 * gdb.base/configure.in: Look for makefile fragments in ../config.
25104 Recognize i386-*-netware.
25105 * gdb.c++/configure.in: Likewise.
25106
25107Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25108
25109 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
25110 the correct TCL syntax.
25111
25112Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25113
25114 * gdb.base/opaque.exp: use runto instead of messing around with
25115 breakpoints. Simplify by using gdb_test.
25116
25117 * gdb.base/bitfields.exp: restart between tests on netware targets
25118 because breakpoints aren't relocated after target death. Run
25119 processes to completion.
25120
25121 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
25122
25123Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
25124
25125 * Makefile.in: Remove extra tabs that confuse some versions
25126 of "make". Use the newly built gdb to test with by default,
25127 rather than the first one in the tester's search path.
25128
25129Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
25130
25131 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
25132
25133 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
25134 condition help.
25135
25136Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25137
25138 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
25139
25140 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
25141 running.
25142 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
25143 * gdb.base/funcargs.exp: Likewise.
25144
25145 * gdb.base/bitfields.exp: Simplify by using gdb_test.
25146 * gdb.base/funcargs.exp: Likewise.
25147
25148 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
25149 message is "".
25150
25151Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25152
25153 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
25154 return,signals,twice}.exp: Handle non-existant binaries
25155 consistantly.
25156
25157 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
25158 * gdb.base/Makefile.in: Don't try to generate a core dump, we
25159 might testing a cross development system.
25160
25161Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25162
25163 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
25164 runtest script is relative to ${srcdir}, not ${rootdir}.
25165
25166Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
25167
25168 * gdb.base/signals.exp: Allow for optionality of breakpoint
25169 address.
25170
25171Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25172
25173 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
25174
25175Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
25176
25177 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
25178 for size_t definition.
25179 * gdb.c++/templates.cc: Likewise
25180
25181 * config/mt-i386-netware: New file.
25182
25183 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
25184 defined.
25185
25186 * gdb.base/Makefile.in: Added support for systems that name core
25187 files by appending "core" to the program name.
25188 * gdb.base/a1-selftest.exp: Likewise.
25189
25190Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25191
25192 * gdb.base/return.exp: Add comment and message for `return double'
25193 test failure on Sparc Solaris.
25194
25195Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
25196
25197 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
25198
25199Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25200
25201 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
25202 from optimizing them away.
25203 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
25204 patterns to include default constructors and assignment operators,
25205 to match gcc versions beyond 2.5.8. Accept any cplus demangling
25206 character in the output of the virtual base pointer.
25207
25208Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25209
25210 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
25211 expression match in print_addr_of to avoid unintented matches.
25212 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
25213 versions up to 2.5.8.
25214
25215Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25216
25217 * gdb.base/list.exp: Tweak alternate pattern for listing of an
25218 included file to run under newer versions of expect.
25219 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
25220 consecutive >'s in templates to accomodate recent cplus-dem.c change.
25221 Remove xfail for the virtual table of BDDHookV.
25222
25223Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
25224
25225 * lib/gdb.exp (string_to_regexp): Set a default result.
25226 (default_gdb_start): Fix misleading message.
25227
25228Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
25229
25230 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
25231 Remove all CC, etc definitions.
25232 * config/mt-hpux: New file.
25233 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
25234 (CFLAGS, LDFLAGS): Define.
25235 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
25236
25237 * Makefile.in (site.exp): Don't insert host_os, etc.
25238 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
25239 (distclean): Check existence of subdir.
25240 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
25241 * gdb.base/Makefile.in: General cleanup and simplification.
25242 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25243 to build executables. Use default rule to build .o files.
25244 (EXPECT, RUNTEST, CC): Fix relative pathname.
25245 (site.exp): Don't insert host_os, etc.
25246 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
25247 and/or SIGUSR1 defined.
25248 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
25249 * gdb.c++/Makefile.in: General cleanup and simplification.
25250 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25251 (CFLAGS): Remove.
25252 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
25253
25254Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
25255
25256 * gdb.base/recurse.exp: Misc changes to get tests running again
25257 after Kung's changes to the watchpoint code.
25258 * gdb.base/watchpoint.exp: Likewise.
25259
25260Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
25261
25262 * lib/gdb.exp (string_to_regexp): Convert {\} also.
25263
25264Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
25265
25266 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
25267 * lib/gdb.exp (default_gdb_start): Define.
25268 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
25269 gdb.base/funcargs.exp, gdb.base/opaque.exp,
25270 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
25271 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
25272 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
25273 Don't call gdb_target_udi in between tests.
25274
25275Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25276
25277 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
25278 (which was basically just a local version of the same thing). In
25279 addition to avoiding duplication, gdb_test_exact is faster.
25280 * lib/gdb.exp (gdb_test_exact): Fix typo.
25281
25282 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
25283 don't give an error.
25284
25285 * gdb.base/term.exp: Call delete_breakpoints before starting.
25286
25287 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
25288 (t10): Add comment.
25289
25290Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25291
25292 Reorganization of the GDB Test Suite.
25293
25294 * gdb.base: New directory, contains all the basic tests.
25295 * gdb.c++: New directory, tests specific to C++.
25296 * gdb.chill: New directory, tests specific to Chill.
25297 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
25298 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
25299 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
25300 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
25301 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
25302 t30-31 to chill).
25303 * */gdbme.*: Rename to match appropriate expect scripts.
25304 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
25305 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
25306 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
25307 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
25308 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
25309 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
25310 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
25311 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
25312 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
25313 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
25314 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
25315 gdb.c++/virtfunc.cc: New names of C++ files.
25316 * gdb.chill/chillvars.ch: New name of Chill file.
25317 * gdb.base/configure.in, gdb.c++/configure.in,
25318 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
25319 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
25320 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
25321 * configure.in (configdirs): Update to reflect directory changes.
25322 (target_abbrev): No longer define for any configuration.
25323 * Makefile.in: Cosmetic improvements to header comments.
25324
25325Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
25326
25327 Various changes to gdb.t31:
25328
25329 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
25330 * gdbme.ch: Make all key-words and predefineds be upper-case.
25331 * chillvars.exp: Expect key-words and predefinds in upper-case.
25332
25333 * chillvars.exp: Use gdb_test_exact many places.
25334 Change expected output for arrays (which now includes index labels).
25335
25336 * pr-5020.exp, gdme.ch (module PR_5020):
25337 New test, for PR-5020.
25338
25339Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
25340
25341 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
25342 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
25343
25344Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
25345
25346 * Makefile.in: Fix bit-rot in definitions of CHILL,
25347 CHILL_FOR_TARGET and Chill_LIB.
25348 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
25349 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
25350 CHILL, and CHILL_LIB.
25351
25352Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
25353
25354 * Revert the previous changes. Please see Rob's directory
25355 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
25356
25357Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
25358
25359 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
25360 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
25361 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
25362 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
25363 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
25364 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
25365 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
25366 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
25367 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
25368 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
25369 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
25370 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
25371 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
25372 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
25373 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
25374 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
25375 changes from 94Q1.
25376
25377Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
25378
25379 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
25380 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
25381 Rob's new testing fragments.
25382
25383Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
25384
25385 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 25386 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
25387
25388Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25389
25390 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
25391 version also, match on casted version strings, and match on
25392 gdb startup case where the line numbers might be messed up.
25393
25394Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
25395
25396 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 25397 (CFLAGS): Delete it from here.
c906108c
SS
25398
25399Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
25400
25401 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
25402
25403Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
25404
25405 * Makefile.in (RUNTEST): Default to just "runtest".
25406
25407Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25408
25409 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
25410 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
25411 the code has been restructured.
25412
25413Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25414
25415 * gdb.t00/default.exp (set write): Allow any number of \r and/or
25416 \n, not just one of each.
25417
25418 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
25419 /bin/cc gives a warning if you do.
25420
25421Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
25422
d63a86f8 25423 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
25424 __t10ListS_link1ZUiRCUiPT0
25425
25426Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25427
25428 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
25429 on local variables in recursive functions.
25430
25431 * gdb.t07/Makefile.in: Build the new test.
25432
25433Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25434
25435 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
25436 directly. Instead compare the return values from actual calls.
25437
25438Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
25439
25440 * Makefile.in (check): Set TCL_LIBRARY for runtest.
25441
25442Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25443
25444 * From Peter Schauer with minor modifications.
a9c64011
AS
25445 * gdb.t15/return.exp (return_tests): Handle targets where "return"
25446 stops in mid-line in the caller. Add xfail for returning a float
25447 value on X86 targets.
c906108c
SS
25448
25449Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25450
25451 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
25452 to avoid expect lossage.
25453 (fmem_LRbug_tests): Likewise.
25454 * gdb.disasm/hppa.s: Corresponding changes.
25455
25456 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
25457 conditions to work with latest dejagnu/expect.
25458
25459 * gdb.t15/funcargs.exp (finish from indirect call): No longer
25460 expected to fail on the PA.
25461 (backtrace in call with trampolines): Explicitly require main
25462 to be frame #1 (no trampolines should show up in backtrace).
25463
25464 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
25465 "continue -expect".
25466 * gdb.t06/break.exp: Likewise.
25467 * gdb.t07/watchpoint.exp: Likewise.
25468 * gdb.t13/bitfields.exp: Likewise.
25469 * gdb.t15/{funcargs,return}.exp: Likewise.
25470 * gdb.stabs/weird.exp: Likewise.
25471 * config/{mips,udi}-gdb.exp: Likewise.
25472
25473 * hppa.sed: Enclose comments within a sed command to avoid
25474 losing with the old OSF1 sed.
25475
25476Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25477
25478 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
25479 sequent dynix.
25480 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
25481 * gdb.t15/funcargs.exp: Conditionally step again to really
25482 finish from marker_call_with_trampolines. Handle the case where
25483 the first step from within call_with_trampolines already steps
25484 us back to main.
25485 * gdb.t15/gdbme.c: Add comment to closing brace of
25486 call_with_trampolines for funcargs.exp.
25487
25488Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25489
d63a86f8 25490 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
25491 Fix typo(s).
25492
25493Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25494
25495 * gdb.t07/gdbme.c: More code for watchpoint testing.
25496
25497 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
25498 "Hardware watchpoint" throughout file.
25499 (test_watchpoint_triggered_in_syscall): New test.
25500 (test_complex_watchpoint): New test.
25501
25502Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25503
25504 * gdbme.c (call_with_trampolines): New function to try and step
25505 into. Tests trampoline problems on the PA.
25506
25507 * funcargs.exp (localvars_in_indirect_call): No longer expect
25508 stepping into indirect call to fail on PAs.
25509 (test_stepping_over_trampolines): New test.
25510
25511Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25512
25513 * TODO: Add suggestions for static member function tests, and
25514 completion tests.
25515
25516Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25517
25518 * TODO: Add suggestions for "p/a" tests.
25519
25520 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
25521 (default_gdb_exit): Replace all the hair with sending "quit" to
25522 the process with a simple close.
25523
25524Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25525
25526 * TODO: Add suggestions for shared library tests.
25527
25528Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25529
25530 * TODO: Add suggestions for x/s tests.
25531
25532Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25533
25534 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
25535 "enable once", and "enable breakpoints once" with ".*".
25536
25537Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25538
25539 * TODO: Add suggestions about structure passing tests.
25540
25541Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25542
25543 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
25544 the primary1 test, use work around if __GNUC__ < 2.
25545 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
25546 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
25547 Test for bad output rather than waiting for timeout. Issue
25548 second continue only if first continue failed.
25549
25550Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25551
25552 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
25553 operator[] test with gdb_test because the old code didn't seem to
25554 be getting the quoting right with the new dejagnu.
25555
25556Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
25557
25558 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
25559 one from the path.
25560 * Makefile.in: Use a fresh expect if there is one, use runtest
25561 from the src tree if there is one.
d63a86f8 25562
c906108c
SS
25563Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25564
25565 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
25566 next over recursive call. Revise the tests from that point on
25567 (which had been skipped) to match GDB's actual (correct) output.
25568
25569 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
25570 with next over a breakpoint whose condition is false.
25571
25572 * gdb.t00/help.exp: Comment out "help set print" tests just like
25573 (and for same reason as) "help set" test.
25574
25575Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25576
25577 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
25578 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
25579
25580Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25581
25582 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
25583 necessary gdb_target_udi.
25584
25585 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
25586
25587 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
25588 1838 and 2417; they are fixed.
25589
25590 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
25591 gdb.t03/ptype.exp (ptype structure, ptype union):
25592 Remove xfails; the test is looser than when the xfails were added.
25593
25594 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
25595 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
25596
25597 * gdb.t01/run.exp: Only run shell test if isnative.
25598
25599 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
25600 since "run" automatically loads if necessary. Call gdb_target_udi
25601 after the "file" since "file" kills any execution target.
25602
25603 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
25604 GDB. GDB doesn't work that way (not anymore at least) on UDI.
25605 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
25606 argument for UDI.
25607
25608Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25609
25610 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
25611
25612 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
25613
25614Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25615
25616 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
25617 properly quoting regexps. This makes the second argument to
25618 demangle a fixed string, which matches the callers, instead of a
25619 shell-style pattern which is what the previous implementation
25620 used. Update some of the callers.
25621
25622Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25623
25624 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
25625 (comib_nullified_tests): Fix typo.
25626 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
25627 strings. No longer expected to fail.
25628
25629 * gdb.disasm/hppa.s (addib_tests): Fix typo.
25630 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
25631 strings. No longer expected to fail.
25632
25633 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
25634 string. No longer expected to fail.
25635
25636Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25637
25638 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
25639 No longer expected to fail.
25640
25641 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
25642 string. No longer expected to fail.
25643
25644Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25645
25646 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
25647 only in the names (I probably got most of them). I was even
25648 generous with some which differed in underscores in names, and
25649 probably missed a few, and I *still* was able to remove almost a
25650 third of the file with almost no impact on testsuite coverage.
25651
25652Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25653
25654 * gdb.t00/default.exp: Match udi_attach error message as well as
25655 the one from child_attach.
25656
25657 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
25658
25659 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
25660
25661 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
25662 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
25663
25664 * Move test with enums and partial symbols back to
25665 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
25666 Reverts the change of 26 May 93. Per today's change to
25667 stabs.texinfo, the behavior that weird.exp was expecting was
25668 unreasonable; what is important is that the compiler+gdb get
25669 things right, which happens with a recent gcc. Also fix the test
25670 to deal with native compilers which put out the stab gdb can't
25671 deal with.
25672
25673Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25674
25675 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
25676 in the names. The main thing these accomplish is to slow things down.
25677 Many more such duplicates surely remain.
25678
25679 * gdb.t00/help.exp: Comment out "help support" test just like
25680 (and for same reason as) "help set" test.
25681
25682Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
25683
25684 * gdb.t06/break.exp: Remove setup_xfails for
25685 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
25686 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
25687 about known bug in gcc to include up through 2.5.8.
25688 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
25689 well as "_vb$".
25690 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
25691 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
25692 with latest gcc and gdb.
25693 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
25694 well as "_vb$".
25695
25696Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25697
25698 * configure.in (hppa*-*-*): Also configure and build stabs-only
25699 tests.
25700
25701Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25702
25703 * gdb.t10/hppa.mt: A makefile fragment for the PA.
25704 * gdb.t10/configure.in (hppa*-*-*): Use it.
25705
25706Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25707
25708 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
25709
25710Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25711
25712 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
25713 versions prior to 1.13.5.
25714
25715Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25716
25717 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
25718 the prompt is at the start of a line.
25719
25720Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25721
25722 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
25723 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
25724 in the copr tests now.
25725 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
25726 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
25727 expected to fail.
25728
25729Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
25730
25731 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
25732 gdb.t31/chillvars.exp, lib/gdb.exp:
25733 Tweak to run under either version of expect.
25734 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
25735 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
25736 * gdb.t11/list.exp: Remove extraneous whitespace.
25737
25738Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25739
25740 * gdb.t16/printcmds.exp (test_print_strings): Accept
25741 "(unsigned char *) " before the string.
25742
25743 * TODO: Add notes about printing of fancy types and GDB expressions.
25744
25745Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
25746
25747 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
25748 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 25749 if doing mips-idt-ecoff.
c906108c
SS
25750
25751Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
25752
25753 * Most .exp files: Tweak to run under either version of expect.
25754
25755Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25756
25757 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
25758 xfails; I'm not sure why they are failing, but not because of PR 1806.
25759
25760Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
25761
25762 * config/unix-gdb.exp: Remove gdb_unload cause it's already
25763 defined in lib/gdb.exp.
25764
25765Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25766
25767 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
25768 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
25769 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
25770 have to be typeless.
25771
25772Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25773
25774 * TODO: Add suggestion for copyright year test.
25775
25776Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
25777
25778 * configure.in (*-*-lynxos*): Add stabs tests.
25779
25780Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25781
25782 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
25783 so insert a tab before any assembler directive in column zero.
25784
25785 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
25786 stores.
25787 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
25788 stores.
25789 (fpu_short_memory_tests): Likewise.
25790
25791Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25792
25793 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
25794 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
25795 .stabs directives in comments.
25796
25797Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25798
25799 * TODO: New file, describing tests we could write.
25800 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
25801
25802Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25803
25804 * gdb.t06/signals.exp: Add kludge to force re-sync.
25805
25806 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
25807 to xgdb instead of gdb, get out of gdb.
25808
25809Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
25810
25811 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
25812 for info.
25813
25814Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25815
25816 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
25817 * gdb.stabs/configure.in (hppa*-*-*): Use it.
25818 * gdb.stabs/hppa.sed: New sed script for the PA.
25819
25820Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25821
25822 * gdb.stabs: Re-write weird.def and configuration to use sed
25823 instead of cpp. sed is portable and POSIX; cpp is neither.
25824
25825Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25826
25827 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
25828
25829Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25830
25831 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
25832
25833Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25834
25835 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
25836 "_vb$".
25837 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
25838 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
25839
25840Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25841
25842 * lib/gdb.exp: Comment out code which depends on non-existent
25843 `transform' procedure.
25844
25845Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
25846
25847 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
25848 * lib/gdb.exp: Transform tool name.
25849 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
25850 1.1's new error handling system.
25851
25852Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25853
25854 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
25855
25856Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25857
25858 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
25859 They made pattern matching so slow that timeouts happened on
25860 heavily loaded systems. Now any output from "show print" which
25861 gets us back to the GDB prompt is a PASS.
25862
25863Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
25864
25865 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
25866
25867Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25868
25869 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
25870
25871 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
25872 It is not from PR 3220.
25873
25874Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25875
25876 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
25877 just started failing because they depended on the order the
25878 subcommands are presented, or exact docstring text. This kind of
25879 test is a pain and has minimal benefit.
25880
25881Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25882
25883 * gdb.t09/corefile.exp: At end of test, use "core" command with
25884 no arguments.
25885
25886Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
25887
25888 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
25889 17}/Makefile.in: Make it possible to run the testsuite with Sun
25890 make and CC = cross gcc by adding explicit build rules for .o
25891 files.
25892
25893Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25894
25895 * gdb.t15/funcargs.exp: Don't put comments on same line as
25896 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 25897
c906108c
SS
25898Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25899
25900 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
25901
25902Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
25903
25904 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
25905 * gdb.t20/inherit.exp: remove three dumplicate entries.
25906
25907Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25908
25909 * gdb.t06/break.exp: For "next over recursive call", fail on any
25910 incorrect output, not just on "factorial (value=2)".
25911
25912Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25913
25914 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
25915 working now. Add an xfail if accesing a bss variable causes
25916 a memory error if the target is not yet run.
25917
25918Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25919
25920 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
25921 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
25922 name of __st* demangling (2 strings). Did Kung really get the
25923 more than 95 others right without testing them?
25924
25925Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
25926
25927 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
25928
25929Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
25930
25931 * configure.in (configdirs): Add gdb.disasm
25932 * gdb.disasm: New directory for GDB disassembler tests.
25933 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
25934
25935Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25936
25937 * gdb.t00/help.exp: Don't test "help set".
25938
25939 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
25940 from within expect statements. None of these happen anymore and
25941 they cause regressions to be silently unnoticed.
25942
25943 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
25944 messages) about known failures with gcc cygnus-2.4.5-930417.
25945
25946 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
25947 comp-info.exp so it gets built if it doesn't exist.
25948
25949 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
25950 it is no longer used.
25951 * gdb.t13/comp-info.c: Removed.
25952
25953Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25954
25955 * gdb.t06/signals.exp: Add xfail for sun3.
25956
25957Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25958
25959 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
25960 relevant because ^C doesn't get sent but failure can be reproduced
25961 interactively).
25962
25963Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25964
25965 * gdb.stabs/alpha.mt: New configuration file for alpha.
25966 * gdb.stabs/configure.in: Use it.
25967 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
25968 sharing with alpha.mt, redefine long to word via preprocessor.
25969 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
25970 for alpha.
25971 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
25972 native cc.
25973 * gdb.t00/teststrategy.exp: Change expect string so that we
25974 consume the `(xgdb)' from the command echo and from the gdb prompt.
25975 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
25976 gdb currently compares all values as long, so this failure probably
25977 applies to any configuration where LONGEST is bigger than a target int.
25978 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
25979 with gcc.
25980 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
25981 to handle opaque pointers, gcc is.
25982 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
25983 as first argument. Include <sys/types.h> and change all operator
25984 new definitions to use size_t.
25985 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
25986 now that we use size_t.
25987
25988Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25989
a9c64011 25990 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 25991 a long or float array cast all array members to the same type.
a9c64011 25992 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 25993 with 64 bit longs.
a9c64011 25994 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 25995 on alpha.
a9c64011 25996 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
25997
25998Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25999
26000 * gdb.t24 (demangle.exp): Constructors of templates have names like
26001 vector<int>::vector(int) not vector<int>::vector<int>(int). See
26002 section 14.6 of the ARM.
26003
26004 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
26005 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
26006 accomplish little and slow down the testsuite.
26007
26008 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
26009 Accept spaces various places.
26010
26011Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26012
26013 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
26014 with watchpoint enabled.
26015
26016 * Makefile.in: Remove definition of CC and remove the second
26017 definition of CXX (the "CXX = gcc" one remains). These definitions
26018 were causing backquotes to be expanded within backquotes, which
26019 doesn't work.
26020
26021Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
26022
26023 * gdb.t17/callfuncs.exp: Add "return 0" to end.
26024
26025Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26026
a9c64011
AS
26027 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
26028 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
26029 by mips cc and contains no stabs entries.
26030
26031Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
26032
26033 * config/vx-gdb.exp: Use fake device to load files rather than
26034 NFS.
26035 * lib/gdb.exp: New proc to do "file" command.
26036 * config/unix-gdb.exp: Use new "file" proc.
26037
26038Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
26039
26040 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
26041 Rework board rebooting slightly.
26042 (gdb_exit): Don't exit from the remote shell; there isn't one.
26043 * gdb.stabs/weird.exp: If a program is being debugged already,
26044 kill it.
26045 * gdb.t04/setvar.exp: Stop and restart gdb.
26046 * gdb.t05/expr.exp: Likewise.
26047 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
26048 restart gdb and reload the program.
26049 * gdb.t08/opaque.exp: Likewise.
26050 * gdb.t12/scope.exp: Likewise.
26051 * gdb.t13/bitfields.exp: Likewise.
26052 * gdb.t15/funcargs.exp: Likewise.
26053 * gdb.t20/classes.exp: Likewise.
26054 * gdb.t03/ptype.exp: Increase timeout.
26055 * gdb.t16/printcmds.exp (test_print_string_constants,
26056 test_print_array_constants): Likewise.
26057 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
26058 * gdb.t20/classes.exp (do_tests): Likewise.
26059 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
26060
26061Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
26062
26063 * gdb.stabs: Renamed *wierd* to *weird*.
26064
26065Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
26066
26067 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
26068 for timeout. Add "known gcc 2.4.5 bug" to failure message.
26069
26070Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
26071
26072 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
26073 (do_tests): Remove xfail for whatis on one_var and two_var.
26074
26075Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
26076
26077 * Makefile.in: Made cross building work better by adding
26078 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
26079
26080Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26081
26082 * gdb.t15/{return.c,return.exp,Makefile.in}:
26083 New test, currently commented out.
26084
26085Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
26086
26087 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
26088 still running and removes the leftover named socket so GDb can do
26089 clean restarts.
26090
26091Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
26092
26093 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
26094 console, not GDB.
26095 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
26096 cross testing works better with "make check"
26097 * config/unix-gdb: Use default procedures for exit and version.
26098 * config/vx-gdb.exp: Cleaned up and massaged back to working order
26099 with the newest VxWorks.
26100
26101Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26102
26103 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
26104 old form.
26105
26106 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
26107 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
26108
26109 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
26110
26111 * config/unix-gdb.exp: Remove this version of gdb_exit
26112 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
26113 Rob says he'll look at it when he gets back to testing boards.
26114
26115Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
26116
26117 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
26118 an expected fail for certain ptype commands.
26119
26120 * gdb.t20/classes.exp: Update expected results of "ptype class
26121 Base1" to account for the constructor that now appears in the type.
26122
26123Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
26124
26125 * configure.in (configdirs): Restore gdb.t04, which mysteriously
26126 disappeared from list.
26127 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
26128 "alldone" proc with call to cleanup and exit.
26129 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
26130 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
26131 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
26132 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
26133 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
26134 "alldone" proc with simple returns that suppress remaining
26135 tests. The alldone proc went away many months ago.
26136
26137Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26138
26139 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
26140
26141 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
26142
26143Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26144
26145 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
26146 as vax gdb will display them.
26147
26148Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26149
26150 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
26151 optimizers.
26152
26153 * scope.exp: Change "bad value for localval" messages so each one
26154 is unique.
26155
26156 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
26157 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
26158
26159 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
26160
26161Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26162
26163 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
26164 doesn't exist (due to optimization).
26165
26166Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26167
26168 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
26169 contains \r because the filename is long.
26170
26171 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
26172 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
26173
26174Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26175
26176 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
26177 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
26178 Ultrix.
26179 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
26180 int tests.
26181 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
26182
26183Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
26184
26185 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
26186
26187 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 26188 to match does not match the passing case but still matches the
c906108c
SS
26189 failing case.
26190
26191Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26192
26193 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
26194
26195Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
26196
26197 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
26198 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
26199 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
26200 Remove various versions of gdb_exit.
26201 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
26202 gdb_exit.
26203 * config/unix-gdb.exp: gdb_exit remains here, and should override
26204 the generic version, since it's doing a lot of wierd stuff that
26205 the other versions aren't. FIXME, fold it in, or abandon this
26206 version.
26207
26208Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26209
26210 * gdb.t24/demangle.exp: Add tests for PR 3220.
26211
26212Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26213
26214 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
26215
26216Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
26217
26218 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
26219 "i386-*-*". Works for i486 as well.
26220
26221 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
26222 bug, and expand domain of xfail to all SVR4 systems, since the
26223 actual problem is likely to be in generic SVR4 /proc support.
26224
26225Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26226
26227 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
26228
26229Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
26230
26231 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
26232 xfails for other systems. Match a missing 'Continuing.' as an
26233 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
26234
26235 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
26236 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
26237 Only issue warning for missing executables if -all option is used.
26238
26239 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
26240 file if -all option is used. It's like an unpredictable XFAIL.
26241
26242Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26243
26244 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
26245 for dynamically linked binaries.
26246
26247 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
26248
26249Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26250
26251 * gdb.t20/inherit.exp: Change message for "print tagless struct"
26252 to state that this is a known bug in old versions of g++.
26253
26254Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26255
26256 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
26257 while waiting for `Continuing'.
26258
26259Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
26260
26261 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
26262 in text, data, and bss.
26263 * gdb.t10/nodebug.c: Add local and global test variables for
26264 initialized and uninitialized data.
26265
26266Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26267
26268 * config/unix-gdb.exp (gdb_exit): Add "wait".
26269
26270Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26271
26272 * gdb.t06/signals.exp: xfail the continue from the handler for all
26273 targets.
26274
26275 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
26276 function with watchpoints enabled, the i386 call dummy starts with
26277 a call.
26278
26279 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
26280 386 bsd names its corefiles.
26281
26282Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
26283
26284 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
26285 compilers don't grok it.
26286 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
26287 with small octal ints rather than character constants, which
26288 are signed and might not fit if first promoted to int.
26289
26290Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
26291
26292 * gdb.t09/Makefile.in (clean): Remove corefile.
26293
26294Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26295
26296 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
26297
26298Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26299 and Jim Kingdon (kingdon@cygnus.com)
26300
26301 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
26302 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
26303 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
26304
26305Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26306
26307 * gdb.t17/interrupt.exp: Add xfail for hppa.
26308
26309Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26310
26311 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
26312 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
26313 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
26314 to determine signed-ness of bitfields and use the result to setup
26315 the xfail.
26316 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
26317 * gdb.t15/funcargs.exp: Use them to step until the second indirect
26318 call line is reached if necessary.
26319
26320Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26321
26322 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
26323
26324Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26325
26326 * gdb.t06/break.exp: Also test `clear' command.
26327
26328Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26329
26330 * gdb.t00/teststrategy.exp: Remove extra quote.
26331
26332 * gdb.t07/watchpoint.exp: Change xfail for calling function with
26333 watchpoint enabled to be for all non-68k machines.
26334
26335 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
26336
26337Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26338
26339 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
26340 targets use aout.mt instead of ecoff.mt as gas understands
26341 standard aout format.
26342
26343Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26344
26345 * lib/gdb.exp (runto): Don't insist that function we are running to
26346 was compiled with -g.
26347
26348 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
26349
26350 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
26351 to get back into the read system call.
26352 Accept leading newline in case where we woke it up.
26353
26354Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26355
26356 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
26357 to make the stabs test work on ecoff systems using gcc and -with-stabs.
26358 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
26359 enable ecoff configuration.
26360
26361Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26362
26363 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
26364
26365Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26366
26367 * gdb.t16/printcmds.exp: Add another printf test.
26368
26369Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
26370
26371 * configure.in: If configured -with-stabs on any target, add
26372 stabsdirs to configdirs.
26373
26374Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26375
26376 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
26377 fun" so pattern does not match the command itself.
26378
26379Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26380
26381 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
26382
26383Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26384
26385 * gdb.t17/interrupt.exp: Test for more things.
26386
26387Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26388
26389 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
26390 compiler arranges the code and line numbers.
26391
26392 * gdb.t17/interrupt.exp: Don't send \n after ^C.
26393
26394Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26395
26396 * gdb.t00/help.exp: Increase expect input buffer size.
26397
26398Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26399
26400 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
26401
26402 * gdb.t07/watchpoint.exp: Add xfail for hppa.
26403
26404 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
26405
26406 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
26407 [0-9]*, not just [0-9].
26408
26409Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26410
26411 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
26412
26413 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
26414
26415Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26416
26417 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
26418
26419Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26420
26421 * gdb.t06/signals.c: Add xfails for sun3.
26422
26423 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
26424
26425 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
26426 test_stepping tests.
26427
26428Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26429
26430 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
26431
26432 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
26433
26434 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
26435 rather than actually putting it through cpp twice.
26436
26437 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
26438
26439Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
26440
26441 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
26442 no longer needed.
26443
26444Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26445
26446 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
26447
26448 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
26449 C++ features prints as "struct", make it a pass, not an xfail.
26450
26451Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26452
26453 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
26454 Don't require VA to print as "class" rather than "struct".
26455
26456Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
26457
26458 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
26459
26460Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26461
26462 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
26463
26464Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26465
26466 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
26467 order.
26468
26469Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26470
26471 * gdb.t16/printcmds.exp: Add printf tests.
26472
26473 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
26474
26475 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
26476
26477Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
26478
26479 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
26480 pass counts, to counteract any existing or future setup_xfails.
26481
26482Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26483
26484 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
26485 {BEGIN,END}_COMMON for common block instead of STAB.
26486 * gdb.stabs/wierd.exp: Add xfail for rs6000.
26487
26488 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
26489 intp_var should be N_GSYM not N_LSYM.
26490 wierd-aout.S: Use a label for the value of the N_SO.
26491 wierd.def: Remove all backslashes.
26492 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
26493
26494Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26495
26496 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
26497 get the expected next to inheritance3.
26498
26499Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26500
26501 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
26502 now that gcc-2.4 gets it right.
26503
26504Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26505
26506 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
26507
26508 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
26509 generating comp-info.exp which works for cross-compilation.
26510
26511Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
26512
26513 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
26514 "*-*-sysv4.*".
26515
26516Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
26517
26518 * gdb.t01/run.exp: Start with a fresh gdb.
26519 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
26520 SVR4.x.
26521
26522Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
26523
26524 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
26525 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
26526 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
26527 Makefile.in (distclean, realclean): Remove gdbme.c from list of
26528 things to remove.
26529
26530Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
26531
26532 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
26533 test cases from bug reports.
26534
26535Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
26536
26537 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
26538 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
26539 avoid spurious xfails.
26540 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
26541 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
26542 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
26543
26544Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
26545
26546 * gdb.t00/teststrategy.exp: Rework to provide more useful
26547 description of each test, fix problem with systems that define
26548 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
26549 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
26550 results for "next over recursive call" so timeouts aren't taken
26551 by error.
26552
26553Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
26554
26555 * gdb.t12/scope.exp: Test printing of variables before run.
26556
26557 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
26558 printed in wrong order due to sorting.
26559
26560Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
26561
26562 * gdb.t00/teststrategy.exp: Fix expected results for printing
26563 user entered string constant. Is array of char, prints with no
26564 address.
26565
26566 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
26567 commands.
26568 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
26569 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
26570 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
26571 of struct of char arrays.
26572 * gdb.t00/radix.exp: New tests for radix commands.
26573
26574Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
26575
26576 * gdb.t16/printcmd.exp: Print a variable before running program
26577 (with xfail for AIX).
26578
26579Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
26580
26581 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
26582
26583 * gdb.t16/printcmd.exp: Don't print variables before running program.
26584
26585 * gdb.t06/break.exp: Don't require envp argument to main.
26586
26587 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
26588
26589 * gdb.t02/whatis.exp, gdb.t11/list.exp:
26590 Add xfails for rs6000.
26591
26592 * gdb.t02/whatis.exp: Change other tests not to re-test something
26593 we already tested.
26594
26595 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
26596 each type used has a variable of that type.
26597
26598Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
26599
26600 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
26601
26602Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
26603
26604 * configure.in: change srctrigger to be a file, not a directory
26605
26606Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
26607
26608 * configure.in (mips-idt-ecoff*): Added trailing '*'.
26609
26610 * gdb.t11/list.exp: Fixed a couple of typos.
26611
26612Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
26613
26614 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
26615 is fixed and PR is closed.
26616 * gdb.t16 (gdbme.c): Add simple test string variable.
26617 * gdb.t16 (printcmds.exp): Add tests with simple test string
26618 variable, primarily for boundaries on "set print elements".
26619
26620Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
26621
26622 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
26623 Make leading 0's optional and don't expect a tab in the middle
26624 of the number.
26625
26626 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
26627
26628 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
26629 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
26630 don't end command passed to gdb_test with newline.
26631
26632 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
26633 signed keyword away, don't expect signed bitfields to be signed.
26634
26635 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
26636 printing with only as many 1's as are in the field as well as printing
26637 with 32 1's (see comment).
26638
26639Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
26640
26641 * gdb.t00/default.exp: Start with a fresh gdb.
26642 * configure.in (configdirs): Remove gdb.t31 until the chill
26643 compiler works again. It no longer is able to find chillrt0
26644 since it isn't in libchill.a anymore.
26645 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
26646 wierd.o, make more modular.
26647 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
26648 spurious newlines that caused problems.
26649
26650Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26651
26652 * Move test with enums and partial symbols from gdb.t03/ptype.exp
26653 to gdb.stabs/wierd.exp since GCC has worked around the bug.
26654 gdb.stabs/wierd.{exp,def}: Many new tests.
26655
26656 * gdb.t00/default.exp: update info line for new message.
26657
26658 * gdb.t02/{whatis.exp,gdbme.c}:
26659 Test that "char *" doesn't print as "caddr_t".
26660
26661Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26662
26663 * gdb.t00/help.exp: Use .* in place of some help messages which
26664 just changed.
26665 gdb.t00/default.exp: Update "info frame" test for new message.
26666 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
26667 Remove some xfails
26668
26669Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26670
26671 * gdb.t03/{gdbme.c,ptype.exp}:
26672 Add tests for typedef'd struct and union without tags.
26673 Also check "whatis" on a variable of a typedef'd enum without a tag.
26674
26675 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
26676 PRMS 1823; the bug still exists but isn't reproduced by this test
26677 anymore), and remove rs6000 XFAIL (the bug is fixed).
26678
26679 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
26680 duplicated from whatis.exp. For those that are left, accept
26681 "long", "long int", or "int" for long variables (whatis.exp already
26682 has an XFAIL for "int", so no need to fail it here).
26683
26684 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
26685 Deal with GCC's names for types now that GDB uses the compiler's names.
26686
26687 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
26688 setup_xfail's for sunos4. If we #defined the signed keyword away,
26689 don't expect GDB to know that char it is signed.
26690
26691 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
26692
26693Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
26694
26695 * configure.in (configdirs): Add gdb.t24 for C++ tests that
26696 should work on any system, regardless of debugging format.
26697 * gdb.t21/demangle.exp: Move to gdb.t24.
26698 * gdb.t24/demangle.exp: Move from gdb.t21.
26699 * gdb.t24/{Makefile.in, configure.in}: New files.
26700
26701Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26702
26703 * configure.in: Do gdb.stabs and C++ tests only for stabs.
26704 * gdb.stabs: New directory.
26705
26706Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26707
26708 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
26709 not just "Quit anyway?".
26710
26711Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
26712
26713 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
26714 that all setup_xfails are immediately followed by clear_xfails.
26715
26716Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
26717
26718 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
26719 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
26720 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
26721 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
26722 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
26723 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26724 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26725 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
26726 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
26727 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
26728 gdb.t31/chillvars.exp, lib/gdb.exp:
26729 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
26730 bug-gdb@prep.ai.mit.edu.
26731
26732Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
26733
26734 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
26735 with 0.0, not integer 0.
26736
26737Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
26738
26739 * gdb.t06/break.exp: Update for "Kill the program" message change.
26740
26741Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
26742
26743 * Makefile.in (GDBFLAGS): Set to -nx.
26744 * Makefile.in (site.exp): Use GDBFLAGS.
26745
26746Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26747
26748 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
26749 Makefiles.
26750 (check): depend on just-check.
26751 (just-check): added so that tests can be run without a noop
26752 build pass.
26753
26754Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26755
26756 Switch to using configure's configdirs.
26757 * Makefile.in (Makefile): add configure.in dependency.
26758 (SUBDIRS): removed redundant assignment.
26759 * configure.in: switch subdirs assignment to configdirs.
26760 * gdb.t*/configure.in: new files.
26761
26762Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
26763
26764 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
26765 works.
26766
26767Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
26768
26769 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
26770 in explicit rules. Apparently this is not supported by some makes.
26771
26772Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
26773
26774 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
26775
26776Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26777
26778 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
26779 disappeared.
26780
26781Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
26782
26783 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
26784
26785Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
26786
26787 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
26788 watchpoint problem that is now fixed.
26789 * gdb.t30/chexp.exp: Remove setup_xfail for printing
26790 uninitialized convenience variables.
26791 * gdb.t31/chillvars.exp: Fix expected patterns for printing
26792 structures.
26793
26794Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26795
26796 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
26797 which causes expect to get out of sync with gdb on long output
26798 from help set.
26799 * gdb.t09/corefile.exp: Make expected pattern for core file
26800 failing signal and frame output format less sun specific.
26801
26802Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
26803
26804 * gdb.t31/chillvars.exp: Add and remove initial dummy
26805 breakpoint, so that symbol table is forced in.
26806 (Needed at least on Sunos4, though it seems not SVR4.)
26807 * gdb.t31/chillvars.exp: Update for changed output format.
26808
26809Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
26810
a9c64011 26811 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
26812
26813Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
26814
26815 * Makefile.in: Added --srcdir when invoking runtest, removed the
26816 need for a local config file. (optional now)
26817
26818Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
26819
26820 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
26821 failure count used to force early termination. Add some more
26822 expected failures for gnu style demangling.
26823
26824Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26825
26826 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
26827 pmi variable from gdb.t20/gdbme to get optimized away.
26828 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
26829 Check for written corefile upon timeout _and_ eof.
26830
26831Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26832
26833 * config/unix-gdb.exp: Add missing return 0.
26834
26835Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26836
26837 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
26838 test termination.
26839
26840Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
26841
26842 * configure.in (subdirs): Put back gdb.t17 which mysteriously
26843 disappeared.
26844
26845Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
26846
26847 * gdb.t10/crossload.exp: Disable the i860-elf test until such
26848 time as i860 support works.
26849
d63a86f8 26850 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
26851 "backtrace 100\r" rather than just "backtrace\r", to match last
26852 change.
26853
26854Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
26855
26856 * config/udi-gdb.exp (gdb_exit): Remove close command.
26857 (gdb_target_udi): New procedure to set the UDI target.
26858 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
26859 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
26860 Added waits for prompts after several question responses. Added
26861 some more responses used by a29k-amd-udi-gdb.
26862 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
26863 pass different arguments, restart UDI connection after program
26864 completion.
26865 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
26866 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26867 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
26868 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
26869 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
26870 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
26871 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26872 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
26873 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
26874 after program completion.
26875 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
26876 compiled with a SELECT_VECS setting.
26877 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
26878 infinite recursion.
26879
26880 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
26881 Added checks for COFF results, and made them expected failures for
26882 all targets. It would be better to make them expected failures
26883 for COFF targets only.
26884
26885Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
26886
26887 * Makefile.in: add null dvi target, don't bother to recurse
26888 through test directories for info and install-info; rename
26889 $(datadir) to be dejagnu instead of deja-gnu
26890
26891Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
26892
26893 * gdb.t31/gdbme.ch: Re-enable code that previously caused
26894 compiler to coredump.
26895 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
26896 code.
26897
26898Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
26899
26900 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
26901 coredump.
26902 * gdb.t31/chillvars.exp: Comment out tests that depend on that
26903 code.
26904
26905Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
26906
26907 * gdb.t03/ptype.exp: tests for return code from gdb_test.
26908 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
26909 which in a shell. Deletes xgdb when done.
26910 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
26911 Tests the return from the "set height" or "set width" commands.
26912 Added a few return codes where needed.
26913
26914Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
26915
26916 * Makefile.in (SUBDIRS): Add gdb.t17.
26917 * configure.in (subdirs): Add gdb.t17.
26918 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
26919 files to test gdb's calling of functions in the inferior with
26920 the correct arguments and gdb's ability to retrieve any
26921 result returned.
26922
26923Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
26924
26925 * config/unix-gdb.exp (gdb_exit): Remove close commands that
26926 may be called after gdb goes away. Previous versions of expect
26927 needed these to avoid file descriptor leaks, but they cause
26928 errors with the current revision of expect.
26929 * gdb.t00/gdbvars.exp: Use -re on expected output after
26930 setting sevenbit-strings.
26931 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
26932 to set sevenbit-strings consistent across tests.
26933 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
26934 set sevenbit-strings consistent across tests.
26935
26936Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
26937
26938 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
26939 expected output to match current "expect" expectations.
26940
26941Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
26942
26943 * gdb.t00/default.exp: Change expected output for default "source"
26944 command, to match new gdb behavior which requires a filename to
26945 source.
26946
26947Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
26948
26949 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
26950 expected fail for i486-*-* that misses the marker2 function.
26951 * gdb.t10/crossload.exp (bfddefault): Allow successful
26952 recognition of a format to pass even if no symbols are found.
26953 Explicitly catch failures where the format is not recognized
26954 or is ambiguous, and add the reason to the fail message.
26955 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
26956 the cause is and invalid target and add reason to failure message.
26957 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
26958 elf32-i386, elf32-sparc, and elf32-i860.
26959 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
26960 Set up expected failure for 'filename'::variable scope resolution,
26961 which is now apparently broken on all targets.
26962 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
26963 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
26964 gdb.t23/templates.exp: Change failure for missing binfile into
26965 just a warning.
26966 gdb.t21/demangle.exp: Change all cfront references to 'arm'
26967 references.
26968
26969Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
26970
26971 * gdb.t00/default.exp: Add expected output for default "source"
26972 command, to match new gdb behavior.
26973 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
26974
26975Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
26976
26977 * config/*-gdb.exp: returns an error, rather than exiting on
26978 internal errors.
26979
26980Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
26981
26982 * gdb.t03/gdbme.c: Add pointer to struct variable.
26983 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
26984 referencing struct members.
26985
26986Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
26987
26988 * configure.in (mips-idt-ecoff): New target.
26989 * config/mips-gdb.exp: New file for remote board using MIPS remote
26990 debugging protocol.
26991
26992 * Redid configuration scheme. Removed gdb.t*/configure.in.
26993 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
26994 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
26995 distclean targets. Built executables via .o files. Adjusted
26996 tests to account for source files in $(srcdir) rather than
26997 $(objdir).
26998 * lib/gdb.exp (runto): Don't expect () after the function name,
26999 because it may have arguments.
27000
27001Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
27002
27003 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
27004 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
27005 expected failures for mips-idt-* and mips-sgi-*.
27006 * gdb.t00/default.exp (attach): Kill process if requested.
27007 * gdb.t00/help.exp (help target core, help target): Accept a gdb
27008 that does not read core files.
27009 * gdb.t01/run.exp: Removed checks for exit status code.
27010 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
27011 it is linked in.
27012 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
27013 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
27014 appropriate, rather than doing it by hand.
27015 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
27016 execution.
27017 * gdb.t10/crossload.exp: Kill existing program if needed.
27018 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
27019 appropriate, rather than doing it by hand. Always increase
27020 timeout for this test, not just for VxWorks.
27021
27022Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
27023
27024 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
27025 of Chill STRUCT types and STRUCT values.
27026 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
27027 than "char".
27028 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 27029 struct2): New struct definitions and initializations to test
c906108c
SS
27030 simple Chill STRUCT types.
27031
27032Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
27033
27034 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
27035 the null byte at the end of strings.
27036 * gdb.t00/default.exp: Make show version insensitive to copyright
27037 date.
27038 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
27039 to avoid dependencies on target char signedness.
27040 * gdb.t16/printcmds.exp: Update expected results for explicitly
27041 unsigned char.
27042 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
27043 now work.
27044 * gdb.t21/demangle.exp: Add many more patterns for template
27045 demangling, most of them being expected failures.
27046 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
27047 string we are matching for, to match on the whole string.
27048 * gdb.t21/demangle.exp: Add many new test strings to demangle,
27049 and fix a whole bunch that had incorrect expected output but were
27050 passing anyway because of the bug in "proc demangle".
27051 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
27052 type.
27053 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
27054
27055Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
27056
a9c64011
AS
27057 * gdb/testsuite: made modifications to testcases, etc., to allow
27058 them to work properly given the reorganization of deja-gnu and the
27059 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
27060
27061Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
27062
27063 * gdb/testsuite: Initial creation of gdb/testsuite.
27064 Migrated dejagnu testcases and support files for testing nm to
27065 gdb/testsuite from deja-gnu. These files were moved "as is"
27066 with no modifications. This migration is part of a major overhaul
27067 of dejagnu. The modifications to these testcases, etc., which
27068 will allow them to work with the new version of dejagnu will be
27069 made in a future update.
48efe704 27070
8d8cb839 27071 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 27072\f
8d8cb839
EZ
27073;; Local Variables:
27074;; mode: change-log
27075;; left-margin: 8
27076;; fill-column: 74
27077;; version-control: never
27078;; End:
902f2ccb 27079
0b302171 27080 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
27081 Copying and distribution of this file, with or without modification,
27082 are permitted provided the copyright notice and this notice are preserved.