* gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
76027ef5
TT
12012-07-12 Tom Tromey <tromey@redhat.com>
2
3 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
4 * gdb.dwarf2/dw2-anonymous-func.exp: Use
5 prepare_for_testing_full.
6 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
7 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
8 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
9 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
10 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
11 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
12 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
13 prepare_for_testing_full.
14 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
15 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
16 prepare_for_testing_full.
17 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
18 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
19 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
20
85b4440a
TT
212012-07-12 Tom Tromey <tromey@redhat.com>
22
23 * lib/gdb.exp (build_executable_from_specs): New proc, from
24 build_executable.
25 (build_executable): Use it.
26 (prepare_for_testing_full): New proc.
27
55baab26
TT
282012-07-11 Tom Tromey <tromey@redhat.com>
29
30 * gdb.reverse/break-precsave.exp: Use standard_output_file.
31 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
32 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
33 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
34 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
35 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
36 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
37 * gdb.reverse/step-precsave.exp: Use standard_output_file.
38 * gdb.reverse/until-precsave.exp: Use standard_output_file.
39 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
40
298a9cf0
TT
412012-07-10 Tom Tromey <tromey@redhat.com>
42
43 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
44 standard_output_file.
45 * gdb.mi/gdb2549.exp: Use standard_testfile.
46 * gdb.mi/gdb669.exp: Use standard_testfile.
47 * gdb.mi/gdb701.exp: Use standard_testfile.
48 * gdb.mi/gdb792.exp: Use standard_testfile.
49 * gdb.mi/mi-async.exp: Use standard_testfile.
50 * gdb.mi/mi-basics.exp: Use standard_testfile.
51 * gdb.mi/mi-break.exp: Use standard_testfile.
52 * gdb.mi/mi-cli.exp: Use standard_testfile.
53 * gdb.mi/mi-console.exp: Use standard_testfile.
54 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
55 * gdb.mi/mi-eval.exp: Use standard_testfile.
56 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
57 * gdb.mi/mi-file.exp: Use standard_testfile.
58 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
59 * gdb.mi/mi-logging.exp: Use standard_testfile.
60 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
61 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
62 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
63 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
64 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
65 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
66 * gdb.mi/mi-pending.exp: Use standard_testfile,
67 standard_output_file.
68 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
69 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
70 * gdb.mi/mi-regs.exp: Use standard_testfile.
71 * gdb.mi/mi-return.exp: Use standard_testfile.
72 * gdb.mi/mi-reverse.exp: Use standard_testfile.
73 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
74 * gdb.mi/mi-solib.exp: Use standard_testfile,
75 standard_output_file.
76 * gdb.mi/mi-stack.exp: Use standard_testfile.
77 * gdb.mi/mi-stepi.exp: Use standard_testfile.
78 * gdb.mi/mi-stepn.exp: Use standard_testfile.
79 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
80 * gdb.mi/mi-until.exp: Use standard_testfile.
81 * gdb.mi/mi-var-block.exp: Use standard_testfile.
82 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
83 * gdb.mi/mi-var-child.exp: Use standard_testfile.
84 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
85 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
86 * gdb.mi/mi-var-display.exp: Use standard_testfile.
87 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
88 standard_output_file.
89 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
90 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
91 * gdb.mi/mi-watch.exp: Use standard_testfile.
92 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
93 * gdb.mi/mi2-basics.exp: Use standard_testfile.
94 * gdb.mi/mi2-break.exp: Use standard_testfile.
95 * gdb.mi/mi2-cli.exp: Use standard_testfile.
96 * gdb.mi/mi2-console.exp: Use standard_testfile.
97 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
98 * gdb.mi/mi2-eval.exp: Use standard_testfile.
99 * gdb.mi/mi2-file.exp: Use standard_testfile.
100 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
101 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
102 * gdb.mi/mi2-regs.exp: Use standard_testfile.
103 * gdb.mi/mi2-return.exp: Use standard_testfile.
104 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
105 * gdb.mi/mi2-stack.exp: Use standard_testfile.
106 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
107 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
108 * gdb.mi/mi2-until.exp: Use standard_testfile.
109 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
110 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
111 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
112 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
113 * gdb.mi/mi2-watch.exp: Use standard_testfile.
114
f5f3a911
TT
1152012-07-10 Tom Tromey <tromey@redhat.com>
116
117 * gdb.cp/abstract-origin.exp: Use standard_testfile.
118 * gdb.cp/ambiguous.exp: Use standard_testfile,
119 prepare_for_testing.
120 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
121 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
122 * gdb.cp/anon-ns.exp: Use standard_testfile.
123 * gdb.cp/anon-struct.exp: Use standard_testfile.
124 * gdb.cp/anon-union.exp: Use standard_testfile,
125 prepare_for_testing.
126 * gdb.cp/arg-reference.exp: Use standard_testfile,
127 prepare_for_testing.
128 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
129 * gdb.cp/breakpoint.exp: Use standard_testfile,
130 prepare_for_testing.
131 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
132 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
133 standard_output_file.
134 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
135 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
136 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
137 (test_static_members): Update.
138 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
139 * gdb.cp/converts.exp: Use standard_testfile.
140 * gdb.cp/cp-relocate.exp: Use standard_testfile.
141 * gdb.cp/cpcompletion.exp: Use standard_testfile,
142 prepare_for_testing.
143 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
144 * gdb.cp/cplabel.exp: Use standard_testfile.
145 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
146 prepare_for_testing.
147 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
148 * gdb.cp/derivation.exp: Use standard_testfile,
149 prepare_for_testing.
150 * gdb.cp/destrprint.exp: Use standard_testfile.
151 * gdb.cp/dispcxx.exp: Use standard_testfile.
152 * gdb.cp/exception.exp: Use standard_testfile,
153 prepare_for_testing.
154 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
155 * gdb.cp/extern-c.exp: Use standard_testfile,
156 prepare_for_testing.
157 * gdb.cp/formatted-ref.exp: Use standard_testfile,
158 prepare_for_testing.
159 * gdb.cp/fpointer.exp: Use standard_testfile.
160 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
161 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
162 standard_output_file.
163 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
164 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
165 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
166 standard_output_file.
167 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
168 (do_tests): Update.
169 * gdb.cp/koenig.exp: Use standard_testfile.
170 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
171 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
172 * gdb.cp/m-static.exp: Use standard_testfile,
173 prepare_for_testing.
174 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
175 * gdb.cp/mb-inline.exp: Use standard_testfile,
176 prepare_for_testing.
177 * gdb.cp/mb-templates.exp: Use standard_testfile,
178 prepare_for_testing.
179 * gdb.cp/member-ptr.exp: Use standard_testfile,
180 prepare_for_testing.
181 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
182 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
183 * gdb.cp/method2.exp: Use standard_testfile.
184 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
185 standard_output_file.
186 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
187 (do_tests): Update.
188 * gdb.cp/namespace-enum.exp: Use standard_testfile,
189 prepare_for_testing.
190 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
191 prepare_for_testing.
192 * gdb.cp/namespace.exp: Use standard_testfile,
193 prepare_for_testing.
194 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
195 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
196 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
197 * gdb.cp/nsimport.exp: Use standard_testfile,
198 prepare_for_testing.
199 * gdb.cp/nsnested.exp: Use standard_testfile.
200 * gdb.cp/nsnoimports.exp: Use standard_testfile.
201 * gdb.cp/nsrecurs.exp: Use standard_testfile,
202 prepare_for_testing.
203 * gdb.cp/nsstress.exp: Use standard_testfile,
204 prepare_for_testing.
205 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
206 * gdb.cp/operator.exp: Use standard_testfile.
207 * gdb.cp/oranking.exp: Use standard_testfile.
208 * gdb.cp/overload-const.exp: Use standard_testfile.
209 * gdb.cp/overload.exp: Use standard_testfile,
210 prepare_for_testing.
211 * gdb.cp/ovldbreak.exp: Use standard_testfile.
212 * gdb.cp/ovsrch.exp: Use standard_testfile.
213 * gdb.cp/paren-type.exp: Use standard_testfile.
214 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
215 prepare_for_testing.
216 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
217 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
218 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
219 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
220 * gdb.cp/pr10728.exp: Use standard_testfile,
221 standard_output_file.
222 * gdb.cp/pr12028.exp: Use standard_testfile.
223 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
224 * gdb.cp/pr9167.exp: Use standard_testfile.
225 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
226 * gdb.cp/printmethod.exp: Use standard_testfile,
227 prepare_for_testing.
228 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
229 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
230 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
231 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
232 standard_output_file.
233 * gdb.cp/readnow-language.exp: Use standard_testfile.
234 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
235 (gdb_start_again): Use clean_restart.
236 * gdb.cp/ref-types.exp: Use standard_testfile,
237 prepare_for_testing.
238 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
239 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
240 * gdb.cp/smartp.exp: Use standard_testfile.
241 * gdb.cp/static-method.exp: Use standard_testfile.
242 * gdb.cp/static-print-quit.exp: Use standard_testfile.
243 * gdb.cp/temargs.exp: Use standard_testfile.
244 * gdb.cp/templates.exp: Use standard_testfile,
245 prepare_for_testing.
246 (do_tests): Update.
247 * gdb.cp/try_catch.exp: Use standard_testfile,
248 prepare_for_testing.
249 * gdb.cp/typedef-operator.exp: Use standard_testfile.
250 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
251 * gdb.cp/virtbase.exp: Use standard_testfile,
252 prepare_for_testing.
253 * gdb.cp/virtfunc.exp: Use standard_testfile,
254 prepare_for_testing.
255 (do_tests): Update.
256 * gdb.cp/virtfunc2.exp: Use standard_testfile,
257 prepare_for_testing.
258
686f09d0
TT
2592012-07-10 Tom Tromey <tromey@redhat.com>
260
261 * lib/gdb.exp (standard_testfile): Unset output variables from
262 earlier invocations.
263
9357e021
YQ
2642012-07-10 Yao Qi <yao@codesourcery.com>
265
266 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
267 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
268 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
269 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
270 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
271 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
272 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
273 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
274 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
275 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
276 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
277 * gdb.mi/mi-var-display.exp: Likewise.
278 * gdb.mi/mi-var-invalidate.exp: Likewise.
279 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
280 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
281 * gdb.mi/mi2-console.exp: Likewise.
282 * gdb.mi/mi2-disassemble.exp: Likewise.
283 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
284 * gdb.mi/mi2-read-memory.exp: Likewise.
285 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
286 * gdb.mi/mi2-simplerun.exp: Likewise.
287 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
288 * gdb.mi/mi2-syn-frame.exp: Likewise.
289 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
290 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
291 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
292
e314d629
TT
2932012-07-09 Tom Tromey <tromey@redhat.com>
294
295 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
296 * gdb.base/callfuncs.exp: Add cast-based test.
297 * gdb.base/callfuncs.c (voidfunc): New function.
298
06928b3f
DE
2992012-07-08 Doug Evans <dje@google.com>
300
301 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
302
32f11bad
JK
3032012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
304
305 Fix XFAIL compatibility with old i386 systems.
306 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
307 Check also 'Cannot insert breakpoint 0'.
308
76b83c51
JK
3092012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
310
311 PR 14321
312 * gdb.base/find.exp
313 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
314
a6fb9c08
TT
3152012-07-06 Tom Tromey <tromey@redhat.com>
316
317 * gdb.base/whatis.exp: Add test.
318
71918a86
TT
3192012-07-06 Tom Tromey <tromey@redhat.com>
320
321 * gdb.base/whatis.exp: Add regression test.
322
fcde5961
TT
3232012-07-06 Tom Tromey <tromey@redhat.com>
324
325 * gdb.base/whatis.exp: Add tests.
326
f9cf0f4a
JK
3272012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
328
329 PR 12649
330 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
331 gdb_test_multiple $gdb_prompt terminator.
332
979ade8b
PA
3332012-07-04 Pedro Alves <palves@redhat.com>
334
335 * gdb.mi/mi-reverse.exp: Use supports_reverse and
336 supports_process_record.
337
8a980b44
PA
3382012-07-04 Pedro Alves <palves@redhat.com>
339
340 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
341 endings.
342 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
343
855ba978
SS
3442012-07-03 Stan Shebs <stan@codesourcery.com>
345
346 * gdb.base/info-os.c (main): Retry resource acquisition until an
347 available one is found.
348 * gdb.base/info-os.exp: Collect resource keys from the program
349 and use them in matching.
350
fcb44371
JK
3512012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
352
353 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
354 Wrap the test into loop for corefile and core0file.
355
08a67be6
JK
3562012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
357
358 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
359 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
360 .note.GNU-stack.
361
0f3c2347
JK
362 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
363
ff4a4500
SDJ
3642012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
365
366 * gdb.base/help.exp (help b, help br, help bre, help brea, help
367 break): Include help message for the new `-probe' and `-probe-stap'
368 options.
369
d3ce09f5
SS
3702012-07-02 Stan Shebs <stan@codesourcery.com>
371
372 * gdb.base/dprintf.exp: Add agent style tests.
373
a1624241
JK
3742012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
375
376 * gdb.base/stale-infcall.c (infcall): New label test-next.
377 (main): New labels test-pass and test-fail.
378 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
379 $test_fail_bpnum to test-fail.
380 (test system longjmp tracking support): New test.
381 Delete $test_fail_bpnum.
382 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
383 breakpoint.
384
42e7ad6c
DE
3852012-06-30 Doug Evans <dje@google.com>
386
387 * gdb.dwarf2/fission-reread.S: New file.
388 * gdb.dwarf2/fission-reread.exp: New file.
389
37ce89eb
SS
3902012-06-28 Stan Shebs <stan@codesourcery.com>
391
392 * gdb.mi/mi-logging.exp: New file.
393
e5ef252a
PA
3942012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
395 Pedro Alves <palves@redhat.com>
396
397 * gdb.threads/siginfo-threads.exp: New file.
398 * gdb.threads/siginfo-threads.c: New file.
399 * gdb.threads/sigstep-threads.exp: New file.
400 * gdb.threads/sigstep-threads.c: New file.
401
22f1fbae
TT
4022012-06-28 Tom Tromey <tromey@redhat.com>
403
404 * gdb.go/package.exp: Partially revert earlier patch; use
405 gdb_compile again. Use standard_output_file.
406
2e3cf129
DE
4072012-06-27 Doug Evans <dje@google.com>
408
409 * gdb.dwarf2/fission-base.c: New file.
410 * gdb.dwarf2/fission-base.S: New file.
411 * gdb.dwarf2/fission-base.exp: New file.
412
785fd303
JK
4132012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
414
415 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
416
1bb9788d
TT
4172012-06-27 Tom Tromey <tromey@redhat.com>
418
419 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
420 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
421
c83ee902
TT
4222012-06-27 Tom Tromey <tromey@redhat.com>
423
424 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
425 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
426 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
427 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
428 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
429 prepare_for_testing.
430 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
431 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
432 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
433 standard_testfile.
434 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
435 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
436 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
437 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
438 prepare_for_testing.
439 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
440 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
441 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
442 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
443 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
444 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
445 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
446 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
447 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
448 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
449 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
450 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
451 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
452 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
453 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
454 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
455 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
456 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
457 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
458 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
459 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
460 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
461 standard_output_file.
462 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
463 standard_output_file.
464 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
465 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
466 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
467 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
468 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
469 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
470 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
471 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
472 * gdb.dwarf2/implptr.exp: Use standard_testfile.
473 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
474 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
475 * gdb.dwarf2/pieces.exp: Use standard_testfile.
476 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
477 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
478 * gdb.dwarf2/valop.exp: Use standard_testfile,
479 prepare_for_testing.
480
5204774b
TT
4812012-06-27 Tom Tromey <tromey@redhat.com>
482
483 * gdb.python/python.exp: Fix regexps in pagination tests.
484
ee0bf529
SCR
4852012-06-26 Siva Chandra Reddy <sivachandra@google.com>
486
487 * gdb.python/py-symtab.exp: Add tests to test the new attribute
488 'last' of gdb.Symtab_and_line.
489 * gdb.python/py-symbol.c: Move break point comment to enable
490 testing of gdb.Symtab_and_line.last.
491
14fcc022
TT
4922012-06-26 Tom Tromey <tromey@redhat.com>
493
494 * gdb.threads/step.c: Remove.
495 * gdb.threads/step.exp: Remove.
496 * gdb.threads/step2.exp: Remove.
497
0efbbabc
TT
4982012-06-26 Tom Tromey <tromey@redhat.com>
499
500 * gdb.threads/watchpoint-fork.exp (test): Use
501 standard_output_file. Don't declare objdir.
502 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
503 standard_output_file.
504 * gdb.threads/attach-stopped.exp: Use standard_testfile.
505 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
506 clean_restart. Remove incdir.
507 * gdb.threads/corethreads.exp: Use standard_testfile.
508 * gdb.threads/execl.exp: Use standard_testfile,
509 standard_output_file, clean_restart.
510 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
511 clean_restart.
512 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
513 clean_restart.
514 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
515 incdir.
516 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
517 clean_restart. Remove incdir.
518 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
519 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
520 clean_restart. Remove incdir.
521 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
522 Remove incdir.
523 * gdb.threads/leader-exit.exp: Use standard_testfile.
524 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
525 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
526 clean_restart.
527 * gdb.threads/manythreads.exp: Use standard_testfile,
528 clean_restart. Remove incdir.
529 * gdb.threads/multi-create.exp: Use standard_testfile,
530 clean_restart.
531 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
532 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
533 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
534 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
535 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
536 * gdb.threads/pending-step.exp: Use standard_testfile,
537 clean_restart. Remove incdir.
538 * gdb.threads/print-threads.exp: Use standard_testfile,
539 clean_restart. Remove incdir.
540 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
541 clean_restart. Remove incdir.
542 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
543 Remove incdir.
544 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
545 incdir.
546 * gdb.threads/sigthread.exp: Use standard_testfile,
547 clean_restart.
548 * gdb.threads/staticthreads.exp: Use standard_testfile,
549 clean_restart. Remove incdir.
550 * gdb.threads/switch-threads.exp: Use standard_testfile,
551 clean_restart. Remove incdir.
552 * gdb.threads/thread-execl.exp: Use standard_testfile,
553 clean_restart. Remove incdir.
554 * gdb.threads/thread-find.exp: Use standard_testfile,
555 clean_restart.
556 * gdb.threads/thread-specific.exp: Use standard_testfile,
557 clean_restart. Remove incdir.
558 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
559 clean_restart. Remove incdir.
560 * gdb.threads/thread_check.exp: Use standard_testfile,
561 clean_restart. Remove incdir.
562 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
563 incdir.
564 * gdb.threads/threadapply.exp: Use standard_testfile,
565 clean_restart. Remove incdir.
566 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
567 clean_restart. Remove incdir.
568 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
569 clean_restart.
570 * gdb.threads/tls-shared.exp: Use standard_testfile,
571 clean_restart, standard_output_file.
572 * gdb.threads/tls-var.exp: Use standard_testfile,
573 standard_output_file.
574 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
575 Remove incdir.
576 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
577 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
578 incdir.
579 * gdb.threads/watchthreads2.exp: Use standard_testfile,
580 clean_restart. Remove incdir.
581
497a5eb0
TT
5822012-06-26 Tom Tromey <tromey@redhat.com>
583
584 * gdb.trace/actions.exp: Use standard_testfile.
585 * gdb.trace/ax.exp: Use standard_testfile.
586 * gdb.trace/backtrace.exp: Use standard_testfile.
587 * gdb.trace/change-loc.exp: Use standard_testfile.
588 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
589 * gdb.trace/collection.exp: Use standard_testfile,
590 prepare_for_testing.
591 * gdb.trace/deltrace.exp: Use standard_testfile.
592 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
593 * gdb.trace/ftrace.exp: Use standard_testfile.
594 * gdb.trace/infotrace.exp: Use standard_testfile.
595 * gdb.trace/packetlen.exp: Use standard_testfile.
596 * gdb.trace/passc-dyn.exp: Use standard_testfile.
597 * gdb.trace/passcount.exp: Use standard_testfile.
598 * gdb.trace/pending.exp: Use standard_testfile.
599 * gdb.trace/report.exp: Use standard_testfile.
600 * gdb.trace/save-trace.exp: Use standard_testfile.
601 * gdb.trace/stap-trace.exp: Use standard_testfile.
602 * gdb.trace/status-stop.exp: Use standard_testfile.
603 * gdb.trace/strace.exp: Use standard_testfile.
604 * gdb.trace/tfile.exp: Use standard_testfile.
605 * gdb.trace/tfind.exp: Use standard_testfile.
606 * gdb.trace/trace-break.exp: Use standard_testfile.
607 * gdb.trace/trace-mt.exp: Use standard_testfile.
608 * gdb.trace/tracecmd.exp: Use standard_testfile.
609 * gdb.trace/tspeed.exp: Use standard_testfile.
610 * gdb.trace/tstatus.exp: Use standard_testfile.
611 * gdb.trace/tsv.exp: Use standard_testfile.
612 * gdb.trace/unavailable.exp: Use standard_testfile,
613 prepare_for_testing.
614 * gdb.trace/while-dyn.exp: Use standard_testfile.
615 * gdb.trace/while-stepping.exp: Use standard_testfile.
616
7686c074
TT
6172012-06-26 Tom Tromey <tromey@redhat.com>
618
619 * gdb.reverse/break-precsave.exp: Use standard_testfile.
620 * gdb.reverse/break-reverse.exp: Use standard_testfile.
621 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
622 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
623 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
624 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
625 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
626 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
627 prepare_for_testing.
628 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
629 prepare_for_testing.
630 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
631 prepare_for_testing.
632 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
633 prepare_for_testing.
634 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
635 prepare_for_testing
636 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
637 * gdb.reverse/machinestate.exp: Use standard_testfile.
638 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
639 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
640 build_executable.
641 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
642 build_executable.
643 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
644 standard_output_file.
645 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
646 standard_output_file.
647 * gdb.reverse/step-precsave.exp: Use standard_testfile.
648 * gdb.reverse/step-reverse.exp: Use standard_testfile.
649 * gdb.reverse/until-precsave.exp: Use standard_testfile.
650 * gdb.reverse/until-reverse.exp: Use standard_testfile.
651 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
652 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
653
481fc100
TT
6542012-06-26 Tom Tromey <tromey@redhat.com>
655
656 * gdb.stabs/weird.exp: Remove directory-checking code. Use
657 standard_output_file.
658 * gdb.stabs/exclfwd.exp: Use standard_testfile,
659 prepare_for_testing. Remove directory-checking code.
660
7bb18ae2
TT
6612012-06-25 Tom Tromey <tromey@redhat.com>
662
663 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
664 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
665 build_executable, not prepare_for_testing.
666 * gdb.multi/base.exp: Use standard_output_file. Use
667 build_executable, not prepare_for_testing.
668
cf09b3e4
TT
6692012-06-25 Tom Tromey <tromey@redhat.com>
670
671 * gdb.fortran/subarray.exp: Use standard_testfile,
672 prepare_for_testing.
673 * gdb.fortran/multi-dim.exp: Use standard_testfile.
674 * gdb.fortran/module.exp: Use standard_testfile.
675 * gdb.fortran/logical.exp: Use standard_testfile.
676 * gdb.fortran/library-module.exp: Use standard_testfile,
677 standard_output_file.
678 * gdb.fortran/derived-type.exp: Use standard_testfile,
679 prepare_for_testing.
680 * gdb.fortran/complex.exp: Use standard_testfile,
681 prepare_for_testing.
682 * gdb.fortran/charset.exp: Use standard_testfile.
683 * gdb.fortran/array-element.exp: Use standard_testfile,
684 prepare_for_testing.
685
18b5ff1b
KS
6862012-06-25 Keith Seitz <keiths@redhat.com>
687
688 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
689 Change rbreak-related tests to KFAIL and add bugzilla numbers.
690
17b77626
TT
6912012-06-25 Tom Tromey <tromey@redhat.com>
692
693 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
694 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
695 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
696 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
697
f91e3dc1
TT
6982012-06-25 Tom Tromey <tromey@redhat.com>
699
700 * gdb.linespec/ls-errs.exp: Use standard_testfile.
701 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
702 * gdb.linespec/linespec.exp: Use standard_testfile.
703
a884434d
TT
7042012-06-25 Tom Tromey <tromey@redhat.com>
705
706 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
707 prepare_for_testing.
708
efc9d70a
TT
7092012-06-25 Tom Tromey <tromey@redhat.com>
710
711 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
712 prepare_for_testing.
713 * gdb.opt/inline-break.exp: Use standard_testfile,
714 prepare_for_testing.
715 * gdb.opt/inline-bt.exp: Use standard_testfile,
716 prepare_for_testing.
717 * gdb.opt/inline-cmds.exp: Use standard_testfile,
718 prepare_for_testing.
719 * gdb.opt/inline-locals.exp: Use standard_testfile,
720 prepare_for_testing.
721
e2fc92c6
TT
7222012-06-25 Tom Tromey <tromey@redhat.com>
723
724 * gdb.asm/asm-source.exp: Use standard_output_file,
725 standard_testfile. Construct .o files in proper subdir.
726
b0963d73
TT
7272012-06-25 Tom Tromey <tromey@redhat.com>
728
729 * gdb.server/ext-attach.exp: Use standard_testfile,
730 prepare_for_testing.
731 * gdb.server/ext-run.exp: Use standard_testfile,
732 build_executable.
733 * gdb.server/file-transfer.exp: Use standard_testfile,
734 prepare_for_testing.
735 * gdb.server/server-exec-info.exp: Use standard_testfile.
736 * gdb.server/server-mon.exp: Use standard_testfile,
737 prepare_for_testing.
738 * gdb.server/server-run.exp: Use standard_testfile,
739 build_executable.
740 * gdb.server/solib-list.exp: Use standard_testfile,
741 standard_output_file.
742
8a3e1f8d
TT
7432012-06-25 Tom Tromey <tromey@redhat.com>
744
745 * lib/gdb.exp (standard_output_file): Use "file join".
746 * gdb.go/chan.exp: Use standard_testfile.
747 * gdb.go/handcall.exp: Use standard_testfile.
748 * gdb.go/hello.exp: Use standard_testfile.
749 * gdb.integers/chan.exp: Use standard_testfile.
750 * gdb.go/methods.exp: Use standard_testfile.
751 * gdb.go/package.exp: Use standard_testfile.
752 * gdb.go/strings.exp: Use standard_testfile.
753 * gdb.go/types.exp: Use standard_testfile.
754 * gdb.go/unsafe.exp: Use standard_testfile.
755
944a9061
MGD
7562012-06-25 Greta Yorsh <greta.yorsh@arm.com>
757
758 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
759
1c06bd58
JK
7602012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
761
762 Fix regression by the previous commit.
763 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
764
b4a58790
TT
7652012-06-22 Tom Tromey <tromey@redhat.com>
766
767 * gdb.python/lib-types.exp: Use standard_testfile,
768 prepare_for_testing.
769 * gdb.python/py-block.exp: Use standard_testfile.
770 * gdb.python/py-breakpoint.exp: Use standard_testfile.
771 * gdb.python/py-events.exp: Use standard_testfile,
772 standard_output_file.
773 * gdb.python/py-evsignal.exp: Use standard_testfile.
774 * gdb.python/py-evethreads.exp: Use standard_testfile.
775 * gdb.python/py-explore-cc.exp: Use standard_testfile.
776 * gdb.python/py-explore.exp: Use standard_testfile.
777 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
778 standard_output_file.
779 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
780 prepare_for_testing.
781 * gdb.python/py-frame-inline.exp: Use standard_testfile.
782 * gdb.python/py-frame.exp: Use standard_testfile.
783 * gdb.python/py-inferior.exp: Use standard_testfile.
784 * gdb.python/py-infthread.exp: Use standard_testfile.
785 * gdb.python/py-mi.exp: Use standard_testfile.
786 * gdb.python/py-objfile-script.exp: Use standard_testfile,
787 build_executable.
788 * gdb.python/py-objfile.exp: Use standard_testfile.
789 * gdb.python/py-pp-maint.exp: Use standard_testfile,
790 prepare_for_testing.
791 * gdb.python/py-prettyprint.exp: Use standard_testfile.
792 * gdb.python/py-progspace.exp: Use standard_testfile,
793 build_executable.
794 * gdb.python/py-prompt.exp: Use standard_testfile,
795 build_executable.
796 * gdb.python/py-section-script.exp: Use standard_testfile,
797 build_executable.
798 * gdb.python/py-shared.exp: Use standard_testfile,
799 standard_output_file, clean_restart.
800 * gdb.python/py-symbol.exp: Use standard_output_file,
801 prepare_for_testing.
802 * gdb.python/py-symtab.exp: Use standard_output_file,
803 prepare_for_testing
804 * gdb.python/py-template.exp: Use standard_testfile.
805 * gdb.python/py-type.exp: Use standard_testfile.
806 * gdb.python/py-value-cc.exp: Use standard_testfile.
807 * gdb.python/py-value.exp: Use standard_testfile.
808 * gdb.python/python.exp: Use standard_testfile, build_executable.
809
2c44deac
TT
8102012-06-22 Tom Tromey <tromey@redhat.com>
811
812 * gdb.objc/basicclass.exp: Use standard_testfile.
813 (do_objc_tests): Don't declare objdir.
814 * gdb.objc/nondebug.exp: Use standard_testfile.
815 (do_objc_tests): Don't declare objdir.
816 * gdb.objc/objcdecode.exp: Use standard_testfile.
817 (do_objc_tests): Don't declare objdir.
818
c24ccbce
TT
8192012-06-22 Tom Tromey <tromey@redhat.com>
820
821 * gdb.java/jmain.exp: Use standard_testfile.
822 * gdb.java/jmisc.exp: Use standard_testfile.
823 * gdb.java/jnpe.exp: Use standard_testfile.
824 * gdb.java/jprint.exp: Use standard_testfile.
825
0a6d0306
TT
8262012-06-22 Tom Tromey <tromey@redhat.com>
827
828 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
829 (standard_output_file, standard_testfile): New procs.
830 (build_executable, clean_restart): Use standard_output_file.
831
6ea815ef
YQ
8322012-06-22 Yao Qi <yao@codesourcery.com>
833
834 * boards/native-gdbserver.exp: New proc ${board}_exec.
835 * boards/native-stdio-gdbserver.exp: Likewise.
836
4c93b1db
TT
8372012-06-21 Tom Tromey <tromey@redhat.com>
838
839 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
840 (build_executable): Update.
841 (get_compiler_info): Remove 'binfile' argument.
842 * gdb.ada/arrayidx.exp: Update.
843 * gdb.ada/null_array.exp: Update.
844 * gdb.arch/altivec-abi.exp: Update.
845 * gdb.arch/altivec-regs.exp: Update.
846 * gdb.arch/amd64-byte.exp: Update.
847 * gdb.arch/amd64-dword.exp: Update.
848 * gdb.arch/amd64-word.exp: Update.
849 * gdb.arch/i386-avx.exp: Update.
850 * gdb.arch/i386-byte.exp: Update.
851 * gdb.arch/i386-sse.exp: Update.
852 * gdb.arch/i386-word.exp: Update.
853 * gdb.arch/ppc-dfp.exp: Update.
854 * gdb.arch/ppc-fp.exp: Update.
855 * gdb.arch/vsx-regs.exp: Update.
856 * gdb.base/all-bin.exp: Update.
857 * gdb.base/annota1.exp: Update.
858 * gdb.base/async.exp: Update.
859 * gdb.base/attach.exp: Update.
860 * gdb.base/break-interp.exp: Update.
861 * gdb.base/call-ar-st.exp: Update.
862 * gdb.base/call-rt-st.exp: Update.
863 * gdb.base/call-sc.exp: Update.
864 * gdb.base/callfuncs.exp: Update.
865 * gdb.base/catch-load.exp: Update.
866 * gdb.base/completion.exp: Update.
867 * gdb.base/complex.exp: Update.
868 * gdb.base/condbreak.exp: Update.
869 * gdb.base/consecutive.exp: Update.
870 * gdb.base/constvars.exp: Update.
871 * gdb.base/corefile.exp: Update.
872 * gdb.base/eval-skip.exp: Update.
873 * gdb.base/expand-psymtabs.exp: Update.
874 * gdb.base/exprs.exp: Update.
875 * gdb.base/fileio.exp: Update.
876 * gdb.base/fixsection.exp: Update.
877 * gdb.base/funcargs.exp: Update.
878 * gdb.base/gdb11530.exp: Update.
879 * gdb.base/gdb1555.exp: Update.
880 * gdb.base/gnu-ifunc.exp: Update.
881 * gdb.base/gnu_vector.exp: Update.
882 * gdb.base/info-macros.exp: Update.
883 * gdb.base/jit-simple.exp: Update.
884 * gdb.base/jit-so.exp: Update.
885 * gdb.base/jit.exp: Update.
886 * gdb.base/langs.exp: Update.
887 * gdb.base/list.exp: Update.
888 * gdb.base/logical.exp: Update.
889 * gdb.base/long_long.exp: Update.
890 * gdb.base/longjmp.exp: Update.
891 * gdb.base/macscp.exp: Update.
892 * gdb.base/mips_pro.exp: Update.
893 * gdb.base/miscexprs.exp: Update.
894 * gdb.base/morestack.exp: Update.
895 * gdb.base/nodebug.exp: Update.
896 * gdb.base/opaque.exp: Update.
897 * gdb.base/pc-fp.exp: Update.
898 * gdb.base/pending.exp: Update.
899 * gdb.base/permissions.exp: Update.
900 * gdb.base/pointers.exp: Update.
901 * gdb.base/prelink.exp: Update.
902 * gdb.base/printcmds.exp: Update.
903 * gdb.base/psymtab.exp: Update.
904 * gdb.base/ptype.exp: Update.
905 * gdb.base/relational.exp: Update.
906 * gdb.base/scope.exp: Update.
907 * gdb.base/setvar.exp: Update.
908 * gdb.base/shlib-call.exp: Update.
909 * gdb.base/shreloc.exp: Update.
910 * gdb.base/signals.exp: Update.
911 * gdb.base/sizeof.exp: Update.
912 * gdb.base/so-impl-ld.exp: Update.
913 * gdb.base/so-indr-cl.exp: Update.
914 * gdb.base/solib-disc.exp: Update.
915 * gdb.base/solib-display.exp: Update.
916 * gdb.base/solib-nodir.exp: Update.
917 * gdb.base/solib-overlap.exp: Update.
918 * gdb.base/solib-symbol.exp: Update.
919 * gdb.base/solib-weak.exp: Update.
920 * gdb.base/solib.exp: Update.
921 * gdb.base/store.exp: Update.
922 * gdb.base/structs.exp: Update.
923 * gdb.base/structs2.exp: Update.
924 * gdb.base/type-opaque.exp: Update.
925 * gdb.base/unload.exp: Update.
926 * gdb.base/varargs.exp: Update.
927 * gdb.base/volatile.exp: Update.
928 * gdb.base/watch_thread_num.exp: Update.
929 * gdb.base/watchpoint-solib.exp: Update.
930 * gdb.base/watchpoint.exp: Update.
931 * gdb.base/watchpoints.exp: Update.
932 * gdb.base/whatis.exp: Update.
933 * gdb.cell/arch.exp: Update.
934 * gdb.cell/break.exp: Update.
935 * gdb.cell/bt.exp: Update.
936 * gdb.cell/core.exp: Update.
937 * gdb.cell/data.exp: Update.
938 * gdb.cell/ea-cache.exp: Update.
939 * gdb.cell/f-regs.exp: Update.
940 * gdb.cell/fork.exp: Update.
941 * gdb.cell/gcore.exp: Update.
942 * gdb.cell/mem-access.exp: Update.
943 * gdb.cell/ptype.exp: Update.
944 * gdb.cell/registers.exp: Update.
945 * gdb.cell/sizeof.exp: Update.
946 * gdb.cell/solib-symbol.exp: Update.
947 * gdb.cell/solib.exp: Update.
948 * gdb.cp/ambiguous.exp: Update.
949 * gdb.cp/breakpoint.exp: Update.
950 * gdb.cp/bs15503.exp: Update.
951 * gdb.cp/casts.exp: Update.
952 * gdb.cp/class2.exp: Update.
953 * gdb.cp/cpexprs.exp: Update.
954 * gdb.cp/cplusfuncs.exp: Update.
955 * gdb.cp/ctti.exp: Update.
956 * gdb.cp/dispcxx.exp: Update.
957 * gdb.cp/gdb1355.exp: Update.
958 * gdb.cp/gdb2384.exp: Update.
959 * gdb.cp/gdb2495.exp: Update.
960 * gdb.cp/infcall-dlopen.exp: Update.
961 * gdb.cp/local.exp: Update.
962 * gdb.cp/m-data.exp: Update.
963 * gdb.cp/m-static.exp: Update.
964 * gdb.cp/mb-ctor.exp: Update.
965 * gdb.cp/mb-inline.exp: Update.
966 * gdb.cp/mb-templates.exp: Update.
967 * gdb.cp/member-ptr.exp: Update.
968 * gdb.cp/method.exp: Update.
969 * gdb.cp/namespace.exp: Update.
970 * gdb.cp/nextoverthrow.exp: Update.
971 * gdb.cp/nsdecl.exp: Update.
972 * gdb.cp/nsrecurs.exp: Update.
973 * gdb.cp/nsstress.exp: Update.
974 * gdb.cp/nsusing.exp: Update.
975 * gdb.cp/pr-1023.exp: Update.
976 * gdb.cp/pr-1210.exp: Update.
977 * gdb.cp/pr-574.exp: Update.
978 * gdb.cp/pr9631.exp: Update.
979 * gdb.cp/printmethod.exp: Update.
980 * gdb.cp/psmang.exp: Update.
981 * gdb.cp/re-set-overloaded.exp: Update.
982 * gdb.cp/rtti.exp: Update.
983 * gdb.cp/shadow.exp: Update.
984 * gdb.cp/templates.exp: Update.
985 * gdb.cp/try_catch.exp: Update.
986 * gdb.dwarf2/dw2-ranges.exp: Update.
987 * gdb.dwarf2/pr10770.exp: Update.
988 * gdb.fortran/library-module.exp: Update.
989 * gdb.hp/gdb.aCC/optimize.exp: Update.
990 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
991 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
992 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
993 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
994 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
995 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
996 * gdb.hp/gdb.compat/xdb1.exp: Update.
997 * gdb.hp/gdb.compat/xdb2.exp: Update.
998 * gdb.hp/gdb.compat/xdb3.exp: Update.
999 * gdb.hp/gdb.defects/bs14602.exp: Update.
1000 * gdb.hp/gdb.defects/solib-d.exp: Update.
1001 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
1002 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
1003 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
1004 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
1005 * gdb.mi/gdb792.exp: Update.
1006 * gdb.mi/mi-pending.exp: Update.
1007 * gdb.mi/mi-solib.exp: Update.
1008 * gdb.mi/mi-var-cp.exp: Update.
1009 * gdb.opt/clobbered-registers-O2.exp: Update.
1010 * gdb.opt/inline-bt.exp: Update.
1011 * gdb.opt/inline-cmds.exp: Update.
1012 * gdb.opt/inline-locals.exp: Update.
1013 * gdb.python/py-events.exp: Update.
1014 * gdb.python/py-finish-breakpoint.exp: Update.
1015 * gdb.python/py-type.exp: Update.
1016 * gdb.reverse/solib-precsave.exp: Update.
1017 * gdb.reverse/solib-reverse.exp: Update.
1018 * gdb.server/solib-list.exp: Update.
1019 * gdb.stabs/weird.exp: Update.
1020 * gdb.threads/attach-into-signal.exp: Update.
1021 * gdb.threads/attach-stopped.exp: Update.
1022 * gdb.threads/tls-shared.exp: Update.
1023 * gdb.trace/change-loc.exp: Update.
1024 * gdb.trace/strace.exp: Update.
1025
95c391b6
TT
10262012-06-19 Tom Tromey <tromey@redhat.com>
1027
1028 * gdb.base/whatis.exp: Add tests.
1029
e910f0b6
TT
10302012-06-19 Tom Tromey <tromey@redhat.com>
1031
1032 * gdb.cp/m-static.cc (keepalive): New function.
1033 (gnu_obj_1::method): Use it.
1034
422d65e7
DE
10352012-06-18 Doug Evans <dje@google.com>
1036
1037 * gdb.base/info-fun.exp: New file.
1038 * gdb.base/info-fun.c: New file.
1039 * gdb.base/info-fun-solib.c: New file.
1040
e2e4d78b
JK
10412012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1042
1043 Remove stale dummy frames.
1044 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
1045 (maintenance info breakpoints): New tests.
1046 * gdb.base/stale-infcall.c: New file.
1047 * gdb.base/stale-infcall.exp: New file.
1048
1788b2d3
JK
10492012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1050
1051 * gdb.arch/amd64-entry-value-param.S: New file.
1052 * gdb.arch/amd64-entry-value-param.c: New file.
1053 * gdb.arch/amd64-entry-value-param.exp: New file.
1054
663b969e
TT
10552012-06-15 Tom Tromey <tromey@redhat.com>
1056
1057 * gdb.cp/namespace.exp: Add "show lang" test.
1058
8e09ad05
IS
10592012-06-15 Iain Sandoe <iain@codesourcery.com>
1060
1061 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
1062 case. (top level): Use gdb_file_cmd instead of gdb_load.
1063
f85e18ee
JK
10642012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1065
1066 PR tdep/14222
1067 * gdb.arch/i386-sse-stack-align.S: New file.
1068 * gdb.arch/i386-sse-stack-align.c: New file.
1069 * gdb.arch/i386-sse-stack-align.exp: New file.
1070
f3b5e280
KS
10712012-06-13 Keith Seitz <keiths@redhat.com>
1072
1073 PR breakpoints/13798 and mi/11541
1074 * gdb.linespec/ls-errs.exp: Add a few more tests for
1075 filenames with spaces and colons.
1076
50af5481
JK
10772012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1078
1079 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
1080 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
1081 (test_function): Call CV_f.
1082 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
1083 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
1084 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
1085 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
1086 (p CV_f(CV::i)): New tests.
1087
d55637df
TT
10882012-06-13 Tom Tromey <tromey@redhat.com>
1089
1090 * gdb.base/condbreak.exp: Add tests for "condition" completion.
1091
cc80f267
JK
10922012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1093
1094 Fix regression by the "ambiguous linespec" series.
1095 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
1096 tests.
1097
bb2af9cc
JK
10982012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1099
1100 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
1101 missing.
1102
e81a37f7
TT
11032012-06-11 Tom Tromey <tromey@redhat.com>
1104
1105 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
1106 location...
1107 (main): ...here.
1108
8efd7788
YQ
11092012-06-07 Yao Qi <yao@codesourcery.com>
1110
1111 * gdb.trace/strace.exp: Shorten some too-long lines.
1112
359f5fe6
PA
11132012-06-06 Pedro Alves <palves@redhat.com>
1114
1115 * gdb.threads/clone-new-thread-event.c: New file.
1116 * gdb.threads/clone-new-thread-event.exp: New file.
1117
7b2fe205
YQ
11182012-06-06 Yao Qi <yao@codesourcery.com>
1119
1120 * gdb.base/dprintf.c (main): Add extra parameter when calling
1121 printf and fprintf.
1122 (bar): New function. It is a dead function, but to ensure
1123 'malloc' is linked explicitly.
1124
3eca55e8
YQ
11252012-06-06 Yao Qi <yao@codesourcery.com>
1126
1127 * gdb.base/info-proc.exp: Return if target doesn't support
1128 'info proc'.
1129
91cc9324
JK
11302012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1131
1132 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
1133 (run program with breakpoint commands): XFAIl if it is not.
1134
c56e7c43
JB
11352012-06-05 Joel Brobecker <brobecker@adacore.com>
1136
1137 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
1138 and add comment.
1139 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
1140 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
1141 "STOP" marker. Adjust testing strategy to make it work on
1142 all targets.
1143
1144 * gdb.base/print-file-var-main.c (main): Rewrite using local
1145 variables and adjust get_version_2's return value check.
1146 Add small comment.
1147 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
1148 marker. Adjust testing strategy to make it work on all targets.
1149
ccab2054
JB
11502012-06-05 Joel Brobecker <brobecker@adacore.com>
1151
1152 * gdb.ada/bad-task-bp-keyword: New testcase.
1153
d0d86158
JK
11542012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1155
1156 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
1157 Simplify it to ...
1158 (symbol-file ${testfile1}): ... here.
1159 (test eliminated var my_global_symbol)
1160 (test eliminated var my_static_symbol)
1161 (test eliminated var my_global_func, get address of main): Wrap them to
1162 'single psymtabs' and 'single symtabs'
1163 (get address of my_global_symbol, get address of my_static_symbol)
1164 (get address of my_global_func, get address of main): Wrap them to
1165 'order1' and 'order2'.
1166
952cf74c
JK
1167 * gdb.base/code_elim.exp
1168 (add-symbol-file ${testfile1} 0x100000)
1169 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
1170 'order2'.
1171 (order1: add-symbol-file ${testfile1} 0x100000)
1172 (order1: add-symbol-file ${testfile2} 0x200000)
1173 (order2: add-symbol-file ${testfile2} 0x200000)
1174 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
1175 .bss as appropriate.
1176
0c5bf5a9
JK
11772012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1178
1179 * gdb.server/solib-list-lib.c: New file.
1180 * gdb.server/solib-list-main.c: New file.
1181 * gdb.server/solib-list.exp: New file.
1182
4196f325
MR
11832012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
1184
1185 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
1186 for 'set print symbol' change.
1187
bfb05775
JK
11882012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1189
1190 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
1191 .debug_abbrev_seg3.
1192
685b1105
JK
11932012-05-24 John Steele Scott <toojays@toojays.net>
1194
1195 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
1196 * gdb.dwarf2/dw2-icc-opaque.S: New file.
1197 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
1198
f3e0e960
SS
11992012-05-23 Stan Shebs <stan@codesourcery.com>
1200
1201 * gdb.mi/mi-info-os.exp: New file.
1202
11eb1b4d
KS
12032012-05-23 Keith Seitz <keiths@redhat.com>
1204
1205 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
1206 return -1 to suppress the rest of the tests.
1207 (compile_stap_bin): Return boolean success value.
1208
b1af9e97
TT
12092012-05-21 Tom Tromey <tromey@redhat.com>
1210
1211 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
1212 Remove kfails.
1213 (test_print_mi_member_types): Likewise.
1214
248537e3
TT
12152012-05-21 Tom Tromey <tromey@redhat.com>
1216
1217 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
1218 print symbol' change.
1219
d791e155
TJB
12202012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
1221
1222 * gdb.python/py-prompt.exp: Quit if the target is remote.
1223
e77afa2e
JK
12242012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1225
1226 Fix ERROR: internal buffer is full.
1227 * gdb.base/info-os.exp (expect_multiline): New function.
1228 (get process list, get process groups, get threads)
1229 (get file descriptors, get internet-domain sockets)
1230 (get shared-memory regions, get semaphores, get message queues): Use
1231 it for these tests.
1232
9cb709b6
TT
12332012-05-18 Tom Tromey <tromey@redhat.com>
1234
1235 * gdb.mi/mi-var-cmd.exp: Update.
1236 * gdb.objc/basicclass.exp (do_objc_tests): Update.
1237 * gdb.cp/virtbase.exp: Update.
1238 * gdb.cp/classes.exp (test_static_members): Update.
1239 * gdb.cp/casts.exp: Update.
1240 * gdb.base/pointers.exp: Update.
1241 * gdb.base/funcargs.exp (pointer_args): Update.
1242 (structs_by_reference): Update.
1243 * gdb.base/find.exp: Update.
1244 * gdb.base/call-strs.exp: Send "set print symbol off".
1245 * gdb.base/call-ar-st.exp: Update.
1246 * gdb.ada/fun_addr.exp: Update.
1247 * gdb.base/printcmds.exp (test_print_symbol): New proc.
1248 Call it.
1249 (test_print_repeats_10, test_print_strings)
1250 (test_print_char_arrays): Update.
1251
b012acdd
TT
12522012-05-18 Tom Tromey <tromey@redhat.com>
1253
1254 * gdb.base/charset.exp (string_display): Update.
1255
1d51a733
TT
12562012-05-18 Tom Tromey <tromey@redhat.com>
1257
1258 * gdb.mi/mi2-var-display.exp: Update.
1259 * gdb.mi/mi-var-display.exp: Update.
1260 * gdb.mi/mi-var-child.exp: Update.
1261 * gdb.cp/expand-psymtabs-cxx.exp: Update.
1262 * gdb.cp/cp-relocate.exp (get_func_address): Update.
1263
957df313
DE
12642012-05-17 Doug Evans <dje@google.com>
1265
682c7f7b
DE
1266 * info-macros.exp: Pass "debug" to prepare_for_testing.
1267
957df313
DE
1268 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
1269 * gdb.ada/Makefile.in (clean): Ditto.
1270 * gdb.arch/Makefile.in (clean): Ditto.
1271 * gdb.asm/Makefile.in (clean): Ditto.
1272 * gdb.base/Makefile.in (clean): Ditto.
1273 * gdb.cell/Makefile.in (clean): Ditto.
1274 * gdb.cp/Makefile.in (clean): Ditto.
1275 * gdb.disasm/Makefile.in (clean): Ditto.
1276 * gdb.dwarf2/Makefile.in (clean): Ditto.
1277 * gdb.fortran/Makefile.in (clean): Ditto.
1278 * gdb.go/Makefile.in (clean): Ditto.
1279 * gdb.hp/Makefile.in (clean): Ditto.
1280 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
1281 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
1282 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
1283 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
1284 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
1285 * gdb.java/Makefile.in (clean): Ditto.
1286 * gdb.linespec/Makefile.in (clean): Ditto.
1287 * gdb.mi/Makefile.in (clean): Ditto.
1288 * gdb.modula2/Makefile.in (clean): Ditto.
1289 * gdb.multi/Makefile.in (clean): Ditto.
1290 * gdb.objc/Makefile.in (clean): Ditto.
1291 * gdb.opencl/Makefile.in (clean): Ditto.
1292 * gdb.opt/Makefile.in (clean): Ditto.
1293 * gdb.pascal/Makefile.in (clean): Ditto.
1294 * gdb.python/Makefile.in (clean): Ditto.
1295 * gdb.reverse/Makefile.in (clean): Ditto.
1296 * gdb.server/Makefile.in (clean): Ditto.
1297 * gdb.stabs/Makefile.in (clean): Ditto.
1298 * gdb.threads/Makefile.in (clean): Ditto.
1299 * gdb.trace/Makefile.in (clean): Ditto.
1300 * gdb.xml/Makefile.in (clean): Ditto.
1301
abc9d0dc
TT
13022012-05-16 Tom Tromey <tromey@redhat.com>
1303
1304 * gdb.base/macscp1.c (macscp_expr): Add comment.
1305 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
1306
6a3a010b
MR
13072012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1308
1309 * gdb.base/return-nodebug.exp: Also test float and double types.
1310
01429c8e
JK
13112012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1312
1313 PR testsuite/12649
1314 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
1315
54115cd4
JK
1316 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
1317
0c5f383f
SDJ
13182012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
1319
1320 * gdb.base/stap-probe.exp (stap_test): Remove calls to
1321 `rerun_to_main'.
1322 (stap_test_no_debuginfo): Likewise.
1323
e7e0cddf
SS
13242012-05-14 Stan Shebs <stan@codesourcery.com>
1325
1326 * gdb.base/dprintf.c: New file.
1327 * gdb.base/dprintf.exp: New file.
1328
c772f8e7
HZ
13292012-05-14 Hui Zhu <hui_zhu@mentor.com>
1330
1331 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
1332 * gdb.trace/disconnected-tracing.c: New file.
1333 * gdb.trace/disconnected-tracing.exp: New file.
1334
7efc75aa
SCR
13352012-05-13 Siva Chandra Reddy <sivachandra@google.com>
1336
1337 * gdb.python/python.c: Add a new breakpoint comment.
1338 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
1339
85d4a676
SS
13402011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
1341
1342 * gdb.base/info-os.exp: New file.
1343 * gdb.base/info-os.c: New file.
1344
64ea88dc
JB
13452012-05-10 Joel Brobecker <brobecker@adacore.com>
1346
4647ab1b
JB
1347 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
1348 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
1349 New files.
64ea88dc 1350
afba63f1
JB
13512012-05-10 Joel Brobecker <brobecker@adacore.com>
1352
1353 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
1354 gdb.base/ctxobj.exp: New files.
1355
9d198b1e
TT
13562012-05-09 Tom Tromey <tromey@redhat.com>
1357
1358 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
1359
9bfee719
MR
13602012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
1361
1362 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
1363
3a7341d8
MR
13642012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
1365
1366 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
1367 before using it.
1368
52b3699b
TG
13692012-05-04 Tristan Gingold <gingold@adacore.com>
1370
1371 * gdb.base/set-noassign.exp: New test.
1372
a20ee7a4
SCR
13732012-05-03 Siva Chandra Reddy <sivachandra@google.com>
1374
1375 * gdb.python/py-symbol.exp: Add tests to test the new methods
1376 gdb.Symtab.global_block() and gdb.Symtab.static_block().
1377 * gdb.python/py-symbol.c: Add new struct to help test
1378 gdb.Symtab.static_block().
1379
bf2f0858
DE
13802012-05-03 Doug Evans <dje@google.com>
1381
1382 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
1383 commented out.
1384
2d4e0376
YQ
13852012-05-03 Yao Qi <yao@codesourcery.com>
1386
1387 * gdb.base/catch-syscall.exp: Skip it before compilation if target
1388 doesn't support.
1389 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
1390 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
1391
6d0bb9f3
YQ
13922012-05-03 Yao Qi <yao@codesourcery.com>
1393
1394 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
1395
fd820528
DE
13962012-04-30 Doug Evans <dje@google.com>
1397
1398 PR testsuite/13961
1399 * gdb.dwarf2/pr13961.S: New file.
1400 * gdb.dwarf2/pr13961.exp: New file.
1401
b9e219b9
YQ
14022012-04-29 Yao Qi <yao@codesourcery.com>
1403
1404 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
1405
3019eac3
DE
14062012-04-28 Doug Evans <dje@google.com>
1407
1408 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
1409 .Ltype_int_in_cu2. Use name "int2" instead of "int".
1410 All uses updated.
1411 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
1412 "ptype func_cu1" to expand cu2 before cu1.
1413
62e5f89c
SDJ
14142012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
1415 Tom Tromey <tromey@redhat.com>
1416
1417 * gdb.base/default.exp: Add `$_probe_arg*' convenience
1418 variables.
1419 * gdb.base/stap-probe.c: New file.
1420 * gdb.base/stap-probe.exp: New file.
1421 * gdb.trace/stap-trace.c: New file.
1422 * gdb.trace/stap-trace.exp: New file.
1423 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
1424 libgcc's unwinder.
1425
14132e89
MR
14262012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
1427
1428 * gdb.arch/mips16-thunks-inmain.c: New file.
1429 * gdb.arch/mips16-thunks-main.c: New file.
1430 * gdb.arch/mips16-thunks-sin.c: New file.
1431 * gdb.arch/mips16-thunks-sinfrob.c: New file.
1432 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
1433 * gdb.arch/mips16-thunks-sinmain.c: New file.
1434 * gdb.arch/mips16-thunks-sinmips16.c: New file.
1435 * gdb.arch/mips16-thunks.exp: New file.
1436
a766d390
DE
14372012-04-25 Doug Evans <dje@google.com>
1438
1439 * configure.ac: Create gdb.go/Makefile.
1440 * configure: Regenerate.
1441 * gdb.base/default.exp: Add "go" to "set language" testing.
1442 * gdb.go/Makefile.in: New file.
1443 * gdb.go/basic-types.exp: New file.
1444 * gdb.go/chan.exp: New file.
1445 * gdb.go/chan.go: New file.
1446 * gdb.go/handcall.exp: New file.
1447 * gdb.go/handcall.go: New file.
1448 * gdb.go/hello.exp: New file.
1449 * gdb.go/hello.go: New file.
1450 * gdb.go/integers.exp: New file.
1451 * gdb.go/integers.go: New file.
1452 * gdb.go/methods.exp: New file.
1453 * gdb.go/methods.go: New file.
1454 * gdb.go/package.exp: New file.
1455 * gdb.go/package1.go: New file.
1456 * gdb.go/package2.go: New file.
1457 * gdb.go/print.exp: New file.
1458 * gdb.go/strings.exp: New file.
1459 * gdb.go/strings.go: New file.
1460 * gdb.go/types.exp: New file.
1461 * gdb.go/types.go: New file.
1462 * gdb.go/unsafe.exp: New file.
1463 * gdb.go/unsafe.go: New file.
1464 * lib/future.exp: Add Go support.
1465 (gdb_find_go, gdb_find_go_linker): New procs.
1466 (gdb_default_target_compile): Add Go support.
1467 * lib/gdb.exp (skip_go_tests): New proc.
1468 * lib/go.exp: New file.
1469
e65f9ffb
TT
14702012-04-25 Tom Tromey <tromey@redhat.com>
1471
1472 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
1473
14e75d8e
JK
14742012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1475 Jan Kratochvil <jan.kratochvil@redhat.com>
1476
1477 PR symtab/7259:
1478 * gdb.base/enumval.c: New test case.
1479 * gdb.base/enumval.exp: New test case.
1480 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
1481 field.bitpos.
1482
f3525b70
PA
14832012-04-17 Pedro Alves <palves@redhat.com>
1484
1485 * Makefile.in (site.exp): Make site.exp source
1486 $srcdir/lib/append_gdb_boards_dir.exp.
1487 * lib/append_gdb_boards_dir.exp: New file.
1488
bccbefd2
JK
14892012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1490
1491 New option "set auto-load safe-path".
1492 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
1493 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
1494
bf88dd68
JK
14952012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1496
1497 auto-load: Implementation.
1498 * gdb.base/help.exp (test set height): Increase the height.
1499 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
1500 to ...
1501 (info auto-load python-scripts): ... here.
1502 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
1503 to ...
1504 (info auto-load python-scripts *): ... here.
1505
c0d4d1c0
YQ
15062012-04-16 Yao Qi <yao@codesourcery.com>
1507
1508 * lib/trace-support.exp (get_in_proc_agent): New.
1509 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
1510 of in process trace agent.
1511 * gdb.trace/ftrace.exp: Likewise.
1512 * gdb.trace/pending.exp: Likewise.
1513 * gdb.trace/trace-break.exp: Likewise.
1514 * gdb.trace/trace-mt.exp
1515 * gdb.trace/tspeed.exp: Likewise.
1516 * gdb.trace/tstatus.exp
1517 * gdb.trace/strace.exp: Likewise.
1518
cbf68a60
TS
15192012-04-16 Thomas Schwinge <thomas@codesourcery.com>
1520
dd6d3b70
TS
1521 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
1522 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
1523
cbf68a60
TS
1524 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
1525
8264ba82
AG
15262012-04-14 Anton Gorenkov <xgsa@yandex.ru>
1527
1528 PR mi/13393
1529 * gdb.mi/mi-var-rtti.cc: New file.
1530 * gdb.mi/mi-var-rtti.exp: New file.
1531 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
1532 function.
1533 (mi_varobj_update_with_type_change): updated to avoid code duplication.
1534
de0919f8 15352012-04-11 Siva Chandra Reddy <sivachandra@google.com>
06fc020f
SCR
1536
1537 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
1538 EXECUTABLES.
1539 * gdb.python/py-explore.c: C program used for testing the new
1540 'explore' command on C constructs.
1541 * gdb.python/py-explore.cc: C++ program used for testing the new
1542 'explore' command on C++ constructs.
1543 * gdb-python/py-explore.exp: Tests for the new 'explore'
1544 command on C constructs.
1545 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
1546 command on C++ constructs.
1547
a82da7dd
MK
15482012-04-07 Mark Kettenis <kettenis@gnu.org>
1549
1550 * gdb.base/funcargs.exp (complex_args): Fix typo.
1551
e127cba8
JK
15522012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1553
1554 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
1555 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
1556
40e084e1
KS
15572012-04-05 Keith Seitz <keiths@redhat.com>
1558
1559 * gdb.base/advance.exp: Update error message for
1560 "advance malformed" test.
1561 * gdb.base/break.exp: Likewise for "breakpoint with
1562 trailing garbage" test.
1563 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
1564 with trailing garbage" test.
1565 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
1566 trailng garbage" test.
1567 * gdb.base/until.exp: Likewise for "malformed until" test.
1568 * gdb.cp/ovldbreak.exp: Create the breakpoint table
1569 for "breakpoint info (after setting on all)".
1570 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
1571 tests.
1572 * gdb.cp/cplabel.cc: New file.
1573 * gdb.cp/cplabel.exp: New test.
1574 * gdb.linespec/ls-errs.c: New file.
1575 * gdb.linespec/ls-errs.exp: New test.
1576
a72c8f6a
JK
15772012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1578
1579 * gdb.trace/unavailable.exp
1580 (collect globals: print object on: print derived_partial)
1581 (collect globals: print object on: print derived_whole)
1582 (collect globals: print object off: print derived_partial)
1583 (collect globals: print object off: print derived_whole): Update
1584 expected output.
1585
f87a3023
KS
15862012-03-30 Keith Seitz <keiths@redhat.com>
1587
1588 * gdb.python: Add test for linespecs with commas.
1589
e2171b3c
KS
15902012-03-28 Keith Seitz <keiths@redhat.com>
1591
1592 * gdb.linespec/ls-dollar.cc: New file.
1593 * gdb.linespec/ls-dollar.exp: New test.
1594
15952012-03-28 Keith Seitz <keiths@redhat.com>
0e4acfcc
KS
1596
1597 * gdb.cp/namespace.exp: Add breakpoint tests for functions
1598 starting with the global namespace.
1599
2f4e0a80
DE
16002012-03-23 Doug Evans <dje@google.com>
1601
1602 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
1603
7b282c5a
SCR
16042012-03-22 Siva Chandra Reddy <sivachandra@google.com>
1605
1606 * gdb.python/py-value.cc: Add test case for testing the
1607 methodology exposing C++ values to Python.
1608 * gdb.python/py-value-cc.exp: Add tests testing the methodology
1609 exposing C++ values to Python.
1610 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
1611
2e98ca53
JK
16122012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1613 Siddhesh Poyarekar <siddhesh@redhat.com>
1614
1615 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
1616 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
1617 (generate native core dump): Make the test unsupported if core cannot
1618 be generated.
1619
8320cc4f
JK
16202012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1621
1622 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
1623 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
1624 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
1625
3a69ffb2
JK
16262012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1627
1628 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
1629
8fabffee
DE
16302012-03-17 Doug Evans <dje@google.com>
1631
1632 * dg-extract-results.sh: Handle KFAILs.
1633
ab260dad
JK
16342012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1635
1636 PR symtab/13777
1637 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
1638
53ba8333
JB
16392012-03-16 Joel Brobecker <brobecker@adacore.com>
1640
1641 * gdb.ada/set_pckd_arr_elt: New testcase.
1642
481860b3
GB
16432012-03-16 Gary Benson <gbenson@redhat.com>
1644
1645 PR breakpoints/10738
1646 * gdb.opt/inline-break.exp: New file.
1647 * gdb.opt/inline-break.c: Likewise.
d4ba18a2
DE
1648 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
1649 * gdb.dwarf2/dw2-inline-break.S: Likewise.
481860b3
GB
1650 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
1651 * gdb.base/async-shell.exp: Likewise.
1652 * lib/mi-support.exp (library_loaded_re): Likewise.
1653
410528f0
TT
16542012-03-15 Tom Tromey <tromey@redhat.com>
1655
1656 * gdb.cp/virtfunc2.exp: Update expected output.
1657 * gdb.cp/pr9631.exp: Update expected output.
1658 * gdb.cp/member-ptr.exp: Update expected output.
1659 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
1660 output.
1661 * gdb.cp/casts.exp: Update expected output.
1662
c4aeac85
TT
16632012-03-15 Tom Tromey <tromey@redhat.com>
1664
1665 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
1666 (test_info_vtbl): Likewise.
1667 (do_tests): Call test_info_vtbl.
1668 * gdb.cp/virtfunc.cc (va): New global.
1669
856d06f9
TS
16702012-03-15 Thomas Schwinge <thomas@codesourcery.com>
1671
1672 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
1673 describing DWARF data structures.
1674 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
1675 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
1676 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
1677 * gdb.dwarf2/dw2-entry-value.S: Likewise.
1678 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
1679 * gdb.dwarf2/dw2-param-error.S: Likewise.
1680 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
1681 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
1682 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
1683 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
1684 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
1685 * gdb.dwarf2/pr11465.S: Likewise.
1686
e837f12a
JK
16872012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1688
1689 * gdb.mi/mi2-prompt.exp: New file.
1690
ccbb4f28
JB
16912012-03-13 Joel Brobecker <brobecker@adacore.com>
1692
1693 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
1694
32039130
JB
16952012-03-13 Joel Brobecker <brobecker@adacore.com>
1696
1697 * gdb.ada/bp_range_type: New testcase.
1698
16899756
DE
16992012-03-13 Doug Evans <dje@google.com>
1700
1701 * gdb.base/default.exp: Delete tests for symbol-reloading.
1702 * gdb.base/help.exp: Ditto.
1703 * gdb.base/setshow.exp: Ditto.
1704 * gdb.base/gdb_history: Delete references to symbol-reloading.
1705
87b0bb13
JK
17062012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1707
1708 * gdb.base/attach-twice.c: New files.
1709 * gdb.base/attach-twice.exp: New files.
1710
0d7941a9
KS
17112012-03-08 Keith Seitz <keiths@redhat.com>
1712
1713 * lib/gdb.exp (gdb_get_line_number): Throw an
1714 error instead of returning -1.
1715 * gdb.base/break.exp: Remove unused variable
1716 bp_location5.
1717 * gdb.base/hbreak2.exp: Likewise.
1718 * gdb.base/sepdebug.exp: Likewise.
1719
f4647387
YQ
17202012-03-08 Yao Qi <yao@codesourcery.com>
1721 Pedro Alves <palves@redhat.com>
1722
1723 Fix PR server/13392.
1724 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
1725 (tracepoint_change_loc_2): Remove kfail. Return if failed to
1726 download tracepoints.
1727 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
1728 (pending_tracepoint_resolved_during_trace): Likewise.
1729 (pending_tracepoint_installed_during_trace): Likewise.
1730 (pending_tracepoint_with_action_resolved): Likewise.
1731
83c532cb
KS
17322012-03-08 Keith Seitz <keiths@redhat.com>
1733
1734 * gdb.ada/array_bounds.exp: Get breakpoint for line
1735 with "START", not "STOP".
1736 * gdb.python/py-infthread.exp: Do not continue to
1737 line marked "Break here.", which is undefined.
1738
d6b6bbb7
LM
17392012-03-08 Luis Machado <lgustavo@codesourcery.com>
1740
1741 Revert:
1742
1743 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1744
1745 Implement testsuite workaround for PR breakpoints/13781.
1746 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
1747 (set breakpoint condition-evaluation host): New conditional command.
1748
7fe25d9b
JK
17492012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1750
1751 Fix CU relative vs. absolute DIE offsets.
1752 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
1753 one.
1754
51898c15
JK
17552012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1756
1757 Fix false FAIL on distros with relro linkage as default.
1758 * gdb.reverse/solib-precsave.exp: Try to compile the test using
1759 -Wl,-z,norelro first.
1760
8131799e
JB
17612012-03-06 Joel Brobecker <brobecker@adacore.com>
1762
1763 * gdb.ada/bp_on_var: New testcase.
1764
ba241969
JB
17652012-03-06 Joel Brobecker <brobecker@adacore.com>
1766
1767 * gdb.ada/bp_enum_homonym: New testcase.
1768
abe49676
YQ
17692012-03-06 Yao Qi <yao@codesourcery.com>
1770
1771 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
1772 x86_64-*-* and i?86-*-*.
1773 Set up KFAIL for gdb/13808.
1774
d8df103b
TT
17752012-03-05 Tom Tromey <tromey@redhat.com>
1776
1777 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
1778 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
1779
b7b189f3
TT
17802012-03-05 Tom Tromey <tromey@redhat.com>
1781
1782 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
1783
69dc1c4d
YQ
17842012-03-04 Yao Qi <yao@codesourcery.com>
1785
1786 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
1787 messages for KFAIL.
1788
3f20c47f
JK
17892012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1790
1791 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
1792 (print one_two_three, indexes off, print few_reps, indexes off)
1793 (print many_reps, indexes off, print empty, indexes off)
1794 (print one_two_three, print few_reps, print many_reps, print empty):
1795 Call setup_xfail if $gcc_old.
1796
abf1152a
JK
17972012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1798
1799 Implement testsuite workaround for PR breakpoints/13781.
1800 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
1801 (set breakpoint condition-evaluation host): New conditional command.
1802
a06715f8
JK
18032012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1804
1805 Code cleanup.
1806 * gdb.cp/mb-templates.exp: New variables executable. Use it for
1807 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
1808 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
1809 number 1 by $bpnum. Four times.
1810
5808517f
YQ
18112012-03-03 Yao Qi <yao@codesourcery.com>
1812
1813 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
1814
dfe2ac14
JK
18152012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1816
1817 Setup KFAIL for PR server/13796.
1818 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
1819
8bbc467a
JB
18202012-03-02 Joel Brobecker <brobecker@adacore.com>
1821
1822 * gdb.ada/operator_bp: New testcase.
1823
c0eac87f
JB
18242012-03-02 Joel Brobecker <brobecker@adacore.com>
1825
1826 * gdb.ada/info_locals_renaming: New testcase.
1827
4f42c881
TT
18282012-03-02 Tom Tromey <tromey@redhat.com>
1829
1830 * gdb.base/nextoverexit.c: New file.
1831 * gdb.base/nextoverexit.exp: New file.
1832
7380c0c9
EBM
18332012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
1834
1835 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
1836 parameter.
1837
1faeff08
MR
18382012-03-01 Maciej W. Rozycki <macro@mips.com>
1839
1840 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
1841 core registers.
1842
320b6f49
MR
18432012-03-01 Maciej W. Rozycki <macro@mips.com>
1844 Maciej W. Rozycki <macro@codesourcery.com>
1845 Daniel Jacobowitz <dan@codesourcery.com>
1846
1847 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
1848
ad5f7d6e
PA
18492012-03-01 Pedro Alves <palves@redhat.com>
1850
1851 PR gdb/13767
1852
1853 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
1854 (gdb_collect_globals_test): Call it.
1855
d3dc44a6
KS
18562012-03-01 Keith Seitz <keiths@redhat.com>
1857
1858 * gdb.cp/method2.exp: Output of overload menu is now
1859 alphabetized. Update tests for "break A::method".
1860 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
1861 of hard-coding them.
1862 Overload menu is alphabetized: rewrite to accommodate.
1863 Unset variables LINE and TYPES which are used in other tests.
1864 Compute the output of "info break".
1865 Update the breakpoint table after all breakpoints are deleted.
1866 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
1867 compute ACTUALS and the method body based on parameters.
1868 Update expected output accordingly.
1869 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
1870 unique comments to allow the use of gdb_get_line_number.
1871
18722012-03-01 Keith Seitz <keiths@redhat.com>
1873
1874 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
1875 some Tcl syntax.
1876 * gdb.cp/ovldbreak.exp: Likewise.
1877
7949c2a0
KS
18782012-03-01 Keith Seitz <keiths@redhat.com>
1879
1880 * gdb.base/help.exp (help show user): Update expected result
1881 for new doc string changes (add "non-python").
1882
7d74f244
DE
18832012-03-01 Scott J. Goldman <scottjg@vmware.com>
1884
1885 * gdb.python/py-cmd.exp: Add test to verify that python commands can
1886 be put in the user-defined category and that the commands appear in
1887 "help user-defined".
1888
1b611343
JB
18892012-02-29 Joel Brobecker <brobecker@adacore.com>
1890
1891 * gdb.ada/tagged_not_init: New testcase.
1892
99b1c762
JB
18932012-02-29 Joel Brobecker <brobecker@adacore.com>
1894
1895 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
1896 * gdb.ada/enum_idx_packed: New testcase.
1897
2d4a02ee
JB
18982012-02-29 Joel Brobecker <brobecker@adacore.com>
1899
1900 * gdb.ada/aliased_array: New testcase.
1901
2e6fda7d
JB
19022012-02-29 Joel Brobecker <brobecker@adacore.com>
1903
1904 * gdb.ada/whatis_array_val: New testcase.
1905
9a7f938f
JK
19062012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1907
1908 Fix disp-step-syscall.exp: fork: single step over fork.
1909 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
1910 whitespaces.
1911 (single step over $syscall): Remove its check.
1912 (single step over $syscall final pc): New check.
1913
8703a944
JK
19142012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1915
1916 Support processors without SSSE3.
1917 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
1918 pabsd into ...
1919 (ssse3_test): ... a new function.
1920 (main): Call ssse3_test.
1921 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
1922 Update expected values everywhere.
1923 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
1924 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
1925 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
1926 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
1927 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
1928 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
1929 Move these tests lower.
1930 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
1931 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
1932 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
1933 New tests.
1934
c03e6ccc
YQ
19352012-02-29 Yao Qi <yao@codesourcery.com>
1936 Pedro Alves <palves@redhat.com>
1937
1938 * gdb.trace/trace-mt.c: New.
1939 * gdb.trace/trace-mt.exp: New.
1940
7964b62a
TS
19412012-02-28 Thomas Schwinge <thomas@codesourcery.com>
1942
2c8910ba
TS
1943 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
1944 numbers instead of hardcoding them.
1945 * gdb.base/annota1.c: Provide suitable markers.
1946 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
1947 numbers instead of hardcoding them.
1948 * gdb.base/annota3.c: Provide suitable markers.
1949
1950 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
1951 * gdb.base/annota3.c: Likewise.
1952 * gdb.base/sigall.c: Likewise.
1953 * gdb.base/signals.c: Likewise.
1954 * gdb.reverse/sigall-reverse.c: Likewise.
7964b62a 1955
5a41c0b7
MR
19562012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
1957
1958 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
1959 failure return path.
1960
ebbbe5c5
LM
19612012-02-27 Luis Machado <lgustavo@codesourcery.com>
1962
1963 * gdb.base/save-bp.exp: Account for new condition evaluator output.
1964
8d126d8a
LM
19652012-02-24 Luis Machado <lgustavo@codesourcery.com>
1966
1967 * gdb.base/cond-eval-mode.exp: New file.
1968
11337c2f
PA
19692012-02-24 Pedro Alves <palves@redhat.com>
1970
1971 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
1972 (top level): Use with_test_prefix.
1973
13fc3e3c
PA
19742012-02-24 Pedro Alves <palves@redhat.com>
1975
1976 * gdb.threads/attach-into-signal.exp (corefunc): Use
1977 with_test_prefix.
1978
07c1b626
JK
19792012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1980
1981 Fix false FAILs on old CPUs without SSE.
1982 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
1983 Return untested for Illegal instruction.
1984
596ba138
JK
19852012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1986
1987 Fix false FAILs with glibc debug infos installed.
1988 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
1989 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
1990
aeaa2474
SA
19912012-02-22 Sterling Augustine <saugustine@google.com>
1992
1993 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
1994 constant with cast.
1995
aed555c9
PA
19962012-02-21 Pedro Alves <palves@redhat.com>
1997
1998 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
1999
78afebb4
PA
20002012-02-21 Pedro Alves <palves@redhat.com>
2001
2002 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
2003
fdcfef12
PA
20042012-02-21 Pedro Alves <palves@redhat.com>
2005
2006 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
2007 with_test_prefix.
2008
0f4d39d5
PA
20092012-02-21 Pedro Alves <palves@redhat.com>
2010
2011 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
2012 with_test_prefix here.
2013 (top level): Do it here instead. Remove `:' from the
2014 with_test_prefix string.
2015 * gdb.base/attach-pie-misread.exp: Remove the leading space the
2016 the suffix `:' from the with_test_prefix prefix string.
2017 * gdb.base/break-interp.exp: Ditto.
2018 * gdb.base/catch-load.exp: Ditto.
2019 * gdb.base/disp-step-syscall.exp: Ditto.
2020 * gdb.base/jit-so.exp: Ditto.
2021 * gdb.base/jit.exp: Ditto.
2022 * gdb.base/sepdebug.exp: Ditto.
2023 * gdb.base/solib-display.exp: Ditto.
2024 * gdb.base/solib-overlap.exp: Ditto.
2025 * gdb.base/watch-cond-infcall.exp: Ditto.
2026 * gdb.base/watchpoint.exp: Ditto.
2027 * gdb.dwarf2/dw2-noloc.exp: Ditto.
2028 * gdb.mi/mi-watch.exp: Ditto.
2029 * gdb.mi/mi2-watch.exp: Ditto.
2030 * gdb.threads/non-ldr-exc-1.exp: Ditto.
2031 * gdb.threads/non-ldr-exc-2.exp: Ditto.
2032 * gdb.threads/non-ldr-exc-3.exp: Ditto.
2033 * gdb.threads/non-ldr-exc-4.exp: Ditto.
2034 * gdb.threads/watchpoint-fork.exp: Ditto.
2035 * gdb.threads/watchthreads-reorder.exp: Ditto.
2036 * gdb.trace/change-loc.exp: Ditto.
2037 * gdb.trace/pending.exp: Ditto.
2038 * gdb.trace/status-stop.exp: Ditto.
2039 * gdb.trace/strace.exp: Ditto.
2040 * gdb.trace/trace-break.exp: Ditto.
2041 * gdb.trace/unavailable.exp: Ditto.
2042 * lib/gdb.exp (with_test_prefix): Always prefix with space and
2043 suffix with colon. Adjust leading comments.
2044
6a5870ce
PA
20452012-02-21 Pedro Alves <palves@redhat.com>
2046 Tom Tromey <tromey@redhat.com>
2047
2048 * lib/gdb.exp: Add description of test prefixes.
2049 (with_test_prefix): New procedure.
2050 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
2051 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
2052 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
2053 instead of lappend to append to pf_prefix.
2054 * gdb.base/catch-load.exp: Use with_test_prefix.
2055 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
2056 * gdb.base/jit-so.exp: Use with_test_prefix.
2057 * gdb.base/jit.exp: Use with_test_prefix.
2058 * gdb.base/return-nodebug.exp (do_test): Use append instead of
2059 lappend to append to pf_prefix.
2060 * gdb.base/sepdebug.exp: Use with_test_prefix.
2061 * gdb.base/solib-display.exp: Use with_test_prefix.
2062 * gdb.base/solib-overlap.exp: Use with_test_prefix.
2063 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
2064 * gdb.base/watchpoint.exp: Use with_test_prefix.
2065 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
2066 * gdb.mi/mi-watch.exp: Use with_test_prefix.
2067 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
2068 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
2069 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
2070 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
2071 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
2072 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
2073 append instead of lappend to append to pf_prefix.
2074 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
2075 * gdb.trace/change-loc.exp: Use with_test_prefix.
2076 * gdb.trace/pending.exp: Use with_test_prefix.
2077 * gdb.trace/status-stop.exp: Use with_test_prefix.
2078 * gdb.trace/strace.exp: Use with_test_prefix.
2079 * gdb.trace/trace-break.exp: Use with_test_prefix.
2080 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
2081 instead of lappend to append to pf_prefix.
2082
35dc4a6b
JK
20832012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2084
2085 Fix racy FAILs.
2086 * gdb.base/inferior-died.c (main): Add return of 0.
2087 * gdb.base/inferior-died.exp (continue): Fix expectation of
2088 asynchronous events.
2089 (p 1): New test.
2090
c5a006e6
PA
20912012-02-20 Pedro Alves <palves@redhat.com>
2092
2093 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
2094 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
2095 gdb's internal debug output. For the non-threaded case, look for
2096 "Program received signal SIGLARM", for the threaded case, peek at
2097 the thread's siginfo.
2098
cc51a170
PA
20992012-02-20 Pedro Alves <palves@redhat.com>
2100
2101 General cleanup, make output test messages unique, and build
2102 different executable files for the non-threaded and threaded
2103 cases.
2104
2105 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
2106 Delete.
2107 (executable_nothr, executable_thr): New globals.
2108 (top level): Adjust to delete both executables.
2109 (corefunc): New parameter $executable. Set $pf_prefix instead of
2110 hand writing a prefix in tests. Issue a clean_restart and enable
2111 lin-lwp debug output here.
2112 (top level): Adjust. Use build_executable. Don't start gdb here,
2113 and don't enable lin-lwp debug output here.
2114 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
2115
c755f03d
JK
21162012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2117
2118 Fix racy FAILs.
2119 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
2120 "continue" command.
2121
6bec5e0a
JK
21222012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2123
2124 Fix for gdbserver non-extended mode.
2125 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
2126 and gdb_run_cmd.
2127
2e8265fd
TT
21282012-02-17 Tom Tromey <tromey@redhat.com>
2129
2130 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
2131 * gdb.python/py-events.exp: Check 'dir' output.
2132 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
2133
9e507076
YQ
21342012-02-17 Yao Qi <yao@codesourcery.com>
2135
2136 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
2137
32d22ab1
TT
21382012-02-16 Tom Tromey <tromey@redhat.com>
2139
2140 * gdb.base/inferior-died.c: Don't include stdio.h.
2141
9addecb9
TT
21422012-02-16 Tom Tromey <tromey@redhat.com>
2143
2144 * gdb.base/inferior-died.c: New file.
2145 * gdb.base/inferior-died.exp: New file.
2146
4cb6da1c
AR
21472012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
2148
2149 * gdb.base/break-inline.exp: New file.
2150 * gdb.base/break-inline.c: New file.
2151
3af2590d
TT
21522012-02-15 Tom Tromey <tromey@redhat.com>
2153
2154 * gdb.base/pc-fp.exp: Add "info register" tests.
2155
29988831
TT
21562012-02-15 Tom Tromey <tromey@redhat.com>
2157
2158 * gdb.base/regs.exp: Remove.
2159
10010058
PA
21602012-02-15 Pedro Alves <palves@redhat.com>
2161
2162 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
2163 the target doesn't support tracepoints.
2164 * gdb.trace/circ.exp: Ditto.
2165 * gdb.trace/collection.exp: Ditto.
2166 * gdb.trace/packetlen.exp: Ditto.
2167 * gdb.trace/passc-dyn.exp: Ditto.
2168 * gdb.trace/report.exp: Ditto.
2169 * gdb.trace/tfind.exp: Ditto.
2170 * gdb.trace/tspeed.exp: Ditto.
2171 * gdb.trace/tsv.exp: Ditto.
2172 * gdb.trace/unavailable.exp: Ditto.
2173 * gdb.trace/while-dyn.exp: Ditto.
2174
a2e0062d
PA
21752012-02-15 Pedro Alves <palves@redhat.com>
2176
2177 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
2178 gdb_test_multiple, and call unsupported instead of fail, if the
2179 remote side does not support the request.
2180
a1999d40
PA
21812012-02-15 Pedro Alves <palves@redhat.com>
2182
2183 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
2184 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
2185 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
2186 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
2187 * gdb.server/server-run.exp: Make sure gdb is disconnected.
2188 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
2189 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
2190 doesn't start with "extended-" already.
2191
7cee1e54
PA
21922012-02-15 Pedro Alves <palves@redhat.com>
2193
2194 Support extended-remote. Avoid cascading timeouts.
2195
2196 * gdb.base/attach.exp (do_attach_tests): Add expected output for
2197 the extended-remote target. If attaching with no file fails, load
2198 the file manually.
2199 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
2200
816338b5
SS
22012012-02-14 Stan Shebs <stan@codesourcery.com>
2202
2203 * gdb.base/ena-dis-br.exp: Add enable count test.
2204
cc30c4bd
PA
22052012-02-13 Pedro Alves <palves@redhat.com>
2206
2207 * config/mips-idt.exp: Delete.
2208 * gdb.base/a2-run.exp: Remove mips-idt xfails.
2209 * gdb.base/bitfields.exp: Remove mips-idt restarts.
2210 * gdb.base/break.exp: Remove mips-idt references.
2211 * gdb.base/chng-syms.exp: Ditto.
2212 * gdb.base/default.exp: Ditto.
2213 * gdb.base/funcargs.exp (funcargs_reload): Delete.
2214 (top level): Don't call it.
2215 * gdb.base/opaque.exp: Remove mips-idt restarts.
2216 * gdb.base/ptype.exp: Remove mips-idt xfails.
2217 * gdb.base/scope.exp: Remove mips-idt restarts.
2218 * gdb.base/sepdebug.exp: Remove mips-idt references.
2219 * gdb.base/watchpoint.exp (maybe_clean_restart)
2220 (maybe_reinitialize): Delete.
2221 (test_disabling_watchpoints, test_disabling_watchpoints)
2222 (test_watchpoint_triggered_in_syscall)
2223 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
2224 Don't call them.
2225
57008375
JK
22262012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
2227
2228 * gdb.server/server-exec-info.exp: New file.
2229
4a2d9c08
PA
22302012-02-10 Pedro Alves <palves@redhat.com>
2231
2232 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
2233 always non-empty.
2234 (test_attach): Always pass $exec to test_attach_gdb.
2235
09fa21bd
TT
22362012-02-08 Tom Tromey <tromey@redhat.com>
2237
2238 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
2239 before inferior is started.
2240
f0823d2c
TT
22412012-02-07 Tom Tromey <tromey@redhat.com>
2242
2243 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
2244 Symbol.value.
2245 * gdb.python/py-symbol.c (qq): Set default value.
2246
22472012-02-07 Tom Tromey <tromey@redhat.com>
64e7d9dd
TT
2248
2249 * gdb.python/py-symbol.c (qq): New global.
2250 * gdb.python/py-symbol.exp: Add test for frame-less
2251 lookup_symbol.
2252 * gdb.python/py-symtab.exp: Fix line number.
2253
f7e44f65
JB
22542012-02-03 Joel Brobecker <brobecker@adacore.com>
2255
2256 * gdb.ada/mi_task_arg: New testcase.
2257
4c9ed63c
PA
22582012-02-02 Pedro Alves <palves@redhat.com>
2259
2260 * gdb.reverse/until-precsave.exp: Also put "record save" under the
2261 extended timeout.
2262
c0b9f2c6
PA
22632012-02-02 Pedro Alves <palves@redhat.com>
2264
2265 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
2266 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
2267
5f8cefd7
PA
22682012-02-02 Pedro Alves <palves@redhat.com>
2269
2270 * gdb.base/term.exp: Rewrite.
2271 * gdb.base/term.c: New.
2272
2f3a2569
PA
22732012-02-02 Pedro Alves <palves@redhat.com>
2274
2275 * gdb.base/default.exp (run "r" abbreviation, run): Add
2276 extended-remote expected output.
2277
f149aabd
TT
22782012-02-02 Tom Tromey <tromey@redhat.com>
2279
2280 * gdb.cp/dispcxx.exp: New file.
2281 * gdb.cp/dispcxx.cc: New file.
2282
03bef283
TT
22832012-02-01 Tom Tromey <tromey@redhat.com>
2284
2285 * gdb.base/jit-simple.exp: New file.
2286 * gdb.base/jit-simple.c: New file.
2287
a79b18b5
YQ
22882012-01-30 Yao Qi <yao@codesourcery.com>
2289
2290 * gdb.base/skip.exp: Make test result unique.
2291
f0d1a53e
JK
22922012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2293
2294 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
2295 compatibility with valgrind-3.7.0.
2296
4b3c9f41
PA
22972012-01-27 Pedro Alves <palves@redhat.com>
2298
2299 * gdb.base/watchpoint.exp (no_hw): New global.
2300 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
2301 disable hw watchpoints.
2302 (test_wide_location_1, test_wide_location_2): If no_hw is set,
2303 don't expect hw watchpoints.
2304 (no_hw_watchpoints): Always clean restart.
2305 (do_tests): New procedure, factored out from the top level.
2306 (top level): Run tests twice. Once with hw watchpoints enabled,
2307 another time with hw watchpoints disabled.
2308
a13491c8
PA
23092012-01-27 Pedro Alves <palves@redhat.com>
2310
2311 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
2312 out from the top level.
2313 (top level): Call it instead.
2314
f2c8a051
PA
23152012-01-27 Pedro Alves <palves@redhat.com>
2316
2317 * gdb.base/watchpoint.exp (top level): Re-enable hardware
2318 watchpoints sooner.
2319
654d7a9e
PA
23202012-01-27 Pedro Alves <palves@redhat.com>
2321
2322 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
2323
274f47f3
PA
23242012-01-27 Pedro Alves <palves@redhat.com>
2325
2326 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
2327 "You may have requested too many hardware
2328 breakpoints/watchpoints".
2329
e4d63ba2
PA
23302012-01-27 Pedro Alves <palves@redhat.com>
2331
2332 * gdb.base/watchpoint.exp (maybe_clean_restart)
2333 (maybe_reinitialize): New.
2334 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
2335 expect "hit N times".
2336 (test_disabling_watchpoints, test_complex_watchpoint)
2337 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
2338 Call maybe_clean_restart.
2339 (top level): Use clean_restart. Remove "mips-idt-*"
2340 reinitialization.
2341
dbd95daf
PA
23422012-01-27 Pedro Alves <palves@redhat.com>
2343
2344 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
2345
f3ad2025
PA
23462012-01-27 Pedro Alves <palves@redhat.com>
2347
2348 * gdb.base/watchpoint.exp: Clean restart after tests that don't
2349 require `initialize' anymore. Remove unnecessary `initialize'
2350 calls.
2351
100aa3ae
PA
23522012-01-27 Pedro Alves <palves@redhat.com>
2353
2354 * gdb.base/watchpoint.exp (wp_set): Delete.
2355 (initialize, test_simple_watchpoint, top level): Remove dead code.
2356
c79a8e11
PA
23572012-01-27 Pedro Alves <palves@redhat.com>
2358
2359 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
2360 typo.
2361
048fe15a
PA
23622012-01-27 Pedro Alves <palves@redhat.com>
2363
2364 * config/extended-gdbserver.exp: New file.
2365 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
2366 comment.
2367 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
2368 * boards/native-extended-gdbserver.exp: New file.
2369
4033a6bf
PA
23702012-01-26 Pedro Alves <palves@redhat.com>
2371
2372 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
2373 and gdb_test_multiple.
2374
3d7f4b81
PA
23752012-01-26 Pedro Alves <palves@redhat.com>
2376
2377 Make test messages unique, and more identifiable.
2378 * gdb.multi/watchpoint-multi.exp: Change test messages.
2379
484abf42
TT
23802012-01-25 Tom Tromey <tromey@redhat.com>
2381
2382 * gdb.base/solib-disc.exp: Fix regexps.
2383
edcc5120
TT
23842012-01-24 Tom Tromey <tromey@redhat.com>
2385
2386 * lib/mi-support.exp (mi_expect_stop): Add special case for
2387 solib-event.
2388 * gdb.base/catch-load-so.c: New file.
2389 * gdb.base/catch-load.exp: New file.
2390 * gdb.base/catch-load.c: New file.
2391 * gdb.base/break-interp.exp (reach_1): Update regexp.
2392
30b91c90
JK
23932012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2394
2395 Fix fuzzy results.
2396 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
2397 lpsimple and func.
2398
53fe1783
GB
23992012-01-24 Gary Benson <gbenson@redhat.com>
2400
2401 Delete #if 0'd out code.
2402 * gdb.base/default.exp (info catch): Remove.
2403 * gdb.base/gdb_history (info catch): Likewise.
2404 * gdb.base/help.exp (info catch): Likewise.
2405
d0d8b0c6
JK
24062012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2407
2408 Fix watchpoints to be specific for each inferior.
2409 * gdb.multi/watchpoint-multi.c: New file.
2410 * gdb.multi/watchpoint-multi.exp: New file.
2411
4403d8e9
JK
24122012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2413
2414 Fix watchpoints across inferior fork.
2415 * gdb.threads/watchpoint-fork-child.c: New file.
2416 * gdb.threads/watchpoint-fork-mt.c: New file.
2417 * gdb.threads/watchpoint-fork-parent.c: New file.
2418 * gdb.threads/watchpoint-fork-st.c: New file.
2419 * gdb.threads/watchpoint-fork.exp: New file.
2420 * gdb.threads/watchpoint-fork.h: New file.
2421
050a2e1d
PA
24222012-01-23 Pedro Alves <palves@redhat.com>
2423
2424 * gdb.base/call-signal-resume.exp: Allow output after "return".
2425
6a52fb62
PA
24262012-01-20 Pedro Alves <palves@redhat.com>
2427
2428 * gdb.python/py-finish-breakpoint.py: Fix typo.
2429
145b16a9
UW
24302012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
2431
2432 * gdb.base/info-proc.exp: Also run on remote targets. Main
2433 "info proc" command is now always present; whether target supports
2434 actual info proc operation is detected when attempting to issue
2435 the command.
2436
26f6125e
JK
24372012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2438
2439 * .gdbinit: Remove.
2440
eb5227ce
PA
24412012-01-19 Pedro Alves <palves@redhat.com>
2442
2443 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
2444 look at the funtions' returns.
2445 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
2446 (jprint.print(int, int)): Change return type to int. Adjust.
2447
1db33378
PP
24482012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2449
2450 PR gdb/9538
2451 * gdb.base/sepdebug.exp: New test.
2452
b9736cf8
PA
24532012-01-18 Pedro Alves <palves@redhat.com>
2454
2455 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
2456 Allow output before ^done.
2457
4aac40c8
TT
24582012-01-16 Tom Tromey <tromey@redhat.com>
2459
2460 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
2461 Add tests for relative directory.
2462
cafec441
TT
24632012-01-16 Tom Tromey <tromey@redhat.com>
2464
2465 * gdb.base/printcmds.c (enum flag_enum): New.
2466 (three): New global.
2467 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
2468 enum printing.
2469 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
2470 FlagEnumerationPrinter.
2471 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
2472 * gdb.python/py-pp-maint.c (enum flag_enum): New.
2473 (fval): New global.
2474
abcc4978
PA
24752012-01-16 Pedro Alves <palves@redhat.com>
2476
2477 * lib/gdb.exp (banned_procedures): New variable.
2478 (banned_variables_traced): Rename to ...
2479 (banned_traced): ... this.
2480 (gdb_init): Also trace banned procedures.
2481 (gdb_finish): Also untrace banned procedures.
2482
97ccebe8
PA
24832012-01-16 Pedro Alves <palves@redhat.com>
2484
2485 Remove all calls to strace.
2486
2af7517b
JK
24872012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2488
2489 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
2490 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
2491
9241a8bc
PP
24922012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2493
2494 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
2495 * gdb.base/pie-execl.exp: Likewise.
2496
3848a17f
KS
24972012-01-12 Keith Seitz <keiths@redhat.com>
2498
2499 PR mi/10586
2500 * gdb.mi/var-cmd.c (struct anonymous): New structure.
2501 (do_anonymous_type_tests): New function.
2502 (main): Call do_anonymous_type_tests.
2503 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
2504 (verify_everything): New procedure.
2505 * gdb.mi/mi-var-cp.cc (class A): New class.
2506 (anonymous_structs_and_unions): New function.
2507 (main): Call anonymous_structs_and_unions.
2508 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
2509 (verify_everything): New procedure.
2510
440e2fca
KS
25112012-01-12 Keith Seitz <keiths@redhat.com>
2512
2513 * lib/mi-support.exp: Expand comments about PATH_EXPR.
2514 (varobj_tree::get_path_expr): Assume that all varobjs are
2515 compound unless they are known simple types.
2516 Adjust path expressions based on parent type, path parent type,
2517 and tree language.
2518 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
2519 the root varobj.
2520 (mi_walk_varobj_tree): Add LANGUAGE parameter.
2521
675399c9
PA
25222012-01-11 Pedro Alves <palves@redhat.com>
2523
2524 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
2525 core files on this machine" anymore.
2526
97ddaa9b
PH
25272012-01-11 Paul Hilfinger <hilfingr@adacore.com>
2528
2529 * gdb.base/watchpoint.c (recurser): Initialize local_x.
2530 (main): Repeat recurser call.
2531 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
2532 equivalent to 'local_x'.
2533
ea733575
PH
25342012-01-11 Paul Hilfinger <hilfingr@adacore.com>
2535 Joel Brobecker <brobecker@adacore.com>
2536
2537 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
2538
2ca0b532
PA
25392012-01-05 Pedro Alves <alves.ped@gmail.com>
2540
2541 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
2542 * gdb.python/py-events.c (first): Add bits for new "step N" test.
2543 * gdb.python/py-events.exp: Test that "step N" tripping on a
2544 breakpoint emits a breakpoint event.
2545
6e681866
JB
25462012-01-03 Joel Brobecker <brobecker@adacore.com>
2547
2548 * gdb.base/auxv.exp: Reformat the copyright notice.
2549
3c2d6aff
YQ
25502012-01-03 Yao Qi <yao@codesourcery.com>
2551
2552 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
2553 (strace_trace_on_diff_addr): New.
2554 * gdb.trace/strace.c: (main): Add two local variables.
2555
0852fee3
UW
25562011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
2557
2558 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
2559 * gdb.cell/gcore.exp: Likewise.
2560 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
2561 to verify the correct instance of main is selected.
2562
12c3e59c
JB
25632012-01-02 Joel Brobecker <brobecker@adacore.com>
2564
2565 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
2566 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
2567 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
2568 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
2569 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
2570 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
2571 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
2572 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
2573 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
2574 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
2575 gdb.threads/thread_check.c: Reformat copyright header.
2576
c0f378ec
EBM
25772011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
2578
e4a7ca93 2579 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
c0f378ec
EBM
2580 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
2581 is not enabled.
2582
3bc96cfb
JK
25832011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2584
2585 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
2586 parameter to self_exec, adjust the function.
2587 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
2588 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
2589 (set var do_exit = 0): Remove test.
2590 (newline at end of file): Add one.
2591
095bcf5e
JB
25922011-12-27 Joel Brobecker <brobecker@adacore.com>
2593
2594 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
2595 New files.
2596
18d19bd1
JK
25972011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2598
2599 Fix racy FAILs.
2600 * gdb.threads/fork-thread-pending.c (barrier): New variable.
2601 (thread_function, thread_forker): Call pthread_barrier_wait for it.
2602 (main): Call pthread_barrier_init for it.
2603
e809353a
JK
26042011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2605
2606 Fix double send_gdb leading to racy FAILs.
2607 * gdb.base/break.exp (set silent break bp_location1): Replace
2608 3x send_gdb and gdb_expect by gdb_test.
2609 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
2610 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
2611 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
2612 instead of send_gdb. Twice.
2613 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
2614 3x send_gdb and gdb_expect by gdb_test.
2615 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
2616
da8cb7ec
JK
26172011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2618
2619 * gdb.linespec/linespec.exp: Compile using {c++}.
2620
ae1a303e
JK
26212011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2622
2623 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
2624 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
2625 (verify GCC PR debug/51668): New test.
2626
cc72b2a2
KP
26272011-12-23 Kevin Pouget <kevin.pouget@st.com>
2628
2629 Introduce gdb.FinishBreakpoint in Python.
2630 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
2631 py-finish-breakpoint2
2632 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
2633 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
2634 instead of line number.
2635 * gdb.python/py-finish-breakpoint.c: New file.
2636 * gdb.python/py-finish-breakpoint.exp: New file.
2637 * gdb.python/py-finish-breakpoint.py: New file.
2638 * gdb.python/py-finish-breakpoint2.cc: New file.
2639 * gdb.python/py-finish-breakpoint2.exp: New file.
2640 * gdb.python/py-finish-breakpoint2.py: New file.
2641
3b7962f9
JK
26422011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2643
2644 Partial fix of compatibility with gcc-4.7.
2645 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
2646 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
2647 Add comment to add a PASS case in the future.
2648
6538471c
JK
2649 Fix compatibility with gcc-4.7.
2650 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
2651
7052e42c
UW
26522011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
2653
2654 PR tdep/12797
2655 * gdb.base/callfuncs.exp: Remove KFAIL.
2656
9ac7f98e
JB
26572011-12-21 Joel Brobecker <brobecker@adacore.com>
2658
2659 * gdb.ada/task_bp: New testcase.
2660
f6eeced0
JK
26612011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2662
2663 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
2664 -DNO_SECTIONS.
2665 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
2666
72225e17
JK
26672011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2668
2669 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
2670 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
2671 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
2672 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
2673 conditional for gcc <= 4.5.
2674
13ac8d2c
JK
26752011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2676
2677 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
2678 by XFAIL.
2679 * gdb.cp/static-method.exp (info addr A::func())
2680 (list static-method.cc:xxx::(anonymous namespace)::A::func)
2681 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
2682 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
2683 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
2684 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
2685 (test value of F in k3_m): Likewise.
2686 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
2687 Likewise.
2688
049682ba
JK
26892011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2690
2691 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
2692 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
2693 Remove.
2694 * gdb.threads/attachstop-mt.c: Remove.
2695 * gdb.threads/attachstop-mt.exp: Remove.
2696
2c9d8796
MK
26972011-12-17 Mark Kettenis <kettenis@gnu.org>
2698
2699 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
2700
e0f9f062
DE
27012011-12-16 Doug Evans <dje@google.com>
2702
f4aa2101 2703 * boards/native-stdio-gdbserver.exp: New file.
966be4fd
DE
2704 * boards/native-gdbserver.exp: New file.
2705
e0f9f062
DE
2706 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
2707 gdbserver output.
2708 (gdbserver_default_get_remote_address): New function.
2709 (gdbserver_start): Call gdb,get_remote_address to compute argument
2710 to "target remote" command.
2711
80b6e756
PM
27122011-12-16 Phil Muldoon <pmuldoon@redhat.com>
2713
1c3ad6ab 2714 * gdb.python/py-function.exp: Change "on" to "full" for
80b6e756
PM
2715 python print-stack. Add set/show python print-stack
2716 off|full|message tests.
2717
1576bd00
YQ
27182011-12-15 Yao Qi <yao@codesourcery.com>
2719
2720 * gdb.trace/strace.c: New
2721 * gdb.trace/strace.exp: New.
2722
d6a0f6e0
TT
27232011-12-14 Tom Tromey <tromey@redhat.com>
2724
2725 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
2726
31015e1d
DE
27272011-12-14 Doug Evans <dje@google.com>
2728
2729 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
2730
7b50312a
PA
27312011-12-14 Pedro Alves <pedro@codesourcery.com>
2732
2733 PR threads/10729
2734
2735 * gdb.mi/watch-nonstop.c: New file.
2736 * gdb.mi/mi-watch-nonstop.exp: New file.
2737
924437bc
PA
27382011-12-13 Pedro Alves <pedro@codesourcery.com>
2739 Doug Evans <dje@google.com>
2740
2741 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
2742 (clean_restart): Remove references to the gdb_stub target board
2743 variable.
2744 (gdb_step_for_stub): Delete.
2745
2746 * gdb.base/annota1.exp: Remove all references to [target_info
2747 exists gdb_stub], gdb_step_for_stub and usestubs.
2748 * gdb.base/annota3.exp: Ditto.
2749 * gdb.base/async.exp: Ditto.
2750 * gdb.base/break.exp: Ditto.
2751 * gdb.base/code-expr.exp: Ditto.
2752 * gdb.base/commands.exp: Ditto.
2753 * gdb.base/completion.exp: Ditto.
2754 * gdb.base/condbreak.exp: Ditto.
2755 * gdb.base/consecutive.exp: Ditto.
2756 * gdb.base/cvexpr.exp: Ditto.
2757 * gdb.base/define.exp: Ditto.
2758 * gdb.base/display.exp: Ditto.
2759 * gdb.base/ena-dis-br.exp: Ditto.
2760 * gdb.base/environ.exp: Ditto.
2761 * gdb.base/gnu-ifunc.exp: Ditto.
2762 * gdb.base/maint.exp: Ditto.
2763 * gdb.base/pending.exp: Ditto.
2764 * gdb.base/sect-cmd.exp: Ditto.
2765 * gdb.base/sepdebug.exp: Ditto.
2766 * gdb.base/unload.exp: Ditto.
2767 * gdb.base/watchpoint-solib.exp: Ditto.
2768 * gdb.cp/annota2.exp: Ditto.
2769 * gdb.cp/annota3.exp: Ditto.
2770 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
2771 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
2772 * gdb.mi/mi-pending.exp: Ditto.
2773 * gdb.trace/circ.exp: Ditto.
2774 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
2775 * gdb.base/list.exp: Ditto.
2776
2777 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
2778 breakpoint function and all references to the usestubs macro.
2779 * gdb.base/exprs.c: Ditto.
2780 * gdb.base/freebpcmd.c: Ditto.
2781 * gdb.base/bitfields.c: Ditto.
2782 * gdb.base/bitfields2.c: Ditto.
2783 * gdb.base/break.c: Ditto.
2784 * gdb.base/call-sc.c: Ditto.
2785 * gdb.base/call-signals.c: Ditto.
2786 * gdb.base/callfuncs.c: Ditto.
2787 * gdb.base/charset.c: Ditto.
2788 * gdb.base/consecutive.c: Ditto.
2789 * gdb.base/constvars.c: Ditto.
2790 * gdb.base/funcargs.c: Ditto.
2791 * gdb.base/int-type.c: Ditto.
2792 * gdb.base/interrupt.c: Ditto.
2793 * gdb.base/langs0.c: Ditto.
2794 * gdb.base/list0.c: Ditto.
2795 * gdb.base/mips_pro.c: Ditto.
2796 * gdb.base/miscexprs.c: Ditto.
2797 * gdb.base/nodebug.c: Ditto.
2798 * gdb.base/opaque0.c: Ditto.
2799 * gdb.base/pointers.c: Ditto.
2800 * gdb.base/printcmds.c: Ditto.
2801 * gdb.base/ptype.c: Ditto.
2802 * gdb.base/recurse.c: Ditto.
2803 * gdb.base/reread1.c: Ditto.
2804 * gdb.base/reread2.c: Ditto.
2805 * gdb.base/restore.c: Ditto.
2806 * gdb.base/return.c: Ditto.
2807 * gdb.base/run.c: Ditto.
2808 * gdb.base/scope0.c: Ditto.
2809 * gdb.base/sepdebug.c: Ditto.
2810 * gdb.base/setshow.c: Ditto.
2811 * gdb.base/setvar.c: Ditto.
2812 * gdb.base/sigall.c: Ditto.
2813 * gdb.base/signals.c: Ditto.
2814 * gdb.base/structs.c: Ditto.
2815 * gdb.base/structs2.c: Ditto.
2816 * gdb.base/testenv.c: Ditto.
2817 * gdb.base/twice.c: Ditto.
2818 * gdb.base/unwindonsignal.c: Ditto.
2819 * gdb.base/watchpoint.c: Ditto.
2820 * gdb.base/watchpoints.c: Ditto.
2821 * gdb.base/whatis.c: Ditto.
2822 * gdb.cp/classes.cc: Ditto.
2823 * gdb.cp/cplusfuncs.cc: Ditto.
2824 * gdb.cp/derivation.cc: Ditto.
2825 * gdb.cp/formatted-ref.cc: Ditto.
2826 * gdb.cp/misc.cc: Ditto.
2827 * gdb.cp/overload.cc: Ditto.
2828 * gdb.cp/ovldbreak.cc: Ditto.
2829 * gdb.cp/ref-params.cc: Ditto.
2830 * gdb.cp/ref-types.cc: Ditto.
2831 * gdb.cp/templates.cc: Ditto.
2832 * gdb.cp/virtfunc.cc: Ditto.
2833 * gdb.hp/gdb.aCC/run.c: Ditto.
2834 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
2835 * gdb.hp/gdb.compat/xdb0.c: Ditto.
2836 * gdb.reverse/consecutive-reverse.c: Ditto.
2837 * gdb.reverse/sigall-reverse.c: Ditto.
2838 * gdb.reverse/until-reverse.c: Ditto.
2839 * gdb.reverse/watch-reverse.c: Ditto.
2840 * gdb.trace/actions.c: Ditto.
2841 * gdb.trace/circ.c: Ditto.
2842 * gdb.trace/collection.c: Ditto.
2843
fabde485
PA
28442011-12-13 Pedro Alves <pedro@codesourcery.com>
2845
2846 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
2847 (func6, func7): New.
2848 (main): Call func6 and func7.
2849 * gdb.base/watchpoint.exp (test_wide_location_1)
2850 (test_wide_location_2): New.
2851 (top level): Re-enable hardware watchpoints if necessary. Call
2852 test_wide_location_1 and test_wide_location_2.
2853
ff7d1690
YQ
28542011-12-11 Yao Qi <yao@codesourcery.com>
2855
2856 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
2857
a6af7abe
JB
28582011-12-11 Joel Brobecker <brobecker@adacore.com>
2859
2860 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
2861 expected output for unsupported case.
2862
61638e15
JK
28632011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2864
2865 PR testsuite/12649
2866 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
2867 Protect gdb_test_multiple by final $gdb_prompt match.
2868
0a00efc3
JK
28692011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2870
2871 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
2872 New variable, new test.
2873 (list static-method.cc:xxx::(anonymous namespace)::A::func)
2874 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
2875 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
2876 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
2877 them if HAVE_GCC_45682_FIXED is not set.
2878
4511b1ba
YQ
28792011-12-10 Yao Qi <yao@codesourcery.com>
2880
2881 * gdb.trace/status-stop.exp: New.
2882 * gdb.trace/status-stop.c: New.
2883
27949e73
JK
28842011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2885
2886 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
2887 timeout.
2888
d8ea7931
TT
28892011-12-08 Tom Tromey <tromey@redhat.com>
2890
2891 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
2892 condition.
2893
1cc310d2
SS
28942011-12-07 Stan Shebs <stan@codesourcery.com>
2895
2896 * gdb.trace/tfind.exp: Update for output changes.
2897
d482a875
PA
28982011-12-07 Pedro Alves <pedro@codesourcery.com>
2899
2900 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
2901 throws "Cannot insert catchpoints in this configuration".
2902 * gdb.ada/mi_catch_ex.exp: Likewise.
2903
f0ba3972
PA
29042011-12-06 Pedro Alves <pedro@codesourcery.com>
2905
2906 * gdb.base/break-always.exp: Test changing memory at addresses
2907 with breakpoints inserted.
2908
f8eba3c6
TT
29092011-12-06 Joel Brobecker <brobecker@acacore.com>
2910
2911 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
2912 involving a fully qualified function name.
2913
29142011-12-06 Tom Tromey <tromey@redhat.com>
2915
2916 * gdb.ada/homonym.exp: Add three breakpoint tests.
2917
29182011-12-06 Tom Tromey <tromey@redhat.com>
2919
2920 * gdb.base/solib-weak.exp (do_test): Remove kfail.
2921 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
2922 * gdb.objc/objcdecode.exp: Update for output changes.
2923 * gdb.linespec/linespec.exp: New file.
2924 * gdb.linespec/lspec.cc: New file.
2925 * gdb.linespec/lspec.h: New file.
2926 * gdb.linespec/body.h: New file.
2927 * gdb.linespec/base/two/thefile.cc: New file.
2928 * gdb.linespec/base/one/thefile.cc: New file.
2929 * gdb.linespec/Makefile.in: New file.
2930 * gdb.cp/templates.exp (test_template_breakpoints): Update for
2931 output changes.
2932 * gdb.cp/re-set-overloaded.exp: Remove kfail.
2933 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
2934 makes one breakpoint.
2935 * gdb.cp/method2.exp (test_break): Update for output changes.
2936 * gdb.cp/mb-templates.exp: Update for output changes.
2937 * gdb.cp/mb-inline.exp: Update for output changes.
2938 * gdb.cp/mb-ctor.exp: Update for output changes.
2939 * gdb.cp/ovsrch.exp: Use fully-qualified names.
2940 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
2941 has multiple matches.
2942 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
2943 error message change.
2944 * gdb.base/list.exp (test_list_filename_and_number): Update for
2945 error message change.
2946 * gdb.base/break.exp: Disable pending breakpoints. Update for
2947 output changes.
2948 * configure.ac: Add gdb.linespec.
2949 * configure: Rebuild.
2950 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
2951
c642a434
UW
29522011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
2953
2954 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
2955 last_break register on s390*-*-* targets.
2956
b18003d1
JB
29572011-12-06 Joel Brobecker <brobecker@adacore.com>
2958
2959 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
2960 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
2961 of parameter X in procedure Foo.
2962
fe96589c
SS
29632011-12-05 Stan Shebs <stan@codesourcery.com>
2964
2965 * gdb.trace/tfind.exp: Update help string matches.
2966
1820ab47
JK
29672011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2968
2969 * gdb.server/ext-run.exp (get process list): Accept also systemd
2970 as PID 1.
2971
e11ac3a3
JK
29722011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2973 Pedro Alves <pedro@codesourcery.com>
2974
2975 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
2976 starting GDB.
2977 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
2978 $use_gdb_stub.
2979 * gdb.base/display.exp: Likewise.
2980 * gdb.base/ending-run.exp: Likewise.
2981 * gdb.base/list.exp (test_listsize): Likewise.
2982 * gdb.base/setshow.exp: Likewise.
2983 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
2984 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
2985 check by global $use_gdb_stub.
2986 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
2987 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
2988 (default_gdb_init): Unset global $use_gdb_stub.
2989 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
2990 by global $use_gdb_stub.
2991 * lib/gdbserver-support.exp: Extend comments for set_board_info
2992 gdb_protocol and gdb,socketport.
2993 (gdbserver_start_extended): Set global gdbserver_protocol and
2994 gdbserver_gdbport. Clear global use_gdb_stub.
2995 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
2996 from target use_gdb_stub.
2997 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
2998
1d41d75c
DE
29992011-12-03 Doug Evans <dje@google.com>
3000
3001 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
3002 (gdb_step_for_stub): Add comments.
3003
d6d7a51a
MR
30042011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
3005
3006 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
3007 to the caller.
3008 (gdb_test_multiple): Likewise.
3009
05acf274
JK
30102011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3011
3012 Fix gdb.mi/mi-solib.exp without system debug info installed.
3013 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
3014 expect attribute, return 0 for it. Update comments.
3015
2268b414
JK
30162011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3017
3018 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
3019 (corrupted list): Adjust the expectation.
3020
585861ea
JK
30212011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3022
3023 PR threads/13448
3024 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
3025 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
3026 * gdb.threads/tls-var-main.c: New file.
3027 * gdb.threads/tls-var.c: New file.
3028 * gdb.threads/tls-var.exp: New file.
3029
968643aa
JK
30302011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3031
3032 PR testsuite/12649
3033 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
3034 Protect gdb_test_multiple by final $gdb_prompt match.
3035 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
3036 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
3037 (test_tracepoints): Likewise.
3038
9750bca9
JK
30392011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3040
3041 PR breakpoints/13346
3042 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
3043 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
3044 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
3045
ac1349b7
JB
30462011-12-01 Joel Brobecker <brobecker@adacore.com>
3047
3048 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
3049 * gdb.ada/homonym/homonym.adb: For use of all types defined
3050 locally inside both Get_Value subprograms.
3051
26d44faf
JK
30522011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3053
3054 Fix racy FAILs.
3055 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
3056 of send_gdb.
3057
514f6425
UW
30582011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3059
3060 * gdb.base/testenv.exp: Skip on remote targets. Unset global
3061 environment variable after test completed.
3062
4255c8d2
UW
30632011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
3064
3065 * gdb.base/solib-nodir.exp: Skip if remote target.
3066 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
3067 application. Call gdb_load_shlibs.
3068 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
3069
a35ad96a
JB
30702011-11-29 Joel Brobecker <brobecker@adacore.com>
3071
3072 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
3073
1a1d5513
JB
30742011-11-28 Joel Brobecker <brobecker@adacore.com>
3075
3076 * gdb.ada/fullname_bp: New testcase.
3077
50b4ddf8
JK
30782011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3079
3080 PR testsuite/12649
3081 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
3082 Wrap send_gdb into a new gdb_test.
3083
fb0aec57
JK
3084 Code cleanup.
3085 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
3086 Convert send_gdb and gdb_expect to gdb_test_multiple.
3087
2376d946
JK
30882011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3089
3090 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
3091
1eec78bd
KS
30922011-11-23 Keith Seitz <keiths@redhat.com>
3093
3094 * lib/mi-support.exp (varobj_tree): New namespace and procs.
3095 (mi_varobj_tree_test_children_callback): New proc.
3096 (mi_walk_varobj_tree): New proc.
3097
36dfb11c
TT
30982011-11-22 Tom Tromey <tromey@redhat.com>
3099
3100 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
3101 Add "use_mi_command" argument.
3102 (mi_run_cmd, mi_run_with_cli): New procs.
3103 * gdb.mi/solib-lib.c: New file.
3104 * gdb.mi/solib-main.c: New file.
3105 * gdb.mi/mi-solib.exp: New file.
3106
0e965dd0
DE
31072011-11-21 Doug Evans <dje@google.com>
3108
3109 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
3110 _Unwind_DebugHook is missing.
3111
f196051f
SS
31122011-11-20 Stan Shebs <stan@codesourcery.com>
3113
3114 * gdb.trace/tstatus.exp: New.
3115 * gdb.trace/actions.c: Include string.h.
3116
bfccc43c
YQ
31172011-11-18 Yao Qi <yao@codesourcery.com>
3118
3119 * gdb.trace/pending.exp: New.
3120 * gdb.trace/pending.c: New.
3121 * gdb.trace/pendshr1.c: New.
3122 * gdb.trace/pendshr2.c: New.
3123 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
3124 tracepoint location becomes pending.
3125 (tracepoint_change_loc_2): New.
3126
73cd8ab1
DM
31272011-11-16 David S. Miller <davem@davemloft.net>
3128
3129 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
3130 target is sparc*-*-linux*
3131
77426730
PK
31322011-11-15 Paul Koning <paul_koning@dell.com>
3133
3134 * gdb.python/py-type.exp: New testcases for exceptions on scalar
3135 types.
3136
ed59ded5
DE
31372011-11-14 Doug Evans <dje@google.com>
3138
3139 * gdb.base/shell.exp: New file.
3140
405f8e94
SS
31412011-11-14 Stan Shebs <stan@codesourcery.com>
3142
3143 * gdb.trace/ftrace.c: New.
3144 * gdb.trace/ftrace.exp: New.
3145
1e4d1764
YQ
31462011-11-14 Yao Qi <yao@codesourcery.com>
3147
3148 * gdb.trace/change-loc-1.c: New.
3149 * gdb.trace/change-loc-2.c: New.
3150 * gdb.trace/change-loc.c: New.
3151 * gdb.trace/change-loc.exp: New.
3152 * gdb.trace/change-loc.h: New.
3153 * gdb.trace/trace-break.c (marker): Define new symbol.
3154 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
3155 New.
3156 (break_trace_same_addr_6): New.
3157
71eba9c2 31582011-11-12 Matt Rice <ratmice@gmail.com>
3159
3160 * gdb.base/info-macros.exp: Make tests for info definitions
3161 test info macro. Add tests for info macro argument processing.
3162 Rename a few tests.
3163
1d93e29a
KS
31642011-11-11 Keith Seitz <keiths@redhat.com>
3165
3166 PR gdb/12843
3167 * gdb.base/linespecs.exp: New file.
3168
a4b5b48a
DE
31692011-11-11 Doug Evans <dje@google.com>
3170
3171 * gdb.threads/print-threads.exp: Extend timeout for slower
3172 tests.
3173
f6b47be4
DE
31742011-11-10 Doug Evans <dje@google.com>
3175
792a0230
DE
3176 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
3177 "record to end of main" test.
3178
f6b47be4
DE
3179 * gdb.python/py-type.c (TS): New typedef.
3180 (ts): New global.
3181 * gdb.python/py-type.exp: Test field list of typedef.
3182
22355c90
JB
31832011-11-10 Joel Brobecker <brobecker@adacore.com>
3184
3185 * gdb.ada/small_reg_param: New testcase.
3186
a7860e76
TT
31872011-11-09 Tom Tromey <tromey@redhat.com>
3188
3189 * gdb.cp/destrprint.exp: New file.
3190 * gdb.cp/destrprint.cc: New file.
3191
72a2e3dc
MI
31922011-11-08 Meador Inge <meadori@codesourcery.com>
3193
3194 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
3195 (switch_stack_to_other): New test function.
3196 * gdb.arch/thumb-prologue.exp: New test cases.
3197
c7195df2 31982011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
7bf9deb0
MR
3199
3200 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
3201
d3895d7d
YQ
32022011-11-08 Yao Qi <yao@codesourcery.com>
3203
3204 * gdb.exp (supports_process_record): New.
3205 (supports_reverse): New.
3206 * gdb.reverse/break-precsave.exp: Call support_process_record
3207 to run test conditionally.
3208 * gdb.reverse/consecutive-precsave.exp: Likewise.
3209 * gdb.reverse/i386-precsave.exp: Likewise.
3210 * gdb.reverse/machinestate-precsave.exp: Likewise.
3211 * gdb.reverse/solib-precsave.exp: Likewise.
3212 * gdb.reverse/step-precsave.exp: Likewise.
3213 * gdb.reverse/until-precsave.exp: Likewise.
3214 * gdb.reverse/watch-precsave.exp: Likewise.
3215 * gdb.reverse/break-reverse.exp: Call support_reverse to run
3216 test conditionally.
3217 * gdb.reverse/consecutive-reverse.exp: Likewise.
3218 * gdb.reverse/finish-precsave.exp: Likewise.
3219 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
3220 * gdb.reverse/finish-reverse.exp: Likewise.
3221 * gdb.reverse/i386-reverse.exp: Likewise.
3222 * gdb.reverse/i386-sse-reverse.exp: Likewise.
3223 * gdb.reverse/machinestate.exp: Likewise.
3224 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
3225 * gdb.reverse/sigall-precsave.exp: Likewise.
3226 * gdb.reverse/sigall-reverse.exp: Likewise.
3227 * gdb.reverse/solib-reverse.exp: Likewise.
3228 * gdb.reverse/step-reverse.exp: Likewise.
3229 * gdb.reverse/until-reverse.exp: Likewise.
3230 * gdb.reverse/watch-reverse.exp: Likewise.
3231
a59306a3
YQ
32322011-11-05 Yao Qi <yao@codesourcery.com>
3233
3234 * gdb.trace/trace-break.exp: Add test on setting two
3235 fast tracepoints at the same address.
3236
87769f59
JK
32372011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3238
3239 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
3240
3065dfb6
SS
32412011-11-02 Stan Shebs <stan@codesourcery.com>
3242
3243 * gdb.trace/collection.c: Add code using strings.
3244 * gdb.trace/collection.exp: Add tests of string collection.
3245
89e208db
JK
32462011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3247
3248 * gdb.base/skip-solib.exp (executable_main): New variable.
3249 (binfile_main): Base it on that.
3250 Use $executable_main in clean_restart calls. Drop gdb_exit and
3251 gdb_start calls.
3252
405e54e9
JK
32532011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3254
3255 Fix racy FAILs.
3256 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
3257 breakpoint_re globals import by async. Set string_regex to .* for
3258 async. Remove the optional thread_selected_re and breakpoint_re
3259 globals expectations.
3260
58e8570a
JM
32612011-11-01 Joseph Myers <joseph@codesourcery.com>
3262
3263 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
3264 well as Cygwin.
3265
7b35ec7f 32662011-11-01 Justin Lebar <justin.lebar@gmail.com>
1bfeeb0f
JL
3267
3268 Add tests for skip command.
89e208db
JK
3269 * gdb.base/skip-solib-lib.c: New
3270 * gdb.base/skip-solib-main.c: New
3271 * gdb.base/skip-solib.exp: New
3272 * gdb.base/skip.c: New
3273 * gdb.base/skip.exp: New
3274 * gdb.base/skip1.c: New
3275 * gdb.base/Makefile.in: Adding new files.
1bfeeb0f 3276
b9fd1791
PA
32772011-10-31 Yao Qi <yao@codesourcery.com>
3278 Pedro Alves <pedro@codesourcery.com>
3279
3280 * gdb.trace/trace-break.c: New.
3281 * gdb.trace/trace-break.exp: New.
3282
4323fecc
JK
32832011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3284
3285 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
3286 break-here-2.
3287
0e5bf2a8
PA
32882011-10-28 Pedro Alves <pedro@codesourcery.com>
3289
3290 * gdb.threads/no-unwaited-for-left.c: New.
3291 * gdb.threads/no-unwaited-for-left.exp: New.
3292 * gdb.threads/non-ldr-exc-1.c: New.
3293 * gdb.threads/non-ldr-exc-1.exp: New.
3294 * gdb.threads/non-ldr-exc-2.c: New.
3295 * gdb.threads/non-ldr-exc-2.exp: New.
3296 * gdb.threads/non-ldr-exc-3.c: New.
3297 * gdb.threads/non-ldr-exc-3.exp: New.
3298 * gdb.threads/non-ldr-exc-4.c: New.
3299 * gdb.threads/non-ldr-exc-4.exp: New.
3300
3a3dad98
JK
33012011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3302
3303 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
3304 * gdb.base/attach-pie-misread.exp: Likewise.
3305 * gdb.base/break-interp.exp: Likewise.
3306 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
3307 testcases for use_gdb_stub.
3308 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
3309 (continue): New testcase.
3310 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
3311 * gdb.threads/attach-into-signal.exp: Likewise.
3312 * gdb.threads/attach-stopped.exp: Likewise.
3313 * gdb.threads/attachstop-mt.exp: Likewise.
3314
d6a5d40c
PK
33152011-10-28 Paul Koning <paul_koning@dell.com>
3316
3317 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
3318
ca539be8
JK
33192011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3320
3321 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
3322 (mi_gdb_test): Import globals thread_selected_re
3323 and breakpoint_re. Expect them optionally at the regex start.
3324
d234ef5c
DE
33252011-10-27 Doug Evans <dje@google.com>
3326
3327 * gdb.python/python.exp: Test source -s.
3328
ab964825
PK
33292011-10-26 Paul Koning <paul_koning@dell.com>
3330
3331 * gdb.python/lib-types.cc (struct A): New structure.
3332 * gdb.python/lib-types.exp (deepitems): New tests.
d234ef5c 3333
54d8a644
PK
33342011-10-25 Paul Koning <paul_koning@dell.com>
3335
3336 PR python/13327
d234ef5c 3337
54d8a644
PK
3338 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
3339 fetch_lazy method.
3340
b0221781
YQ
33412011-10-24 Yao Qi <yao@codesourcery.com>
3342
3343 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
3344 target is tic6x-*-*.
3345
6cda5a20
JB
33462011-10-21 Joel Brobecker <brobecker@adacore.com>
3347
3348 * gdb.ada/mi_task_info/task_switch.adb: New file.
3349 * gdb.ada/mi_task_info.exp: New file.
3350
5ed9db04
JK
33512011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3352
3353 * gdb.cp/expand-psymtabs-cxx.exp: New file.
3354 * gdb.cp/expand-psymtabs-cxx.cc: New file.
3355
9df2fbc4
PM
33562011-10-20 Phil Muldoon <pmuldoon@redhat.com>
3357
3358 PR python/12656
3359
3360 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
3361 global_block tests.
3362
736086ba
TT
33632011-10-18 Tom Tromey <tromey@redhat.com>
3364
3365 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
3366
4af31552
TT
33672011-10-18 Tom Tromey <tromey@redhat.com>
3368
3369 * gdb.base/source.exp: Don't include full file name in test name.
3370 * gdb.python/python.exp: Don't include full file name in test
3371 name.
3372
43136979
AR
33732011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3374
3375 * gdb.base/attach-pie-noexec.c: New files.
3376 * gdb.base/attach-pie-noexec.exp: New files.
3377
543a9323
JM
33782011-10-17 Joseph Myers <joseph@codesourcery.com>
3379
3380 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
3381 prompt for each extra line in command.
3382
21ae7a4d
JK
33832011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3384
3385 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
3386 Revert the part of:
3387 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3388 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
3389 Change the expected string.
3390
20ec36d9
JK
33912011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3392
3393 Fix results with system glibc debug info installed.
3394 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
3395 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
3396 Accept also __libc_ symbol prefix and no prefix.
3397
6501c2fc
KS
33982011-10-14 Keith Seitz <keiths@redhat.com>
3399
3400 PR c++/13225
3401 * gdb.cp/converts.cc (foo3_1): New function.
3402 (foo3_2): New functions.
3403 * gdb.cp/converts.exp: Add tests for int to pointer conversion
3404 and null pointer conversions of integer constant zero.
3405 Add test to check if all arguments are checked for incompatible
3406 conversion BADNESS.
3407
55b1fd0c
TT
34082011-10-14 Tom Tromey <tromey@redhat.com>
3409
3410 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
3411 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
3412 linespec.
3413
22c05d8a
JK
34142011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3415
3416 Fix internal error regression.
3417 * gdb.dwarf2/implptr-optimized-out.S: New file.
3418 * gdb.dwarf2/implptr-optimized-out.exp: New file.
3419
1d6edc3c
JK
34202011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3421
3422 Fix empty DWARF expressions DATA vs. SIZE conditionals.
3423 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
3424 (loclist): New.
3425 (4): New abbrev.
3426 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
3427 Use prepare_for_testing, remove clean_restart.
3428 (p arraynoloc, p arraycallnoloc): New tests.
3429
9ec72168
JK
34302011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3431
3432 * gdb.cp/namespace-enum.exp (executable): New variable.
3433 (binfile): Use ${objdir}/${subdir}/ prefix.
3434 Use ${executable} for clean_restart.
3435
9c6c53f7
SA
34362011-10-11 Sterling Augustine <saugustine@google.com>
3437
3438 * gdb.cp/Makefile.in: Add namespace-enum test.
3439 * gdb.cp/namespace-enum.exp: New file.
3440 * gdb.cp/namespace-enum.c: New file.
3441 * gdb.cp/namespace-enum-main.c: New file.
3442
fac7ceb3
UW
34432011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
3444
3445 * gdb.python/py-shared.exp: Relax filename check to handle remote:
3446 sysroot.
3447
941b2081
JK
34482011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3449
3450 Reimplement @entry in input expressions.
3451 * gdb.base/exprs.c (v_int_array_init): New variable.
3452 * gdb.base/exprs.exp (print v_int_array_init)
3453 (print *v_int_array_init@1, print *v_int_array_init@2)
3454 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
3455 (print v_int_array_init[1]@1): New tests.
3456
0344e878
JM
34572011-10-10 Joseph Myers <joseph@codesourcery.com>
3458
3459 * gdb.cp/gdb2495.exp: Do not include directories in filename in
3460 expected message.
3461
5a56e9c5
DE
34622011-10-09 Doug Evans <dje@google.com>
3463
3464 * gdb.base/alias.exp: Add tests for alias command.
3465
2bda9cc5
JK
34662011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3467
3468 * gdb.arch/amd64-entry-value.s: New file.
3469 * gdb.mi/mi2-amd64-entry-value.s: New file.
3470
a471c594
JK
34712011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3472
3473 Display @entry parameter values even for references.
3474 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
3475 functions.
3476 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
3477 reference and datap_input.
3478 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
3479 breakpoints.
3480 (continue to breakpoint: entry_reference: reference)
3481 (entry_reference: bt at entry)
3482 (continue to breakpoint: entry_reference: breakhere_reference)
3483 (entry_reference: bt, entry_reference: ptype regparam)
3484 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
3485 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
3486 (entry_reference: p regcopy, entry_reference: p nodataparam)
3487 (entry_reference: p nodataparam@entry): New tests.
3488
36b11add
JK
34892011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3490
3491 Support @entry in input expressions.
3492 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
3493 (entry_stack: p s1@entry, entry_stack: p s2@entry)
3494 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
3495 (tailcall: p j@entry): New tests.
3496 * gdb.cp/koenig.cc (A::entry): New function.
3497 (main): Call it.
3498 * gdb.cp/koenig.exp (p entry (c)): New test.
3499
e18b2753
JK
35002011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3501
3502 Display @entry parameter values (without references).
3503 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
3504 (different, validity, invalid): New functions.
3505 (main): Call them.
3506 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
3507 stacktest, breakhere_stacktest, different, breakhere_different,
3508 breakhere_validity and breakhere_invalid.
3509 (entry: bt): Update for @entry.
3510 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
3511 (entry_validity: *, entry_invalid: *): Many new tests.
3512 * gdb.base/break.exp
3513 (run until breakpoint set at small function, optimized file): Accept
3514 also the @entry suffix.
3515 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
3516 * gdb.mi/mi2-amd64-entry-value.c: New files.
3517 * gdb.mi/mi2-amd64-entry-value.exp: New files.
3518
2d6c5dc2
JK
35192011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3520
3521 Protect entry values against self tail calls.
3522 * gdb.arch/amd64-entry-value.cc (self2, self): New.
3523 (main): Call self.
3524 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
3525 (set debug entry-values 1, self: bt debug entry-values): New tests.
3526
111c6489
JK
35272011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3528
3529 Recognize virtual tail call frames.
3530 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
3531 (amb_b, amb_a): New.
3532 (main): Call a and b.
3533 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
3534 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
3535 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
3536 New tests.
3537
8e3b41a9
JK
35382011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3539
3540 Implement basic support for DW_TAG_GNU_call_site.
3541 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
3542 * gdb.arch/amd64-entry-value.cc: New file.
3543 * gdb.arch/amd64-entry-value.exp: New file.
3544
181cebd4
JK
35452011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3546
3547 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
3548 * gdb.dwarf2/implptr-64bit.S: New file.
3549 * gdb.dwarf2/implptr-64bit.exp: New file.
3550
741f5e3c
JK
35512011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3552
3553 Fix initial language detection with -readnow.
3554 * gdb.cp/readnow-language.cc: New file.
3555 * gdb.cp/readnow-language.exp: New file.
3556
a73d2258
JK
35572011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3558
3559 Fix printed anonymous struct name.
3560 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
3561
af369495
JM
35622011-10-09 Joseph Myers <joseph@codesourcery.com>
3563
3564 * gdb.base/solib-symbol.exp: Do not include directories in
3565 filenames in expected messages.
3566
1fa57852
DE
35672011-10-07 Doug Evans <dje@google.com>
3568
3569 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
3570
bd054e06
KP
35712011-10-07 Kevin Pouget <kevin.pouget@st.com>
3572
3573 Allow Python notification of new object-file loadings.
3574 * gdb.python/py-events.exp: Test newobjfile event.
3575 * gdb.python/py-events.py: Register newobjfile callback.
3576 * gdb.python/py-events.c: Add call to shared library
3577 * gdb.python/py-events-shlib.c: New file.
3578
8031b6f8
JM
35792011-10-06 Joseph Myers <joseph@codesourcery.com>
3580
3581 * gdb.base/fixsection.exp: Do not include directories in filename
3582 in expected message.
3583
7fea6923
PM
35842011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
3585
3586 Add tests for passing of environment variables to inferior.
3587 * gdb.base/testenv.c: New test source.
3588 * gdb.base/testenv.exp: New expect test.
3589
687f2a88
PK
35902011-10-04 Paul Koning <paul_koning@dell.com>
3591
3592 * gdb.python/py-value.c (main): Break before return.
3593
cb6be26b
KP
35942011-10-04 Kevin Pouget <kevin.pouget@st.com>
3595
3596 PR python/12691: Add the inferior to Python exited event
3597 * gdb.python/py-events.exp: Test the inferior attribute of exited
3598 event with a fork.
3599 * gdb.python/py-events.py: Print inferior number on exit.
3600 * gdb.python/py-events.c: Fork the inferior.
3601
fb213700
EBM
36022011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
3603
3604 * gdb.base/jit.exp: Add testcase name to log message
3605
aa2071bd
PK
36062011-10-03 Paul Koning <paul_koning@dell.com>
3607 Jan Kratochvil <jan.kratochvil@redhat.com>
3608
3609 * gdb.python/py-value.exp
3610 (python inval = gdb.parse_and_eval('*(int*)0'))
3611 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
3612 (set argc=2, python print argc_lazy): New tests.
3613
dd11a36c
JB
36142011-10-02 Joel Brobecker <brobecker@adacore.com>
3615
3616 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
3617
46f886f1
JK
36182011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3619 Pedro Alves <pedro@codesourcery.com>
3620
3621 * gdb.python/py-value.exp (test_value_in_inferior): New variable
3622 can_read_0, test for it.
3623 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
3624 (parse_and_eval with memory error): ... here, make it untested if
3625 can_read_0.
3626
c5cb204f
MP
36272011-09-30 Marek Polacek <mpolacek@redhat.com>
3628
3629 * gdb.python/python.exp (verify pagination beforehand)
3630 (verify pagination afterwards): Fix race by splitting the line.
3631
68fb0ec0
JM
36322011-09-29 Joseph Myers <joseph@codesourcery.com>
3633
3634 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
3635 for 64-bit multilibs from i?86-* targets.
3636
6aee0d90
MP
36372011-09-29 Marek Polacek <mpolacek@redhat.com>
3638
3639 * lib/gdb.exp: Fix a typo in one of the comments.
3640
e9101ff5
MP
36412011-09-29 Marek Polacek <mpolacek@redhat.com>
3642
3643 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
3644 matching pattern.
3645
7a81bdbf
PK
36462011-09-28 Paul Koning <paul_koning@dell.com>
3647
3648 * gdb.python/py-type.c (enum E): New.
3649 * gdb.python/py-type.exp (test_fields): Add tests for Python
3650 mapping access to fields.
3651 (test_enums): New test for field access on enums.
3652
6710bf39
SS
36532011-09-27 Stan Shebs <stan@codesourcery.com>
3654
3655 * gdb.trace/collection.exp: Test collection of $_ret.
3656
b2a6bdeb
AT
36572011-09-22 Andreas Tobler <andreast@fgznet.ch>
3658
3659 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
3660 list of compilation switches for <*-*-freebsd*>.
3661
3c9057f3
SS
36622011-09-19 Stan Shebs <stan@codesourcery.com>
3663
3664 * gdb.trace/tspeed.exp: New file.
3665 * gdb.trace/tspeed.c: New file.
3666
34518530
YQ
36672011-09-18 Yao Qi <yao@codesourcery.com>
3668
3669 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
3670 instructions.
3671 (test_adr_32bit, test_pop_pc): Likewise.
3672 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
3673 Thumb instructions.
3674 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
3675 in gdb_test_multiple.
3676 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
3677
ab254057
YQ
36782011-09-17 Yao Qi <yao@codesourcery.com>
3679
3680 * lib/gdb.exp (can_single_step_to_signal_handler): New.
3681 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
3682 support single step to signal handler.
3683
9c317b71
YQ
36842011-09-17 Yao Qi <yao@codesourcery.com>
3685
3686 * gdb.base/disp-step-fork.c: New.
3687 * gdb.base/disp-step-syscall.exp: New.
3688 * gdb.base/disp-step-vfork.c: New.
3689
a8123151
JB
36902011-09-16 Joel Brobecker <brobecker@adacore.com>
3691
3692 * gdb.ada/tasks.exp: Make the expected output for
3693 the `info tasks' tests more resilient to spacing
3694 changes.
3695
63a9aad8
JK
36962011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3697
3698 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
3699 (reached breakpoint 2, reached breakpoint 3): Update expected output.
3700
2aa48337
KP
37012011-09-15 Kevin Pouget <kevin.pouget@st.com>
3702
3703 PR Python/12692 Add gdb.selected_inferior() to Python interface.
3704 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
3705
6839b47f
KP
37062011-04-30 Kevin Pouget <kevin.pouget@st.com>
3707
3708 Handle multiple breakpoint hits in Python interface:
3709 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
3710 presence.
3711 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
3712 breakpoint hits.
3713
0935723e
JK
37142011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
3715 Jan Kratochvil <jan.kratochvil@redhat.com>
3716
3717 * gdb.python/py-events.exp: Remove pretty printing comment.
3718 * gdb.python/py-evsignal.exp: New file.
3719 * gdb.python/py-evthreads.c: Include signal.h.
3720 (thread3): Remove variable count3. Remove variable bad and use raise
3721 instead.
3722 (thread2): Remove variable count2. Move thread3 pthread_create here,
3723 merge pthread_join to a single line.
3724 (main): Remove variable count1. Merge pthread_join with pthread_create
3725 to a single line.
3726 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
3727 KFAIL python/12966 for gdbserver. Test return value of
3728 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
3729 gdb_expect by gdb_test and gdb_test_multiple.
3730 (thread 2, thread 3): New tests.
3731
4801a9a3
PA
37322011-09-12 Matt Rice <ratmice@gmail.com>
3733 Pedro Alves <pedro@codesourcery.com>
3734
3735 PR gdb/13175
3736
3737 * gdb.base/interp.exp: New tests.
3738 * gdb.base/interp.c: New file.
3739
24ece742
DE
37402011-09-12 Doug Evans <dje@google.com>
3741
3742 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
3743 * gdb.dwarf2/typeddwarf.exp: Ditto.
3744
7f062217
JK
37452011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3746
3747 Fix compatibility with x32 arch.
3748 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
3749 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
3750 is_x86_like_target.
3751 * testsuite/gdb.trace/collection.exp: Likewise.
3752 * testsuite/gdb.trace/report.exp: Likewise.
3753 * testsuite/gdb.trace/unavailable.exp: Likewise.
3754 * testsuite/gdb.trace/while-dyn.exp: Likewise.
3755 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
3756 (is_x86_like_target): Check also is_amd64_regs_target.
3757
08711b9a
JK
37582011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3759
3760 PR breakpoints/12435
3761 * gdb.arch/amd64-prologue-xmm.c: New file.
3762 * gdb.arch/amd64-prologue-xmm.exp: New file.
3763 * gdb.arch/amd64-prologue-xmm.s: New file.
3764
b99b5f66
JK
37652011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3766
3767 * gdb.dwarf2/dw2-param-error-main.c: New file.
3768 * gdb.dwarf2/dw2-param-error.S: New file.
3769 * gdb.dwarf2/dw2-param-error.exp: New file.
3770
a391a2f6
PA
37712011-09-08 Pedro Alves <pedro@codesourcery.com>
3772
3773 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
3774 inferior's pid and look for a core dump named core.$pid. Use
3775 `remote_file' commands on the host instead of hand coding shell
3776 commands on the build.
3777 * gdb.base/valgrind-db-attach.exp: Kill the program before
3778 finishing the test.
3779
7d8e6458 37802011-09-02 Matt Rice <ratmice@gmail.com>
3781
3782 * lib/prompt.exp: New file for testing the first prompt.
3783 * gdb.python/py-prompt.exp: Ditto.
3784 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
3785
68e77c9e
PA
37862011-09-02 Pedro Alves <pedro@codesourcery.com>
3787
3788 * gdb.threads/gcore-thread.exp: Set the global core_supported to
3789 0, before testing gcore.
3790
9655e943
JK
37912011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3792
df6dc84d
JK
3793 * dw2-ifort-parameter-debug.S: Update copyright year.
3794 * dw2-ifort-parameter.c: Update copyright year.
3795 * dw2-ifort-parameter.exp: Update copyright year.
3796
9655e943
JK
3797 * dw2-ifort-parameter-debug.S: New file.
3798 * dw2-ifort-parameter.c: New file.
3799 * dw2-ifort-parameter.exp: New file.
3800
353d1d73
JK
38012011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3802
3803 * gdb.base/commands.exp (error_clears_commands_left): New function.
3804 (): Call it.
3805
5c07461a
JK
38062011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3807
3808 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
3809 (C): Initialize `a'.
3810 * gdb.mi/mi-inheritance-syntax-error.exp
3811 (-data-evaluate-expression $path): Expect `a' as 5.
3812
0d932b2f
MK
38132011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
3814
3815 PR mi/11912
3816 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
3817 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
3818 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
3819 keyword in output of -var-info-path-expression.
3820
bdb54049
JK
38212011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3822
3823 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
3824 * gdb.trace/collection.exp: Likewise.
3825 * gdb.trace/report.exp: Likewise.
3826 * gdb.trace/unavailable.exp: Likewise.
3827 * gdb.trace/while-dyn.exp: Likewise.
3828
59cde39c
KS
38292011-08-18 Keith Seitz <keiths@redhat.com>
3830
3831 PR c++/12266
3832 * gdb.cp/meth-typedefs.cc: New file.
3833 * gdb.cp/meth-typedefs.exp: New file.
3834
fa3a4f15
PM
38352011-08-17 Phil Muldoon <pmuldoon@redhat.com>
3836
3837 * gdb.python/python.exp: Add extended-prompt tests.
3838
c1049fca
JK
38392011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3840
3841 * gdb.arch/i386-dr3-watch.exp
3842 (watchpoint on gap1 does not fit debug registers)
3843 (delete all watchpoints): Fix racy expect strings.
3844
d93f7b5c
YQ
38452011-08-14 Yao Qi <yao@codesourcery.com>
3846
3847 * gdb.base/maint.exp: set data_section to ".neardata".
3848 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
3849 * gdb.base/savedregs.exp: Handle SIGILL.
3850 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
3851 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
3852
457e09f0
DE
38532011-08-12 Doug Evans <dje@google.com>
3854
3855 * gdb.python/py-symbol.exp: Add test for symbol.type.
3856
5d0bb2fb
UW
38572011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
3858
3859 * gdb.threads/pthreads.exp: Enable on non-native configurations.
3860 * gdb.mi/mi-pthreads.exp: Likewise.
3861 * gdb.mi/mi2-pthreads.exp: Likewise.
3862 * gdb.mi/gdb669.exp.exp: Likewise.
3863
fcdfa280
PA
38642011-08-09 Pedro Alves <pedro@codesourcery.com>
3865
3866 * lib/mi-support.exp (detect_async): Rename to...
3867 (mi_detect_async): ... this.
3868 * gdb.mi/mi-nonstop-exit.exp: Adjust.
3869 * gdb.mi/mi-nonstop.exp: Adjust.
3870 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
3871 * gdb.mi/mi-nsintrall.exp: Adjust.
3872 * gdb.mi/mi-nsmoribund.exp: Adjust.
3873 * gdb.mi/mi-nsthrexec.exp: Adjust.
3874
9d8fa392
PA
38752011-08-09 Pedro Alves <pedro@codesourcery.com>
3876
3877 * gdb.base/display.c (do_loops): New `p_i' local.
3878 * gdb.base/display.exp: Test displaying a variable that is
3879 temporarily at a bad address.
3880
b6cede78
JK
38812011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3882
3883 * gdb.dwarf2/dw2-op-stack-value.S: New file.
3884 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
3885
67bedb8c
JK
38862011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3887
3888 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
3c542bc3
JK
3889 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
3890 (p fuNC_symtab): Permit also ppc64 leading dot.
67bedb8c 3891
af6e93b2
PA
38922011-08-05 Pedro Alves <pedro@codesourcery.com>
3893
3894 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
3895 procedure.
3896 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
3897
1cf0e11f
YQ
38982011-08-05 Yao Qi <yao@codesourcery.com>
3899
3900 * gdb.base/callfuncs.exp: Set language after main.
3901 * gdb.cp/cplusfuncs.exp: Likewise.
3902 * gdb.cp/inherit.exp: Likewise.
3903
a1e28cb2
UW
39042011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
3905
3906 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
3907 * gdb.base/watch-vfork.exp: Skip on remote targets.
3908
d4f5bbb9
UW
39092011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
3910
3911 * gdb.threads/thread-find.exp: Support remote targets.
3912
724f4f80
UW
39132011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
3914
3915 * gdb.base/jit.exp: Download solib_binfile to target.
3916 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
3917 and call dlopen without full path name.
3918 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
3919 dlopen without full path name.
3920
934709f0
PW
39212011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3922
3923 * gdb.base/break-always.exp: Complete the test
3924 with duplicated breakpoints and enabling/disabling them.
3925
c26106c4
TT
39262011-08-02 Tom Tromey <tromey@redhat.com>
3927
3928 PR gdb/11289:
3929 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
3930
9300444e 39312011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
fbe12357
PP
3932
3933 PR gdb/13045
3934 * gdb.base/float.exp: Add new test case for PR gdb/13045
3935 * gdb.base/float.c: New file.
3936
00bd41d6
PM
39372011-07-28 Phil Muldoon <pmuldoon@redhat.com>
3938
3939 * gdb.python/py-mi.exp: Test printers returning string hint, and
3940 also not returning a value.
3941 * gdb.python/py-prettyprint.c: Add testcase for above.
3942 * gdb.python/py-prettyprint.py: Add test printer for above.
3943
d24f74ce
JK
39442011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3945
3946 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
3947 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
3948 (.Ldie30) Add as field "data4".
3949 (.Ldie32) Rename field "b" to "shl".
3950 (abbrev4) Change for the "data4" field.
3951 (abbrev5, abbrev6) Remove.
3952 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
3953 (p &s.shl): ... here. Add comment.
3954 (p &s.data4): New.
3955
bb7da2bf
JK
39562011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3957
3958 Fix crash on lval_computed values.
3959 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
3960
11081198
JK
39612011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3962
3963 * gdb.base/help.exp (help whatis): Update the expected string.
3964
3c6e0cb3
JK
39652011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3966
3967 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
3968 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
3969 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
3970 Change the expected string.
3971
efa80663
PA
39722011-07-26 Pedro Alves <pedro@codesourcery.com>
3973
3974 * gdb.base/watchpoint.exp
3975 (test_disable_enable_software_watchpoint): New procedure.
3976 (top level): Run it.
3977
db8e4570
UW
39782011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
3979
3980 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
3981 executable file "${binfile}", C++ version "${binfile}-cxx".
3982 * gdb.python/py-prettyprint.exp: Likewise.
3983 * gdb.python/py-symbol.exp: Likewise.
3984 * gdb.python/py-type.exp: Likewise.
3985 * gdb.python/py-value.exp: Likewise.
3986 * gdb.python/py-template.exp (test_template_arg): Pass full executable
3987 file name instead of just suffix.
3988
543305c9
JK
39892011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3990
3991 Fix implicit pointer offsets.
3992 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
3993 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
3994 (continue to breakpoint: continue to baz breakpoint for implptr)
3995 (sanity check element 0, sanity check element 1)
3996 (enter the inlined function, check element 0 for the offset)
3997 (check element 1 for the offset)
3998 (continue to breakpoint: ignore the second baz breakpoint): New tests.
3999 (set foo breakpoint for implptr): Update the breakpoint number.
4000
b3215adc
UW
40012011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
4002
4003 * gdb.python/py-mi.exp: Use different file names for different
4004 versions of the executable under test.
4005 * gdb.python/py-prettyprint.exp: Likewise.
4006 * gdb.python/py-symbol.exp: Likewise.
4007 * gdb.python/py-template.exp: Likewise.
4008 * gdb.python/py-type.exp: Likewise.
4009 * gdb.python/py-value.exp: Likewise.
4010
182b9acc
UW
40112011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
4012
4013 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
4014 flag after restarting GDB if necessary.
4015
e6052b5d
UW
40162011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
4017
4018 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
4019
1ced966e
PA
40202011-07-22 Pedro Alves <pedro@codesourcery.com>
4021
4022 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
4023 backend doesn't leave used debug registers behind.
4024
3543a589
TT
40252011-07-22 Tom Tromey <tromey@redhat.com>
4026
4027 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
4028 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
4029 argument.
4030 * gdb.dwarf2/typeddwarf-amd64.S: New file.
4031
14d15303 40322011-07-21 Matt Rice <ratmice@gmail.com>
4033
4034 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
4035 in mostlyclean rule. Add files ending in .core.
4036
9b158ba0 40372011-07-21 Matt Rice <ratmice@gmail.com>
4038
4039 PR macros/12999
4040 * gdb.base/info-macros.c: New test sources.
4041 * gdb.base/info-macros.exp: New tests.
4042
d17b6f81
PM
40432011-07-21 Phil Muldoon <pmuldoon@redhat.com>
4044
4045 * gdb.python/python.exp: Add prompt substitution tests.
4046
918dd910
JK
40472011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4048
4049 Fix crash if referenced CU is aged out.
4050 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
4051 New.
4052 * gdb.dwarf2/implptr.exp: Likewise.
4053
0e37a63c
JK
40542011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4055
4056 * gdb.dwarf2/implptr.S: Rebuilt.
4057 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
4058 (bar): Use them for j, k, l.
4059 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
4060 COMPILE.
4061 (print j in implptr:bar): Update for the intp typedef.
4062 (print p[0].x in implptr:foo): Use more exact regex.
4063
f65cf84c
TT
40642011-07-18 Tom Tromey <tromey@redhat.com>
4065
4066 * gdb.cp/static-method.exp: Add missing single quote.
4067
d5b4a7be
YQ
40682011-07-18 Yao Qi <yao@codesourcery.com>
4069
4070 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
4071 supported.
4072 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4073 * gdb.mi/mi-nonstop.exp: Likewise.
4074 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4075 * gdb.mi/mi-nsintrall.exp: Likewise.
4076 * gdb.mi/mi-nsmoribund.exp: Likewise.
4077 * gdb.mi/mi-nsthrexec.exp: Likewise.
4078 * gdb.python/py-evthreads.exp: Likewise.
4079
e9ea2662
JK
40802011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4081
4082 Code cleanup.
4083 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
4084 it. Substitute it instead of test_compiler_info everywhere.
4085
ce451573
UW
40862011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
4087
4088 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
4089 remote targets as well.
4090
756d88a7
UW
40912011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
4092
4093 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
4094 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
4095
31f83dc5
UW
40962011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
4097
4098 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
4099 a remote machine, not the host.
4100 (gdb_compile_shlib): Set soname if target is remote.
4101
059241a0
PP
41022011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4103
4104 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
4105
28a0b48c 41062011-07-13 Matt Rice <ratmice@gmail.com>
4107
4108 * gdb.python/py-objfile-script-gdb.py: Renamed to
4109 py-objfile-script-gdb.py.in.
4110 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
4111 py-objfile-script-gdb.py.
4112 * gdb.python/py-objfile-script.exp: Update reference to
4113 py-objfile-script-gdb.py.
4114
9a771b67
JK
41152011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4116
4117 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
4118 reference undefined label.
4119
04ad99e6
JK
41202011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4121
4122 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
4123 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
4124 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
4125 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
4126
713389e0
PM
41272011-07-11 Phil Muldoon <pmuldoon@redhat.com>
4128
4129 PR python/12438
4130 * gdb.python/python.exp: Add maint set/show python print-stack
4131 deprecated tests. Add set/show python print-backtrace tests.
4132
97d146f8
JK
41332011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4134
4135 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
4136 debug info.
4137
facde0e5 41382011-07-06 Matt Rice <ratmice@gmail.com>
4139
4140 * gdb.python/python.exp: Update filename paths.
4141 * gdb.python/py-symtab.exp: Ditto.
4142
438640d1
MP
41432011-07-06 Marek Polacek <mpolacek@redhat.com>
4144
4145 * gdb.python/py-evthreads.exp: Add missing `$'.
4146
33a365df
MF
41472011-07-06 Jie Zhang <jie.zhang@analog.com>
4148
4149 * config/bfin.exp: New file.
4150 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
4151 * gdb.asm/bfin.inc: New file.
4152
8f7ae686
MP
41532011-07-06 Marek Polacek <mpolacek@redhat.com>
4154
df46027d 4155 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
8f7ae686
MP
4156 the whole output.
4157
eb2a6f42
TT
41582011-07-05 Tom Tromey <tromey@redhat.com>
4159
4160 * gdb.java/jprint.java (jprint.hi): New field.
4161 * gdb.java/jprint.exp: Print string.
4162
177b42fe
TJB
41632011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
4164
4165 * gdb.base/call-sc.c: Fix typos.
4166 * gdb.base/ifelse.exp: Likewise.
4167 * gdb.base/structs.c: Likewise.
4168
3b2a0cf2
JB
41692011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4170
4171 * gdb.base/jit-so.exp: New test.
4172 * gdb.base/jit-dlmain.c: New file.
4173 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
4174
46fc714c
JK
41752011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4176
4177 * gdb.cp/m-static.exp: Call get_compiler_info.
e17476d7
JK
4178 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
4179 * gdb.cp/pr9167.exp (p b): Likewise.
4180 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
4181 (test value of P in inner_m, test type of Z in inner_m): Call
4182 setup_xfail for gcc <= 4.5.
46fc714c 4183
418c7cf7
JK
41842011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4185
4186 * gdb.cp/paren-type.cc: New files.
4187 * gdb.cp/paren-type.exp: New files.
4188
3d50dd94
JK
41892011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4190
4191 Stop on first linespec terminator instead of eating what we can.
4192 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
4193 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
4194 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
4195 (break C::f()): ... this one.
4196 (break C::operator()()): New test.
4197 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
4198 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
4199 test.
4200
dcf9f4ab
JK
42012011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4202
4203 Fall back linespec to minimal symbols.
4204 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
4205 error message.
4206 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
4207 * gdb.cp/minsym-fallback-main.cc: New file.
4208 * gdb.cp/minsym-fallback.cc: New file.
4209 * gdb.cp/minsym-fallback.exp: New file.
4210 * gdb.cp/minsym-fallback.h: New file.
4211
3f542ed1
JK
42122011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4213
4214 * gdb.cp/no-dmgl-verbose.cc: New file.
4215 * gdb.cp/no-dmgl-verbose.exp: New file.
4216
42172011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
900e11f9
JK
4218
4219 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
4220 __GI_.
4221 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
4222 (f): New function.
4223 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
4224 (complete p 'func<short>(): ... here.
4225 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
4226 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
4227 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
4228 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
4229 Make them KFAIL gcc/49546.
4230
00eb2c4a
JB
42312011-07-01 Joel Brobecker <brobecker@adacore.com>
4232
4233 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
4234
85a20c42
JK
42352011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4236
4237 Test GCC PR debug/49546.
4238 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
4239 (test type of F in k3_m, test value of F in k3_m): New.
4240 * gdb.cp/temargs.cc (struct S3, struct K3): New.
4241 (main): New variable k3. Call k3.k3_m.
4242
d2d43431
JB
42432011-07-01 Jean-Charles Delay <delay@adacore.com>
4244
4245 * gdb.ada/packed_array.exp: Fix expected outout.
4246
54ae186f
JB
42472011-07-01 Jean-Charles Delay <delay@adacore.com>
4248
4249 * gdb.ada/packed_array.exp: fixed expected output.
4250
8f17729f
JB
42512011-07-01 Joel Brobecker <brobecker@adacore.com>
4252
4253 * gdb.ada/same_enum: New testcase.
4254
f5aa6869
JB
42552011-07-01 Joel Brobecker <brobecker@adacore.com>
4256
4257 * gdb.ada/ptr_typedef: New testcase.
4258
828292f2
JB
42592011-07-01 Joel Brobecker <brobecker@adacore.com>
4260
4261 * gdb.ada/arrayptr.exp: Add ptype test.
4262
18920c42
JB
42632011-07-01 Joel Brobecker <brobecker@adacore.com>
4264
4265 * gdb.ada/char_enum: New testcase.
4266
3536d9e3 42672011-07-01 Yao Qi <yao@codesourcery.com>
54aeeb99
YQ
4268
4269 * gdb.base/dump.exp (capture_pointer_with_type): New.
4270 Get value from address instead of name.
4271 Start GDB once, and do `dump' and `restore'
4272 tests together.
4273
db863c42
MF
42742011-06-30 Jie Zhang <jie.zhang@analog.com>
4275 Mike Frysinger <vapier@gentoo.org>
4276
4277 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
4278 helper functions for getting/setting remotetimeout variable.
4279 * lib/gdb.exp (gdb_load): If the target is remote, set
4280 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
4281 with $loadtimeout. Set $load_ok to 0 before doing the load.
4282 Instead of returning, immediately, set $load_ok to 0. Call
4283 set_remotetimeout with $oldremotetimeout, and then return if
4284 $load_ok is 1.
4285
e9e642a8
AB
42862011-06-30 Andrew Burgess <aburgess@broadcom.com>
4287
4288 * gdb.python/py-template.exp: Don't run this test if the target
4289 does not support c++ tests.
4290
32019081
JK
42912011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4292
4293 Fix non-only rename list for Fortran modules import.
4294 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
4295 tests.
4296 * gdb.fortran/module.f90 (module moduse): New.
4297 (program module): use moduse, test var_x, var_y and var_z.
4298
0ecee54c
TT
42992011-06-29 Tom Tromey <tromey@redhat.com>
4300
4301 PR testsuite/12040:
4302 * gdb.fortran/array-element.exp: Use f90, not f77.
4303 * gdb.fortran/complex.exp: Use f90, not f77.
4304 * gdb.fortran/derived-type.exp: Use f90, not f77.
4305 * gdb.fortran/library-module.exp: Use f90, not f77.
4306 * gdb.fortran/logical.exp: Use f90, not f77.
4307 * gdb.fortran/module.exp: Use f90, not f77.
4308 * gdb.fortran/multi-dim.exp: Use f90, not f77.
4309 * gdb.fortran/subarray.exp: Use f90, not f77.
4310
3b2b8fea
TT
43112011-06-29 Tom Tromey <tromey@redhat.com>
4312
4313 * gdb.fortran/charset.exp: New file.
4314 * gdb.fortran/charset.f90: New file.
4315
42159ca5
TT
43162011-06-29 Tom Tromey <tromey@redhat.com>
4317
4318 PR testsuite/12040:
4319 * lib/future.exp: New file, mostly extracted from ada.exp.
4320 Rewrote compatibility code to use rename.
4321 (gdb_find_gfortran): New proc.
4322 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
4323 gfortran patch.
4324 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
4325 Move to future.exp.
4326 * lib/gdb.exp: Always load future.exp.
4327
af69a5ce
YQ
43282011-06-28 Yao Qi <yao@codesourcery.com>
4329
4330 * gdb.cp/exception.cc: Don't include iostream.
4331 (bar): Remove print statement.
4332 (catcher): New.
4333 (main): Remove print statements. Call function catcher.
4334 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
4335 Set breakpoint on catcher, and check the value of parameter.
4336
ab5c6a72
YQ
43372011-06-23 Yao Qi <yao@codesourcery.com>
4338
4339 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
4340 1.2 is disabled. KFAIL for uclinux.
4341
9497469f
MP
43422011-06-23 Marek Polacek <mpolacek@redhat.com>
4343
4344 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
4345 mi_gdb_test.
4346
b9132588
MP
43472011-06-23 Marek Polacek <mpolacek@redhat.com>
4348
5d197ed0 4349 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
b9132588 4350
e55595ca
MP
43512011-06-23 Marek Polacek <mpolacek@redhat.com>
4352
5d197ed0
MP
4353 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
4354
43552011-06-23 Marek Polacek <mpolacek@redhat.com>
4356
4357 * gdb.mi/mi2-basics.exp: Fix races. Honour the
4358 `test_exec_and_symbol_mi_operatons' return value.
4359 (test_mi_interpreter_selection): Use mi_gdb_test instead of
4360 gdb_test_multiple.
4361 (test_exec_and_symbol_mi_operatons): Likewise.
4362 (test_path_specification): Likewise.
e55595ca 4363
be777e08
YQ
43642011-06-23 Yao Qi <yao@codesourcery.com>
4365
4366 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
4367 supported.
4368 * lib/gdb.exp (support_displaced_stepping): New.
4369
615556d6
YQ
43702011-06-23 Yao Qi <yao@codesourcery.com>
4371
4372 * gdb.threads/execl.exp: Skip on remote target.
4373
833b0ca7
MP
43742011-06-21 Marek Polacek <mpolacek@redhat.com>
4375
5d197ed0 4376 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
833b0ca7
MP
4377 mi_gdb_test.
4378
1ee4023a
MP
43792011-06-20 Marek Polacek <mpolacek@redhat.com>
4380
5d197ed0 4381 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1ee4023a 4382
d0b1d624
MP
43832011-06-20 Marek Polacek <mpolacek@redhat.com>
4384
5d197ed0 4385 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
d0b1d624
MP
4386 mi_gdb_test.
4387
79aa92c1
MP
43882011-06-20 Marek Polacek <mpolacek@redhat.com>
4389
5d197ed0 4390 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
79aa92c1 4391
5ce5db06
YQ
43922011-06-14 Yao Qi <yao@codesourcery.com>
4393
4394 gdb/testsuite/
4395 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
4396
533a737e
JK
43972011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4398
4399 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
4400
d0e53741
TT
44012011-06-10 Tom Tromey <tromey@redhat.com>
4402
4403 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
4404 Add tests for pointer-to-member-function.
4405 * gdb.cp/temargs.cc (S::somefunc): New function.
4406 (K2): New class.
4407 (main): Instantiate K2; call method.
4408
b5916bbd
JB
44092011-06-08 Joel Brobecker <brobecker@adacore.com>
4410
4411 * gdb.python/py-inferior.c (f2): Make str an array rather
4412 than a pointer.
4413 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
4414
5be4dfca
JK
44152011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4416
4417 * gdb.base/async-shell.c: New file.
4418 * gdb.base/async-shell.exp: New file.
4419
9f47e254
PA
44202011-06-06 Pedro Alves <pedro@codesourcery.com>
4421
4422 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
4423
64b9b334
JB
44242011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
4425
4426 From Stephen Kitt <steve@sk2.org>
4427 * gdb.base/help.exp: Adjust following some spelling corrections
4428 in GDB.
4429
dbc0f131
YQ
44302011-06-01 Yao Qi <yao@codesourcery.com>
4431
4432 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
4433
fd336a18
KS
44342010-05-31 Keith Seitz <keiths@redhat.com>
4435
4436 PR c++/12750
4437 * gdb.cp/static-method.cc: New file.
4438 * gdb.cp/static-method.exp: New file.
4439
fa8b9902
KS
44402010-05-31 Keith Seitz <keiths@redhat.com>
4441
4442 PR symtab/12704
4443 * gdb.cp/anon-ns.cc: New file.
4444 * gdb.cp/anon-ns.exp: New file.
4445
0a5b1e09
PA
44462011-05-31 Pedro Alves <pedro@codesourcery.com>
4447
4448 * gdb.arch/i386-dr3-watch.c: New file.
4449 * gdb.arch/i386-dr3-watch.exp: New file.
4450
0578b8d1
YQ
44512011-05-30 Yao Qi <yao@codesourcery.com>
4452
4453 * gdb.base/callfuncs.c (t_structs_fc): New.
4454 (t_structs_dc, t_structs_ldc): New.
4455 (t_double_many_args):
4456 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
4457 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
4458 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
4459 * gdb.base/callfuncs.exp: Call new functions.
4460
6680506e
YQ
44612011-05-30 Yao Qi <yao@codesourcery.com>
4462
ff4d2c60
YQ
4463 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
4464 Call rerun_and_prepare for each test to isolate effects.
4465
44662011-05-30 Yao Qi <yao@codesourcery.com>
4467
4468 * gdb.base/varargs.c (find_max_float_real): New.
4469 (find_max_double_real, find_max_long_double_real): New.
4470 * gdb.base/varargs.exp: Call these new added functions.
6680506e
YQ
4471 * lib/gdb.exp (setup_kfail_for_target): New.
4472
e43ec454
YQ
44732011-05-30 Yao Qi <yao@codesourcery.com>
4474
4475 * gdb.base/funcargs.c (callca, callcb, callcc): New.
4476 (callcd, callce, callcf, callc1a, callc1b): New.
4477 (callc2a, callc2b): New.
4478 * gdb.base/funcargs.exp (complex_args): New.
4479 (complex_integral_args, complex_float_integral_args): New.
4480 * lib/gdb.exp (support_complex_tests): New. Determine
4481 whether to run test cases on _Complex types.
4482
432b4d03
JK
44832011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4484
4485 * gdb.threads/leader-exit.c: New file.
4486 * gdb.threads/leader-exit.exp: New file.
4487
6caf069d
MP
44882011-05-27 Marek Polacek <mpolacek@redhat.com>
4489
9497469f 4490 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6caf069d 4491
97fce28b
MP
44922011-05-27 Marek Polacek <mpolacek@redhat.com>
4493
4494 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
4495 remove the `supported' variable.
4496 * gdb.mi/mi-nonstop.exp: Likewise.
4497 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4498 * gdb.mi/mi-nsintrall.exp: Likewise.
4499 * gdb.mi/mi-nsmoribund.exp: Likewise.
4500 * gdb.mi/mi-nsthrexec.exp: Likewise.
4501
9da8c2a0
PA
45022011-05-26 Pedro Alves <pedro@codesourcery.com>
4503
4504 * gdb.reverse/finish-reverse-bkpt.exp: New test.
4505
2c03e5be
PA
45062011-05-26 Pedro Alves <pedro@codesourcery.com>
4507
4508 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
4509
2e21250d
KS
45102011-05-24 Keith Seitz <keiths@redhat.com>
4511
4512 PR breakpoint/12803
4513 * gdb.cp/cmpd-minsyms.cc (a): New method.
4514 (b): New method.
4515 (c): New method.
4516 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
4517
cdac0397
PA
45182011-05-24 Pedro Alves <pedro@codesourcery.com>
4519
4520 * gdb.base/commands.exp (watchpoint_command_test): Check that the
4521 watchpoint's command list didn't execute when the watchpoint went
4522 out of scope.
4523
ee5683ab
PM
45242011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
4525
4526 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
4527 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
4528 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
4529 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4530 * gdb.arch/i386-permbkpt.exp: Likewise.
4531 * gdb.arch/i386-prologue.exp: Likewise.
4532 * gdb.arch/i386-size-overlap.exp: Likewise.
4533 * gdb.arch/i386-size.exp: Likewise.
4534 * gdb.arch/i386-unwind.exp: Likewise.
4535 * gdb.reverse/i386-precsave.exp: Likewise.
4536 * gdb.reverse/i386-reverse.exp: Likewise.
4537 * gdb.reverse/i386-sse-reverse.exp: Likewise.
4538 * gdb.reverse/i387-env-reverse.exp: Likewise.
4539 * gdb.reverse/i387-stack-reverse.exp: Likewise.
4540
c91c8c16
PA
45412011-05-24 Pedro Alves <pedro@codesourcery.com>
4542
4543 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
4544 file doesn't error, using MI.
4545
c50491a7
TT
45462011-05-23 Tom Tromey <tromey@redhat.com>
4547
4548 * gdb.base/charset.exp (string_display): Add tests to assign to
4549 arrays.
4550 * gdb.base/charset.c (short_array, int_array, long_array): New.
4551
4a07b7da
PA
45522011-05-20 Pedro Alves <pedro@codesourcery.com>
4553
4554 Cope with async mode.
4555
4a07b7da
PA
4556 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
4557 into gdb_test + mi_expect_stop.
4558
b275f2d2
PA
45592011-05-20 Pedro Alves <pedro@codesourcery.com>
4560
4561 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
4562 (callme): Remove printf call.
4563
eec52c44
PM
45642011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
4565
4566 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
4567 quote pattern to avoid problems with Cygwin/mingw expect versions.
4568 * gdb.base/default.exp (show convenience): Use double
4569 quote pattern for regular expressions.
4570
b3c8eb43
JK
45712011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4572
4573 Fix -readnow for -gdwarf-4 unused type units.
4574 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
4575 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
4576
ed731959
JK
45772011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
4578
4579 * gdb.base/kill-after-signal.c: New file.
4580 * gdb.base/kill-after-signal.exp: New file.
4581
3b48433d
PA
45822011-05-16 Pedro Alves <pedro@codesourcery.com>
4583
4584 * gdb.ada/start.exp: Call untested with the correct test filename.
4585 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
4586 test filename. Make the test's binary unique.
4587 * gdb.arch/i386-signal.exp: Call untested with the correct test
4588 filename.
4589 * gdb.arch/i386-size-overlap.exp: Ditto.
4590 * gdb.arch/Makefile.in (EXECUTABLES): Update.
4591 * gdb.base/gcore-buffer-overflow.exp: Ditto.
4592 * gdb.cp/call-c.exp: Ditto.
4593 * gdb.mi/mi-reverse.exp: Call untested with the correct test
4594 filename. Make the test's binary unique.
4595 * gdb.mi/Makefile.in (EXECUTABLES): Update.
4596 * gdb.python/py-mi.exp: Ditto.
4597 * gdb.python/Makefile.in (EXECUTABLES): Update.
4598 * gdb.reverse/i386-precsave.exp: Ditto.
4599 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
4600 test filename.
4601 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4602 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
4603 unique.
4604 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
4605 test filename.
4606 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
4607 * gdb.trace/tfile.exp: Ditto.
4608
ba4a8bdd
YQ
46092011-05-14 Yao Qi <yao@codesourcery.com>
4610
4611 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
4612 type.
4613
dbaefcf7
DE
46142011-05-13 Doug Evans <dje@google.com>
4615
4616 * gdb.python/py-objfile-script.exp: New file.
4617 * gdb.python/py-objfile-script.c: New file.
4618 * gdb.python/py-objfile-script-gdb.py: New file.
4619 * testsuite/gdb.python/py-section-script.exp: Test
4620 "info auto-load-scripts".
4621
9930639c
TT
46222011-05-13 Tom Tromey <tromey@redhat.com>
4623
4624 * gdb.dwarf2/clztest.exp: New file.
4625 * gdb.dwarf2/clztest.c: New file.
4626 * gdb.dwarf2/clztest.S: New file.
4627
05272e11
DE
46282011-05-13 Doug Evans <dje@google.com>
4629
cc63ef9b
DE
4630 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
4631 String16 tests.
05272e11 4632
6edba76f
TT
46332011-05-13 Tom Tromey <tromey@redhat.com>
4634
4635 * lib/gdb.exp (is_x86_like_target): New proc.
4636 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
4637 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
4638 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
4639 -nostdlib to compiler.
4640 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
4641 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
4642 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
4643 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
4644 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
4645
028d0ed5
TJB
46462011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
4647
4648 * gdb.python/py-function.exp: Test setting a value from a function
4649 which executes a command.
4650
8a9b8146
TT
46512011-05-12 Tom Tromey <tromey@redhat.com>
4652
4653 * gdb.dwarf2/typeddwarf.S: New file.
4654 * gdb.dwarf2/typeddwarf.c: New file.
4655 * gdb.dwarf2/typeddwarf.exp: New file.
4656
10483e8e
MP
46572011-05-12 Marek Polacek <mpolacek@redhat.com>
4658
4659 * gdb.mi/mi-basics.exp: Fix races. Honour the
4660 `test_exec_and_symbol_mi_operatons' return value.
4661 (test_mi_interpreter_selection): Use mi_gdb_test instead of
4662 gdb_test_multiple.
4663 (test_exec_and_symbol_mi_operatons): Likewise.
4664 (test_path_specification): Likewise.
4665
faf067f1
JK
46662011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4667
4668 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
4669 (gdb_touch_execfile): Remove catch wrappers. New variable time.
4670 Replace `file copy' and `file rename' by `file mtime'. Twice.
4671
7ff911a3
JK
46722011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4673
4674 * gdb.base/readline-ask.c: New file.
4675 * gdb.base/readline-ask.exp: New file.
4676 * gdb.base/readline-ask.inputrc: New file.
4677
a536c6d7
UW
46782011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
4679
4680 * gdb.cell/bt.exp: Delete breakpoints before running to signal
4681 to avoid race condition.
4682 * gdb.cell/coremaker.c: Use small stack size.
4683 * gdb.cell/ea-standalone.exp: Use file name without path as
4684 argument to c_to.
4685 * gdb.cell/fork.exp: Allow other output when continuing to end.
4686
d472a426
JK
46872011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4688
4689 * gdb.threads/corethreads.c: New file.
4690 * gdb.threads/corethreads.exp: New file.
4691
46922011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
774094b8
JK
4693
4694 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
4695 Try to compile the test using -Wl,-z,norelro first.
4696 (load_core): New variable libthread_db_seen, initialize it.
4697 (zeroed-threads cannot be listed): Protect it by XFAIL on
4698 !$libthread_db_seen.
4699
8be455d7
JK
47002011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4701
4702 PR 12573
4703 * gdb.dwarf2/dw2-skip-prologue.S: New file.
4704 * gdb.dwarf2/dw2-skip-prologue.c: New file.
4705 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
4706
1976171a
JK
47072011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4708
4709 * gdb.cp/psymtab-parameter.cc: New file.
4710 * gdb.cp/psymtab-parameter.exp: New file.
4711
7db6f30f
JK
47122011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4713
4714 Fix a race.
4715 * gdb.cp/static-print-quit.exp (print c): Split to ...
4716 (print c - <return>, print c - q <return>, print c - to quit):
4717 ... these. Make the testfile untested on gdb-7.1.
4718
85161e9e 47192011-5-05 Janis Johnson <janisjo@codesourcery.com>
56744f0a
JJ
4720
4721 * lib/gdb.exp (exec_target_file, exec_symbol_file,
4722 gdb_rename_execfile, gdb_touch_execfile): New.
4723 * gdb.base/reread.exp: Use new procs to handle multiple
4724 exec files.
4725
0c51be18
YQ
47262011-05-05 Yao Qi <yao@codesourcery.com>
4727
4728 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
4729 (test_adr_32bit, test_pop_pc): New.
4730 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
4731 (test_adr_32bit, test_pop_pc): New.
4732
4d393d60
JM
47332011-05-04 Joseph Myers <joseph@codesourcery.com>
4734
4735 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
4736 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
4737 targets.
4738 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
4739 handle targets.
4740
8ffd0459
JK
47412011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4742
4743 * gdb.base/completion.exp (complete help info wat): Rename to ...
4744 (complete 'help info wat'): ... here.
4745 Remove all `-re ".*' and `-re "^.*' redundant regexes.
4746 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
4747
8e28d804
PA
47482011-05-04 Pedro Alves <pedro@codesourcery.com>
4749
4750 * gdb.base/completion.exp: Use gdb_test_multiple instead of
4751 gdb_test and explicit $gdb_prompt/timeout matches.
4752
3eb2ef34
YQ
47532011-05-04 Yao Qi <yao@codesourcery.com>
4754
4755 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
4756 and __thumb2__.
4757
aaaf81a3
MP
47582011-05-03 Marek Polacek <mpolacek@redhat.com>
4759
4760 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
4761 in place of `gdb_test "delete breakpoints"'. This eliminates two
4762 testcases.
4763
c4cbc0df
PA
47642011-05-02 Pedro Alves <pedro@codesourcery.com>
4765
4766 PR testsuite/12649
4767 Fix races.
4768
4769 * gdb.base/completion.exp: Remove all sleep calls. Remove
4770 unnecessary regexs. Don't explicitly expect anything after the
4771 prompt. Eat the prompt if necessary.
4772
b4cbb4a3
EBM
47732011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
4774
4775 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
4776 accept to show the caller line again as well as the line after.
4777
d65aec65
PM
47782011-04-29 Phil Muldoon <pmuldoon@redhat.com>
4779
4780 PR mi/12531
4781
4782 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
4783 compile target.
4784 * gdb.python/py-prettyprint.exp: Add C++ object for
4785 CPLUS_FAKE_CHILD test.
4786
30852783
UW
47872011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
4788
4789 * gdb.base/signest.exp: New file.
4790 * gdb.base/signest.c: Likewise.
4791
c7b1f0d9
JK
47922011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4793
4794 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
4795 thread and breakpoint notifications.
4796
559a7a62
JK
47972011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4798
4799 * gdb.base/fortran-sym-case.c: New file.
4800 * gdb.base/fortran-sym-case.exp: New file.
4801 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
4802 * gdb.dwarf2/dw2-case-insensitive.c: New file.
4803 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
4804
8344e389
JK
48052011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4806
4807 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
4808 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
4809 false #1', `if true else false #2' and `if true else false #3'.
4810
2484c66b
UW
48112011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
4812
4813 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
4814 while delivering signal.
4815
8d3788bd
VP
48162011-04-27 Vladimir Prus <vladimir@codesourcery.com>
4817
4818 MI breakpoint notifications.
4819
4820 * testsuite/gdb.mi/mi-cli.exp: Adust.
4821 * testsuite/gdb.mi/mi2-cli.exp: Adust.
4822 * testsuite/gdb.mi/mi-watch.exp: Adust.
4823 * testsuite/gdb.mi/mi2-watch.exp: Adust.
4824 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
4825 notifications.
4826
3e03848b
JK
48272011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4828
4829 * gdb.base/gdbindex-stabs-dwarf.c: New file.
4830 * gdb.base/gdbindex-stabs.c: New file.
4831 * gdb.base/gdbindex-stabs.exp: New file.
4832
918c9108
YQ
48332011-04-25 Yao Qi <yao@codesourcery.com>
4834
4835 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
4836 with /*...*/.
4837 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
4838
90556b8c
JK
48392011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4840
4841 * gdb.python/py-value.exp (test_objfiles): Name the first test
4842 `py-value in file.filename'.
4843
03f2bd59
JK
48442011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4845
4846 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
4847 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
4848 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
4849 !gdbserver_reconnect_p..
4850 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
4851
7b08b9eb
JK
48522011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4853
4854 * gdb.cp/cpcompletion.exp (complete class methods)
4855 (complete class methods beginning with F): Move them above runto. New
4856 comment about the runto delimiter.
4857
b78974c3
PA
48582011-04-20 Pedro Alves <pedro@codesourcery.com>
4859
4860 * gdb.base/maint.exp: Test that "maint print registers" works
4861 without a running program.
4862
20429c40 48632011-04-20 Marek Polacek <mpolacek@redhat.com>
b78974c3 4864
20429c40
MP
4865 * gdb.base/setshow.exp: Fix racy tests.
4866 ($old_gdb_prompt): New variable.
4867
7a9dd1b2
TT
48682011-04-19 Tom Tromey <tromey@redhat.com>
4869
4870 * gdb.mi/mi-nsmoribund.exp:
4871 * gdb.hp/gdb.objdbg/objdbg01.exp:
4872 * gdb.base/structs.exp (test_struct_returns):
4873 * gdb.base/call-sc.exp (test_scalar_returns):
4874 * gdb.base/bigcore.exp: Remove duplicate words.
4875
02835898
JK
48762011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4877
4878 * gdb.base/break-interp-lib.c (v, vptr): New variables.
4879 * gdb.base/break-interp.exp (test_attach): New comment.
4880
254f582e
JK
48812011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4882
4883 * gdb.threads/gcore-thread.exp ($core0file): New variable.
4884 (clear __stack_user.next, clear stack_used.next)
4885 (save a zeroed-threads corefile): New test.
4886 Call core_load for $core0file.
4887 (zeroed-threads cannot be listed): New test.
4888
4fe85f5c
JK
48892011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4890
4891 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
4892 filename.
4893 ($srcfile): Preserve the original value.
4894 ($testfile): Match it the .exp filename.
4895 ($corefile): New variable. Substitute it around.
4896 Use clean_restart.
4897 ($prev_timeout): Remove.
4898 (load_core): Move core loading into this proc.
4899 Fix restore of $timeout if load_core fails.
4900
63524580
JK
49012011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4902
4903 * gdb.base/eu-strip-infcall.c: New file.
4904 * gdb.base/eu-strip-infcall.exp: New file.
4905
90359a16
JK
49062011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4907
4908 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
4909 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
4910
626e7282
JK
49112011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4912
4913 Fix Python access to inlined frames.
4914 * gdb.python/py-frame-inline.c: New file.
4915 * gdb.python/py-frame-inline.exp: New file.
4916
3363d018
EBM
49172011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
4918
4919 * gdb.base/gdb1090.exp: Change breakpoint location to read the
4920 content of 's24' correctly (avoiding "optimized out").
4921 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
4922
28781456
JK
49232011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4924
4925 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
4926
4a4106ca
TJB
49272011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
4928
4929 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
4930 expect a colon in watch -location output.
4931
d26ccb4f
JK
49322011-04-13 Marek Polacek <mpolacek@redhat.com>
4933
df46027d 4934 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
d26ccb4f
JK
4935 New testcase `expect response to define backtrace'. Also remove
4936 redundant `default' block.
4937
e1ab1f9c
JK
49382011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4939
4940 * gdb.python/py-prettyprint.c (struct hint_error): New.
4941 (main): New variable hint_error.
4942 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
4943 "print hint_error".
4944 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
4945 (register_pretty_printers): Register it.
4946
0c2e6019
TT
49472011-04-04 Tom Tromey <tromey@redhat.com>
4948
4949 * gdb.cp/maint.exp (test_help): Update.
4950 (test_namespace): Likewise.
4951
af57139d
JB
49522011-04-01 Joel Brobecker <brobecker@adacore.com>
4953
4954 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
4955 * gdb.ada/arrayptr.exp: Add new tests.
4956
956a9fb9
JB
49572011-04-01 Joel Brobecker <brobecker@adacore.com>
4958
4959 * gdb.ada/mi_catch_ex: New testcase.
4960
d0c4d642
PA
49612011-04-01 Pedro Alves <pedro@codesourcery.com>
4962
4963 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
4964 base::overload(void) method without specifying "const".
4965
18819fa6
UW
49662011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
4967
4968 * gdb.arch/thumb-singlestep.S: New file.
4969 * gdb.arch/thumb-singlestep.exp: Likewise.
4970
a4c8e806
TT
49712011-03-31 Tom Tromey <tromey@redhat.com>
4972
4973 * gdb.python/py-prettyprint.py (exception_flag): New global.
4974 (NoStringContainerPrinter._iterator.next): Check it.
4975 * gdb.python/py-prettyprint.c (main): New variable nstype2.
4976 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
4977
53832f31
TT
49782011-03-29 Tom Tromey <tromey@redhat.com>
4979
4980 * gdb.cp/anon-struct.cc: New file.
4981 * gdb.cp/anon-struct.exp: New file.
4982
e4620230
JK
49832011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4984
4985 Test STT_GNU_IFUNC support.
4986 * gdb.base/gnu-ifunc-lib.c: New file.
4987 * gdb.base/gnu-ifunc.c: New file.
4988 * gdb.base/gnu-ifunc.exp: New file.
4989
d0fb5eae
JK
49902011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4991
4992 Support a ring of related breakpoints.
4993 * gdb.base/watchpoint-delete.c: New file.
4994 * gdb.base/watchpoint-delete.exp: New file.
4995
20106cfb
JK
49962011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4997
4998 * gdb.ada/arrayparam.exp (print first after function call): Use
4999 explicit package name. Add a comment
5000 (print lasta after function call): Rename ...
5001 (print last after function call): ... it and use explicit package
5002 name.
5003 (print length after function call): Use explicit package name.
5004 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
5005 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
5006 (multiple matches for symbol i): Rename ...
5007 (multiple matches for symbol integervar): ... it.
5008 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
5009 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
5010
e7ab5e63
AB
50112011-03-25 Andrew Burgess <aburgess@broadcom.com>
5012
5013 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
5014 environment variable to make grep output more predictable. Move
5015 all the environment setup into gdb_init so it's done once per test
5016 case rather than each time we start gdb.
5017
9ef07c8c
TT
50182011-03-24 Tom Tromey <tromey@redhat.com>
5019
5020 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
5021 test.
5022
dd90784c
JK
50232011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5024
5025 * gdb.dwarf2/dw2-entry-value-main.c: New file.
5026 * gdb.dwarf2/dw2-entry-value.S: New file.
5027 * gdb.dwarf2/dw2-entry-value.exp: New file.
5028
05775840
PM
50292011-03-22 Phil Muldoon <pmuldoon@redhat.com>
5030
5031 PR python/12183
5032
5033 * gdb.python/py-function.exp: Add GdbError tests.
5034
8661b11b
PA
50352011-03-18 Pedro Alves <pedro@codesourcery.com>
5036
5037 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
5038 (reglocal_test_func, statlocal_test_func): New functions.
5039 (globals_test_func): Call new functions.
5040 * gdb.trace/unavailable.exp (gdb_collect_args_test)
5041 (gdb_collect_locals_test): New procedure.
5042 (gdb_trace_collection_test): Call new procedures.
5043
0fdb4f18
PA
50442011-03-18 Pedro Alves <pedro@codesourcery.com>
5045
5046 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
5047 (test_register, test_register_unavailable): New procedures.
5048 (gdb_unavailable_registers_test): New procedure.
5049 (gdb_trace_collection_test): Call it.
5050
99c3dc11
PM
50512011-03-18 Phil Muldoon <pmuldoon@redhat.com>
5052
5053 PR python/12149
5054
5055 * gdb.python/python.exp: Add gdb.write tests.
5056
29703da4
PM
50572010-03-17 Phil Muldoon <pmuldoon@redhat.com>
5058
5059 * gdb.python/Makefile.in: Add py-objfile.
5060 * gdb.python/py-objfile.exp: New file.
5061 * gdb.python/py-objfile.c: New file.
5062 * gdb.python/py-block.exp: Add is_valid tests.
5063 * gdb.python/py-inferior.exp: Ditto.
5064 * gdb.python/py-infthread.exp: Ditto.
5065 * gdb.python/py-symbol.exp: Ditto.
5066 * gdb.python/py-symtab.exp: Ditto.
5067
598997c8
KS
50682011-03-16 Keith Seitz <keiths@redhat.com>
5069
5070 PR c++/12273
5071 * gdb.cp/cmpd-minsyms.exp: New test.
5072 * gdb.cp/cmpd-minsyms.cc: New file.
5073
5074 PR c++/11734
5075 * gdb.cp/ovsrch.exp: New test.
5076 * gdb.cp/ovsrch.h: New file.
5077 * gdb.cp/ovsrch1.cc: New file.
5078 * gdb.cp/ovsrch2.cc: New file.
5079 * gdb.cp/ovsrch3.cc: New file.
5080 * gdb.cp/ovsrch4.cc: New file.
5081
c91513d8
PP
50822011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5083
5084 PR gdb/12528
5085 * gdb.base/Makefile.in: Adjust EXECUTABLES.
5086 * gdb.base/break-on-linker-gcd-function.exp: New test.
5087 * gdb.base/break-on-linker-gcd-function.cc: New file.
5088
7470fc63
AT
50892011-03-15 Andreas Tobler <andreast@fgznet.ch>
5090
5091 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
5092
959e7469
PM
50932011-03-15 Phil Muldoon <pmuldoon@redhat.com>
5094
5095 * lib/gdb.exp (gdb_unload): Add another termination case.
5096
9373cf26
JK
50972011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5098
5099 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
5100 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
5101 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
5102 Provide a stub byte there.
5103 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
5104 DW_AT_entry_pc.
5105 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
5106
24e9cda0
UW
51072011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
5108
5109 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
5110 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
5111 "generic ABI, auto".
5112 (altivec_abi_tests): Accept vectors returned by reference.
5113
7371cf6d
PM
51142010-03-14 Phil Muldoon <pmuldoon@redhat.com>
5115
5116 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
5117
ce77046a
UW
51182011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
5119
5120 * gdb.python/py-section-script.exp: Skip test if no Python support.
5121
176400c3
UW
51222011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
5123
5124 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
5125
ecec24e6
PM
51262011-03-10 Phil Muldoon <pmuldoon@redhat.com>
5127
5128 * gdb.python/py-parameter.exp: Update tests to the new Python
5129 parameter API. Add "no documentation" test. Add deprecated API
5130 backward compatibility test.
5131
5dbdd470
TT
51322011-03-09 Tom Tromey <tromey@redhat.com>
5133
5134 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
5135 gdb_continue_to_end.
5136
b66e66ee
MK
51372011-03-09 Mark Kettenis <kettenis@gnu.org>
5138
5139 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
5140 tabs.
5141
eceb0c5f
TT
51422011-03-09 Tom Tromey <tromey@redhat.com>
5143
5144 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
5145 parentheses.
5146 (gdb_continue_to_end): Add "allow_extra" parameter. Use
5147 $command.
5148 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
5149 argument to gdb_continue_to_end.
5150 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
5151 argument to gdb_continue_to_end.
5152 * gdb.cp/annota3.exp: Fix regex.
5153 * gdb.cp/annota2.exp: Fix regex.
5154 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
5155 gdb_continue_to_end.
5156 * gdb.base/call-signal-resume.exp: Revert earlier patch.
5157 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
5158 gdb_continue_to_end.
5159
63154eca
PA
51602011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5161
5162 * gdb.server/ext-run.exp
5163 (load new file without any gdbserver inferior): New test.
5164
967d1f9b
TT
51652011-03-07 Tom Tromey <tromey@redhat.com>
5166
5167 * Makefile.in (TAGS): Rewrite.
5168
d68dcbb9
JK
51692011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5170
5171 * gdb.trace/report.exp (12.1: trace report #1): New match for the
5172 initial commands echo. New match for `Found trace'. Anchor all the
5173 other matches. Anchor and match for `No trace frame found' the final
5174 match.
5175
6bf58e63
TT
51762011-03-07 Tom Tromey <tromey@redhat.com>
5177
5178 * Makefile.in (TAGS): New target.
5179
fda326dd
TT
51802011-03-07 Tom Tromey <tromey@redhat.com>
5181
5182 * lib/opencl.exp (skip_opencl_tests): Update for exit message
5183 change.
5184 * lib/mi-support.exp (mi_gdb_test): Update for exit message
5185 change.
5186 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
5187 exit message change.
5188 (skip_altivec_tests): Update for exit message change.
5189 (skip_vsx_tests): Likewise.
5190 (gdb_continue_to_end): Likewise. Add 'command' argument.
5191 * lib/cell.exp (skip_cell_tests): Update for exit message change.
5192 * gdb.threads/tls.exp: Update for exit message change.
5193 * gdb.threads/thread-unwindonsignal.exp: Use
5194 gdb_continue_to_end.
5195 * gdb.threads/step.exp (step_it): Update for exit message change.
5196 (continue_all): Likewise.
5197 * gdb.threads/print-threads.exp (test_all_threads): Update for
5198 exit message change.
5199 * gdb.threads/interrupted-hand-call.exp: Use
5200 gdb_continue_to_end.
5201 * gdb.threads/execl.exp: Use gdb_continue_to_end.
5202 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
5203 gdb_continue_to_end.
5204 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
5205 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
5206 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
5207 * gdb.cp/method.exp: Update for exit message change.
5208 * gdb.cp/mb-templates.exp: Update for exit message change.
5209 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
5210 * gdb.cp/annota3.exp: Update for exit message change.
5211 * gdb.cp/annota2.exp: Update for exit message change.
5212 * gdb.cell/fork.exp: Use gdb_continue_to_end.
5213 * gdb.base/term.exp: Update for exit message change.
5214 * gdb.base/step-test.exp (test_i): Update for exit message change.
5215 * gdb.base/sigstep.exp (advance): Update for exit message change.
5216 (advancei): Likewise.
5217 * gdb.base/siginfo.exp: Update for exit message change.
5218 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
5219 * gdb.base/reread.exp: Use gdb_continue_to_end.
5220 * gdb.base/langs.exp: Use gdb_continue_to_end.
5221 * gdb.base/interrupt.exp: Update for exit message change.
5222 * gdb.base/gdb1555.exp: Update for exit message change.
5223 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
5224 * gdb.base/ending-run.exp: Update for exit message change.
5225 * gdb.base/chng-syms.exp: Update for exit message change.
5226 * gdb.base/checkpoint.exp: Update for exit message change.
5227 * gdb.base/catch-syscall.exp (check_for_program_end): Use
5228 gdb_continue_to_end.
5229 (test_catch_syscall_with_wrong_args): Likewise.
5230 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
5231 * gdb.base/break-interp.exp (test_ld): Update for exit message
5232 change.
5233 * gdb.base/bang.exp: Update for exit message change.
5234 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
5235 (do_call_attach_tests): Likewise.
5236 * gdb.base/a2-run.exp: Update for exit message change.
5237 * gdb.arch/ppc-dfp.exp: Update for exit message change.
5238 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
5239 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
5240
dd19bd70
JK
52412011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5242
5243 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
5244
30e62689
TT
52452011-03-03 Tom Tromey <tromey@redhat.com>
5246
5247 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
5248 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
5249 * gdb.hp/gdb.aCC/configure.ac: Remove.
5250 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
5251 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
5252 * gdb.hp/gdb.base-hp/configure.ac: Remove.
5253 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
5254 * gdb.hp/gdb.compat/configure (Makefile): Remove.
5255 * gdb.hp/gdb.compat/configure.ac: Remove.
5256 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
5257 * gdb.hp/gdb.defects/configure (Makefile): Remove.
5258 * gdb.hp/gdb.defects/configure.ac: Remove.
5259 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
5260 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
5261 * gdb.hp/gdb.objdbg/configure.ac: Remove.
5262 * gdb.hp/configure.ac: Remove.
5263 * gdb.hp/configure: Remove.
5264 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
5265 substitution.
5266 (Makefile): Remove rule.
5267 * gdb.cell/configure.ac: Remove.
5268 * gdb.cell/configure: Remove.
5269 * gdb.stabs/Makefile.in (Makefile): Remove.
5270 (distclean): Don't remove config.status or config.log.
5271 * gdb.stabs/configure (Makefile): Remove.
5272 * gdb.stabs/configure.ac: Remove.
5273 * configure: Rebuild.
5274 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
5275 Remove stabs- and cell-specific logic. Test for existence of
5276 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
5277 subdirectories, gdb.cell, and and gdb.stabs.
5278 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
5279
c171f854
JB
52802011-03-03 Joel Brobecker <brobecker@adacore.com>
5281
5282 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
5283 end of buffer.
5284
9a5193cb
JB
52852011-03-02 Joel Brobecker <brobecker@adacore.com>
5286
5287 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
5288 gdb_test when running a test where we expected no output back.
5289
9bb4c1bb
MS
52902011-02-28 Michael Snyder <msnyder@vmware.com>
5291
5292 * gdb.cp/overload.cc: Change initializer value to integer.
5293
3bd0f5ef
MS
52942011-02-27 Michael Snyder <msnyder@vmware.com>
5295
5296 * gdb.multi/base.exp: Add test for remove-inferiors.
5297
2279eaad
JB
52982011-02-26 Joel Brobecker <brobecker@adacore.com>
5299
5300 * gdb.python/py-frame.exp: Simplify the initialization phase
5301 using prepare_for_testing.
5302
c82c0b55
MS
53032011-02-25 Michael Snyder <msnyder@vmware.com>
5304
5305 * gdb.multi/base.exp: Add tests for info inferiors with args.
5306
1d94651b
JK
53072011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5308
5309 * gdb.dwarf2/dw2-ranges.S: Rename to ...
5310 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
5311 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
5312 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
5313 asmfile3. Comment the STABS (#3) file compilation. Compile
5314 everything through assembler. Provide KFAIL for symtab/12497.
5315 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
5316 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
5317 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
5318 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
5319
3bd0f5ef
MS
53202011-02-24 Michael Snyder <msnyder@vmware.com>
5321
5322 * gdb.base/break.exp: Add tests for delete breakpoints using
5323 convenience variables and value history references.
5324
12c1418e
MS
53252011-02-24 Michael Snyder <msnyder@vmware.com>
5326
5327 * gdb.base/break.exp: Remove debugging 'printf' accidentally
5328 left behind in previous check-in.
5329
e5a67952
MS
53302011-02-23 Michael Snyder <msnyder@vmware.com>
5331
5332 * gdb.base/break.exp: Add tests for "info break" with arguments.
5333 * gdb.trace/infotrace.exp: Update patterns for error and help.
5334 * gdb.base/completion.exp: Update pattern.
5335 * gdb.base/ena-dis-br.exp: Update pattern.
5336 * gdb.base/help.exp: Update patterns.
5337
53382011-02-23 Michael Snyder <msnyder@vmware.com>
fbcb778d
MS
5339
5340 * gdb.base/memattr.exp: New test.
5341 * gdb.base/memattr.c: Test load for memattr.exp.
5342
6e6fbe60
DE
53432011-02-22 Doug Evans <dje@google.com>
5344
5345 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
5346
1d41d745
MS
53472011-02-22 Michael Snyder <msnyder@vmware.com>
5348
5349 * Makefile.in: Make more clean.
5350 * gdb.ada/Makefile.in: Ditto.
5351 * gdb.arch/Makefile.in: Ditto.
5352 * gdb.asm/Makefile.in: Ditto.
5353 * gdb.base/Makefile.in: Ditto.
5354 * gdb.cp/Makefile.in: Ditto.
5355 * gdb.dwarf2/Makefile.in: Ditto.
5356 * gdb.java/Makefile.in: Ditto.
5357 * gdb.mi/Makefile.in: Ditto.
5358 * gdb.modula2/Makefile.in: Ditto.
5359 * gdb.python/Makefile.in: Ditto.
5360 * gdb.server/Makefile.in: Ditto.
5361 * gdb.stabs/Makefile.in: Ditto.
5362 * gdb.threads/Makefile.in: Ditto.
5363 * gdb.trace/Makefile.in: Ditto.
5364
79ba84ca
MS
53652011-02-22 Michael Snyder <msnyder@vmware.com>
5366
df46027d 5367 * gdb.threads/thread-find.exp: Add tests for bad input to
79ba84ca
MS
5368 info threads.
5369
b9b35694
JB
53702011-02-22 Joel Brobecker <brobecker@adacore.com>
5371
5372 * gdb.python/py-breakpoint.exp: Fix the expected output of
5373 one of the "maint info breakpoints" tests to accept the output
5374 generated on platforms that do not have hardware watchpoints.
5375
8bfb830f
JB
53762011-02-22 Joel Brobecker <brobecker@adacore.com>
5377
5378 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
5379 clean_restart. Be a little stricter in the expected output
5380 for one of the tests. Fix a typo in one of the comments.
5381
c45f3c54
JB
53822011-02-22 Joel Brobecker <brobecker@adacore.com>
5383
5384 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
5385 Delete variable binfile, no longer use. Add or modify test
5386 comments to make them unique.
5387
b97c863c
MS
53882011-02-21 Michael Snyder <msnyder@vmware.com>
5389
5390 * Makefile.in: Update for make clean.
5391 * gdb.ada/Makefile.in: Ditto.
5392 * gdb.arch/Makefile.in: Ditto.
5393 * gdb.asm/Makefile.in: Ditto.
5394 * gdb.base/Makefile.in: Ditto.
5395 * gdb.cp/Makefile.in: Ditto.
5396 * gdb.dwarf2/Makefile.in: Ditto.
5397 * gdb.java/Makefile.in: Ditto.
5398 * gdb.mi/Makefile.in: Ditto.
5399 * gdb.modula2/Makefile.in: Ditto.
5400 * gdb.python/Makefile.in: Ditto.
5401 * gdb.server/Makefile.in: Ditto.
5402 * gdb.stabs/Makefile.in: Ditto.
5403 * gdb.threads/Makefile.in: Ditto.
5404 * gdb.trace/Makefile.in: Ditto.
5405
aea5b279
MS
54062011-02-21 Michael Snyder <msnyder@vmware.com>
5407
5408 * gdb.threads/thread-find.exp: Update patterns for changes in
5409 output of "info threads" command.
5410
e3039479
UW
54112011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
5412 Ulrich Weigand <uweigand@de.ibm.com>
5413
5414 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
5415 (skip_hw_watchpoint_tests): Likewise.
5416 (skip_hw_watchpoint_multi_tests): Likewise.
5417
b800ec70
UW
54182011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
5419
5420 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
5421 (skip_hw_watchpoint_tests): Likewise.
5422 (skip_hw_watchpoint_multi_tests): Likewise.
5423 (skip_hw_watchpoint_access_tests): Likewise.
5424
5425 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
5426 * gdb.base/pr11022.exp: Likewise.
5427 * gdb.base/watch-read.exp: Likewise.
5428 * gdb.base/watch_thread_num.exp: Likewise.
5429 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
5430 * gdb.base/watchpoint-hw.exp: Likewise.
5431 * gdb.base/watchpoint.exp: Likewise.
5432 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
5433 * gdb.threads/watchthreads-reorder.exp: Likewise.
5434 * gdb.threads/watchthreads.exp: Likewise.
5435 * gdb.threads/watchthreads2.exp: Likewise.
5436
91033e37
JB
54372011-02-21 Joel Brobecker <brobecker@adacore.com>
5438
5439 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
5440 the debugger is unable to find the array bounds.
5441
eeaafae2
JK
54422011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5443
5444 * gdb.cp/typedef-operator.exp: New file.
5445 * gdb.cp/typedef-operator.cc: New file.
5446
e338d953
MS
54472011-02-17 Michael Snyder <msnyder@vmware.com>
5448
5449 * gdb.threads/thread-find.exp: Fix regular expressions.
5450
e67ad678
JB
54512011-02-17 Joel Brobecker <brobecker@adacore.com>
5452
5453 * gdb.ada/packed_array: Expand testcase to test printing of
5454 unconstrained packed array.
5455
93084bca
JB
54562011-02-17 Joel Brobecker <brobecker@adacore.com>
5457
5458 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
5459
a0c78a73
PA
54602011-02-16 Pedro Alves <pedro@codesourcery.com>
5461
f65d5553 5462 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
5463 (main): Initialize it before collecting, and and clear it
5464 afterwards.
f65d5553
PA
5465 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
5466 collecting with '{type} addr', where the addr expression is not an
5467 rvalue.
a0c78a73 5468
3dfcbbd2
KW
54692011-02-16 Ken Werner <ken.werner@de.ibm.com>
5470
5471 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
5472 a bool variable. Expect correct OpenCL names for vector types. Use the
5473 uc3 variable name instead of referring to the uchar3 built-in type.
5474 Escape the asterisk at the half pointer test.
5475
08807d5a
PA
54762011-02-16 Pedro Alves <pedro@codesourcery.com>
5477
f65d5553 5478 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
5479 (main): Initialize it before collecting, and and clear it
5480 afterwards.
f65d5553
PA
5481 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
5482 collecting overlapping memory ranges.
08807d5a 5483
60f98dde
MS
54842011-02-15 Michael Snyder <msnyder@vmware.com>
5485
5486 * gdb.base/default.exp: Add tests for thread commands.
5487 * gdb.base/help.exp: Add tests for thread commands.
5488 * gdb.threads/thread-find.exp: New test for thread find command.
5489
648cd113
KW
54902011-02-15 Ken Werner <ken.werner@de.ibm.com>
5491
5492 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
5493
494e194e
YQ
54942011-02-15 Yao Qi <yao@codesourcery.com>
5495
5496 PR tdep/12352
5497 * gdb.arch/arm-disp-step.S : New test for str instruction.
5498 * gdb.arch/arm-disp-step.exp : Likewise.
5499
d9492458
TJB
55002011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
5501
5502 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
5503 "vector_register2_vr" test strings. Test the extended floating
5504 point registers (F32~F63).
5505 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
5506 IBM XL C compiler. Make the test program use a register provided
5507 by the compiler for the lxvd2x instruction.
5508
8af8e3bc
PA
55092011-02-14 Pedro Alves <pedro@codesourcery.com>
5510
5511 * gdb.trace/unavailable.cc (class Base, class Middle, class
5512 Derived): New types.
5513 (derived_unavail, derived_partial, derived_whole): New globals.
5514 (virtual_partial): New global.
5515 (virtualp): Point at virtual_partial.
5516 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
5517 related to unavailable vptr.
5518
1b28d0b3
PA
55192011-02-14 Pedro Alves <pedro@codesourcery.com>
5520
5521 * gdb.trace/unavailable.cc (a, b, c): New globals.
5522 (main): Set and clear them.
5523 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
5524 `a' and `c', and check that `b' isn't collected, although `a' and
5525 `c' are.
5526
ec0a52e1
PA
55272011-02-14 Pedro Alves <pedro@codesourcery.com>
5528
5529 * gdb.trace/unavailable.cc (struct Virtual): New.
5530 (virtualp): New global pointer.
5531 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
5532 printing a pointer to an object whose type has a vtable, with
5533 print object on.
5534
24e6bcee
PA
55352011-02-14 Pedro Alves <pedro@codesourcery.com>
5536
5537 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
5538 value repeat handles unavailableness.
5539
39d37385
PA
55402011-02-14 Pedro Alves <pedro@codesourcery.com>
5541
5542 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
5543 tests for building arrays from unavailable values, subscripting
5544 non-memory rvalue unvailable arrays, and accessing fields or
5545 baseclasses of non-lazy unavailable values,
5546 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
5547 struct types.
5548 (g_smallstruct, g_smallstruct_b): New globals.
5549
06d72e16
PA
55502011-02-14 Pedro Alves <pedro@codesourcery.com>
5551
5552 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
5553
bc9a5551
JK
55542011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5555
5556 Fix const/volatile qualifiers of C++ types, PR c++/12328.
5557 * gdb.cp/overload-const.exp: New file.
5558 * gdb.cp/overload-const.cc: New file.
5559
54fcddd0
UW
55602011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
5561
5562 * gdb.opencl/callfuncs.cl: New file.
5563 * gdb.opencl/callfuncs.exp: New test.
5564 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
5565
d6dafb7c
UW
55662011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
5567
5568 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
5569 when computing result.
5570 * gdb.arch/altivec-abi.exp: Update expected results.
5571
a449c2d8
TJB
55722011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
5573
5574 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
5575 * gdb.base/jit.exp: Likewise.
5576 * gdb.base/pie-execl.exp: Likewise.
5577 * gdb.base/solib-nodir.exp: Likewise.
5578 * gdb.base/solib-overlap.exp: Likewise.
5579
764880b7
PA
55802011-02-07 Pedro Alves <pedro@codesourcery.com>
5581
5582 * gdb.trace/collection.c (global_pieces): New.
5583 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
5584 New procedure.
5585 (gdb_trace_collection_test): Call it.
5586
505500db
SW
55872011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
5588
5589 * gdb.python/py-evthreads.c: New file.
5590 * gdb.python/py-evthreads.exp: New file.
5591 * gdb.python/py-events.py: New file.
5592 * gdb.python/py-events.exp: New file.
5593 * gdb.python/py-events.c: New file.
5594
385203ed
DD
55952011-02-04 David Daney <ddaney@caviumnetworks.com>
5596
5597 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
5598
9011945e
AB
55992011-02-03 Andrew Burgess <aburgess@broadcom.com>
5600
5601 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
5602 gdb.base/disasm-end-cu.exp: New test for disassembling over the
5603 boundary between two compilation units.
5604
580688f3
PA
56052011-02-02 Pedro Alves <pedro@codesourcery.com>
5606
5607 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
5608 (Virtual): New structs.
5609 (virtual_o, virtual_middle_b): New globals.
5610 * gdb.cp/virtbase.exp: New tests.
5611
d3f0f853
PP
56122011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5613
5614 * gdb.base/jit.exp: New file.
5615 * gdb.base/jit-main.c: New file.
5616 * gdb.base/jit-solib.c: New file.
5617
b2030fb5
UW
56182011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
5619
5620 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
5621 proceed to initial kernel entry point.
5622 * gdb.opencl/datatypes.exp: Likewise.
5623 * gdb.opencl/operators.exp: Likewise.
5624 * gdb.opencl/vec_comps.exp: Likewise.
5625
2db19d1e
SW
56262011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
5627
5628 * gdb.cp/nsnested.cc: New.
5629 * gdb.cp/nsnested.exp: New.
5630 * gdb.cp/nsnoimports.exp: New.
5631 * gdb.cp/nsnoimports.cc: New.
5632
6b0c4c1f
JB
56332011-01-31 Joel Brobecker <brobecker@adacore.com>
5634
5635 * gdb.base/interact.exp: Add extra tests that verify that
5636 the value of the interactive-mode setting does not change
5637 after the script is sourced.
5638
80b23b6a
JK
56392011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5640
5641 * gdb.cp/noparam.exp: New file.
5642 * gdb.cp/noparam.cc: New file.
5643
ffd5ec24
PA
56442011-01-28 Pedro Alves <pedro@codesourcery.com>
5645
5646 * gdb.trace/tfile.exp: Test that with no traceframe selected,
5647 there's no stack or registers.
5648
a81766d8
TT
56492011-01-26 Tom Tromey <tromey@redhat.com>
5650
5651 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
5652 space before string output. Add test for "set print pretty off"
5653 case.
5654
585fdaa1
PA
56552011-01-25 Pedro Alves <pedro@codesourcery.com>
5656
5657 * gdb.base/frame-args.exp: Adjust.
5658 * gdb.dwarf2/dw2-noloc.exp: Adjust.
5659 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
5660 * gdb.dwarf2/pieces.exp: Adjust.
5661 * gdb.opt/clobbered-registers-O2.exp: Adjust.
5662 * gdb.opt/inline-locals.exp: Adjust.
5663 * gdb.threads/fork-child-threads.exp: Adjust.
5664
d468832a
KW
56652011-01-25 Ken Werner <ken.werner@de.ibm.com>
5666
5667 * gdb.opencl/convs_casts.cl: Move program scope variables into the
5668 OpenCL kernel function. Add a comment as marker. Add address space
5669 qualifiers for the remaining program scope variables.
5670 * gdb.opencl/datatypes.cl: Likewise.
5671 * gdb.opencl/operators.cl: Likewise.
5672 * gdb.opencl/vec_comps.cl: Likewise.
5673 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
5674 Add breakpoint at the marker comment.
5675 * gdb.opencl/datatypes.exp: Likewise.
5676 * gdb.opencl/operators.exp: Likewise.
5677 * gdb.opencl/vec_comps.exp: Likewise.
5678
490f124f
PA
56792011-01-24 Pedro Alves <pedro@codesourcery.com>
5680
5681 * gdb.base/printcmds.c (some_struct): New struct and instance.
5682 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
5683 procedure.
5684 <global scope>: Call it.
5685
6da78614
KW
56862011-01-21 Ken Werner <ken.werner@de.ibm.com>
5687
5688 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
5689 argument to the gdb_compile_opencl_hostapp call.
5690
ec64c9aa
YQ
56912011-01-19 Yao Qi <yao@codesourcery.com>
5692
5693 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
5694 positve list.
5695
810cfdbb
YQ
56962011-01-19 Yao Qi <yao@codesourcery.com>
5697
5698 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
5699 canonical form.
5700 Remove "xscale-*-*"
5701 * gdb.xml/tdesc-regs.exp: Likewise.
5702 * gdb.python/py-section-script.exp: Replace ARM target triplet
5703 with canonical form.
5704 Match arm*-*-symbianelf*.
5705 * gdb.base/dup-sect.exp: Likewise.
5706 * lib/dwarf.exp: New.
5707 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
5708 dwarf2_support.
5709 * gdb.dwarf2/dup-psym.exp: Likewise.
5710 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
5711 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5712 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
5713 * gdb.dwarf2/dw2-basic.exp: Likewise.
5714 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5715 * gdb.dwarf2/dw2-const.exp: Likewise.
5716 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
5717 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
5718 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
5719 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
5720 * gdb.dwarf2/dw2-filename.exp: Likewise.
5721 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
5722 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
5723 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5724 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5725 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
5726 * gdb.dwarf2/dw2-noloc.exp: Likewise.
5727 * gdb.dwarf2/dw2-op-call.exp: Likewise.
5728 * gdb.dwarf2/dw2-producer.exp: Likewise.
5729 * gdb.dwarf2/dw2-ranges.exp: Likewise.
5730 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
5731 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
5732 * gdb.dwarf2/dw2-strp.exp: Likewise.
5733 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
5734 * gdb.dwarf2/implptr.exp: Likewise.
5735 * gdb.dwarf2/mac-fileno.exp: Likewise.
5736 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
5737 * gdb.dwarf2/pieces.exp: Likewise.
5738 * gdb.dwarf2/pr11465.exp: Likewise.
5739 * gdb.dwarf2/valop.exp: Likewise.
5740 * gdb.dwarf2/watch-notconst.exp: Likewise.
5741 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
5742
4694da01
TT
57432011-01-19 Tom Tromey <tromey@redhat.com>
5744
5745 * gdb.python/py-infthread.exp: Add thread tests.
5746
b075872c
JB
57472011-01-14 Joel Brobecker <brobecker@adacore.com>
5748
5749 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
5750
2c3e6e24
JB
57512011-01-14 Joel Brobecker <brobecker@adacore.com>
5752
5753 * gdb.ada/widewide: New testcase.
5754
de8fa76c
JB
57552011-01-13 Joel Brobecker <brobecker@adacore.com>
5756
5757 * gdb.base/interact.exp: New testcase.
5758
1b05df00
TT
57592011-01-12 Tom Tromey <tromey@redhat.com>
5760
5761 * gdb.mi/gdb2549.exp: Update for error message changes.
5762 * gdb.mi/mi-cli.exp: Likewise.
5763 * gdb.mi/mi-disassemble.exp: Likewise.
5764 * gdb.mi/mi-pthreads.exp: Likewise.
5765 * gdb.mi/mi-regs.exp: Likewise.
5766 * gdb.mi/mi-stack.exp: Likewise.
5767 * gdb.mi/mi-var-block.exp: Likewise.
5768 * gdb.mi/mi-var-cmd.exp: Likewise.
5769 * gdb.mi/mi2-cli.exp: Likewise.
5770 * gdb.mi/mi2-disassemble.exp: Likewise.
5771 * gdb.mi/mi2-pthreads.exp: Likewise.
5772 * gdb.mi/mi2-regs.exp: Likewise.
5773 * gdb.mi/mi2-stack.exp: Likewise.
5774 * gdb.mi/mi2-var-block.exp: Likewise.
5775 * gdb.mi/mi2-var-cmd.exp: Likewise.
5776
c2ff108b
JK
57772011-01-12 Andrew Burgess <aburgess@broadcom.com>
5778 Jan Kratochvil <jan.kratochvil@redhat.com>
5779
5780 PR fortran/11104 and DWARF unbound arrays detection.
5781 * gdb.fortran/multi-dim.exp: New file.
5782 * gdb.fortran/multi-dim.f90: New file.
5783
b716877b
AB
57842011-01-12 Andrew Burgess <aburgess@broadcom.com>
5785
5786 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
5787 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
5788 add new tests for opcode dumping.
5789
6c162d5e
TT
57902011-01-11 Tom Tromey <tromey@redhat.com>
5791
5792 * gdb.python/py-infthread.exp: Load gdb-python.exp.
5793
77b06cd7
TJB
57942010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
5795
5796 Convert hardware watchpoints to use breakpoint_ops.
5797 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
5798 type is not supported.
5799 * gdb.base/foll-fork.exp: Likewise.
5800 * gdb.base/foll-vfork.exp: Likewise.
5801
f39a75d0
PM
58022011-01-10 Phil Muldoon <pmuldoon@redhat.com>
5803
5804 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
5805 Use load_lib gdb-python.exp.
5806 * gdb.python/python.exp: Ditto.
5807 * gdb.python/py-function.exp: Ditto.
5808
fc529d80
AS
58092011-01-09 Andreas Schwab <schwab@linux-m68k.org>
5810
5811 * gdb.threads/tls.exp ("info address me"): Fix expected output.
5812
fb03cb59
JK
58132011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5814
5815 * configure: Regenerate.
5816
d8e22779
TT
58172011-01-06 Tom Tromey <tromey@redhat.com>
5818
5819 * gdb.python/py-frame.exp: Test gdb.newest_frame.
5820
09050809
JB
58212011-01-06 Joel Brobecker <brobecker@adacore.com>
5822
fc529d80
AS
5823 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
5824 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
5825 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
5826 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
5827 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
5828 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
5829 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
5830 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
5831 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
5832 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
5833 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
5834 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
5835 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
5836 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
5837 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
5838 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
5839 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
5840 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
5841 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
5842 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
5843 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
5844 gdb.ada/uninitialized_vars.exp,
5845 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
5846 Simplify by using clean_restart.
09050809 5847
8ed5dd9e
JB
58482011-01-06 Joel Brobecker <brobecker@adacore.com>
5849
5850 Add marker to be used as anchor for inserting breakpoints.
5851 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
5852 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
5853 Likewise.
5854
5855 Remove uses of gdb_start_cmd.
5856 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
5857 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
5858
5859 Do not run testcase if testing with GDBserver.
5860 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
5861 if testing with GDBserver.
5862
368a124f
JB
58632011-01-06 Joel Brobecker <brobecker@adacore.com>
5864
5865 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
5866 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
5867 copyright header.
5868
44944448
JB
58692011-01-05 Joel Brobecker <brobecker@adacore.com>
5870
5871 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
5872 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
5873 testsuite/gdb.fortran/complex.f,
5874 testsuite/gdb.fortran/derived-type.f90,
5875 testsuite/gdb.fortran/library-module-lib.f90,
5876 testsuite/gdb.fortran/library-module-main.f90,
5877 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
5878 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
5879 Copyright year update.
5880
31886ea6
JB
58812011-01-05 Joel Brobecker <brobecker@adacore.com>
5882
5883 * gdb.base/langs1.f: Add copyright header.
5884
ebedcab5
JK
58852011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5886
5887 * gdb.base/morestack.exp: New file.
5888 * gdb.base/morestack.c: New file.
5889
de1eb2f9
JK
58902011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5891
5892 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
5893
9e87a409
JB
58942010-12-29 Joel Brobecker <brobecker@adacore.com>
5895
5896 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
5897 * gdb.ada/arrayptr.exp: Add test printing that new variable.
5898
720d1a40
JB
58992010-12-29 Joel Brobecker <brobecker@adacore.com>
5900
5901 * gdb.ada/lang_switch.exp: Correct expected parameter value.
5902
a283af87
AS
59032010-12-25 Andreas Schwab <schwab@linux-m68k.org>
5904
5d3d9cba
AS
5905 * gdb.threads/tls.exp: Fix typo.
5906
a283af87
AS
5907 * gdb.threads/thread-specific.exp (get_thread_list): Update.
5908 * gdb.threads/execl.exp: Update.
5909
2a20745c
YQ
59102010-12-23 Yao Qi <yao@codesourcery.com>
5911
5912 * gdb.arch/arm-disp-step.exp: New.
5913 * gdb.arch/arm-disp-step.S: New.
5914
a7658b96
TT
59152010-12-21 Tom Tromey <tromey@redhat.com>
5916
5917 * gdb.threads/execl.exp: Update.
5918 * gdb.threads/linux-dp.exp: Update.
5919 * gdb.threads/manythreads.exp: Update.
5920 * gdb.threads/tls.exp: Update.
5921
5b79abe7
TT
59222010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5923
5924 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
5925 (NextOverThrowDerivates) <resumebpt>: New.
5926 (resumebpt_test): New.
5927 (main): Call resumebpt_test.
5928 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
5929
0914bcdb
SS
59302010-12-12 Stan Shebs <stan@codesourcery.com>
5931
5932 * gdb.trace/tsv.exp: Test print command on trace state variables.
5933
305aeedc
TT
59342010-12-09 Tom Tromey <tromey@redhat.com>
5935
5936 * gdb.base/interp.exp: Add regression test.
5937
186c406b
TT
59382010-12-09 Tom Tromey <tromey@redhat.com>
5939
5940 * gdb.java/jnpe.java: New file.
5941 * gdb.java/jnpe.exp: New file.
5942 * gdb.cp/nextoverthrow.exp: New file.
5943 * gdb.cp/nextoverthrow.cc: New file.
5944
aae1c79a
DE
59452010-12-07 Doug Evans <dje@google.com>
5946
5947 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
5948 of data-directory.
5949 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
5950 updated.
5951 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
5952
60f98dde 59532010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
5954
5955 * gdb.base/callfuncs.exp: Test for skip_float_tests.
5956 * gdb.base/call-sc.exp: Ditto.
5957 * gdb.base/finish.exp: Ditto.
5958 * gdb.base/return.exp: Ditto.
5959 * gdb.base/return2.exp: Ditto.
5960
5fa290c1
DE
59612010-11-30 Doug Evans <dje@google.com>
5962
5963 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
5964 (gdb_expect_list): Fix spelling errors in comments.
5965 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
5966 send_gdb/gdb_expect_list where applicable.
5967 * gdb.base/call-ar-st.exp: Ditto.
5968 * gdb.base/funcargs.exp: Ditto.
5969 * gdb.base/gcore.exp: Ditto.
5970 * gdb.base/page.exp: Ditto.
5971 * gdb.base/sigaltstack.exp: Ditto.
5972 * gdb.base/siginfo.exp: Ditto.
5973 * gdb.base/sigstep.exp: Ditto.
5974 * gdb.base/trace-commands.exp: Ditto.
5975
4e04c971
DE
59762010-11-29 Doug Evans <dje@google.com>
5977
5978 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
5979 printer-name;subprinter-name.
5980
8cf6f0b1
TT
59812010-11-29 Tom Tromey <tromey@redhat.com>
5982
5983 * gdb.dwarf2/implptr.exp: New file.
5984 * gdb.dwarf2/implptr.c: New file.
5985 * gdb.dwarf2/implptr.S: New file.
5986
94b6973e
PM
59872010-11-29 Phil Muldoon <pmuldoon@redhat.com>
5988
fc529d80 5989 PR python/12199
94b6973e
PM
5990
5991 * gdb.python/py-breakpoint.exp: Test the delete method.
5992
8358c15c
JK
59932010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5994
5995 Fix step_resume_breakpoint unsaved during an infcall.
5996 * gdb.base/step-resume-infcall.exp: New file.
5997 * gdb.base/step-resume-infcall.c: New file.
5998
f6df29bc
TJB
59992010-11-24 Edjunior Machado <emachado@br.ibm.com>
6000
6001 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
6002
f2b5a5cf
TJB
60032010-11-24 Edjunior Machado <emachado@br.ibm.com>
6004
6005 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
6006 on ppc64's symbols; "finish" and "return" commands must accept to
6007 show the caller line again as well as the line after.
6008 * gdb.asm/powerpc64.inc: New file.
6009
6b0ecdc2
DE
60102010-11-23 Doug Evans <dje@google.com>
6011
6012 * lib/gdb.exp (gdb_test_sequence): New function.
6013 (gdb_expect_list): Add verbose -log call for each pattern.
6014 * gdb.base/signals.exp (test_handle_all_print): Call it.
6015 Reduce timeout increment from 6 minutes to 1 minute.
6016 * gdb.server/ext-run.exp: Call it.
6017
ea976c60
PM
60182010-11-23 Phil Muldoon <pmuldoon@redhat.com>
6019
f2b5a5cf 6020 PR python/12212
ea976c60
PM
6021
6022 * gdb.python/python.exp: Check that selected_thread raises an
6023 error when no inferior is loaded.
6024
c0efa795
JK
60252010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6026
6027 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
6028 * gdb.dwarf2/dw2-stack-boundary.S: New file.
6029
ec3aa567
JK
60302010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6031
6032 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
6033 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
6034
d8249011
DE
60352010-11-18 Doug Evans <dje@google.com>
6036
6037 * gdb.server/ext-run.exp: Fix intermittent failures.
6038
d4eba7d1
NF
60392010-11-12 Nathan Froyd <froydnj@codesourcery.com>
6040
6041 * gdb.stabs/gdb11479.exp: Use runto_main.
6042
b04c2f88
NF
60432010-11-12 Nathan Froyd <froydnj@codesourcery.com>
6044
6045 * gdb.base/break-entry.exp: Skip if using a stub.
6046
ae9d7ce4
NF
60472010-11-12 Nathan Froyd <froydnj@codesourcery.com>
6048
6049 * gdb.python/py-inferior.exp: Pack values in target endianness.
6050
621c8364
TT
60512010-11-12 Tom Tromey <tromey@redhat.com>
6052
6053 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
6054 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
6055 MemoryError.
6056 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
6057 type.
6058 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
6059 MemoryError.
6060 (test_subscript_regression): Update exception type.
6061
84f4c1fe
PM
60622010-11-11 Phil Muldoon <pmuldoon@redhat.com>
6063
6064 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
6065 breakpoint tests.
6066
a1442452
PA
60672010-11-09 Pedro Alves <pedro@codesourcery.com>
6068
6069 * gdb.base/watchpoint.exp: Test "watch -location" with an
6070 innacessible location.
6071
efd11a33
JK
60722010-11-09 Edjunior Machado <emachado@br.ibm.com>
6073 Luis Machado <luisgpm@br.ibm.com>
6074
6075 * gdb.base/maint.exp: Expect "." prefix.
6076 * gdb.base/nodebug.exp: Expect "." Likewise.
6077 * gdb.base/sepsymtab.exp: Expect "." Likewise.
6078 * gdb.base/watchpoint-cond-gone.exp: Likewise.
6079 * gdb.base/watchpoint.exp: Expect a software watch to be created for
6080 POWER server processors.
6081
aa00efb5
JK
60822010-11-08 Edjunior Machado <emachado@br.ibm.com>
6083 Luis Machado <luisgpm@br.ibm.com>
6084
6085 * gdb.base/break-entry.exp: convert entry point for
6086 ppc64 and expect leading `.' on ppc64's symbols
6087
99e7ae30
DE
60882010-11-05 Doug Evans <dje@google.com>
6089
6090 * gdb.base/help.exp: Update expected output.
b521dba8
DE
6091 * gdb.python/py-param.exp: Delete, contents moved to ...
6092 * gdb.python/py-parameter.exp: ... here. New file.
6093 Add test for gdb.parameter ("directories").
99e7ae30 6094
f4b8a18d
KW
60952010-11-05 Ken Werner <ken.werner@de.ibm.com>
6096
6097 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
6098 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
6099 * configure: Regenerate.
6100 * gdb.opencl/Makefile.in: New File.
6101 * gdb.opencl/datatypes.exp: Likewise.
6102 * gdb.opencl/datatypes.cl: Likewise.
6103 * gdb.opencl/operators.exp: Likewise.
6104 * gdb.opencl/operators.cl: Likewise.
6105 * gdb.opencl/vec_comps.exp: Likewise.
6106 * gdb.opencl/vec_comps.cl: Likewise.
6107 * gdb.opencl/convs_casts.exp: Likewise.
6108 * gdb.opencl/convs_casts.cl: Likewise.
6109 * lib/opencl.exp: Likewise.
6110 * lib/opencl_hostapp.c: Likewise.
6111 * lib/opencl_kernel.cl: Likewise.
6112 * lib/cl_util.c: Likewise.
6113 * lib/cl_util.c: Likewise.
6114 * gdb.base/default.exp (set language): Add "opencl" to the list of
6115 languages.
6116
a9d5ef47
SW
61172010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
6118
6119 * gdb.cp/overload.exp: Added test for inheritance overload.
6120 * gdb.cp/overload.cc: Ditto.
6121 * gdb.cp/oranking.exp: Removed releveant kfails.
6122
03eb1c79
JK
61232010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6124 Joel Brobecker <brobecker@adacore.com>
6125
6126 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
6127 check test_compiler_info.
6128
dbc98a8b
KW
61292010-11-03 Ken Werner <ken.werner@de.ibm.com>
6130
6131 * gdb.base/gnu_vector.exp: Adjust expect messages.
6132
120bd360
KW
61332010-11-03 Ken Werner <ken.werner@de.ibm.com>
6134
6135 * gdb.base/gnu_vector.exp: Add unary operator tests.
6136
c37f7098
KW
61372010-11-03 Ken Werner <ken.werner@de.ibm.com>
6138
6139 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
6140
7b51bc51
DE
61412010-11-02 Doug Evans <dje@google.com>
6142
6143 * gdb.python/py-pp-maint.c: New file.
6144 * gdb.python/py-pp-maint.exp: New file.
6145 * gdb.python/py-pp-maint.py: New file.
6146
50c97f38
TT
61472010-11-02 Tom Tromey <tromey@redhat.com>
6148
6149 * gdb.base/default.exp: Remove "scheme" from language list.
6150
a289b8f6
JK
61512010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6152
6153 Revert:
6154 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6155 * gdb.threads/sigstep-threads.exp: New file.
6156 * gdb.threads/sigstep-threads.c: New file.
6157
cd017491
MS
61582010-10-20 Michael Snyder <msnyder@vmware.com>
6159
6160 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
6161
8e6a5956
UW
61622010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
6163
6164 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
6165 Skip test completely if gdb,no_hardware_watchpoints.
6166
2c04da0d
UW
61672010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
6168
6169 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
6170 strict, but do not check for any particular function name within libc.
6171
79afc5ef
SW
61722010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
6173
6174 * gdb.cp/smartp.exp: New test.
6175 * gdb.cp/smartp.cc : New test.
6176
026ffab7
SW
61772010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
6178
6179 * gdb.cp/converts.exp: Test pointer to bool conversion.
6180 Test pointer to long conversion.
6181 * gdb.cp/oranking.exp: Removed relevant kfail.
6182
3a772aa4
TT
61832010-10-18 Tom Tromey <tromey@redhat.com>
6184
6185 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
6186 argument to lazy_string.
6187 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
6188 (pp_ls.to_string): Use it.
6189 * gdb.python/py-prettyprint.c (main): Move declarations to top.
6190 Add "estring2" local.
6191
5fc3827b
JK
61922010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6193
6194 Fix s390x compatibility.
6195 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
6196 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
6197
8aeb23f3
JK
61982010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6199
6200 * gdb.threads/sigstep-threads.exp: New file.
6201 * gdb.threads/sigstep-threads.c: New file.
6202
c1e56572
JK
62032010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6204
6205 * gdb.base/pie-execl.exp: New file.
6206 * gdb.base/pie-execl.c: New file.
6207
92163a10
JK
62082010-10-13 Doug Evans <dje@google.com>
6209 Jan Kratochvil <jan.kratochvil@redhat.com>
6210
6211 PR exp/12117
6212 * gdb.cp/ptype-cv-cp.cc: New file.
6213 * gdb.cp/ptype-cv-cp.exp: New file.
6214
7062b0a0
SW
62152010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
6216
6217 * gdb.cp/converts.cc: New test program.
6218 * gdb.cp/converts.exp: New test.
6219 * gdb.cp/overload.exp: Added test for void* vs int*.
6220 * gdb.cp/overload.exp: Ditto.
6221 * gdb.cp/oranking.exp: Removed related kfail.
6222
0e3509db
DE
62232010-10-13 Doug Evans <dje@google.com>
6224
6225 * lib/gdb-python.exp (gdb_check_python_config): New function.
6226 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
6227 * gdb.python/lib-types.cc: New file.
6228 * gdb.python/lib-types.exp: New file.
6229
8dc78533
JK
62302010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6231
6232 * gdb.python/py-error.exp: New file.
6233 * gdb.python/py-error.py: New file.
6234
93c17e06
JK
62352010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6236
6237 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
6238 gdb_test_multiple.
6239
d8b34041
JK
62402010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6241
6242 * gdb.base/break-interp.exp: Use ldlags for linking flags.
6243 * gdb.base/prelink.exp: Likewise.
6244 * gdb.base/solib-nodir.exp: Likewise.
6245 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
6246 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
6247 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
6248
e0cc584e
UW
62492010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
6250
6251 * break-interp.exp (test_ld): Use two separate gdb_expect statements
6252 for the "info files" test to avoid timeouts on slow machines.
6253
cfc353b1
JK
62542010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6255
6256 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
6257 (main): Make openlib dummy call.
6258
d3d7896d
JK
62592010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6260
6261 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
6262 * break-interp.exp (reach): Move the core body ...
6263 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
6264 (test_ld): Provide always real argument, even to the linker. Replace
6265 dl_main by _dl_debug_state.
6266
5e533c94
JK
62672010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6268
6269 Fix results of prelinked PIEs on ppc*.
6270 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
6271 Accept also DISPLACEMENT "PRESENT".
6272 (main): Replace "ZERO" displacements by "PRESENT".
6273
33540610
SW
62742010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
6275
6276 * gdb.cp/oranking.exp: New test.
6277 * gdb.cp/oranking.cc: New test program.
6278
3bdf2bbd
KW
62792010-10-08 Ken Werner <ken.werner@de.ibm.com>
6280
6281 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
6282 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
6283
2f608a3a
KW
62842010-10-06 Ken Werner <ken.werner@de.ibm.com>
6285
6286 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
6287 lush, lynx) New constant.
6288 * gdb.base/constvars.exp: Test const array types.
6289 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
6290
aa2e2d8d
DE
62912010-10-06 Doug Evans <dje@google.com>
6292
6293 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
6294 of syscall staging area.
6295
2844d6b5
KW
62962010-10-06 Ken Werner <ken.werner@de.ibm.com>
6297
6298 * gdb.base/gnu_vector.c: Add variable c4.
6299 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
6300 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
6301
7d8ac8bb
MR
63022010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
6303
6304 * gdb.arch/altivec-abi.exp: Fix a typo.
6305
84a02e58
MR
63062010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
6307
6308 * lib/mi-support.exp (thread_selected_re): Correct pattern used
6309 to match a thread ID.
6310
b18e6318
JK
63112010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6312
6313 Fix s390x testcase compatibility.
6314 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
6315
a2c09bd0
DE
63162010-10-01 Doug Evans <dje@google.com>
6317
6318 * lib/gdb-python.exp: New file.
6319 * gdb.python/py-block.exp: Use it.
6320 * gdb.python/py-breakpoint.exp: Ditto.
6321 * gdb.python/py-frame.exp: Ditto.
6322 * gdb.python/py-inferior.exp: Ditto.
6323 * gdb.python/py-param.exp: Ditto.
6324 * gdb.python/py-prettyprint.exp: Ditto.
6325 * gdb.python/py-shared.exp: Ditto.
6326 * gdb.python/py-symbol.exp: Ditto.
6327 * gdb.python/py-symtab.exp: Ditto.
6328 * gdb.python/py-type.exp: Ditto.
6329 * gdb.python/py-value.exp: Ditto.
6330 * gdb.python/python.exp: Ditto.
6331
38f12cfc
TT
63322010-09-30 Tom Tromey <tromey@redhat.com>
6333
6334 * gdb.base/anon.exp: New file.
6335 * gdb.base/anon.c: New file.
6336
9ae8282d
TT
63372010-09-30 Tom Tromey <tromey@redhat.com>
6338
6339 * gdb.base/completion.exp: Test completion through anonymous
6340 union.
6341 * gdb.base/break1.c (struct some_struct): Add anonymous union.
6342
e9e07ba6
JK
63432010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6344
6345 Fix printing parameters of inlined functions.
6346 * gdb.dwarf2/dw2-inline-param.exp: New file.
6347 * gdb.dwarf2/dw2-inline-param-main.c: New file.
6348 * gdb.dwarf2/dw2-inline-param.S: New file.
6349
cd2effb2
JK
63502010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6351
6352 PR corefiles/12071.
6353 * gdb.base/corefile.exp (quit with a process, no question: load core)
6354 (quit with a core file): New tests.
6355
bceffbf3
JK
63562010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6357
6358 Fix GDB crash on inferior calls with self-referencing classes.
6359 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
6360 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
6361 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
6362
1736ad11
JK
63632010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6364
6365 Fix lost siginfo_t for inferior calls.
6366 * gdb.base/siginfo-infcall.exp: New file.
6367 * gdb.base/siginfo-infcall.c: New file.
6368
a176ad92
JB
63692010-09-22 Joel Brobecker <brobecker@adacore.com>
6370
6371 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
6372
c2b0a229
JK
63732010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6374
6375 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
6376 New test.
6377 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
6378
e8ae22d1
JB
63792010-09-22 Joel Brobecker <brobecker@adacore.com>
6380
6381 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
6382 type of our const type.
6383
ec322823
SW
63842010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
6385
6386 * gdb.cp/pr12028.cc: New.
6387 * gdb.cp/pr12028.exp: New.
6388
72929c62
JB
63892010-09-22 Joel Brobecker <brobecker@adacore.com>
6390
6391 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
6392
875b4ff5 63932010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 6394 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
6395
6396 PR mi/11407
6397 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
6398 * gdb.mi/dw2-ref-missing-frame-main.c New File.
6399 * gdb.mi/dw2-ref-missing-frame.S New File.
6400 * gdb.mi/dw2-ref-missing-frame.exp New File.
6401
7155d578
TT
64022010-09-14 Tom Tromey <tromey@redhat.com>
6403
6404 PR symtab/8399:
6405 * gdb.threads/tls.exp: Remove kfail. Update expected output.
6406
515ed532
TT
64072010-09-14 Tom Tromey <tromey@redhat.com>
6408
6409 PR exp/11803:
6410 * gdb.threads/tls.exp: Use C++.
6411 (check_thread_local): Use K::another_thread_local.
6412 * gdb.threads/tls.c (class K): New.
6413 (another_thread_local): Now a member of K.
6414 (spin): Update. No longer K&R C.
6415
450ca57c
SW
64162010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
6417
6418 * gdb.cp/koenig.cc: created class for testing member lookup.
6419 * gdb.cp/koenig.exp: Added test for member lookup.
6420
dbd492a3
JK
64212010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6422
6423 Fix false FAILs on sourcetree topdir directory containing "kill".
6424 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
6425 source line matching regexp.
6426
8d4d924b
JK
64272010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6428
6429 * gdb.python/python.exp (set height 0, collect help from uiout)
6430 (verify help to uiout): New tests.
6431
8e64f2a0
JK
64322010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6433
6434 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
6435 is_lp64_target to check 64bit target.
6436
4569eed2
JK
64372010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6438
6439 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
6440 (test_ld) <powerpc64-*>: New.
6441
5e1617b1
DJ
64422010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6443
6444 * gdb.cp/templates.exp (test_template_args): Allow "struct".
6445
c767944b
DJ
64462010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6447
6448 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
6449 (FunctionArg::method): New function.
6450 (empty, arg): New variables.
6451 (main): Call arg.method.
6452 * gdb.cp/templates.exp (test_template_args): New function.
6453 (do_tests): Call it.
6454
27d3a3fc
UW
64552010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
6456
6457 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
6458 of "next" to proceed over pthread_exit call.
6459
55b7ce7f
UW
64602010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
6461
6462 * gdb.base/maint.exp: Avoid wildcards against potentially very long
6463 "maint print statistics" output to prevent expect timeouts.
6464
809df446
JK
64652010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6466
6467 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
6468 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6469 (test_float_rejected): ... here.
6470 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
6471 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6472 (test_float_rejected): ... here.
6473 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
6474 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6475 (test_float_rejected): ... here.
6476 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
6477 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
6478 (test_float_rejected): ... here.
6479
8464be76
DJ
64802010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
6481
6482 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
6483 before disabling hardware watchpoints.
6484 (test_inaccessible_watchpoint): Check that hardware watchpoints
6485 are used. Test for watchpoints on a constant address.
6486
14dba4b4
JK
64872010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6488
6489 * gdb.base/ui-redirect.exp: New file.
6490
3f3540e1 64912010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 6492 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
6493
6494 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
6495
0f254bb7
DE
64962010-08-31 Doug Evans <dje@google.com>
6497
6498 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
6499
03f17ccf
TT
65002010-08-30 Tom Tromey <tromey@redhat.com>
6501
6502 PR python/11792:
6503 * gdb.python/py-value.exp (test_subscript_regression): Add
6504 dynamic_type test.
6505
640617ad
DJ
65062010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
6507
6508 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
6509 instead of running to main. Do not test the main function.
6510 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
6511 Add new main.
6512
2ed91d1b
PA
65132010-08-26 Pedro Alves <pedro@codesourcery.com>
6514
6515 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
6516 one test.
6517
673bfd45
DE
65182010-08-24 Doug Evans <dje@google.com>
6519
6520 PR symtab/11942
6521 * gdb.dwarf2/dw4-sig-types.cc: New file.
6522 * gdb.dwarf2/dw4-sig-types.h: New file.
6523 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
6524 * gdb.dwarf2/dw4-sig-types.exp: New file.
6525
f9ffd4bb
TT
65262010-08-23 Tom Tromey <tromey@redhat.com>
6527
6528 PR python/11145:
6529 * gdb.python/py-value.c (Base, Derived): New types.
6530 (base): New global.
6531 * gdb.python/py-value.exp (test_subscript_regression): Add
6532 dynamic_cast test.
6533
d839c8a4
TT
65342010-08-23 Tom Tromey <tromey@redhat.com>
6535
6536 PR python/10676:
6537 * gdb.python/py-type.exp (test_fields): Add tests for type
6538 equality.
6539
702c2711
TT
65402010-08-23 Tom Tromey <tromey@redhat.com>
6541
6542 PR python/11915:
6543 * gdb.python/py-type.exp (test_fields): Add tests for array.
6544
832bafd3
KS
65452010-08-23 Keith Seitz <keiths@redhat.com>
6546
6547 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
6548 have any children. Create a new abbrev for it.
6549 Add missing terminal sequence to .debug_abbrev.
6550
c37bf528
KS
65512010-08-20 Keith Seitz <keiths@redhat.com>
6552
6553 PR symtab/11465:
6554 * gdb.dwarf2/pr11465.exp: New test.
6555 * gdb.dwarf2/pr11465.S: New file.
6556 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
6557 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
6558
4572cbac
TJB
65592010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
6560
6561 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
6562 registers. Update data sets with the new v2_double element in the
6563 VSX register union. Add vector_register3_vr data set for the AltiVec
6564 registers. Use gdb_test_no_output instead of send_gdb.
6565
e7fbb131
PA
65662010-08-19 Pedro Alves <pedro@codesourcery.com>
6567
6568 * gdb.python/py-shared.exp: New file, factored out from
6569 python.exp.
6570 * gdb.python/py-shared.c: New file.
6571 * gdb.python/py-shared-sl.c: New file.
6572 * gdb.python/python-1.c: New file.
6573 * gdb.python/python-sl.c: Delete.
6574 * gdb.python/python.c: Mention python-1.c.
6575 * gdb.python/python.exp: Move shared library tests to
6576 py-shared.exp.
6577 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
6578 (MISCELLANEOUS): New.
6579 (clean mostlyclean): Also remove $MISCELLANEOUS.
6580
d30f5e1f
DE
65812010-08-19 Doug Evans <dje@google.com>
6582
6583 PR exp/11926
6584 * gdb.base/printcmds.exp (test_float_accepted): New function.
6585 Move existing float tests there. Add tests for floats with suffixes.
6586 (test_float_rejected): New function.
6587 * gdb.java/jv-print.exp (test_float_accepted): New function.
6588 (test_float_rejected): New function.
6589 * gdb.objc/print.exp: New file.
6590 * gdb.pascal/print.exp: New file.
6591 * lib/objc.exp: New file.
6592
7b3fd859
PM
65932010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
6594
6595 * gdb.base/default.exp (info set): Avoid full buffer error and force
6596 reading up to final gdb prompt.
6597 (show): Likewise.
6598
c92817ce
TT
65992010-08-18 Tom Tromey <tromey@redhat.com>
6600
6601 PR symtab/11919:
6602 * gdb.base/completion.exp: Add test.
6603
f1208f9e
DE
66042010-08-18 Doug Evans <dje@google.com>
6605
6606 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
6607 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
6608 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
6609 Simplify, early exit if runto_main fails.
6610 * gdb.fortran/exprs.exp: load_lib fortran.exp.
6611 (set_lang_fortran): Moved to lib/fortran.exp.
6612 * gdb.fortran/types.exp: load_lib fortran.exp.
6613 (set_lang_fortran): Moved to lib/fortran.exp.
6614 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
6615 * gdb.java/jprint.exp (set_lang_java): Ditto.
6616 * gdb.java/jv-exp.exp: load_lib java.exp.
6617 If set_lang_java fails, issue a warning instead of failure to be
6618 consistent with other set_lang_foo uses.
6619 (set_lang_java): Moved to lib/java.exp.
6620 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
6621 If set_lang_java fails, issue a warning instead of failure to be
6622 consistent with other set_lang_foo uses.
6623 * gdb.pascal/types.exp: load_lib pascal.exp.
6624 (set_lang_pascal): Moved to lib/pascal.exp.
6625 * lib/fortran.exp: New file.
6626 * lib/java.exp (set_lang_java): New function.
6627 * lib/pascal.exp (set_lang_pascal): New function.
6628
2f06b485
YQ
66292010-08-18 Yao Qi <yao@codesourcery.com
6630
6631 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
6632 func_nofb_start and func_loopfb_start, so that address of functions
6633 is equal to these labels on Thumb.
6634
96e25403
YQ
66352010-08-18 Yao Qi <yao@codesourcery.com>
6636
6637 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
6638 to reflect latest c source file.
6639
36e6adc4
JK
66402010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6641
6642 * gdb.cp/infcall-dlopen.exp: New file.
6643 * gdb.cp/infcall-dlopen.cc: New file.
6644 * gdb.cp/infcall-dlopen-lib.cc: New file.
6645
f431efe5
PA
66462010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6647 Pedro Alves <pedro@codesourcery.com>
6648
6649 PR breakpoints/11371
6650
6651 * gdb.base/watch-cond-infcall.exp: New file.
6652 * gdb.base/watch-cond-infcall.c: New file.
6653
06a64a0b
TT
66542010-08-16 Tom Tromey <tromey@redhat.com>
6655
6656 * gdb.base/help.exp: Update.
6657 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
6658 watchpoint.
6659 (test_watch_location): New proc.
6660 (test_watchpoint_in_big_blob): Delete watchpoint.
6661 * gdb.base/watchpoint.c (func5): New function.
6662 (main): Call it.
6663
70ebf4ed
DE
66642010-08-16 Doug Evans <dje@google.com>
6665
6666 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
6667
ca5c20b6
PM
66682010-08-11 Phil Muldoon <pmuldoon@redhat.com>
6669
6670 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
6671 tests.
6672
7346b668
KW
66732010-08-11 Ken Werner <ken.werner@de.ibm.com>
6674
6675 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
6676 * gdb.base/gnu_vector.c: New File.
6677 * gdb.base/gnu_vector.exp: Likewise.
6678
cb2e07a6
PM
66792010-08-11 Phil Muldoon <pmuldoon@redhat.com>
6680
6681 * gdb.python/python.c: New File.
6682 * gdb.python/python-sl.c: New File.
6683 * gdb.python/python.exp: Test solib_address and decode_line
6684 * functions.
6685
5da1313b
JK
66862010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6687
6688 * gdb.python/python.exp (show height, set height 10)
6689 (verify pagination beforehand, verify pagination beforehand: q)
6690 (gdb.execute does not page, verify pagination afterwards)
6691 (verify pagination afterwards: q): New.
6692
49c3ccf7
DE
66932010-08-02 Doug Evans <dje@google.com>
6694
6695 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
6696 because of an older gcc, change test2
6697 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
6698 to unsupported.
6699
42c0c4f1
KH
67002010-07-30 Kazu Hirata <kazu@codesourcery.com>
6701
6702 * gdb.base/break-always.exp: Do not expect full paths to file
6703 names.
6704 * gdb.base/commands.exp: Likewise.
6705
d3765805
DE
67062010-07-30 Doug Evans <dje@google.com>
6707
c98ee71b
DE
6708 * gdb.cp/temargs.exp: For new tests that require newer gccs,
6709 xfail them when run with older gccs.
6710
fd961404
DE
6711 * lib/gdb.exp (build_executable): Forward "c++" option to
6712 get_compiler_info.
6713
999adef4
DE
6714 * gdb.python/py-type.exp (test_template): Mark as xfail tests
6715 "python print ttype.template_argument(1)" and
6716 "python print isinstance(ttype.template_argument(1), gdb.Value)"
6717 if using gcc 4.4 or earlier.
6718
d3765805
DE
6719 * gdb.base/valgrind-db-attach.exp: Use unique test name for
6720 attach-to-debugger handling.
6721
1276c759
JK
67222010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6723
6724 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
6725 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
6726 (main): Use copyreloc.
6727 * gdb.base/prelink.exp (split debug of executable)
6728 (.dynbss vs. .bss address shift): New tests.
6729
88caa9b9
PA
67302010-07-29 Pedro Alves <pedro@codesourcery.com>
6731
6732 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
6733 in gdb_test_multiple.
6734
c6f2ac43
PA
67352010-07-29 Pedro Alves <pedro@codesourcery.com>
6736
6737 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
6738 environment.
6739
326fd672
TT
67402010-07-28 Tom Tromey <tromey@redhat.com>
6741
6742 PR python/11060:
6743 * gdb.python/py-type.c (Temargs): New template.
6744 (temvar): New variable.
6745 * gdb.python/py-type.exp (test_template): New proc.
6746
3ce3b1ba
PA
67472010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
6748
6749 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
6750 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
6751
34eaf542
TT
67522010-07-28 Tom Tromey <tromey@redhat.com>
6753
6754 PR c++/9946:
6755 * gdb.cp/temargs.exp: New file.
6756 * gdb.cp/temargs.cc: New file.
6757
d41b819e
JK
67582010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6759
6760 * gdb.base/help.exp (help disassemble): Update the content.
6761
26ab7092
JK
67622010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6763
6764 * gdb.threads/ia64-sigill.exp: New file.
6765 * gdb.threads/ia64-sigill.c: New file.
6766
5283e9e1
TT
67672010-07-27 Tom Tromey <tromey@redhat.com>
6768
6769 * gdb.opt/inline-cmds.c (ATTR): New define.
6770 (func1): Use it.
6771 (func2): Likewise.
6772 (func3): Likewise.
6773 (outer_inline1): Likewise.
6774 (outer_inline2): Likewise.
6775 * gdb.opt/inline-bt.c (ATTR): New define.
6776 (func1): Use it.
6777 (func2): Likewise.
6778 * gdb.opt/inline-locals.c (ATTR): New define.
6779 (func1): Use it.
6780 (func2): Likewise.
6781
e992ef73
TT
67822010-07-27 Tom Tromey <tromey@redhat.com>
6783
6784 * gdb.stabs/gdb11479.c (hack): New function.
6785 (test): Use it.
6786 (test2): Use it.
6787 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
6788 (int32_search_buf, int64_search_buf): No longer static.
6789 (x): Remove.
6790 * gdb.base/relocate.c (hack): New function.
6791
5374244e
PM
67922010-07-27 Phil Muldoon <pmuldoon@redhat.com>
6793
6794 * gdb.python/py-value.exp (test_inferior_function_call): New function.
6795 * gdb.python/py-value.c (func1): New function.
6796 (func2): Likewise.
6797
a99aee83
CV
67982010-07-26 Corinna Vinschen <vinschen@redhat.com>
6799
6800 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
6801 as not to clash with .data section.
6802
a04ba985
JG
68032010-07-26 Jerome Guitton <guitton@adacore.com>
6804
6805 * gdb.base/code_elim.exp: New file.
6806 * gdb.base/code_elim1.c: New file.
6807 * gdb.base/code_elim2.c: New file.
6808
23bd0f7c
PA
68092010-07-21 Pedro Alves <pedro@codesourcery.com>
6810
6811 PR symtab/11827
6812
6813 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
6814 (some_volatile_enum): New variable.
6815 * gdb.base/printcmds.exp (test_print_enums): New.
6816 <top level>: Call it.
6817
883df6dd
SW
68182010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
6819
6820 * gdb.cp/fpointer.cc: New test.
6821 * gdb.cp/fpointer.exp: New test.
6822
569b05a5
JK
68232010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6824
6825 * gdb.base/solib-nodir.exp: New file.
6826 * lib/gdb.exp (runto): New case for a GDB internal error.
6827
51d7d803
JK
68282010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6829 Ulrich Weigand <uweigand@de.ibm.com>
6830 Tom Tromey <tromey@redhat.com>
6831
6832 * gdb.base/charset-malloc.c: New file.
6833 * gdb.base/charset.c (malloc_stub): New prototype.
6834 (main): Call it instead of malloc itself.
6835 * gdb.base/charset.exp: Use only prepare_for_testing.
6836 (binfile): Remove the variable.
6837
c0edd9ed
JK
68382010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6839
6840 Make core files the process_stratum.
6841 * gdb.base/corefile.exp (run: load core again)
6842 (run: sanity check we see the core file, run: with core)
6843 (run: core file is cleared, attach: load core again)
6844 (attach: sanity check we see the core file, attach: with core)
6845 (attach: core file is cleared): New tests.
6846 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
6847
3cbaedff
KW
68482010-07-14 Ken Werner <ken.werner@de.ibm.com>
6849
6850 * gdb.arch/altivec-abi.exp: New tests.
6851
91158a56
TT
68522010-07-13 Tom Tromey <tromey@redhat.com>
6853
6854 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
6855 (main): Use it.
6856 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
6857
0f5238ed
TT
68582010-07-13 Tom Tromey <tromey@redhat.com>
6859
6860 * gdb.base/label.exp: New file.
6861 * gdb.base/label.c: New file.
6862
add265ae
L
68632010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
6864 H.J. Lu <hongjiu.lu@intel.com>
6865
6866 * lib/gdb.exp (is_ilp32_target): New.
6867 (is_lp64_target): Likewise.
6868
6869 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
6870 target.
6871 * gdb.arch/amd64-disp-step.exp: Likewise.
6872 * gdb.arch/amd64-dword.exp: Likewise.
6873 * gdb.arch/amd64-i386-address.exp: Likewise.
6874 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 6875
add265ae
L
6876 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
6877 target.
6878 * gdb.arch/i386-bp_permanent.exp: Likewise.
6879 * gdb.arch/i386-byte.exp: Likewise.
6880 * gdb.arch/i386-disp-step.exp: Likewise.
6881 * gdb.arch/i386-gnu-cfi.exp: Likewise.
6882 * gdb.arch/i386-prologue.exp: Likewise.
6883 * gdb.arch/i386-size-overlap.exp: Likewise.
6884 * gdb.arch/i386-size.exp: Likewise.
6885 * gdb.arch/i386-sse.exp: Likewise.
6886 * gdb.arch/i386-unwind.exp: Likewise.
6887 * gdb.arch/i386-word.exp: Likewise.
6888
6889 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
6890 test only when building 64-bit executables. Do not hard-code
6891 -m64 option.
6892
2dfb8c17
DE
68932010-07-07 Doug Evans <dje@google.com>
6894
6895 * lib/gdb.exp (gdb_test_list_exact): New function.
6896 * gdb.base/default.exp (show convenience): Call it, add tests for
6897 $_sdata = void, $_thread = 0.
6898
4e5799b6
JK
68992010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6900 Joel Brobecker <brobecker@adacore.com>
6901
6902 Fix re-run of PIE executable, PR shlibs/11776.
6903 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
6904 Remove $displacement_main to match the solib-svr4.c change. New "kill"
6905 and re-"run" of the inferior.
6906
1a219cc7
JK
69072010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6908 Joel Brobecker <brobecker@adacore.com>
6909
6910 Cope with missing /usr/sbin/prelink.
6911 * lib/prelink-support.exp (prelink_no):
6912 <result == 1 && $output is "no such file or directory">: New.
6913 (prelink_yes): Likewise. Return on failed prelink_no.
6914
5e3b36f8
JK
69152010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6916 Joel Brobecker <brobecker@adacore.com>
6917
6918 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
6919 build_executable by build_executable_own_libs. Replace "prelink -R"
6920 execution by a call of prelink_yes. Comment why "prelink -r" needs no
6921 change.
6922 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
6923 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
6924 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
6925 Replace build_executable by build_executable_own_libs's function
6926 build_executable_own_libs.
6927 (prelinkNO): Create new stub to call prelink_no.
6928 (prelinkYES): Create new stub to call prelink_yes.
6929 (test_attach): Rename calls of copy to file_copy.
6930 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
6931 (copy): Move to ...
6932 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
6933 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
6934 * gdb.base/prelink.exp: Disable testcase also for is_remote and
6935 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
6936 special flags by gdb_compile_shlib. Replace second gdb_compile by
6937 build_executable_own_libs. Replace "prelink -R" execution by a call of
6938 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
6939 a second call of prelink_yes. Replace restart commands by
6940 clean_restart.
6941 (prelink): Rename to ...
6942 (seen displacement message): ... this test. Extend its expectation
6943 strictness.
6944
86e4bafc
JK
69452010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6946
6947 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
6948 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
6949 displacement message exactly once.
6950
3cd07d20
JK
69512010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6952 Joel Brobecker <brobecker@adacore.com>
6953
6954 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
6955 its restore after the <$relink_args != ""> loop. new comment.
6956
0a1e94c7
JK
69572010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6958 Joel Brobecker <brobecker@adacore.com>
6959
6960 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
6961 code for it. New variable relink_args.
6962 (prelinkYES): Call prelinkNO.
6963 (test_attach): Accept new parameter relink_args. Re-prelink the binary
6964 in such case. Move the core code to ...
6965 (test_attach_gdb): ... a new function. Send GDB command "file".
6966 Extend expected "Attaching to " string.
6967
2f70bcfb
TT
69682010-07-02 Tom Tromey <tromey@redhat.com>
6969
6970 * gdb.base/bitops.exp: Remove extraneous "pass".
6971
a17ac5b0
TT
69722010-07-02 Ken Werner <ken.werner@de.ibm.com>
6973
6974 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
6975
dc10affe
PA
69762010-07-01 Pedro Alves <pedro@codesourcery.com>
6977
d41c0fc8
PA
6978 * gdb.base/help.exp: Adjust expected output.
6979
69802010-07-01 Pedro Alves <pedro@codesourcery.com>
6981
6982 * gdb.base/help.exp: Adjust expected output.
dc10affe 6983
0a600c36
JK
69842010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6985
6986 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
6987 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
6988 c++/11702.
6989
37cc8bfe
JK
69902010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6991 Doug Evans <dje@google.com>
6992
6993 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
6994 add .dynamic entry'.
6995
254e6b9e
DE
69962010-06-29 Doug Evans <dje@google.com>
6997
6998 Test PR c++/11702.
6999 * gdb.cp/m-static.exp: Add testcase.
7000 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
7001
595939de 70022010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
7003 Tom Tromey <tromey@redhat.com>
7004 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
7005
7006 * gdb.python/py-inferior.c: New File.
7007 * gdb.python/py-infthread.c: New File.
7008 * gdb.python/py-inferior.exp: New File.
7009 * gdb.python/py-infthread.exp: New File.
7010
98751a41
JK
70112010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7012
7013 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
7014 (ptype ::C::OtherFileClass typedefs): New.
7015 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
7016 (C::OtherFileClass::cOtherFileClassVar2): New.
7017 (C::OtherFileClass::cOtherFileClassVar_use): Use also
7018 cOtherFileClassVar2.
7019 (C::cOtherFileType2, C::cOtherFileVar2): New.
7020 (C::cOtherFileVar_use): use also cOtherFileVar2.
7021 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
7022
41f62f39
JK
70232010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7024
7025 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
7026 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
7027 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
7028 (print ::C::cOtherFileVar)
7029 (whatis C::OtherFileClass::cOtherFileClassType)
7030 (whatis ::C::OtherFileClass::cOtherFileClassType)
7031 (print C::OtherFileClass::cOtherFileClassVar)
7032 (print ::cOtherFileClassVar)
7033 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
7034 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
7035 trailing content.
7036 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
7037 (C::OtherFileClass::cOtherFileClassVar)
7038 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
7039 (C::cOtherFileVar, C::cOtherFileVar_use): New.
7040
af53d231
JK
70412010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7042
7043 Test PR c++/11703 and PR gdb/1448.
7044 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
7045 gdb/1448.
7046
9655fd1a
JK
70472010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7048
7049 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
7050 (main) <rtti_data>: New.
7051 * gdb.cp/virtbase.exp (print rtti_data): New.
7052
824cc8dd
JK
70532010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7054 Joel Brobecker <brobecker@adacore.com>
7055
7056 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
7057
6036c742
JK
70582010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7059
7060 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
7061
de6a0421
DE
70622010-06-28 Doug Evans <dje@google.com>
7063
7064 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
7065
b2dae948
DE
70662010-06-27 Doug Evans <dje@google.com>
7067
7068 * gdb.cp/m-static.exp: Update expected test output.
7069
0f3bb72e
PH
70702010-06-25 Paul Hilfinger <hilfinger@adacore.com>
7071
889bf7c5
PA
7072 * gdb.gdb/selftest.exp: Adjust expected message for
7073 capturing start-up runtime.
0f3bb72e 7074
bc9f0842
TT
70752010-06-25 Tom Tromey <tromey@redhat.com>
7076
7077 PR python/10808:
7078 * gdb.python/python.exp: Add new tests.
7079
099ef718
SW
70802010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
7081
7082 * gdb.cp/operator.cc: Created an import loop.
7083 * gdb.cp/operator.exp: Added testcase for import loop.
7084
5868a632
JK
70852010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7086
7087 Test PR python/11407.
7088 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
7089 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
7090 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
7091 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
7092 executable_nofb and executable_fb. New variables srcsfile, objsfile,
7093 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
7094 binfile. Call gdb_compile with clean_restart twice.
7095 (func_nofb print, func_nofb backtrace, func_loopfb print)
7096 (func_loopfb backtrace): New.
7097
af76db58
JK
70982010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7099
7100 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
7101 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
7102 by a hand made one.
7103 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
7104 i?86 requirement. Remove variables srcfile and binfile. New variable
7105 sources, executable_nofb and executable_fb. Call prepare_for_testing.
7106
f2c7657e
UW
71072010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7108
7109 * gdb.cell/dwarfaddr.exp: New file.
7110 * gdb.cell/dwarfaddr.S: New file.
7111
628fe4e4
JK
71122010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7113
7114 Test PR 9436.
7115 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
7116
f1421989
HZ
71172010-06-24 Hui Zhu <teawater@gmail.com>
7118
7119 * gdb.base/eval.exp: New file.
7120
d03285ec
UW
71212010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7122
7123 * gdb.cell/fork.exp: New file.
7124 * gdb.cell/fork.c: Likewise.
7125 * gdb.cell/fork-spu.c: Likewise.
7126
41b2c92d
PM
71272010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
7128
7129 * lib/gdb.exp (banned_variables_traced): New global variable.
7130 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
7131 (gdb_init): Use `trace add variable' instead of obsolete
7132 `trace variable'.
7133
d5bc977f
DE
71342010-06-21 Doug Evans <dje@google.com>
7135
7136 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
7137
d2ed6730
UW
71382010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7139
7140 * gdb.arch/spu-ls.exp: New file.
7141 * gdb.arch/spu-ls.c: Likewise.
7142
6aed2dbc
SS
71432010-06-18 Stan Shebs <stan@codesourcery.com>
7144
7145 * gdb.threads/thread-specific.exp: Add tests of $_thread.
7146
e0756905
UW
71472010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7148
7149 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
7150 * gdb.base/watch-cond.exp: Likewise.
7151 * gdb.python/py-breakpoint.exp: Likewise.
7152
d8053d4d
PA
71532010-06-18 Pedro Alves <pedro@codesourcery.com>
7154
7155 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
7156 clean_restart, make sure every test has a distinct message, and
7157 that messages don't include the executable' full path.
7158
81ce510c
DE
71592010-06-17 Doug Evans <dje@google.com>
7160
7161 * gdb.arch/i386-size.exp: Updated expected output for
7162 DISASSEMBLY_OMIT_FNAME.
7163
65d79d4b
SDJ
71642010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7165 Sergio Durigan Junior <sergiodj@redhat.com>
7166
7167 * gdb.base/watch-notconst.c: New file.
7168 * gdb.base/watch-notconst.S: New file.
7169 * gdb.base/watch-notconst2.c: New file.
7170 * gdb.base/watch-notconst2.S: New file.
7171 * gdb.base/watch-notconst.exp: New file.
7172 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
7173 (func4): Add operations on `global_ptr_ptr'.
7174 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
7175 routine to test watchpoints created with a constant expression.
7176 (test_inaccessible_watchpoint): Include tests for watchpoints
7177 created with a constant expression.
7178
df0f4836
KB
71792010-06-14 Kevin Buettner <kevinb@redhat.com>
7180
7181 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
7182 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
7183 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
7184 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
7185 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
7186 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
7187 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
7188 of `_start'.
7189
b769def5
UW
71902010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7191
7192 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
7193 not supported on the target.
7194 * gdb.mi/mi-nonstop-exit.exp: Likewise.
7195 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
7196 * gdb.mi/mi-nsintrall.exp: Likewise.
7197 * gdb.mi/mi-nsmoribund.exp: Likewise.
7198 * gdb.mi/mi-nsthrexec.exp: Likewise.
7199
d914c394
SS
72002010-06-11 Stan Shebs <stan@codesourcery.com>
7201
7202 * gdb.base/permissions.exp: New file.
7203
72042010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
7205
7206 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
7207 does not support ELF executable class.
7208
f3ce5b9c
UW
72092010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7210
7211 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
7212
8e46892c
JK
72132010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7214
7215 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
7216 (runto): Catch "The target does not support running in non-stop mode.".
7217
6cc55c64
MS
72182010-06-11 Michael Snyder <msnyder@vmware.com>
7219
7220 * gdb.base/setshow.exp (set language asm): Don't use
7221 gdb_test_no_output, fails on some targets.
7222
caddefa4
UW
72232010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7224
7225 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
7226 * gdb.cp/pr9167.exp: Likewise.
7227
468b1aa7
UW
72282010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7229
7230 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
7231
5c3552dc
UW
72322010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7233
7234 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
7235
02e6fe6a
UW
72362010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7237
7238 * gdb.base/charset.c (main): Make sure malloc gets linked in.
7239
0e03807e
TT
72402010-06-11 Tom Tromey <tromey@redhat.com>
7241
7242 PR gdb/9977, PR exp/11636::
7243 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
7244 (pieces_test_f6): Update expected output.
7245
2bdf28a0
JK
72462010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7247
7248 * gdb.base/moribund-step.exp: New.
7249
f6978de9
MS
72502010-06-08 Michael Snyder <msnyder@vmware.com>
7251
7252 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 7253 * gdb.ada/boolean_expr.exp:
f6978de9
MS
7254 * gdb.ada/frame_args.exp: Ditto.
7255 * gdb.ada/lang_switch.exp: Ditto.
7256 * gdb.ada/ptype_arith_binop.exp: Ditto.
7257 * gdb.ada/ref_param.exp: Ditto.
7258 * gdb.ada/type_coercion.exp:Ditto.
7259
7260 * gdb.asm/asm-source.exp: Ditto.
7261
7262 * gdb.base/attach.exp: Ditto.
7263 * gdb.base/bitfields2.exp: Ditto.
7264 * gdb.base/call-signal-resume.exp: Ditto.
7265 * gdb.base/callfuncs.exp: Ditto.
7266 * gdb.base/commands.exp: Ditto.
7267 * gdb.base/dbx.exp: Ditto.
7268 * gdb.base/default.exp: Ditto.
7269 * gdb.base/dump.exp: Ditto.
7270 * gdb.base/exprs.exp: Ditto.
7271 * gdb.base/freebpcmd.exp: Ditto.
7272 * gdb.base/interrupt.exp: Ditto.
7273 * gdb.base/list.exp: Ditto.
7274 * gdb.base/long_long.exp: Ditto.
7275 * gdb.base/maint.exp: Ditto.
7276 * gdb.base/ptype.exp: Ditto.
7277 * gdb.base/return.exp: Ditto.
7278 * gdb.base/setshow.exp: Ditto.
7279 * gdb.base/sigbpt.exp: Ditto.
7280 * gdb.base/sigrepeat.exp: Ditto.
7281
7282 * gdb.cp/classes.exp: Ditto.
7283
7284 * gdb.dwarf2/dw2-restore.exp: Ditto.
7285
7286 * gdb.gdb/selftest.exp: Ditto.
7287
7288 * gdb.multi/base.exp: Ditto.
7289 * gdb.multi/bkpt-multi-exec.exp: Ditto.
7290
7291 * gdb.python/py-block.exp: Ditto.
7292 * gdb.python/py-prettyprint.exp: Ditto.
7293 * gdb.python/py-template.exp: Ditto.
7294
7295 * gdb.server/ext-attach.exp: Ditto.
7296 * gdb.server/ext-run.exp: Ditto.
7297 * gdb.server/server-mon.exp: Ditto.
7298
7299 * gdb.threads/fork-thread-pending.exp: Ditto.
7300 * gdb.threads/hand-call-in-threads.exp: Ditto.
7301 * gdb.threads/interrupted-hand-call.exp: Ditto.
7302 * gdb.threads/linux-dp.exp: Ditto.
7303 * gdb.threads/manythreads.exp: Ditto.
7304 * gdb.threads/print-threads.exp: Ditto.
7305 * gdb.threads/pthreads.exp: Ditto.
7306 * gdb.threads/schedlock.exp: Ditto.
7307 * gdb.threads/thread-unwindonsignal.exp: Ditto.
7308 * gdb.threads/threadapply.exp: Ditto.
7309
de7ff789
MS
73102010-06-08 Michael Snyder <msnyder@vmware.com>
7311
889bf7c5 7312 * gdb.ada/exec_changed.exp:
de7ff789
MS
7313 Use ".*" instead of "" as wildcard regexp.
7314
7315 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
7316 * gdb.base/call-ar-st.exp: Ditto.
7317 * gdb.base/checkpoint.exp: Ditto.
7318 * gdb.base/default.exp: Ditto.
7319 * gdb.base/dump.exp: Ditto.
7320 * gdb.base/ending-run.exp: Ditto.
7321 * gdb.base/fileio.exp: Ditto.
7322 * gdb.base/miscexprs.exp: Ditto.
7323 * gdb.base/pointers.exp: Ditto.
7324 * gdb.base/readline.exp: Ditto.
7325 * gdb.base/reread.exp: Ditto.
7326 * gdb.base/restore.exp: Ditto.
7327 * gdb.base/shlib-call.exp: Ditto.
7328 * gdb.base/valgrind-db-attach.exp: Ditto.
7329 * gdb.base/volatile.exp: Ditto.
7330 * gdb.base/watchpoints.exp: Ditto.
7331
7332 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
7333
7334 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
7335 * gdb.python/py-value.exp: Ditto.
7336
7337 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
7338 * gdb.trace/circ.exp: Ditto.
7339 * gdb.trace/collection.exp: Ditto.
7340 * gdb.trace/packetlen.exp: Ditto.
7341 * gdb.trace/passc-dyn.exp: Ditto.
7342 * gdb.trace/report.exp: Ditto.
7343 * gdb.trace/tfile.exp: Ditto.
7344 * gdb.trace/tfind.exp: Ditto.
7345 * gdb.trace/while-dyn.exp: Ditto.
7346
3bebe2f2
JK
73472010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7348
7349 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
7350
5c631832
JK
73512010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7352
7353 Test PR 10640.
7354 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
7355
4c3376c8
SW
73562010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
7357
7358 * gdb.cp/koenig.exp: Test for ADL operators.
7359 * gdb.cp/koenig.cc: Added ADL operators.
7360 * gdb.cp/operator.exp: New test.
7361 * gdb.cp/operator.cc: New test.
7362
dc226d5a
MS
73632010-06-04 Michael Snyder <msnyder@vmware.com>
7364
dfb88a23
MS
7365 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
7366 * gdb.base/pending.exp: Ditto.
f7ae76b3 7367
dc226d5a
MS
7368 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
7369
967cf477
DE
73702010-06-04 Doug Evans <dje@google.com>
7371
7372 * gdb.python/py-prettyprint.exp: Add new test for enabled and
7373 disabled printers.
7374 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
7375 (enable_lookup_function): New function.
7376
eb801841
TT
73772010-06-04 Tom Tromey <tromey@redhat.com>
7378
7379 * gdb.python/py-value.exp (test_value_hash): Don't test equality
7380 of hash and id.
7381
38979823
JK
73822010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7383
7384 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
7385 newline.
7386 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
7387 (empty verbose non-noisy clear, empty verbose noisy clear)
7388 (empty non-verbose noisy clear): Likewise.
7389
35ec993f
MS
73902010-06-03 Michael Snyder <msnyder@vmware.com>
7391
7392 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
7393 * gdb.base/display.exp: Ditto.
7394 * gdb.base/find.exp: Ditto.
7395 * gdb.base/ifelse.exp: Ditto.
7396 * gdb.base/multi-forks.exp: Ditto.
7397 * gdb.base/recurse.exp: Ditto.
7398 * gdb.base/setshow.exp: Ditto.
7399 * gdb.base/value-double-free.exp: Ditto.
7400 * gdb.base/watch-vfork.exp: Ditto.
7401 * gdb.base/watch_thread_num.exp: Ditto.
7402 * gdb.base/watchpoint-solib.exp: Ditto.
7403 * gdb.base/watchpoint.exp: Ditto.
7404 * gdb.base/watchpoints.exp: Ditto.
7405
7406 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
7407 * gdb.cp/overload.exp: Ditto.
7408 * gdb.cp/virtfunc.exp: Ditto.
7409
7410 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
7411
889bf7c5 7412 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
7413 Replace gdb_test with gdb_test_no_output.
7414
889bf7c5 7415 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
7416 Replace gdb_test with gdb_test_no_output.
7417 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
7418 * gdb.threads/watchthreads.exp: Ditto.
7419 * gdb.threads/watchthreads2.exp: Ditto.
7420
7421 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
7422 * gdb.trace/tfind.exp: Ditto.
7423
c22decce
JB
74242010-06-03 Joel Brobecker <brobecker@adacore.com>
7425
7426 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
7427 successful test if message is the empty string.
7428
fd5700c7
JK
74292010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7430
7431 * gdb.fortran/module.exp (stopped language detection): New test.
7432
f55ee35c
JK
74332010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7434
7435 Support DW_TAG_module as separate namespaces.
7436 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
7437 gdb.fortran/library-module-lib.f90: New.
7438 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
7439 (print i): Remove.
7440 (continue to breakpoint: i-is-1, print var_i value 1)
7441 (continue to breakpoint: i-is-2, print var_i value 2)
7442 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
7443 (print var_d, print var_i value 14, ptype modmany, complete `modm)
7444 (complete `modmany, complete `modmany`, complete `modmany`var)
7445 (show language, setting breakpoint at module): New tests.
7446 * gdb.fortran/module.f90 (module mod): Remove.
7447 (module mod1, module mod2, module modmany, subroutine sub1)
7448 (subroutine sub2, program module): New.
7449
b8e8282f
JK
74502010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7451
7452 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
7453 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
7454 * gdb.cp/anon-union.exp (pass): Rename to ...
7455 (print z 2): ... here.
b8e8282f 7456
019ebafc
MS
74572010-06-02 Michael Snyder <msnyder@vmware.com>
7458
e68d8fd4
MS
7459 * gdb.trace/actions.exp: Use gdb_test_no_output.
7460 * gdb.trace/circ.exp: Ditto.
7461 * gdb.trace/packetlen.exp: Ditto.
7462 * gdb.trace/save-trace.exp: Ditto.
7463 * gdb.trace/tracecmd.exp: Ditto.
7464 * gdb.trace/tsv.exp: Ditto.
7465
12b5d08a
MS
7466 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
7467 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
7468 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
7469 * gdb.threads/manythreads.exp: Ditto.
7470 * gdb.threads/print-threads.exp: Ditto.
7471 * gdb.threads/pthreads.exp: Ditto.
7472 * gdb.threads/schedlock.exp: Ditto.
7473 * gdb.threads/staticthreads.exp: Ditto.
7474 * gdb.threads/thread-specific.exp: Ditto.
7475 * gdb.threads/thread-unwindonsignal.exp: Ditto.
7476 * gdb.threads/threadapply.exp: Ditto.
7477 * gdb.threads/watchthreads.exp: Ditto.
7478 * gdb.threads/watchthreads2.exp: Ditto.
7479
89493308
MS
7480 * gdb.python/py-block.exp: Use gdb_test_no_output.
7481 * gdb.python/py-prettyprint.exp: Ditto.
7482 * gdb.python/py-template.exp: Ditto.
7483 * gdb.python/py-value.exp: Ditto.
7484
7485 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
7486 * gdb.reverse/watch-reverse.exp: Ditto.
7487
7488 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
7489 * gdb.server/ext-run.exp: Ditto.
7490
019ebafc
MS
7491 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
7492 * gdb.dwarf2/dw2-compressed.exp: Ditto.
7493 * gdb.dwarf2/dw2-intercu.exp: Ditto.
7494 * gdb.dwarf2/dw2-intermix.exp: Ditto.
7495 * gdb.dwarf2/dw2-producer.exp: Ditto.
7496 * gdb.dwarf2/mac-fileno.exp: Ditto.
7497
7498 * gdb.gdb/observer.exp: Use gdb_test_no_output.
7499 * gdb.gdb/selftest.exp: Ditto.
7500
7501 * gdb.multi/base.exp: Use gdb_test_no_output.
7502
7503 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
7504
3e0ca3a5
JK
75052010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7506
7507 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
7508
9db70545
MS
75092010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
7510
a8d52276
MS
7511 * gdb.cp/class2.exp: Use gdb_test_no_output.
7512 * gdb.cp/classes.exp: Ditto.
7513 * gdb.cp/extern-c.exp: Ditto.
7514 * gdb.cp/inherit.exp: Ditto.
7515 * gdb.cp/maint.exp: Ditto.
7516 * gdb.cp/mb-inline.exp: Ditto.
7517 * gdb.cp/mb-templates.exp: Ditto.
7518 * gdb.cp/method2.exp: Ditto.
7519 * gdb.cp/misc.exp: Ditto.
7520 * gdb.cp/ovldbreak.exp: Ditto.
7521 * gdb.cp/punctuator.exp: Ditto.
7522 * gdb.cp/templates.exp: Ditto.
7523 * gdb.cp/virtbase.exp: Ditto.
7524
889bf7c5 7525 * gdb.threads/attach-stopped.exp:
9db70545 7526 Replace uses of send_gdb / gdb_expect.
889bf7c5 7527 * gdb.threads/attachstop-mt.exp:
9db70545 7528 Replace uses of send_gdb / gdb_expect.
889bf7c5 7529 * gdb.threads/gcore-thread.exp:
9db70545 7530 Replace uses of send_gdb / gdb_expect.
889bf7c5 7531 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
7532 Replace uses of send_gdb / gdb_expect.
7533 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 7534 * gdb.threads/print-threads.exp:
9db70545
MS
7535 Replace uses of send_gdb / gdb_expect.
7536 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
7537 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
7538 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
7539
7540 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
7541 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
7542 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
7543 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
7544 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
7545 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
7546 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
7547 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
7548 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
7549 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
7550 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
7551
359cc68c
JK
75522010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7553
7554 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
7555
7d3fe98e
SW
75562010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
7557
7558 * gdb.cp/koenig.exp: Added new test case.
7559 * gdb.cp/koenig.cc: Ditto.
7560
27d3a1a2
MS
75612010-06-01 Michael Snyder <msnyder@vmware.com>
7562
7563 * gdb.base/arithmet.exp: Use gdb_test_no_output.
7564 * gdb.base/arrayidx.exp: Ditto.
7565 * gdb.base/attach.exp: Ditto.
7566 * gdb.base/auxv.exp: Ditto.
7567 * gdb.base/bigcre.exp: Ditto.
7568 * gdb.base/break-always.exp: Ditto.
7569 * gdb.base/break-interp.exp: Ditto.
7570 * gdb.base/break.exp: Ditto.
7571 * gdb.base/breakpoint-shadow.exp: Ditto.
7572 * gdb.base/call-ar-st.exp: Ditto.
7573 * gdb.base/call-sc.exp: Ditto.
7574 * gdb.base/call-signal-resume.exp: Ditto.
7575 * gdb.base/callfuncs.exp: Ditto.
7576 * gdb.base/catch-syscall.exp: Ditto.
7577 * gdb.base/charset.exp: Ditto.
7578 * gdb.base/code-expr.exp: Ditto.
7579 * gdb.base/commands.exp: Ditto.
7580 * gdb.base/cond-expr.exp: Ditto.
7581 * gdb.base/condbreak.exp: Ditto.
7582 * gdb.base/cursal.exp: Ditto.
7583 * gdb.base/cvexpr.exp: Ditto.
7584 * gdb.base/default.exp: Ditto.
7585 * gdb.base/del.exp: Ditto.
7586 * gdb.base/detach.exp: Ditto.
7587 * gdb.base/display.exp: Ditto.
7588 * gdb.base/ena-dis-br.exp: Ditto.
7589 * gdb.base/eval-skip.exp: Ditto.
7590 * gdb.base/foll-fork.exp: Ditto.
7591 * gdb.base/foll-vfork.exp: Ditto.
7592 * gdb.base/frame-args.exp: Ditto.
7593 * gdb.base/funcargs.exp: Ditto.
7594 * gdb.base/gcore-buffer-overflow.exp: Ditto.
7595 * gdb.base/gdbvars.exp: Ditto.
7596 * gdb.base/help.exp: Ditto.
7597 * gdb.base/ifelse.exp: Ditto.
7598 * gdb.base/included.exp: Ditto.
7599 * gdb.base/list.exp: Ditto.
7600 * gdb.base/macscp.exp: Ditto.
7601 * gdb.base/maint.exp: Ditto.
7602 * gdb.base/multi-fork.exp: Ditto.
7603 * gdb.base/overlays.exp: Ditto.
7604 * gdb.base/page.exp: Ditto.
7605 * gdb.base/pending.exp: Ditto.
7606 * gdb.base/pointers.exp: Ditto.
7607 * gdb.base/pr11022.exp: Ditto.
7608 * gdb.base/prelink.exp: Ditto.
7609 * gdb.base/printcmds.exp: Ditto.
7610 * gdb.base/psymtab.exp: Ditto.
7611 * gdb.base/randomize.exp: Ditto.
7612 * gdb.base/relational.exp: Ditto.
7613 * gdb.base/relocate.exp: Ditto.
7614 * gdb.base/remote.exp: Ditto.
7615 * gdb.base/sepdebug.exp: Ditto.
7616 * gdb.base/set-lang-auto.exp: Ditto.
7617 * gdb.base/setshow.exp: Ditto.
7618 * gdb.base/setvar.exp: Ditto.
7619 * gdb.base/signals.exp: Ditto.
7620 * gdb.base/signull.exp: Ditto.
7621 * gdb.base/sigstep.exp: Ditto.
7622 * gdb.base/sizeof.exp: Ditto.
7623 * gdb.base/solib-disc.exp: Ditto.
7624 * gdb.base/store.exp: Ditto.
7625 * gdb.base/structs.exp: Ditto.
7626 * gdb.base/structs2.exp: Ditto.
7627 * gdb.base/subst.exp: Ditto.
7628 * gdb.base/term.exp: Ditto.
7629 * gdb.base/trace-commands.exp: Ditto.
7630 * gdb.base/unwindonsignal.exp: Ditto.
7631 * gdb.base/valgrind-db-attach.exp: Ditto.
7632 * gdb.base/varargs.exp: Ditto.
7633 * gdb.base/watch-cond.exp: Ditto.
7634 * gdb.base/watch_thread_num.exp: Ditto.
7635 * gdb.base/watchpoint-cond-gone.exp: Ditto.
7636 * gdb.base/watchpoint.exp: Ditto.
7637 * gdb.base/whatis-exp.exp: Ditto.
7638
f8d3bf8f
MS
76392010-06-01 Michael Snyder <msnyder@vmware.com>
7640
7641 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
7642 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
7643 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
7644 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
7645 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
7646 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
7647 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
7648 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
7649 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
7650 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
7651 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
7652 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
7653 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
7654 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
7655 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
7656
3f9e0d32
JK
76572010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7658
7659 * gdb.base/commands.exp (begin commands on watch): Remove excessive
7660 trailing newline.
7661 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
7662 * gdb.java/jmisc.exp (p *args\n): Rename to ...
7663 (p *args): ... here and remove excessive trailing newline.
7664
f629457d
JB
76652010-05-31 Joel Brobecker <brobecker@adacore.com>
7666
7667 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
7668
09eef106
JK
76692010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
7670
7671 Accept the new Linux kernel "t (tracing stop)" string.
7672 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
7673 Update comment.
7674 (state_wait) <T (tracing stop)>: New.
7675 (main): Update the state_wait expect string.
7676
94f31136
PA
76772010-05-28 Pedro Alves <pedro@codesourcery.com>
7678
7679 * limits.c, limits.exp: Delete files.
7680 * Makefile.in (clean mostlyclean): Adjust.
7681 * tracecmd.exp: Adjust.
7682
096554ab
JK
76832010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7684
7685 * gdb.base/tui-layout.exp: New.
7686
27d3a1a2 76872010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 7688
889bf7c5 7689 * gdb.reverse/break-precsave.exp:
bcd2dc50 7690 Replace uses of send_gdb / gdb_expect.
889bf7c5 7691 * gdb.reverse/break-reverse.exp:
bcd2dc50 7692 Replace uses of send_gdb / gdb_expect.
889bf7c5 7693 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 7694 Replace uses of send_gdb / gdb_expect.
889bf7c5 7695 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 7696 Replace uses of send_gdb / gdb_expect.
889bf7c5 7697 * gdb.reverse/finish-precsave.exp:
bcd2dc50 7698 Replace uses of send_gdb / gdb_expect.
889bf7c5 7699 * gdb.reverse/finish-reverse.exp:
bcd2dc50 7700 Replace uses of send_gdb / gdb_expect.
889bf7c5 7701 * gdb.reverse/i386-precsave.exp:
bcd2dc50 7702 Replace uses of send_gdb / gdb_expect.
889bf7c5 7703 * gdb.reverse/i386-reverse.exp:
bcd2dc50 7704 Replace uses of send_gdb / gdb_expect.
889bf7c5 7705 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 7706 Replace uses of send_gdb / gdb_expect.
889bf7c5 7707 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 7708 Replace uses of send_gdb / gdb_expect.
889bf7c5 7709 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 7710 Replace uses of send_gdb / gdb_expect.
889bf7c5 7711 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 7712 Replace uses of send_gdb / gdb_expect.
889bf7c5 7713 * gdb.reverse/machinestate.exp:
bcd2dc50 7714 Replace uses of send_gdb / gdb_expect.
889bf7c5 7715 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 7716 Replace uses of send_gdb / gdb_expect.
889bf7c5 7717 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 7718 Replace uses of send_gdb / gdb_expect.
889bf7c5 7719 * gdb.reverse/solib-precsave.exp:
bcd2dc50 7720 Replace uses of send_gdb / gdb_expect.
889bf7c5 7721 * gdb.reverse/solib-reverse.exp:
bcd2dc50 7722 Replace uses of send_gdb / gdb_expect.
889bf7c5 7723 * gdb.reverse/step-precsave.exp:
bcd2dc50 7724 Replace uses of send_gdb / gdb_expect.
889bf7c5 7725 * gdb.reverse/step-reverse.exp:
bcd2dc50 7726 Replace uses of send_gdb / gdb_expect.
889bf7c5 7727 * gdb.reverse/until-precsave.exp:
bcd2dc50 7728 Replace uses of send_gdb / gdb_expect.
889bf7c5 7729 * gdb.reverse/until-reverse.exp:
bcd2dc50 7730 Replace uses of send_gdb / gdb_expect.
889bf7c5 7731 * gdb.reverse/watch-precsave.exp:
bcd2dc50 7732 Replace uses of send_gdb / gdb_expect.
889bf7c5 7733 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
7734 Replace uses of send_gdb / gdb_expect.
7735
3def43e0
JK
77362010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7737
7738 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
7739 excessive newline.
7740
27d3a1a2 77412010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
7742
7743 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
7744 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
7745 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
7746 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
7747 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
7748 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
7749 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
7750 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
7751 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
7752 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
7753 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
7754 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
7755 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
7756 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
7757 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
7758 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
7759 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
7760 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
7761 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 7762
27d3a1a2 77632010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 7764
22454424
MS
7765 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
7766 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
7767
7768 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
7769 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
7770 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
7771
889bf7c5 7772 * gdb.reverse/consecutive-reverse.exp:
22454424 7773 Replace uses of send_gdb / gdb_expect.
889bf7c5 7774 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
7775 Replace uses of send_gdb / gdb_expect.
7776
7777 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
7778 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
7779 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 7780 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
7781 Replace uses of send_gdb / gdb_expect.
7782 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
7783 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
7784 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
7785 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
7786 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
7787 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
7788 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
7789 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
7790 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
7791
77922010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 7793
22454424 7794 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 7795
22454424 7796 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 7797
22454424
MS
7798 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
7799 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
7800 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
7801 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
7802 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
7803 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
7804 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
7805 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
7806 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 7807
6e5f2c59
TT
78082010-05-25 Tom Tromey <tromey@redhat.com>
7809
7810 * gdb.base/macscp.exp: Add missing space after setup_kfail.
7811
bbc8b958
TT
78122010-05-25 Tom Tromey <tromey@redhat.com>
7813
7814 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
7815 argument order.
7816 * gdb.base/macscp.exp: Fix setup_kfail argument order.
7817 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
7818 order.
7819 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
7820 order.
7821 * gdb.base/call-sc.exp (setup_kfails): Remove.
7822 (setup_compiler_kfails): Remove.
7823 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
7824 argument order.
7825 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
7826 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
7827 (advancei): Fix setup_kfail argument order.
7828 * gdb.base/radix.exp: Fix setup_kfail argument order.
7829 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
7830 order.
7831 * gdb.base/structs.exp (setup_kfails): Remove.
7832 (setup_compiler_kfails): Fix setup_kfail argument order.
7833 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
7834 order.
7835 * gdb.java/jmain.exp: Fix setup_kfail argument order.
7836 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
7837 setup_kfail argument order.
7838 * gdb.cp/overload.exp: Fix setup_kfail argument order.
7839
83d1babf
TT
78402010-05-25 Tom Tromey <tromey@redhat.com>
7841
7842 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
7843
6acb16a2
MS
78442010-05-25 Michael Snyder <msnyder@vmware.com>
7845
7846 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
7847 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
7848 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
7849 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
7850 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
7851 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
7852 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
7853 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
7854 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
7855 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
7856 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
7857 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
7858 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
7859 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
7860 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
7861 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
7862 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
7863 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
7864 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
7865 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
7866 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
7867 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
7868 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
7869 * gdb.base/default.exp: Replace send_gdb with gdb_test.
7870 * gdb.base/define.exp: Replace send_gdb with gdb_test.
7871 * gdb.base/display.exp: Replace send_gdb with gdb_test.
7872 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
7873 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
7874 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
7875 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
7876 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
7877 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
7878 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
7879 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
7880 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
7881 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
7882 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
7883 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
7884 * gdb.base/help.exp: Replace send_gdb with gdb_test.
7885 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
7886 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
7887 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
7888 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
7889 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
7890 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
7891 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
7892 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 7893 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
7894
78952010-05-25 Doug Evans <dje@google.com>
7896
7897 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
7898 gdb.string_to_argv.
ad3986f0 7899
d3b1e874
TT
79002010-05-21 Tom Tromey <tromey@redhat.com>
7901
7902 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
7903 Call it.
7904 * gdb.dwarf2/pieces.S: Update.
7905 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
7906
cb826367
TT
79072010-05-21 Tom Tromey <tromey@redhat.com>
7908
7909 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
7910 Call it.
7911 * gdb.dwarf2/pieces.c (struct C): New.
7912 (f6): New function.
7913 * gdb.dwarf2/pieces.S: Replace.
7914
74de6778
TT
79152010-05-21 Tom Tromey <tromey@redhat.com>
7916
7917 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
7918 Call it.
7919
afd74c5f
TT
79202010-05-21 Tom Tromey <tromey@redhat.com>
7921
7922 * gdb.dwarf2.pieces.exp: New file.
7923 * gdb.dwarf2.pieces.S: New file.
7924 * gdb.dwarf2.pieces.c: New file.
7925
a7b75dfd 79262010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 7927 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
7928
7929 * lib/gdb.exp (gdb_test_no_output): New function.
7930 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
7931 when testing commands that should produce no output.
7932
c81c812a
JB
79332010-05-17 Joel Brobecker <brobecker@adacore.com>
7934
7935 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
7936 parameter that we want to watch being a constant.
7937
0cce5bd9
JB
79382010-05-17 Joel Brobecker <brobecker@adacore.com>
7939
7940 * gdb.ada/cond_lang: New testcase.
7941
47050449
JB
79422010-05-17 Joel Brobecker <brobecker@adacore.com>
7943
7944 * lib/gdb.exp (banned_variables): New variable/constant.
7945 (gdb_init): Add write trace on variables listed in banned_variables.
7946 (gdb_finish): Remove write traces on variables listed in
7947 banned_variables.
7948
77c01586
JB
79492010-05-17 Joel Brobecker <brobecker@adacore.com>
7950
7951 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
7952 * gdb.cp/koenig.exp: Likewise.
7953
88d4aea7
PM
79542010-05-14 Phil Muldoon <pmuldoon@redhat.com>
7955
889bf7c5 7956 PR python/11482
88d4aea7
PM
7957
7958 * gdb.python/py-value.exp (test_value_hash): New function.
7959
f5a010c0
PM
79602010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
7961
7962 PR exp/11530.
7963 * gdb.base/gdb11530.c: New file.
7964 * gdb.base/gdb11530.exp: New file.
7965
8ef4892f
JK
79662010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7967
7968 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
7969 * gdb.dwarf2/dw2-modula2-self-type.S: New.
7970
7322dca9
SW
79712010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
7972
7973 * gdb.cp/koenig.exp: New test.
7974 * gdb.cp/koenig.cc: New test program.
7975
02e7ea18
JB
79762010-05-05 Joel Brobecker <brobecker@adacore.com>
7977
7978 Remove the use of prms_id and bug_id throughout the testsuite.
7979
e1c34c5d
PM
79802010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
7981
7982 PR exp/11349.
7983 * testsuite/gdb.cp/ref-types.exp: Add test to examine
7984 use a reference local variable.
7985
8e1d0c49
JK
79862010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7987
7988 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
7989 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
7990 variable different_dir. Move debugfile into a full directory pathname
7991 under DIFFERENT_DIR.
7992 * lib/gdb.exp (separate_debug_filename): Remove.
7993 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
7994 variable debug_dir and mkdir of it. Update function comments.
7995
e66408ed
PA
79962010-04-29 Pedro Alves <pedro@codesourcery.com>
7997
7998 PR gdb/11557
7999
8000 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
8001 files.
8002
d7b32ed3
PM
80032010-04-29 Phil Muldoon <pmuldoon@redhat.com>
8004
889bf7c5 8005 * gdb.python/py-param.exp: New File.
d7b32ed3 8006
6aecb9c2
JB
80072010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
8008
8009 * gdb.base/default.exp: Fix "set language" test.
8010
bdf92a1c
PM
80112010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
8012
8013 PR breakpoints/11531.
8014 * gdb.base/gdb11531.c: New file.
8015 * gdb.base/gdb11531.exp: New file.
8016
3f172e24
TT
80172010-04-26 Tom Tromey <tromey@redhat.com>
8018
8019 * gdb.base/completion.exp: Add tests for completion and deprecated
8020 commands.
8021
64af4c92
JK
80222010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8023
8024 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
8025 (print /x char_array): Escape curly brackets.
8026
492928e4
JK
80272010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8028
8029 Fix deadlock on looped list of loaded shared objects.
8030 * gdb.base/solib-corrupted.exp: New.
8031
66d09542
DE
80322010-04-23 Doug Evans <dje@google.com>
8033
8034 * gdb.python/py-section-script.c: New file.
8035 * gdb.python/py-section-script.exp: New file.
8036 * gdb.python/py-section-script.py: New file.
8037
8bd10a10
CM
80382010-04-20 Chris Moller <cmoller@redhat.com>
8039
8040 PR 10179
8041
8042 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
8043 * gdb.base/pr10179-a.c:
8044 * gdb.base/pr10179-b.c:
8045 * gdb.base/pr10179.exp: New files.
8046
c0201579
JK
80472010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8048
8049 Fix crashes on dangling display expressions.
8050 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
8051 is SEP.
8052 (lib_flags): Remove the "debug" keyword.
8053 (libsepdebug): New variable for iterating new loop.
8054 (save_pf_prefix): New variable wrapping the loop.
8055 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
8056 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
8057
793b0ff8
PM
80582010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
8059
8060 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
8061
097f51f7
PM
80622010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
8063
8064 PR stabs/11479.
8065 * gdb.stabs/gdb11479.exp: New file.
8066 * gdb.stabs/gdb11479.c: New file.
8067
9a22f0d0
PM
80682010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
8069
8070 * gdb.base/charset.c (Strin16, String32): New variables.
8071 * gdb.base/charset.exp (gdb_test): Test correct display
8072 of 16 or 32 bit strings.
8073
80742010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
8075
8076 PR 9167
8077 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
8078 * gdb.cp/pr9167.cc: New file.
8079 * gdb.cp/pr9167.exp: New file.
8080
8081
6e354e5e
PM
80822010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
8083
8084 PR pascal/11492.
8085 * gdb.pascal/gdb11492.pas: New file.
8086 * gdb.pascal/gdb11492.exp: New file.
8087
be942545
JB
80882010-04-20 Joel Brobecker <brobecker@adacore.com>
8089
1667e6e3 8090 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 8091
0c3acc09
JB
80922010-04-20 Joel Brobecker <brobecker@adacore.com>
8093
8094 * gdb.ada/dyn_loc: New testcase.
8095
ec31cde5
CM
80962010-04-20 Chris Moller <cmoller@redhat.com>
8097
8098 PR 10867
889bf7c5 8099
ec31cde5
CM
8100 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
8101 * gdb.cp/pr10687.cc: New file.
8102 * gdb.cp/pr10687.exp: New file.
8103
8104
ce4b0682
SDJ
81052010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8106 Sergio Durigan Junior <sergiodj@redhat.com>
8107
8108 * gdb.fortran/logical.exp: New testcase.
8109 * gdb.fortran/logical.f90: New file.
8110
3436961f
DE
81112010-04-19 Doug Evans <dje@google.com>
8112
8113 * gdb.base/help.exp (help source): Update expected output.
8114
4d836c09
JK
81152010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8116
8117 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
8118 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
8119 gdb_exit and return.
8120 (executable): New variable.
8121 (binfile): Use it.
8122
6149aea9
PA
81232010-04-19 Pedro Alves <pedro@codesourcery.com>
8124
8125 PR breakpoints/8554.
8126
8127 * gdb.trace/save-trace.exp: Adjust.
8128
ed41462c
L
81292010-04-17 H.J. Lu <hongjiu.lu@intel.com>
8130
8131 PR corefiles/11511
8132 * gdb.arch/system-gcore.exp: New.
8133 * gdb.arch/gcore.c: Likewise.
8134
3f7b2faa
DE
81352010-04-15 Doug Evans <dje@google.com>
8136
fa33c3cd
DE
8137 * gdb.python/py-progspace.c: New file.
8138 * gdb.python/py-progspace.exp: New file.
8139
3f7b2faa
DE
8140 * gdb.base/source.exp: Add tests for "source -s".
8141
79f283fe
PM
81422010-04-14 Phil Muldoon <pmuldoon@redhat.com>
8143
8144 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
8145 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
8146 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
8147 * gdb.python/py-mi.exp: New test for to_string returning None.
8148
fc8eb08a
PM
81492010-04-12 Phil Muldoon <pmuldoon@redhat.com>
8150
8151 * gdb.python/py-breakpoint.c: Make result global.
8152
26e197f6
JK
81532010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8154
8155 Fix non-GNU make compatibility.
8156 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
8157
adc36818
PM
81582010-04-09 Phil Muldoon <pmuldoon@redhat.com>
8159
8160 * gdb.python/py-breakpoint.exp: New File.
8161 * gdb.python/py-breakpoint.C: Ditto.
8162
64e17368
SS
81632010-04-08 Stan Shebs <stan@codesourcery.com>
8164
8165 * gdb.trace/actions.exp: Clear default-collect.
8166 * gdb.trace/save-trace.exp: Clear default-collect.
8167
fff5cc64
PM
81682010-04-08 Phil Muldoon <pmuldoon@redhat.com>
8169
8170 * gdb.python/py-value: Add null string variable.
8171 (test_lazy_string): Test zero length, NULL address lazy
8172 strings.
8173
a055a187
L
81742010-04-07 H.J. Lu <hongjiu.lu@intel.com>
8175
8176 * gdb.arch/i386-avx.c: New.
8177 * gdb.arch/i386-avx.exp: Likewise.
8178
8179 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
8180
96e39866
DE
81812010-04-06 Doug Evans <dje@google.com>
8182
8183 * gdb.base/source-test.gdb: New file.
8184 * gdb.base/source.exp: Test source -v.
8185
5984a431
UW
81862010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8187
8188 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
8189
ec8a089a
PM
81902010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
8191
8192 * gdb.stabs/aout.sed: Convert all backslash to double backslash
8193 within one line, unless it is followed by a double quote.
8194 * gdb.stabs/hppa.sed: Idem.
8195 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
8196 * gdb.stabs/weird.exp: Check for correct parsing of
8197 char and string constants.
ec8a089a
PM
8198 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
8199 in .stabs to .stabx substitution.
8200
fce3c1f0
SS
82012010-04-05 Stan Shebs <stan@codesourcery.com>
8202
8203 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
8204 constant global.
8205 * gdb.trace/tfile.exp: Try to print them.
8206
d77f58be
SS
82072010-04-04 Stan Shebs <stan@codesourcery.com>
8208
8209 * gdb.base/completion.exp: Update for new "info watchpoints".
8210 * gdb.base/default.exp: Ditto.
8211 * gdb.base/help.exp: Ditto.
8212 * gdb.base/watchpoint.exp: Ditto.
8213 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 8214
af54718e
SS
82152010-04-04 Stan Shebs <stan@codesourcery.com>
8216
8217 * gdb.trace/tfile.exp: Sharpen tfind test.
8218
74d1f91e
JK
82192010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8220
8221 * gdb.base/break-entry.exp: New.
8222
eb8e76db 82232010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 8224 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
8225
8226 * gdb.reverse/i386-sse-reverse.exp: New file.
8227 * gdb.reverse/i386-sse-reverse.c: New file.
8228
bf65cad8
PA
82292010-04-02 Pedro Alves <pedro@codesourcery.com>
8230
8231 * gdb.trace/tfind.exp: Adjust expected disassembly output.
8232
fff87407
SS
82332010-04-01 Stan Shebs <stan@codesourcery.com>
8234
8235 * gdb.trace/actions.exp: Tweak expected output.
8236 * gdb.trace/while-stepping.exp: Tweak expected output.
8237
fe01d668
L
82382010-04-01 H.J. Lu <hongjiu.lu@intel.com>
8239
8240 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
8241
86b17b60
PA
82422010-04-01 Pedro Alves <pedro@codesourcery.com>
8243
8244 * gdb.base/commands.exp: Adjust.
8245 * gdb.cp/extern-c.exp: Adjust.
8246
2c58c0a9
PA
82472010-04-01 Pedro Alves <pedro@codesourcery.com>
8248
8249 * gdb.trace/collection.c (local_test_func): Define a local struct,
8250 and instanciate it.
8251
0db9b91c
PA
82522010-04-01 Pedro Alves <pedro@codesourcery.com>
8253
8254 * gdb.trace/collection.exp (gdb_collect_args_test)
8255 (gdb_collect_argarray_test): XFAIL the tests that assume the
8256 argarray argument's elements are collected.
8257
8072405b
JK
82582010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
8259
8260 * gdb.dwarf2/dw2-bad-parameter-type.exp,
8261 gdb.dwarf2/dw2-bad-parameter-type.S: New.
8262
8bf6485c
SS
82632010-03-31 Stan Shebs <stan@codesourcery.com>
8264
8265 * gdb.trace/save-trace.exp: Test save/restore of default-collect
8266 and tracepoint conditionals.
8267 (gdb_verify_tracepoints): Delete unused return.
8268
fd7f724a
KS
82692010-03-26 Keith Seitz <keiths@redhat.com>
8270
8271 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
8272 appear in the output before main.
8273 Remove KFAIL for gdb/2215 aka bz 9320.
8274
8d9e7719
DE
82752010-03-30 Doug Evans <dje@google.com>
8276
0906dd0b
DE
8277 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
8278 by dejagnu.
8279 * gdb.arch/amd64-dword.exp: Ditto.
8280
8d9e7719
DE
8281 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
8282 match.
8283 (break printf): Ditto.
8284
1da644f0
SW
82852010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
8286
8287 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
8288 gcc < 4.4.
8289 * gdb.cp/shadow.exp: Ditto.
8290
a8121990
PA
82912010-03-29 Pedro Alves <pedro@codesourcery.com>
8292
8293 * gdb.trace/collection.exp (run_trace_experiment): Make sure
8294 "tstart" is silent.
8295
6e79d367
PA
82962010-03-29 Pedro Alves <pedro@codesourcery.com>
8297
8298 * gdb.trace/collection.exp (executable): New.
8299 (binfile): Use it.
8300 (fpreg, spreg, pcreg): New.
8301 (test_register): Use gdb_test_multiple. Pass /x to print.
8302 (prepare_for_trace_test): New.
8303 (run_trace_experiment): Use "continue", not gdb_run_cmd.
8304 (gdb_collect_args_test, gdb_collect_argstruct_test)
8305 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
8306 prepare_for_trace_test.
8307 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
8308 fpreg, spreg and pcreg.
8309 (gdb_collect_expression_test, gdb_collect_globals_test): Use
8310 prepare_for_trace_test.
8311 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
8312 try to detect tracing support here. Don't set breakpoints at
8313 `begin' or `end' here.
8314 <global scope>: Use clean_restart. Run to main before checking
8315 for tracing support. Check for for tracing support here.
8316
09248348
JK
83172010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8318
8319 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
8320 " as $displacement" to "seen displacement message".
8321
d350db38
PA
83222010-03-28 Pedro Alves <pedro@codesourcery.com>
8323
8324 * gdb.trace/while-dyn.exp (executable): New variable.
8325 (binfile): Use it.
8326 (test_while_stepping): New function. Move most tests here. Call
8327 it once for each of the while-stepping, stepping and ws aliases.
8328
907af001
UW
83292010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8330
8331 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
8332 that do not provide the tagless_struct type name at all.
8333 (test_print_anon_union): Do not check value of uninitialized
8334 union member. Do not use cp_test_ptype_class, so we can accept
8335 "long" as well as "long int".
8336
610197fd
PA
83372010-03-26 Pedro Alves <pedro@codesourcery.com>
8338
8339 * gdb.trace/tfile.c (tohex, bin2hex): New.
8340 (write_error_trace_file): Hexify error description.
8341
6c28cbf2
SS
83422010-03-25 Stan Shebs <stan@codesourcery.com>
8343
8344 * gdb.trace/tfile.c: Generate an additional trace file, improve
8345 portability.
8346 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
8347 files in a better way.
8348
e62b8c7e
KS
83492010-03-25 Keith Seitz <keiths@redhat.com>
8350
8351 * gdb.java/jprint.exp: XFAIL printing of static class members
8352 because of GCC debuginfo problem.
8353
82ccf5a5
JK
83542010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8355
8356 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
8357
293e2f9e
DJ
83582010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
8359
8360 * gdb.base/completion.exp: Allow long instead of long int.
8361 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
8362 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
8363 variable p.
8364 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
8365 * gdb.base/pointers.exp: Allow long instead of long int.
8366 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
8367 * gdb.base/step-line.exp: Allow a directory before the source file name.
8368
95a42b64
TT
83692010-03-24 Tom Tromey <tromey@redhat.com>
8370
8371 PR breakpoints/9352:
8372 * gdb.base/default.exp: Update.
8373 * gdb.base/commands.exp: Update.
8374 * gdb.cp/extern-c.exp: Test setting commands on multiple
8375 breakpoints at once.
8376
2390201f
DJ
83772010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
8378
8379 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
8380 if gdb,nosignals.
8381 * gdb.base/watchpoints.c: Do not include unnecessary headers.
8382 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
8383 exited".
8384
8c9a6790
SS
83852010-03-24 Stan Shebs <stan@codesourcery.com>
8386
8387 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
8388
a6c727b2
DJ
83892010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
8390
8391 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
8392 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
8393 argument. Handle "short" and "long".
8394 (Top level): Pass overprototyped output for old_fptr and xptr.
8395
4dfd5423
PA
83962010-03-23 Pedro Alves <pedro@codesourcery.com>
8397
8398 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
8399 format strings and add casts to avoid compiler warnings.
8400
84012010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
8402
8403 * lib/trace-support.exp (gdb_trace_setactions):
8404 Don't expect whitespace after ">" prompt.
8405 * gdb.trace/actions.exp: Adjust for output changes.
8406 * gdb.trace/while-stepping.exp: Likewise.
8407
c847d045
JK
84082010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8409
8410 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
8411 and r157645).
8412
5f717f1d
JK
84132010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8414
8415 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
8416 New.
8417
7d6d51d5
DJ
84182010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
8419
8420 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
8421 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
8422
3b11a015
SS
84232010-03-19 Stan Shebs <stan@codesourcery.com>
8424
8425 * gdb.trace/ax.exp: New file.
8426
d7d158ed
DE
84272010-03-19 Doug Evans <dje@google.com>
8428
6bb85cd1
DE
8429 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
8430 output from gcc.
8431
d7d158ed
DE
8432 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
8433 named /usr/sbin/prelink<foo>.
8434
4daf5ac0
SS
84352010-03-18 Stan Shebs <stan@codesourcery.com>
8436
8437 * gdb.trace/circ.exp: Test circular-trace-buffer.
8438 * gdb.trace/tfile.exp: Update tstatus test.
8439
e8d05480
JB
84402010-03-18 Joel Brobecker <brobecker@adacore.com>
8441
8442 * gdb.dwarf2/dw2-anonymous-func.S: New file.
8443 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
8444
441b986a
UW
84452010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8446
8447 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
8448
4247603b
PA
84492010-03-18 Pedro Alves <pedro@codesourcery.com>
8450
8451 * gdb.base/default.exp: Adjust the expected output of the finish
8452 and until commands when the inferior is not being run.
8453
13387711
SW
84542010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
8455
8456 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
8457 * gdb.cp/nsusing.exp: Ditto.
8458
6e31430b
TT
84592010-03-15 Tom Tromey <tromey@redhat.com>
8460
8461 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
8462 * gdb.cp/userdef.cc (operator==): New function.
8463 (main): New locals mem1, mem2.
8464
e2d69cb5
JZ
84652010-03-15 Jie Zhang <jie@codesourcery.com>
8466
8467 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
8468 Declare and use new loadtimeout variable.
8469
f572f0a9
DJ
84702010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
8471
8472 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
8473 Use gdb_load later.
8474
51f4c0b0
PA
84752010-03-14 Pedro Alves <pedro@codesourcery.com>
8476
8477 * gdb.base/solib-disc.c (main): Make format of fprintf a string
8478 literal. Add missing endlines to prints to stderr.
8479
1c809c68
TT
84802010-03-12 Tom Tromey <tromey@redhat.com>
8481
8482 PR c++/9708:
8483 * gdb.cp/m-static.exp: Add regression test.
8484 * gdb.cp/m-static.cc (method): New method.
8485 (main): Call it.
8486
00ae8fef
SW
84872010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
8488
8489 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
8490 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
8491
759f0f0b
PA
84922010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
8493
21e24d21
PA
8494 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
8495
84962010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
8497
759f0f0b
PA
8498 * lib/gdb.exp (skip_stl_tests): New.
8499 (gdb_compile): Symbian needs -ldl.
8500 (shlib_target_file): New.
8501 (shlib_symbol_file): New.
8502 (gdb_load_shlibs): Use shlib_target_file.
8503 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
8504 * gdb.cp/exception.exp: Use skip_stl_tests.
8505 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
8506 * gdb.cp/try_catch.exp: Use skip_stl_tests.
8507 * gdb.cp/mb-templates.exp: Ditto.
8508 * gdb.base/commands.exp: Relax regexes.
8509 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
8510 shlib_target_file and shlib_symbol_file.
8511 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
8512 sections.
8513 * gdb.base/ending-run.exp: Accept E32Main for symbian.
8514 * gdb.base/solib-disc.exp: Use
8515 shlib_target_file and shlib_symbol_file.
8516 * gdb.base/unload.exp: Don't skip on symbian. Use
8517 shlib_target_file and shlib_symbol_file.
8518 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
8519
6a8f2671 85202010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 8521
6a8f2671
PA
8522 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
8523 * gdb.trace/report.exp: Adjust for x86 and x86_64.
8524 Issue a tfind end before looking for a tracepoint frame.
8525 * gdb.trace/tfind.exp: Adjust tstatus output.
8526 Adjust disassembly output.
8527 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
8528
ccf26247
JK
85292010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8530
8531 * gdb.base/break-interp.exp: Create new displacement parameter value
8532 for the test_ld calls.
8533 (reach): New parameter displacement, verify its content. New push of
8534 pf_prefix "reach-$func:". Import global expect_out.
8535 (test_core): New parameter displacement, verify its content. New push
8536 of pf_prefix "core:". New command "set verbose on". Import global
8537 expect_out.
8538 (test_attach): New parameter displacement, verify its content. New
8539 push of pf_prefix "attach:". New command "set verbose on". Import
8540 global expect_out.
8541 (test_ld): New parameter displacement, pass it to the reach, test_core
8542 and test_attach calls and verify its content in the "ld.so exit" test.
8543 * gdb.base/prelink.exp: Remove gdb_exit and final return.
8544 (prelink): Update expected text, use gdb_test.
8545
e469c7fb
DE
85462010-03-10 Doug Evans <dje@google.com>
8547
8548 * gdb.base/checkpoint.exp: Fix comment.
8549 Lengthen timeout while doing >600 checkpoints test.
8550 Rename duplicate "kill all one" test to keep test names unique.
8551
60e1c644
PA
85522010-03-10 Pedro Alves <pedro@codesourcery.com>
8553
8554 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
8555
cec808ec
KS
85562010-03-08 Keith Seitz <keiths@redhat.com>
8557
889bf7c5
PA
8558 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
8559 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
8560 (dm_type_long): New function.
8561 (dm_type_unsigned_short): New function.
8562 (dm_type_unsigned_long): New function.
8563 (myint): New typedef.
8564 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
8565 long, unsigned shor and long, operator char*, and typedef.
8566 (test_lookup_operator_functions): Add operator char* test.
8567 (test_paddr_operator_functions): Likewise.
8568 (test_paddr_overloaded_functions): Use probe values for
8569 short, long, and unsigned short and long.
8570 (test_paddr_hairy_functions): If the demangler probe detected
8571 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
8572 demangler.
8573 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
8574 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
8575 and "print null_pmf".
8576 Add test "ptype a.*pmf".
8577 * gdb.cp/overload.exp: Allow optional "int" to appear with
8578 "short" and "long".
8579 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
8580 long expect value for men_overload1arg.
8581 Allow "int" to appear with "short" and "long".
8582 When testing "info break", add argument for main (void).
8583 Also allow "int" to appear with "short" and "long".
8584 Ditto with "unsigned" and "long long".
cec808ec
KS
8585 * gdb.java/jmain.exp: Do not enclose methods names in single
8586 quotes.
8587 * gdb.java/jmisc.exp: Likewise.
8588 * gdb.java/jprint.exp: Likewise.
8589 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
8590
8591 From Jan Kratochvil <jan.kratochvil@redhat.com>:
8592 * gdb.cp/exception.exp (backtrace after first throw)
8593 (backtrace after second throw): Allow a namespace before __cxa_throw.
8594 (backtrace after first catch, backtrace after second catch): Allow
8595 a namespace before __cxa_begin_catch.
8596
8597 * gdb.cp/cpexprs.exp: New file.
8598 * gdb.cp/cpexprs.cc: New file.
8599
8600 From Daniel Jacobowitz <dan@codesourcery.com>
8601 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
8602 to use string_to_regexp.
8603 (ctor, dtor): New functions. Use them to match constructor
8604 and destructor function types.
8605 (Top level): Use runto_main.
8606
f870a310
TT
86072010-03-05 Tom Tromey <tromey@redhat.com>
8608
8609 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
8610 gdb.target_charset.
8611 (pp_ns.to_string): Likewise.
8612
0c199f28
KS
86132010-03-04 Keith Seitz <keiths@redhat.com>
8614
8615 * gdb.cp/overload.exp: Test that the filename portion of a linespec
8616 can be quoted. Test that both the filename and function/line
8617 portions can be quoted at the same time.
8618
c7437ca6
PA
86192010-03-04 Pedro Alves <pedro@codesourcery.com>
8620
8621 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
8622
b111b805
DE
86232010-03-03 Doug Evans <dje@google.com>
8624
24486cb7
DE
8625 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
8626 libc contains libpthread.
8627
b111b805
DE
8628 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
8629 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
8630 of gdb_compile. Add another pattern to match android backtrace.
8631
a0e0ef55
TT
86322010-03-03 Tom Tromey <tromey@redhat.com>
8633
8634 PR gdb/11345:
8635 * gdb.base/printcmds.exp (test_printf): Add test.
8636
1ba53b71
L
86372010-03-02 H.J. Lu <hongjiu.lu@intel.com>
8638
8639 * gdb.arch/amd64-byte.exp: New.
8640 * gdb.arch/amd64-dword.exp: Likewise.
8641 * gdb.arch/amd64-pseudo.c: Likewise.
8642 * gdb.arch/amd64-word.exp: Likewise.
8643 * gdb.arch/i386-byte.exp: Likewise.
8644 * gdb.arch/i386-pseudo.c: Likewise.
8645 * gdb.arch/i386-word.exp: Likewise.
8646
f5dff777
DJ
86472010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
8648
8649 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
8650 types. Add structreg, bitfields, and flags registers.
8651 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
8652 registers.
8653
90884b2b
L
86542010-03-01 H.J. Lu <hongjiu.lu@intel.com>
8655
8656 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
8657 (load_description): Set architecture if defined.
8658
dc00d89f
PM
86592010-02-28 Phil Muldoon <pmuldoon@redhat.com>
8660
8661 * gdb.python/py-frame.exp: Add read_var block tests.
8662 * gdb.python/py-frame.c (block): New function.
8663
0e095b7e
JK
86642010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8665 Daniel Jacobowitz <dan@codesourcery.com>
8666
8667 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
8668
624f1a65
DM
86692010-02-25 David S. Miller <davem@davemloft.net>
8670
8671 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
8672 fix logic for setting all_syscalls_numbers.
8673
f3e9a817
PM
86742010-02-24 Phil Muldoon <pmuldoon@redhat.com>
8675
8676 * Makefile.in: Add py-block and py-symbol.
8677 * gdb.python/py-symbol.exp: New File.
8678 * gdb.python/py-symtab.exp: New File.
8679 * gdb.python/py-block.exp: New File.
8680 * gdb.python/py-symbol.c: New File.
8681 * gdb.python/py-block.c: New File.
8682
f6bbabf0
PM
86832010-02-24 Phil Muldoon <pmuldoon@redhat.com>
8684
8685 PR python/11314
8686 * lib/gdb.exp (skip_python_tests): New function.
8687 * gdb.python/py-cmd.exp: Use skip_python_tests.
8688 * gdb.python/py-frame.exp: Likewise.
8689 * gdb.python/py-function.exp: Likewise.
8690 * gdb.python/py-prettyprint.exp: Likewise.
8691 * gdb.python/py-template.exp: Likewise.
8692 * gdb.python/py-type.exp: Likewise.
8693 * gdb.python/py-value.exp: Likewise.
8694
85d721b8
PA
86952010-02-22 Pedro Alves <pedro@codesourcery.com>
8696
8697 PR9605
8698
8699 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
8700
48e32051
TT
87012010-02-19 Tom Tromey <tromey@redhat.com>
8702
8703 PR c++/8693, PR c++/9496:
8704 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
8705 regression tests.
8706
ac9c0048
JK
87072010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
8708
8709 Fix compatibility with m68k as.
8710 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
8711 Use only /* comments */.
8712
57bb97a4
UW
87132010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8714
8715 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
8716 * configure: Regenerate.
8717
7d1bf85c
DJ
87182010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
8719
8720 * gdb.python/py-type.exp: Check for Python support.
8721
061b5285
PA
87222010-02-17 Pedro Alves <pedro@codesourcery.com>
8723
8724 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
8725 `regsub' syntax available.
8726
f8a8bc2c
PA
87272010-02-17 Pedro Alves <pedro@codesourcery.com>
8728
8729 * gdb.base/shmain.c (main): Remove printf call.
8730 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
8731 * gdb.base/unload.c (main): Make format of fprintf a string
8732 literal. Add missing endlines to prints to stderr.
8733 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
8734
6f451e5e
TT
87352010-02-17 Tom Tromey <tromey@redhat.com>
8736
8737 * gdb.java/jprint.java (jprint.props): New field.
8738 * gdb.java/jprint.exp (set_lang_java): Add regression test.
8739
12d79008
PA
87402010-02-17 Pedro Alves <pedro@codesourcery.com>
8741
ef801a0e 8742 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
8743 available.
8744
d252f7e5
DJ
87452010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
8746
8747 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
8748 creation to support remote host testing.
8749
67bdab6c
DJ
87502010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
8751
8752 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
8753 Recognize "command not found".
8754
bb391223
DJ
87552010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
8756
8757 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
8758 single-stepping.
8759
70362913
DJ
87602010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
8761
8762 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
8763 if arguments are not supported.
8764
493f3c00
DJ
87652010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
8766
8767 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
8768 be const or non-const.
8769
8034c749
DJ
87702010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
8771
8772 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
8773 mi_send_resuming_command to send -exec-continue.
8774
791dfb64
DJ
87752010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
8776
8777 * gdb.base/list.exp (test_list_filename_and_function): Add test
8778 with single quotes.
8779 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
8780 matching.
8781 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
8782 Add KFAIL'd tests for PR gdb/11289.
8783
7c5fe868
DJ
87842010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
8785
8786 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
8787
fdc498b8
DJ
87882010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
8789
8790 * gdb.base/comp-dir/subdir/dummy.txt: New file.
8791 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
8792 a temporary directory.
8793
b519e2a6
DJ
87942010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
8795
8796 * gdb.base/charset.exp: Use a single regular expression to match
8797 show host-charset and show target-charset output.
8798
74164c56
JK
87992010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8800
8801 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
8802 "Illegal process-id" expect string more exact.
8803 (attach to digits-starting nonsense is prohibited): New.
8804
701ed6dc
JK
88052010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8806
8807 * gdb.base/prelink.exp (set verbose on): New.
8808
889bf7c5 88092010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
8810
8811 * mi-reverse.exp: New file. Test for reverse option to the
8812 following MI commands: exec-continue, exec-finish, exec-next,
8813 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 8814
dadf0e9c
JB
88152010-02-09 Joel Brobecker <brobecker@adacore.com>
8816
8817 * gdb.ada/ptype_tagged_param: New testcase.
8818
714f19d5
TT
88192010-02-08 Tom Tromey <tromey@redhat.com>
8820
8821 PR c++/8017:
8822 * gdb.cp/overload.exp: Add tests.
8823 * gdb.cp/overload.cc (struct K): New.
8824 (namespace N): New.
8825 (main): Call new functions.
8826 (K::staticoverload): Define.
8827
889bf7c5 88282010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
8829
8830 PR gdb/10728
8831 * gdb.cp/pr10728-x.h: New file.
8832 * gdb.cp/pr10728-x.cc: New file.
8833 * gdb.cp/pr10728-y.cc: New file.
8834 * gdb.cp/pr10728.exp: New file.
8835 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
8836
889bf7c5 88372010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
8838
8839 PR gdb/9067
8840 * gdb.cp/pr9067.exp: New
8841 * gdb.cp/pr9067.cc: New
8842 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
8843
7b356089
JB
88442010-02-08 Joel Brobecker <brobecker@adacore.com>
8845
8846 * lib/gdb.exp (gdb_test_timeout): New global variable.
8847 Set it to timeout if not already set.
8848 (gdb_init): Reset the value of timeout to gdb_test_timeout.
8849
1be00882
DE
88502010-02-05 Doug Evans <dje@google.com>
8851
8852 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
8853 user.
8854
82856980
SW
88552010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
8856
8857 PR c++/7935:
8858 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
8859
1a334831
TT
88602010-02-04 Tom Tromey <tromey@redhat.com>
8861
8862 * gdb.cp/virtbase.exp: Make test case names unique.
8863
9c3c02fd
TT
88642010-02-02 Tom Tromey <tromey@redhat.com>
8865
8866 * gdb.cp/virtbase.exp: Add regression tests.
8867 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
8868 (main): Instantiate RHC.
8869
0cc2414c
TT
88702010-02-02 Tom Tromey <tromey@redhat.com>
8871
8872 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
8873 type-printing change.
8874
edf3d5f3
TT
88752010-02-02 Tom Tromey <tromey@redhat.com>
8876
8877 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
8878 * gdb.cp/virtbase.cc: New file.
8879 * gdb.cp/virtbase.exp: New file.
8880 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
8881
e4b7f41c
JK
88822010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8883
8884 PR libc/11214:
8885 * gdb.threads/current-lwp-dead.c: Include features.h.
8886 (HAS_NOMMU): New.
8887 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
8888
b381ea14
JK
88892010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8890
8891 * gdb.base/symbol-without-target_section.exp,
8892 gdb.base/symbol-without-target_section.c: New.
8893
c593ac0e
DJ
88942010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
8895
8896 * gdb.base/bigcore.exp: Reset increased timeout.
8897 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
8898
db25f29d
DJ
88992010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
8900
8901 * gdb.base/gcore.exp (capture_command_output): Use
8902 gdb_test_multiple.
8903
f9d67f43
DJ
89042010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
8905
8906 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
8907 * gdb.arch/thumb2-it.exp (test_it_break): New function.
8908 (Top level): Call it.
8909
177321bd
DJ
89102010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
8911
8912 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
8913
97f2ed50
DJ
89142010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8915
8916 * gdb.base/call-strs.exp, gdb.base/default.exp,
8917 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
8918 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
8919 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
8920 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
8921 gdb.base/watchpoint-solib.exp: Save and restore timeout.
8922 * gdb.base/ending-run.exp: Correct restore of timeout.
8923 * gdb.base/page.exp: Remove unnecessary timeout setting.
8924
e4e2711a
JB
89252010-01-29 Joel Brobecker <brobecker@adacore.com>
8926
8927 * gdb.ada/rec_return: New testcase.
8928
ba581dc1
JB
89292010-01-29 Joel Brobecker <brobecker@adacore.com>
8930
8931 * gdb.ada/call_pn: New testcase.
8932
4ea95be9
DJ
89332010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
8934
8935 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
8936 (Top level): Use it to resume.
8937 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
8938 the Thumb mode displaced stepping error as unsupported.
8939
df83a9bf
SW
89402010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
8941
889bf7c5
PA
8942 * gdb.cp/nsusing.exp: Added more tests.
8943 * gdb.cp/nsrecurs.exp: Ditto.
8944 * gdb.cp/nsusing.cc: Added test functions.
8945 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 8946
40b27cdc
JK
89472010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8948
8949 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
8950 absolute directory pathnames in gdb.sum file.
8951
de958931
SW
89522010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
8953
8954 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
8955 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
8956
708ead4e
TT
89572010-01-26 Tom Tromey <tromey@redhat.com>
8958
8959 PR exp/7643:
8960 * gdb.base/printcmds.exp (test_print_string_constants): Remove
8961 setup_kfail.
8962
b14e635e
SW
89632010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
8964
8965 * gdb.cp/nsrecurs.exp: New test.
8966 * gdb.cp/nsrecurs.cc: New test program.
8967 * gdb.cp/nsstress.exp: New test.
8968 * gdb.cp/nsstress.cc: New test program.
8969 * gdb.cp/nsdecl.exp: New test.
8970 * gdb.cp/nsdecl.cc: New test program.
8971
8540c487
SW
89722010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
8973
8974 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
8975 imported into file scope.
8976 Marked test as xfail.
8977 * gdb.cp/namespace-using.cc (marker5): New function.
8978 * gdb.cp/shadow.exp: New test.
8979 * gdb.cp/shadow.cc: New test program.
8980 * gdb.cp/nsimport.exp: New test.
8981 * gdb.cp/nsimport.cc: New test program.
8982
421d5d99
TT
89832010-01-25 Tom Tromey <tromey@redhat.com>
8984
8985 PR gdb/11049:
8986 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
8987 with "set print null-stop on".
8988
691f8dc1
JK
89892010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8990
8991 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
8992 Adjust it for DISASSEMBLY_OMIT_FNAME.
8993
0b92b5bb
TT
89942010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8995
8996 PR symtab/11199:
8997 * gdb.dwarf2/member-ptr-forwardref.exp,
8998 gdb.dwarf2/member-ptr-forwardref.S: New.
8999
23787403
JK
90002010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9001
9002 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
9003 (thread1_func): Protect thread1_tid with thread1_tid_cond by
9004 thread1_tid_mutex. Remove gdbstop_mutex handling.
9005 (thread2_func): Protect thread2_tid with thread2_tid_cond by
9006 thread2_tid_mutex. Remove gdbstop_mutex handling.
9007 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
9008 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
9009 pthread_cond_wait conditionalizations by while loops.
9010
b966cb8a
TT
90112010-01-20 Tom Tromey <tromey@redhat.com>
9012
9013 PR backtrace/10770:
9014 * gdb.dwarf2/pr10770.exp: New file.
9015 * gdb.dwarf2/pr10770.c: New file.
9016 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
9017
fcae584b
VP
90182010-01-20 Vladimir Prus <vladimir@codesourcery.com>
9019
9020 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
9021 that target was removed, and the test always runs native anyway.
9022
a0f49112
JK
90232010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9024
9025 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
9026 gdb.base/watchpoint-cond-gone-stripped.c: New.
9027
ceeb3d5a
TT
90282010-01-19 Tom Tromey <tromey@redhat.com>
9029
9030 PR c++/8000:
9031 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
9032 existing tests.
9033 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
9034 (main): Use AAA::SomeEnum.
9035
dd322c54
JK
90362010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9037
9038 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
9039 (test_ignore_count): Declare line_callme_body global.
9040 (run to breakpoint with ignore count): Use line_callme_body.
9041 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
9042 (set line_main_hello, set line_main_return): Reindent.
9043 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
9044 New.
9045 (continue to callee4): Use line_callee4_body.
9046 (check *stopped from CLI command): Use line_callee4_next.
9047 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
9048 (set line_main_hello, set line_main_return): Reindent.
9049 (set line_callee4_head, set line_callee4_body): New.
9050 (continue to callee4): Use line_callee4_body.
9051
4e8f195d
TT
90522010-01-18 Tom Tromey <tromey@redhat.com>
9053
9054 PR c++/9680:
9055 * gdb.cp/casts.cc: Add new classes and variables.
9056 * gdb.cp/casts.exp: Test new operators.
9057
9e14a9ba
JB
90582010-01-18 Tom Tromey <tromey@redhat.com>
9059 Thiago Jung Bauermann <bauerman@br.ibm.com>
9060
9061 * gdb.python/source2.py: New file.
9062 * gdb.python/source1: New file.
9063 * gdb.python/python.exp: Test "source" command.
9064
00bf0b85
SS
90652010-01-15 Stan Shebs <stan@codesourcery.com>
9066
9067 * gdb.trace/tfile.c: New file.
9068 * gdb.trace/tfile.exp: New file.
889bf7c5 9069
55235ad7
JK
90702010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9071
9072 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
9073
9f2982ff
JK
90742010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9075
9076 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
9077
bbfba9ed
JK
90782010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9079
9080 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
9081 (libfunc): New parameter action. Implement also selectable "sleep".
9082 * gdb.base/break-interp-main.c: Include assert.h.
9083 (libfunc): New parameter action.
9084 (main): New parameters argc and argv. Assert argc. Pass argv.
9085 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
9086 (test_attach): New proc.
9087 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
9088 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
9089
61f0d762
JK
90902010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9091
9092 * gdb.base/break-interp.exp (test_core): New proc.
9093 (test_ld): Call it.
9094
06a6f270
JK
90952010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9096
9097 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
9098 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
9099 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
9100 and gdb_compile_shlib. Use new -Wl compiler options.
9101 (dl bt, main bt): New tests.
9102
51bee8e9
JK
91032010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9104
9105 Support PIEs with no symfile_objfile.
9106 * gdb.base/break-interp.exp: New argument at the test_ld calls.
9107 (test_ld): New parameter trynosym.
9108 (test_ld <$trynosym>): New block.
9109
b8040f19
JK
91102010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9111
9112 * gdb.base/break-interp.exp: New file.
9113
be759fcf
PM
91142010-01-13 Phil Muldoon <pmuldoon@redhat.com>
9115
9116 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
9117 * gdb.python/py-prettyprint.py (pp_ls): New printer.
9118 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
9119 test.
9120 * gdb.python/py-prettyprint.c: Define lazystring test structure.
9121 * gdb.python/py-mi.exp: Add lazy string test.
9122
dc146f7c
VP
91232010-01-13 Vladimir Prus <vladimir@codesourcery.com>
9124
9125 * lib/mi-support.exp (mi_check_thread_states): Handle
9126 core number in thread listing.
9127
b4ba55a1
JB
91282010-01-12 Joel Brobecker <brobecker@adacore.com>
9129
9130 * gdb.base/maint.exp: Adjust the expected output for the
9131 "maint print type" test. Use gdb_test_multiple instead of
9132 gdb_sent/gdb_expect.
9133
08e24bd4
DE
91342010-01-11 Doug Evans <dje@google.com>
9135
6496a609
DE
9136 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
9137 from gdbserver_download. All callers updated.
9138
08e24bd4
DE
9139 * gdb.server/ext-run.exp: "info os processes" requires xml support.
9140
b5cfddf5
JK
91412010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9142
9143 Implement binary numbers parsing.
9144 * gdb.base/printcmds.exp (test_integer_literals_accepted)
9145 (test_integer_literals_rejected): New binary tests.
9146
3725885a
RW
91472010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
9148
9149 * gdb.cell/configure: Regenerate.
9150
37aeb5df
JK
91512010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9152
9153 * gdb.base/corefile.exp: Move the core finding block out and call it as
9154 core_find, new variable $corefile, replace corefile by $corefile and
9155 [file tail $corefile] for usage vs. test names resp.
9156 * lib/gdb.exp (core_find): Move it as a new function here. New
9157 parameter binfile and deletefiles. New variable $destcore. Pre-delete
9158 $destcore. Return "" on error.
9159
d521f563
JK
91602010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9161
9162 Workaround PR binutils/10802.
9163 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
9164 (twice).
9165
28f24826
DJ
91662010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9167
9168 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
9169
2de75e71
JB
91702010-01-08 Joel Brobecker <brobecker@adacore.com>
9171
9172 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
9173 call, to avoid interruption.
9174
fe00719b 91752010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
9176
9177 * gdb.stabs/weird.def (args93): New.
9178
d0ef5df8
DE
91792010-01-07 Doug Evans <dje@google.com>
9180
9181 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
9182
3a08d52f
TT
91832010-01-07 Tom Tromey <tromey@redhat.com>
9184
9185 * gdb.base/source.exp: Use correct line number.
9186
7a697b8d
SS
91872010-01-05 Stan Shebs <stan@codesourcery.com>
9188
9189 * gdb.trace/tracecmd.exp: Test ftrace.
9190
7803799a
UW
91912010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9192
9193 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
9194
c54eabfa
JK
91952010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9196
9197 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
9198 "uint_for_mi_testing".
9199
02e7ef19
JB
92002010-01-01 Joel Brobecker <brobecker@adacore.com>
9201
9202 Test indented comment in file being sourced.
9203 * gdb.base/commands.exp: Test indented comment in file being sourced.
9204
abd775ce
JB
92052010-01-01 Joel Brobecker <brobecker@adacore.com>
9206
9207 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
9208 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
9209 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
9210 notice.
9211
79b55b82
JB
92122010-01-01 Joel Brobecker <brobecker@adacore.com>
9213
9214 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
9215 notice.
9216
8997583e
JK
92172010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9218
9219 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
9220 missing $after_stopped and comma (,) expectation.
9221
6da95a67
SS
92222009-12-31 Stan Shebs <stan@codesourcery.com>
9223
9224 * gdb.trace/actions.exp: Test teval action.
889bf7c5 9225
218d2fc6
TJB
92262009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
9227
9228 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
9229 (top level): Call test_watchpoint_in_big_blob.
9230 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
9231 watchpoints.
9232 (func3): Write to buf.
9233
236f1d4d
SS
92342009-12-29 Stan Shebs <stan@codesourcery.com>
9235
9236 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 9237
f61e138d
SS
92382009-12-28 Stan Shebs <stan@codesourcery.com>
9239
9240 * gdb.trace/tsv.exp: New file.
9241 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 9242
0219b378
DJ
92432009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
9244
9245 * gdb.base/find.c (main): Reference search buffers.
9246 * gdb.base/included.c (main): Reference integer.
9247 * gdb.base/ptype.c (charfoo): Declare.
9248 (intfoo): Call charfoo.
9249 * gdb.base/scope0.c (useitp): New function.
9250 (usestatics): Use useitp.
9251 (useit): Add a type for val.
9252 * gdb.base/scope1.c (useit1): Take a pointer argument.
9253 (usestatics1): Update calls to useit1.
9254 * gdb.cp/call-c.cc: Declare foo.
9255 (main): Call foo.
9256 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
9257 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
9258 (main): Call C::ensureRefs and ensureOtherRefs.
9259 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
9260 variables.
9261 (ensureOtherRefs): New function.
9262 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
9263 * gdb.cp/templates.cc (main): Call t5i.value.
9264
3f78692f
JK
92652009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9266
9267 Fix compatibility with G++-4.5.
9268 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
9269 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
9270 (uncaught return): Remove.
9271
429374b8
JK
92722009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9273 Phil Muldoon <pmuldoon@redhat.com>
9274
9275 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
9276 (bp_location13, bp_location14, bp_location17, bp_location18)
9277 (marker3_proto, marker4_proto): New variables.
9278 (breakpoint info): Update output.
9279 (run until breakpoint at marker3, run until breakpoint at marker4): New
9280 tests.
9281
859825b8
JK
92822009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9283
9284 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
9285 Replace the printf call of Y by provided "y-set-1" label. New block
9286 for the second shared library.
9287 * gdb.base/unload.exp: Compile also the second library, call
9288 gdb_load_shlibs also for it. Use now gdb_breakpoint.
9289 (single pending breakpoint info): Rename to ...
9290 (pending breakpoint info before run): ... this extended test.
9291 (libfile2, libname2, libsrcfile2, libsrc2)
9292 (lib_sl2): New variables.
9293 (exec_opts): Set also SHLIB_NAME2.
9294 (pending breakpoint info on first run at shrfunc1)
9295 (pending breakpoint info on second run at shrfunc1)
9296 (pending breakpoint info on second run at shrfunc2)
9297 (print y from libfile, print y from libfile2): New tests.
9298 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
9299 * gdb.base/unloadshr2.c: New.
9300
e6a386cd
HZ
93012009-12-22 Hui Zhu <teawater@gmail.com>
9302
9303 * gdb.reverse/sigall-reverse.exp: Adjust.
9304
9e19b45e
VP
93052009-12-21 Vladimir Prus <vladimir@codesourcery.com>
9306
9307 PR gdb/10884
9308
9309 * gdb.mi/var-cmd.c (do_bitfield_tests): New
9310 (main): Call do_bitfield_tests.
aacf5b1e 9311 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 9312
d53a7b30
JB
93132009-12-20 Joel Brobecker <brobecker@adacore.com>
9314
9315 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
9316 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
9317 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
9318 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
9319 gdb.modula2/unbounded1.c: Update copyright header.
9320
191ca0a1
CM
93212009-12-10 Chris Moller <moller@mollerware.com>
9322
9323 PR gdb/9399
9324 * gdb.cp/virtfunc2.exp: New tests
9325 * gdb.cp/virtfunc2.cc: New tests
9326 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
9327
0fa6cf1b
MS
93282009-12-10 Oza Pawandeep (paawan1982@yahoo.com
9329
9330 * gdb.reverse/i387-env-reverse.c: New file.
9331 * gdb.reverse/i387-env-reverse.exp: New file.
9332 * gdb.reverse/i387-stack-reverse.c: New file.
9333 * gdb.reverse/i387-stack-reverse.exp: New file.
9334
361ae042
PM
93352009-12-08 Phil Muldoon <pmuldoon@redhat.com>
9336
9337 * gdb.python/py-type.exp (test_range): New test.
9338
bfd31e71
PM
93392009-12-03 Phil Muldoon <pmuldoon@redhat.com>
9340
9341 PR python/10805
9342
9343 * gdb.python/py-type.exp: New file.
9344 * gdb.python/py-type.c: New file.
9345 * Makefile.in: Add py-type.
9346
57a1d736
TT
93472009-12-03 Tom Tromey <tromey@redhat.com>
9348
9349 * gdb.python/py-value.exp (test_parse_and_eval): New
9350 function.
9351
1f3b5d1b
PP
93522009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9353
9354 PR gdb/11022
9355
9356 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
9357 * gdb.base/pr11022.c: New test.
9358
8b7dbdc9
JK
93592009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9360
9361 Fix spurious false FAILs.
9362 * gdb.base/structs.c (chartest): New.
9363 (main): Fill-in chartest.
9364 * gdb.base/structs.exp (anychar_re, first): New.
9365 (start_structs_test): Import global anychar_re and first.
9366 New gdb_test call "set print elements 300; ${testfile}"
9367 (start_structs_test <$first>): New block.
9368 (any): Import global anychar_re. New variable ac. Use ${ac}.
9369
6a53b2ec
JK
93702009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9371
9372 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
9373
d7167b4c
JK
93742009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9375
9376 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
9377 Force $srcfile file.
9378 * gdb.base/foll-fork.c (callee): Comment out the printf call.
9379
b1798462
UW
93802009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9381
9382 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
9383 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
9384 * gdb.threads/watchthreads-reorder.exp: Likewise.
9385
b6199126
DJ
93862009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
9387
9388 PR gdb/8704
9389
9390 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
9391 "if", and "thread". Correct matching in the previous test.
9392
b22a0510
DJ
93932009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
9394
9395 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
9396
930636d2
MS
93972009-11-23 Michael Snyder <msnyder@vmware.com>
9398
9399 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
9400 * gdb.reverse-watch-precsave.exp: Ditto.
9401
21a0512e
PP
94022009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
9403
9404 * gdb.asm/asm-source.exp: Adjust.
9405 * gdb.base/help.exp: Adjust.
889bf7c5 9406
fc30d5e0
PA
94072009-11-22 Pedro Alves <pedro@codesourcery.com>
9408
9409 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
9410 (do_syscall_tests_without_xml): Set data-directory to
9411 /the/path/to/nowhere.
9412
f6bc2008
PA
94132009-11-21 Pedro Alves <pedro@codesourcery.com>
9414
9415 * gdb.threads/local-watch-wrong-thread.c,
9416 gdb.threads/local-watch-wrong-thread.exp: New files.
9417
8c2fb5de
PA
94182009-11-21 Pedro Alves <pedro@codesourcery.com>
9419
9420 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
9421 assume new `regsub' syntax available.
9422
ebec9a0f
PA
94232009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9424
a79d3c27
JK
9425 * gdb.base/watchpoint-hw-hit-once.exp,
9426 gdb.base/watchpoint-hw-hit-once.c: New.
9427
94282009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9429
9430 * gdb.threads/watchthreads-reorder.exp,
9431 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 9432
276a961b
MK
94332009-11-17 Nathan Sidwell <nathan@codesourcery.com>
9434
9435 * gdb.xml/tdesc-regs.exp: Use for m68k.
9436
4867c1fb
PA
94372009-11-15 Pedro Alves <pedro@codesourcery.com>
9438
9439 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
9440
f6838f81
DJ
94412009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9442
9443 * lib/gdb.exp (current_target_name): New procedure.
9444 (gdb_wrapper_target): New variable.
9445 (gdb_wrapper_init): Set gdb_wrapper_target.
9446 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
9447 wrapper.
9448
4ac4dd3f
DJ
94492009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9450
9451 * gdb.base/remote.exp: Delete the slowest load test.
9452 Do not load with fixed packet sizes.
9453
a7881759
DJ
94542009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9455
9456 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
9457
97a5b505
DJ
94582009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9459
9460 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
9461 srcfile when setting a breakpoint.
9462
d3e1fc54
DJ
94632009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
9464
9465 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
9466 macros.
9467
7cbcbded
DJ
94682009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
9469
9470 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
9471 to be in memory.
9472 * gdb.base/display.c (force_mem): New.
9473 (do_loops): Use it. Add breakpoint comments.
9474 (do_vars): Add a breakpoint comment.
9475 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
9476 line numbers.
9477
bdea3a92
NF
94782009-11-13 Nathan Froyd <froydnj@codesourcery.com>
9479
9480 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
9481 instead of a bare "run".
9482
269f82e5
PP
94832009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
9484
9485 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 9486
a69b7d9d
DJ
94872009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9488
9489 * lib/cell.exp (skip_cell_tests): Clean up test files before
9490 returning.
9491
b598bfda
DJ
94922009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9493
9494 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
9495 and the breakpoint menu. Do not call perror if a prompt is seen.
9496 Consume the following GDB prompt.
9497 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
9498 * gdb.cp/namespace.exp: Use gdb_test.
9499 * gdb.cp/templates.exp: Use gdb_test.
9500 (test_template_breakpoints): Use gdb_test_multiple.
9501
87728fa0
DJ
95022009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9503
9504 * gdb.base/break1.c (struct some_struct, values): Move earlier.
9505 (marker4): Reference values.
9506
b67c692f
DJ
95072009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9508
9509 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
9510 is missing.
9511
f0df251a
DJ
95122009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9513
9514 * gdb.base/break.c (need_malloc): New.
9515 * gdb.base/constvars.c (main): Reference crass and crisp.
9516 * gdb.base/gdb1821.c (main): Reference bar.
9517 * gdb.cp/gdb1355.cc (main): Reference s1.
9518 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
9519 (main): Call them.
9520 * gdb.cp/hang2.cc (dummy2): Define.
9521 * gdb.cp/hang3.cc (dummy3): Define.
9522 * gdb.cp/m-data.cc (main): Reference shadow.
9523
bdf7534a
NF
95242009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
9525 Nathan Froyd <froydnj@codesourcery.com>
9526
9527 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
9528 remote host.
9529
f24fce77
NF
95302009-11-12 Nathan Froyd <froydnj@codesourcery.com>
9531
9532 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
9533 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
9534 * gdb.dwarf2/dw2-compressed.exp: Likewise.
9535 * gdb.dwarf2/dw2-intercu.exp: Likewise.
9536 * gdb.dwarf2/dw2-intermix.exp: Likewise.
9537 * gdb.dwarf2/dw2-producer.exp: Likewise.
9538 * gdb.dwarf2/mac-fileno.exp: Likewise.
9539 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
9540 py-prettyprint.py to the remote host.
9541 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
9542
40f0318e
KS
95432009-11-11 Keith Seitz <keiths@redhat.com>
9544
9545 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
9546 use it instead of "Foo".
9547 * gdb.cp/classes.exp (do_tests): Add a test to access
9548 a method through a typedef'd class name.
9549
f3d9f7fb
NF
95502009-11-11 Nathan Froyd <froydnj@codesourcery.com>
9551
9552 * gdb.base/long_long.exp: Permit leading zeros on floating-point
9553 exponents.
9554 * gdb.base/pointers.exp: Likewise.
9555 * gdb.cp/ref-types.exp: Likewise.
9556
a4216f37
KS
95572009-11-11 Keith Seitz <keiths@redhat.com>
9558
9559 * gdb.cp/cplusfuncs.cc (class foo): Add operators
9560 new[] and delete[].
9561 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
9562 "void".
9563 (probe_demangler): Remove all single-quoting of
9564 method and variable names.
9565 (info_func_regexp): Remove the word "void" from any
9566 occurrence of "(void)".
9567 (print_addr_2): Remove all single-quoting of
9568 method names.
9569 (print_addr_2_kfail): Likewise.
9570 (print_addr): Single-quote C function names before
9571 passing to print_addr_2.
9572 (test_paddr_operator_functions): Remove single-quoting
9573 for method names.
9574 Add tests for operator new[] and operator delete[].
9575
9b14d7aa
JK
95762009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9577
9578 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
9579
85feb311
KS
95802009-11-09 Keith Seitz <keiths@redhat.com>
9581
9582 * gdb.cp/overload.exp: Add tests for resolving overloaded
9583 methods in expression parsing/evaluation.
9584
fa335448
DJ
95852009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
9586
9587 * lib/gdb.exp (default_gdb_version): Use --version instead of
9588 --command.
9589
ec3c07fc
NS
95902009-11-10 Nathan Sidwell <nathan@codesourcery.com>
9591
9592 * lib/gdb.exp (gdb_compile_test): New.
9593 (skip_ada_tests, skip_java_tests): New.
9594 (gdb_compile): Use gdb_compile_test for f77.
9595 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
9596 * lib/java.exp (compile_java_from_source): Remove runtests check,
9597 use gdb_compile_test to record result.
9598 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
9599 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
9600 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
9601 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
9602 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
9603 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
9604 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
9605 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
9606 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
9607 adjust gdb_compile invocations.
9608
b8b4e42b
JK
96092009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9610
9611 * Makefile.in (abs_builddir): New.
9612 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
9613 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
9614 `$(abs_builddir)/site.exp'.
9615
f8b7eaf3
DJ
96162009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
9617
9618 * config/m68k-emc.exp, lib/emc-support.exp,
9619 gdb.trace/gdb_c_test.c: Delete.
9620 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
9621 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9622 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9623 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9624 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9625 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
9626 casing for m68k-*-elf.
9627
c4187697
NS
96282009-11-03 Pedro Alves <pedro@codesourcery.com>
9629
9630 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
9631 * gdb.arch/i386-prologue.exp: Likewise.
9632 * gdb.arch/i386-unwind.exp: Likewise.
9633
db16b772
DJ
96342009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
9635
9636 * lib/gdb.exp (gdb_expect): Fix timeout typo.
9637
bcf71277
DJ
96382009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
9639
9640 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
9641
0105cee2
DJ
96422009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
9643
9644 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
9645
24ddea62
JK
96462009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9647
9648 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
9649
287ccc17
JK
96502009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9651
9652 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
9653 * gdb.base/sepdebug2.c: New file.
9654
08bca259 96552009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
9656
9657 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
9658 the modified warnings for catch syscall. Verify if GDB was compiled
9659 with support for lib expat, and choose which tests to run depending
9660 on this.
9661
5d4e2b76
VP
96622009-10-30 Vladimir Prus <vladimir@codesourcery.com>
9663
9664 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
9665 that composite commands are parsed OK. And also test
9666 that breakpoint commands do work.
9667
240e538a
MS
96682009-10-23 Michael Snyder <msnyder@vmware.com>
9669
9670 gdb.reverse/consecutive-precsave.exp: Change expect pattern
9671 to allow for new disassembly style.
9672
9c419145
PP
96732009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
9674
9675 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 9676
02506ff1
MS
96772009-10-22 Michael Snyder <msnyder@vmware.com>
9678
9679 * gdb.reverse/break-precsave.exp: New test.
9680 * gdb.reverse/consecutive-precsave.exp: Ditto.
9681 * gdb.reverse/finish-precsave.exp: Ditto.
9682 * gdb.reverse/i386-precsave.exp: Ditto.
9683 * gdb.reverse/machinestate-precsave.exp: Ditto.
9684 * gdb.reverse/sigall-precsave.exp: Ditto.
9685 * gdb.reverse/solilb-precsave.exp: Ditto.
9686 * gdb.reverse/step-precsave.exp: Ditto.
9687 * gdb.reverse/until-precsave.exp: Ditto.
9688 * gdb.reverse/watch-precsave.exp: Ditto.
9689
4cf866a3
MS
96902009-10-22 Michael Snyder <msnyder@vmware.com>
9691
9692 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
9693 for gdb_expect. Adjust one test's expect strings for the new
9694 format of disassemble.
9695 * gdb.reverse/finish-reverse.exp: Delete 'return'.
9696 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
9697 gdb_test_multiple.
9698 * gdb.reverse/step-reverse.exp: Delete 'return'.
9699 * gdb.reverse/until-reverse.exp: Delete blank lines.
9700 * gdb.reverse/watch-reverse.exp: Delete blank lines.
9701
2b28d209
PP
97022009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
9703
9704 * gdb.base/consecutive.exp: Adjust.
9705 * gdb.base/display.exp: Likewise.
9706 * gdb.base/pc-fp.exp: Likewise.
9707 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 9708
33b9c32b
MS
97092009-10-19 Michael Snyder <msnyder@vmware.com>
9710
9711 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
9712 * gdb.reverse/finish-reverse.c: Ditto.
9713 * gdb.reverse/sigall-reverse.c: Ditto.
9714 * gdb.reverse/solib-reverse.c: Ditto.
9715 * gdb.reverse/step-reverse.c: Ditto.
9716 * gdb.reverse/watch-reverse.c: Ditto.
9717
6c95b8df
PA
97182009-10-19 Pedro Alves <pedro@codesourcery.com>
9719 Stan Shebs <stan@codesourcery.com>
9720
9721 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
9722 * gdb.base/foll-exec.exp: Adjust to expect a process id before
9723 "Executing new program".
9724 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
9725 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
9726 left listed after having been killed.
9727 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
9728 * gdb.base/maint.exp: Adjust test.
9729
9730 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
9731 * gdb.multi/Makefile.in: New.
9732 * gdb.multi/base.exp: New.
9733 * gdb.multi/goodbye.c: New.
9734 * gdb.multi/hangout.c: New.
9735 * gdb.multi/hello.c: New.
9736 * gdb.multi/bkpt-multi-exec.c: New.
9737 * gdb.multi/bkpt-multi-exec.exp: New.
9738 * gdb.multi/crashme.c: New.
9739
279017b7
TG
97402009-10-13 Tristan Gingold <gingold@adacore.com>
9741
9742 * gdb.base/sepdebug.exp: Check debug info are found.
9743
0413d738
PA
97442009-10-08 Pedro Alves <pedro@codesourcery.com>
9745
9746 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
9747 bits.
9748
c628eecc
JK
97492009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9750
9751 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
9752
38af1bfe
JB
97532009-10-07 Joel Brobecker <brobecker@adacore.com>
9754
9755 * gdb.base/watchpoints.c: Add copyright header. Reformat one
9756 of the comments.
9757
2b0adecd
PM
97582009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
9759
9760 * gdb.base/annota1.exp: Remove obsolete match_max increase.
9761 * gdb.base/annota3.exp: Idem.
9762 * gdb.base/maint.exp: Idem.
9763
8d417781
PM
97642009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
9765
889bf7c5 9766 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
9767 to default.
9768
bb61102d
PM
97692009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
9770
889bf7c5 9771 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
9772 mingw and cygwin targets.
9773
ace5c364
PM
97742009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
9775 Pedro Alves <pedro@codesourcery.com>
9776
889bf7c5 9777 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
9778 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
9779
c2d494a0
PM
97802009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
9781
e1b52ce2
PM
9782 * gdb.base/shr1.c: Use %p in format string.
9783 * gdb.base/unload.c: Avoid warning in fprintf.
9784 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 9785
209f53f5
PM
97862009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
9787
9788 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
9789 long type.
9790 (test_unlink): Correct printf string.
9791 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
9792 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
9793
8172766a
JK
97942009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9795
9796 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
9797 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
9798 * gdb.arch/ia64-breakpoint-shadow.S: New file.
9799
0f73703c
UW
98002009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9801
9802 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
9803 * gdb.objc/nondebug.exp: Likewise.
9804
b32306ca
UW
98052009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9806
9807 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
9808 target_info setting.
9809
9810 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
9811 that detect new threads during "info threads".
9812
0057022f
UW
98132009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9814
9815 * gdb.threads/manythreads.c (main): Increase thread stack size
9816 to 2*PTHREAD_STACK_MIN.
9817 * gdb.threads/multi-create.c (main): Likewise.
9818 (create_function): Likewise.
9819
f29c0325
UW
98202009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9821
9822 * gdb.base/dump.exp: Pass difference of pointer types instead
9823 of integer types as offset to restore in intarr3.srec case.
9824
fcb34849
UW
98252009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9826
9827 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
9828
d5142e3b
UW
98292009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9830
9831 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
9832
087b74b2 98332009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 9834
087b74b2
PM
9835 New test for two watchpoints, with disabling of
9836 the first inserted.
9837 * testsuite/gdb.base/watchpoints.c: New file.
9838 * testsuite/gdb.base/watchpoints.exp: New file.
9839
96c07c5b
TT
98402009-09-25 Tom Tromey <tromey@redhat.com>
9841
9842 * gdb.base/charset.exp: Test utf-16 strings with Python.
9843
b8899f2b
TT
98442009-09-25 Tom Tromey <tromey@redhat.com>
9845
9846 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
9847 UCS-4.
9848 * gdb.base/charset.c (utf_32_string): Rename.
9849 (init_utf32): Rename.
9850 (main): Update.
9851
329719ec
TT
98522009-09-22 Tom Tromey <tromey@redhat.com>
9853
9854 * gdb.python/py-function.exp: Add regression tests.
9855
11ef0d76
KS
98562009-09-21 Keith Seitz <keiths@redhat.com>
9857
9858 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
9859 with invalid operator.
9860
3fe8f3b3
KS
98612009-09-21 Keith Seitz <keiths@redhat.com>
9862
9863 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
9864 and destructor using typedef name of class.
9865 * gdb.cp/classes.cc (class Base1): Add a destructor.
9866 (base1): New typedef.
9867 (use_methods): Instanitate an object of type base1.
9868 * gdb.cp/templates.exp (test_template_typedef): New procedure.
9869 (do_tests): Call test_template_typedef.
9870 * gdb.cp/templates.cc (Baz::~Baz): New method.
9871 (intBazOne): New typedef.
9872 (main): Instantiate intBazOne.
9873
7a9fe101
PM
98742009-09-21 Phil Muldoon <pmuldoon@redhat.com>
9875
9876 PR python/10633
9877
9878 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
9879 Function.
9880 (run_lang_tests): Add print elements test.
9881
2e4d963f
PM
98822009-09-21 Phil Muldoon <pmuldoon@redhat.com>
9883
9884 * gdb.python/py-value.exp (test_subscript_regression): New
9885 function. Test for invalid subscripts.
9886 * gdb.python/py-value.c (main): Add test array, and pointer to it.
9887 (ptr_ref): New function.
9888
ec7e75e7
PP
98892009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9890
9891 * gdb.base/default.exp: Fix "show convenience".
9892
0cc7d26f
TT
98932009-09-15 Tom Tromey <tromey@redhat.com>
9894
9895 * lib/mi-support.exp (mi_create_varobj): Update.
9896 (mi_create_floating_varobj): Likewise.
9897 (mi_create_dynamic_varobj): New proc.
9898 (mi_varobj_update): Update.
9899 (mi_varobj_update_with_type_change): Likewise.
9900 (mi_varobj_update_kv_helper): New proc.
9901 (mi_varobj_update_dynamic_helper): Rewrite.
9902 (mi_varobj_update_dynamic): New proc.
9903 (mi_list_varobj_children): Update.
9904 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
9905 * gdb.python/python-prettyprint.py (pp_outer): New class.
9906 (pp_nullstr): Likewise.
9907 (lookup_function): Register new printers.
9908 * gdb.python/python-prettyprint.c (struct substruct): New type.
9909 (struct outerstruct): Likewise.
9910 (substruct_test): New function.
9911 (struct nullstr): New type.
9912 (string_1, string_2): New globals.
9913 (main): Add new tests.
9914 * gdb.python/python-mi.exp: Added regression tests.
9915 * gdb.mi/mi2-var-display.exp: Update.
9916 * gdb.mi/mi2-var-cmd.exp: Update.
9917 * gdb.mi/mi2-var-child.exp: Update.
9918 * gdb.mi/mi2-var-block.exp: Update.
9919 * gdb.mi/mi-var-invalidate.exp: Update.
9920 * gdb.mi/mi-var-display.exp: Update.
9921 * gdb.mi/mi-var-cmd.exp: Update.
9922 * gdb.mi/mi-var-child.exp: Update.
9923 * gdb.mi/mi-var-block.exp: Update.
9924 * gdb.mi/mi-break.exp: Update.
9925 * gdb.mi/gdb701.exp: Update.
9926
a96d9b2e
SDJ
99272009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
9928
9929 * Makefile.in: Inclusion of catch-syscall object.
9930 * gdb.base/catch-syscall.c: New file.
9931 * gdb.base/catch-syscall.exp: New file.
9932
b43b923a
MS
99332009-09-12 Michael Snyder <msnyder@vmware.com>
9934
9935 * gdb.reverse/step-reverse.exp: Explicitly check for targets
9936 that can support reverse debuggnig.
9937
cec03d70
TT
99382009-09-11 Tom Tromey <tromey@redhat.com>
9939
9940 * gdb.dwarf2/valop.S: New file.
9941 * gdb.dwarf2/valop.exp: New file.
9942
e23bb3fc
MK
99432009-09-11 Mark Kettenis <kettenis@gnu.org>
9944
9945 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
9946
37c3696d
DE
99472009-09-10 Doug Evans <dje@google.com>
9948
9949 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
9950 Add $gdb_prompt to second breakpoint regexp.
9951
5172aecb
JB
99522009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
9953
9954 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
9955 names, add missing ones.
9956 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
9957 * gdb.python/py-frame.c: Rename from python-frame.c.
9958 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
9959 testfile name.
9960 * gdb.python/py-function.exp: Rename from python-function.exp.
9961 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
9962 testfile name.
9963 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
9964 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
9965 Adjust testfile name.
9966 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
9967 * gdb.python/py-template.cc: Rename from python-template.cc.
9968 * gdb.python/py-template.exp: Rename from python-template.exp.
9969 Adjust testfile name.
9970 * gdb.python/py-value.c: Rename from python-value.c.
9971 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
9972 testfile name.
9973
b554e4bd
JK
99742009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9975
9976 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
9977 $bpt2address.
9978 (Second breakpoint address is valid on ia64)
9979 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
9980
9a68ae16
JM
99812009-09-03 Joseph Myers <joseph@codesourcery.com>
9982
9983 * gdb.base/ending-run.exp: Restrict regular expression matching
9984 line number to require closing brace following.
9985
146b9145
DE
99862009-09-03 Doug Evans <dje@google.com>
9987
9988 * gdb.base/store.exp (check_set): Fix typo in expected value message.
9989
787d21e1
TT
99902009-09-02 Tom Tromey <tromey@redhat.com>
9991
9992 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
9993
e7802207
TT
99942009-09-02 Tom Tromey <tromey@redhat.com>
9995
9996 * gdb.dwarf2/callframecfa.exp: New file.
9997 * gdb.dwarf2/callframecfa.S: New file.
9998
817aadd2
JK
99992009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10000
10001 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
10002 gdb.base/solib-overlap-main.c: New.
10003
4a76eae5
DJ
100042009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
10005
10006 PR gdb/10565
10007
10008 * gdb.base/bitfields.c (struct container, container): New.
10009 (main): Initialize it and call break5.
10010 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
10011
d4b96c9a
JK
100122009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10013
10014 Support constant DW_AT_data_member_location by GCC PR debug/40659.
10015 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
10016
4e22772d
JK
100172009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10018
10019 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
10020
2efab443
MS
100212009-08-26 Michael Snyder <msnyder@vmware.com>
10022
10023 * gdb.base/i386-reverse.c: New file.
10024 * gdb.base/i386-reverse.exp: New file.
10025 * gdb.base/Makefile.in: Add new files to be removed.
10026
07ab73a0
JM
100272009-08-26 Joseph Myers <joseph@codesourcery.com>
10028
10029 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
10030 environment-pwd for remote host.
10031 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
10032
676accff
KS
100332009-08-24 Keith Seitz <keiths@redhat.com>
10034
10035 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
10036 Add two new C++ completer tests which limit the output to a
889bf7c5 10037 given class.
676accff 10038
f9f7ad22
MS
100392009-08-24 Michael Snyder <msnyder@vmware.com>
10040
10041 * gdb.base/del.exp: Fix typo in comment.
10042 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
10043
81ecdfbb
RW
100442009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
10045
10046 * configure: Regenerate.
10047 * gdb.hp/configure: Likewise.
10048 * gdb.hp/gdb.aCC/configure: Likewise.
10049 * gdb.hp/gdb.base-hp/configure: Likewise.
10050 * gdb.hp/gdb.compat/configure: Likewise.
10051 * gdb.hp/gdb.defects/configure: Likewise.
10052 * gdb.hp/gdb.objdbg/configure: Likewise.
10053 * gdb.stabs/configure: Likewise.
10054
cab0c772
UW
100552009-08-19 Doug Evans <dje@google.com>
10056
10057 * gdb.base/gdbvars.c: New file.
10058 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
10059
b8fa0bfa
PA
100602009-08-14 Pedro Alves <pedro@codesourcery.com>
10061
10062 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10063 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
10064
b84aa90a
PA
100652009-08-13 Pedro Alves <pedro@codesourcery.com>
10066
10067 * gdb.base/default.exp: Adjust "set language test": it's now an
10068 enum command. Larger help string moved to "help set language".
10069 * gdb.base/help.exp: Adjust "help set language" expected output,
10070 now lists all known languages.
10071
0d8f9b2c
NF
100722009-08-11 Nathan Froyd <froydnj@codesourcery.com>
10073
10074 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
10075 all frame arguments.
10076 * gdb.arch/altivec-regs.exp: Likewise.
10077
bda180e0
TT
100782009-08-07 Tom Tromey <tromey@redhat.com>
10079
10080 * gdb.base/setshow.exp: Add tests for changes to set language, set
10081 check range, and set check type.
10082
48cb2d85
VP
100832009-08-03 Vladimir Prus <vladimir@codesourcery.com>
10084
10085 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
10086 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 10087 Call it.
48cb2d85 10088
1ea34204
UW
100892009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10090
10091 * configure.ac: Run gdb.cell tests when appropriate.
10092 * configure: Regenerate.
10093 * lib/cell.exp: New file.
10094 * gdb.cell: New directory.
10095 * gdb.cell/configure.ac: New file.
10096 * gdb.cell/configure: New file.
10097 * gdb.cell/Makefile.in: New file.
10098 * gdb.cell/arch.exp: New file.
10099 * gdb.cell/break.c: New file.
10100 * gdb.cell/break.exp: New file.
10101 * gdb.cell/break-spu.c: New file.
10102 * gdb.cell/bt.c: New file.
10103 * gdb.cell/bt2-spu.c: New file.
10104 * gdb.cell/bt-spu.c: New file.
10105 * gdb.cell/bt.exp: New file.
10106 * gdb.cell/coremaker.c: New file.
10107 * gdb.cell/coremaker-spu.c: New file.
10108 * gdb.cell/core.exp: New file.
10109 * gdb.cell/gcore.exp: New file.
10110 * gdb.cell/data.c: New file.
10111 * gdb.cell/data.exp: New file.
10112 * gdb.cell/data-spu.c: New file.
10113 * gdb.cell/ea-cache.exp: New file.
10114 * gdb.cell/ea-cache.c: New file.
10115 * gdb.cell/ea-cache-spu.c: New file.
10116 * gdb.cell/ea-standalone.c: New file.
10117 * gdb.cell/ea-standalone.exp: New file.
10118 * gdb.cell/ea-test.c: New file.
10119 * gdb.cell/ea-test.exp: New file.
10120 * gdb.cell/f-regs.exp: New file.
10121 * gdb.cell/mem-access.c: New file.
10122 * gdb.cell/mem-access.exp: New file.
10123 * gdb.cell/mem-access-spu.c: New file.
10124 * gdb.cell/ptype.exp: New file.
10125 * gdb.cell/registers.exp: New file.
10126 * gdb.cell/size.c: New file.
10127 * gdb.cell/sizeof.exp: New file.
10128 * gdb.cell/size-spu.c: New file.
10129 * gdb.cell/solib.exp: New file.
10130 * gdb.cell/solib-symbol.exp: New file.
10131
85e747d2
UW
101322009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10133
10134 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
10135
58d6951d
DJ
101362009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
10137
10138 * gdb.base/float.exp: Handle VFP registers.
10139
6e0a4f15
MS
101402009-07-14 Michael Snyder <msnyder@vmware.com>
10141
dcd5da87
MS
10142 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
10143 to bring gdb to the beginning of the calling line.
10144
6e0a4f15
MS
10145 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
10146 confusing the i386 epilogue unwinder.
10147
782b2b07
SS
101482009-07-14 Stan Shebs <stan@codesourcery.com>
10149
10150 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
10151
f662c3bc
MS
101522009-07-14 Michael Snyder <msnyder@vmware.com>
10153
10154 * gdb.reverse/step-reverse.exp (stepi into function call):
10155 Call instruction may not be first instruction in the line.
10156 (reverse stepi from a function call): Used wrong line number.
10157
8f313923
JK
101582009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10159
10160 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
10161
4662c76e
JK
101622009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10163
10164 Fix gdb.base/macscp.exp when using custom inputrc.
10165 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
10166 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
10167 env(TERM) set.
10168 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
10169 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
10170
aa81e255
JK
101712009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10172
10173 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
10174 * gdb.base/annota1.exp (thread_test): Import global $testfile.
10175 Change the compilation target to match the testcase name.
10176 * gdb.base/sect-cmd.exp: Change the compilation target to match the
10177 testcase name.
10178 * a2-run.exp: Use for setup prepare_for_testing. Change the
10179 compilation target to match the testcase name.
10180 * gdb.base/commands.exp: Likewise.
10181 * gdb.base/finish.exp: Likewise.
10182 * gdb.base/float.exp: Likewise.
10183 * gdb.base/info-target.exp: Likewise.
10184 * gdb.base/relational.exp: Likewise.
10185 * gdb.base/term.exp: Likewise.
10186 * gdb.base/until.exp: Likewise.
10187 * gdb.base/volatile.exp: Likewise.
10188 * gdb.base/whatis-exp.exp: Likewise.
10189
4c93b1d7
HZ
101902009-07-11 Hui Zhu <teawater@gmail.com>
10191
10192 * gdb.base/help.exp (disassemble): Update expected help text.
10193
812f7342
TT
101942009-07-09 Tom Tromey <tromey@redhat.com>
10195
10196 * lib/gdb.exp: Handle TRANSCRIPT.
10197 (remote_spawn, remote_close, send_gdb): New procs.
10198
fbb8f299
PM
101992009-07-10 Phil Muldoon <pmuldoon@redhat.com>
10200
10201 * gdb.python/python-prettyprint.c: Add counted null string
10202 structure.
10203 * gdb.python/python-prettyprint.exp: Print null string. Test for
10204 embedded nulls.
10205 * gdb.python/python-prettyprint.py (pp_ns): New Function.
10206 * gdb.python/python-value.exp (test_value_in_inferior): Add
10207 variable length string fetch tests.
10208 * gdb.python/python-value.c (main): Add strings for string fetch tests.
10209
c0ac0ec7
JK
102102009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10211
10212 * gdb.base/dump.exp (inaccessible memory is reported): New test.
10213
30b66ecc
TT
102142009-07-07 Tom Tromey <tromey@redhat.com>
10215
10216 * gdb.base/call-rt-st.exp: Update for change to escape output.
10217 * gdb.base/callfuncs.exp: Likewise.
10218 * gdb.base/charset.exp: Likewise.
10219 * gdb.base/constvars.exp: Likewise.
10220 * gdb.base/long_long.exp: Likewise.
10221 * gdb.base/pointers.exp: Likewise.
10222 * gdb.base/printcmds.exp: Likewise.
10223 * gdb.base/setvar.exp: Likewise.
10224 * gdb.base/store.exp: Likewise.
10225 * gdb.cp/ref-types.exp: Likewise.
10226 * gdb.mi/mi-var-child.exp: Likewise.
10227 * gdb.mi/mi-var-display.exp: Likewise.
10228 * gdb.mi/mi2-var-display.exp: Likewise.
10229 * gdb.base/charset.exp: Test octal escape sequence length.
10230 Update for change to escape output.
10231
187c4a2b
JK
102322009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
10233
10234 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
10235
d80a43f9
DJ
102362009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
10237
10238 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
10239
047427a8
JK
102402009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
10241
10242 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
10243 gdbserver increasing $portnum if "Can't bind address" has been seen.
10244
8b5a0f4f
PA
102452009-07-05 Pedro Alves <pedro@codesourcery.com>
10246
10247 * gdb.base/ending-run.exp: Add "step out of main" pattern for
10248 mingw32ce.
10249
7d93ba58
PA
102502009-07-05 Pedro Alves <pedro@codesourcery.com>
10251
10252 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
10253 VFP format.
10254
2277426b
PA
102552009-07-02 Pedro Alves <pedro@codesourcery.com>
10256
10257 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
10258 linux. Adjust to use "inferior", "info inferiors", "detach
10259 inferior" and "kill inferior" instead of "restart", "info fork",
10260 "detach fork" and "delete fork".
10261 * gdb.base/ending-run.exp: Spell out "info".
10262 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
10263 the "kill" command.
10264
5af949e3
UW
102652009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10266
10267 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
10268 change to prefix TLS offset in hex with 0x.
10269
5d3729b5
UW
102702009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10271
10272 * gdb.base/default.exp: Update test case for "x" changes.
10273
af589bd0
TG
102742009-07-01 Tristan Gingold <gingold@adacore.com>
10275
10276 * gdb.base/bigcore.exp: Make darwin untested.
10277
40974f91
JK
102782009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10279
10280 * gdb.base/completion.exp (directory completion): Create the directory.
10281 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
10282 escapeuniquesub.
10283 (directory completion 2): Expect now ${escapeuniquesub}.
10284 (Glob remaining of directory test): Remove one excessive newline.
10285 Expect the real output.
10286
59dd3af6
JK
102872009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10288
10289 Fix `make check//%' target after `make check' has been ran.
10290 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
10291 a mkdir call.
10292 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
10293 (%/.dir): Remove.
10294
f4e164aa
JK
102952009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10296
10297 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
10298 the expected result record.
10299
69af2122
JK
103002009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
10301
10302 Remove racy FAILs relying just on the timeouts.
10303 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
10304 (annotation_level 2): Remove racy FAILs.
10305
2fd481e1
PP
103062009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10307
10308 gdb/10275
889bf7c5
PA
10309 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
10310
c38f313d
DJ
103112009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
10312
10313 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
10314
8b777f02
VP
103152009-06-30 Vladimir Prus <vladimir@codesourcery.com>
10316
10317 * gdb.mi/mi-stack.exp: Testing symbolic options
10318 to -stack-list-locals and -stack-list-arguments.
10319
00c7eacf
JK
103202009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10321
10322 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
10323
6bc80edc
TT
103242009-06-29 Tom Tromey <tromey@redhat.com>
10325
10326 * dg-extract-results.sh: New file.
10327 * Makefile.in (FORCE_PARALLEL): New variable.
10328 (CHECK_TARGET): New conditional variable.
10329 (check): Use CHECK_TARGET.
10330 (DO_RUNTEST): New variable.
10331 (check-single): New target.
10332 (TEST_DIRS): New variable.
10333 (TEST_TARGETS): Likewise.
10334 (check-parallel): New target.
10335 (check-gdb.%): New pattern.
10336 (BASE1_FILES): New variable.
10337 (BASE2_FILES): Likewise.
10338 (check-gdb.base%): New pattern.
10339 (%/.dir): New pattern.
10340 * configure: Rebuild.
10341 * aclocal.m4 (AM_CONDITIONAL): New defun.
10342 * configure.ac: Check whether user is using GNU make.
10343 (GMAKE): New conditional.
10344
794684b6
SW
103452009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
10346
10347 * gdb.cp/namespace-nested-import.cc: New test.
10348 * gdb.cp/namespace-nested-import.exp: New test.
10349
edb3359d
DJ
103502009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
10351
10352 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
10353 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
10354 * gdb.opt/Makefile.in (EXECUTABLES): Update.
10355 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
10356 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
10357 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
10358 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
10359 gdb.opt/inline-markers.c: New files.
10360 * lib/gdb.exp (skip_inline_frame_tests): New function.
10361 (skip_inline_var_tests): New function.
10362
cf657a0c
AS
103632009-06-27 Andreas Schwab <schwab@linux-m68k.org>
10364
10365 * gdb.cp/exception.exp: Don't require $hex before inner frame in
10366 backtrace.
10367
28d41a99
MS
103682009-06-27 Michael Snyder <msnyder@vmware.com>
10369
10370 * gdb.reverse: New directory.
10371 * gdb.reverse/break-reverse.c: New test.
10372 * gdb.reverse/break-reverse.exp: New test.
10373 * gdb.reverse/consecutive-reverse.c: New test.
10374 * gdb.reverse/consecutive-reverse.exp: New test.
10375 * gdb.reverse/finish-reverse.c: New test.
10376 * gdb.reverse/finish-reverse.exp: New test.
10377 * gdb.reverse/machinestate.c: New test.
10378 * gdb.reverse/ms1.c: New test.
10379 * gdb.reverse/machinestate.exp: New test.
10380 * gdb.reverse/Makefile.in: New file.
10381 * gdb.reverse/shr2.c: New test.
10382 * gdb.reverse/solib-reverse.c: New test.
10383 * gdb.reverse/solib-reverse.exp: New test.
10384 * gdb.reverse/step-reverse.c: New test.
10385 * gdb.reverse/step-reverse.exp: New test.
10386 * gdb.reverse/until-reverse.c: New test.
10387 * gdb.reverse/ur1.c: New test.
10388 * gdb.reverse/until-reverse.exp: New test.
10389 * gdb.reverse/watch-reverse.c: New test.
10390 * gdb.reverse/watch-reverse.exp: New test.
10391 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
10392 * configure: Regenerate.
10393
fe3c8b0d
DE
103942009-06-26 Doug Evans <dje@google.com>
10395
10396 * gdb.base/psymtab.exp: Turn off pending breakpoints.
10397
3a72a602
PM
103982009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
10399
10400 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
10401 windows problem for 'file delete $binfile'.
10402
27aa8d6a
SW
104032009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
10404
10405 * gdb.cp/namespace-using.exp: New test.
10406 * gdb.cp/namespace-using.cc: New test.
10407
8ac055f8
JB
104082009-05-20 Joel Brobecker <brobecker@adacore.com>
10409
10410 * gdb.ada/variant_record_packed_array: New testcase.
10411
85e306ed
TT
104122009-06-23 Tom Tromey <tromey@redhat.com>
10413
10414 * gdb.base/charset.exp (test_combination): Regression test.
10415 * gdb.base/charset.c (my_wchar_t): New typedef.
10416 (myvar): New global.
10417 (main): Set myvar.
10418
56643c5e
PM
104192009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
10420
10421 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
10422 target.
10423
1fac167a
UW
104242009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10425
10426 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
10427
7ccb0be9
UW
104282009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10429
10430 * gdb.mi/gdb680.exp: Update test for error message.
10431
568d6575
UW
104322009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10433
10434 * gdb.base/annota1.exp: Allow multiple occurrences of the
10435 frames-invalid annotation.
10436 * gdb.cp/annota2.exp: Likewise.
10437
7cd1089b
PM
104382009-06-15 Phil Muldoon <pmuldoon@redhat.com>
10439
10440 * gdb.cp/gdb2495.cc: New file.
10441 * gdb.cp/gdb2495.exp: New file.
10442
72c63395
JK
104432009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10444
10445 Report error on GDB crash during runto.
10446 * lib/gdb.exp (runto <eof>): New.
10447
3788363d
DJ
104482009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
10449
10450 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
10451 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
10452 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
10453 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
10454 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
10455 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
10456 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
10457 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
10458 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
10459 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
10460 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
10461 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
10462 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
10463 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
10464 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
10465 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
10466 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
10467 gdb.server/server-mon.exp, gdb.server/server-run.exp,
10468 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
10469 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
10470 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
10471 gdb.trace/passcount.exp, gdb.trace/report.exp,
10472 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
10473 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
10474 gdb.trace/while-stepping.exp: Use a unique name for the compiled
10475 executable.
10476
17592de3
PA
104772009-06-07 Pedro Alves <pedro@codesourcery.com>
10478
10479 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
10480 defined before referencing it.
10481
701e355d
DE
104822009-06-03 Doug Evans <dje@google.com>
10483
10484 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
10485 * gdb.arch/i386-see.c: Ditto.
10486
f2292c65
PM
104872009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
10488
10489 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
10490 (check_macro): Return 1 if undefined.
10491 If first test fails, check if macro debug information is available,
10492 and report unsupported test if no macro information is found.
10493
5a437975
DE
104942009-05-29 Doug Evans <dje@google.com>
10495
10496 * gdb.threads/hand-call-in-threads.exp: New.
10497 * gdb.threads/hand-call-in-threads.c: New.
10498
c141c696
MS
104992009-05-29 Michael Snyder <msnyder@vmware.com>
10500
10501 * gdb.base/break-always.exp: Change "1" to "on".
10502 Add confirmation check.
10503
b3444185
PA
105042009-05-28 Pedro Alves <pedro@codesourcery.com>
10505
10506 * gdb.threads/threxit-hop-specific.c: New.
10507 * gdb.threads/threxit-hop-specific.exp: New.
10508 * gdb.threads/thread-execl.c: New.
10509 * gdb.threads/thread-execl.exp: New.
10510
b6313243
TT
105112009-05-27 Tom Tromey <tromey@redhat.com>
10512 Thiago Jung Bauermann <bauerman@br.ibm.com>
10513
10514 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
10515 (mi_child_regexp): Likewise.
10516 (mi_list_varobj_children_range): Likewise.
10517 (mi_get_features): Likewise.
10518 (mi_list_varobj_children): Rewrite.
10519 * gdb.python/python-mi.exp: New file.
10520
a6bac58e
TT
105212009-05-27 Tom Tromey <tromey@redhat.com>
10522 Thiago Jung Bauermann <bauerman@br.ibm.com>
10523 Phil Muldoon <pmuldoon@redhat.com>
10524 Paul Pluzhnikov <ppluzhnikov@google.com>
10525
10526 * gdb.python/python-prettyprint.exp: New file.
10527 * gdb.python/python-prettyprint.c: New file.
10528 * gdb.python/python-prettyprint.py: New file.
10529 * gdb.base/display.exp: print/r is now valid.
10530
2c74e833
TT
105312009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
10532 Tom Tromey <tromey@redhat.com>
10533 Pedro Alves <pedro@codesourcery.com>
10534 Paul Pluzhnikov <ppluzhnikov@google.com>
10535
10536 * gdb.python/python-template.exp: New file.
10537 * gdb.python/python-template.cc: New file.
10538 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
10539 tests.
10540 * gdb.python/python-value.exp (py_objfile_tests): New proc.
10541 Call it.
10542 (test_value_after_death): New proc.
10543 * gdb.python/python-value.c (PTR): New typedef.
10544 (main): New variable 'x'.
10545
89c73ade
TT
105462009-05-27 Tom Tromey <tromey@redhat.com>
10547
10548 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
10549 tests.
10550 * gdb.python/python-value.exp (py_objfile_tests): New proc.
10551 Call it.
10552
a75724bc
PA
105532009-05-27 Pedro Alves <pedro@codesourcery.com>
10554
10555 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
10556
e58b0e63
PA
105572009-05-24 Pedro Alves <pedro@codesourcery.com>
10558
10559 * gdb.threads/fork-thread-pending.c: New.
10560 * gdb.threads/fork-thread-pending.exp: New.
10561
4ac36638
JK
105622009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10563
10564 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
10565 * gdb.dwarf2/dw2-strp.S (a_string2): New.
10566
889bf7c5 105672009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 10568
889bf7c5 10569 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 10570
b242c3c2
PA
105712009-05-17 Pedro Alves <pedro@codesourcery.com>
10572
10573 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
10574 `gdb_get_line_number'. Call `callee' in both parent and child.
10575 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
10576 `gdb_get_line_number' instead of hardcoding line numbers.
10577 (catch_fork_unpatch_child): New procedure to test detaching
10578 breakpoints from child fork.
10579 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
10580 hardcoding line numbers.
10581 (do_fork_tests): Run `catch_fork_unpatch_child'.
10582
ee342b23
VP
105832009-05-17 Vladimir Prus <vladimir@codesourcery.com>
10584
10585 * gdb.mi/mi-cmd-var.exp: Check that when varobj
10586 of structure type enters or leaves the scope, it
10587 is reported by -var-update.
10588
e2009e98
DE
105892009-05-11 Doug Evans <dje@sebabeach.org>
10590
10591 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 10592 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
10593 * gdb.threads/schedlock.c (main): Fix off-by-one error.
10594
00903456
JK
105952009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10596
10597 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
10598
dc621c35
DE
105992009-04-30 Doug Evans <dje@google.com>
10600
10601 * gdb.threads/watchthreads2.exp: New testcase.
10602 * gdb.threads/watchthreads2.c: New testcase.
10603
9ab4e744
DE
106042009-04-29 Doug Evans <dje@google.com>
10605
10606 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
10607 * gdb.cp/mb-ctor.cc: Ditto.
10608 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
10609 * gdb.cp/mb-inline.h (multi_line_foo): New function.
10610 * gdb.cp/mb-inline1.cc: Call it.
10611 * gdb.cp/mb-inline2.cc: Ditto.
10612 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
10613 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
10614
484086b7
JK
106152009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
10616
10617 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
10618 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
10619 Replace all uses of `decimal' by `nonzero'.
10620 (info macro FROM_COMMANDLINE): New test.
10621
379a77b5
TT
106222009-04-27 Tom Tromey <tromey@redhat.com>
10623
10624 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
10625
b92b73c2
DE
106262009-04-27 Doug Evans <dje@google.com>
10627
10628 * gdb.threads/watchthreads.c (main): Initialize args before starting
10629 the threads. Plus formatting cleanup.
10630 * gdb.threads/watchthreads.exp: Avoid errant failures due to
10631 biased scheduling of one thread.
10632
945a118d
JG
106332009-04-27 Jerome Guitton <guitton@adacore.com>
10634
10635 * gdb.cp/templates.cc (GetMax): New template.
10636 (main): Declare two instances of GetMax.
10637 * gdb.cp/templates.exp: Add new test.
10638
d389af10
JK
106392009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
10640
10641 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
10642
e7f86de9
JM
106432009-04-22 Joseph Myers <joseph@codesourcery.com>
10644
10645 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
10646
334cc82d
TT
106472009-04-15 Tom Tromey <tromey@redhat.com>
10648
10649 * gdb.base/charset.exp: Add regression test.
10650
d12672cc
JB
106512009-04-14 Joel Brobecker <brobecker@adacore.com>
10652
10653 * gdb.base/exe-lock.exp: New testcase.
10654
18e8c3bc
TT
106552009-04-13 Tom Tromey <tromey@redhat.com>
10656
10657 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
10658 operator on Frame.
10659
5ecd5cbe
UW
106602009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10661
10662 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
10663 * gdb.server/ext-attach.exp: Likewise.
10664
7309f756
VP
106652009-04-03 Vladimir Prus <vladimir@codesourcery.com>
10666
10667 Eliminate some sleep usage.
10668
889bf7c5
PA
10669 * gdb.mi/basics.c (do_nothing): New.
10670 (main): Use do_nothing instead of printf, so that
10671 not to introduce race condition between output of
10672 inferiour and output of gdb. Do not use sleep as it
10673 is not generally available on embedded targets.
7309f756 10674
f4b95f6f
PA
106752009-04-02 Pedro Alves <pedro@codesourcery.com>
10676
10677 * gdb.server/ext-attach.exp: Expect an optional process id after
10678 "Detached from remote process".
10679
de40b933
JK
106802009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10681
10682 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
10683 gdb.dwarf2/dw2-unresolved.exp: New.
10684
2ae101a4
PA
106852009-04-02 Pedro Alves <pedro@codesourcery.com>
10686
10687 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
10688 mi_run_to_main.
10689
56a8e183
PA
106902009-04-02 Pedro Alves <pedro@codesourcery.com>
10691
10692 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
10693 mi_run_to_main. Skip thread exit test on remote targets.
10694 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
10695 mi_run_to_main.
10696 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
10697 mi_run_to_main.
10698 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
10699 when expecting ^connected. Detect when the target doesn't support
10700 non-stop mode.
10701 (mi_run_cmd): Detect if non-stop mode was requested by isn't
10702 supported. Return -1 on error, 0 on success.
10703 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
10704 (mi_runto): Return mi_runto_helper's result explicitly.
10705
c35fafde
PA
107062009-04-01 Pedro Alves <pedro@codesourcery.com>
10707
10708 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
10709
f8a8dce6
JB
107102009-04-01 Tom Tromey <tromey@redhat.com>
10711
10712 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
10713 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
10714 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
10715 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
10716
71c25dea
TT
107172009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
10718 Jan Kratochvil <jan.kratochvil@redhat.com>
10719
10720 PR gdb/931
10721 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
10722 output.
10723 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
10724 for gdb/931.
10725 * dw2-strp.S (DW_AT_language): Change to C++.
10726 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
10727
02d9a9ce
JB
107282009-03-31 Joel Brobecker <brobecker@adacore.com>
10729
10730 * gdb.ada/tasks: New testcase.
10731
1042e4c0
SS
107322009-03-30 Stan Shebs <stan@codesourcery.com>
10733
10734 * gdb.trace/actions.exp: Update to match new info trace format.
10735 * gdb.trace/deltrace.exp: Ditto.
10736 * gdb.trace/infotrace.exp: Ditto.
10737 * gdb.trace/passcount.exp: Ditto.
10738 * gdb.trace/save-trace.exp: Ditto.
10739 * gdb.trace/while-stepping.exp: Ditto.
10740 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
10741
f8f6f20b
TJB
107422009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
10743
10744 * gdb.python/python-frame.c: New file.
10745 * gdb.python/python-frame.exp: New file.
10746
c0c6f777
TJB
107472009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
10748
10749 * gdb.python/python-value.exp: Add tests for the address
10750 attribute.
10751
3cb51905
AS
107522009-03-29 Andreas Schwab <schwab@linux-m68k.org>
10753
10754 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
10755
88fc996f
DE
107562009-03-26 Doug Evans <dje@google.com>
10757
10758 * gdb.mi/mi-nonstop-exit.exp: New file.
10759 * gdb.mi/non-stop-exit.c: New file.
10760
56ef84b1
TT
107612009-03-26 Tom Tromey <tromey@redhat.com>
10762
10763 Update for change to prologue skipping:
10764 * gdb.mi/mi2-simplerun.exp: Update.
10765 * gdb.mi/mi2-break.exp: Update.
10766 * gdb.mi/mi-simplerun.exp: Update.
10767 * gdb.mi/mi-break.exp: Update.
10768 * gdb.base/ending-run.exp: Update.
10769
def2b000
TJB
107702009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
10771
10772 * gdb.python/python-value.exp (test_value_in_inferior): Test
10773 gdb.Value.is_optimized_out attribute.
10774
442ddf59
JK
107752009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10776
10777 * gdb.dwarf2/dw2-noloc-main.c: New file.
10778 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
10779 (.text): Remove.
10780 (.data): New.
10781 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
10782 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
10783 (DW_TAG_subprogram func_cu1, noloc): Remove.
10784 (main): New.
10785 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
10786 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
10787 (file_symbols): New procedure.
10788
a8df5de4
TT
107892009-03-25 Tom Tromey <tromey@redhat.com>
10790
10791 * gdb.base/charset.exp (valid_target_charset): New proc.
10792 Use it to skip tests on invalid charsets.
10793
cc1d7add
PM
107942009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
10795
10796 * gdb.base/completion.exp: Add a test for directory completion.
10797
bcd5727b
JK
107982009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10799
10800 Fix a racy FAIL.
10801 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
10802 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
10803
cc924cad
TJB
108042009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
10805
10806 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
10807 * gdb.python/python-function.exp: Add test for function returning
10808 a GDB value.
10809
bc3b79fd
TJB
108102009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
10811
10812 * gdb.python/python-function.exp: New file.
10813
6c7a06a3
TT
108142009-03-20 Tom Tromey <tromey@redhat.com>
10815
10816 * gdb.base/store.exp: Update for change to escape output.
10817 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
10818 to escape output.
10819 * gdb.base/pointers.exp: Update for change to escape output.
10820 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
10821 to escape output.
10822 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
10823 escape output.
10824 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
10825 to escape output.
10826 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
10827 escape output.
10828 * gdb.base/setvar.exp: Update for change to escape output.
10829 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
10830 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
10831 to escape output.
10832 (test_print_string_constants): Likewise.
10833 * gdb.base/charset.exp (valid_host_charset): Check size of
10834 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
10835 cases. Handle "auto"-related output.
10836 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
10837 (uvar, Uvar): New globals.
10838
c31af87b
JG
108392009-03-19 Jerome Guitton <guitton@adacore.com>
10840
10841 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
10842 deltas.
10843 * gdb.ada/fixed_points.exp: Ditto.
10844
51272cf2
PA
108452009-03-18 Pedro Alves <pedro@codesourcery.com>
10846
10847 * return-nodebug.c: Don't include stdio.h.
10848 (init): Delete.
10849 (func): Delete definition and provide extern declaration.
10850 (t): New.
10851 (main): Don't call printf. Call func and store its result in t.
10852 * return-nodebug1.c: New.
10853 * return-nodebug.exp: Don't expect stdio output. Instead, print
10854 the global variable t. Drop printf formatters and cast types from
10855 foreach loop. Don't use prepare_for_testing. Compile
10856 return-nodebug.c and return-nodebug1.c in separate steps. Don't
10857 define FORMAT or CAST.
10858
d24948ac
PP
108592009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10860
10861 * gdb.base/solib-display.exp: Disable test for remote targers.
10862
61ff14c6
JK
108632009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10864
10865 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
10866
cb4dce93
JK
108672009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10868
10869 Fix a racy FAIL.
10870 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
10871 code from `follow parent, print pids'.
10872 (`follow child, print pids', `follow parent, print pids'): Call it.
10873 Replace `gdb_test "break..."' by gdb_breakpoint.
10874
f7c60c5e
VP
108752009-03-13 Vladimir Prus <vladimir@codesourcery.com>
10876
10877 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 10878 sync and async modes.
f7c60c5e 10879
383ace49
JB
108802009-03-12 Joel Brobecker <brobecker@adacore.com>
10881
10882 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
10883 that was checked in by mistake. Remove loading of ada.exp, since
10884 this is not necessary in this case.
10885
4ce102af
JB
108862009-03-12 Joel Brobecker <brobecker@adacore.com>
10887
10888 * gdb.ada/ptype_arith_binop.exp: New testcase.
10889
529a2aef
JB
108902009-03-12 Joel Brobecker <brobecker@adacore.com>
10891
10892 * gdb.ada/mod_from_name: New testcase.
10893
8a38181c
JB
108942009-03-12 Joel Brobecker <brobecker@adacore.com>
10895
10896 * gdb.ada/tick_last_segv: New testcase.
10897
11436dee
VP
108982009-03-12 Vladimir Prus <vladimir@codesourcery.com>
10899
61ff14c6 10900 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 10901
1f31650a
VP
109022009-03-12 Vladimir Prus <vladimir@codesourcery.com>
10903
61ff14c6
JK
10904 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
10905 include the token in ^running and frame info in *stopped.
1f31650a 10906
a3247a22
PP
109072009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10908
10909 * solib-display.exp: New file.
10910 * solib-display-main.c: New file.
10911 * solib-display-lib.c: New file.
61ff14c6 10912
aae64587
PA
109132009-03-05 Pedro Alves <pedro@codesourcery.com>
10914
10915 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
10916
44aabfbc
JK
109172009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
10918
10919 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
10920 (list_and_check_macro): Use more specific test name.
10921 (next to definition): Make the test names unique.
10922
c087fcd3
PM
109232009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
10924
10925 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 10926
c86cf029
VP
109272009-02-17 Vladimir Prus <vladimir@codesourcery.com>
10928
10929 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
10930 notifications.
10931 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
10932 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
10933 * lib/mi-support.exp (library_loaded_re): New.
10934 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
10935
3ea85240
VP
109362009-02-17 Vladimir Prus <vladimir@codesourcery.com>
10937
10938 * gdb.gdb/observer.exp: Use test_notification observer, not
10939 normal_stop, everywhere.
10940 (test_normal_stop_notifications): Rename to...
10941 (test_notifications): ...this.
10942 (test_observer_normal_stop): Rename to...
10943 (test_observer): ...this.
10944
1903f0e6
DE
109452009-02-16 Doug Evans <dje@google.com>
10946
10947 * gdb.arch/amd64-disp-step.S (test_int3): New test.
10948 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
10949 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
10950 (test_prefixed_syscall,test_int3): New tests.
10951 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
10952 (test_prefixed_syscall,test_int3): New tests.
10953
1d33d6ba
VP
109542009-02-14 Vladimir Prus <vladimir@codesourcery.com>
10955
3cb51905
AS
10956 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
10957 (mi_expect_interrupt): Likewise.
10958 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
10959 response.
1d33d6ba 10960
faafb047
PM
109612009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
10962
10963 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
10964 * gdb.base/pc-fp.exp (get_valueofx): Remove.
10965 Replace calls to get_valueofx by get_hexadecimal_valueof.
10966
417e16e2
PM
109672009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
10968
10969 * lib/gdb.exp (get_valueof): Accept anything as a return value.
10970 (get_integer_valueof): New procedure.
10971 (get_sizeof): Use new get_integer_value_of.
10972 * gdb.base/sizeof.exp: Replace all uses of get_valueof
10973 by get_integer_valueof.
10974
7065b901
TT
109752009-02-13 Tom Tromey <tromey@redhat.com>
10976
10977 * gdb.base/remote.exp (get_sizeof): Remove.
10978 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
10979 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
10980 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
10981 * lib/gdb.exp (get_valueof): Move from long_long.exp.
10982 (get_sizeof): Likewise.
10983
5d7cb8df
JK
109842009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
10985
10986 PR fortran/9806
10987 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
10988
b2febfff
PP
109892009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10990
10991 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
10992
4aa995e1
PA
109932009-02-06 Pedro Alves <pedro@codesourcery.com>
10994
10995 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
10996
d8906c6f
TJB
109972009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
10998
10999 * gdb.python/python-cmd.exp: New file.
11000
ff4ab08d
TG
110012009-02-06 Tristan Gingold <gingold@adacore.com>
11002
11003 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
11004
aacd552b
TG
110052009-02-05 Tristan Gingold <gingold@adacore.com>
11006
11007 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
11008 pointer is dereferenced and use this signal name in regexp.
11009 * gdb.base/signull.exp: Ditto.
11010 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
11011 * gdb.base/signull.c (main): Ditto.
11012
08c637de
TJB
110132009-02-04 Tom Tromey <tromey@redhat.com>
11014 Thiago Jung Bauermann <bauerman@br.ibm.com>
11015
11016 * gdb.python/python-value.exp: Use `gdb.history' instead of
11017 `gdb.value_from_history'.
11018 (test_value_numeric_ops): Add test for conversion of enum constant.
11019 * gdb.python/python-value.c (enum e): New type.
11020 (evalue): New global.
11021 (main): Use argv.
11022
20261af8
JG
110232009-02-04 Jerome Guitton <guitton@adacore.com>
11024
11025 * gdb.ada/uninitialized_vars: New test program.
11026 * gdb.ada/uninitialized_vars.exp: New testcase.
11027
52e44b43
TT
110282009-02-02 Tom Tromey <tromey@redhat.com>
11029
11030 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
11031 * gdb.cp/pr2489.cc: Rename...
11032 * gdb.cp/pr9594.cc: ... to this.
11033
1c71341a
TT
110342009-02-02 Tom Tromey <tromey@redhat.com>
11035
11036 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
11037 * gdb.cp/pr2489.cc: New file.
11038 * gdb.cp/cpcompletion.exp: New file.
11039
a4295225
TT
110402009-02-02 Tom Tromey <tromey@redhat.com>
11041
11042 PR exp/9059:
11043 * gdb.cp/call-c.exp: Add regression test.
11044 * gdb.cp/call-c.cc (FooHandle): New typedef.
11045 (main): New variable 'handle'.
11046
592375cd
VP
110472009-01-30 Vladimir Prus <vladimir@codesourcery.com>
11048
11049 * lib/mi-support.exp (et_mi_thread_list)
11050 (check_mi_and_console_threads): Adjust for current thread in
11051 -thread-list-ids output.
11052
41447f92
VP
110532009-01-30 Vladimir Prus <vladimir@codesourcery.com>
11054
889bf7c5
PA
11055 * gdb.mi/mi-break.exp (test_disabled_creation): New.
11056 Call it.
41447f92 11057
35669430
DE
110582009-01-28 Doug Evans <dje@google.com>
11059
11060 * gdb.arch/amd64-disp-step.S: New file.
11061 * gdb.arch/amd64-disp-step.exp: New file.
11062 * gdb.arch/i386-disp-step.S: New file.
11063 * gdb.arch/i386-disp-step.exp: New file.
11064
09f00d9a
PM
110652009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
11066
11067 * gdb.base/find.exp: Set newline variable
11068 using quotes instead of braces to fix cygwin failures.
11069
1e8fb976
PA
110702009-01-23 Pedro Alves <pedro@codesourcery.com>
11071
11072 * gdb.base/radix.exp: Add tests to ensure that that set
11073 input-radix 0 and set output-radix 0 are really rejected.
11074
da061712
PA
110752009-01-23 Pedro Alves <pedro@codesourcery.com>
11076
11077 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
11078 copyright years.
11079
dd7e2d2b
PA
110802009-01-23 Pedro Alves <pedro@codesourcery.com>
11081
11082 PR gdb/9664:
11083 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
11084
392452f6
PA
110852009-01-22 Pedro Alves <pedro@codesourcery.com>
11086
11087 PR c++/9631:
11088 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
11089
8653e71c
PM
110902009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
11091
11092 * gdb.server/file-transfer.exp: Use EXEEXT variable for
11093 binfile definition to fix Windows OS failure.
11094
a12cc160
DJ
110952009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11096
11097 PR gdb/9346
11098 * gdb.base/interrupt.c (sigint_handler): New.
11099 (main): Install a SIGINT handler if SIGNALS is defined. Exit
11100 on error.
11101 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
11102 Test "signal SIGINT".
11103
b89667eb
DE
111042009-01-19 Doug Evans <dje@google.com>
11105
11106 * gdb.base/break.exp: Update expected gdb output.
11107 * gdb.base/sepdebug.exp: Ditto.
11108 * gdb.mi/mi-syn-frame.exp: Ditto.
11109 * gdb.mi/mi2-syn-frame.exp: Ditto.
11110 * gdb.base/call-signal-resume.exp: New file.
11111 * gdb.base/call-signals.c: New file.
11112 * gdb.base/unwindonsignal.exp: New file.
11113 * gdb.base/unwindonsignal.c: New file.
11114 * gdb.threads/interrupted-hand-call.exp: New file.
11115 * gdb.threads/interrupted-hand-call.c: New file.
11116 * gdb.threads/thread-unwindonsignal.exp: New file.
11117
adb483fe
DJ
111182009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
11119
11120 * gdb.base/define.exp: Test defining and hooking prefix commands.
11121 * gdb.python/python.exp: Update test for "show user" output.
11122
60023297
JK
111232009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11124
11125 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
11126 now the output exactly, using less wildcards. Expect also the output
11127 of gfortran-4.3. Update for the f-valprint.c modification from
11128 2008-04-22.
11129 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
11130 Remove gdb_test test names where matching the command.
11131
ccc57cf9
PA
111322009-01-01 Pedro Alves <pedro@codesourcery.com>
11133
11134 PR breakpoints/9681:
11135 * gdb.base/watchpoint.exp: Add regression test.
11136
c7a6ca08
PA
111372008-12-31 Pedro Alves <pedro@codesourcery.com>
11138
11139 * gdb.threads/attach-into-signal.exp: Don't use
11140 gdb_suppress_entire_file.
11141 * gdb.threads/attach-stopped.exp: Ditto.
11142 * gdb.threads/attachstop-mt.exp: Ditto.
11143
3a031f65
PA
111442008-12-31 Pedro Alves <pedro@codesourcery.com>
11145
11146 PR gdb/8812:
11147 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
11148
09e6485f
PA
111492008-12-29 Pedro Alves <pedro@codesourcery.com>
11150
11151 PR gdb/7536:
11152 * gdb.base/radix.exp: Add tests to ensure invalid input radices
11153 and unsupported output radices are really rejected.
11154
0cd53049
JK
111552008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11156
11157 * gdb.cp/punctuator.exp: Backslash the '$' signs.
11158
ba163c7e
TT
111592008-12-22 Tom Tromey <tromey@redhat.com>
11160
11161 * gdb.cp/punctuator.exp: New file.
11162
6f4de6c9
JK
111632008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11164
11165 * gdb.base/completion.exp (Completing non-existing component): New test.
11166
0f34d0b4
JK
111672008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11168
11169 Fix for PR gdb/8648.
11170 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
11171 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
11172 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
11173 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
11174
db2ad4c3
JK
111752008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11176
11177 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
11178
bb5ef15e
DP
111792008-12-16 Christophe Lyon <christophe.lyon@st.com>
11180
11181 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
11182 compiler actually generate code at the expected line number.
11183
90142adc
JZ
111842008-12-15 Jie Zhang <jie.zhang@analog.com>
11185
11186 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
11187
fad6eecd
TT
111882008-12-12 Tom Tromey <tromey@redhat.com>
11189
11190 * gdb.base/commands.exp (redefine_hook_test): New proc.
11191 Call it.
11192
17c8aaf5
TT
111932008-12-11 Tom Tromey <tromey@redhat.com>
11194
11195 * gdb.base/macscp.exp: New regression test.
11196
7c8adf68
TT
111972008-12-11 Tom Tromey <tromey@redhat.com>
11198
11199 * gdb.base/macscp.exp: Print "address.addr".
11200 * gdb.base/macscp1.c (struct outer): New struct.
11201 (address): New global.
11202
b05dcbb7
TT
112032008-12-09 Tom Tromey <tromey@redhat.com>
11204
11205 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
11206 Call it.
11207
2d476de1
DE
112082008-12-04 Doug Evans <dje@google.com>
11209
11210 * gdb.server/ext-run.exp: Relax regexp for init program.
11211
87bdc959
TG
112122008-12-03 Tristan Gingold <gingold@adacore.com>
11213
11214 * gdb.base/macscp.exp: Generate an object file during compilation
11215 to work around Darwin dsymutil limitations.
11216
e0740f77
JK
112172008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11218
11219 Test resolving external references to TLS variables.
11220 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
11221 FILE2_THREAD_LOCAL.
11222 (testfile2, srcfile2): New variables.
11223 * gdb.threads/tls.c (file2_thread_local)
11224 (function_referencing_file2_thread_local): New.
11225 * gdb.threads/tls2.c: New file.
11226
67f0aac5
JB
112272008-11-28 Joel Brobecker <brobecker@adacore.com>
11228
11229 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
11230 rather than integer, as integer might not be big enough when
11231 on 64bit targets.
67f0aac5 11232
c332165e
JG
112332008-11-27 Jerome Guitton <guitton@adacore.com>
11234
11235 * gdb.cp/formatted-ref.exp: Add equality test.
11236 * gdb.ada/formatted_ref.exp: Ditto.
11237
fc9b693c
JK
112382008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11239
11240 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
11241 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
11242
a9c64011
AS
112432008-11-20 Andreas Schwab <schwab@suse.de>
11244
11245 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
11246 matching syscall entry point.
11247 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
11248 (tcatch_vfork_then_child_follow): Likewise. Finish through
11249 vfork even if we stopped at the syscall trampoline.
11250
e2fd701e
DE
112512008-11-20 Doug Evans <dje@google.com>
11252
11253 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
11254
69abc51c
TJB
112552008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
11256
11257 * gdb.arch/ppc-dfp.exp: New file.
11258 * gdb.arch/ppc-dfp.c: New file.
11259
c14c28ba
PP
112602008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11261
11262 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 11263
2e74121d
DE
112642008-11-17 Doug Evans <dje@google.com>
11265
11266 * gdb.mi/mi-syn-frame.exp: Update expected output.
11267 * gdb.mi/mi2-syn-frame.exp: Update expected output.
11268
66bb093b
VP
112692008-11-17 Vladimir Prus <vladimir@codesourcery.com>
11270
11271 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
11272 "thread N" results in =thread-selected.
11273 * lib/mi-support (mi_run_cmd, mi_expect_stop)
11274 (mi_send_resuming_command_raw): Be prepared for
11275 =thread-selected.
11276
3d043ef6
VP
112772008-11-17 Vladimir Prus <vladimir@codesourcery.com>
11278
a9c64011
AS
11279 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
11280 * lib/mi-support.exp: Likewise.
3d043ef6 11281
808104c8
JB
112822008-11-16 Joel Brobecker <brobecker@adacore.com>
11283
11284 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
11285 commands from the expected output for "help catch".
11286
00b22944
JB
112872008-11-15 Joel Brobecker <brobecker@adacore.com>
11288
11289 * gdb.ada/int_deref.exp: New testcase.
11290
59669435
TT
112912008-11-14 Nick Roberts <nickrob@snap.net.nz>
11292
11293 * gdb.mi/gdb2549.exp: New file.
11294
de04a248
DE
112952008-11-11 Doug Evans <dje@google.com>
11296
11297 * gdb.base/callexit.exp: New file.
11298 * gdb.base/callexit.c: New file.
11299
6b8ce727
DE
113002008-11-10 Doug Evans <dje@google.com>
11301
11302 * lib/gdb.exp (GDBFLAGS): Move -nx ...
11303 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
11304 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
11305 (default_gdb_start,default_gdb_exit): Ditto.
11306 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
11307 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
11308 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
11309 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
11310 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
11311 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
11312
1b14b8aa
AS
113132008-11-03 Andreas Schwab <schwab@suse.de>
11314
11315 * gdb.base/hashline2.exp: Fix typo.
11316 * gdb.base/hashline3.exp: Likewise.
11317
f3134b88
TT
113182008-10-30 Tom Tromey <tromey@redhat.com>
11319
11320 * gdb.base/pointers.exp: Add test.
11321 * gdb.base/pointers.c (k, S): New typedefs.
11322 (instance): New global.
11323
c2226152
AS
113242008-10-30 Andreas Schwab <schwab@suse.de>
11325
11326 * gdb.base/args.exp: Add tests for newlines.
11327
462f405c
JB
113282008-10-30 Joel Brobecker <brobecker@adacore.com>
11329
11330 gdb.base/foll-exec.exp: Update the expected output of a couple
11331 of "info breakpoints" tests.
11332
79a45b7d
TT
113332008-10-28 Tom Tromey <tromey@redhat.com>
11334
11335 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
11336
adc13a14
PA
113372008-10-24 Pedro Alves <pedro@codesourcery.com>
11338
11339 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
11340 gdb_start_cmd.
11341 Use runto_main before any test that requires execution.
11342
252fbfc8
PA
113432008-10-23 Pedro Alves <pedro@codesourcery.com>
11344
11345 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
11346 instead of SIGINT.
11347
28148e3d
JB
113482008-10-22 Joel Brobecker <brobecker@adacore.com>
11349
11350 * gdb.base/completion.exp: Update expected output following
11351 the addition of the "info tasks" command.
11352
c209f847
TT
113532008-10-22 Tom Tromey <tromey@redhat.com>
11354
11355 * gdb.base/exprs.exp (test_expr): Add test for string
11356 concatenation.
11357
f177e350
PA
113582008-10-19 Pedro Alves <pedro@codesourcery.com>
11359
11360 * configure.ac: Output gdb.python/Makefile.
11361 * configure: Regenerate.
11362 * gdb.python/Makefile.in: New.
11363
cce89356
JB
113642008-10-16 Joel Brobecker <brobecker@adacore.com>
11365
11366 * gdb.base/foll-fork.exp: Adjust the expected output to match
11367 the new description for fork/vfork catchpoints in the "info
11368 breakpoints" output.
11369
176d289d
TJB
113702008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
11371
11372 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
11373
a08702d6
TJB
113742008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
11375
11376 * gdb.python/python-value.c: New file.
11377 * gdb.python/python-value.exp: New file.
11378
1c5cfe86
PA
113792008-10-15 Pedro Alves <pedro@codesourcery.com>
11380
11381 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
11382
5a98ad69
DP
113832008-10-15 Denis Pilat <denis.pilat@st.com>
11384
41702f1b 11385 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 11386
dcb1a1e2
TT
113872008-10-09 Tom Tromey <tromey@redhat.com>
11388
11389 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
11390 'fprintf' and 'stderr'.
11391
9124fe48
JB
113922008-10-07 Joel Brobecker <brobecker@adacore.com>
11393
11394 * gdb.ada/ref_tick_size.exp: New testcase.
11395
45452591
DE
113962008-10-06 Doug Evans <dje@google.com>
11397
11398 * gdb.dwarf2/dw2-cu-size.exp: New file.
11399 * gdb.dwarf2/dw2-cu-size.S: New file.
11400
11401 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
11402 .Ltype_int for clarity.
11403
4fc5b208
PP
114042008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11405
11406 PR gdb/2384:
11407 * gdb.cp/gdb2384.exp: Extended to test more cases.
11408 * gdb.cp/gdb2384.cc: Likewise.
11409 * gdb.cp/gdb2384-base.h: Likewise.
11410 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 11411
d78df370
JK
114122008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11413
11414 * gdb.base/maint.exp (maint print type): Remove printing
11415 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
11416
9a044a89
TT
114172008-09-30 Tom Tromey <tromey@redhat.com>
11418
11419 * gdb.base/macscp.exp: Add completion tests.
11420 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
11421 (TWENTY_THREE): Likewise.
11422 (FORTY_EIGHT): Likewise.
11423
506800a9
TT
114242008-09-30 Tom Tromey <tromey@redhat.com>
11425
11426 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
11427 everywhere.
11428 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
11429
1a6f01b5
JK
114302008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
11431
11432 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
11433 testcase is derived from. Fix racy dependency on an expected PID
11434 number. No longer support the testcase on Linux kernel 2.4.x.
11435
2fae03e8
TT
114362008-09-27 Tom Tromey <tromey@redhat.com>
11437
11438 * gdb.base/macscp.exp: Add tests for stringification, splicing,
11439 and varargs.
11440
1ad15515
PA
114412008-09-22 Pedro Alves <pedro@codesourcery.com>
11442
11443 * lib/mi-support.exp (mi_expect_interrupt): New.
11444 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
11445 from gdb.mi/mi-nonstop.exp.
11446 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
11447 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
11448 lib/mi-support.exp.
11449 Use mi_check_thread_states throughout. Avoid ".*" and do not
11450 require an anchor after -exec-run.
11451
d0b76dc6
DJ
114522008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
11453
11454 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
11455 stop is pending. Avoid ".*" when two stops are pending.
11456 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
11457 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
11458 newlines in fullnames.
11459 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
11460 (mi_expect_stop): Update comments. Only anchor in sync mode.
11461 Do not match newlines.
11462 (mi_send_resuming_command_raw): Always return status.
11463 (mi_get_stop_line): Do not match more than one line by accident.
11464 Only anchor in sync mode.
11465 (mi_run_inline_test): If -exec-next fails, give up.
11466
9990c830
UW
114672008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11468
11469 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
11470 on SPU.
11471
ebcf6f00
JB
114722008-09-10 Joel Brobecker <brobecker@adacore.com>
11473
11474 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
11475
b6db24e5
JB
114762008-09-10 Joel Brobecker <brobecker@adacore.com>
11477
11478 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
11479 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
11480 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
11481 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
11482 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
11483 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
11484 gdb.ada/interface.exp, gdb.ada/null_array.exp,
11485 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
11486 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
11487 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
11488 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
11489 Include the "= " sequence in the expected output of print tests.
11490
2bf448e0
JB
114912008-09-10 Joel Brobecker <brobecker@adacore.com>
11492
11493 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
11494 description for boolean types.
11495
d51fd4c8
PA
114962008-09-09 Pedro Alves <pedro@codesourcery.com>
11497
11498 * gdb.base/hook-stop-continue.c: New.
11499 * gdb.base/hook-stop-continue.exp: New.
11500
694182d2
DJ
115012008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
11502
11503 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
11504
3b8a7fc0
JG
115052008-09-08 Jerome Guitton <guitton@adacore.com>
11506
11507 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
11508 (stack_check_probe_2, stack_check_probe_loop_1)
11509 (stack_check_probe_loop_2): New functions.
11510 (main): Add call to these new functions.
11511 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
11512 functions, check that the breakpoint is inserted at the appropriate
11513 location.
11514 (insert_breakpoint): Slightly refine this procedure so that it can
11515 be called several times in the test.
11516
96cc0ae8
JG
115172008-09-08 Jerome Guitton <guitton@adacore.com>
11518
11519 * gdb.base/stack-checking.c: New file.
11520 * gdb.base/stack-checking.exp: New file.
11521
1f08b409
TJB
115222008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
11523
11524 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
11525 * gdb.arch/altivec-regs.exp: Likewise.
11526 * gdb.arch/vsx-regs.exp: Likewise.
11527
3099e1c4
TJB
115282008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
11529
11530 * gdb.arch/ppc-fp.exp: New file.
11531 * gdb.arch/ppc-fp.c: New file.
11532
cc69bfc1
PP
115332008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11534
11535 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
11536 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 11537
b02a33db
MS
115382008-09-04 Michael Snyder <msnyder@vmware.com>
11539
11540 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
11541 as "at" (for non-debug functions such as _start).
11542
2992cbe0
UW
115432008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11544
11545 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
11546 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
11547 software watchpoints.
11548 * gdb.base/watch_thread_num.exp: Likewise.
11549
514f746b
AR
115502008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
11551
11552 * gdb.arch/i386-bp_permanent.exp: New test.
11553
876cecd0
TT
115542008-08-24 Tom Tromey <tromey@redhat.com>
11555
11556 * gdb.base/maint.exp: Update "maint print type".
11557
80f73d71
VP
115582008-08-21 Vladimir Prus <vladimir@codesourcery.com>
11559
11560 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
11561 support. Adjust the order of "*running" notifications.
11562 * gdb.mi/non-stop.c: Don't cast from int to void* and
11563 back.
11564
d9c78d7d
MK
115652008-08-20 Mark Kettenis <kettenis@gnu.org>
11566
11567 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
11568 expect to find it in the "info frame" output.
11569
97a2d1d3
DJ
115702008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
11571
11572 * gdb.base/interp.exp: Always consume both prompts.
11573
b96e2927
PA
115742008-08-20 Pedro Alves <pedro@codesourcery.com>
11575
11576 * gdb.base/pending.exp: Test pending breakpoints without symbols
11577 loaded.
11578
8cf6e61a
VP
115792008-08-19 Vladimir Prus <vladimir@codesourcery.com>
11580
11581 * lib/mi-support.exp (mi_expect_stop): Produce
11582 more details on failures.
11583 * gdb.mi/mi-nonstop.exp: New.
11584 * gdb.mi/non-stop.c: New.
11585
c6ebd6cf
VP
115862008-08-19 Vladimir Prus <vladimir@codesourcery.com>
11587
a9c64011
AS
11588 * gdb.mi/mi-async.exp: Use 'set target-async'.
11589 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 11590
46a9b8ed
DJ
115912008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
11592
11593 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
11594
44feb3ce
TT
115952008-08-17 Tom Tromey <tromey@redhat.com>
11596
11597 * gdb.base/help.exp (help catch): Rewrite.
11598
311a4e6b
TJB
115992008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
11600
11601 * gdb.base/define.exp: Test indented command documentation.
11602 * gdb.python/python.exp: Test indented multi-line command.
11603
604c2f83
LM
116042008-08-15 Luis Machado <luisgpm@br.ibm.com>
11605
11606 * testsuite/gdb.arch/vsx-regs.c: New source file.
11607 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
11608 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
11609
886a217c
TT
116102008-08-14 Tom Tromey <tromey@redhat.com>
11611
11612 * gdb.base/macscp.exp: Add regression test for "macro define" or
11613 "macro undef" with no arguments.
11614
c814a4f3
PP
116152008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11616
11617 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 11618
12ab8a60
UW
116192008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11620
11621 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
11622
d57a3c85
TJB
116232008-08-06 Tom Tromey <tromey@redhat.com>
11624
11625 * gdb.python/python.exp: New file.
11626
c7b778ff
JK
116272008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
11628
11629 Fix for PR gdb/1543.
11630 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
11631 $LOCATION.
11632 (location): New variable.
11633 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
11634 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
11635 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
11636 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
11637 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
11638 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
11639 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
11640 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
11641 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
11642 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
11643 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
11644 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
11645 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
11646 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
11647 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
11648 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
11649 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
11650 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
11651 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
11652 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
11653 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
11654 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
11655 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
11656 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
11657 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
11658 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
11659 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
11660 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
11661 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
11662 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
11663 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
11664 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
11665 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
11666 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
11667 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
11668 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
11669 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
11670 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
11671 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
11672 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
11673 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
11674 gdb.base/type-opaque.exp, gdb.base/until.exp,
11675 gdb.base/value-double-free.c, gdb.base/varargs.exp,
11676 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
11677 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
11678 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
11679 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
11680 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
11681 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
11682 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
11683 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
11684 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
11685 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
11686 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
11687 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
11688 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
11689 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
11690 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
11691 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
11692 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
11693 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
11694 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
11695 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
11696 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
11697 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
11698 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
11699 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
11700 gdb.pascal/types.exp, gdb.stabs/weird.exp,
11701 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
11702 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
11703 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
11704 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
11705 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
11706 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
11707 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
11708 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
11709 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
11710 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
11711 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
11712 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
11713 lib/mi-support.exp, lib/trace-support.exp: Remove reference
11714 to bug-gdb@prep.ai.mit.edu .
11715
5e06a3d1
VP
117162008-07-31 Vladimir Prus <vladimir@codesourcery.com>
11717
11718 * lib/mi-support.exp (mi_load_shlibs): New.
11719 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
11720
9d81d21b
VP
117212008-07-30 Vladimir Prus <vladimir@codesourcery.com>
11722
11723 * lib/mi-support.exp (get_mi_thread_list)
11724 (check_mi_and_console_threads): New, moved from ...
11725 * gdb.mi/mi-pthread.exp: ...here.
11726 * gdb.mi/gdb669.exp (get_mi_thread_list)
11727 (check_mi_and_console_threads): Delete.
11728 * gdb.mi/mi2-pthread.exp: Likewise.
11729
bae98fe0
TT
117302008-07-28 Tom Tromey <tromey@redhat.com>
11731
11732 * Makefile.in (just-check): Remove. Move body to...
11733 (check): ... here.
11734
57380f4e
DJ
117352008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11736
11737 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
11738 Add a test for duplicated SIGINTs.
11739
e09490f1
DJ
117402008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11741
11742 * gdb.threads/schedlock.exp (get_args): Update to work for any
11743 value of NUM.
11744 (Top level): Report the number of threads that did not resume.
11745
6387b45f
DJ
117462008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11747
11748 * gdb.dwarf2/dw2-compressed.S: Also define __start.
11749
62f64ff2
DJ
117502008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11751
11752 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
11753 non-MI prompt.
11754
fa8de41e
TT
117552008-07-26 Tom Tromey <tromey@redhat.com>
11756
11757 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
11758 (function_struct, function_struct_ptr): New globals.
11759 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
11760 function pointer in a struct.
11761
ccb3ac8a
TT
117622008-07-26 Tom Tromey <tromey@redhat.com>
11763
11764 * gdb.base/macscp.exp: Add test for macro lexing bug.
11765
d7d9f01e
TT
117662008-07-18 Tom Tromey <tromey@redhat.com>
11767
11768 * gdb.base/macscp.exp: Add macro tests.
11769
9bf07184
PP
117702008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
11771
11772 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
11773
becf6477
PP
117742008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
11775
11776 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
11777
0709f7d3
PP
117782008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
11779
11780 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 11781
7093c834
PP
117822008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
11783
11784 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 11785
b432ffe3
JK
117862008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11787
11788 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
11789
b1a268e5
VP
117902008-07-12 Vladimir Prus <vladimir@codesourcery.com>
11791
11792 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
11793
e2995f8e
KB
117942008-07-11 Kevin Buettner <kevinb@redhat.com>
11795
11796 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
11797 of regexp to account for changes made to GDB in the printing of
11798 byte vectors.
11799
14032a66
TT
118002008-07-11 Tom Tromey <tromey@redhat.com>
11801
11802 * gdb.base/completion.exp: Add 'help' completion test.
11803
981505ef
JK
118042008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11805
11806 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
11807
10568435
JK
118082008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
11809
11810 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
11811
4487aabf
PA
118122008-07-09 Pedro Alves <pedro@codesourcery.com>
11813
11814 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
11815
a4a9b1c4
PA
118162008-07-09 Pedro Alves <pedro@codesourcery.com>
11817
11818 * gdb.base/fullname.exp: Restore pwd if compiling failed.
11819
3c3185ac
JK
118202008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11821
11822 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
11823
7ebd49dc
VP
118242008-06-28 Vladimir Prus <vladimir@codesourcery.com>
11825
11826 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
11827 previous commit. Add a comment.
11828
84e46146
PA
118292008-06-28 Pedro Alves <pedro@codesourcery.com>
11830
11831 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
11832
0f8d4a2f
VP
118332008-06-28 Vladimir Prus <vladimir@codesourcery.com>
11834
11835 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
11836
f747e0ce
PA
118372008-06-27 Pedro Alves <pedro@codesourcery.com>
11838
11839 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
11840 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
11841 compiling an executable, link in an object that forces unbuffered
11842 output.
11843 * lib/set_unbuffered_mode.c: New file.
11844
734a5c36
JK
118452008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11846
11847 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
11848
a2840c35
VP
118492008-06-25 Vladimir Prus <vladimir@codesourcery.com>
11850
a9c64011
AS
11851 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
11852 mi_expect_stop.
11853 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
11854 Demand that *running is output.
11855 (detect_async): Perform checking every time.
11856 (mi_send_resuming_command): Extract everything into...
11857 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
11858 (mi_expect_stop): Don't accept any output before *stopped.
11859
6ae37fef
VP
118602008-06-13 Vladimir Prus <vladimir@codesourcery.com>
11861
11862 Robustify mi-simplerun.
a9c64011
AS
11863 * gdb.mi/basics.c (main): Add a call to sleep.
11864 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
11865 * gdb.mi/mi2-cli.exp: Likewise.
11866 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 11867
b4aa76f0 118682008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
11869
11870 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
11871
e1ac3328
VP
118722008-06-10 Vladimir Prus <vladimir@codesourcery.com>
11873
a9c64011
AS
11874 * gdb.mi/mi-console.exp: Adjust.
11875 * gdb.mi/mi-syn-frame.exp: Adjust.
11876 * gdb.mi/mi2-console.exp: Adjust.
11877 * gdb.mi/mi2-syn-frame.exp: Adjust.
11878 * lib/mi-support.exp (mi_run_cmd): Adjust.
11879 (mi_send_resuming_command): Adjust.
e1ac3328 11880
f7f9a841
VP
118812008-06-10 Vladimir Prus <vladimir@codesourcery.com>
11882
11883 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
11884 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
11885 testing of stopped.
11886 * gdb.mi/mi2-syn-frame.exp: Likewise.
11887 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
11888 (async, detect_async): New.
11889 (mi_expect_stop, mi_continue_to_line): Adjust expectation
11890 depending on if we're running in sync or async mode.
f7f9a841 11891
37cd5d19
TT
118922008-06-09 Tom Tromey <tromey@redhat.com>
11893
11894 * gdb.base/completion.exp: New tests for field name completion
11895 with spaces, and field name completion with '->'.
11896
65d12d83
TT
118972008-06-06 Tom Tromey <tromey@redhat.com>
11898
11899 * gdb.base/break1.c (struct some_struct): New struct.
11900 (values): New global.
11901 * gdb.base/completion.exp: Add field name completion test.
11902
ebfe2e3f
PP
119032008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11904
11905 * gdb.cp/call-c.exp: Test for incorrect handling of reference
11906 to pointer.
11907 * gdb.cp/call-c.cc: Likewise.
11908
bcf6fc3a
NR
119092008-06-06 Nick Roberts <nickrob@snap.net.nz>
11910
11911 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
11912 annotation.
11913
49fd4a42 119142008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 11915 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
11916
11917 * gdb.threads/execl.c, gdb.threads/execl1.c,
11918 gdb.threads/execl.exp: New tests.
a9c64011 11919
8a34ac3f
AR
119202008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
11921 Daniel Jacobowitz <dan@codesourcery.com>
11922
11923 * gdb.cp/exception.exp: Activate test, make it work with pending
11924 catchpoints.
11925
86ae69ef
JK
119262008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
11927
11928 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
11929
f7f9ae2c
VP
119302008-05-28 Vladimir Prus <vladimir@codesourcery.com>
11931
a9c64011
AS
11932 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
11933 now printed.
11934 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 11935
2a2d4dc3
AS
119362008-05-27 Andreas Schwab <schwab@suse.de>
11937
11938 * gdb.base/frame-args.exp: Handle arguments that are optimized
11939 out.
11940
5099e4d9
LM
119412008-05-26 Luis Machado <luisgpm@br.ibm.com>
11942
11943 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
11944 quiet for ppc32 and group options into a single variable.
11945
d9c36a91
JB
119462008-05-23 Joel Brobecker <brobecker@adacore.com>
11947
11948 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
11949 of zero-size elements.
11950 * gdb.ada/null_array.exp: Test printing this new array.
11951
103a8671
JK
119522008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11953
11954 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
11955
07a4cc1a 119562008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
11957
11958 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
11959 of the "finish" command.
11960
55f996a7
NR
119612008-05-21 Nick Roberts <nickrob@snap.net.nz>
11962
11963 * gdb.base/annota1.exp: Test for new annotation.
11964
907fc202
UW
119652008-05-16 Pedro Alves <pedro@codesourcery.com>
11966
11967 * gdb.base/fixsection.exp: New file.
11968 * gdb.base/fixsection0.c: New file.
11969 * gdb.base/fixsection1.c: New file.
11970
e8f97270
UW
119712008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11972
11973 * gdb.base/annota1.exp: Accept printf@... in place of printf.
11974 * gdb.base/annota3.exp: Likewise.
11975
ac0bb574
NF
119762008-05-13 Nathan Froyd <froydnj@codesourcery.com>
11977
11978 * gdb.base/watch_thread_num.exp: Don't run tests that require
11979 watchpoints if the target doesn't support them.
11980
6fadd07a
DE
119812008-05-12 Doug Evans <dje@google.com>
11982
11983 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
11984
6e9a4a30
JB
119852008-05-09 Joel Brobecker <brobecker@adacore.com>
11986
11987 * gdb.ada/assign_1.exp: New testcase.
11988
08388c79
DE
119892008-05-09 Doug Evans <dje@google.com>
11990
a3c83fae
DE
11991 * gdb.base/find.exp: New file.
11992 * gdb.base/find.c: New file.
08388c79 11993
bd5ddfe8
DJ
119942008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
11995
11996 * gdb.base/commands.exp (watchpoint_command_test): Handle
11997 gdb,no_hardware_watchpoints.
11998 * gdb.base/float.exp: Allow ARM targets without floating point.
11999 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
12000
b5dd68e2 120012008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 12002 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
12003
12004 * gdb.ada/lang_switch: New test program.
12005 * gdb.ada/lang_switch.exp: New testcase.
12006
382d13d1
DE
120072008-05-05 Doug Evans <dje@google.com>
12008
12009 * gdb.base/help.exp (disassemble): Update expected help text.
12010
9dd789d0
PA
120112008-05-04 Pedro Alves <pedro@codesourcery.com>
12012
12013 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
12014
611c83ae
PA
120152008-05-04 Pedro Alves <pedro@codesourcery.com>
12016
12017 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
12018 different times.
12019
ff013f42
JK
120202008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12021
12022 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
12023 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
12024 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
12025 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
12026
96dff6a2
VP
120272008-05-04 Vladimir Prus <vladimir@codesourcery.com>
12028
12029 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
12030 notification to appear.
12031
55cd6f92
DJ
120322008-05-04 Daniel Jacobowitz <dan@debian.org>
12033
12034 * gdb.base/fullname.c: New file.
12035 * gdb.base/fullname.exp: New file.
12036 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
12037
d705c43c
PA
120382008-05-03 Pedro Alves <pedro@codesourcery.com>
12039
12040 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
12041 expressions with macros.
12042
333222e1
JK
120432008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12044
12045 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
12046
5ac01682
DJ
120472008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
12048
12049 * gdb.base/completion.exp: Handle lack of other symbols beginning
12050 with "a".
12051
12052 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
12053
237fc4c9
PA
120542008-05-02 Jim Blandy <jimb@codesourcery.com>
12055
12056 * gdb.asm/asmsrc1.s: Add scratch space.
12057
ed5e9466
DJ
120582008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12059 Daniel Jacobowitz <dan@codesourcery.com>
12060
12061 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
12062 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
12063 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
12064
b39cc962
DJ
120652007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
12066
12067 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
12068
36d520f5
JB
120692008-05-01 Joel Brobecker <brobecker@adacore.com>
12070
12071 * gdb.base/info-target.exp: New testcase.
12072
8d4e3071
DJ
120732008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
12074
12075 * gdb.cp/hang.exp: Use .cc instead of .C.
12076 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
12077 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
12078
6f3f3097
DJ
120792008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
12080
12081 * gdb.base/gdb1250.exp: Remove perror.
12082 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
12083
5550a914
PA
120842008-04-30 Pedro Alves <pedro@codesourcery.com>
12085
12086 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
12087 .2byte.
12088
d848e687
DJ
120892008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
12090
12091 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
12092 (maybe_kfail): New.
12093
93b5768b
PA
120942008-04-25 Pedro Alves <pedro@codesourcery.com>
12095
12096 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
12097
721c02de
VP
120982008-04-24 Vladimir Prus <vladimir@codesourcery.com>
12099
a9c64011
AS
12100 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
12101 * gdb.mi/mi2-syn-frame.exp: Likewise.
12102 * lib/mi-support.exp: Likewise.
721c02de 12103
74960c60
VP
121042008-04-24 Vladimir Prus <vladimir@codesourcery.com>
12105
12106 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
12107 to specify regexp for the location to stop at.
12108 * gdb.base/break-always.c: New.
12109 * gdb.base/break-always.exp: New.
12110
d24317b4
VP
121112008-04-24 Vladimir Prus <vladimir@codesourcery.com>
12112
12113 * lib/mi-support.exp (mi_runto_helper): Adjust
12114 for the original-location field.
12115 (mi_create_breakpoint, mi_list_breakpoints): New.
12116 * gdb.mi/mi-break.exp: Adjust.
12117 * gdb.mi/mi2-break.exp: Adjust.
12118 * gdb.mi/mi-pending.exp: Adjust.
12119 * gdb.mi/mi-simplerun.exp: Adjust.
12120 * gdb.mi/mi2-simplerun.exp: Adjust.
12121 * gdb.mi/mi-syn-frame.exp: Adjust.
12122 * gdb.mi/mi2-syn-frame.exp: Adjust.
12123 * gdb.mi/mi-until.exp: Adjust.
12124 * gdb.mi/mi2-until.exp: Adjust.
12125 * gdb.mi/mi-var-display.exp: Adjust.
12126 * gdb.mi/mi2-var-display.exp: Adjust.
12127 * gdb.mi/mi-watch.exp: Adjust.
12128 * gdb.mi/mi2-watch.exp: Adjust.
12129
fdc59709 121302008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 12131
a9c64011
AS
12132 * aclocal.m4: Add override.m4.
12133 * configure: Regenerate.
fdc59709 12134
8e91f023
VP
121352008-04-19 Vladimir Prus <vladimir@codesourcery.com>
12136
12137 * gdb.mi/var-cmd.c (do_at_tests): Verify that
12138 '-var-update --all-values' reports new value even the type
12139 of a variable object has changed.
12140
233a11ab
CS
121412008-04-18 Craig Silverstein <csilvers@google.com>
12142
12143 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
12144 files.
d24317b4 12145
9c1137ad
JB
121462008-04-18 Joel Brobecker <brobecker@adacore.com>
12147
12148 * gdb.ada/atomic_enum: New test program.
12149 * gdb.ada/atomic_enum.exp: New testcase.
12150
66d0bbc7
DE
121512008-04-17 Doug Evans <dje@google.com>
12152
12153 * gdb.opt/Makefile.in: Fix whitespace.
12154
100906b0
UW
121552008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
12156
12157 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
12158
4584e32e
DE
121592008-04-17 Doug Evans <dje@google.com>
12160
12161 * gdb.base/hashline1.exp: New testcase.
12162 * gdb.base/hashline2.exp: New testcase.
12163 * gdb.base/hashline2.exp: New testcase.
12164
0a320680
PA
121652008-04-17 Pedro Alves <pedro@codesourcery.com>
12166
12167 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
12168
18ac113b
AR
121692008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
12170
12171 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
12172 temporary breakpoint to match "Temporary breakpoint".
12173 * gdb.base/break.exp (delete_breakpoints): Likewise.
12174 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
12175 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
12176 * gdb.base/display.exp: Likewise.
12177 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
12178 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
12179 * gdb.base/restore.exp (restore_tests): Likewise.
12180 * gdb.base/sepdebug.exp: Likewise.
12181 * gdb.base/watchpoint.exp: Likewise.
12182 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
12183 * gdb.mi/mi-pending.exp: Likewise.
12184 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
12185 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
12186 * gdb.mi/mi-var-cmd.exp: Likewise.
12187 * gdb.mi/mi-var-display.exp: Likewise.
12188 * gdb.mi/mi2-cli.exp: Likewise.
12189 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
12190 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
12191 * gdb.mi/mi2-var-display.exp: Likewise.
12192 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
12193 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
12194 new "disp" field.
a9c64011 12195 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
12196 reason. This is to support fix for PR2424.
12197
add38693
JK
121982008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12199
12200 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
12201
fcacd99f
VP
122022008-04-13 Vladimir Prus <vladimir@codesourcery.com>
12203
12204 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 12205 field. Add more floating varobj tests.
fcacd99f 12206 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
12207 field.
12208 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
12209 (main): Call do_at_tests.
12210 * lib/mi-support.exp (mi_create_floating_varobj)
12211 (mi_varobj_update_with_type_change): New.
fcacd99f 12212
de051565
MK
122132008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
12214
12215 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
12216 option of -var-evaluate-expression.
12217 * gdb.mi/mi2-var-display.exp: Likewise.
12218
dbc52822
VP
122192008-04-07 Vladimir Prus <vladimir@codesourcery.com>
12220
12221 Introduce test setup helpers.
a9c64011
AS
12222 * lib/gdb.exp (build_executable, clean_restart)
12223 (prepare_for_testing): New.
12224 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
12225 * gdb.base/return.exp: Likewise.
12226 * gdb.base/ending-run.exp: Likewise.
dbc52822 12227
473591da
NR
122282008-04-07 Nick Roberts <nickrob@snap.net.nz>
12229
12230 * gdb.mi/mi-async.exp: New test for asynchronous Machine
12231 Interface (MI) responses.
12232
2b2d9e11
VP
122332008-04-06 Vladimir Prus <vladimir@codesourcery.com>
12234
a9c64011
AS
12235 * gdb.cp/breakpoint.cc: New code to test conditions involving
12236 member variables.
12237 * gdb.cp/breakpoint.exp: Test condition involving member
12238 variables.
2b2d9e11 12239
bb378428
VP
122402008-04-05 Vladimir Prus <vladimir@codesourcery.com>
12241
12242 * lib/mi-support.exp (mi_expect_stop): New.
12243 (mi_run_cmd): Change the
12244 token. Use mi_send_resuming_command, use
12245 mi_expect_stop.
12246 (mi_execute_to_helper): Rename to mi_execute_to.
12247 (mi_send_resuming_command): Add more error patterns.
12248 (mi_wait_for_stop): Renamed to...
12249 (mi_get_stop_line): ...this.
12250 (mi_run_inline_test): Adjust.
12251
12252 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
12253 * gdb.mi/mi-console.exp: Likewise.
12254 * gdb.mi/mi-pending.exp: Likewise.
12255 * gdb.mi/mi-simplerun.exp: Likewise.
12256 * gdb.mi/mi-stack.exp: Likewise.
12257 * gdb.mi/mi-stepi.exp: Likewise.
12258 * gdb.mi/mi-syn-frame.exp: Add comment.
12259 * gdb.mi/mi-until.exp: Likewise.
12260 * gdb.mi/mi-var-display.exp: Likewise.
12261 * gdb.mi/mi-watch.exp: Likewise.
12262 * gdb.mi/mi2-cli.exp: Likewise.
12263 * gdb.mi/mi2-console.exp: Likewise.
12264 * gdb.mi/mi2-simplerun.exp: Likewise.
12265 * gdb.mi/mi2-stack.exp: Likewise.
12266 * gdb.mi/mi2-stepi.exp: Likewise.
12267 * gdb.mi/mi2-until.exp: Likewise.
12268 * gdb.mi/mi2-var-display.exp: Likewise.
12269 * gdb.mi/mi2-watch.exp: Likewise.
12270
62172bb9
UW
122712008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12272
12273 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
12274
12275 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
12276
a13e061a
PA
122772008-04-04 Pedro Alves <pedro@codesourcery.com>
12278
12279 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
12280 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
12281 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
12282 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
12283 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
12284 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
12285 expect an mi error duplicated in stderr.
12286
eae06beb
JB
122872008-04-03 Joel Brobecker <brobecker@adacore.com>
12288
12289 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
12290 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
12291 Add a couple of tests that verify the behavior when the new setting
12292 is set to "cancel" and "all".
12293 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
12294 "ask" before we start the testing.
12295
79c6ced6
AR
122962008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
12297
12298 * gdb.cp/casts.cc: Add class reference variables.
12299 * gdb.cp/casts.exp: New test cases for up/down casting references.
12300
6c2d1a6b
MK
123012008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
12302
12303 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
12304 instead of beginning to make an extra test pass.
12305 * gdb.mi/mi2-var-display.exp: Likewise.
12306
55b411d9
MR
123072008-03-31 Maciej W. Rozycki <macro@mips.com>
12308
12309 * gdb.base/break.exp: Mark failures as such. Fix formatting.
12310
c6140da2
MD
123112008-03-31 Markus Deuling <deuling@de.ibm.com>
12312 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12313
12314 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
12315 value. Add xfail for older kernels.
12316
79732189
AR
123172008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
12318
12319 Bring mi-support in line with gdb.exp.
12320 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
12321 (mi_gdb_start): New function.
12322
33c3676e
MR
123232008-03-28 Maciej W. Rozycki <macro@mips.com>
12324
12325 * gdb.mi/mi-var-cmd.exp: Fix a typo.
12326
92e28119
VP
123272008-03-26 Vladimir Prus <vladimir@codesourcery.com>
12328
12329 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
12330 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 12331
9e8e3afe
VP
123322008-03-26 Vladimir Prus <vladimir@codesourcery.com>
12333
12334 * lib/mi-support.exp (mi_create_varobj_checked): New.
12335 (mi_list_varobj_children): Allow to check for a
12336 value.
12337 (mi_list_array_varobj_children): New.
12338
12339 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
12340 and mi_list_varobj_children, as opposed to hardcoding
12341 expected strings.
12342 * gdb.mi/gdb701.exp: Likewise.
12343 * gdb.mi/gdb792.exp: Likewise.
12344 * gdb.mi/mi-var-block.exp: Likewise.
12345 * gdb.mi/mi-var-cmd.exp: Likewise.
12346 * gdb.mi/mi-var-invalidate.exp: Likewise.
12347 * gdb.mi/mi2-var-block.exp: Likewise.
12348 * gdb.mi/mi2-var-child.exp: Likewise.
12349 * gdb.mi/mi2-var-cmd.exp: Likewise.
12350 * gdb.mi/mi2-var-display.exp: Likewise.
12351
9df50351
JK
123522008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
12353
12354 Fix random false FAILs on i386.
12355 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
12356
31e5d73a
DJ
123572008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
12358
12359 PR gdb/544
12360 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
12361
12f4afab
DJ
123622008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
12363
12364 PR gdb/544
12365 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
12366
b562a0cb
DJ
123672008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
12368
12369 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
12370 fixed PR gdb/544.
12371
17faa917
DJ
123722008-03-21 Pedro Alves <pedro@codesourcery.com>
12373
12374 * gdb.threads/fork-child-threads.exp: Test next over fork.
12375
6214f497
DJ
123762008-03-21 Chris Demetriou <cgd@google.com>
12377
12378 * gdb.base/break.exp (rbreak junk): New test for rbreak
12379 "Junk at end of arguments" issue.
12380
63092375
DJ
123812008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
12382
12383 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
12384 *& to work on created array elements.
12385 (Top level): Test print $pc with a file. Test string operations
12386 without a target.
12387 * gdb.base/ptype.exp: Do not expect *& to work on created array
12388 elements.
12389
b21991b0
DJ
123902008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
12391
12392 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
12393 gdb.threads/staticthreads.exp: Update exit query.
12394
c4b347c7
SL
123952008-03-07 Sandra Loosemore <sandra@codesourcery.com>
12396
12397 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
12398
fa4727a6
DJ
123992008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
12400
12401 * gdb.base/watchpoint.c (global_ptr, func4): New.
12402 (main): Call func4.
12403 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
12404 (test_inaccessible_watchpoint): New.
12405
2f34202f
MR
124062008-02-29 Maciej W. Rozycki <macro@mips.com>
12407
12408 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
12409 select the largest.
12410
0d6ba1b1
DJ
124112008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
12412
12413 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
12414 frames-invalid annotations.
12415
e691325a
PM
124162008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
12417
a9c64011 12418 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 12419
f85b5ecc
DE
124202008-02-27 Doug Evans <dje@google.com>
12421
12422 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
12423 for bug 1738.
12424 (breakpoint_to_handler_entry): Ditto.
12425
b40e7bf3
JB
124262008-02-27 Joel Brobecker <brobecker@adacore.com>
12427
12428 * gdb.base/ending-run.exp: Use the first line of code inside
12429 function body to test breakpoints.
12430 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
12431 location where the breakpoint is inserted when using the line
12432 where a function is declared. Fix typo in the description of
12433 one of the tests.
12434 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
12435
2faca73a
PM
124362008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
12437
12438 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 12439 tests.
2faca73a 12440
6f439c36
PM
124412008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
12442
12443 * gdb.base/args.exp: avoid same output for tests
12444 with single quotes.
12445
54e52265
VP
124462008-02-26 Vladimir Prus <vladimir@codesourcery.com>
12447
a9c64011
AS
12448 * gdb.base/annota1.exp: Adjust for 'info break'
12449 format changes.
12450 * gdb.base/annota3.exp: Likewise.
12451 * gdb.base/break.exp: Likewise.
12452 * gdb.base/condbreak.exp: Likewise.
12453 * gdb.base/pending.exp: Likewise.
12454 * gdb.base/sepdebug.exp: Likewise.
12455 * gdb.base/unload.exp: Likewise.
12456 * gdb.cp/ovldbreak.exp: Likewise.
12457 * gdb.mi/mi-pending.exp: Likewise.
54e52265 12458
897b09ca
DE
124592008-02-07 Doug Evans <dje@google.com>
12460
12461 * gdb.cp/mb-inline.exp: New.
12462 * gdb.cp/mb-inline.h: New.
12463 * gdb.cp/mb-inline1.cc: New.
12464 * gdb.cp/mb-inline2.cc: New.
12465
b1c32d35
PM
124662008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
12467
12468 * gdb.pascal/floats.pas: New test program.
12469 * gdb.pascal/floats.exp: New testcase.
12470
1a4ca44a
TJB
124712008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
12472
12473 * gdb.base/callfuncs.c (t_float_many_args): New function.
12474 (t_double_many_args): New function.
12475 * gdb.base/callfuncs.exp: Add tests for exceeding float
12476 and double parameters passed through the stack.
12477
439048e8
JB
124782008-02-05 Joel Brobecker <brobecker@adacore.com>
12479
12480 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
12481 gdb.ada/complete/foo.adb: New files.
12482 * gdb.ada/complete.exp: New testcase.
12483
81fe8080
DE
124842008-02-03 Doug Evans <dje@google.com>
12485
301f0ecf
DE
12486 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
12487
81fe8080
DE
12488 * gdb.cp/gdb2384.exp: New file.
12489 * gdb.cp/gdb2384.cc: New file.
12490 * gdb.cp/gdb2384-base.h: New file.
12491 * gdb.cp/gdb2384-base.cc: New file.
12492
4b071aec
DE
124932008-02-02 Doug Evans <dje@google.com>
12494
12495 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
12496
61137ba6
JB
124972007-02-01 Joel Brobecker <brobecker@adacore.com>
12498
12499 * gdb.ada/sym_print_name: New test program.
12500 * gdb.ada/sym_print_name.exp: New testcase.
12501
125022007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
12503
12504 * gdb.ada/nested/hello.adb: New file.
12505 * gdb.ada/nested.exp: New testcase.
12506 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
12507
98deb0da
VP
125082008-02-01 Vladimir Prus <vladimir@codesourcery.com>
12509
12510 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
12511 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
12512 don't cause future evaluations of function to report
12513 creation of internal breakpoints.
98deb0da 12514
723a2275
VP
125152008-02-01 Vladimir Prus <vladimir@codesourcery.com>
12516
12517 * gdb.mi/mi-break.exp (test_error): New.
12518 Call it.
12519
fb546a2f
LM
125202008-01-31 Luis Machado <luisgpm@br.ibm.com>
12521
12522 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
12523 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
12524
2d8fd90a
PM
125252008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
12526
12527 * gdb.pascal/integers.pas: New test program.
12528 * gdb.pascal/integers.exp: New testcase.
12529
a7fa0ded
PM
125302008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
12531
12532 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
12533
5e1a1926
TJB
125342008-01-30 Luis Machado <luisgpm@br.ibm.com>
12535
12536 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
12537 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
12538
8d04f9f0
JB
125392008-01-30 Paul Hilfinger <hilfinger@adacore.com>
12540
12541 * gdb.ada/formatted_ref: New test program.
12542 * gdb.ada/formatted_ref.exp: New testcase.
12543
12544 * gdb.cp/formatted-ref.cc: New file.
12545 * gdb.cp/formatted-ref.exp: New testcase.
12546
ce75a98f
JB
125472008-01-30 Joel Brobecker <brobecker@adacore.com>
12548
12549 * gdb.base/ptype.exp: Add testing of "ptype $pc".
12550
e835f6bf
NR
125512008-01-30 Nick Roberts <nickrob@snap.net.nz>
12552
12553 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
12554 (test_file_list_exec_source_file): Update to new macro-info field.
12555
d118ef87
PH
125562008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
12557
12558 * gdb.ada/exprs: New test program.
12559 * gdb.ada/exprs.exp: New testcase.
12560
7d35ab09
TJB
125612008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12562
12563 * dfp-test.c (DELTA, DELTA_B): New definitions.
12564 (double_val1, double_val2, double_val3, double_val4, double_val5,
12565 double_val6, double_val7, double_val8, double_val9, double_val10,
12566 double_val11, double_val12, double_val13, double_val14, dec32_val1,
12567 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
12568 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
12569 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
12570 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
12571 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
12572 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
12573 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
12574 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
12575 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
12576 dec128_val16): New global variables.
12577 (decimal_dec128_align): New function.
12578 (decimal_mixed): Likewise.
12579 (decimal_many_args_dec32): Likewise.
12580 (decimal_many_args_dec64): Likewise.
12581 (decimal_many_args_dec128): Likewise.
12582 (decimal_many_args_mixed): Likewise.
12583 * dfp-test.exp: Add tests calling new inferior functions.
12584
2d717e4f
DJ
125852008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12586
12587 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
12588 gdb.server/ext-run.exp: New files.
12589 * lib/gdbserver-support.exp (gdbserver_download): New.
12590 (gdbserver_start): New. Update gdbserver expected
12591 output.
12592 (gdbserver_spawn): Use them.
12593 (gdbserver_start_extended): New.
12594
e85a822c
DJ
125952008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
12596
12597 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
12598 Run on GNU/Linux.
12599 (do_exec_tests): Check for systems which do not support catchpoints.
12600 Do not match START.
12601 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
12602 Run on GNU/Linux. Enable verbose output.
12603 (check_fork_catchpoints): New.
12604 (explicit_fork_child_follow, catch_fork_child_follow)
12605 (tcatch_fork_parent_follow): Update expected messages.
12606 (do_fork_tests): Use check_fork_catchpoints.
12607 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
12608 Run on GNU/Linux. Enable verbose output.
12609 (check_vfork_catchpoints): New.
12610 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
12611 expected messages.
12612 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
12613
401ea829
JB
126142008-01-29 Jim Blandy <jimb@red-bean.com>
12615
12616 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
12617 host' errors.
12618 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
12619
aceaf3ad
JB
126202008-01-29 Jim Blandy <jimb@red-bean.com>
12621
12622 * gdb.threads/sigthread.c: Use barriers to ensure that
12623 child_thread and child_thread_two are always initialized before we
12624 start to use them.
12625
a5606eee
VP
126262008-01-29 Vladimir Prus <vladimir@codesourcery.com>
12627
12628 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
12629 * gdb.base/watchpoint-solib.c: New.
12630 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 12631
c55a82bb
PM
126322008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
12633
12634 * gdb.base/gdb1056.exp: Add unsigned integer test.
12635
0993fe05
DE
126362008-01-28 Doug Evans <dje@google.com>
12637
12638 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
12639
4fe42e7f
JB
126402008-01-27 Jim Blandy <jimb@codesourcery.com>
12641
c7a69933
JB
12642 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
12643
4fe42e7f
JB
12644 * gdb.base/expand-psymtabs.exp: Doc fix.
12645
5def8285
MK
126462008-01-26 Mark Kettenis <kettenis@gnu.org>
12647
12648 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
12649
5313c911
NR
126502008-01-24 Nick Roberts <nickrob@snap.net.nz>
12651
a9c64011 12652 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
12653 -var-set-format.
12654
93815fbf
VP
126552008-01-23 Chris Demetriou <cgd@google.com>
12656
12657 * gdb.threads/thread_events.c: New testcase source file.
12658 * gdb.threads/thread_events.exp: New testcase expect file.
12659
467a88ee
NR
126602008-01-23 Nick Roberts <nickrob@snap.net.nz>
12661
12662 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
12663
12664 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
12665 -var-set-format.
12666
d8f82aba
DJ
126672008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
12668 Vladimir Prus <vladimir@codesourcery.com>
12669
12670 * gdb.base/float.exp: Allow missing floating point for m68k and
12671 PowerPC.
12672
60c46647
VP
126732008-01-22 Vladimir Prus <vladimir@codesourcery.com>
12674
12675 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
12676 ignore count.
12677 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
12678 * gdb.mi/mi-cli.exp: Adjust.
12679 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 12680
c7dd36a1
PA
126812008-01-17 Pedro Alves <pedro@codesourcery.com>
12682
12683 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
12684 and 'dummy_ptr' integer pointer. Initialize struct_declarations
12685 with dummy_ptr's address.
12686 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
12687 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
12688 all targets.
12689 * gdb.mi/mi2-var-child.exp: Likewise.
12690
39d5313e
JB
126912008-01-09 Joel Brobecker <brobecker@adacore.com>
12692
12693 * gdb.ada/null_array: New test program.
12694 * gdb.ada/null_array.exp: New testcase.
12695
0aea4bf3
LM
126962008-01-09 Luis Machado <luisgpm@br.ibm.com>
12697
12698 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
12699 with required float modifiers.
12700
0b354900
JB
127012008-01-08 Joel Brobecker <brobecker@adacore.com>
12702
12703 * gdb.ada/funcall_param: New test program.
12704 * gdb.ada/funcall_param.exp: New testcase.
12705
cdb7f5d4
JB
127062008-01-08 Joel Brobecker <brobecker@adacore.com>
12707
12708 * gdb.ada/arrayparam: New test program.
12709 * gdb.ada/arrayparam.exp: New testcase.
12710
88e2547f
JB
127112008-01-08 Joel Brobecker <brobecker@adacore.com>
12712
12713 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
12714 landed. Should also fix random failures in the test following it.
12715
f6867ce0
TJB
127162008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
12717
12718 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
12719 for expressions with decimal float values.
12720 (test_dfp_conversions): New function to test casts to and from
12721 decimal float types.
12722 Call test_dfp_conversions.
12723 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
12724 elements.
12725 (main): Initialize ds.float4 and ds.double8 elements.
12726 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
12727 string to new error message.
12728 (d64_set_tests): Likewise.
12729 (d128_set_tests): Likewise.
12730 Add tests for expressions with decimal float variables. Add tests for
12731 conversions to and from decimal float types.
12732
f9c11282
JB
127332008-01-05 Joel Brobecker <brobecker@adacore.com>
12734
12735 * gdb.ada/packed_tagged/comp_bug.adb: New file.
12736 * gdb.ada/packed_tagged.exp: New testcase.
12737
0ecbca72
JB
127382008-01-04 Joel Brobecker <brobecker@adacore.com>
12739
12740 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
12741 gdb.ada/homonym/homonym_main.adb: New files.
12742 * gdb.ada/homonym.exp: New testcase.
12743
c18d3d89
JB
127442008-01-04 Joel Brobecker <brobecker@adacore.com>
12745
12746 * gdb.ada/packed_array.exp: Add testing of references to
12747 a packed array.
12748
ecc7085b
JB
127492008-01-04 Joel Brobecker <brobecker@adacore.com>
12750
12751 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
12752 New files.
12753 * gdb.ada/type_coercion.exp: New testcase.
12754
c474c922
JB
127552008-01-04 Joel Brobecker <brobecker@adacore.com>
12756
12757 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
12758 gdb.ada/tagged/foo.adb: New file.
12759 * gdb.ada/tagged.exp: New testcase.
12760
9005b927
JB
127612008-01-04 Joel Brobecker <brobecker@adacore.com>
12762
12763 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
12764 gdb.ada/ptype_field/foo.adb: New files.
12765 * gdb.ada/ptype_field.exp: New testcase.
12766
1a6aaad8
JB
127672008-01-03 Joel Brobecker <brobecker@adacore.com>
12768
12769 * gdb.ada/print_pc.exp: New testcase.
12770
0ef22f53
JB
127712008-01-03 Joel Brobecker <brobecker@adacore.com>
12772
12773 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
12774 gdb.ada/taft_type/p.adb: New files.
12775 * gdb.ada/taft_type.exp: New testcase.
12776
1689ecf8
JB
127772008-01-03 Joel Brobecker <brobecker@adacore.com>
12778
12779 * gdb.ada/array_bounds/bar.adb: New file.
12780 * gdb.ada/array_bounds.exp: New testcase.
12781
a4d0b9c3
JB
127822008-01-03 Joel Brobecker <brobecker@adacore.com>
12783
12784 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
12785 gdb.ada/arrayptr/foo.adb: New files.
12786 * gdb.ada/arrayptr.exp: New testcase.
12787
a31ace00
JB
127882008-01-03 Joel Brobecker <brobecker@adacore.com>
12789
12790 * gdb.base/set-lang-auto.exp: New testcase.
12791
a97fced3
JB
127922008-01-03 Joel Brobecker <brobecker@adacore.com>
12793
12794 * gdb.ada/fun_addr/foo.adb: New file.
12795 * gdb.ada/fun_addr.exp: New testcase.
12796
ef29ce1a
JK
127972008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12798
12799 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
12800 New files
12801
0fafefe3
JB
128022008-01-02 Joel Brobecker <brobecker@adacore.com>
12803
12804 * array_subscript_addr/p.adb: New file.
a9c64011 12805 * array_subscript_addr.exp: New testcase.
0fafefe3 12806
c4359f8d
JB
128072008-01-02 Joel Brobecker <brobecker@adacore.com>
12808
a9c64011 12809 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
12810 New files.
12811 * gdb.ada/str_cmp_ref.exp: New testcase.
12812
1aa1b15b
JB
128132008-01-01 Joel Brobecker <brobecker@adacore.com>
12814
12815 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
12816 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 12817 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 12818
81c9b2cf
JB
128192008-01-01 Joel Brobecker <brobecker@adacore.com>
12820
12821 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
12822 gdb.ada/ref_param/pck.ads: New files.
12823 * gdb.ada/ref_param.exp: New testcase.
12824
319e4674
JB
128252008-01-01 Joel Brobecker <brobecker@adacore.com>
12826
12827 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
12828 gdb.ada/interface/foo.adb: New files.
12829 * gdb.ada/interface.exp: New testcase.
12830
ef682c56
JB
128312007-12-31 Jim Blandy <jimb@codesourcery.com>
12832
12833 * gdb.base/multi-forks.exp: Consume all output from child
12834 processes before proceeding to next test.
12835
f6f3eb6c
JB
128362007-12-29 Jim Blandy <jimb@codesourcery.com>
12837
12838 * configure: Regenerated.
12839
f652e42f
JB
128402007-12-27 Joel Brobecker <brobecker@adacore.com>
12841
12842 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
12843 gdb.ada/fixed_cmp/fixed.adb: New files.
12844 * gdb.ada/fixed_cmp.exp: New testcase.
12845
6943e596
JB
128462007-12-27 Joel Brobecker <brobecker@adacore.com>
12847
12848 * gdb.ada/boolean_expr.exp: New testcase.
12849
aad9a193
JB
128502007-12-26 Jim Blandy <jimb@codesourcery.com>
12851
12852 * gdb.base/multi-forks.exp: Doc fix.
12853
fb5f3683
JB
128542007-12-26 Joel Brobecker <brobecker@adacore.com>
12855
12856 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
12857 * gdb.ada/char_param.exp: Do not compile our test program with
12858 -gnata, this is unnecessary.
12859 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
12860
384e4a9c
JB
128612007-12-24 Joel Brobecker <brobecker@adacore.com>
12862
12863 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
12864 gdb.ada/print_chars/foo.adb: New files.
12865 * gdb.ada/print_chars.exp: New testcase.
12866
01e044f7
JB
128672007-12-24 Joel Brobecker <brobecker@adacore.com>
12868
12869 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
12870 gdb.ada/char_param/foo.adb: New files.
12871 * gdb.ada/char_param.exp: New testcase.
12872
0ce17860
JB
128732007-12-22 Jim Blandy <jimb@codesourcery.com>
12874
12875 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
12876 hard-coding source line numbers into the test.
12877 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
12878 gdb_get_line_number to find.
12879
919809b9
JB
128802007-12-22 Joel Brobecker <brobecker@adacore.com>
12881
12882 * gdb.base/ptype.c (highest): New struct type.
12883 (the_highest): New variable of that type.
12884 (main): Add dummy assignment to a field of variable the_highest.
12885 * gdb.base/ptype.exp: Test type printing of our new variable.
12886
abc8a88d
PM
128872007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
12888
12889 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 12890 and record first explicitly generated thread number.
abc8a88d
PM
12891 Use that thread number for thread specific watchpoint test.
12892 Add iteration number to repetitive tests.
12893
5158f3e3
CES
128942007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12895 Jim Blandy <jimb@codesourcery.com>
12896
12897 * gdb.base/expand-psymtabs.c: New testcase
12898 source file.
12899 * gdb.base/expand-psymtabs.exp: New testcase
12900 expect file.
12901
37e4754d
LM
129022007-12-17 Luis Machado <luisgpm@br.ibm.com>
12903
12904 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
12905 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
12906
551e5d04
JB
129072007-12-17 Joel Brobecker <brobecker@adacore.com>
12908
12909 * gdb.ada/frame_args/foo.adb: New file.
12910 * gdb.ada/frame_args/pck.ads: New file.
12911 * gdb.ada/frame_args/pck.adb: New file.
12912 * gdb.ada/frame_args.exp: New testcase.
12913
a05ee097
JB
129142007-12-17 Joel Brobecker <brobecker@adacore.com>
12915
12916 * gdb.base/frame-args.c: New file.
12917 * gdb.base/frame-args.exp: New testcase.
12918
c162e8c9 129192007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 12920 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
12921
12922 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
12923
afe8ab22 129242007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 12925
afe8ab22
VP
12926 * gdb.mi/mi-pending.exp: New.
12927 * gdb.mi/mi-pending.c: New.
12928 * gdb.mi/mi-pendshr.c: New.
12929
dfdfb3ca
JB
129302007-12-06 Jim Blandy <jimb@codesourcery.com>
12931
12932 * gdb.base/default.exp: Update expected output for 'info catch'.
12933
b7fca990
JK
129342007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12935
12936 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
12937 must be set to binary.
12938
6a1afc1e
PA
129392007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
12940
12941 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
12942
a6b151f1
DJ
129432007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
12944
12945 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
12946 gdb.mi/mi-file-transfer.exp: New.
12947
43039443
JK
129482007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
12949
12950 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
12951
0ef2251b
MR
129522007-11-22 Maciej W. Rozycki <macro@mips.com>
12953
12954 * gdb.trace/backtrace.exp: Fix a typo.
12955 * gdb.trace/circ.exp: Likewise.
12956 * gdb.trace/collection.exp: Likewise.
12957 * gdb.trace/limits.exp: Likewise.
12958 * gdb.trace/report.exp: Likewise.
12959 * gdb.trace/tfind.exp: Likewise.
12960 * gdb.trace/while-dyn.exp: Likewise.
12961
5443631e
NR
129622007-11-21 Nick Roberts <nickrob@snap.net.nz>
12963
12964 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
12965 objects of pointers that can't be dereferenced are now
12966 "noneditable".
12967
a4ce5b0d
UW
129682007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12969
12970 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
12971 (target_cpu): Remove.
12972
d6e956e5
VP
129732007-10-15 Vladimir Prus <vladimir@codesourcery.com>
12974
12975 * gdb.base/ending-run.exp: Expect the list of cleared
12976 breakpoint to come in natural order, not the reversed one.
a9c64011 12977
214270ab
VP
129782007-11-07 Vladimir Prus <vladimir@codesourcery.com>
12979
12980 * gdb.mi/mi-var-child.c (do_child_deletion): New.
12981 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 12982
1a619819
LM
129832007-11-05 Luis Machado <luisgpm@br.ibm.com>
12984
12985 * gdb.base/printcmds.exp: New function
12986 test_printf_with_dfp.
12987
5b01a6fa
DE
129882007-11-02 Doug Evans <dje@google.com>
12989
12990 * gdb.disasm/t01_mov.s: Remove carriage returns.
12991 * gdb.disasm/t02_mova.s: Ditto.
12992 * gdb.disasm/t03_add.s: Ditto.
12993 * gdb.disasm/t04_sub.s: Ditto.
12994 * gdb.disasm/t05_cmp.s: Ditto.
12995 * gdb.disasm/t06_ari2.s: Ditto.
12996 * gdb.disasm/t07_ari3.s: Ditto.
12997 * gdb.disasm/t08_or.s: Ditto.
12998 * gdb.disasm/t09_xor.s: Ditto.
12999 * gdb.disasm/t10_and.s: Ditto.
13000 * gdb.disasm/t11_logs.s: Ditto.
13001 * gdb.disasm/t12_bit.s: Ditto.
13002 * gdb.disasm/t13_otr.s: Ditto.
13003
ec33ab7f
JK
130042007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13005
13006 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
13007
ae0d01ff
UW
130082007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13009
13010 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
13011 provide DFP support.
13012
55eddb0f
DJ
130132007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
13014
13015 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
13016 Test "set powerpc vector-abi". Skip auto-detection tests for old
13017 toolchains.
13018
7020f05c
PA
130192007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
13020
13021 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
13022 with [string compare].
13023
84bc3db9
PA
130242007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
13025
13026 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
13027 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
13028
5876dc88
LM
130292007-10-25 Luis Machado <luisgpm@br.ibm.com>
13030
13031 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
13032 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
13033 * gdb.opt/Makefile.in: New makefile.
13034 * Makefile.in: Create new directory "gdb.opt".
13035 * configure.ac: Add "gdb.opt" directory.
13036 * configure: Regenerated.
a9c64011 13037
c3ea9a14
DE
130382007-10-25 Doug Evans <dje@google.com>
13039
13040 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
13041 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
13042
a9c64011 130432007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
13044 Thiago Jung Bauermann <bauerman@br.ibm.com>
13045
13046 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
13047 Floating Point expressions.
13048 * gdb.base/dfp-test.exp: new file adding tests for Decimal
13049 Floating Point variables.
13050 * gdb.base/dfp-test.c: new file containing program with Decimal
13051 Floating variables, used by gdb.base/dfp-test.exp.
13052
62a24a2b
DJ
130532007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
13054
13055 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
13056
e7b1eae6
UW
130572007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13058
13059 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
13060 compiling test case with GCC.
13061 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
13062
c641edcc
UW
130632007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13064
13065 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
13066 format changes.
13067
5e5ebfe6
MS
130682007-10-18 Michael Snyder <msnyder@specifix.com>
13069
13070 * gdb.base/dbx.exp: Add missing "-re " operator.
13071
e831e7b6
GM
130722007-10-16 Gaius Mulley <gaius@glam.ac.uk>
13073
13074 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
13075 * configure.ac: Removed trailing spaces after backslash.
13076 * gdb.modula2: New directory.
13077 * gdb.modula2/Makefile.in: New file.
13078 * gdb.modula2/unbounded-array.exp: New file.
13079 * gdb.modula2/unbounded1.c: New file.
13080
7cc46491
DJ
130812007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
13082
13083 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
13084
130852007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
13086
13087 * gdb.base/sigstep.c (main): Add checks for
13088 return values for setitimer call.
13089 Call setitimer again with itimer = ITIMER_REAL
13090 if first call to setitimer fails.
13091
e91528f0
KH
130922007-10-11 Kazu Hirata <kazu@codesourcery.com>
13093
13094 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
13095 of $timeout.
13096
2ec9a4f8
DJ
130972007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
13098
13099 * gdb.server/server-run.exp: Test for dynamic linker symbols.
13100
131012007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
13102
13103 * lib/gdb.exp (gdb_run_cmd): Move comment outside
13104 of gdb_expect call, to avoid interruption.
13105
64b2fa04
PA
131062007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
13107
13108 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
13109 (v_unsigned_long_long, v_long_long_array)
13110 (v_signed_long_long_array, v_unsigned_long_long_array)
13111 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
13112 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
13113 [!NO_LONG_LONG]: New.
13114 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
13115 v_long_long_member.
13116
13117 (v_long_long_func, v_signed_long_long_func)
13118 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
13119 (main) [!NO_LONG_LONG]: Initialize long long variants.
13120
13121 * gdb.base/whatis.exp: If board file requests no_long_long, build
13122 test with NO_LONG_LONG defined. Test long long, signed long long,
13123 and unsigned long long variants but only if board file doesn't
13124 disable it.
13125
a912286e 131262007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 13127 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
13128
13129 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
13130 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
13131 * configure: Regenerated.
13132 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
13133 gdb.pascal/types.exp, lib/pascal.exp: New files.
13134
471ba8c9
DJ
131352007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
13136
13137 * gdb.cp/classes.exp (do_tests): Always step to the line after the
13138 call.
13139 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
13140 to return to the call.
13141 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
13142 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
13143 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
13144 * gdb.mi/mi-until.exp (test_until): Likewise.
13145 * gdb.mi/mi2-until.exp (test_until): Likewise.
13146
fef8a650
DJ
131472007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
13148
13149 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
13150 two-char array.
13151 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
13152
d983da9c
DJ
131532007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
13154
13155 * gdb.threads/watchthreads.c (thread_function): Sleep between
13156 iterations.
13157 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
13158 at once for S/390. Generate matching fails and passes.
13159
17f62551
VP
131602007-09-27 Vladimir Prus <vladimir@codesourcery.com>
13161
13162 * gdb.mi/var-cmd.c (do_children_tests): Initialize
13163 the 'struct_declarations' variable to zeros.
a9c64011 13164
ed0616c6
VP
131652007-09-24 Vladimir Prus <vladimir@codesourcery.com>
13166
13167 * gdb.cp/mb-ctor.cc: New.
13168 * gdb.cp/mb-ctor.exp: New.
13169 * gdb.cp/mb-templates.cc: New.
13170 * gdb.cp/mb-templates.exp: New.
13171
41f1b697
DJ
131722007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
13173
13174 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
13175
3f213f78
PA
131762007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
13177
13178 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
13179 targets.
13180 * configure: Regenerate.
13181
0d381245 131822007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 13183
0d381245
VP
13184 * gdb.base/annota1.exp: Adjust for 'info break'
13185 format changes.
13186 * gdb.base/annota3.exp: Likewise.
13187 * gdb.base/break.exp: Likewise.
13188 * gdb.base/condbreak.exp: Likewise.
13189 * gdb.base/pending.exp: Likewise.
13190 * gdb.base/sepdebug.exp: Likewise.
13191 * gdb.base/unload.exp: Likewise.
13192 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 13193
fe3f5fa8
VP
131942007-09-22 Vladimir Prus <vladimir@codesourcery.com>
13195
13196 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
13197 messages.
13198 * gdb.base/chng-syms.exp: Likewise.
13199 * gdb.base/unload.exp: Likewise.
a9c64011 13200
a75cf6c0
DJ
132012007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
13202
13203 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
13204
18ecae38
DJ
132052007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
13206
13207 * schedlock.c (NUM): Change to 1.
13208 (main): Use args[0] for the main thread.
13209 * schedlock.exp: Only expect two threads. Only issue one pass or fail
13210 regardless of the number of threads.
13211
5509918f
MR
132122007-09-14 Maciej W. Rozycki <macro@mips.com>
13213
4a543daf
MR
13214 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
13215 type down.
13216 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
13217 test.
13218 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
13219 watchpoint type down.
13220 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
13221 test.
13222
132232007-09-14 Maciej W. Rozycki <macro@mips.com>
13224
5509918f
MR
13225 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
13226 Move all the tests here and run them twice, once using software
13227 watchpoints and once using hardware watchpoints.
13228 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
13229
40b53987
DJ
132302007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
13231
13232 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
13233 test.
13234
695e2681
MK
132352007-09-10 Mark Kettenis <kettenis@gnu.org>
13236
8b3fc8d8
MK
13237 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
13238 build-id.
13239
695e2681
MK
13240 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
13241 know about $ORIGIN. Calculate output dir from $dest instead of
13242 using ${objdir}/{$subdir}.
13243
58d69f29
MK
132442007-09-09 Mark Kettenis <kettenis@gnu.org>
13245
13246 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
13247 gcore, before continuing with the test.
13248
3e347599
DJ
132492007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
13250
13251 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
13252 * gdb.mi/mi-watch.exp: Likewise.
13253
ea37ba09
DJ
132542007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
13255 Jim Blandy <jimb@codesourcery.com>
13256
13257 * gdb.arch/i386-sse.exp: Do not expect character constants.
13258 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
13259 * gdb.base/display.exp: Allow print/s.
13260 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
13261 and unsigned char array changes.
13262
2025a643
DJ
132632007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
13264
13265 * gdb.base/display.exp: Add tests for printf %p.
13266
26669a27
PA
132672007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
13268
13269 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
13270 the dll name to unicode.
13271
c8f021f8
JK
132722007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
13273
13274 * gdb.base/default.exp (show version): Update the version text.
13275 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
13276
4cf31eea
JK
132772007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13278
13279 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
13280 New files.
13281
4935890f
JK
132822007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
13283
13284 * lib/gdb.exp (build_id_debug_filename_get): New function.
13285 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
13286 Remove the generate DEBUG file for the future testcase runs.
13287 New testcase for the NT_GNU_BUILD_ID retrieval.
13288 Move the final testing step to ...
13289 (test_different_dir): ... a new function.
13290 New parameter XFAIL to XFAIL all the tests performed.
13291 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
13292 New parameter TYPE to PF_PREFIX all the tests performed.
13293
02142340
VP
132942007-08-31 Vladimir Prus <vladimir@codesourcery.com>
13295
13296 * gdb.mi/mi-var-cp.cc (path_expression): New
13297 function.
13298 * gdb.mi/mi-var-cp.exp: Run path exression tests.
13299
36acd84e
UW
133002007-08-27 Markus Deuling <deuling@de.ibm.com>
13301
13302 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
13303 to fit into SPU Local Store memory.
13304
a896d121
JB
133052007-08-23 Joel Brobecker <brobecker@adacore.com>
13306
13307 * gdb.base/default.exp: Adjust the expected output of "info
13308 warranty" after the switch to GPLv3.
13309
7b433602
JB
133102007-08-23 Joel Brobecker <brobecker@adacore.com>
13311
13312 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
13313 to 30000 (from 20000).
13314
e22f8b7c
JB
133152007-08-23 Joel Brobecker <brobecker@adacore.com>
13316
13317 Switch the license of all .exp files to GPLv3.
13318 Switch the license of all .f and .f90 files to GPLv3.
13319 Switch the license of all .s and .S files to GPLv3.
13320
5a0e3bd0
JB
133212007-08-23 Joel Brobecker <brobecker@adacore.com>
13322
13323 * configure.ac: Switch license to GPLv3.
13324
cc00619d
JB
133252007-08-23 Joel Brobecker <brobecker@adacore.com>
13326
13327 Switch the licensing to GPLv3 for all .ads and .adb files.
13328
8d26208a
DJ
133292007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
13330
13331 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
13332 and t_int_double.
13333 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
13334
4fcb9948
JB
133352007-08-17 Joel Brobecker <brobecker@adacore.com>
13336
13337 * gdb.base/step-line.c: Switch license to GPL version 3, and
13338 update copyright year.
13339 * gdb.base/step-line.inp: Likewise.
13340
b9c34f67
JB
133412007-08-17 Joel Brobecker <brobecker@adacore.com>
13342
13343 * gdb.base/gdb1555.exp: Make expected output immune to formatting
13344 changes inside gdb1555.c.
13345 * gdb.base/pending.exp: Likewise.
13346
2cc17678
DJ
133472007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
13348
13349 * config/default.exp: New file.
13350
e48883f7
DJ
133512007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13352
13353 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
13354 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
13355
1ab80e5b
MR
133562007-07-30 Maciej W. Rozycki <macro@mips.com>
13357
13358 * gdb.base/dump.exp: Force the correct endianness for binary
13359 formats not carrying this information.
13360
aba471f5
DJ
133612007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13362
13363 * gdb.threads/staticthreads.exp: Match .*sem_post.
13364
d4e07204
DJ
133652007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13366
13367 * gdb.base/readline.exp (operate_and_get_next): Match the final
13368 prompt.
13369
2b97317d
KB
133702007-07-23 Kevin Buettner <kevinb@redhat.com>
13371
13372 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
13373 to restarting SID.
13374
44efa07a
KB
133752007-07-18 Kevin Buettner <kevinb@redhat.com>
13376
13377 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
13378 prior to `gdb_start'.
13379
7b5ebade
KB
133802007-07-18 Kevin Buettner <kevinb@redhat.com>
13381
13382 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
13383 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
13384 Remove call to gdb_unload.
13385
255e7678
DJ
133862007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
13387 Daniel Jacobowitz <dan@codesourcery.com>
13388
13389 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
13390 for __WIN32__.
13391 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
13392 * gdb.base/unload.exp: Use shared library test routines.
13393
3a40aaa0
UW
133942007-07-03 Markus Deuling <deuling@de.ibm.com>
13395
13396 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
13397 * gdb.base/solib-symbol-lib.c: Likewise.
13398 * gdb.base/solib-symbol-main.c: Likewise.
13399
b0f4b84b
DJ
134002007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
13401
13402 * config/gdbserver.exp (gdb_reconnect): New.
13403 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
13404 gdb.base/solib-disc.exp: New files.
13405 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
13406 remote debugging".
13407 (gdb_compile): Add shlib_load flag.
13408 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
13409 port.
13410 (gdbserver_reconnect): New.
13411
1b05479a
DJ
134122007-07-01 Nick Roberts <nickrob@snap.net.nz>
13413 Daniel Jacobowitz <dan@codesourcery.com>
13414
13415 * gdb.base/annota3.exp: Test for if construct.
13416
86f78eb2
DJ
134172007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
13418
13419 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
13420
6a2eb474 134212007-06-21 Chris Dearman <chris@mips.com>
a9c64011 13422 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
13423
13424 * gdb.base/display.exp: Allow a newline after display/i.
13425 * gdb.base/pc-fp.exp: Likewise.
13426 * gdb.base/sigbpt.exp: Likewise.
13427
f8b73d13
DJ
134282007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13429
13430 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
13431 required features to be included.
13432
4339e69e
DJ
134332007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
13434
13435 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
13436 in info threads output.
13437
23d964e7
UW
134382007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13439 Markus Deuling <deuling@de.ibm.com>
13440
13441 * gdb.arch/spu-info.exp: New testcase.
13442 * gdb.arch/spu-info.c: New file.
13443
fd20f75b
DJ
134442007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
13445
13446 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
13447 tpcs_offset. Restore lr after the call.
13448 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
13449
2226f861
DJ
134502007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
13451
13452 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
13453 (gdbserver_run): Kill any running gdbserver.
13454 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
13455
d12371a9
MR
134562007-05-17 Maciej W. Rozycki <macro@mips.com>
13457
13458 * gdb.base/sigbpt.exp: Preset segv_addr.
13459
93f02886
DJ
134602007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
13461
13462 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
13463 (gdb_compile_shlib): Likewise.
13464 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
13465 (default_gdb_init): Clear cleanfiles.
13466 (gdb_finish): Delete recorded cleanfiles.
13467 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
13468
13469 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
13470 Do not use isnative.
13471 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
13472 gdb.base/so-impl-ld.exp: Likewise.
13473 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
13474 * gdb.base/unload.exp: Likewise. Do not pass empty option to
13475 gdb_compile.
13476
b04e06d7
VP
134772007-05-15 Vladimir Prus <vladimir@codesourcery.com>
13478
13479 * config/unknown.exp: Remove.
13480
069ed931
UW
134812007-05-15 Markus Deuling <deuling@de.ibm.com>
13482
13483 * gdb.base/info-proc.exp: Check is_remote.
13484
09db0d03
UW
134852007-05-14 Markus Deuling <deuling@de.ibm.com>
13486
13487 * gdb.base/gcore.exp: Initialize variable core_supported.
13488
af2cbe8c
DJ
134892007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
13490
13491 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
13492
027c0295
DJ
134932007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
13494
13495 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
13496 * gdb.threads/print-threads.exp (test_all_threads): Allow
13497 negative and hexadecimal thread IDs.
13498
dc5000e7
DJ
134992007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
13500
13501 * gdb.java/jprint.java (public): Avoid invalid call to static
13502 method.
13503
2e74ed18
DP
135042007-05-14 Denis Pilat <denis.pilat@st.com>
13505
13506 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
13507 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
13508 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
13509 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
13510 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
13511
83547f02
UW
135122007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13513
13514 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 13515 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
13516 this mode.
13517 * gdb.base/ovlymgr.c: Provide stubs for spu target.
13518 * gdb.base/spu.ld: New file.
13519
b18be20d
DJ
135202007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
13521
13522 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
13523
be444858
DJ
135242007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
13525
13526 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
13527
b1d53152
DJ
135282007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
13529
13530 * gdb.java/jmain.exp: Handle demangled names with and without method
13531 signatures.
13532
d084b331
DJ
135332007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
13534
13535 * gdb.mi/mi-syn-frame.c (main, foo, bar)
13536 (have_a_very_merry_interrupt): Remove calls to puts.
13537 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
13538 inferior output.
13539 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
13540 test names.
13541
db9d7fc5
DJ
135422007-04-29 Markus Deuling <deuling@de.ibm.com>
13543 Daniel Jacobowitz <dan@codesourcery.com>
13544
13545 * gdb.base/auxv.exp (core_works): Also check is_remote.
13546 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
13547
ef783a7d 135482007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 13549
ef783a7d
VP
13550 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
13551 message, not the undefined 'module' variable.
13552 * gdb.base/siginfo.exp: Likewise.
13553 * gdb.base/sigstep.exp: Likewise.
13554 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
13555 serialport.
13556 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
13557
b7b73cae
CV
135582007-04-25 Corinna Vinschen <vinschen@redhat.com>
13559
13560 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
13561 target sim fails. Return 0 otherwise.
13562 (gdb_load): Return prematurely if gdb_target_sim fails.
13563
7d90fdfa
DP
135642007-04-16 Denis Pilat <denis.pilat@st.com>
13565
13566 * gdb.base/setshow.exp: Reset height after having set it to 100.
13567
5d3e9c85
DP
135682007-04-16 Denis Pilat <denis.pilat@st.com>
13569
13570 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
13571
18e75969
DP
135722007-04-16 Denis Pilat <denis.pilat@st.com>
13573
13574 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
13575
25d5ea92
VP
135762007-04-14 Vladimir Prus <vladimir@codesourcery.com>
13577
13578 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
13579 tests. Run the frozen varobjs test.
13580 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 13581 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 13582
0b49cb80
JK
135832007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13584
13585 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
13586 gdb.base/type-opaque.exp: New files.
13587
a73bafbc 135882007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
13589
13590 * gdb.mi/mi-var-child.c
a73bafbc
VP
13591 (do_children_tests): User char[2] instead of
13592 char so that automatic printing of pointers to char
13593 don't give unpredicable result.
13594 * gdb.mi/var-cmd.c (do_locals_test): Initialize
13595 local variables.
13596 * gdb.mi/mi-var-child.exp: Step to right line
13597 of do_children_tests.
13598 * gdb.mi/mi2-var-child.exp: Likewise.
13599 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 13600 do_locals_tests.
a73bafbc
VP
13601 (do_children_tests): User char[2] instead of
13602 char so that automatic printing of pointers to char
a9c64011 13603 don't give unpredicable result.
a73bafbc 13604 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 13605 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
13606 Pass test name to mi_wait_for_stop.
13607
7ce59000
DJ
136082007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
13609
13610 * gdb.asm/asm-source.exp: Remove d10v case.
13611 * lib/gdb.exp (skip_cplus_tests): Likewise.
13612 * gdb.asm/d10v.inc: Deleted.
13613
20389057
DJ
136142007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
13615
13616 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
13617
8807d78b
DJ
136182007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
13619
13620 * config/netware.exp: Delete file.
13621
aa3edb8e
JB
136222007-03-29 Joel Brobecker <brobecker@adacore.com>
13623
13624 * gdb.dwarf2/dw2-noloc.S: New file.
13625 * gdb.dwarf2/dw2-noloc.exp: New file.
13626
297561ac
PA
136272007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
13628
13629 * gdb.cp/method2.cc: New test.
13630 * gdb.cp/method2.exp: New test.
13631 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
13632
1f81bd39
DJ
136332007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
13634
13635 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
13636
9453113a
DJ
136372007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
13638
13639 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
13640
b741e217
DJ
136412007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
13642
13643 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
13644 (gdb_load): Delete, replace with...
13645 (gdb_reload): ...this.
13646 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
13647 * gdb.server/server-mon.exp: Likewise.
13648 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
13649 (gdb_start_cmd): New.
13650 (gdb_file_cmd): Save the last loaded file.
13651 (gdb_reload): New.
13652 (gdb_gnu_strip_debug): Use transform.
13653 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
13654 support here. Use new $last_loaded_file. Check mtime.
13655 (gdb_target_cmd): Handle ObjC failure case.
13656 (infer_host_exec): Delete.
13657 (gdbserver_load): Rename to...
13658 (gdbserver_run): ...this. Simplify.
13659 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
13660 (mi_gdb_load): Move most contents to a new function...
13661 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
13662 (mi_run_cmd): Use mi_gdb_target_load.
13663 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
13664 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
13665 Use gdb_run_cmd.
13666 * gdb.base/charsign.exp: Remove incorrect comment.
13667 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
13668 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
13669 gdb.base/start.exp: Use gdb_start_cmd.
13670
446ab585 136712007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 13672 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
13673
13674 * gdb.base/sigbpt.exp: Fix the message when skipping test.
13675 * gdb.base/signull.exp: Similarly.
13676
bbb88ebf
UW
136772007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13678
13679 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
13680 messages available to test cases (like chng-sym.exp).
13681
cb8c4a99
AS
136822007-03-14 Andreas Schwab <schwab@suse.de>
13683
13684 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
13685 format changes.
13686
4e463ff5
DJ
136872007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
13688
13689 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
13690 (optimized_1): New.
13691 (main): Call optimized_1.
13692 (gdb2029): Correct typos. Call gdb2029_marker.
13693 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
13694 for gdb2029.
13695
b6db2c47
MK
136962007-03-12 Mark Kettenis <kettenis@gnu.org>
13697
13698 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
13699 as tabs. Remove redundant test pattern.
13700
70ed3737
UW
137012007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13702
13703 * gdb.base/long_long.exp: Accept optional symbol name in <...>
13704 for /a format output.
13705
47b67b60
DJ
137062007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
13707
13708 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
13709 collect output incrementally.
13710
b8953b0e
UW
137112007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13712
13713 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
13714 for -var-create lpcharacter test.
13715 * gdb.mi/mi2-var-cmd.exp: Likewise.
13716
7acd5c40
UW
137172007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13718
13719 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
13720 pass on targets where address zero is readable.
13721
9c6759c1
UW
137222007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13723
13724 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
13725 just a single architecture.
13726
a2f1aeb4
UW
137272007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13728
13729 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
13730 (fetch_all_registers): New function, uses gdb_test_multiple and
13731 exp_continue to fetch inferior output line-by-line.
13732 Replace all uses of do_get_all_registers by fetch_all_registers.
13733
46579ac2
UW
137342007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13735
13736 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
13737 in target_info.
13738
fc133f24
MS
137392007-03-02 Michael Snyder <michael.snyder@palmsource.com>
13740
a9c64011 13741 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
13742 consistancy; add a default (timeout) case.
13743
7646a51d
MS
137442007-03-02 Michael Snyder <michael.snyder@palmsource.com>
13745
13746 * gdb.base/watchpoint.exp: Fix truncated comment.
13747
dcfff61f
MS
137482007-03-02 Michael Snyder <michael.snyder@palmsource.com>
13749
13750 * Makefile.in: Remove spurious single-quotes from sed command.
13751
664e3ee9
DJ
137522007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
13753
13754 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
13755 func.
13756 * gdb.mi/mi2-var-cmd.exp: Likewise.
13757
d7cc6f2f
JB
137582007-02-27 Joel Brobecker <brobecker@adacore.com>
13759
a9c64011
AS
13760 * gdb.dwarf2/dw2-producer.S: New file.
13761 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
13762
137632007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
13764
13765 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
13766 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
13767 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
13768 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
13769 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
13770 Revert tests to use mi_gdb_test and include value field in output
13771 of -var-create.
13772
93d42b30
DJ
137732007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
13774
13775 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
13776
c499ed39
DJ
137772007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
13778
13779 * gdb.base/maint.exp: Remove full paths from test names.
13780 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
13781 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
13782
9836f81b
JB
137832007-02-27 Joel Brobecker <brobecker@adacore.com>
13784
13785 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
13786
c74d0ad8
DJ
137872007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
13788
13789 * gdb.server/server-mon.exp: New test.
13790
2711e456
DJ
137912007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
13792
13793 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
13794
ff6f572f
DJ
137952007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
13796
13797 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
13798 register capitalization.
13799
fada3feb
DP
138002007-02-13 Denis Pilat <denis.pilat@st.com>
13801
13802 * gdb.mi/mi-var-invalidate.exp: New file.
13803
fb1e4ffc
DJ
138042007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
13805
13806 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
13807
3da939d7
DJ
138082007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
13809
13810 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
13811
123dc839
DJ
138122007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
13813
13814 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
13815 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
13816
877e3645 138172007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
13818
13819 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
13820 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
13821 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
13822 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
13823 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 13824 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 13825 Update tests to include value field in output of -var-create.
a9c64011 13826
3c0a2960
AS
138272007-02-08 Andreas Schwab <schwab@suse.de>
13828
13829 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
13830
108546a0
DJ
138312007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
13832
13833 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
13834 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
13835
d701dcab
DP
138362007-02-02 Denis Pilat <denis.pilat@st.com>
13837
13838 * gdb.threads/threadapply.exp: check that frame is not changed by
13839 the thread apply all command.
13840
783e3e2f
AS
138412007-01-31 Andreas Schwab <schwab@suse.de>
13842
6d9c3a87
AS
13843 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
13844
3c50d7b9
AS
13845 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
13846 in the dwarf sections.
13847 * gdb.dwarf2/mac-fileno.S: Likewise.
13848
783e3e2f
AS
13849 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
13850 bspstore register on ia64.
13851
78ff580e
AS
138522007-01-29 Andreas Schwab <schwab@suse.de>
13853
cc8e9b12
AS
13854 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
13855 "frame-begin" annotation.
13856
78ff580e
AS
13857 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
13858 number of "frames-invalid" annotations.
13859
704a4f78
DJ
138602007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
13861
13862 * gdb.base/commands.exp: Call if_commands_test.
13863 (gdb_test_no_prompt, if_commands_test): New.
13864
e741bf94
MK
138652007-01-28 Mark Kettenis <kettenis@gnu.org>
13866
13867 * gdb.threads/sigthread.c (NSIGS): Make bigger.
13868
474d0ad3
AS
138692007-01-27 Andreas Schwab <schwab@suse.de>
13870
13871 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
13872 .short/.int/.quad in the dwarf sections.
13873 * gdb.dwarf2/dw2-intercu.S: Likewise.
13874 * gdb.dwarf2/dw2-intermix.S: Likewise.
13875
e784b426
JK
138762007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13877
13878 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
13879 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
13880 array.
e784b426
JK
13881 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
13882 * gdb.base/setvar.exp: Likewise.
13883
37f08e04
AS
138842007-01-26 Andreas Schwab <schwab@suse.de>
13885
9a01813a
AS
13886 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
13887 test.
13888
37f08e04
AS
13889 * gdb.base/multi-forks.exp ("restart $i"): Also match
13890 __kernel_syscall_via_break.
13891
6e2a9270
VP
138922007-01-24 Vladimir Prus <vladimir@codesourcery.com>
13893
13894 * lib/mi-support.exp (mi_delete_varobj): New.
13895 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
13896 testcase.
13897 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
13898 (main): Call the above.
13899 (reference_update_test, base_in_reference_test)
13900 (reference_to_pointer): Delete the created varobjs.
a9c64011 13901
e515b470
DJ
139022007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
13903
13904 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
13905 * configure: Regenerated.
13906 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
13907 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
13908 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
13909 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
13910 * lib/gdb.exp (gdb_skip_xml_test): New function.
13911
08d8bcd7
DJ
139122007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
13913
13914 * gdb.base/sigrepeat.exp: Correct error message.
13915
139162007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
13917 Daniel Jacobowitz <dan@codesourcery.com>
13918
13919 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
13920 gdb.arch/i386-gnu-cfi-asm.S: New files.
13921
97c3f1f3
JK
139222007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13923
13924 * lib/gdb.exp: Abort on missing `site.exp'.
13925
cb1df416
DJ
139262007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13927 Daniel Jacobowitz <dan@codesourcery.com>
13928
13929 * gdb.base/included.c, gdb.base/included.exp,
13930 gdb.base/included.h: New files.
13931
35990120
DJ
139322007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13933
13934 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
13935 (maximize_rlimit): Reduce limits on 64-bit systems.
13936
6e81a116 139372007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
13938
13939 From Marcus Deuling <deuling@de.ibm.com>:
13940 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
13941 every case.
13942
6c3c41f3
NR
139432007-01-13 Nick Roberts <nickrob@snap.net.nz>
13944
13945 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
13946 (test_path_specification): Use objdir instead of srcdir to always
13947 get an absolute filename.
13948
2f12c312
DJ
139492007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
13950
13951 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
13952
81121995
VP
139532007-01-11 Vladimir Prus <vladimir@codesourcery.com>
13954
13955 * gdb.mi/mi-var-cp.cc (reference_update_tests):
13956 Make sure the variable we're using is in scope.
13957 (reference_to_pointer): Likewise.
13958
4741b737
DJ
139592007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
13960
13961 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
13962 has no debug information.
13963
054410c3
DJ
139642007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
13965
13966 * gdb.base/annota1.exp: Remove extra send_gdb.
13967
818f79f6
DJ
139682007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13969
13970 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
13971
f7a6bb70
DJ
139722007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13973
13974 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
13975
57e66780
DJ
139762007-01-08 Nick Roberts <nickrob@snap.net.nz>
13977 Daniel Jacobowitz <dan@codesourcery.com>
13978
13979 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
13980 lcharacter or linteger change. Correct duplicated test name.
13981 * gdb.mi/mi2-var-cmd.exp: Likewise.
13982
3d799a95
DJ
139832007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
13984
13985 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
13986
139872007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 13988
a9c64011
AS
13989 * gdb.base/nofield.c: New file.
13990 * gdb.base/nofield.exp: New testcase.
51679ba9 13991
eafb94e8
NR
139922007-01-05 Nick Roberts <nickrob@snap.net.nz>
13993
13994 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
13995
13996 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
13997 test.
13998
5e572bb4
DJ
139992007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
14000
14001 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
14002
74a44383
DJ
140032007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
14004
14005 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
14006 when continuing.
14007
1b572db9
DJ
140082007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
14009
14010 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
14011 Expect ".exe" extension.
14012
381bc39b
DJ
140132007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
14014
14015 * gdb.base/charset.exp: Add explicit filename to break.
14016 * gdb.base/dbx.exp: Add explicit filename to breaks.
14017
2b70e4c6
DJ
140182007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
14019
14020 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
14021 * gdb.mi/mi2-file.exp: Likewise.
14022
303b6f5d
DJ
140232007-01-04 Vladimir Prus <vladimir@codesourcery.com>
14024
14025 Implement specification of MI tests as comments
14026 in C and C++ sources.
14027 * lib/mi-support.exp (mi_autotest_data): New variable.
14028 (mi_autotest_source): New variable.
14029 (count_newlines, mi_prepare_inline_tests)
14030 (mi_get_inline_test, mi_continue_to_line)
14031 (mi_run_inline_test, mi_tbreak)
14032 (mi_send_resuming_command, mi_wait_for_stop): New functions.
14033 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
14034 Run inline tests.
14035 * gdb.mi/mi-var-cp.cc: Define tests here.
14036
23da0d94
VP
140372007-01-04 Vladimir Prus <vladimir@codesourcery.com>
14038
14039 Simplify usage of mi_continue_to.
14040 * lib/mi-support.exp (mi_runto_helper): Renamed
14041 from mi_runto, added new parameter 'run_or_continue'.
14042 (mi_runto): Use mi_runto_helper.
14043 (mi_continue_to): Accept just function name as parameter.
14044 Use mi_runto_helper.
14045 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
14046 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 14047
f9e18282
JB
140482006-01-04 Joel Brobecker <brobecker@adacore.com>
14049
14050 Make this testcase a bit more realistic. The current code
14051 is too simplistic, and allows the compiler to optimize out
14052 some of the entities we need for this testcase.
14053 * gdb.ada/null_record/bar.ads (Void_Star): New type.
14054 (Do_Nothing): Add extra parameter.
14055 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
14056 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
14057 by using a variable of type Void_Star.
14058
fd678c65
JB
140592006-01-04 Joel Brobecker <brobecker@adacore.com>
14060
14061 * gdb.ada/catch_ex/foo.adb: New file.
14062 * gdb.ada/catch_ex.exp: New testcase.
14063
05cfdb42
DJ
140642007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
14065
14066 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
14067 pass --image-base to linker.
14068
2e03ee74
DJ
140692007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14070 Daniel Jacobowitz <dan@codesourcery.com>
14071
14072 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
14073 secondary prompts.
14074
0d5de010
DJ
140752007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
14076
14077 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
14078 output. Test the types of members and member pointers.
14079 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
14080 gdb/2092.
14081 * gdb.cp/member-ptr.exp: Search for a comment instead of a
14082 statement. Enable for GCC. Update expected output for some tests
14083 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
14084 layout.
14085 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
14086 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
14087 (Diamond::vget_base): New.
14088 (main): Add new tests.
14089 * gdb.cp/printmethod.exp: Update expected output for member functions.
14090 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
14091 print pEe->D::vg().
14092
61a771aa
DJ
140932007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
14094
14095 * gdb.threads/tls.exp: Allow stops in sem_post.
14096
2fa63963
DJ
140972006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
14098
14099 * gdb.base/annota1.exp: Allow .*printf in backtraces.
14100 * gdb.base/annota3.exp: Likewise.
14101 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
14102 again (instead of timing out).
14103 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
14104 GCC bug 26475.
14105 * gdb.java/jmisc.exp: Adjust to work with method signatures including
14106 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
14107 test from jmisc1.exp.
14108 * gdb.java/jmisc1.exp: Delete.
14109 * gdb.java/jprint.exp: Adjust to work with method signatures including
14110 return types.
14111 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
14112 * gdb.threads/linux-dp.exp: Don't be confused by program output.
14113 * lib/java.exp (compile_java_from_source): Pass the correct type
14114 to target_compile.
14115
5eefc2b7
JB
141162006-12-31 Joel Brobecker <brobecker@adacore.com>
14117
14118 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
14119 (stack_align_edx): New function.
14120 (stack_align_eax): New function.
14121 (main): Add calls to stack_align_edx and stack_align_eax.
14122 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
14123 Add testing for the cases where the register used during a stack
14124 realignment is edx. Same for eax.
14125
227c54da
DJ
141262006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
14127
14128 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
14129 and generic PE targets.
14130
cab8ac94
JB
141312006-12-29 Joel Brobecker <brobecker@adacore.com>
14132
14133 * gdb.ada/array_return.exp: Update copyright date list.
14134
ba54f318
JB
141352006-12-27 Joel Brobecker <brobecker@adacore.com>
14136
14137 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
14138 (Create_Small_Float_Vector): New function.
14139 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
14140 function body.
14141 * gdb.ada/array_return/p.adb: Use new type and function from
14142 package Pck.
14143 * gdb.ada/array_return.exp: Add a test verifying that GDB is
14144 able to print the value returned by a function returning an
14145 array of float.
14146
6b7a35dd
JB
141472006-12-20 Joel Brobecker <brobecker@adacore.com>
14148
14149 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
14150 The associated tests should be PASSing.
14151
038224f6
VP
141522006-12-08 Vladimir Prus <vladimir@codesourcery.com>
14153
14154 Test for base in references.
14155 * gdb.mi/mi-var-cp.cc: Add test code.
14156 * gdb.mi/mi-var-cp.exp: Test for bases in references.
14157 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
14158 * gdb.mi/mi2-watch.exp: Likewise.
14159 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
14160 (mi_list_varobj_children): New function.
14161
b26ed50d
VP
141622006-12-08 Vladimir Prus <vladimir@codesourcery.com>
14163
14164 * lib/mi-support.exp
14165 (mi_runto): Accept "()" after function name.
14166 (mi_create_varobj): New function.
14167 (mi_varobj_update): New function.
14168 (mi_Check_varobj_value): New function.
14169 * gdb.mi/mi-var-cp.exp: New file.
14170 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 14171
08232497
DJ
141722006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
14173
14174 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
14175 gdb.base/weaklib2.c: New files.
14176
d394c993 141772006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 14178
ac6c2fba
NS
14179 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
14180 info. Adjust test names.
14181
8ec659a0 14182 * gdb.base/break.c (main): Move position of malloc.
d394c993 14183 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 14184
acd65feb
VP
141852006-11-28 Vladimir Prus <vladimir@codesourcery.com>
14186
14187 * gdb.mi/mi-var-cmd.exp: Check -var-update after
14188 assignement of arrays and function pointers.
14189 * gdb.mi/var-cmd.c: Add declaration necessary for above
14190 tests.
14191
f556d5e5
NS
141922006-11-27 Nathan Sidwell <nathan@codesourcery.com>
14193
14194 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
14195
14196 * gdb.threads/linux-dp.exp: Read thread table before and after
14197 creating each philosopher and verify it.
14198
697bc68d
NS
141992006-11-27 Nathan Sidwell <nathan@codesourcery.com>
14200 Paul Brook <paul@codesourcery.com>
14201 Daniel Jacobowitz <dan@codesourcery.com>
14202
14203 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 14204 main to remove duplication. Add start function of the form
697bc68d
NS
14205 '_*start[1-9]*'. Add RVDS start function.
14206
29d73ae4
DJ
142072006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
14208
14209 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
14210
c1d88655
UW
142112006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14212
14213 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
14214 * gdb.asm/spu.inc: New file.
14215 * gdb.base/term.exp: Disable if [target_info exists noargs].
14216 * gdb.gdb/complaints.exp: Disable if ![isnative].
14217 * gdb.gdb/selftest.exp: Likewise.
14218 * gdb.gdb/observer.exp: Likewise.
14219 * gdb.gdb/xfullpath.exp: Likewise.
14220 * gdb.base/attach.exp: Disable on SPU target.
14221 * gdb.cp/bs145503.exp: Likewise.
14222 * gdb.cp/exception.exp: Likewise.
14223 * gdb.cp/userdef.exp: Likewise.
14224
32a13b1a
DJ
142252006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
14226
14227 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
14228
d8295fe9
VP
142292006-11-10 Vladimir Prus <vladimir@codesourcery.com>
14230
14231 * gdb.base/completion.exp: Fix completion tests for
14232 'info' and 'info '.
14233 * gdb.base/help.exp (help_test_raw, test_class_help)
14234 (test_prefix_command_help): Move...
14235 * lib/gdb.exp: Here.
14236 * gdb.base/main.exp: Adjust.
14237 * gdb.cp/maint.exp: Adjust.
14238 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 14239
8c394015
VP
142402006-11-09 Vladimir Prus <vladimir@codesourcery.com>
14241
14242 * gdb.stabs/weird.exp (print_weird_var): Use
14243 gdb_test_multiple instead of gdb_expect.
14244
027fc1bc
VP
142452006-11-09 Vladimir Prus <vladimir@codesourcery.com>
14246
14247 * gdb.base/help.exp (help_test_raw): New.
14248 (test_class_help): New.
14249 (test_prefix_command_help): New.
14250 Adjust testcases.
14251
67609209
FR
142522006-11-09 Christophe Lyon <christophe.lyon@st.com>
14253
14254 * gdb.base/constvars.c (main): Write to crass and crips, so that
14255 they are allocated by the compiler.
14256
f73adfeb
AS
142572006-10-27 Andreas Schwab <schwab@suse.de>
14258
14259 * gdb.base/multi-forks.exp: Use "detach fork" instead of
14260 "detach-fork".
14261
2f83a18e
DJ
142622006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
14263
14264 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
14265 of patterns.
14266
94277a38
DJ
142672006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
14268
14269 * gdb.base/sepdebug.exp: Remove debug format test.
14270 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
14271 Handle no-symtab.
14272 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
14273
5bd2f6e2
DJ
142742006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
14275
14276 * gdb.threads/manythreads.c (thread_function, main): Don't cast
14277 int to pointer or pointer to int.
14278 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
14279
8c008720
DJ
142802006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
14281
14282 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
14283
9e35dae4
DJ
142842006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
14285
14286 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
14287
d9639e13
DJ
142882006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
14289
14290 PR c++/2116
14291 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
14292
390a1bd0
JB
142932006-10-06 Joel Brobecker <brobecker@adacore.com>
14294
14295 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
14296 the corresponding bug has been fixed in GDB (PR/2018).
14297
dd920c33
JB
142982006-10-06 Joel Brobecker <brobecker@adacore.com>
14299
14300 * gdb.base/subst.exp: New testcase.
14301
53bbefe9
JB
143022006-10-06 Joel Brobecker <brobecker@adacore.com>
14303
14304 * gdb.ada/array_return/pck.ads: Add copyright notice.
14305 * gdb.ada/array_return/pck.adb: Likewise.
14306 * gdb.ada/array_return/p.adb: Likewise.
14307 * gdb.ada/exec_changed/first.adb: Likewise.
14308 * gdb.ada/exec_changed/second.adb: Likewise.
14309
09851417
JB
143102006-10-06 Joel Brobecker <brobecker@adacore.com>
14311
14312 * gdb.ada/watch_arg/watch.adb: New file.
14313 * gdb.ada/watch_arg.exp: New testcase.
14314
041bf30d
VP
143152006-10-02 Vladimir Prus <vladimir@codesourcery.com>
14316
14317 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 14318 via string_to_regexp.
041bf30d 14319 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 14320
f286fbdd 143212006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
14322
14323 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
14324 Remove unused / obsolete files.
14325
7c07f349
NR
143262006-09-19 Nick Roberts <nickrob@snap.net.nz>
14327
14328 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
14329
cd5ff84a
VP
143302006-09-17 Vladimir Prus <vladimir@codesourcery.com>
14331
14332 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
14333 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 14334 the number of frames.
cd5ff84a 14335
ae018d1a
DJ
143362006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
14337
14338 * gdb.base/args.c (main): Add breakpoint marker.
14339 * gdb.base/args.exp: Use args_test for tests. Add new tests which
14340 really test empty arguments.
14341 (args_load): Delete.
14342 (args_test): New.
14343
b399c549
NR
143442006-09-13 Nick Roberts <nickrob@snap.net.nz>
14345
14346 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 14347 check for one file.
b399c549 14348
2ab1eb7a
VP
143492006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
14350
14351 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
14352 HIGH_FRAME argument to -stack-list-locals can be larger than
14353 the number of frames.
a9c64011 14354
476308bf
FF
143552006-08-18 Fred Fish <fnf@specifix.com>
14356
14357 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
14358 '$' in front of skip_vmx_tests_saved when setting that.
14359
8625200f
AS
143602006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
14361
14362 * gdb.base/trace-commands.exp: New file.
14363
089ec8f1
DJ
143642006-08-10 Joel Brobecker <brobecker@adacore.com>
14365 Daniel Jacobowitz <dan@codesourcery.com>
14366
14367 * gdb.base/step-bt.exp: Make hexadecimal address optional in
14368 expected output of the backtrace commands.
14369
b60f0898
JB
143702006-08-09 Joel Brobecker <brobecker@adacore.com>
14371
14372 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
14373 untested followed by return combination.
14374 * gdb.arch/altivec-regs.exp: Likewise.
14375 * gdb.arch/e500-abi.exp: Likewise.
14376 * gdb.arch/e500-regs.exp: Likewise.
14377 * gdb.arch/gdb1291.exp: Likewise.
14378 * gdb.arch/gdb1431.exp: Likewise.
14379 * gdb.arch/gdb1558.exp: Likewise.
14380 * gdb.arch/i386-prologue.exp: Likewise.
14381 * gdb.arch/i386-unwind.exp: Likewise.
14382 * gdb.asm/asm-source.exp: Likewise.
14383 * gdb.base/a2-run.exp: Likewise.
14384 * gdb.base/advance.exp: Likewise.
14385 * gdb.base/all-bin.exp: Likewise.
14386 * gdb.base/annota1.exp: Likewise.
14387 * gdb.base/annota3.exp: Likewise.
14388 * gdb.base/args.exp: Likewise.
14389 * gdb.base/arithmet.exp: Likewise.
14390 * gdb.base/assign.exp: Likewise.
14391 * gdb.base/async.exp: Likewise.
14392 * gdb.base/attach.exp: Likewise.
14393 * gdb.base/bang.exp: Likewise.
14394 * gdb.base/bigcore.exp: Likewise.
14395 * gdb.base/bitfields.exp: Likewise.
14396 * gdb.base/bitfields2.exp: Likewise.
14397 * gdb.base/break.exp: Likewise.
14398 * gdb.base/call-sc.exp: Likewise.
14399 * gdb.base/call-strs.exp: Likewise.
14400 * gdb.base/callfuncs.exp: Likewise.
14401 * gdb.base/checkpoint.exp: Likewise.
14402 * gdb.base/chng-syms.exp: Likewise.
14403 * gdb.base/code-expr.exp: Likewise.
14404 * gdb.base/commands.exp: Likewise.
14405 * gdb.base/completion.exp: Likewise.
14406 * gdb.base/cond-expr.exp: Likewise.
14407 * gdb.base/condbreak.exp: Likewise.
14408 * gdb.base/consecutive.exp: Likewise.
14409 * gdb.base/constvars.exp: Likewise.
14410 * gdb.base/corefile.exp: Likewise.
14411 * gdb.base/cvexpr.exp: Likewise.
14412 * gdb.base/dbx.exp: Likewise.
14413 * gdb.base/define.exp: Likewise.
14414 * gdb.base/detach.exp: Likewise.
14415 * gdb.base/display.exp: Likewise.
14416 * gdb.base/dump.exp: Likewise.
14417 * gdb.base/ena-dis-br.exp: Likewise.
14418 * gdb.base/ending-run.exp: Likewise.
14419 * gdb.base/environ.exp: Likewise.
14420 * gdb.base/eval-skip.exp: Likewise.
14421 * gdb.base/exprs.exp: Likewise.
14422 * gdb.base/fileio.exp: Likewise.
14423 * gdb.base/finish.exp: Likewise.
14424 * gdb.base/float.exp: Likewise.
14425 * gdb.base/foll-exec.exp: Likewise.
14426 * gdb.base/foll-fork.exp: Likewise.
14427 * gdb.base/foll-vfork.exp: Likewise.
14428 * gdb.base/freebpcmd.exp: Likewise.
14429 * gdb.base/funcargs.exp: Likewise.
14430 * gdb.base/gcore.exp: Likewise.
14431 * gdb.base/gdb1090.exp: Likewise.
14432 * gdb.base/gdb1250.exp: Likewise.
14433 * gdb.base/huge.exp: Likewise.
14434 * gdb.base/info-proc.exp: Likewise.
14435 * gdb.base/interrupt.exp: Likewise.
14436 * gdb.base/jump.exp: Likewise.
14437 * gdb.base/langs.exp: Likewise.
14438 * gdb.base/lineinc.exp: Likewise.
14439 * gdb.base/list.exp: Likewise.
14440 * gdb.base/logical.exp: Likewise.
14441 * gdb.base/long_long.exp: Likewise.
14442 * gdb.base/macscp.exp: Likewise.
14443 * gdb.base/maint.exp: Likewise.
14444 * gdb.base/mips_pro.exp: Likewise.
14445 * gdb.base/miscexprs.exp: Likewise.
14446 * gdb.base/multi-forks.exp: Likewise.
14447 * gdb.base/opaque.exp: Likewise.
14448 * gdb.base/overlays.exp: Likewise.
14449 * gdb.base/pc-fp.exp: Likewise.
14450 * gdb.base/pointers.exp: Likewise.
14451 * gdb.base/printcmds.exp: Likewise.
14452 * gdb.base/psymtab.exp: Likewise.
14453 * gdb.base/ptype.exp: Likewise.
14454 * gdb.base/recurse.exp: Likewise.
14455 * gdb.base/relational.exp: Likewise.
14456 * gdb.base/relocate.exp: Likewise.
14457 * gdb.base/remote.exp: Likewise.
14458 * gdb.base/reread.exp: Likewise.
14459 * gdb.base/restore.exp: Likewise.
14460 * gdb.base/return.exp: Likewise.
14461 * gdb.base/return2.exp: Likewise.
14462 * gdb.base/scope.exp: Likewise.
14463 * gdb.base/sect-cmd.exp: Likewise.
14464 * gdb.base/sep.exp: Likewise.
14465 * gdb.base/sepdebug.exp: Likewise.
14466 * gdb.base/setshow.exp: Likewise.
14467 * gdb.base/setvar.exp: Likewise.
14468 * gdb.base/sigall.exp: Likewise.
14469 * gdb.base/sigbpt.exp: Likewise.
14470 * gdb.base/signals.exp: Likewise.
14471 * gdb.base/signull.exp: Likewise.
14472 * gdb.base/sizeof.exp: Likewise.
14473 * gdb.base/solib.exp: Likewise.
14474 * gdb.base/step-line.exp: Likewise.
14475 * gdb.base/step-test.exp: Likewise.
14476 * gdb.base/structs.exp: Likewise.
14477 * gdb.base/structs2.exp: Likewise.
14478 * gdb.base/term.exp: Likewise.
14479 * gdb.base/twice.exp: Likewise.
14480 * gdb.base/until.exp: Likewise.
14481 * gdb.base/varargs.exp: Likewise.
14482 * gdb.base/volatile.exp: Likewise.
14483 * gdb.base/watchpoint.exp: Likewise.
14484 * gdb.base/whatis-exp.exp: Likewise.
14485 * gdb.base/whatis.exp: Likewise.
14486 * gdb.cp/ambiguous.exp: Likewise.
14487 * gdb.cp/annota2.exp: Likewise.
14488 * gdb.cp/annota3.exp: Likewise.
14489 * gdb.cp/bool.exp: Likewise.
14490 * gdb.cp/breakpoint.exp: Likewise.
14491 * gdb.cp/casts.exp: Likewise.
14492 * gdb.cp/class2.exp: Likewise.
14493 * gdb.cp/classes.exp: Likewise.
14494 * gdb.cp/cplusfuncs.exp: Likewise.
14495 * gdb.cp/ctti.exp: Likewise.
14496 * gdb.cp/derivation.exp: Likewise.
14497 * gdb.cp/exception.exp: Likewise.
14498 * gdb.cp/gdb1355.exp: Likewise.
14499 * gdb.cp/hang.exp: Likewise.
14500 * gdb.cp/inherit.exp: Likewise.
14501 * gdb.cp/local.exp: Likewise.
14502 * gdb.cp/m-data.exp: Likewise.
14503 * gdb.cp/m-static.exp: Likewise.
14504 * gdb.cp/member-ptr.exp: Likewise.
14505 * gdb.cp/method.exp: Likewise.
14506 * gdb.cp/misc.exp: Likewise.
14507 * gdb.cp/namespace.exp: Likewise.
14508 * gdb.cp/overload.exp: Likewise.
14509 * gdb.cp/ovldbreak.exp: Likewise.
14510 * gdb.cp/pr-1023.exp: Likewise.
14511 * gdb.cp/pr-1210.exp: Likewise.
14512 * gdb.cp/pr-574.exp: Likewise.
14513 * gdb.cp/printmethod.exp: Likewise.
14514 * gdb.cp/psmang.exp: Likewise.
14515 * gdb.cp/ref-params.exp: Likewise.
14516 * gdb.cp/ref-types.exp: Likewise.
14517 * gdb.cp/rtti.exp: Likewise.
14518 * gdb.cp/templates.exp: Likewise.
14519 * gdb.cp/try_catch.exp: Likewise.
14520 * gdb.cp/userdef.exp: Likewise.
14521 * gdb.cp/virtfunc.exp: Likewise.
14522 * gdb.disasm/am33.exp: Likewise.
14523 * gdb.disasm/h8300s.exp: Likewise.
14524 * gdb.disasm/mn10300.exp: Likewise.
14525 * gdb.disasm/sh3.exp: Likewise.
14526 * gdb.disasm/t01_mov.exp: Likewise.
14527 * gdb.disasm/t02_mova.exp: Likewise.
14528 * gdb.disasm/t03_add.exp: Likewise.
14529 * gdb.disasm/t04_sub.exp: Likewise.
14530 * gdb.disasm/t05_cmp.exp: Likewise.
14531 * gdb.disasm/t06_ari2.exp: Likewise.
14532 * gdb.disasm/t07_ari3.exp: Likewise.
14533 * gdb.disasm/t08_or.exp: Likewise.
14534 * gdb.disasm/t09_xor.exp: Likewise.
14535 * gdb.disasm/t10_and.exp: Likewise.
14536 * gdb.disasm/t11_logs.exp: Likewise.
14537 * gdb.disasm/t12_bit.exp: Likewise.
14538 * gdb.disasm/t13_otr.exp: Likewise.
14539 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
14540 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
14541 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
14542 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
14543 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
14544 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
14545 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
14546 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
14547 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
14548 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
14549 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
14550 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
14551 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
14552 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
14553 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
14554 * gdb.mi/gdb701.exp: Likewise.
14555 * gdb.mi/gdb792.exp: Likewise.
14556 * gdb.mi/mi-basics.exp: Likewise.
14557 * gdb.mi/mi-break.exp: Likewise.
14558 * gdb.mi/mi-cli.exp: Likewise.
14559 * gdb.mi/mi-console.exp: Likewise.
14560 * gdb.mi/mi-disassemble.exp: Likewise.
14561 * gdb.mi/mi-eval.exp: Likewise.
14562 * gdb.mi/mi-file.exp: Likewise.
14563 * gdb.mi/mi-read-memory.exp: Likewise.
14564 * gdb.mi/mi-regs.exp: Likewise.
14565 * gdb.mi/mi-return.exp: Likewise.
14566 * gdb.mi/mi-simplerun.exp: Likewise.
14567 * gdb.mi/mi-stack.exp: Likewise.
14568 * gdb.mi/mi-stepi.exp: Likewise.
14569 * gdb.mi/mi-syn-frame.exp: Likewise.
14570 * gdb.mi/mi-until.exp: Likewise.
14571 * gdb.mi/mi-var-block.exp: Likewise.
14572 * gdb.mi/mi-var-child.exp: Likewise.
14573 * gdb.mi/mi-var-cmd.exp: Likewise.
14574 * gdb.mi/mi-var-display.exp: Likewise.
14575 * gdb.mi/mi-watch.exp: Likewise.
14576 * gdb.mi/mi2-basics.exp: Likewise.
14577 * gdb.mi/mi2-break.exp: Likewise.
14578 * gdb.mi/mi2-cli.exp: Likewise.
14579 * gdb.mi/mi2-console.exp: Likewise.
14580 * gdb.mi/mi2-disassemble.exp: Likewise.
14581 * gdb.mi/mi2-eval.exp: Likewise.
14582 * gdb.mi/mi2-file.exp: Likewise.
14583 * gdb.mi/mi2-read-memory.exp: Likewise.
14584 * gdb.mi/mi2-regs.exp: Likewise.
14585 * gdb.mi/mi2-return.exp: Likewise.
14586 * gdb.mi/mi2-simplerun.exp: Likewise.
14587 * gdb.mi/mi2-stack.exp: Likewise.
14588 * gdb.mi/mi2-stepi.exp: Likewise.
14589 * gdb.mi/mi2-syn-frame.exp: Likewise.
14590 * gdb.mi/mi2-until.exp: Likewise.
14591 * gdb.mi/mi2-var-block.exp: Likewise.
14592 * gdb.mi/mi2-var-child.exp: Likewise.
14593 * gdb.mi/mi2-var-cmd.exp: Likewise.
14594 * gdb.mi/mi2-var-display.exp: Likewise.
14595 * gdb.mi/mi2-watch.exp: Likewise.
14596 * gdb.stabs/exclfwd.exp: Likewise.
14597 * gdb.stabs/weird.exp: Likewise.
14598 * gdb.threads/gcore-thread.exp: Likewise.
14599 * gdb.trace/actions.exp: Likewise.
14600 * gdb.trace/backtrace.exp: Likewise.
14601 * gdb.trace/circ.exp: Likewise.
14602 * gdb.trace/collection.exp: Likewise.
14603 * gdb.trace/deltrace.exp: Likewise.
14604 * gdb.trace/infotrace.exp: Likewise.
14605 * gdb.trace/limits.exp: Likewise.
14606 * gdb.trace/packetlen.exp: Likewise.
14607 * gdb.trace/passc-dyn.exp: Likewise.
14608 * gdb.trace/passcount.exp: Likewise.
14609 * gdb.trace/report.exp: Likewise.
14610 * gdb.trace/save-trace.exp: Likewise.
14611 * gdb.trace/tfind.exp: Likewise.
14612 * gdb.trace/tracecmd.exp: Likewise.
14613 * gdb.trace/while-dyn.exp: Likewise.
14614 * gdb.trace/while-stepping.exp: Likewise.
14615
f4b618d1
JB
146162006-08-08 Joel Brobecker <brobecker@adacore.com>
14617
14618 * gdb.base/step-bt.c: New file.
14619 * gdb.base/step-bt.exp: New testcase.
14620
3d00d119
DJ
146212006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
14622
14623 * config/monitor.exp (gdb_load): Remove support for obsolete
14624 download-write-size.
14625 * gdb.base/remote.exp: Likewise. Update all callers of
14626 gdb_timed_load.
14627
017b5bd4
DJ
146282006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
14629
14630 * cursal.exp: Pass binfile to gdb_load.
14631
837c599d
DJ
146322006-08-01 Nathan Sidwell <nathan@codesourcery.com>
14633
14634 * gdb.base/cursal.exp: Add "" to gdb_load call.
14635
8dd4540b
MK
146362006-07-29 Mark Kettenis <kettenis@gnu.org>
14637
14638 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
14639 NetBSD/ELF targets.
14640
ab5c9f60
DJ
146412006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
14642
14643 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
14644 operator*.
14645
4c42eaff
DJ
146462006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
14647
14648 * gdb.base/completion.exp: Update for change in "file" behavior.
14649 * gdb.stabs/weird.exp: Likewise.
14650 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
14651 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
14652
0155cc76
NS
146532006-07-24 Nathan Sidwell <nathan@codesourcery.com>
14654
14655 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
14656 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
14657
16026cd7
AS
146582006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
14659
14660 * gdb.base/default.exp: Update source command error message.
14661 * gdb.base/help.exp: Update 'help source' message.
14662
16963cb6
DJ
146632006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
14664
14665 * gdb.cp/bs15503.exp: Update comment for no longer crashing
14666 test.
14667
6d7fd486
AS
146682006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
14669
14670 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
14671
29e8a844
DJ
146722006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
14673
14674 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
14675
6afcfa39
DJ
146762006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
14677
14678 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
14679
267a692b
MK
146802006-07-17 Mark Kettenis <kettenis@gnu.org>
14681
14682 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
14683 *-*-openbsd* from targets for wich we expect ARM FPA floating
14684 point format.
14685
85d2fec4
NR
146862006-07-17 Nick Roberts <nickrob@snap.net.nz>
14687
14688 * gdb.cp/annota3.exp: Expect frame-begin annotation.
14689
146902006-07-17 Mark Kettenis <kettenis@gnu.org>
14691
14692 * gdb.base/annota3.exp: Expect frame-begin annotation.
14693
85b4c6e8
JB
146942006-07-14 Joel Brobecker <brobecker@adacore.com>
14695
14696 * gdb.base/help.exp: Adjust "help unset" test to accept
14697 any list of unset commands.
14698
fb933624
DJ
146992006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
14700 Daniel Jacobowitz <dan@codesourcery.com>
14701
14702 * gdb.cp/ref-params.exp: New test.
14703 * gdb.cp/ref-params.cc: New source file.
14704 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
14705
1dff4b64
MK
147062006-07-08 Mark Kettenis <kettenis@gnu.org>
14707
14708 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
14709 spaces/tabs in regular expressions since they might not be there.
14710
40d2e0e3
AS
147112006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
14712
14713 * gdb.base/ifelse.exp: New file.
14714
f6c957d2
NS
147152006-07-04 Nathan Sidwell <nathan@codesourcery.com>
14716
14717 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
14718 line.
14719 * gdb.base/huge.exp: Loop over compilation to find a size that
14720 is acceptable.
14721 * gdb.base/remote.exp: Correct expected strings.
14722 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
14723
b9c5a23d
DJ
147242006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
14725
14726 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
14727
9af2e58d
DJ
147282006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
14729
14730 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
14731 native.
14732
30930ca5
DJ
147332006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
14734
14735 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
14736 enable stabs testing.
14737
aa32fa1d
DJ
147382006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
14739
bd4a4c80 14740 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
14741 gdb_test_multiple does.
14742
321fef15
DJ
147432006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
14744
14745 * Makefile.in (host_alias): Remove.
14746 (target_alias): Use @target_noncanonical@.
14747 (site.exp): Don't set host_alias.
14748 * aclocal.m4: Remove contents. Include acx.m4.
14749 * configure: Regenerated.
14750 * configure.ac: Use ACX_NONCANONICAL_TARGET.
14751
e1c2defa
NS
147522006-06-13 Nathan Sidwell <nathan@codesourcery.com>
14753
e63b55d1
NS
14754 * lib/gdb.exp (gdb_load_cmd): New.
14755
5600ea19
NS
14756 * gdb.base/fileio.c: Add system(NULL) test.
14757 * gdb.base/fileio.exp: Check it.
14758
e1c2defa
NS
14759 * gdb.base/break.c: Add 10a breakpoint at }
14760 * gdb.base/break.exp: Add test for breakpoint at }
14761 * gdb.cp/anon-union.cc: Add code at end of function.
14762 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
14763 * gdb.mi/var-cmd.c: Add code at end of function.
14764 * gdb.mi/mi-var-display.exp: Adjust end of next.
14765 * gdb.mi/mi2-var-display.exp: Likewise.
14766 * gdb.base/fileio.c: Add stop function and insert calls at
14767 stopping places.
14768 * gdb.base/fileio.exp: Breakpoint stop function and remove
14769 explicit line number references.
14770
6c0112ec
JB
147712006-05-19 Joel Brobecker <brobecker@adacore.com>
14772
a9c64011
AS
14773 * gdb.base/del.exp (test_delete_alias): New function.
14774 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 14775
154189a4
FF
147762006-05-18 Fred Fish <fnf@specifix.com>
14777
14778 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
14779 required. Check for spurious output after program exits normally.
14780
582e64c2
FF
147812006-05-17 Fred Fish <fnf@specifix.com>
14782
14783 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
14784 gdb_load, so it works in the simulator.
14785
8ef6493a
FF
147862006-05-11 Fred Fish <fnf@specifix.com>
14787
14788 * gdb.base/bang.exp: Ignore unexpected output between the
14789 "program exited normally" and the gdb prompt, as many other
14790 tests do.
14791
692b141c
MK
147922006-05-07 Mark Kettenis <kettenis@gnu.org>
14793
14794 * gdb.base/help.exp: Make "delete checkpoint" part option for
14795 "help d" and "help delete" tests.
14796
540b8a30
UW
147972006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14798
a9c64011 14799 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
14800 expected output in some mi_gdb_test statements.
14801 * gdb.mi/mi2-basics.exp: Likewise.
14802
9b6462d9
JB
148032006-05-05 Joel Brobecker <brobecker@adacore.com>
14804
14805 * gdb.base/del.c: New file.
14806 * gdb.base/del.exp: New testcase.
14807
954de43b
DM
148082006-05-05 David S. Miller <davem@sunset.davemloft.net>
14809
14810 * gdb.base/break.exp: Do not assume a breakpoint on
14811 main will actually be in $srcfile when optimizing.
1303f75e
DM
14812 * gdb.base/savedregs.exp: Do not require that the dummy
14813 frame location match up to a symbol and source file location.
c3242428
DM
14814 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
14815 will get printed without a mi_cmd_data_list_register_values prefix.
14816 (*-data-list-register-*): Correct regular expressions to expect the new
14817 pseudo d? floating point registers.
14818 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 14819
c7e64c9a
DJ
148202006-05-05 Christophe Lyon <christophe.lyon@st.com>
14821
14822 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
14823 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
14824 is allocated by the compiler.
14825 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
14826 anons, e, anone to force their allocation by the compiler.
14827
148282006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
14829
14830 * gdb.base/help.exp: Update expected text for help d and
14831 help delete.
14832
27ce9a6d
MK
148332006-05-02 Mark Kettenis <kettenis@gnu.org>
14834
14835 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
14836 NetBSD/ELF targets.
14837
8608915f
MK
148382006-04-30 Mark Kettenis <kettenis@gnu.org>
14839
14840 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
14841 single-step breakpoint fails; make this a KFAIL on
14842 sparc*-*-openbsd*.
14843 * gdb.base/siginfo.exp: Likewise.
14844 * gdb.base/sigstep.exp (advance, advancei): Likewise.
14845
b8db102d
MS
148462006-04-26 Michael Snyder <msnyder@redhat.com>
14847
14848 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
14849 which may have to consume output from other forks.
14850 Add tests to make sure that "delete fork" succeeded.
14851
c702009a
MS
148522006-04-20 Michael Snyder <msnyder@redhat.com>
14853
14854 * 2006-03-22 Jim Blandy <jimb@redhat.com>
14855 Add support for the Renesas M32C and M16C.
14856
14857 * gdb.asm/asm-source.exp: Add m32c target.
14858 * gdb.asm/m32c.inc: Support for m32c target.
14859
e28493f2
AS
148602006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
14861
14862 * gdb.base/commands.exp (recursive_source_test): New test.
14863
880da185
DM
148642006-04-04 David S. Miller <davem@sunset.davemloft.net>
14865
14866 * gdb.base/float.exp: Add pattern for sparc targets.
14867
61d9b92f
DJ
148682006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
14869
14870 * gdb.base/commands.exp (stray_arg0_test): New test.
14871
bd717df8
PB
148722006-03-30 Paul Brook <paul@codesourcery.com>
14873
14874 * gdb.mi/mi-until.exp: kfail broken until command.
14875 * gdb.mi/mi2-until.exp: Ditto.
14876
ec793d3c
NR
148772006-03-27 Nick Roberts <nickrob@snap.net.nz>
14878
14879 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
14880
831004b7
AO
148812006-03-08 Alexandre Oliva <aoliva@redhat.com>
14882
14883 * gdb.base/prelink.exp: Anchor tested-for regular expression
14884 on gdb prompt.
14885
effe49a0
PB
148862006-03-07 Paul Brook <paul@codesourcery.com>
14887
14888 * gdb.base/assign.exp: Correct fail message.
14889
e5461016
PB
148902006-03-07 Paul Brook <paul@codesourcery.com>
14891
14892 * lib/compiler.c: Extract armcc version number.
14893 * lib/compiler.cc: Ditto.
14894
fc91c6c2
PB
148952006-03-07 Paul Brook <paul@codesourcery.com>
14896
14897 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
14898 additional_flags=-w.
14899 * gdb.arch/altivec-regs.exp: Ditto.
14900 * gdb.arch/e500-abi.exp: Ditto.
14901 * gdb.arch/e500-regs.exp: Ditto.
14902 * gdb.base/all-bin.exp: Ditto.
14903 * gdb.base/annota1.exp: Ditto.
14904 * gdb.base/annota3.exp: Ditto.
14905 * gdb.base/args.exp: Ditto.
14906 * gdb.base/arithmet.exp: Ditto.
14907 * gdb.base/assign.exp: Ditto.
14908 * gdb.base/async.exp: Ditto.
14909 * gdb.base/bang.exp: Ditto.
14910 * gdb.base/break.exp: Ditto.
14911 * gdb.base/call-rt-st.exp: Ditto.
14912 * gdb.base/completion.exp: Ditto.
14913 * gdb.base/cond-expr.exp: Ditto.
14914 * gdb.base/condbreak.exp: Ditto.
14915 * gdb.base/consecutive.exp: Ditto.
14916 * gdb.base/define.exp: Ditto.
14917 * gdb.base/display.exp: Ditto.
14918 * gdb.base/ena-dis-br.exp: Ditto.
14919 * gdb.base/environ.exp: Ditto.
14920 * gdb.base/eval-skip.exp: Ditto.
14921 * gdb.base/info-proc.exp: Ditto.
14922 * gdb.base/jump.exp: Ditto.
14923 * gdb.base/logical.exp: Ditto.
14924 * gdb.base/long_long.exp: Ditto.
14925 * gdb.base/maint.exp: Ditto.
14926 * gdb.base/miscexprs.exp: Ditto.
14927 * gdb.base/pc-fp.exp: Ditto.
14928 * gdb.base/pointers.exp: Ditto.
14929 * gdb.base/relational.exp: Ditto.
14930 * gdb.base/reread.exp: Ditto.
14931 * gdb.base/sect-cmd.exp: Ditto.
14932 * gdb.base/sep.exp: Ditto.
14933 * gdb.base/sepdebug.exp: Ditto.
14934 * gdb.base/until.exp: Ditto.
14935 * gdb.base/whatis-exp.exp: Ditto.
14936 * gdb.cp/annota2.exp: Ditto.
14937 * gdb.cp/annota3.exp: Ditto.
14938 * gdb.trace/actions.exp: Ditto.
14939 * gdb.trace/backtrace.exp: Ditto.
14940 * gdb.trace/circ.exp: Ditto.
14941 * gdb.trace/collection.exp: Ditto.
14942 * gdb.trace/deltrace.exp: Ditto.
14943 * gdb.trace/infotrace.exp: Ditto.
14944 * gdb.trace/limits.exp: Ditto.
14945 * gdb.trace/packetlen.exp: Ditto.
14946 * gdb.trace/passc-dyn.exp: Ditto.
14947 * gdb.trace/passcount.exp: Ditto.
14948 * gdb.trace/report.exp: Ditto.
14949 * gdb.trace/save-trace.exp: Ditto.
14950 * gdb.trace/tfind.exp: Ditto.
14951 * gdb.trace/tracecmd.exp: Ditto.
14952 * gdb.trace/while-dyn.exp: Ditto.
14953 * gdb.trace/while-stepping.exp: Ditto.
14954 * lib/gdb.exp: Ditto.
14955 (gdb_compile): Handle nowarning option.
14956
5f4a23d9
AO
149572006-03-07 Alexandre Oliva <aoliva@redhat.com>
14958
14959 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
14960 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
14961 Rename executable to prelinkt. Don't re-prelink if we didn't
14962 get a core file. Test prelink -u exit status to tell whether
14963 prelinking failed. Use gdb_test_multiple.
14964
9733fc94
DJ
149652006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
14966
14967 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
14968 (do_tests): Call it.
14969
cc10cae3
AO
149702006-02-28 Alexandre Oliva <aoliva@redhat.com>
14971
14972 * gdb.base/prelink.exp: New test.
14973 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
14974
15c46491
WZ
149752006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
14976
14977 * gdb.fortran/derived-type.f90: New file.
14978 * gdb.fortran/derived-type.exp: New testcase.
14979
5c9f7ded
DJ
149802006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
14981
14982 * gdb.base/default.exp: Allow ';' as a directory separator.
14983
5b96932b
AS
149842006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
14985
14986 * gdb.base/help.exp (help add-symbol-file): Update.
14987
1986bccd
AS
149882006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
14989
14990 * gdb.base/help.exp (help load): Update expected results.
14991
a8b7528f
FF
149922006-02-19 Fred Fish <fnf@specifix.com>
14993
14994 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
14995 specifix hex value as part of results.
14996 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 14997
f8261448
FF
149982006-02-16 Fred Fish <fnf@specifix.com>
14999
15000 * gdb.base/whatis.c: Define variables using typedefs char_addr,
15001 ushort_addr, and slong_addr, so the typedefs are not optimized
15002 away.
15003 * gdb.base/whatis.exp: Add tests using type name for struct type,
15004 union type, enum type, and typedef.
a9c64011 15005
31d8bdd2
MK
150062006-02-13 Mark Kettenis <kettenis@gnu.org>
15007
15008 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
15009
34e41e63
JB
150102006-02-13 Jim Blandy <jimb@redhat.com>
15011
15012 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
15013 case where it takes two "next" commands to skip past the init
15014 call.
15015
ac6e4f31
FF
150162006-02-12 Fred Fish <fnf@specifix.com>
15017
15018 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
15019 to handle cases where it takes two "next" commands to skip
15020 past the init call.
15021
2db2d571
JB
150222006-02-07 Joel Brobecker <brobecker@adacore.com>
15023
15024 * gdb.ada/array_return.exp: Mark the last test as expected to fail
15025 on hppa32 targets.
15026
38fcd64c
DJ
150272006-02-06 Vladimir Prus <ghost@cs.msu.su>
15028
15029 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
15030 field.
15031
1315ad46
MK
150322006-01-29 Mark Kettenis <kettenis@gnu.org>
15033
15034 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
15035
5625b943
DJ
150362006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
15037
15038 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
15039 files.
15040
80df1bbe
DJ
150412006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
15042
15043 * gdb.cp/maint.exp: Set complaints to a positive value.
15044
9078e690
DJ
150452006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
15046
15047 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
15048 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
15049 function name.
15050
9c903399
DJ
150512006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
15052
15053 * gdb.base/checkpoint.c: Update copyright notice. Include
15054 <stdlib.h>.
15055
761ae4d6
JB
150562006-01-04 Jim Blandy <jimb@redhat.com>
15057
15058 * gdb.asm/asm-source.exp: Independently provide default values for
15059 asm-flags and debug-flags. Use 'string equal' to do the
15060 comparison, not the implicit expr's '==' operator. Remove
15061 now-unneeded assignments to asm-flags. In h8300 case, place
15062 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
15063
099ac3dd
MS
150642006-01-04 Michael Snyder <msnyder@redhat.com>
15065
15066 * gdb.base/checkpoint.c: New file.
15067 * gdb.base/checkpoint.exp: New file.
15068 * gdb.base/multi-fork.c: New file.
15069 * gdb.base/multi-fork.exp: New file.
15070 * gdb.base/pi.txt: New file (data for checkpoint.c test).
15071
f4d85314
FF
150722006-01-04 Fred Fish <fnf@specifix.com>
15073
15074 * gdb.base/ptype.c (foo): Add typedef.
15075 (intfoo): Add function.
15076 * gdb.base/ptype1.c: New file.
15077 * gdb.base/ptype.exp: Handle compilation and linking with two
15078 source files. Test that proper type for "foo" is found based
15079 on source context rather than first match found in symtabs.
15080
a1b06f35
MK
150812005-12-28 Mark Kettenis <kettenis@gnu.org>
15082
15083 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
15084 * gdb.asm/openbsd.inc: Indent commands.
15085
d082a1e2
MK
150862005-12-26 Mark Kettenis <kettenis@gnu.org>
15087
c65016bd
MK
15088 * gdb.base/freebpcmd.exp: Increase timeout.
15089
d082a1e2
MK
15090 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
15091
d3c32a0e
DJ
150922005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
15093
15094 * gdb.base/default.exp: Update check for "show version".
15095
9fdb1f50
RC
150962005-12-09 Randolph Chung <tausq@debian.org>
15097
15098 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
15099 * gdb.asm/pa64.inc: New file.
15100
5f2c56f7
RC
151012005-12-09 Randolph Chung <tausq@debian.org>
15102
15103 * gdb.asm/common.inc: Indent commands.
15104 * gdb.asm/asmsrc1.s: Likewise.
15105 * gdb.asm/asmsrc2.s: Likewise.
15106
8117349c
RC
151072005-12-09 Randolph Chung <tausq@debian.org>
15108
15109 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
15110 (get_addr_of_sym): Remove duplicate print.
15111 (gen_core): xfail hppa*-*-hpux*, update expected output.
15112 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
15113 * gdb.arch/pa64-nullify.s: New file.
15114
8f07f25a
RC
151152005-12-09 Randolph Chung <tausq@debian.org>
15116
15117 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
15118
55b39184
DJ
151192005-12-07 Christophe Lyon <christophe.lyon@st.com>
15120
15121 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
15122 code generation for these functions.
15123 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
15124 error message.
15125
31e2b00f
AS
151262005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
15127
15128 * gdb.base/help.exp (help b, help br, help bre, help brea)
15129 (help break): Update the expected message.
15130
c3d0b56e
SC
151312005-11-11 Stephane Carrez <stcarrez@nerim.fr>
15132
15133 * gdb.asm/m68hc11.inc: Setup the data section.
15134 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
15135 script for this test.
15136 (m6812-*-*): Likewise.
15137
36ae0ea9
RC
151382005-11-09 Randolph Chung <tausq@debian.org>
15139
15140 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
15141
9d6f42e9
WZ
151422005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
15143
15144 * gdb.base/break.exp: Fix a comment typo.
15145
e2126a14
EZ
151462005-11-03 Jim Blandy <jimb@redhat.com>
15147
a9c64011
AS
15148 Checked in by Elena Zannoni <ezannoni@redhat.com>
15149
889bf7c5 15150 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 15151
e0ac7199
CV
151522005-11-02 Corinna Vinschen <vinschen@redhat.com>
15153
15154 * gdb.arch/gdb1558.c: Include stdio.h.
15155
31d3fb18
MK
151562005-10-31 Mark Kettenis <kettenis@gnu.org>
15157
15158 * gdb.asm/asm-source.exp: Use -e instead of --entry.
15159
e52b687c
MK
151602005-10-31 Mark Kettenis <kettenis@gnu.org>
15161
15162 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
15163
f4711d79
PG
151642005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
15165
a9c64011
AS
15166 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
15167 vscr" tests to better match output.
f4711d79 15168
987a9106
JB
151692005-10-12 Jim Blandy <jimb@redhat.com>
15170
15171 * gdb.base/structs.exp (any): New function.
15172 (test_struct_returns): Don't make any assumptions at all about
15173 what value the function returns when GDB can't set the return
15174 value.
15175
2336bb58
JB
151762005-10-09 Joel Brobecker <brobecker@adacore.com>
15177
15178 * gdb.ada/arrayidx/p.adb: New file.
15179 * gdb.ada/arrayidx.exp: New testcase
15180
151812005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
15182
15183 * gdb.ada/array_return/pck.ads: New file.
15184 * gdb.ada/array_return/pck.adb: New file.
15185 * gdb.ada/array_return/p.adb: New file.
15186 * gdb.ada/array_return.exp: New testcase.
15187
705335ea
JB
151882005-10-03 Joel Brobecker <brobecker@adacore.com>
15189
a9c64011
AS
15190 * gdb.base/arrayidx.c: New file.
15191 * gdb.base/arrayidx.exp: New testcase.
705335ea 15192
11ee9940
NR
151932005-09-29 Nick Roberts <nickrob@snap.net.nz>
15194
15195 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
15196 frames-invalid and breakpoints-invalid are no longer generated
15197 with level 3 so don't expect them in the output.
15198
39fb8e9e
BR
151992005-09-27 Bob Rossi <bob@brasko.net>
15200
a9c64011 15201 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
15202 from test. Escape the | in mi_gdb_test call.
15203 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
15204 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
15205 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
15206 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
15207 expected regex's in mi_gdb_test calls.
15208 * lib/mi-support.exp: Remove arbitrary .* from tests.
15209 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
15210 Fully anchor GDB/MI expected results in mi_gdb_test.
15211 * lib/gdb.exp (string_to_regexp): Escape the ] character.
15212 * gdb.base/sizeof.exp: Remove escape character. Correct test.
15213
2af48f68
PB
152142005-09-26 Paul Brook <paul@codesourcery.com>
15215
15216 * long_long.exp: Exclude eabi targets from arm FPA float format test.
15217
f34502bc
WZ
152182005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
15219
15220 * bfp-test.c: New file.
15221 * bfp-test.exp: New testcase.
15222
ca929517
WZ
152232005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
15224
15225 * gdb.fortran/subarray.exp: New testcase to test the evaluation
15226 of subarray and substring variable.
15227 * gdb.fortran/subarray.f: New source file for the test of subarray
15228 and substring variable evaluation.
15229 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
15230 of string constant.
15231
c761af65
DJ
152322005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
15233
15234 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
15235 copyright dates.
15236
561d7a1d
PG
152372005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
15238
15239 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
15240 powerpc altivec' test with an almost identical 'info vector' test.
15241
b2b64cc9
PG
152422005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
15243
a9c64011
AS
15244 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
15245 vscr" tests to match output.
b2b64cc9 15246
6ac4d15a
PG
152472005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
15248
a9c64011
AS
15249 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
15250 output.
6ac4d15a 15251
40e55bef
BR
152522005-09-11 Bob Rossi <bob@brasko.net>
15253
889bf7c5
PA
15254 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
15255 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
15256 commands that return an MI output command and an asyncronous MI output
15257 command.
40e55bef
BR
15258 * gdb.mi/mi-console.exp: Ditto.
15259
3c7385ec
BR
152602005-09-11 Bob Rossi <bob@brasko.net>
15261
15262 * gdb.mi/mi-var-child.c: Include <string.h>.
15263
a6cd0eb3
DJ
152642005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
15265
15266 * killed.exp: Correct gdb_expect syntax.
15267
2f168eed
CV
152682005-08-09 Corinna Vinschen <vinschen@redhat.com>
15269
15270 * lib/mi-support.exp (mi_gdb_load): Fix typo.
15271
ecd3fd0f
BR
152722005-08-02 Bob Rossi <bob@brasko.net>
15273
15274 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
15275 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
15276 Change tests to inferior-tty-set/show.
15277 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
15278 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
15279 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
15280 inferior. Use mi_gdb_test to get GDB and Inferior output.
15281 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
15282 descriptor.
15283 (mi_inferior_tty_name): Add inferior PTY file name.
15284 (mi_gdb_start): Add INFERIOR_PTY parameter.
15285 (mi_gdb_test): Add IPATTERN parameter.
15286
f1ea48cb 152872005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 15288
f1ea48cb
BR
15289 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
15290 parameter to mi_gdb_test.
15291 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
15292
6e650a67
DJ
152932005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15294
15295 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
15296 struct_declarations.
15297 * gdb.mi/mi-var-child.exp: Step over the initialization of
15298 struct_declarations.
15299
8be260b6
DJ
153002005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15301
15302 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
15303 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
15304 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
15305 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
15306 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
15307 file.
15308
4e660f07
NR
153092005-07-27 Nick Roberts <nickrob@snap.net.nz>
15310
15311 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
15312 (do_children_tests): Assign values to the extra elements.
15313
15314 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
15315 them for tests for "-var-update --no-values" and
a9c64011 15316 "-var-update --all-values".
4e660f07
NR
15317 Add test for "-var-list-children --simple-values".
15318
15319 * gdb.mi/basics.c (callee4): Add integer array D[3]...
15320
15321 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
15322 "-stack-list-locals --simple-values" Improve doc strings and
15323 comments.
15324
6bdae935
MK
153252005-07-18 Mark Kettenis <kettenis@gnu.org>
15326
598b7a6f
MK
15327 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
15328 *-*-openbsd*.
15329 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
15330
6bdae935
MK
15331 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
15332 sigaltsatck'.
15333
1323e929 153342005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 15335
1323e929
BR
15336 * gdb.base/default.exp (tty): Changed output of command.
15337 * gdb.base/help.exp (help tty): Ditto.
15338
b1a9c082
MK
153392005-07-12 Mark Kettenis <kettenis@gnu.org>
15340
15341 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
15342
10a844a2
MK
153432005-07-10 Mark Kettenis <kettenis@gnu.org>
15344
15345 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
15346 -stack-select-frame without arguments.
15347 (test_stack_frame_listing): Add test for newly implemented command
15348 -stack-info-frame.
15349
3cb3b8df
BR
153502005-07-06 Bob Rossi <bob@brasko.net>
15351
15352 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
15353 command.
15354 (Copyright): Update copyright.
15355
a0c5fbcf
WZ
153562005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
15357
15358 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
15359 tests to evaluate exponentiation expression.
15360
984971d0
AS
153612005-06-29 Andreas Schwab <schwab@suse.de>
15362
15363 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
15364 main to avoid warnings.
15365
15366 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
15367
fe03833f
NR
153682005-06-20 Nick Roberts <nickrob@snap.net.nz>
15369
15370 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
15371 -stack-select-frame without arguments.
15372 (test_stack_frame_listing): Add test for newly implemented command
15373 -stack-info-frame.
a9c64011 15374
7a55f279
WZ
153752005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
15376
0ffa0ea5
DJ
15377 * gdb.fortran/array-element.f: New file.
15378 * gdb.fortran/array-element.exp: New testcase.
7a55f279 15379
26585198
DJ
153802005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15381
15382 * gdb.base/bigcore.exp: Correct checks for systems which can
15383 not dump a large core file.
15384
c1bd25fd
DJ
153852005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15386
15387 * gdb.base/relocate.c: Add a copyright notice.
15388 (dummy): Remove.
15389 * gdb.base/relocate.exp: Test printing the values of variables
15390 from a relocatable file.
15391
589e074d
DJ
153922005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
15393
15394 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
15395 excess MI output after an error.
15396
0915f927
JB
153972005-05-29 Joel Brobecker <brobecker@adacore.com>
15398
15399 * gdb.arch/alpha-step.c: New file.
15400 * gdb.arch/alpha-step.exp: New testcase.
15401
76ff342d
DJ
154022005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
15403 Dennis Brueni <dennis@slickedit.com>
15404
15405 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
15406 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
15407 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
15408 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
15409 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
15410 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
15411 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
15412
96b0c7ac
DJ
154132005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
15414 Wu Zhou <woodzltc@cn.ibm.com>
15415
15416 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
15417 IBM's xlc compiler.
15418 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
15419 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
15420
f21565d2
JB
154212005-05-13 Jim Blandy <jimb@redhat.com>
15422
15423 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
15424 calling gdb_suppress_entire_file.
15425 * gdb.base/charset.exp: Same.
15426 * gdb.base/call-rt-st.exp: Same.
15427
6006a3a1
BR
154282005-05-05 Bob Rossi <bob_rossi@cox.net>
15429
15430 * lib/gdb.exp (fullname_syntax): Added global regex.
15431 (fullname_syntax_POSIX): Ditto.
15432 (fullname_syntax_UNC): Ditto.
15433 (fullname_syntax_DOS_CASE): Ditto.
15434 (fullname_syntax_DOS): Ditto.
15435 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
15436 fullname_syntax variable to scope and use it.
15437 (test_file_list_exec_source_files): Ditto.
15438 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
15439
c3b69c04
DJ
154402005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
15441
15442 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
15443
3c95e6af
PG
154442004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
15445
a9c64011
AS
15446 * lib/gdb.exp (skip_altivec_tests): New function, based on
15447 check_vmx_hw_available from the GCC testsuite.
15448 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
15449 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 15450
78df6c56
JB
154512005-05-02 Jim Blandy <jimb@redhat.com>
15452
15453 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
15454 calling gdb_suppress_entire_file.
15455
1690f9cf
DJ
154562005-04-30 Randolph Chung <tausq@debian.org>
15457
15458 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
15459 Slightly relax "sem_post" name checking.
15460
5ea106f7
PG
154612005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
15462
15463 * gdb.base/unload.exp: Use new shared library infrastructure.
15464
bf7234cf
PG
154652005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
15466
15467 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 15468 infrastructure.
bf7234cf 15469
547b869a
CV
154702005-04-29 Corinna Vinschen <vinschen@redhat.com>
15471
15472 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
15473 * gdb.asm/h8300.inc: New file.
15474
f07e55f0
PG
154752005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
15476
15477 * gdb.base/shlib-call.exp: Change to use new shared library
15478 infrastructure.
15479
3cbba3d1
PG
154802005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
15481
a9c64011
AS
15482 * gdb.base/pending.exp: Change to use new shared library
15483 infrastructure.
3cbba3d1 15484
ed6df200
PG
154852005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
15486
a9c64011
AS
15487 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
15488 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 15489
8c8f4ebe
PG
154902005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
15491
a9c64011
AS
15492 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
15493 shared objects being adjusted and update copyright years.
8c8f4ebe 15494
607fbc54
DJ
154952005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
15496
15497 * ChangeLog: Correct some 2003-01-13 dates.
15498 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
15499 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
15500 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
15501 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
15502 gdb.trace/tfind.exp: Update copyright years.
15503
57bf0e56
DJ
155042005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
15505 Daniel Jacobowitz <dan@codesourcery.com>
15506
15507 * lib/gdb.exp (gdb_compile): Handle shlib=.
15508 (gdb_compile_shlib): New function.
15509
9b593790
PG
155102005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
15511
a9c64011 15512 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 15513
9494c6a5
DJ
155142005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
15515
15516 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
15517 gdb.server.
15518 * configure.ac: Likewise.
15519 * configure: Regenerated.
15520 * gdb.gdbserver/Makefile.in: Moved to...
15521 * gdb.server/Makefile.in: ... here.
15522 * gdb.gdbserver/server.c: Moved to...
15523 * gdb.server/server.c: ... here.
15524 * gdb.gdbserver/server-run.exp: Moved to...
15525 * gdb.server/server-run.exp: ... here.
15526
6f8eac0e
DJ
155272005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
15528
15529 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
15530 * configure.ac: Create gdb.gdbserver/Makefile.
15531 * configure: Regenerated.
15532 * lib/gdbserver-support.exp: New file, derived from
15533 config/gdbserver.exp.
15534 * config/gdbserver.exp: Use gdbserver-support.exp.
15535 * gdb.gdbserver/Makefile.in: New file.
15536 * gdb.gdbserver/server.c: New file.
15537 * gdb.gdbserver/server-run.exp: New file.
15538
6e87504d
PG
155392005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
15540
a9c64011
AS
15541 * lib/gdb.exp (test_compiler_info): Return compiler_info
15542 if no arguments are given.
6e87504d 15543
d1779be4
PG
155442005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
15545
15546 * gdb.arch/altivec-abi.exp: Check for compiler and set
15547 use altivec' flag accordingly.
15548 * gdb.arch/altivec-regs.exp: Likewise.
15549
88750304
DJ
155502005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
15551
15552 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
15553
f3fb768d
AS
155542005-03-27 Andreas Schwab <schwab@suse.de>
15555
15556 * gdb.base/bigcore.c (main): Add missing mode argument in open
15557 call.
15558
7e813ac5
DJ
155592005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
15560
15561 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
15562 downloads.
15563 * config/gdbserver.exp (gdb_load): Likewise.
15564
8e3049aa
PB
155652005-03-14 Paul Brook <paul@codesourcery.com>
15566
15567 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
15568 targets.
15569
a9df7c44
JB
155702005-03-09 Joel Brobecker <brobecker@adacore.com>
15571
15572 * gdb.dwarf2/dup-psym.S: New file.
15573 * gdb.dwarf2/dup-psym.exp: New testcase.
15574
9f0d94e8
JB
155752005-03-09 Joel Brobecker <brobecker@adacore.com>
15576
15577 * gdb.ada/exec_changed/first.adb: New file.
15578 * gdb.ada/exec_changed/second.adb: New file.
15579 * gdb.ada/exec_changed.exp: New testcase.
15580
5f579bc5
NS
155812005-03-08 Nathan Sidwell <nathan@codesourcery.com>
15582
36e9969c
NS
15583 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
15584 (A2): New class.
15585 (main): Test operator+.
15586 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
15587 breakpoint test.
15588
5f579bc5
NS
15589 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
15590 * gdb.base/signull.exp: Disable if gdb,nosignals.
15591 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
15592 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
15593 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
15594 * gdb.mi/mi2-console.exp: Likewise.
15595 * gdb.trace/collection.exp (run_trace_experiment): Consume the
15596 continue output at start.
15597 (gdb_collect_locals_test): Robustify regexp.
15598 * gdb.trace/passc-dyn.exp: Fix comment typo.
15599 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
15600
be46087e
CV
156012005-03-08 Corinna Vinschen <vinschen@redhat.com>
15602
15603 * gdb.asm/asm-source.exp: Add iq2000 case.
15604 * gdb.asm/iq2000.inc: New file.
15605
384e1a61 156062005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 15607
384e1a61
MI
15608 * gdb.base/command.exp: Change hardcoded value to regular expression.
15609 * gdb.base/float.exp: Add powerpc to the list of targets checked.
15610
584b6e9e
DJ
156112005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
15612
15613 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
15614 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
15615 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
15616 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
15617 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
15618
ab5b5d61
MK
156192005-03-05 Mark Kettenis <kettenis@gnu.org>
15620
15621 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
15622 changes.
15623
ae051c1b
PG
156242004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
15625
a9c64011
AS
15626 * lib/compiler.c: Add test for IBM's xlc compiler.
15627 * lib/compiler.cc: Likewise.
ae051c1b 15628
3f0f6ed2
JB
156292004-02-24 Joel Brobecker <brobecker@adacore.com>
15630
15631 * gdb.ada/fixed_points.exp: Create compilation object directory
15632 before running the test.
15633 * gdb.ada/null_record.exp: Likewise.
15634 * gdb.ada/packed_array.exp: Likewise.
15635 * gdb.ada/start.exp: Likewise.
15636
724f452b
JB
156372005-02-15 Joel Brobecker <brobecker@adacore.com>
15638
15639 * gdb.ada/packed_array/pa.adb: New file.
15640 * gdb.ada/packed_array.exp: New testcase.
15641
57f5cdfb 156422005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 15643
1f393151
MK
15644 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
15645 files.
15646
ebdda337
MK
15647 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
15648 on *-*-openbsd*. Correctly match whitespace in regukar
15649 expressions.
15650
cf309262
DJ
156512005-02-10 Daniel Jacobowitz <dan@debian.org>
15652
15653 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
15654 PR exp/1821
15655 * gdb.base/gdb1821.c: New test file.
15656 * gdb.base/gdb1821.exp: New test file.
15657
3be49e7a
JB
156582005-02-09 Joel Brobecker <brobecker@adacore.com>
15659
15660 * gdb.base/start.c: New file.
15661 * gdb.base/start.exp: New testcase.
15662
e292e67d
JB
156632005-02-09 Joel Brobecker <brobecker@adacore.com>
15664
15665 * gdb.ada/start/dummy.adb: New file.
15666 * gdb.ada/start.exp: New testcase.
15667
dbdfa66c
CV
156682005-02-09 Corinna Vinschen <vinschen@redhat.com>
15669
15670 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
15671 for printing symbols and statistics.
15672 Add test for using relative pathnames in "maint print msymbols" test.
15673 Mark "maint info sections DATA" XFAIL on Cygwin.
15674 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
15675 tests.
15676
d7941671
AC
156772005-02-09 Andreas Schwab <schwab@suse.de>
15678
15679 Committed by Andrew Cagney <cagney@gnu.org>
15680 * gdb.base/remotetimeout.exp: New file.
15681
74e5ef44
MK
156822005-02-07 Mark Kettenis <kettenis@gnu.org>
15683
15684 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
15685
464dd14d
JB
156862005-02-03 Joel Brobecker <brobecker@adacore.com>
15687
15688 * gdb.ada/gnat_ada.gpr: New file.
15689 * gdb.ada/gnat_ada.gin: Delete, no longer used.
15690 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
15691 * configure.ac: No longer generate gnat_ada.gpr.
15692 * configure: Regenerate.
15693 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
15694 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
15695 * gdb.ada/null_record/bar.ads: Likewise.
15696 * gdb.ada/null_record/bar.adb: Likewise.
15697 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
15698 * gdb.ada/null_record.exp (testdir): New variable.
15699 (testfile): executable is now in testdir subdirectory.
15700 (srcfile): Use full path to the main compilation unit.
15701 * gdb.ada/fixed_points.exp: Same changes as above.
15702
30d756ae
NR
157032005-02-03 Nick Roberts <nickrob@snap.net.nz>
15704
15705 * gdb.base/interp.exp: New test.
15706
9d799f85
AC
157072005-01-24 Andrew Cagney <cagney@gnu.org>
15708
15709 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
15710
15656118
AC
157112005-01-19 Andrew Cagney <cagney@gnu.org>
15712
a892c31b
AC
15713 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
15714 configure.ac not configure.in.
15715
15656118
AC
15716 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
15717 of powerpc*-*-*.
15718 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 15719 * gdb.base/list.exp (test_list_function)
15656118
AC
15720 (test_list_filename_and_function): Ditto.
15721 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
15722
a7b01baf
AC
157232005-01-16 Andrew Cagney <cagney@gnu.org>
15724
17d92a02
AC
15725 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
15726
a7b01baf
AC
15727 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
15728
bc8332bb
AC
157292005-01-14 Andrew Cagney <cagney@gnu.org>
15730
15731 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
15732 * gdb.mi/mi2-var-cmd.exp: Ditto.
15733
4d074752
CV
157342005-01-10 Corinna Vinschen <vinschen@redhat.com>
15735
15736 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
15737
bec39cab
AC
157382005-01-07 Andrew Cagney <cagney@gnu.org>
15739
15740 * configure.ac: Rename configure.in, require autoconf 2.59.
15741 * configure: Re-generate.
15742 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
15743 * gdb.stabs/configure: Re-generate.
15744 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
15745 * gdb.hp/configure: Re-generate.
15746 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
15747 autoconf 2.59.
15748 * gdb.hp/gdb.objdbg/configure: Re-generate.
15749 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
15750 autoconf 2.59.
15751 * gdb.hp/gdb.defects/configure: Re-generate.
15752 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
15753 autoconf 2.59.
15754 * gdb.hp/gdb.compat/configure: Re-generate.
15755 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
15756 autoconf 2.59.
15757 * gdb.hp/gdb.base-hp/configure: Re-generate.
15758 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
15759 autoconf 2.59.
15760 * gdb.hp/gdb.aCC/configure: Re-generate.
15761
f10b16d4
JB
157622004-12-15 Jim Blandy <jimb@redhat.com>
15763
15764 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
15765 under NPTL when there is debugging info available for libpthread.
15766
fb6e1814
JG
157672004-12-13 Jerome Guitton <guitton@gnat.com>
15768
15769 * gdb.ada/fixed_points.c: New file.
15770 * gdb.ada/fixed_points.exp: New file.
15771
fe46cd3a
RC
157722004-12-03 Randolph Chung <tausq@debian.org>
15773
15774 * gdb.arch/pa-nullify.exp: New file.
15775 * gdb.arch/pa-nullify.s: New file.
15776
8de0841b
RC
157772004-11-30 Randolph Chung <tausq@debian.org>
15778
15779 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
15780 instead of "tbug". Fix regexp to work properly with gdb_test.
15781
c8170782
PH
157822004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
15783
15784 * gdb.base/bitfields2.exp: New test.
15785 * gdb.base/bitfields2.c: New file.
15786
954269c2
RE
157872004-11-28 Richard Earnshaw <rearnsha@arm.com>
15788
15789 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
15790
0107feed
RC
157912004-11-16 Randolph Chung <tausq@debian.org>
15792
15793 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
15794
f073ae8c
DJ
157952004-11-14 Daniel Jacobowitz <dan@debian.org>
15796
15797 * gdb.threads/threadapply.exp: Correct "macro details" test.
15798
19ad59e7
JJ
157992004-11-11 Jeff Johnston <jjohnstn@redhat.com>
15800
15801 * gdb.threads/threadapply.exp: New test.
15802 * gdb.threads/threadapply.c: New file.
15803
9cf0961b
MK
158042004-11-07 Mark Kettenis <kettenis@gnu.org>
15805
15806 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
15807 frames.
15808
c789492a
FL
158092004-11-05 Felix Lee <felix+log1@specifixinc.com>
15810
15811 * gdb.base/cursal.exp: New file.
15812 * gdb.base/cursal.c: New file.
15813
a1e167bb
AC
158142004-11-03 Andrew Cagney <cagney@gnu.org>
15815
15816 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
15817
b7cbf173
MK
158182004-10-30 Mark Kettenis <kettenis@gnu.org>
15819
15820 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
15821 NetBSD/ELF targets.
15822
88f9d34f
JB
158232004-10-29 Joel Brobecker <brobecker@gnat.com>
15824
15825 * gdb.threads/bp_in_thread.c: New file, copied from
15826 pthread_cond_wait.c.
15827 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
15828 file, rather than reusing the .c file from another testcase.
15829
ca7d6a0c
JB
158302004-10-20 Joel Brobecker <brobecker@gnat.com>
15831
15832 * gdb.ada/null_record.exp: Check where we stopped after
15833 sending the start command, instead of where the associated
15834 temporary breakpoint was inserted.
15835
0d863d03
AC
158362004-10-14 Andrew Cagney <cagney@gnu.org>
15837
15838 * gdb.mi/gdb701.c (main): Return 0.
15839
d11e72cb
DJ
158402004-10-13 Daniel Jacobowitz <dan@debian.org>
15841
d40539a4 15842 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 15843
e1923096
JJ
158442004-10-12 Jeff Johnston <jjohnstn@redhat.com>
15845
15846 * gdb.threads/schedlock.c: Add comment markers to use to find
15847 line numbers.
15848 * gdb.threads/schedlock.exp: Adjust regex to handle the new
15849 comments.
15850 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
15851 breakpoint lines.
15852
ec8ba2c9
DJ
158532004-10-12 Daniel Jacobowitz <dan@debian.org>
15854
15855 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
15856
0eb3658b
DJ
158572004-10-12 Daniel Jacobowitz <dan@debian.org>
15858
15859 * configure.in: Add gdb.dwarf2.
15860 * configure: Regenerated.
15861 * Makefile.in: Add gdb.dwarf2.
15862 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
15863 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
15864 gdb.dwarf2/file1.txt: New files.
15865
a271cc33
OF
158662004-10-11 Orjan Friberg <orjanf@axis.com>
15867
a9c64011 15868 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
15869 of "run", since the latter doesn't work with remote targets. Adjust
15870 the breakpoint numbering accordingly.
15871 * gdb.threads/pthread_cond_wait.exp: Ditto.
15872
895ce074
MC
158732004-10-08 Michael Chastain <mec.gnu@mindspring.com>
15874
15875 * gdb.base/overlays.exp: Update copyright years.
15876
6be3092d
KI
158772004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
15878
15879 * gdb.base/overlays.exp: Disable if target is Linux.
15880
e05389b8
FL
158812004-10-06 Felix Lee <felix+log1@specifixinc.com>
15882
15883 * config/gdbserver.exp (gdb_load): Use right filename on remote.
15884
73cb587d
KI
158852004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
15886
15887 * gdb.asm/asm-source.exp: Add m32r-linux target.
15888 * gdb.asm/m32r-linux.inc: New file.
15889
3c0edcdc
AC
158902004-09-24 Andrew Cagney <cagney@redhat.com>
15891 David Anderson <anderson@redhat.com>
15892
15893 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
15894 command fails, assume things will work.
15895 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
15896 (_GNU_SOURCE): Define.
15897 (print_unsigned, print_hex): Change parameter to "long long".
15898 (print_byte_count): New function, use to print byte counts.
15899 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
15900 O_LARGEFILE.
15901 (main): Compute an upper bound on a corefile in max_core_size.
15902 Limit memory chunk size to max_core_size. Limit total memory
15903 allocated to max_core_size.
15904
4bb3667f
AC
159052004-09-23 Andrew Cagney <cagney@gnu.org>
15906
15907 * gdb.base/bigcore.exp: Replace the code that creates a corefile
15908 from a separate process with code that creates a corefile by
15909 making the inferior dump core.
15910
60fe1a51
MK
159112004-09-23 Mark Kettenis <kettenis@gnu.org>
15912
15913 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
15914 block.
15915
8e937346
MC
159162004-09-23 Michael Chastain <mec.gnu@mindspring.com>
15917
15918 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
15919 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
15920 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
15921 Likewise.
15922
7213f6d6
JJ
159232004-09-20 Jeff Johnston <jjohnstn@redhat.com>
15924
15925 * gdb.java/jprint.exp: New test case for java inferior call.
15926 * gdb.java/jprint.java: Ditto.
15927
eac69dca
JB
159282004-09-15 Joel Brobecker <brobecker@gnat.com>
15929
15930 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
15931
22227696
MC
159322004-09-14 Michael Chastain <mec.gnu@mindspring.com>
15933
15934 * gdb.threads/killed.c: Include <stdlib.h>.
15935 * gdb.threads/pthreads.c: Likewise.
15936
7dd403a4
MC
159372004-09-14 Michael Chastain <mec.gnu@mindspring.com>
15938
15939 * gdb.threads/killed.c: Add copyright notice.
15940
33f2d567
JM
159412004-09-10 Jason Molenda (jmolenda@apple.com)
15942
a9c64011
AS
15943 * gdb.base/define.exp: Two new tests to verify zero space chars
15944 after 'if' and 'while' commands in a user-defined command is correctly
15945 parsed.
33f2d567 15946
e05b62ac
AC
159472004-09-08 Andrew Cagney <cagney@gnu.org>
15948
15949 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
15950 delivery test with duplicate at end of file.
15951
9cbe82da
MK
159522004-09-06 Mark Kettenis <kettenis@jive.nl>
15953
15954 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
15955
564803d9
MC
159562004-09-05 Michael Chastain <mec.gnu@mindspring.com>
15957
15958 * config/hppro.exp: Removed.
15959
7c6807ce
MC
159602004-09-05 Michael Chastain <mec.gnu@mindspring.com>
15961
15962 * config/sparclet.exp: Removed.
15963
bf7e26dd
MC
159642004-09-05 Michael Chastain <mec.gnu@mindspring.com>
15965
15966 * config/udi.exp: Removed.
15967
714e341b
MC
159682004-09-02 Michael Chastain <mec.gnu@mindspring.com>
15969
15970 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
15971 of "exp_continue".
15972 (advancei): Likewise.
15973
1236e623
JJ
159742004-09-01 Jeff Johnston <jjohnstn@redhat.com>
15975
15976 * gdb.base/unload.exp: Fix so messages aren't duplicated.
15977
3bdcad15
MI
159782004-09-01 Manoj Iyer <manjo@austin.ibm.com>
15979
228af206 15980 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
15981 to check for nodebug in executable.
15982 * gdb.gdb/observer.exp (setup_test): Likewise.
15983 * gdb.gdb/selftest.exp (test_with_self): Likewise.
15984 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
15985
c72b934c
AC
159862004-09-01 Andrew Cagney <cagney@gnu.org>
15987
15988 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
15989 files.
15990
edd9b715
JJ
159912004-09-01 Jeff Johnston <jjohnstn@redhat.com>
15992
15993 * gdb.base/unload.exp: Fix expected warning message to match
15994 latest format.
15995
fb4ce06b
CV
159962004-09-01 Corinna Vinschen <vinschen@redhat.com>
15997
15998 * gdb.base/call-rt-st.exp: Fix typos.
15999
ce78e7c3
MI
160002004-08-31 Manoj Iyer <manjo@austin.ibm.com>
16001
16002 * gdb.threads/thread_check.exp: New testcase.
16003 * gdb.threads/thread_check.c: New testcase.
16004
2dedb159
AC
160052004-08-31 Andrew Cagney <cagney@gnu.org>
16006
16007 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
16008 (skip_to_handler_entry): New procedures. Test stepping into a
16009 handler when the breakpoint is at the handler's entry point.
16010
68f53502
AC
160112004-08-30 Andrew Cagney <cagney@gnu.org>
16012
16013 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
16014 gdb/1757.
16015
3e3ffd2b
MC
160162004-08-27 Michael Chastain <mec.gnu@mindspring.com>
16017
16018 With code from Manoj Iyer <manjo@austin.ibm.com>:
16019 * lib/gdb.exp (gdb_file_cmd): Return more information in the
16020 return value. Add an arm for "no debugging symbols found".
16021 Change a stray "error" to "perror".
16022 (gdb_run_cmd): Adapt to new return value.
16023 * gdb.base/remote.exp: Adapt to new return value.
16024 * gdb.gdb/complaints.exp: Likewise.
16025 * gdb.gdb/observer.exp: Likewise.
16026 * gdb.gdb/selftest.exp: Likewise.
16027 * gdb.gdb/xfullpath.exp: Likewise.
16028
4b6f5fd2
JB
160292004-08-27 Joel Brobecker <brobecker@gnat.com>
16030
16031 * gdb.threads/bp_in_thread.exp: New testcase.
16032
e5b25496
MC
160332004-08-27 Michael Chastain <mec.gnu@mindspring.com>
16034
16035 Fix PR testsuite/1735.
16036 * gdb.threads/schedlock.c (thread_function): Add a cast
16037 to suppress a gcc warning.
16038 * gdb.threads/thread-specific.c (thread_function): Likewise.
16039
934353d6
MC
160402004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16041
16042 * gdb.base/unload.c: Include <stdlib.h>.
16043
f98a0aef 160442004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 16045
f98a0aef 16046 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
16047 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
16048 synchronized after the "return".
16049
5a2e8882
MC
160502004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16051
16052 * gdb.mi/basics.c: Include <stdio.h>.
16053 * gdb.mi/pthreads.c: Include <stdlib.h>.
16054 * gdb.mi/var-cmd.c: Include <stdlib.h>.
16055
a9640423
MC
160562004-08-26 Michael Chastain <mec.gnu@mindspring.com>
16057
16058 * gdb.threads/schedlock.c: Add copyright notice.
16059
b04e311d
AC
160602004-08-25 Andrew Cagney <cagney@gnu.org>
16061
16062 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
16063 (skip_over_handler, breakpoint_over_hander): New test procedures.
16064 (advance, advancei): Add a proper prefix, do not use
16065 rerun_to_main.
16066 * gdb.base/sigstep.c (main): Change to use an infinite loop.
16067
7c27f15b
MC
160682004-08-24 Michael Chastain <mec.gnu@mindspring.com>
16069
16070 * gdb.mi/basics.c: Add copyright notice.
16071 * gdb.mi/var-cmd.c: Add copyright notice.
16072
fffc87ae
MC
160732004-08-23 Michael Chastain <mec.gnu@mindspring.com>
16074
16075 * lib/gdb.exp: Remove signed_keyword_not_used.
16076 * lib/compiler.c: Likewise.
16077 * lib/compiler.cc: Likewise.
16078
d782e0bf
MC
160792004-08-23 Michael Chastain <mec.gnu@mindspring.com>
16080
16081 * gdb.base/whatis.c: Remove conditional disabling of "signed".
16082 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
16083
96033e83
MC
160842004-08-23 Michael Chastain <mec.gnu@mindspring.com>
16085
16086 * gdb.base/whatis.c: Add copyright notice.
16087
cf38c229
MK
160882004-08-20 Mark Kettenis <kettenis@gnu.org>
16089
16090 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
16091 it to skip the breakpoints encoded in the inline assembly.
16092
f4b49756
MC
160932004-08-20 Michael Chastain <mec.gnu@mindspring.com>
16094
16095 * Makefile.in: Add gdb.fortran.
16096
2f193b69
MC
160972004-08-20 Michael Chastain <mec.gnu@mindspring.com>
16098
16099 * gdb.base/call-sc.exp (test_scalar_returns):
16100 Fix cut-and-paste glitch in "Make fun return now".
16101
89a237cb
MC
161022004-08-17 Michael Chastain <mec.gnu@mindspring.com>
16103
16104 * configure.in: Add gdb.fortran.
16105 * configure: Regenerate.
16106 * gdb.fortran/Makefile.in: New file.
16107 * lib/gdb.exp (skip_fortran_tests): New procedure.
16108
469aff8e
MC
161092004-08-17 Michael Chastain <mec.gnu@mindspring.com>
16110
16111 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
16112 reference to bug-gnu@prep.ai.mit.edu.
16113 * gdb.mi/mi-var-child.exp: Likewise.
16114 * gdb.mi/mi-var-cmd.exp: Likewise.
16115 * gdb.mi/mi-var-display.exp: Likewise.
16116 * gdb.mi/mi2-var-block.exp: Likewise.
16117 * gdb.mi/mi2-var-child.exp: Likewise.
16118 * gdb.mi/mi2-var-cmd.exp: Likewise.
16119 * gdb.mi/mi2-var-display.exp: Likewise.
16120
00b51b9f
MK
161212004-08-15 Mark Kettenis <kettenis@gnu.org>
16122
16123 * gdb.base/unload.c (main): Make local variable msg const.
16124
45f07fef
MC
161252004-08-15 Michael Chastain <mec.gnu@mindspring.com>
16126
16127 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
16128 to bug-gnu@prep.ai.mit.edu.
16129 * gdb.mi/mi-disassemble.exp: Likewise.
16130 * gdb.mi/mi-eval.exp: Likewise.
16131 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
16132 default line number.
16133 * gdb.mi/mi-return.exp: Likewise.
16134 * gdb.mi/mi-simplerun.exp: Likewise.
16135 * gdb.mi/mi-stack.exp: Likewise.
16136 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
16137 number with explicit range test.
16138 * gdb.mi/mi-watch.exp: Likewise.
16139 * gdb.mi/mi2-break.exp: Likewise.
16140 * gdb.mi/mi2-cli.exp: Likewise.
16141 * gdb.mi/mi2-disassemble.exp: Likewise.
16142 * gdb.mi/mi2-eval.exp: Likewise.
16143 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
16144 default line number.
16145 * gdb.mi/mi2-return.exp: Likewise.
16146 * gdb.mi/mi2-simplerun.exp: Likewise.
16147 * gdb.mi/mi2-stack.exp: Likewise.
16148 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
16149 number with explicit range test.
16150 * gdb.mi/mi2-watch.exp: Likewise.
16151
dd8c8ee7
MC
161522004-08-15 Michael Chastain <mec.gnu@mindspring.com>
16153
16154 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
16155 * gdb.cp/m-static.exp: Likewise.
16156 * gdb.cp/rtti.exp: Likewise.
16157
4e838464
MK
161582004-08-14 Mark Kettenis <kettenis@gnu.org>
16159
16160 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
16161
8d8cb839
EZ
161622004-08-14 Eli Zaretskii <eliz@gnu.org>
16163
16164 * ChangeLog: Prefix Local Variables with semi-colons and indent
16165 the reference to older ChangeLog files, to fix fontification in
16166 Emacs.
16167
deea8bb0
MC
161682004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16169
16170 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
16171 * gdb.mi/mi2-break.exp: Likewise.
16172
c3297504
MC
161732004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16174
16175 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
16176
25808999
MC
161772004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16178
16179 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
16180
226a8d71
MC
161812004-08-13 Michael Chastain <mec.gnu@mindspring.com>
16182
16183 * gdb.cp/classes.exp: Remove unused declarations. Just let
16184 test names default instead of providing special names. Remove
16185 extraneous demangler test.
16186
37fdf854
JJ
161872004-08-12 Jeff Johnston <jjohnstn@redhat.com>
16188
16189 * gdb.base/unload.exp: New test for breakpoints in dynamically
16190 loaded libraries.
16191 * gdb.base/unload.c: Ditto.
16192 * gdb.base/unloadshr.c: Ditto.
16193
2d3a7986
MC
161942004-08-12 Michael Chastain <mec.gnu@mindspring.com>
16195
16196 * gdb.cp/classes.exp (test_ptype_class_objects): Call
16197 cp_test_ptype_class.
16198 (test_enums): Likewise.
16199
c72b934c
AC
162002004-08-10 Andrew Cagney <cagney@gnu.org>
16201
16202 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
16203 files.
16204
cc503c8a
AC
162052004-08-10 Andrew Cagney <cagney@gnu.org>
16206
16207 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
16208 init_malloc call.
16209
902f2ccb
MC
162102004-08-10 Michael Chastain <mec.gnu@mindspring.com>
16211
16212 * ChangeLog: Add copyright notice. The notice is copied
16213 from emacs 21.3 top level ChangeLog.
16214
78c90502
MC
162152004-08-09 Michael Chastain <mec.gnu@mindspring.com>
16216
16217 * lib/cp-support.exp: New file.
16218 * lib/cp-support.exp (cp_test_type_class): New function.
16219 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
16220 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
16221 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
16222 cp_test_ptype_class.
16223
88e5ea78
MC
162242004-08-09 Michael Chastain <mec.gnu@mindspring.com>
16225
16226 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
16227 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
16228 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
16229 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
16230 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
16231 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
16232 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
16233 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
16234 gdb.mi/mi2-watch.exp: Update copyright years.
16235
6a89fc9c
MK
162362004-08-09 Mark Kettenis <kettenis@gnu.org>
16237
16238 * gdb.base/sigaltstack.exp: Provide proper anchoring.
16239
1482e0de
MC
162402004-08-09 Michael Chastain <mec.gnu@mindspring.com>
16241
16242 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
16243 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
16244 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
16245 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
16246 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
16247 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
16248 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
16249 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
16250 gdb.mi/mi-watch.exp: Update copyright years.
16251
1a5ce3f3
DJ
162522004-08-08 Daniel Jacobowitz <dan@debian.org>
16253
16254 PR gdb/1738
16255 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
16256 from a breakpoint with a pending signal.
16257
04f6ecf2
DJ
162582004-08-08 Daniel Jacobowitz <dan@debian.org>
16259
16260 PR gdb/1736
16261 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
16262 * gdb.base/sigaltstack.exp (finish_test): Consume output until
16263 the prompt.
16264 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
16265
54d90d35
DJ
162662004-08-08 Daniel Jacobowitz <dan@debian.org>
16267
16268 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
16269
d2f6abb0
DJ
162702004-08-08 Daniel Jacobowitz <dan@debian.org>
16271
16272 PR gdb/1736
16273 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
16274 for i?86-*-linux*.
16275
5598c03d
DJ
162762004-08-08 Daniel Jacobowitz <dan@debian.org>
16277
16278 * gdb.arch/i386-prologue.exp: Compile without debug information.
16279
c6fee705
MC
162802004-08-08 Michael Chastain <mec.gnu@mindspring.com>
16281
16282 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
16283 rather than asking gdb to search.
16284
dd90efdb
MC
162852004-08-05 Michael Chastain <mec.gnu@mindspring.com>
16286
16287 * gdb.base/gcore.c: Include <string.h>.
16288
1e84bec1
MC
162892004-08-05 Michael Chastain <mec.gnu@mindspring.com>
16290
16291 * gdb.base/gcore.c: Add copyright notice.
16292
e425eb2b
MC
162932004-08-05 Michael Chastain <mec.gnu@mindspring.com>
16294
16295 * gdb.base/freebpcmd.c: Include <stdio.h>.
16296 * gdb.base/long_long.c: Include <string.h>.
16297 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
16298 * gdb.base/siginfo.c: Include <string.h>.
16299 * gdb.base/sigstep.c: Include <string.h>.
16300
cb9aaed5
MC
163012004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16302
16303 * gdb.base/complex.c: Include <stdlib.h>.
16304
55944f3d
MC
163052004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16306
16307 * gdb.base/complex.c: Add copyright notice.
16308
7b2953d9
MC
163092004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16310
16311 * gdb.base/charset.c: Include <stdlib.h>.
16312
c9133d23
MC
163132004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16314
16315 * gdb.base/auxv.c: Include <stdlib.h>.
16316
0a8490ad
MC
163172004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16318
16319 * gdb.base/auxv.c: Add copyright notice.
16320
3426d5ec
MC
163212004-08-04 Michael Chastain <mec.gnu@mindspring.com>
16322
16323 * gdb.base/coremaker.c: Add copyright notice.
16324 * gdb.base/coremaker2.c: Add copyright notice.
16325
8da195dd
AC
163262004-08-04 Andrew Cagney <cagney@gnu.org>
16327
16328 * gdb.base/store.exp: Update copyright.
16329 (check_set, up_set, check_struct, up_struct): Add a prefix to test
16330 names, do not import gdb_prompt.
16331
8d394f98
AC
163322004-08-01 Andrew Cagney <cagney@gnu.org>
16333
16334 Fix PR testsuite/1729.
16335 * gdb.base/dump.exp: Add test name to callers of capture_value, do
16336 not use capture_value with value 4.
16337 (capture_value): Add optional test name parameter.
16338 (test_reload_saved_value, test_restore_saved_value): Use $msg as
16339 the prefix, pass to capture_value.
16340
b6702b23
MK
163412004-08-01 Mark Kettenis <kettenis@gnu.org>
16342
16343 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
16344 * gdb.arch/i386-prologue.c (standard): New prototype and function.
16345 (main): Call new function.
16346
c203e0ca
MC
163472004-07-31 Michael Chastain <mec.gnu@mindspring.com>
16348
16349 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
16350
a7995a30
MC
163512004-07-31 Michael Chastain <mec.gnu@mindspring.com>
16352
16353 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
16354
9366563b
MC
163552004-07-31 Michael Chastain <mec.gnu@mindspring.com>
16356
b6eeaf26 16357 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
16358 Accept more values of vtbl pointer. Remove some messages
16359 about "obsolete gcc or gdb".
16360
2fc1f950
MC
163612004-07-30 Michael Chastain <mec.gnu@mindspring.com>
16362
16363 * gdb.cp/classes.exp: Accept more varieties of ptype output.
16364
c724d49b
MC
163652004-07-30 Michael Chastain <mec.gnu@mindspring.com>
16366
16367 * gdb.base/asm-source.exp: Properly convert target board
16368 debug flags from gcc format to binutils format.
16369
736b0fce
MK
163702004-07-28 Mark Kettenis <kettenis@gnu.org>
16371
16372 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
16373 gdb1718". PR backtrace/1718 partially fixed.
16374
5633ea5c
JJ
163752004-07-27 Jeff Johnston <jjohnstn@redhat.com>
16376
16377 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
16378
575eebb1
NC
163792004-07-26 Nick Clifton <nickc@redhat.com>
16380
16381 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
16382 good default value for a specific architecture is available then
16383 set it to that value. Otherwise default to the -gstabs switch.
16384 Remove the -g... switches from the asm-flags variable. Allow the
16385 target board info to override the value if it wants to. Pass the
16386 switch on the assembler command line.
16387
62104619
MK
163882004-07-23 Mark Kettenis <kettenis@gnu.org>
16389
16390 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
16391 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
16392 (main): Call new function.
16393
4a1135b8
MC
163942004-07-22 Michael Chastain <mec.gnu@mindspring.com>
16395
16396 Test for PR exp/1715.
16397 * gdb.base/radix.exp: Refactor common procedures. Make all
16398 test names unique. Change XFAIL to KFAIL.
16399
8a12c1f0
MC
164002004-07-20 Michael Chastain <mec.gnu@mindspring.com>
16401
16402 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
16403 * gdb.ada/gnat_ada.gin: ... to here.
16404 * configure.in: Use gnat_ada.gin.
16405 * configure: Regenerate.
16406
23b451cf
AC
164072004-07-20 Andrew Cagney <cagney@gnu.org>
16408
16409 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
16410 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
16411 XFAILs. Clean up test messages and comments. Check backtraces.
16412 Delete re-sync code.
16413
ab618a02
MC
164142004-07-19 Michael Chastain <mec.gnu@mindspring.com>
16415
16416 Fix PR cli/740.
16417 * gdb.base/annota1.exp: Honor gdb,nosignals.
16418 * gdb.base/annota3.exp: Likewise.
16419
46dad340
MC
164202004-07-19 Michael Chastain <mec.gnu@mindspring.com>
16421
16422 * lib/java.exp: Update copyright notice.
16423
756d8c70
AC
164242004-07-19 Andrew Cagney <cagney@gnu.org>
16425
16426 * gdb.base/selftest.exp: Copy file from here ...
16427 * gdb.gdb/selftest.exp: ... to here.
16428
586027e6
AC
164292004-07-16 Andrew Cagney <cagney@redhat.com>
16430
16431 * lib/insight-support.exp: Delete file.
16432 * lib/java.exp (java_init): Fix copyright.
16433
029d2200
AC
164342004-07-16 Andrew Cagney <cagney@gnu.org>
16435
16436 * gdb.base/restore.c: Append "prologue" to comments marking the a
16437 function's prologue.
16438 * gdb.base/restore.exp: Update copyright, re-indent.
16439 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
16440 callerN" prefix where needed. Update patterns that match a
16441 function's prologue.
16442
653b62c5
MC
164432004-07-16 Michael Chastain <mec.gnu@mindspring.com>
16444
16445 * gdb.base/restore.c: Add copyright notice.
16446
f7d690e5
AC
164472004-07-16 Andrew Cagney <cagney@gnu.org>
16448
16449 * gdb.base/logical.exp: Update copyright.
16450 (evaluate): New procedure. Use to re-implement tests using
16451 several tables.
16452
d629a7cb
MH
164532004-07-14 Martin Hunt <hunt@redhat.com>
16454
16455 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
16456 which fixes some problems where init.tcl was not found.
16457
9c7bb332
AC
164582004-07-13 Andrew Cagney <cagney@gnu.org>
16459
6bf46641
AC
16460 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
16461 (check_sizeof, check_valueof): Do not include the output in the
16462 test name. Use gdb_test.
16463 (get_valueof): Use gdb_test_multiple.
16464
c4ffd4c0
AC
16465 * gdb.base/step-test.exp: Update copyright. Use
16466 gdb_test_multiple. Ensure that test names do not include
16467 architecture dependent output.
16468
ab89363a
AC
16469 * gdb.gdb/observer.exp: Update copyright.
16470 (setup_test): Use gdb_test_multiple.
16471 (attach_first_observer, attach_second_observer)
16472 (attach_third_observer, detach_first_observer)
16473 (detach_second_observer, detach_third_observer)
16474 (reset_counters, check_counters): Make $message a prefix.
16475 (test_normal_stop_notifications): Add "args" parameter - a list of
16476 init functions to be called. Make $message a prefix,
16477 (test_observer_normal_stop): Change the message prefixes so that
16478 they are unique, pass the attach / detach procedures to
16479 test_normal_stop_notifications.
16480
ec58997a
AC
16481 * gdb.base/signull.exp (test_segv): Prefix all tests with
16482 "${name}". Clean up test messages.
16483
b475183b
AC
16484 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
16485
9c7bb332
AC
16486 * gdb.base/ena-dis-br.exp: Update copyright.
16487 (break_at): New function. Replace send_gdb with gdb_test,
16488 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
16489 ignore count, not stopped at bpt", with KFAIL.
16490
2dd95497
CV
164912004-07-13 Corinna Vinschen <vinschen@redhat.com>
16492
16493 * gdb.base/attach.exp: Remove cleanupfile handling.
16494
419e626b
AC
164952004-07-12 Andrew Cagney <cagney@gnu.org>
16496
16497 * gdb.base/annota1.exp: Cleanup corefile test name.
16498 * gdb.base/annota3.exp: Ditto.
16499
8b1b3228
AC
165002004-07-12 Andrew Cagney <cagney@gnu.org>
16501
78650829
AC
16502 * gdb.base/signals.exp: Clean up copyright, re-indent.
16503
8b1b3228
AC
16504 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
16505 gdb_test and gdb_test_multiple.
16506
935c2760
JJ
165072004-07-08 Jeff Johnston <jjohnstn@redhat.com>
16508
16509 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 16510 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
16511 provide line number info for first statement in main.
16512
1544280f
AC
165132004-07-08 Andrew Cagney <cagney@gnu.org>
16514
1279f4ff
AC
16515 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
16516
1544280f
AC
16517 * gdb.base/sigbpt.exp: Make the common part of each test name a
16518 prefix instead of suffix.
16519
bcc82369
BR
165202004-07-07 Bob Rossi <bob_rossi@cox.net>
16521
16522 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
16523 test from test_tbreak_creation_and_listing to
16524 test_file_list_exec_source_file
16525 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
16526 Changed name of test from test_tbreak_creation_and_listing to
16527 test_file_list_exec_source_file
16528
23f4b0aa
JJ
165292004-07-07 Jeff Johnston <jjohnstn@redhat.com>
16530
16531 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
16532 the jmisc() constructor instead of <init>.
16533 * gdb.java/jmisc1.exp: Ditto.
16534
56401cd5
AC
165352004-07-07 Andrew Cagney <cagney@gnu.org>
16536
16537 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
16538 corrupting the PC.
16539
44ae2f6a
MC
165402004-07-06 Michael Chastain <mec.gnu@mindspring.com>
16541
16542 * gdb.cp/templates.exp: Accept whitespace change in demangler
16543 output.
16544
45a83408
AC
165452004-07-06 Andrew Cagney <cagney@gnu.org>
16546
16547 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
16548
d205ad70
MC
165492004-07-02 Michael Chastain <mec.gnu@mindspring.com>
16550
16551 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
16552 * lib/compiler.cc: Likewise.
16553
06ea1a61
MC
165542004-06-30 Michael Chastain <mec.gnu@mindspring.com>
16555
16556 * lib/compiler.cc: Work around string preprocessing problem
16557 with old hp c++ compiler.
16558 * lib/compiler.c: Likewise.
16559
daab1251
CV
165602004-06-29 Corinna Vinschen <vinschen@redhat.com>
16561
16562 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
16563 directives to conditionalize symbol prefixing.
16564 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
16565 additional_flags handling. Add underscore prefix for Cygwin.
16566 * gdb.arch/i386-unwind.c: Use preprocessor directives to
16567 conditionalize symbol prefixing.
16568 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
16569 additional_flags handling. Add underscore prefix for Cygwin.
16570
cc984116
CV
165712004-06-29 Corinna Vinschen <vinschen@redhat.com>
16572
16573 * gdb.base/bigcore.exp: Skip test on Cygwin.
16574
c279b077
MC
165752004-06-28 Michael Chastain <mec.gnu@mindspring.com>
16576
16577 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
16578 formats for "info register". Use gdb_test_multiple. Fix
16579 the "invalid register" test.
16580
0e915747
CV
165812004-06-28 Corinna Vinschen <vinschen@redhat.com>
16582
16583 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
16584 PID for Cygwin. Add Cygwin specific strings to check for in some
16585 tests.
16586 (do_attach_tests): Add a test for user interaction when attaching
16587 to a process with no matching symbol table already loaded.
16588
11422c86
AC
165892004-06-26 Andrew Cagney <cagney@gnu.org>
16590
16591 Test PR java/1567 and PR java/1565.
16592 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
16593 * gdb.java/jmisc2.exp: Delete file.
16594
cefbce26
MC
165952004-06-26 Michael Chastain <mec.gnu@mindspring.com>
16596
16597 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
16598
e19f872c
CV
165992004-06-25 Corinna Vinschen <vinschen@redhat.com>
16600
16601 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
16602 attach process.
16603
d931ba3b
MC
166042004-06-23 Michael Chastain <mec.gnu@mindspring.com>
16605
16606 * gdb.cp/pr-1553.exp: Remove.
16607
aef68c48
MC
166082004-06-22 Michael Chastain <mec.gnu@mindspring.com>
16609
16610 * gdb.cp/pr-1553.cc: Remove.
16611 * gdb.cp/pr-1553.exp: Disable this test.
16612
8d5df71a
JB
166132004-06-20 Jim Blandy <jimb@redhat.com>
16614
a9c64011 16615 Fix PR testsuite/1680.
8d5df71a
JB
16616 * gdb.arch/i386-sse.exp: Properly quote curly braces in
16617 regular expressions.
16618
4ac6f39d
MC
166192004-06-19 Michael Chastain <mec.gnu@mindspring.com>
16620
16621 Fix PR testsuite/1679.
16622 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
16623 Issue an UNSUPPORTED result instead.
16624
1b413552
JB
166252004-06-18 Jim Blandy <jimb@redhat.com>
16626
16627 * gdb.base/charset.exp: Only send a control-C if we see a new
16628 prompt and incomplete command.
16629
6daa6ebd
MC
166302004-06-18 Michael Chastain <mec.gnu@mindspring.com>
16631
16632 * gdb.cp/pr-574.cc: Add copyright notice.
16633
51fa4ae0
JB
166342004-06-17 Jim Blandy <jimb@redhat.com>
16635
16636 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
16637 cases where the regexp has no groups; this grabs random text from
16638 the previous test suite, whatever that was.
16639
8fea26c5
MC
166402004-06-17 Michael Chastain <mec.gnu@mindspring.com>
16641
16642 * gdb.cp/printmethod.cc: Add copyright notice.
16643
1e3aeb41
MC
166442004-06-16 Michael Chastain <mec.gnu@mindspring.com>
16645
16646 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
16647
9d9030bc
AC
166482004-06-16 Andrew Cagney <cagney@gnu.org>
16649
16650 * gdb.base/signull.c: Update copyright. Include <string.h>.
16651 (bowler): Replace data_pointer with data_read
16652 and data_write cases. Add code_descriptor case.
16653 (zero, desc): New array and pointer.
16654 (data, code): Change to simple pointers.
16655 * gdb.base/signull.exp: Fix probe pattern matching a function
16656 descriptor SIGSEGV. Replace data_pointer with data_read and
16657 data_write tests.
16658
acd4ad44
AC
166592004-06-16 Andrew Cagney <cagney@gnu.org>
16660
16661 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
16662
08fd625c
MC
166632004-06-15 Michael Chastain <mec.gnu@mindspring.com>
16664
16665 * gdb.base/long_long.c: Add copyright notice.
16666
1903502c
MC
166672004-06-15 Michael Chastain <mec.gnu@mindspring.com>
16668
16669 * gdb.base/long_long.exp: Remove reference to
16670 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
16671 to gdb_breakpoint and gdb_continue_to_breakpoint.
16672
83313cb1
JB
166732004-06-14 Jim Blandy <jimb@redhat.com>
16674
16675 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
16676 endian case.
16677
1bf404ef
AC
166782004-06-14 Andrew Cagney <cagney@gnu.org>
16679
16680 * gdb.base/gcore.exp (capture_command_output): Delete the always
16681 passing tests containing inferior values.
16682 * gdb.base/ending-run.exp: Do not include the breakpoint address
16683 in the test message. Update copyright.
16684 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
16685 size in the test name, use gdb_test_multiple. Update copyright.
16686
ef220b33
MC
166872004-06-14 Michael Chastain <mec.gnu@mindspring.com>
16688
16689 * gdb.cp/ref-types.cc: Add copyright notice.
16690
4f70a4c9
MC
166912004-06-14 Michael Chastain <mec.gnu@mindspring.com>
16692
16693 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
16694 hp_aCC_compiler.
16695 * lib/compiler.cc: Likewise.
16696 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
16697 'set' commands. Log diagnostics for other lines. Set
16698 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
16699
335928ac
MC
167002004-06-13 Michael Chastain <mec.gnu@mindspring.com>
16701
16702 * gdb.cp/try_catch.cc: Add copyright notice.
16703
2efb12e8
MC
167042004-06-12 Michael Chastain <mec.gnu@mindspring.com>
16705
16706 * gdb.cp/userdef.cc: Add copyright notice.
16707
0bbed51a
MC
167082004-06-11 Michael Chastain <mec.gnu@mindspring.com>
16709
16710 * gdb.cp/virtfunc.cc: Add copyright notice.
16711
e12a46c9
RC
167122004-06-11 Randolph Chung <tausq@debian.org>
16713
16714 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
16715 problem.
16716
338e05af
AC
167172004-06-10 Andrew Cagney <cagney@gnu.org>
16718
16719 * lib/compiler.cc, lib/compiler.c: Append either
16720 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
16721 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
16722 instead of gcc-3-3.
16723
dc3f10cb
AC
167242004-06-09 Andrew Cagney <cagney@gnu.org>
16725
b4d946af
AC
16726 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
16727 gdb/1455, bug is specific to "long long" and "double".
a9c64011 16728
dc3f10cb
AC
16729 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
16730 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
16731 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
16732 fixed.
16733
b5c0bfa2
AC
167342004-06-09 Andrew Cagney <cagney@gnu.org>
16735
16736 * gdb.base/structs.exp (test_struct_returns): Replace
16737 "return_value_unknown" and "finish_value_unknown" by
16738 "return_value_known" and "finish_value_known". Instead of
16739 "return_value_unknown" iff "finish_value_unknown", check
16740 "return_value_known" implies "finish_value_known".
16741
caeb605f
MH
167422004-06-08 Martin Hunt <hunt@redhat.com>
16743
16744 * gdb.base/float.exp: Add pattern for mips targets.
16745
c892bb64
RC
167462004-06-08 Randolph Chung <tausq@debian.org>
16747
16748 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
16749 message for unknown architectures more clear.
16750
48306d3e
JB
167512004-06-08 Joel Brobecker <brobecker@gnat.com>
16752
16753 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
16754 start the execution of the program.
16755
83ecb59f
JB
167562004-06-07 Jim Blandy <jimb@redhat.com>
16757
16758 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
16759 * gdb.arch/i386-cpuid.h: New helper file.
16760
55264cb4
RC
167612004-06-07 Randolph Chung <tausq@debian.org>
16762
16763 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
16764 has started.
16765
23cadb28
RM
167662004-06-04 Roland McGrath <roland@redhat.com>
16767
16768 Fix PR gdb/1647.
16769 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
16770 differently to be robust to output buffering differences.
16771
51d01eda
MC
167722004-06-04 Michael Chastain <mec.gnu@mindspring.com>
16773
16774 * gdb.threads/pthreads.exp: Update copyright years.
16775 (check_control_c): Change asynchronous 'after' to synchronous.
16776
f4fc3b93
RM
167772004-06-04 Roland McGrath <roland@redhat.com>
16778
16779 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
16780 next gdb prompt.
16781
4013522b
MC
167822004-06-02 Michael Chastain <mec.gnu@mindspring.com>
16783
16784 Fix PR gdb/1636.
16785 * gdb.threads/manythreads.exp: Change asynchronous 'after'
16786 calls to synchronous.
16787
7a8f1e6b
JB
167882004-05-26 Jim Blandy <jimb@redhat.com>
16789
16790 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
16791
81bb3443
RC
167922004-05-24 Randolph Chung <tausq@debian.org>
16793
16794 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
16795 * gdb.asm/pa.inc: New file.
16796
8f5a3103
MK
167972004-05-22 Mark Kettenis <kettenis@gnu.org>
16798
16799 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
16800
734b8fe8 168012004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 16802 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
16803
16804 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
16805 GDB prompt.
16806
725603e1
UW
168072004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16808
f4fc3b93 16809 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
16810 setjmp/longjmp. Use sigaction instead of signal.
16811
8b923272 168122004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 16813 Michael Snyder <msnyder@redhat.com>
8b923272
JB
16814
16815 * gdb.threads/pthread_cond_wait.c: New file.
16816 * gdb.threads/pthread_cond_wait.exp: New testcase.
16817
8bfabb04
AC
168182004-05-13 Andrew Cagney <cagney@redhat.com>
16819
16820 * gdb.base/signull.exp, gdb.base/signull.c: New files.
16821 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
16822
42edda50
AC
168232004-05-11 Andrew Cagney <cagney@redhat.com>
16824
16825 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
16826 fixed but revealed gdb/1639.
16827
d303a6c7
AC
168282004-05-10 Andrew Cagney <cagney@redhat.com>
16829
16830 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
16831 func1" and "next to 2nd alarm", kernel bug avoided.
16832
bf08c2a1
DJ
168332004-05-10 Daniel Jacobowitz <dan@debian.org>
16834
16835 PR external/1568
16836 * gdb.base/bigcore.exp: Check the size of the dumped core file.
16837 XFAIL if it is smaller than bytes_allocated.
16838 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
16839 (main): Make chunks_allocated unsigned. Correct comment.
16840
c0586a34
JB
168412004-05-07 Joel Brobecker <brobecker@gnat.com>
16842
16843 * gdb.arch/powerpc-aix-prologue.c: New file.
16844 * gdb.arch/powerpc-aix-prologue.exp: New file.
16845
f2785d12
JB
168462004-05-07 Jim Blandy <jimb@redhat.com>
16847
16848 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
16849 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
16850
bd7f6e30
JB
168512004-05-06 Joel Brobecker <brobecker@gnat.com>
16852
16853 * gdb.base/sep.exp: No longer setup_kfail when the program was
16854 built with dwarf2.
16855
0a5e7efe
JI
168562004-05-05 Jim Ingham <jingham@apple.com>
16857
16858 * gdb.base/pending.exp: Make sure pending breakpoints
16859 preserve the ignore count.
f4fc3b93 16860
a8958849
MK
168612004-04-27 Jerome Guitton <guitton@gnat.com>
16862
16863 * i386-prologue.exp: Add testcase for jump instruction as first
16864 instruction of the real code.
16865 * i386-prologue.c (jump_at_beginning): New function.
16866
7e103f5b
MK
168672004-04-28 Mark Kettenis <kettenis@gnu.org>
16868
16869 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
16870 x86_64-*-*.
16871
5d38b224
MK
168722004-04-28 Mark Kettenis <kettenis@gnu.org>
16873
16874 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
16875 i*86-*-*.
16876
0ef32fd9
MK
168772004-04-25 Mark Kettenis <kettenis@gnu.org>
16878
16879 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
16880 expression that checks the return type.
16881
71d7dd7c
AC
168822004-04-23 Andrew Cagney <cagney@redhat.com>
16883
16884 * gdb.base/call-sc.exp: New test of scalar call/return values.
16885 * gdb.base/call-sc.c: Ditto.
16886
1e9f977e
JJ
168872004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16888
16889 * gdb.threads/manythreads.c: Reduce thread stack size.
16890
899d9e3a
JJ
168912004-04-23 Jeff Johnston <jjohnstn@redhat.com>
16892
16893 * gdb.threads/manythreads.c: Add copyright notice.
16894
61bcae62
AC
168952004-04-23 Andrew Cagney <cagney@redhat.com>
16896
16897 * gdb.base/siginfo.exp: Better handle step out of signal.
16898 * gdb.base/sigstep.exp: Ditto.
16899
7339a42e 169002004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 16901 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
16902
16903 * gdb.threads/manythreads.c: New testcase.
16904 * gdb.threads/manythreads.exp: Ditto.
16905
5c98409b
JB
169062004-04-22 Jim Blandy <jimb@redhat.com>
16907
16908 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
16909 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
16910
3b611f1a
MC
169112004-04-21 Michael Chastain <mec.gnu@mindspring.com>
16912
16913 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
16914
f0fd9238
AC
169152004-04-21 Andrew Cagney <cagney@redhat.com>
16916
16917 * gdb.base/sigstep.c: New file.
16918 * gdb.base/sigstep.exp: New file.
16919
90990674
JB
169202004-04-16 Joel Brobecker <brobecker@gnat.com>
16921
16922 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
16923 call to observer_notify_normal_stop.
16924
78cef34b
AC
169252004-04-15 Andrew Cagney <cagney@redhat.com>
16926
16927 * gdb.base/siginfo.c: New file.
16928 * gdb.base/siginfo.exp: New file.
16929
d2343407
JB
169302004-04-12 J. Brobecker <brobecker@gnat.com>
16931
16932 * gdb.base/sep.exp: Fix typo in comment.
16933
a2dba3c8
JB
169342004-04-12 J. Brobecker <brobecker@gnat.com>
16935
16936 * gdb.base/sep.c: New file.
16937 * gdb.base/sep-proc.c: New file.
16938 * gdb.base/sep.exp: New testcase.
16939
15f7b60e
MK
169402004-04-09 Mark Kettenis <kettenis@gnu.org>
16941
16942 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
16943 support.
16944
44f4de1a
AC
169452004-04-05 Andrew Cagney <cagney@redhat.com>
16946
16947 * gdb.base/sigaltstack.c: New file.
16948 * gdb.base/sigaltstack.exp: New file.
16949
ef04f396
JB
169502004-04-04 Joel Brobecker <brobecker@gnat.com>
16951
16952 * gdb.base/foll-fork.exp: Update the expected output for
16953 "help set follow-fork-mode", to match a change that was made
16954 to the help of this variable on 2004-01-13.
16955
d40d2c92
JB
169562004-04-01 Joel Brobecker <brobecker@gnat.com>
16957
16958 * lib/ada.exp: Add copyright notice.
16959 * bar.ads: Likewise.
16960 * bar.adb: Likewise.
16961 * null_record.adb: Likewise.
16962 * null_record.exp: Likewise.
16963 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
16964
f86ef5a3
JB
169652004-04-01 Joel Brobecker <brobecker@gnat.com>
16966
16967 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
16968 * configure: Regenerate.
16969
414e70e3
JB
169702004-04-01 Joel Brobecker <brobecker@gnat.com>
16971
16972 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
16973 to build the application. Remove the message printed when in
16974 verbose mode, redundant with the UNSUPPORTED message above.
16975
f0aaee49
JB
169762004-03-31 Joel Brobecker <brobecker@gnat.com>
16977
16978 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
16979 * gdb.ada (null_record.exp): New testcase.
16980
ac81cb54
JB
169812004-03-31 Joel Brobecker <brobecker@gnat.com>
16982
16983 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
16984
854af2f7
JB
169852004-03-31 Joel Brobecker <brobecker@gnat.com>
16986
16987 * gdb.ada: New subdirectory.
16988 * gdb.ada/Makefile.in: New file.
16989 * gdb.ada/gnat_ada.gpr.in: New file.
16990
034cb681
JB
169912004-03-31 Joel Brobecker <brobecker@gnat.com>
16992
16993 * lib/ada.exp: New file.
16994
78a1a894
DJ
169952004-03-24 Daniel Jacobowitz <drow@mvista.com>
16996
16997 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
16998 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
16999
4b2b3b3e
AC
170002004-03-22 Andrew Cagney <cagney@redhat.com>
17001
17002 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
17003 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
17004 Problem identified by Ulrich Weigand.
17005
23c73aa3
DC
170062004-03-17 David Carlton <carlton@kealia.com>
17007
17008 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
17009 PR c++/826.
17010
d63a86f8
RM
170112004-03-16 Roland McGrath <roland@redhat.com>
17012
17013 * gdb.base/auxv.exp: New file.
17014 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
17015
0e02aa50
DC
170162004-03-12 David Carlton <carlton@kealia.com>
17017
17018 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
17019 * gdb.cp/pr-1553.cc: Ditto.
17020 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
17021 pass branch.
17022
c20b71be
MC
170232004-03-12 Michael Chastain <mec.gnu@mindspring.com>
17024
17025 * gdb.cp/templates.exp: Accept more template types.
17026
c7414a01
MC
170272004-03-09 Michael Chastain <mec.gnu@mindspring.com>
17028
17029 From Corinna Vinschen with modifications.
17030 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
17031 local variable obj_with_enum.
17032 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
17033 results with obj_with_enum.
17034
ed69573c
MC
170352004-03-09 Michael Chastain <mec.gnu@mindspring.com>
17036
17037 * gdb.cp/classes.cc: New file, copied from misc.cc.
17038 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
17039
28301461
MC
170402004-03-09 Michael Chastain <mec.gnu@mindspring.com>
17041
17042 * gdb.cp/misc.cc: Add copyright notice.
17043
1198ecbe
DC
170442004-03-05 David Carlton <carlton@kealia.com>
17045
17046 * gdb.cp/rtti.exp: Add 'print *obj3' test.
17047 * gdb.cp/rtti.h: Update copyright.
17048 (namespace n2::n3): New.
17049 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
17050 (n2::n3::func3): New.
17051 (main): Call n2::n3::func3.
17052 * gdb.cp/rtti2.cc: Update copyright.
17053 (n2::create3): New.
17054
9e08c470
MK
170552004-03-04 Mark Kettenis <kettenis@gnu.org>
17056
17057 * gdb.asm/openbsd.inc: Fix typo.
17058
4bebc3aa
FF
170592004-03-03 Fred Fish <fnf@redhat.com>
17060
17061 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
17062 "val" instead of unused "size". Update copyright year.
17063
6ea9fb37
DJ
170642004-02-29 Daniel Jacobowitz <drow@mvista.com>
17065
17066 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
17067 to use unsigned char.
17068 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
17069 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
17070
23b23974
DJ
170712004-02-29 Daniel Jacobowitz <drow@mvista.com>
17072
17073 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
17074 line of output.
17075
7574fd53
DJ
170762004-02-28 Daniel Jacobowitz <drow@mvista.com>
17077
17078 * gdb.base/relocate.c (dummy): Initialize.
17079
a195357f
DJ
170802004-02-28 Daniel Jacobowitz <drow@mvista.com>
17081
17082 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
17083 a breakpoint at exit.
17084
72fd54a9
FF
170852004-02-27 Fred Fish <fnf@redhat.com>
17086
17087 * gdb.base/chng-syms.exp: Add expect condition to match failing
17088 case that isn't a timeout.
17089
b9d23137
AC
170902004-02-27 Andrew Cagney <cagney@redhat.com>
17091
17092 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
17093 support.
17094
15d208f6 170952004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 17096
15d208f6
FF
17097 * gdb.arch/gdb1431.c: Remove.
17098 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
17099 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
17100 of "until" incorrectly.
17101
98f9cd2d
JB
171022004-02-26 J. Brobecker <brobecker@gnat.com>
17103
17104 * gdb.cp/class2.cc (empty): New class.
17105 (refer): New function.
17106 (main): Declare an object of type empty and use it.
17107 * gdb.cp/class2.exp: Print the value of an object of type empty.
17108
9b50c11b
JJ
171092004-02-26 Jeff Johnston <jjohnstn@redhat.com>
17110
17111 * gdb.base/langs.exp: Update query string to match the
17112 new nquery format used for pending breakpoints.
17113
0dcd613f
AC
171142004-02-26 Andrew Cagney <cagney@redhat.com>
17115
17116 Fix PR i18n/1570.
17117 * gdb.base/charset.c: Update copyright notice.
17118 (main, init_string): Remove the escape character '\e' tests.
17119 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
17120 * gdb.base/charset.exp (valid_host_charset): Ditto.
17121 * gdb.base/setvar.exp: Ditto.
17122
b8a56647
AC
171232004-02-24 Andrew Cagney <cagney@redhat.com>
17124
90d59e34
AC
17125 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
17126 mmapped data in core file" PASS and FAIL messages consistent.
17127
b8a56647
AC
17128 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
17129 setting a breakpoint. Work around PR java/1565.
17130
9f27c604
JJ
171312004-02-23 Jeff Johnston <jjohnstn@redhat.com>
17132
17133 * lib/gdb.exp (gdb_breakpoint): Update query string to match
17134 new nquery format.
17135 * gdb.base/pending.exp: Ditto.
17136
3224a706
MK
171372004-02-22 Mark Kettenis <kettenis@gnu.org>
17138
17139 * configure.in: Run stabs tests on *BSD.
17140 * configure: Regenerated.
17141
41e0a9ca
MK
171422004-02-21 Mark Kettenis <kettenis@gnu.org>
17143
17144 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
17145
1e1b3428
FF
171462004-02-20 Fred Fish <fnf@redhat.com>
17147
17148 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
17149 blank in test for "returns short", for consistency with other
17150 "returns xxx" tests. Update copyright year.
17151
f9a7572a
FF
171522004-02-19 Fred Fish <fnf@redhat.com>
17153
17154 New testcase for PR breakpoint/1558.
17155 * gdb.arch/gdb1558.exp: New file.
17156 * gdb.arch/gdb1558.c: New file.
17157
b2ce2854
EZ
171582004-02-19 Elena Zannoni <ezannoni@redhat.com>
17159
17160 * gdb.base/nodebug.exp: Fix typo.
17161
e7c9ff01
JB
171622004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17163
17164 Committed by Jim Blandy <jimb@redhat.com>.
17165
62f4b920
JB
17166 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
17167
2db536a1
JB
17168 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
17169
e7c9ff01
JB
17170 * gdb.base/float.exp: Support s390*-*-* targets.
17171
f3205b34
AF
171722004-02-17 Adam Fedor <fedor@gnu.org>
17173
17174 * gdb.base/gdb1555.exp: New file.
17175 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
17176
9d62932d
EZ
171772004-02-17 Elena Zannoni <ezannoni@redhat.com>
17178
17179 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
17180
344c9711
FF
171812004-02-16 Fred Fish <fnf@redhat.com>
17182
17183 * gdb.arch/gdb1291.c: Remove
17184 * gdb.arch/gdb1291.s: New test input file.
17185 * gdb.arch/gdb1291.exp: Expand test to check case that should not
17186 fail. Test for correct result, known incorrect result, other
17187 failures and timeouts.
17188
2d822687
AC
171892004-02-16 Andrew Cagney <cagney@redhat.com>
17190
17191 * gdb.base/bigcore.exp: New file.
17192 * gdb.base/bigcore.c: New file.
17193
dac15b66
AC
171942004-02-13 Andrew Cagney <cagney@redhat.com>
17195
17196 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
17197 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
17198 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
17199 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
17200 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
17201 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
17202 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
17203 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
17204 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
17205 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
17206
6bdfc2c4
JJ
172072004-02-11 Jeff Johnston <jjohnstn@redhat.com>
17208
17209 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
17210 executed is an alloc instruction.
17211
87b3ede8
DC
172122004-02-11 David Carlton <carlton@kealia.com>
17213
17214 * gdb.cp/breakpoint.exp: New.
17215 * gdb.cp/breakpoint.cc: New.
17216
6e19e2bf
MC
172172004-02-11 Michael Chastain <mec.gnu@mindspring.com>
17218
17219 Partial fix for PR gdb/1543.
17220 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
17221 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
17222 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
17223 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
17224 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
17225 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
17226 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
17227 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
17228 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
17229 to bug-gdb@prep.ai.mit.edu .
17230 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
17231 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
17232 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
17233 Likewise.
17234
5c5455dc
AC
172352004-02-10 Andrew Cagney <cagney@redhat.com>
17236
17237 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
17238 using gdb_internal_error_resync.
17239
9cf689d7
DJ
172402004-02-09 Daniel Jacobowitz <drow@mvista.com>
17241
17242 * gdb.threads/thread-specific.exp: Stop early if no threads are
17243 found.
17244
d2dc51db
MC
172452004-02-09 Michael Chastain <mec.gnu@mindspring.com>
17246
17247 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
17248
14b1a056
DJ
172492004-02-08 Daniel Jacobowitz <drow@mvista.com>
17250
17251 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
17252 breakpoints.
17253
83f66e8f
DJ
172542004-02-07 Daniel Jacobowitz <drow@mvista.com>
17255
17256 * config/sim.exp (gdb_load): Handle $arg == "".
17257 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
17258 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
17259
30fc0091
EZ
172602004-02-07 Elena Zannoni <ezannoni@redhat.com>
17261
a9c64011
AS
17262 * gdb.base/maint.exp: Update test to reflect
17263 obstack changes.
30fc0091 17264
4d806929
JJ
172652004-02-04 Jeff Johnston <jjohnstn@redhat.com>
17266
17267 * gdb.base/pendshr.c (pendfunc): New function that calls
17268 pendfunc1.
17269 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
17270
7bfdd688
FF
172712004-02-04 Fred Fish <fnf@redhat.com>
17272
17273 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
17274 function symbols and update copyright years.
17275 * gdb.arch/gdb1291.c: Ditto.
17276
aaa08ee4
MC
172772004-02-03 Michael Chastain <mec.gnu@mindspring.com>
17278
17279 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
17280
dbad7755
MC
172812004-02-03 Michael Chastain <mec.gnu@mindspring.com>
17282
17283 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
17284
ec4646ef
MC
172852004-02-03 Michael Chastain <mec.gnu@mindspring.com>
17286
17287 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
17288
1b802196
FF
172892004-02-02 Fred Fish <fnf@redhat.com>
17290
17291 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
17292 remote targets. Update copyright years.
17293
18fe2033
JJ
172942004-02-02 Jeff Johnston <jjohnstn@redhat.com>
17295
17296 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
17297 support.
17298 * gdb.base/langs.exp: Fix test which attempts to create
17299 breakpoint on non-existent function to handle new pending
17300 support.
17301 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
17302 a breakpoint.
17303 * gdb.base/pending.exp: New test.
17304 * gdb.base/pending.c: New file.
17305 * gdb.base/pendshr.c: Ditto.
17306
8d577d32
DC
173072004-02-02 David Carlton <carlton@kealia.com>
17308
17309 * gdb.cp/overload.exp: Add overloadNamespace tests.
17310 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
17311 (overloadNamespace, XXX): New.
17312 (main): Call XXX::marker2.
17313
3ad13771
FF
173142004-02-01 Fred Fish <fnf@redhat.com>
17315
17316 * gdb.base/dump.exp: Use runto_main instead of "runto main".
17317 * gdb.base/finish.exp: Ditto.
17318 * gdb.base/gcore.exp: Ditto.
17319 * gdb.base/huge.exp: Ditto.
17320 * gdb.base/info-proc.exp: Ditto.
17321 * gdb.base/return2.exp: Ditto.
17322 * gdb.threads/gcore-thread.exp: Ditto.
17323
44c75849
DJ
173242004-02-01 Daniel Jacobowitz <drow@mvista.com>
17325
17326 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
17327
005bc093
MK
173282004-02-01 Mark Kettenis <kettenis@gnu.org>
17329
17330 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
17331 that opening the file succeeds on OpenBSD.
17332
c47cebdb
DJ
173332004-02-01 Daniel Jacobowitz <drow@mvista.com>
17334
17335 * gdb.threads/thread-specific.c: New file.
17336 * gdb.threads/threads-specific.exp: New test script.
17337 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
17338 to expect_out.
17339
5a01311c
MK
173402004-02-01 Mark Kettenis <kettenis@gnu.org>
17341
17342 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
17343 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
17344 only on the "print_small_structs from print_long_arg_list" test.
17345
ce22a4f1
DJ
173462004-02-01 Daniel Jacobowitz <drow@mvista.com>
17347
17348 * gdb.base/completion.exp: Kill a stray backslash.
17349
17350 From Jim Ingham <jingham@apple.com>:
17351 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
17352 agrees with the result from sending a tab.
17353
abbab9d3
DJ
173542004-01-31 Daniel Jacobowitz <drow@mvista.com>
17355
17356 * gdb.base/chng-syms.exp: Remove stray newline.
17357
53904d1e
MK
173582004-01-31 Mark Kettenis <kettenis@gnu.org>
17359
17360 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
17361 *-*-openbsd*.
17362 * gdb.asm/openbsd.inc: New file.
17363
3a4b3aac
MK
173642004-01-30 Mark Kettenis <kettenis@gnu.org>
17365
17366 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
17367 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
17368 *-*solaris2*. Remove commented out default settings for
17369 asm-flags. Replace gdb_compile with target_link.
17370
ebac27b4
MC
173712004-01-29 Michael Chastain <mec.gnu@mindspring.com>
17372
17373 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
17374 for all tests. Remove old hp-ux and cygnus xfail cases.
17375
d8679d84
PH
173762004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
17377
17378 * gdb.base/chng-syms.exp: New file.
17379 * gdb.base/chng-syms.c: New file.
17380
0a55bc22
MC
173812004-01-24 Michael Chastain <mec.gnu@mindspring.com>
17382
17383 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
17384 Provide arms for current output in all my configurations.
17385
94b8e876
MC
173862004-01-24 Michael Chastain <mec.gnu@mindspring.com>
17387
17388 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
17389 * lib/compiler.cc: Likewise.
17390 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
17391 get the right preprocessor. Eval the output directly. Remove
17392 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
17393 hp_f77_compiler and hp_f90_compiler completely.
17394 (gdb_preprocess): Delete.
17395 (get_compiler): Delete.
17396
7cf03d44
MK
173972004-01-24 Mark Kettenis <kettenis@gnu.org>
17398
17399 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
17400 <string.h>.
17401
68b6dce9
NR
174022004-01-24 Nick Roberts <nick@nick.uklinux.net>
17403
17404 * gdb.mi/mi-stack.exp: Update copyright.
17405
b368761e
DC
174062004-01-23 David Carlton <carlton@kealia.com>
17407
17408 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
17409 test for cp_lookup_transparent_type.
17410 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
17411 call them.
17412
f2061b53
DJ
174132004-01-23 Daniel Jacobowitz <drow@mvista.com>
17414
17415 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
17416 after -var-update.
17417
37fc574a
DC
174182004-01-23 David Carlton <carlton@kealia.com>
17419
17420 * gdb.cp/namespace.cc (C::ensureRefs): New.
17421 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
17422
8e94b928
NR
174232004-01-20 Nick Roberts <nick@nick.uklinux.net>
17424
17425 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
17426 case "-stack-list-locals 2".
17427 * gdb.mi/mi-var-child.exp: Test for case
17428 "-var-list-children --all-values NAME".
17429
997b0952
MC
174302004-01-18 Michael Chastain <mec.gnu@mindspring.com>
17431
17432 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
17433
52470da3
MK
174342004-01-18 Mark Kettenis <kettenis@gnu.org>
17435
7049b4b8
MK
17436 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
17437 used with gdb_test_multiple.
17438
52470da3
MK
17439 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
17440 read at address 0. This fixes PR testsuite/1504.
17441
da6012e5
DJ
174422004-01-18 Daniel Jacobowitz <drow@mvista.com>
17443
17444 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
17445 Remove downloading, guessing the host executable, the calls to
17446 gdb_file_cmd and gdb_target_cmd, and "load" support.
17447 (infer_host_exec): New function broken out from gdb_load.
17448 (gdb_load): New wrapper for gdbserver_gdb_load.
17449 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
17450 gdb_target_cmd. Use -target-select.
17451 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
17452 Download binaries to the host. Clear last_mi_remote_file when
17453 we load a new binary.
17454 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
17455 call gdbserver_gdb_load and mi_gdb_target_cmd.
17456
32c70722
MC
174572004-01-17 Michael Chastain <mec.gnu@mindspring.com>
17458
17459 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
17460 type patterns.
17461
b0cecf36
MC
174622004-01-17 Michael Chastain <mec.gnu@mindspring.com>
17463
17464 * gdb.cp/templates.exp: Fix typo in test name of
17465 "print Foo<volatile char*>::foo".
17466
4120d7e6
MC
174672004-01-15 Michael Chastain <mec.gnu@mindspring.com>
17468
17469 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
17470
f679e530
BE
174712004-01-16 Ben Elliston <bje@wasabisystems.com>
17472
17473 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
17474 (clean mostlyclean): Remove empty rm.
17475
091c48f6
MC
174762004-01-15 Michael Chastain <mec.gnu@mindspring.com>
17477
17478 * gdb.base/setvar.exp: Add copyright years.
17479
3e5fc8d2
DC
174802004-01-14 David Carlton <carlton@bactrian.org>
17481
17482 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
17483 PR c++/1511 and update coment.
17484 * gdb.cp/templates.exp: Update patterns to match current output.
17485 If changes involve something other than whitespace, KFAIL
17486 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
17487
63d06c5c
DC
174882004-01-14 David Carlton <carlton@kealia.com>
17489
17490 * gdb.cp/namespace.exp: Add tests involving classes defined within
17491 namespaces.
17492 * gdb.cp/namespace.cc (C::CClass): New.
17493 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
17494
a51dab88
EZ
174952004-01-14 Elena Zannoni <ezannoni@redhat.com>
17496
17497 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
17498 what debug info we have. Print a better message if something goes
17499 wrong while producing the separate debug info file.
17500
a476ccc9
MC
175012004-01-14 Michael Chastain <mec.gnu@mindspring.com>
17502
17503 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
17504
f453692c
MC
175052004-01-14 Michael Chastain <mec.gnu@mindspring.com>
17506
17507 * gdb.base/callfuncs.c: Add copyright notice.
17508
f40063a5
MC
175092004-01-13 Michael Chastain <mec.gnu@mindspring.com>
17510
17511 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
17512 inheritance. PR gdb/1498, PR gcc/13539.
17513
19ac3974
EZ
175142004-01-13 Elena Zannoni <ezannoni@redhat.com>
17515
a9c64011
AS
17516 * gdb.threads/gcore-thread.exp: Prefix name of binary with
17517 test specific name.
17518 * gdb.mi/gdb669.exp: Ditto.
17519 * gdb.mi/mi-pthreads.exp: Ditto.
17520 * gdb.mi/mi1-pthreads.exp: Ditto.
17521 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 17522
56c97c6e
MC
175232004-01-12 Michael Chastain <mec.gnu@mindspring.com>
17524
17525 * gdb.cp/member-ptr.cc: Add copyright notice.
17526
a0644324
MC
175272004-01-12 Michael Chastain <mec.gnu@mindspring.com>
17528
17529 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
17530 some patterns for recent versions of gcc and hpacc. Delete
17531 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
17532 Delete tests that access a NULL pointer-to-member-data. This
17533 script is still disabled for gcc.
17534
32fabe09
EZ
175352004-01-12 Elena Zannoni <ezannoni@redhat.com>
17536
17537 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 17538 escaped correctly.
32fabe09 17539
1f8a6abb
EZ
175402004-01-12 Elena Zannoni <ezannoni@redhat.com>
17541
17542 * gdb.base/sepdebug.exp: New file.
17543 * gdb.base/sepdebug.c: New file.
17544 * lib/gdb.exp (separate_debug_filename): New procedure.
17545 (gdb_gnu_strip_debug): New procedure.
17546
48efe704
AC
175472004-01-12 Andrew Cagney <cagney@redhat.com>
17548
17549 * gdb.mi/ChangeLog: Delete file. Renamed to ...
17550 * gdb.mi/ChangeLog-1999-2003: New file.
17551
a9415475
AC
175522004-01-12 Andrew Cagney <cagney@redhat.com>
17553
17554 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
17555 "Renaming a directory to a non-empty directory returns ENOTEMPTY
17556 or EEXIST", treat EBUSY as an XFAIL.
17557
83b8cf9d
MC
175582004-01-11 Michael Chastain <mec.gnu@mindspring.com>
17559
17560 * gdb.base/scope.exp: Remove obsolete setup_xfail for
17561 hp_cc_compiler.
17562
9939d2a8
MC
175632004-01-10 Michael Chastain <mec.gnu@mindspring.com>
17564
17565 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
17566 decorations.
17567
1ff8cadf
MC
175682004-01-10 Michael Chastain <mec.gnu@mindspring.com>
17569
17570 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
17571 and "(aCC)" decorations. Remove obsolete doco about old
17572 test results.
17573
6fa9022e
MC
175742004-01-09 Michael Chastain <mec.gnu@mindspring.com>
17575
17576 * gdb.cp/exception.exp: Fix typo in doco.
17577
209721fe
MK
175782004-01-09 Mark Kettenis <kettenis@gnu.org>
17579
17580 * gdb.base/gdb1476.exp: Fix typo.
17581
ef11303e
MC
175822004-01-09 Michael Chastain <mec.gnu@mindspring.com>
17583
17584 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
17585 file.
17586
041ab88c
MC
175872004-01-09 Michael Chastain <mec.gnu@mindspring.com>
17588
17589 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
17590 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
17591 Use gdb_compile. Remove restriction on gcc. Add some patterns
17592 for recent version of gdb. Delete second half, which was a copy
17593 of the first half with different build flags. This test is
17594 still disabled because it is still not ready for production.
17595
e36d075a
MC
175962004-01-08 Michael Chastain <mec.gnu@mindspring.com>
17597
17598 * gdb.cp/exception.cc: Add copyright notice.
17599 * gdb.cp/exception.exp: Add a notice that this file is broken
17600 because of line number changes caused by addition of copyright
17601 notice.
17602
42b190ad
MC
176032004-01-08 Michael Chastain <mec.gnu@mindspring.com>
17604
17605 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
17606 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
17607
8f25f06b
MC
176082004-01-08 Michael Chastain <mec.gnu@mindspring.com>
17609
17610 * gdb.cp/classes.exp: Accept gnu abi 2.
17611 * gdb.cp/derivation.exp: Likewise.
17612 * gdb.cp/overload.exp: Likewise.
17613 * gdb.cp/virtfunc.exp: Likewise.
17614
06ded8b8
MC
176152004-01-08 Michael Chastain <mec.gnu@mindspring.com>
17616
17617 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
17618 semicolon after end of function.
17619
77c26ae3
MC
176202004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17621
17622 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
17623 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
17624 boilerplate code for compiling and running the program under
17625 test. Add some string method tests.
17626
20757486
MC
176272004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17628
17629 * gdb.cp/bs15503.cc: Add copyright notice.
17630 * gdb.cp/bs15503.exp: Adjust line number.
17631
0fd3b503
MC
176322004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17633
17634 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
17635 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
17636
10d1bea8
MC
176372004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17638
17639 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
17640 hp_cc_compiler.
17641
2789202a
MC
176422004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17643
17644 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
17645 * gdb.cp/ctti.exp: Use the marker instead of "next".
17646 With gcc, run further before bailing.
17647
b862f14c
MC
176482004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17649
17650 * gdb.cp/cttiadd.cc: Add copyright notice.
17651 * gdb.cp/cttiadd1.cc: Likewise.
17652 * gdb.cp/cttiadd2.cc: Likewise.
17653 * gdb.cp/cttiadd3.cc: Likewise.
17654
96da2469
MC
176552004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17656
17657 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
17658 Use gdb_test, gdb_test_multiple. Use floating-point values that
17659 have exact representations in IEEE-ish formats.
17660
053248ff
MC
176612004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17662
17663 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
17664 compilers. Delete duplicate call to get_compiler_info.
17665 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
17666 * gdb.base/volatile.exp: Likewise.
17667
84acecdd
MK
176682004-01-07 Mark Kettenis <kettenis@gnu.org>
17669
17670 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
17671 memory at address 0.
17672
fe11a27f
MC
176732004-01-07 Michael Chastain <mec.gnu@mindspring.com>
17674
17675 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
17676 to test for hp-ux assembler. Fix copyright years.
17677
60ad077b
AC
176782004-01-07 Andrew Cagney <cagney@redhat.com>
17679
17680 * gdb.base/fileio.c (strerrno): Add "EBUSY".
17681
1c9b8f33
AC
176822004-01-07 Andrew Cagney <cagney@redhat.com>
17683
17684 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
17685 when creating the read-only file. From analysis by Roland McGrath
17686 and Elena Zannoni.
17687
753ccc7a
MC
176882004-01-06 Michael Chastain <mec.gnu@mindspring.com>
17689
17690 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
17691
eca3e36b
MC
176922004-01-06 Michael Chastain <mec.gnu@mindspring.com>
17693
17694 * gdb.base/cvexpr.c: Be type-safe with function pointers and
17695 data pointers.
17696
f8d4bac4
MC
176972004-01-06 Michael Chastain <mec.gnu@mindspring.com>
17698
17699 * gdb.cp/m-static.exp: Compile one source file at a time.
17700 Delete unused call to get_compiler_info.
17701
9b4e0f94
MC
177022004-01-06 Michael Chastain <mec.gnu@mindspring.com>
17703
17704 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
17705 * gdb.base/call-rt-st.exp: Likewise.
17706 * gdb.base/nodebug.exp: Likewise.
17707 * gdb.base/volatile.exp: Likewise.
17708 * gdb.cp/ref-types.exp: Likewise.
17709 * gdb.cp/templates.exp: Likewise.
17710
023c1024
MK
177112004-01-05 Mark Kettenis <kettenis@gnu.org>
17712
17713 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
17714
19703c4a
MC
177152004-01-05 Michael Chastain <mec.gnu@mindspring.com>
17716
17717 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
17718 hppa*-hp-hpux*.
17719
18b67037
MK
177202004-01-04 Mark Kettenis <kettenis@gnu.org>
17721
ba6219c8
MK
17722 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
17723 x86_64-*-*.
17724
18b67037
MK
17725 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
17726 sparc64-*-* and sparc*-solaris2*.
17727
1bfbbb9d
MK
177282004-01-04 Mark Kettenis <kettenis@gnu.org>
17729
17730 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
17731 return ${tests}" test. The ${tests} already mentions the
17732 filename.
17733
06846494
MC
177342004-01-02 Michael Chastain <mec.gnu@mindspring.com>
17735
17736 * gdb.cp/local.exp: Accept gcc abi 2.
17737
3b0cb202
MC
177382004-01-02 Michael Chastain <mec.gnu@mindspring.com>
17739
17740 * gdb.cp/templates.exp: Accept gcc abi 2.
17741
0643ec3f
MC
177422004-01-02 Michael Chastain <mec.gnu@mindspring.com>
17743
17744 * lib/compiler.cc: Remove supports_template_debugging.
17745 * gdb.cp/templates.exp: Do not test supports_template_debugging.
17746
d231d0b1
MC
177472004-01-01 Michael Chastain <mec.gnu@mindspring.com>
17748
17749 * gdb.cp/namespace.exp: Accept gcc abi 2.
17750
44ffb27c
MC
177512004-01-01 Michael Chastain <mec.gnu@mindspring.com>
17752
17753 * gdb.cp/method.exp: Accept gcc abi 2.
17754
184ad485
MC
177552004-01-01 Michael Chastain <mec.gnu@mindspring.com>
17756
17757 * gdb.cp/classes.exp: Generate identical results as old version.
17758 * gdb.cp/derivation.exp: Likewise.
17759 * gdb.cp/overload.exp: Likewise.
17760 * gdb.cp/virtfunc.exp: Likewise.
17761
116f09e7
MC
177622004-01-01 Michael Chastain <mec.gnu@mindspring.com>
17763
17764 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
17765 mysterious bug with sourceware version of expect.
17766
b1379776
MC
177672004-01-01 Michael Chastain <mec.gnu@mindspring.com>
17768
17769 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
17770 current versions of gcc, including gcc abi 2. Remove gratuitous
17771 restart of test program. Use gdb_test_multiple and gdb_test for
17772 all tests. Add patterns to xfail missing "const" in "const char *"
17773 and kfail PR gdb/1155.
17774
6b7a4c0e
MC
177752004-01-01 Michael Chastain <mec.gnu@mindspring.com>
17776
17777 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
17778 current versions of gcc, including gcc abi 2. Remove gratuitous
17779 restart of test program. Use gdb_test_multiple and gdb_test for
17780 all tests. Add patterns to kfail PR gdb/1498.
17781
51615d72
MC
177822003-12-31 Michael Chastain <mec.gnu@mindspring.com>
17783
17784 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
17785 current versions of gcc, including gcc abi 2. Use "breakpoint"
17786 and "continue" instead of restarting the target program. Use
17787 gdb_test_multiple and gdb_test for all tests.
17788
7b79a9d7
MK
177892004-01-01 Mark Kettenis <kettenis@gnu.org>
17790
17791 * gdb.asm/asm-source.exp: Update copyright year. Link statically
17792 for *-*-solaris2*.
17793
1cd3489f
MC
177942003-12-31 Michael Chastain <mec.gnu@mindspring.com>
17795
17796 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
17797 current versions of gcc, including gcc abi 2. Use "breakpoint"
17798 and "continue" instead of restarting the target program several
17799 times. Use gdb_test_multiple and gdb_test for all tests.
17800
850742db
MC
178012003-12-18 Michael Chastain <mec.gnu@mindspring.com>
17802
17803 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
17804 source files.
17805
eb4bbda8
MC
178062003-12-16 Michael Chastain <mec.gnu@mindspring.com>
17807
17808 * gdb.base/environ.exp: Handle compiling test case from multiple
17809 source files.
17810
e42c7771
MC
178112003-12-16 Michael Chastain <mec.gnu@mindspring.com>
17812
17813 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
17814
80e4b428
JB
178152003-12-17 Jim Blandy <jimb@redhat.com>
17816
5f06973a
JB
17817 * gdb.base/freebpcmd.c: Add copyright notice.
17818
80e4b428
JB
17819 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
17820
0ab84fb7
MC
178212003-12-16 Michael Chastain <mec.gnu@mindspring.com>
17822
17823 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
17824
1b3bb3d0
JB
178252003-12-13 Jim Blandy <jimb@redhat.com>
17826
17827 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
17828
3a4c9371
KB
178292003-12-12 Kevin Buettner <kevinb@redhat.com>
17830
17831 * gdb.asm/frv.inc: New file.
17832 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
17833
a1dea79a
FF
178342003-12-09 Fred Fish <fnf@redhat.com>
17835
17836 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
17837 functions to break1.c and leave prototypes behind. Add more
17838 "set breakpoint NN here" comments.
17839 * gdb.base/break1.c: New file.
17840
17841 * gdb.base/break.exp: Handle compiling test case from multiple
17842 source files and change source file references as needed.
17843 * gdb.base/completion.exp: Ditto.
17844 * gdb.base/condbreak.exp: Ditto.
17845 * gdb.base/define.exp: Ditto.
17846 * gdb.base/ena-dis-br.exp: Ditto.
17847 * gdb.base/info-proc.exp: Ditto.
17848 * gdb.base/maint.exp: Ditto.
17849 * gdb.base/until.exp: Ditto.
17850
17851 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
17852 hardcoded line numbers.
17853 * gdb.base/define.exp: Ditto.
17854 * gdb.base/ena-dis-br.exp: Ditto.
17855 * gdb.base/maint.exp: Ditto.
17856 * gdb.base/until.exp: Ditto.
17857
17858 * gdb.base/completion.exp: Use "break1" for completion tests since
17859 "break" is no longer a unique prefix.
17860
5266b69c
AC
178612003-12-06 Andrew Cagney <cagney@redhat.com>
17862
17863 * gdb.base/structs.exp (test_struct_returns): When applicable, set
17864 "return_value_unimplemented". When an unimplemented struct return
17865 architecture, report incorrect values as a KFAIL
17866
374451f0
MC
178672003-12-05 Michael Chastain <mec.gnu@mindspring.com>
17868
17869 * gdb.cp/rtti.exp: Accept new wording of warning from
17870 cp_lookup_rtti_type.
17871
ba9b20a7
MC
178722003-12-05 Michael Chastain <mec.gnu@mindspring.com>
17873
17874 Partial fix for PR testsuite/1456.
17875 * gdb.base/scope.exp (test_at_main): Replace references to
17876 gcc_compiled with calls to test_compiler_info.
17877 (test_at_foo): Likewise.
17878 (test_at_bar): Likewise.
17879
b74b6d0b
MC
178802003-12-04 Michael Chastain <mec.gnu@mindspring.com>
17881
17882 Partial fix for PR testsuite/1456.
17883 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
17884 to test_compiler_info.
17885
ccfa3402
MC
178862003-12-03 Michael Chastain <mec.gnu@mindspring.com>
17887
17888 * gdb.base/so-impl-ld.exp: Update copyright notice.
17889
f6246aba
MC
178902003-12-02 Michael Chastain <mec.gnu@mindspring.com>
17891
17892 Partial fix for PR testsuite/1456.
17893 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
17894 to test_compiler_info.
17895
13ae734a
MC
178962003-11-28 Michael Chastain <mec.gnu@mindspring.com>
17897
17898 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
17899 from current versions of gdb. Clean up regular expressions.
17900 Delete redundant timeout case.
17901
d8e1cdee
MC
179022003-11-28 Michael Chastain <mec.gnu@mindspring.com>
17903
17904 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
17905 from current versions of gdb. Clean up regular expressions.
17906 Delete redundant timeout case.
17907
96457b64
MC
179082003-12-01 Michael Chastain <mec.gnu@mindspring.com>
17909
17910 Partial fix for PR testsuite/1456.
17911 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
17912 gcc_compiled with call to test_compiler_info.
17913
f35309fc
MC
179142003-11-30 Michael Chastain <mec.gnu@mindspring.com>
17915
17916 Partial fix for PR testsuite/1456.
17917 * gdb.base/list.exp (test_list_function): Delete unused declaration
17918 of gcc_compiled.
17919
d7afdf9b
MC
179202003-11-29 Michael Chastain <mec.gnu@mindspring.com>
17921
17922 Partial fix for PR testsuite/1456.
17923 * gdb.base/complex.exp: Replace reference to gcc_compiled with
17924 call to test_compiler_info.
17925
71507b56
MK
179262003-11-29 Mark Kettenis <kettenis@gnu.org>
17927
17928 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
17929 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
17930 it to create the appropriate note.inc.
17931 * gdb.asm/asmsrc1.s: Include "note.inc".
17932 * gdb.asm/netbsd.inc: New file.
17933 * gdb.asm/empty.inc: New file.
17934
f81f93f7
MC
179352003-11-28 Michael Chastain <mec.gnu@mindspring.com>
17936
17937 Partial fix for PR testsuite/1456.
17938 * gdb.base/constvars.exp: Replace references to gcc_compiled with
17939 calls to test_compiler_info.
17940
9a77938e
MC
179412003-11-27 Michael Chastain <mec.gnu@mindspring.com>
17942
17943 Partial fix for PR testsuite/1456.
17944 * gdb.base/volatile.exp: Replace references to gcc_compiled with
17945 calls to test_compiler_info.
17946
e8367dc7
MK
179472003-11-27 Mark Kettenis <kettenis@gnu.org>
17948
17949 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
17950 pattern for the KFAILs.
17951
526c61ee
AF
179522003-11-25 Adam Fedor <fedor@gnu.org>
17953
17954 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
17955 * gdb.objc/objcdecode.m: New file.
17956
28f2d600
AF
179572003-11-25 Adam Fedor <fedor@gnu.org>
17958
17959 * gdb.objc/nondebug.exp: Test for PR objc/1236.
17960 * gdb.objc/nondebug.m: New file.
17961
a3895cee
BE
179622003-11-26 Ben Elliston <bje@wasabisystems.com>
17963
17964 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
17965 NetBSD as it does on FreeBSD. Modelled on a similar change by
17966 Mark Kettenis on 2003-05-30.
17967 (link-flags): Set to "--entry _start" regardless of target.
17968 Special linker flags are to be appended to $link-flags.
17969 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
17970
c9f2c8a3
MC
179712003-11-25 Michael Chastain <mec.gnu@mindspring.com>
17972
17973 * gdb.cp/method.exp: Accept output of new demangler.
17974
15a0587a 179752003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
17976
17977 * gdb/class2.exp: New file.
17978 * gdb/class2.cc: New file.
17979
3c00b570
MC
179802003-11-25 Michael Chastain <mec.gnu@mindspring.com>
17981
17982 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
17983 of new demangler.
17984
7027acc7
MK
179852003-11-23 Mark Kettenis <kettenis@gnu.org>
17986
17987 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
17988 of gdb_test "run".
17989
b0e1598a
MK
179902003-11-23 Mark Kettenis <kettenis@gnu.org>
17991
17992 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
17993 "continue" into "run".
17994
4d9eda44
MC
179952003-11-23 Michael Chastain <mec.gnu@mindspring.com>
17996
17997 Partial fix for PR testsuite/1456.
17998 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
17999 call to test_compiler_info.
18000 * gdb.cp/ctti.exp: Likewise.
18001 * gdb.cp/derivation.exp: Likewise.
18002 * gdb.cp/member-ptr.exp: Likewise.
18003 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
18004 reference to gcc_compiled.
18005
180062003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
18007
18008 Fix PR testsuite/1463.
18009 * gdb.base/structs.exp (start_structs_test): Call
18010 get_debug_format before using the debug format.
18011
d422fe19
AC
180122003-11-22 Andrew Cagney <cagney@redhat.com>
18013
18014 * lib/gdb.exp (gdb_test_multiple): Add simple example.
18015 * gdb.base/structs.exp: Use gdb_test_multiple.
18016
039cf96d
AC
180172003-11-20 Andrew Cagney <cagney@redhat.com>
18018
6882279b
AC
18019 * gdb.base/structs.exp: Handle and recover from internal errors.
18020 Replace "foo${n}" with "foo<n>" in test messages.
18021
e53890ae
AC
18022 * gdb.base/structs.exp: Update copyright. Rewrite.
18023 * gdb.base/structs.c: Update copyright. Rewrite.
18024
2b211c59
AC
18025 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
18026 resync count exceeded.
d63a86f8 18027
039cf96d
AC
18028 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
18029 from the internal error.
18030 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
18031 Original from Jim Blandy.
18032 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 18033
eac98b22
AC
180342003-11-19 Andrew Cagney <cagney@redhat.com>
18035
18036 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
18037 KFAIL.
18038
67455b2a
MK
180392003-11-17 Mark Kettenis <kettenis@gnu.org>
18040
18041 New testcase for PR backtrace/1435.
18042 * gdb.arch/i386-unwind.exp: New file.
18043 * gdb.arch/i386-unwind.c: New file.
18044
853d6e5b
AC
180452003-11-17 Andrew Cagney <cagney@redhat.com>
18046
18047 * lib/gdb.exp (compiler_info): New global.
18048 (test_compiler_info): New function.
18049 (get_compiler_info): Set compiler_info.
18050 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
18051 "compiler_info" to gcc-<major>-<minor>.
18052
38cf6e11
MC
180532003-11-15 Michael Chastain <mec.gnu@mindspring.com>
18054
18055 * gdb.trace/configure: Remove.
18056
a50d3602
EZ
180572003-11-13 Elena Zannoni <ezannoni@redhat.com>
18058
18059 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 18060 breakpoints.
a50d3602
EZ
18061 * gdb.base/break.exp: Remove all references to explicit line
18062 numbers.
18063
d9407aaa
NC
180642003-11-11 Nick Clifton <nickc@redhat.com>
18065
18066 * gdb.base/shreloc.exp: Do not run for targets which do not
18067 support shared objects.
18068
db488fc1
CV
180692003-11-10 Corinna Vinschen <vinschen@redhat.com>
18070
18071 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
18072 Don't run tests if nofileio flag is given.
18073
6a90a18e
EZ
180742003-11-07 Elena Zannoni <ezannoni@redhat.com>
18075
18076 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 18077 as well as 'Watchpoint'.
6a90a18e 18078
0b915e9c
EZ
180792003-11-06 Elena Zannoni <ezannoni@redhat.com>
18080
18081 Reported by Jim Ingham <jingham@apple.com>:
18082 * gdb.base/annota1.exp: Match at least one occurrence of the
18083 signal handler annotation.
18084
d7e4b55f
EZ
180852003-11-06 Elena Zannoni <ezannoni@redhat.com>
18086
a9c64011
AS
18087 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
18088 as well as 'Watchpoint'.
d7e4b55f 18089
2fe4e8d0
MC
180902003-11-05 Michael Chastain <mec@shout.net>
18091
18092 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
18093
6ef88553
KW
180942003-11-03 Kris Warkentin <kewarken@qnx.com>
18095
18096 * gdb.arch/gdb1291.c: New test file.
18097 * gdb.arch/gdb1291.exp: New test script.
18098 * gdb.arch/gdb1431.c: New test file.
18099 * gdb.arch/gdb1431.exp: New test script.
18100
ae7dc4d8
MC
181012003-10-22 Michael Chastain <mec@shout.net>
18102
18103 * gdb.mi/pthreads.c: Add copyright notice.
18104
c39d7427
MC
181052003-10-22 Michael Chastain <mec@shout.net>
18106
18107 * gdb.threads/pthreads.c: Add copyright notice.
18108
8b7d96c1
MC
181092003-10-20 Michael Chastain <mec@shout.net>
18110
18111 * gdb.base/gdb1056.exp: New test script.
18112
d1d69fdd
DJ
181132003-10-13 Daniel Jacobowitz <drow@mvista.com>
18114
18115 * gdb.threads/killed.exp: Use gdb_run_cmd.
18116
7d605576
DJ
181172003-10-13 Daniel Jacobowitz <drow@mvista.com>
18118
18119 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
18120 create a core file.
18121 * gdb.threads/gcore-thread.exp: Likewise.
18122
618ec112
CV
181232003-10-13 Corinna Vinschen <vinschen@redhat.com>
18124
18125 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
18126 type, based on char type.
18127 (struct bit_flags_short_t): New bitfield type, based on short type.
18128 (init_bit_flags_char): New fuction.
18129 (init_bit_flags_short): Ditto.
18130 (print_bit_flags_char): Ditto.
18131 (print_bit_flags_short): Ditto.
18132 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
18133
9367a73c
MC
181342003-10-11 Michael Chastain <mec@shout.net>
18135
18136 * gdb.base/call-rt-st.exp: Update copyright year.
18137
1decf120
KI
181382003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
18139
18140 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
18141 * gdb.disasm/sh3.s: Ditto.
18142
5445b2ae
DJ
181432003-10-07 Daniel Jacobowitz <drow@mvista.com>
18144
18145 * gdb.threads/switch-threads.exp: New test.
18146 * gdb.threads/switch-threads.c: New source file.
18147
aec24853
CV
181482003-10-07 Corinna Vinschen <vinschen@redhat.com>
18149
18150 * gdb.base/ending-run.exp: Add sh specific case.
18151
adc7428d
AC
181522003-10-06 Andrew Cagney <cagney@redhat.com>
18153
18154 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
18155 * gdb.disasm/mn10200.exp: Delete obsolete file.
18156
c9d37158
DJ
181572003-09-29 Daniel Jacobowitz <drow@mvista.com>
18158
18159 * ChangeLog: Correct an entry command.exp -> commands.exp.
18160 * gdb.base/commands.exp (bp_deleted_in_command_test)
18161 (temporary_breakpoint_commands): Check noargs.
18162
79c2c32d
DC
181632003-09-25 David Carlton <carlton@kealia.com>
18164
18165 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
18166 of some print tests, where appropriate. Add tests for C::D::cd,
18167 E::ce, F::cXfX, G::XgX.
18168 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
18169
594e6d67
RE
181702003-09-25 Richard Earnshaw <rearnsha@arm.com>
18171
18172 * lib/java.exp (java_init): Import target_alias before using it.
18173
10f0d451
DC
181742003-09-25 David Carlton <carlton@kealia.com>
18175
18176 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
18177
274bcba0
EZ
181782003-09-23 Elena Zannoni <ezannoni@redhat.com>
18179
d63a86f8 18180 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 18181 weirdness.
274bcba0 18182
cdbf20f7
MC
181832003-09-17 Michael Chastain <mec@shout.net>
18184
18185 * gdb.cp/gdb1355.exp: New file.
18186 * gdb.cp/gdb1355.c: New file.
18187
71e06f80
CV
181882003-09-15 Corinna Vinschen <vinschen@redhat.com>
18189
18190 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
18191 * gdb.asm/sh.inc: New file.
18192
5c4e30ca
DC
181932003-09-11 David Carlton <carlton@kealia.com>
18194
bd45b7af
DC
18195 * gdb.cp/namespace.exp: Add tests for namespace types.
18196 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
18197 (test_namespace): New.
18198
1c199746
EZ
181992003-09-11 Elena Zannoni <ezannoni@redhat.com>
18200
a9c64011 18201 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 18202 * gdb.stabs/weird.exp: Ditto.
1c199746 18203
04ed252f
MC
182042003-09-08 Michael Chastain <mec@shout.net>
18205
18206 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
18207
d8a2d9e7
MC
182082003-09-07 Michael Chastain <mec@shout.net>
18209
18210 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
18211 'parse error'.
18212
161afb24
MK
182132003-09-07 Mark Kettenis <m.kettenis@osp.nl>
18214
18215 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
18216
49f2741a
MC
182172003-08-30 Michael Chastain <mec@shout.net>
18218
18219 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
18220 * gdb.gdb/observer.exp: Ditto.
18221 * gdb.gdb/xfullpath.exp: Ditto.
18222
8afa723e
MK
182232003-08-29 Mark Kettenis <kettenis@gnu.org>
18224
18225 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
18226 *-*-*bsd*.
18227
f31dfe3b
JJ
182282003-08-28 Jeff Johnston <jjohnstn@redhat.com>
18229
18230 * gdb.base/dump.exp: Skip for ia64.
18231
4630e498
JJ
182322003-08-25 Jeff Johnston <jjohnstn@redhat.com>
18233
18234 * gdb.asm/asm-source.exp: Add ia64 support.
18235 * gdb.asm/ia64.inc: New file.
18236
1105b7ef
MC
182372003-08-22 Michael Chastain <mec@shout.net>
18238
18239 * gdb.cp: New directory.
18240 * gdb.cp/*: Copy from gdb.c++/*.
18241 * gdb.c++/*: Remove.
18242 * Makefile.in: Change gdb.c++ to gdb.cp.
18243 * configure.in: Ditto.
18244 * configure: Regnerate.
18245
c945b932
MK
182462003-08-18 Mark Kettenis <kettenis@gnu.org>
18247
18248 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
18249 * gdb.arch/i386-prologue.c (gdb1338): Add function.
18250
2b66634b
DJ
182512003-08-17 Daniel Jacobowitz <drow@mvista.com>
18252
18253 * mi-var-display.exp (-var-list-children weird): Accept function
18254 pointers with argument types.
18255 * mi1-var-display.exp (-var-list-children weird): Likewise.
18256 * mi2-var-display.exp (-var-list-children weird): Likewise.
18257
a356f73b
DJ
182582003-08-17 Daniel Jacobowitz <drow@mvista.com>
18259
18260 * gdb.base/annota3.exp: Add missing newline.
18261
483417b8
MC
182622003-08-06 Michael Chastain <mec@shout.net>
18263
18264 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
18265
c99c59c3
MS
182662003-08-12 Michael Snyder <msnyder@redhat.com>
18267
18268 * gdb.base/float.exp: Add test for SH.
18269
55ed7501
MK
182702003-08-10 Mark Kettenis <kettenis@gnu.org>
18271
18272 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
18273
1a371f2e
EZ
182742003-08-07 Elena Zannoni <ezannoni@redhat.com>
18275
18276 * gdb.base/completion.exp: Remove reduntant completion test
18277 on filename.
18278
e0f353ce
EZ
182792003-08-07 Elena Zannoni <ezannoni@redhat.com>
18280
a9c64011
AS
18281 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
18282 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
18283 gdb.trace/save-trace.exp: Make sure that full pathnames are
18284 escaped correctly.
e0f353ce 18285
5710a1af 182862003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 18287
a9c64011
AS
18288 * configure.in: Don't generate config.h from config.hin.
18289 * configure: Regenerate.
18290 * config.hin: Remove file.
18291 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
18292 * gdb.threads/pthreads.c: Ditto.
5710a1af 18293
dcd81ce9
DJ
182942003-08-07 Daniel Jacobowitz <drow@mvista.com>
18295
18296 From Kei Sakamoto <sakamoto.kei@renesas.com>:
18297 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
18298 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
18299 Replace ld24 with seth/add3.
18300
6009d884
AC
183012003-08-02 Andrew Cagney <cagney@redhat.com>
18302
18303 * gdb.base/annota3.exp: New file.
18304 * gdb.base/annota3.c: New file.
18305 * gdb.c++/annota3.exp: New file.
18306 * gdb.c++/annota3.cc: New file.
18307
51514e06
MC
183082003-07-29 Michael Chastain <mec@shout.net>
18309
18310 * gdb.threads/tls.c (spin): Check errno only if sem_wait
18311 actually failed.
18312 (do_pass): Likewise.
18313 * gdb.threads/tls.exp: Always initialize no_of_threads.
18314
4ee6625b
DJ
183152003-07-27 Daniel Jacobowitz <drow@mvista.com>
18316
18317 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
18318 pattern.
18319 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
18320 * gdb.threads/tls.exp: Recognize one case of the host library not
18321 supporting TLS.
18322
225f2bf6
AC
183232003-07-27 Andrew Cagney <cagney@redhat.com>
18324
18325 * gdb.base/fileio.exp: Use SH when running commands using
18326 remote_exec.
18327
bcb27c9f
DJ
183282003-07-24 Daniel Jacobowitz <drow@mvista.com>
18329
18330 From Kei Sakamoto <sakamoto.kei@renesas.com>:
18331 * gdb.base/relocate.c (dummy): New padding array.
18332
3d67be83
MS
183332003-07-22 Michael Snyder <msnyder@redhat.com>
18334
d63a86f8 18335 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
18336
18337 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
18338 patterns to be more general, accepting old and new output.
18339 Some output chars (such as '+') also must be quoted.
d63a86f8 18340 Some addresses are displayed numerically instead of
3d67be83
MS
18341 symbolically.
18342
57ba3b85
MS
183432003-07-23 Michael Snyder <msnyder@redhat.com>
18344
686d097c
MS
18345 * gdb.base/return2.exp: Don't test long-long return.
18346
57ba3b85
MS
18347 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
18348 * gdb.disasm/t01_mov.exp: Ditto.
18349 * gdb.disasm/t02_mova.s: Ditto.
18350 * gdb.disasm/t02_mova.exp: Ditto.
18351 * gdb.disasm/t03_add.s: Ditto.
18352 * gdb.disasm/t03_add.exp: Ditto.
18353 * gdb.disasm/t04_sub.s: Ditto.
18354 * gdb.disasm/t04_sub.exp: Ditto.
18355 * gdb.disasm/t05_cmp.s: Ditto.
18356 * gdb.disasm/t05_cmp.exp: Ditto.
18357 * gdb.disasm/t06_ari2.s: Ditto.
18358 * gdb.disasm/t06_ari2.exp: Ditto.
18359 * gdb.disasm/t07_ari3.s: Ditto.
18360 * gdb.disasm/t07_ari3.exp: Ditto.
18361 * gdb.disasm/t08_or.s: Ditto.
18362 * gdb.disasm/t08_or.exp: Ditto.
18363 * gdb.disasm/t09_xor.s: Ditto.
18364 * gdb.disasm/t09_xor.exp: Ditto.
18365 * gdb.disasm/t10_and.s: Ditto.
18366 * gdb.disasm/t10_and.exp: Ditto.
18367 * gdb.disasm/t11_logs.s: Ditto.
18368 * gdb.disasm/t11_logs.exp: Ditto.
18369 * gdb.disasm/t12_bit.s: Ditto.
18370 * gdb.disasm/t12_bit.exp: Ditto.
18371 * gdb.disasm/t13_otr.s: Ditto.
18372 * gdb.disasm/t13_otr.exp: Ditto.
18373
e00759ef
EZ
183742003-07-22 Elena Zannoni <ezannoni@redhat.com>
18375
18376 * gdb.threads/tls.exp :Add kfail for 'info address' case.
18377
8bc2021f
EZ
183782003-07-22 Elena Zannoni <ezannoni@redhat.com>
18379
a9c64011
AS
18380 * gdb.threads/tls.c : New file.
18381 * gdb.threads/tls.exp : New file.
18382 * gdb.threads/tls-main.c : New file.
18383 * gdb.threads/tls-shared.c : New file.
18384 * gdb.threads/tls-shared.exp : New file.
8bc2021f 18385
89320c4c
AS
183862003-07-22 Andreas Schwab <schwab@suse.de>
18387
18388 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
18389
180dea7c
AS
183902003-07-20 Andreas Schwab <schwab@suse.de>
18391
18392 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
18393 due to insn reordering.
18394
0714963c
AC
183952003-07-15 Andrew Cagney <cagney@redhat.com>
18396
18397 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
18398
98a23b3f
MC
183992003-07-15 Michael Chastain <mec@shout.net>
18400
18401 * gdb.base/gdb1250.exp: New file.
18402 * gdb.base/gdb1250.c: New file.
18403
27e417a2
ML
184042003-07-09 Michal Ludvig <mludvig@suse.cz>
18405
18406 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
18407 expansion of size_t to 'unsigned long', not only to 'unsigned'.
18408
8bc2021f
EZ
184092003-07-09 Elena Zannoni <ezannoni@redhat.com>
18410
a9c64011
AS
18411 * gdb.threads/tls.c: New file.
18412 * gdb.threads/tls.exp: New file.
18413 * gdb.threads/tls-main.c: New file.
18414 * gdb.threads/tls-shared.c: New file.
18415 * gdb.threads/tls-shared.exp: New file.
8bc2021f 18416
d99968dc
EZ
184172003-07-09 Elena Zannoni <ezannoni@redhat.com>
18418
18419 * gdb.base/annota1.exp: Make sure that we properly escape the
18420 full path of the source file. Xfail more permissive patterns,
d63a86f8 18421 due to a compiler debug info problem.
d99968dc 18422
83876b3b
AS
184232003-07-07 Andreas Schwab <schwab@suse.de>
18424
2705e972
AS
18425 * gdb.asm/m68k.inc: New file.
18426 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
18427
83876b3b
AS
18428 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
18429 arguments"): Also match negative number.
18430
18431 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
18432
3a871b37
DJ
184332003-07-03 Daniel Jacobowitz <drow@mvista.com>
18434
18435 * gdb.base/store.c (charest): New typedef.
18436 (add_char): Rename to add_charest, update.
18437 (wack_char): Rename to wack_charest, update types. Return l + r
18438 to keep r live across the call.
18439 (wack_short, wack_int, wack_long, wack_longest, wack_float)
18440 (wack_double, wack_doublest): Return l + r to keep r live across
18441 the call.
18442 * gdb.base/store.exp: Accomodate store.c changes.
18443
b2a7f303
DC
184442003-06-30 David Carlton <carlton@kealia.com>
18445
18446 * gdb.c++/maint.exp (test_invalid_name): New.
18447 (test_first_component): Add tests for invalid names.
18448
3c6cb4a1
MC
184492003-06-29 Michael Chastain <mec@shout.net>
18450
18451 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
18452 output of '<VTT for class>' for virtual base classes.
18453
f1c2644b
DJ
184542003-06-29 Daniel Jacobowitz <drow@mvista.com>
18455
18456 * gdb.base/completion.exp: Tab-complete "complet" instead of
18457 "compl".
18458 * gdb.base/complex.exp, gdb.base/complex.c: New files.
18459
18080350
DJ
184602003-06-29 Daniel Jacobowitz <drow@mvista.com>
18461
18462 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
18463 * gdb.base/volatile.exp: Likewise.
18464
f56973f8
DJ
184652003-06-29 Daniel Jacobowitz <drow@mvista.com>
18466
18467 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
18468 gdb/1265.
18469
184702003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
18471 Daniel Jacobowitz <drow@mvista.com>
18472
18473 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
18474 initial line count of 'captured_main' from 26 to 32.
18475 (test_with_self): Allow xmalloc call to be interleaved with the
18476 preceding two lines.
18477
e766d4d6
JB
184782003-06-24 Joel Brobecker <brobecker@gnat.com>
18479
18480 * gdb.base/bang.exp: New testcase.
18481
f125c9a4
JB
184822003-06-23 Joel Brobecker <brobecker@gnat.com>
18483
18484 * gdb.base/langs.exp: Add some tests for the "minimal" language
18485 support.
18486
6e25beaf
EZ
184872003-06-23 Elena Zannoni <ezannoni@redhat.com>
18488
18489 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
18490 the testcase.
18491
2f816dda
DJ
184922003-06-22 Daniel Jacobowitz <drow@mvista.com>
18493
18494 * gdb.base/relocate.exp: Test add-symbol-file with a variable
18495 offset.
18496
db5a5748
DJ
184972003-06-22 Daniel Jacobowitz <drow@mvista.com>
18498
18499 * gdb.c++/pr-1210.cc: New file.
18500 * gdb.c++/pr-1210.exp: New file.
18501
1df0c130
DJ
185022003-06-21 Daniel Jacobowitz <drow@mvista.com>
18503
18504 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
18505 000-exec-continue.
18506
a92feac0
MK
185072003-06-15 Mark Kettenis <kettenis@gnu.org>
18508
18509 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
18510 on *-*-*bsd* instead of *-*-freebsd*.
18511
81a58f5b
AC
185122003-06-14 Andrew Cagney <cagney@redhat.com>
18513
18514 * gdb.base/store.exp: Test longest and doublest. Test all
18515 parameters. Weaken return statement match.
18516 * gdb.base/store.c: Add longest and doublest - aka long long and
18517 long double functions. Put all parameters into local register
18518 variables. Use negative values.
18519
b257a0d3
AC
185202003-06-14 Andrew Cagney <cagney@redhat.com>
18521
18522 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
18523 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
18524 exit status.
18525 * gdb.base/fileio.exp: Disable target when nointerrupts and
18526 noinferiorio, instead of limiting it to remote. Use remote_exec
18527 instead of system.
d63a86f8 18528
21c38304
JJ
185292003-06-12 Jeff Johnston <jjohnstn@redhat.com>
18530
18531 * gdb.base/float.exp: Add ia64 support.
18532
1bcdb424
CV
185332003-06-12 Corinna Vinschen <vinschen@redhat.com>
18534
18535 * gdb.base/fileio.exp: Run only on remote targets.
18536
6aeb981f
CV
185372003-06-10 Corinna Vinschen <vinschen@redhat.com>
18538
18539 * gdb.base/fileio.c: New file, testing File-I/O.
18540 * gdb.base/fileio.exp: Ditto.
18541
53df362e
RG
185422003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
18543
18544 * gdb.base/shreloc.exp: New file, check symbol values obtained from
18545 shared objects after relocation at load time (gdb PR/1132).
18546 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 18547 as above, part of the shared object relocation test.
53df362e 18548
ffee1b46
MK
185492003-06-08 Mark Kettenis <kettenis@gnu.org>
18550
b5ca3722
MK
18551 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
18552 fully filled history list.
18553 * gdb.base/gdb_history: New file.
18554
03ed860d
MK
18555 * gdb.base/signals.exp: XFAIL "continue to func1" on
18556 i*86-*-freebsd*.
18557
ffee1b46
MK
18558 * gdb.base/attach.exp: When trying to attach to a nonexistent
18559 process, make it possible to specify the PID based on the target,
18560 and do so for *-*-freebsd*.
18561
d80dbb52
RH
185622003-06-02 Richard Henderson <rth@redhat.com>
18563
18564 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
18565
6dd77b81
RH
185662003-06-02 Richard Henderson <rth@redhat.com>
18567
18568 * gdb.base/selftest.exp: Next over lim_at_start initialization.
18569
f6347e16
RH
185702003-06-02 Richard Henderson <rth@redhat.com>
18571
18572 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
18573
2c161407
DJ
185742003-06-01 Daniel Jacobowitz <drow@mvista.com>
18575
18576 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
18577 of globalvar.
18578
572eb746
MK
185792003-06-01 Mark Kettenis <kettenis@gnu.org>
18580
18581 * gdb.asm/asm-source.exp: Check for memory read errors in
18582 disassembler test on *BSD too.
18583
9e9617a5
RH
185842003-06-01 Richard Henderson <rth@redhat.com>
18585
18586 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
18587 for .frame.
18588 (gdbasm_call): Lose ldgp.
18589 (gdbasm_startup): Add frame information.
18590 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
18591
7b34ad4e
MK
185922003-05-31 Mark Kettenis <kettenis@gnu.org>
18593
18594 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
18595 i?86-*-*.
18596
10059fdf
MK
185972003-05-30 Mark Kettenis <kettenis@gnu.org>
18598
18599 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
18600 FreeBSD.
18601
acf4b816
RH
186022003-05-29 Richard Henderson <rth@redhat.com>
18603
18604 * gdb.asm/alpha.inc: New file.
18605 * gdb.asm/asm-source.exp: Use it.
18606
e9ecd949
JB
186072003-05-29 Jim Blandy <jimb@redhat.com>
18608
18609 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
18610 'core.PID'.
18611
e3e5a4f3
JB
186122003-05-22 Jim Blandy <jimb@redhat.com>
18613
18614 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
18615 backtrace.
d63a86f8 18616
72fe3d25
DC
186172003-05-20 David Carlton <carlton@math.stanford.edu>
18618
18619 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
18620 this time.
18621
58da2eb2
DC
186222003-05-19 David Carlton <carlton@bactrian.org>
18623
18624 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
18625 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
18626
1fcb5155
DC
186272003-05-19 David Carlton <carlton@bactrian.org>
18628
18629 * gdb.c++/namespace.exp: Add namespace scope and anonymous
18630 namespace tests.
18631 Bump copyright date.
18632 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
18633 (main): Call C::D::marker2.
18634 * gdb.c++/namespace1.cc: New file.
18635
85e85163
JJ
186362003-05-14 Jeff Johnston <jjohnstn@redhat.com>
18637
18638 Roland McGrath <roland@redhat.com>
d63a86f8 18639 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
18640 there is no manager thread.
18641
a25fbfec
JJ
186422003-05-08 Jeff Johnston <jjohnstn@redhat.com>
18643
d63a86f8
RM
18644 * gdb.threads/schedlock.exp: Remove assumption that all threads
18645 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
18646 in one of the child threads rather than the main thread.
18647
be375bae
JB
186482003-05-07 Jim Blandy <jimb@redhat.com>
18649
09bf6082
JB
18650 Add support for assembly source testing on the s390x.
18651 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
18652 architecture.
18653 * gdb.asm/s390x.inc: New file.
18654
be375bae
JB
18655 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
18656 succession of 'if' statements.
18657
00905d52
AC
186582003-05-05 Andrew Cagney <cagney@redhat.com>
18659
18660 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
18661
b1e29e33
AC
186622003-05-05 Andrew Cagney <cagney@redhat.com>
18663
18664 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
18665 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
18666
e33d66ec
EZ
186672003-05-02 Elena Zannoni <ezannoni@redhat.com>
18668
18669 * gdb.base/charset.exp: Update based on new behavior of set/show
18670 charset commands.
18671
2b6fd0d8
AC
186722003-05-01 Andrew Cagney <cagney@redhat.com>
18673
18674 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
18675 variable do not give memory errors.
18676
130cacce
AF
186772003-04-30 Adam Fedor <fedor@gnu.org>
18678
18679 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
18680 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
18681 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
18682 gdb.objc/basicclass.m: : New files
18683
18684 * lib/gdb.exp (gdb_compile_objc): New procedure.
18685
bea71854
DJ
186862003-04-27 Daniel Jacobowitz <drow@mvista.com>
18687
18688 * gdb.base/signals.exp: Make backtrace tests more specific.
18689
0f20eeea
DC
186902003-04-23 David Carlton <carlton@bactrian.org>
18691
18692 * gdb.c++/maint.exp (test_first_component): Add tests for
18693 'operator' in more locations.
18694
c8c4d8dc
KB
186952003-04-16 Kevin Buettner <kevinb@redhat.com>
18696
18697 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
18698
3fe60e3c
EZ
186992003-04-16 Elena Zannoni <ezannoni@redhat.com>
18700
18701 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 18702 func marke' instead. Update test name.
3fe60e3c 18703
9219021c
DC
187042003-04-15 David Carlton <carlton@math.stanford.edu>
18705
18706 * gdb.c++/maint.exp: New file.
18707
5dd55bdd
EZ
187082003-04-14 Elena Zannoni <ezannoni@redhat.com>
18709
18710 * gdb.threads/schedlock.c: Change type of thread function argument
18711 to long, to avoid warnings on 64-bit platforms.
18712
00890572
EZ
187132003-04-14 Elena Zannoni <ezannoni@redhat.com>
18714
a9c64011
AS
18715 * gdb.base/attach.exp: Add new message from ptrace in case of
18716 attaching to nonexistent process.
d63a86f8 18717
93201743
JB
187182003-04-11 Jim Blandy <jimb@redhat.com>
18719
18720 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
18721 gdb.c++/userdef.cc: Place comments on the lines to which the
18722 marker function might return.
18723 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
18724 gdb.c++/userdef.exp: Look for those comments to check that we've
18725 returned to the right place, instead of checking line numbers.
18726
2a11c64d
EZ
187272003-04-11 Elena Zannoni <ezannoni@redhat.com>
18728
a9c64011
AS
18729 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
18730 match on sourcefile name, instead of directory name.
2a11c64d 18731
68ab8fc5
EZ
187322003-04-10 Elena Zannoni <ezannoni@redhat.com>
18733
d63a86f8 18734 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
18735 working directory name.
18736
5624293a
JB
187372003-04-09 Jim Blandy <jimb@redhat.com>
18738
18739 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
18740 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
18741 after an inferior function call, report the failure, but allow the
18742 test to continue.
18743
f1f02ee4
SC
187442003-04-05 Stephane Carrez <stcarrez@nerim.fr>
18745
18746 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
18747 with -DPROTOTYPES.
18748
6eb79af0
SC
187492003-04-05 Stephane Carrez <stcarrez@nerim.fr>
18750
18751 * gdb.base/break.exp: Revert last patch.
18752
8dfb4cf0
SC
187532003-04-04 Stephane Carrez <stcarrez@nerim.fr>
18754
18755 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
18756 with -DPROTOTYPES.
18757
ed4c619a
AC
187582003-04-02 Andrew Cagney <cagney@redhat.com>
18759
18760 * gdb.base/callfuncs.exp: Make "print add" messages unique.
18761 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
18762 matching directories by the name breakpoint.
18763 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
18764 Make "continue to marker1" consistent.
18765 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
18766 message consistent.
18767 * lib/gdb.exp: Put "the program is no longer running", and "the
18768 program exited" in parenthesis.
18769 * lib/mi-support.exp: Ditto.
d63a86f8 18770
4e35d5f0 187712003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 18772
4e35d5f0
BR
18773 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
18774
71900fe8
AC
187752003-03-29 Andrew Cagney <cagney@redhat.com>
18776
18777 * gdb.base/sizeof.c (main): Print the value of '\377'.
18778 * gdb.base/sizeof.exp: Check the sign of '\377'.
18779
c0655a16
MC
187802003-03-27 Michael Chastain <mec@shout.net>
18781
18782 * gdb.base/gdb1090.exp: New file.
18783 * gdb.base/gdb1090.cc: New file.
18784
5b2a3989
JB
187852003-03-27 J. Brobecker <brobecker@gnat.com>
18786
18787 * gdb.gdb/observer.exp: New regression test.
18788
79876890
MC
187892003-03-27 Michael Chastain <mec@shout.net>
18790
18791 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
18792 * gdb.base/ptype.exp: Likewise.
18793
6eac95e3
CV
187942003-03-27 Corinna Vinschen <vinschen@redhat.com>
18795
18796 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
18797
e8c71839
MC
187982003-03-26 Michael Chastain <mec@shout.net>
18799
18800 * gdb.base/ptype.exp: Actually use some typedef'd types.
18801
71b10041
SC
188022003-03-21 Stephane Carrez <stcarrez@nerim.fr>
18803
18804 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
18805 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
18806
2512cf80
CV
188072003-03-20 Corinna Vinschen <vinschen@redhat.com>
18808
18809 * gdb.base/default.exp: Fix regular expression.
18810
0d195a4f
CV
188112003-03-20 Corinna Vinschen <vinschen@redhat.com>
18812
18813 * gdb.base/args.exp: Fix regular expression.
18814
8a2dbca8
CV
188152003-03-20 Corinna Vinschen <vinschen@redhat.com>
18816
18817 * gdb.base/help.exp: Allow Win32 child process.
18818
bf028682
CV
188192003-03-20 Corinna Vinschen <vinschen@redhat.com>
18820
18821 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
18822 when stepping out of main().
18823
182dbe85
CV
188242003-03-20 Corinna Vinschen <vinschen@redhat.com>
18825
18826 * gdb.base/default.exp: Check for win32 specific message when calling
18827 "run" without executable.
18828
d67a6ba5
CV
188292003-03-20 Corinna Vinschen <vinschen@redhat.com>
18830
18831 * gdb.base/args.exp: Expect .exe in output.
18832
a955b5bb
CV
188332003-03-20 Corinna Vinschen <vinschen@redhat.com>
18834
18835 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
18836 Cygwin native.
18837
bf6bad4b
AC
188382003-03-17 Andrew Cagney <cagney@redhat.com>
18839
18840 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
18841 vector registes.
18842 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
18843 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
18844
293e9a31
DC
188452003-03-17 David Carlton <carlton@math.stanford.edu>
18846
18847 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
18848 test, for PR breakpoints/38.
18849 Call test_watchpoint_and_breakpoint.
18850 * gdb.base/watchpoint.c (func3): New function.
18851 (main): Call func3.
18852
5330f2db
DC
188532003-03-04 David Carlton <carlton@math.stanford.edu>
18854
18855 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
18856 Garply<Garply<char> >:: garply".
18857 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
18858 with respect to PR c++/1111; note also PR c++/1113.
18859 (test_template_breakpoints): KFAIL "constructor breakpoint" with
18860 respect to PR c++/1062.
18861 KFAIL "destructor breakpoint" with respect to PR c++/1112.
18862
6ece72da
DC
188632003-03-03 David Carlton <carlton@math.stanford.edu>
18864
18865 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
18866 with respect to PR c++/57.
18867 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
18868 c++/826.
18869 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
18870 respect to PR c++/57.
18871
85ca1584
DC
188722003-03-03 David Carlton <carlton@math.stanford.edu>
18873
18874 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
18875 respect to PR c++/33 into FAILs.
18876
98e9c5b8
MC
188772003-03-03 Michael Chastain <mec@shout.net>
18878
7bedbf27
MC
18879 * configure.in: Update copyright years.
18880
188812003-03-03 Michael Chastain <mec@shout.net>
18882
18883 * Makefile.in: Update copyright years.
98e9c5b8 18884
f683e100
DC
188852003-02-28 David Carlton <carlton@math.stanford.edu>
18886
18887 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
18888 print class instead of struct and/or superfluous protection
18889 specifiers, as long as the resulting output is equivalent to the
18890 source code.
18891 Delete FIXME from end of messages on tests that don't need
18892 fixing.
18893
a9e0cf2c
DC
188942003-02-28 David Carlton <carlton@math.stanford.edu>
18895
18896 * gdb.c++/templates.exp (do_tests): Allow const in the two
18897 Foo<volatile char *>::foo tests.
18898
e8d359df
MS
188992003-02-27 Michael Snyder <msnyder@redhat.com>
18900
d63a86f8 18901 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
18902 will be consistant.
18903
0b71dc91
DC
189042003-02-26 David Carlton <carlton@math.stanford.edu>
18905
18906 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
18907 char *>::foo" test with respect to PR c++/33. Create a new test
18908 which is identical to that one except that it doesn't put the
18909 space between the "char" and the "*"; KFAIL it, too.
18910
dd14ab43
DC
189112003-02-26 David Carlton <carlton@math.stanford.edu>
18912
18913 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
18914 template types into either PASSes or KFAILs (corresponding to PR
18915 c++/57). Tweak indentation. Update copyright.
18916
1146c7f1
SC
189172003-02-23 Stephane Carrez <stcarrez@nerim.fr>
18918
18919 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
18920
74641dfb
MC
189212003-02-13 Michael Chastain <mec@shout.net>
18922
18923 * gdb.base/exprs.exp: Remove i960 remnants.
18924 * gdb.base/funcargs.exp: Likewise.
18925 * gdb.base/list.exp: Likewise.
18926 * gdb.base/ptype.exp: Likewise.
18927
559cd2d0
DC
189282003-02-14 David Carlton <carlton@math.stanford.edu>
18929
18930 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
18931 pEe->D::vg()" from XFAIL to KFAIL.
18932
c4f90d87
JM
189332003-02-13 Jason Molenda (jmolenda@apple.com)
18934
18935 * gdb.base/maint.exp: Update maint print statistics regexp to include
18936 new entries.
18937
cbc4d97c
MC
189382003-02-13 Michael Chastain <mec@shout.net>
18939
18940 * gdb.c++/inherit.exp: Remove call to get_debug_format.
18941
40f235b7
MC
189422003-02-12 Michael Chastain <mec@shout.net>
18943
18944 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
18945 * gdb.c++/inherit.exp: Likewise.
18946 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
18947 * gdb.c++/templates.exp: Likewise.
18948 * gdb.c++/virtfunc.exp: Likewise.
18949
c56716b0
JM
189502003-02-06 Jason Molenda (jason-cl@molenda.com)
18951
18952 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
18953 why the code is written that way.
18954
070afcf8
MC
189552003-02-05 Michael Chastain <mec@shout.net>
18956
18957 * gdb.base/dump.exp: Add missing copyright line.
18958
5d0331e5
JM
189592003-02-05 Jason Molenda (jason-cl@molenda.com)
18960
f7ae6d3e 18961 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
18962 at the beginning so the breakpoint doesn't get set on the loop.
18963
92851186
MC
189642003-02-05 Michael Chastain <mec@shout.net>
18965
18966 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
18967 output for configurations with gcc 2.95.3.
18968
cbf1e085
AC
189692003-02-05 Keith Seitz <keiths@redhat.com>
18970 Andrew Cagney <ac131313@redhat.com>
18971
18972 * gdb.mi/mi-cli.exp: New file.
d63a86f8 18973
29518e1e
MC
189742003-02-04 Michael Chastain <mec@shout.net>
18975
18976 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
18977 Call perror and then continue.
18978
5af1d5f3
MC
189792003-02-03 Michael Chastain <mec@shout.net>
18980
18981 * gdb.c++/pr-1023.cc: New file.
18982 * gdb.c++/pr-1023.exp: New file.
18983
6b549786
JB
189842003-02-05 Jim Blandy <jimb@redhat.com>
18985
18986 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
18987 it's local to foobar. Check for it there, and check that it's not
18988 present in main.
18989 * gdb.c++/local.cc (marker2): New function.
18990 (foobar): Call marker1.
18991 (main): Call marker2 instead of marker1.
18992
67f16606
AC
189932003-02-04 Andrew Cagney <ac131313@redhat.com>
18994
18995 * gdb.disasm/mn10200.exp: Obsolete file.
18996 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
18997 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
18998 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
18999
1c5cb38e
DC
190002003-02-04 David Carlton <carlton@math.stanford.edu>
19001
19002 * gdb.c++/overload.exp: Test intToChar(1).
19003 * gdb.c++/overload.cc (intToChar): New.
19004 (main): Call intToChar.
19005
d1fe6965
DC
190062003-02-03 David Carlton <carlton@math.stanford.edu>
19007
19008 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
19009 'might_kfail' arg.
19010 KFAIL some of the continue_to_bp_overloaded calls, according to
19011 PR c++/1025.
19012
9ba61c5d
MC
190132003-02-01 Michael Chastain <mec@shout.net>
19014
19015 * gdb.base/advance.c (marker1): New marker function.
19016 * gdb.base/advance.exp: When the 'advance' command lands on the
19017 return breakpoint, it can legitimately stop on either the
19018 current line or the next line. Accommodate both outcomes.
19019 * gdb.base/until.exp: Likewise.
19020
e7494ffb
AC
190212003-02-02 Andrew Cagney <ac131313@redhat.com>
19022
19023 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
19024 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
19025 now a list, not a tuple.
19026 * gdb.mi/mi-var-display.exp: Ditto.
19027 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 19028
075559bc
AC
190292003-02-01 Andrew Cagney <ac131313@redhat.com>
19030
19031 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
19032 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
19033 stack backtraces.
19034 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 19035
2bd4c7b1
MK
190362003-02-01 Mark Kettenis <kettenis@gnu.org>
19037
19038 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
19039 gdb.mi/mi1-pthreads.exp: Return instead of calling
19040 gdb_suppress_entire_file.
19041
eabd8992
MS
190422003-02-01 Mark Salter <msalter@redhat.com>
19043
19044 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
19045
71469e2f
MS
190462003-01-31 Mark Salter <msalter@redhat.com>
19047
19048 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
19049 Support empty arg.
19050
38a94d44
MC
190512003-01-30 Michael Chastain <mec@shout.net>
19052
19053 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
19054 This was a workaround for a UTF-8 bug in readline 4.3. The bug
19055 has been fixed in gdb/readline on 2003-01-09.
19056
19ea9e73
MS
190572003-01-29 Michael Snyder <msnyder@redhat.com>
19058
e8d359df
MS
19059 * gdb.base/maint.exp: Allow for leading underscore in symbol.
19060 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
19061 * gdb.base/args.exp: Skip if target does not support args passing.
19062
2307bd6a
DJ
190632003-01-22 Daniel Jacobowitz <drow@mvista.com>
19064
19ea9e73 19065 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
19066 gdb_test. Accept a list of expect arguments as the third
19067 parameter.
19068 (gdb_test): Use it.
19069
f2dd3617
EZ
190702003-01-20 Elena Zannoni <ezannoni@redhat.com>
19071
19072 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
19073 allow for different test tree configurations. Update some
19074 tescases accordingly.
19075 * gdb.arch/altivec-regs.exp: Ditto.
19076 * gdb.asm/asm-source.exp: Ditto.
19077 * gdb.base/advance.exp: Ditto.
19078 * gdb.base/display.exp: Ditto.
d63a86f8 19079 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
19080 * gdb.base/mips_pro.exp: Ditto.
19081 * gdb.base/overlays.exp: Ditto.
19082 * gdb.base/relocate.exp: Ditto.
19083 * gdb.base/setshow.exp: Ditto.
19084 * gdb.base/step-line.exp: Ditto.
19085 * gdb.base/step-test.exp: Ditto.
19086 * gdb.base/until.exp: Ditto.
19087 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
19088
c71cdefd
DC
190892003-01-17 David Carlton <carlton@math.stanford.edu>
19090
19091 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
19092 corresponding to PR c++/945.
19093 Update copyright.
19094
fdba05d7
DC
190952003-01-17 David Carlton <carlton@math.stanford.edu>
19096
19097 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
19098 corresponding to PR c++/68.
19099
191002003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
19101
19102 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
19103 (test_paddr_hairy_functions): Call print_addr_2_kfail for
19104 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
19105
c362c33a
EZ
191062003-01-15 Elena Zannoni <ezannoni@redhat.com>
19107
0fbc361c
EZ
19108 * gdb.base/break.exp: Fix change of default location, because of
19109 removal of until tests.
19110 * gdb.base/help.exp: Update test for new 'until' help message.
19111 Add test for help on 'advance'.
a9c64011 19112 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 19113
dabf8a35
MK
191142003-01-15 Mark Kettenis <kettenis@gnu.org>
19115
19116 * gdb.base/default.exp: Adapt "info float" test for recent changes
19117 to that command. Add test for "info vector".
19118 * gdb.base/float.exp: New file. Add test for "info float" that
19119 resembles the old test in gdb.base/default.exp.
19120
a1769aca
DC
191212003-01-15 David Carlton <carlton@math.stanford.edu>
19122
19123 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
19124
82025e13
EZ
191252003-01-15 Elena Zannoni <ezannoni@redhat.com>
19126
19127 * gdb.base/break.exp: Move the tests of until command from here...
19128 * gdb.base/until.exp: ... to here. New file. Add other tests.
19129 * gdb.base/advance.c: New file.
19130 * gdb.base/advance.exp: New file.
19131
8f9ab801
EZ
191322003-01-14 Elena Zannoni <ezannoni@redhat.com>
19133
a9c64011
AS
19134 * gdb.base/args.c: New file.
19135 * gdb.base/args.exp: New file.
8f9ab801 19136
9ae66589
DJ
191372003-01-14 Daniel Jacobowitz <drow@mvista.com>
19138
19139 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
19140
8d77e5c3
DJ
191412003-01-14 Daniel Jacobowitz <drow@mvista.com>
19142
19143 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
19144
12d2f0a1
DJ
191452003-01-14 Daniel Jacobowitz <drow@mvista.com>
19146
19147 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
19148 dates.
19149
6ca37014
DJ
191502003-01-13 Daniel Jacobowitz <drow@mvista.com>
19151
19152 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
19153
b0023472
DJ
191542003-01-13 Daniel Jacobowitz <drow@mvista.com>
19155
19156 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
19157 (ptype &*"foo").
19158 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
19159
607fbc54 191602003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
19161
19162 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
19163 * gdb.mi/mi1-console.exp: Likewise.
19164
607fbc54 191652003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
19166
19167 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
19168 * gdb.mi/mi1-console.exp: Likewise.
19169
a1fb14a2
DJ
191702003-01-13 Daniel Jacobowitz <drow@mvista.com>
19171
19172 * gdb.c++/overload.exp: Remove some fixed XFAILs.
19173
c4cf40b7
DJ
191742003-01-09 Daniel Jacobowitz <drow@mvista.com>
19175
19176 * gdb.base/detach.exp: New test.
19177
696d5a5b
DJ
191782003-01-09 Daniel Jacobowitz <drow@mvista.com>
19179
19180 * Makefile.in (ALL_SUBDIRS): New variable.
19181 (subdirs, clean, distclean): Use it.
19182 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
19183 regenerating Makefile, since it is generated from the top level.
19184 * gdb.asm/Makefile.in: Likewise.
19185 * gdb.base/Makefile.in: Likewise.
19186 * gdb.c++/Makefile.in: Likewise.
19187 * gdb.disasm/Makefile.in: Likewise.
19188 * gdb.java/Makefile.in: Likewise.
19189 * gdb.mi/Makefile.in: Likewise.
19190 * gdb.threads/Makefile.in: Likewise.
19191 * gdb.trace/Makefile.in: Likewise.
19192
754533e4
DC
191932003-01-09 David Carlton <carlton@math.stanford.edu>
19194
19195 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
19196 Add copyright year 2003.
19197
d8b3e9ee
MC
191982003-01-06 Michael Chastain <mec@shout.net>
19199
19200 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
19201 When selecting a thread, 'line' and 'file' are optional.
19202 * gdb.mi/mi1-pthreads.exp: Likewise.
19203
8e9e0fe6
AS
192042003-01-06 Andreas Schwab <schwab@suse.de>
19205
19206 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
19207 failures.
19208
b5ab8ff3
DJ
192092003-01-04 Daniel Jacobowitz <drow@mvista.com>
19210
19211 Fix PR gdb/844
19212 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
19213 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
19214
19215 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
19216 instead of calling gdb_suppress_entire_file.
19217 * gdb.threads/print-threads.exp: Likewise.
19218 * gdb.threads/schedlock.exp: Likewise.
19219
19220 * gdb.threads/killed.exp: Return instead of calling
19221 gdb_suppress_entire_file.
19222 * gdb.threads/linux-dp.exp: Likewise.
19223 * gdb.threads/pthreads.exp: Likewise.
19224
1e698235
DJ
192252003-01-04 Daniel Jacobowitz <drow@mvista.com>
19226
19227 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
19228 stabs.
19229 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
19230 * gdb.base/whatis.exp: Always allow (void) after function names.
19231
147ff08c
DJ
192322003-01-04 Daniel Jacobowitz <drow@mvista.com>
19233
19234 * gdb.c++/casts.exp: Correct regexp.
19235
dc62bfc2
MK
192362003-01-04 Mark Kettenis <kettenis@gnu.org>
19237
19238 * configure.in: Call AC_CONFIG_HEADER. Don't call
19239 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
19240 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
19241 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
19242 aforementioned directories in the AC_OUPUT call.
19243 * config.hin: New file.
19244 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
19245 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
19246 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
19247 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
19248 pass -I$objdir instead of -I$objdir/$subdir in compilation.
19249 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
19250 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
19251 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
19252 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
19253 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
19254 gdb.threads/configure.in, gdb.threads/configure,
19255 gdb.threads/config.in, gdb.trace/configure.in,
19256 gdb.trace/configure: Removed.
19257
77afa639
MC
192582003-01-03 Michael Chastain <mec@shout.net>
19259
19260 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
19261 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
19262
7634bb6e
DJ
192632003-01-03 Daniel Jacobowitz <drow@mvista.com>
19264
19265 * gdb.base/store.exp: Fix regular expressions.
19266
b39c905e
MK
192672002-12-28 Mark Kettenis <kettenis@gnu.org>
19268
19269 * configure.in: Rewrite.
19270 * configure: Regenerated.
19271
0a8551dd
DC
192722003-01-03 David Carlton <carlton@math.stanford.edu>
19273
19274 * gdb.base/psymtab.exp: New file.
19275 * gdb.base/psymtab1.c: Ditto.
19276 * gdb.base/psymtab2.c: Ditto.
19277
c60b7188
AF
192782002-12-23 Adam Fedor <fedor@gnu.org>
19279
19280 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
19281
ee73db83
DC
192822002-12-23 David Carlton <carlton@math.stanford.edu>
19283
19284 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
19285 and current_directory initialization.
19286
d6c1774e
JB
192872002-12-22 Jim Blandy <jimb@redhat.com>
19288
f0a847b8
JB
19289 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
19290 rather than as part of the output file name.
19291
d6c1774e
JB
19292 * gdb.base/attach.exp: There's no need to copy the test program to
19293 /tmp; that was only ever necessary on HP/UX, and this test is
19294 entirely disabled there anyway.
19295
f0708dbb
JB
192962002-12-21 Jim Blandy <jimb@redhat.com>
19297
4c2acfea
JB
19298 * gdb.c++/psmang.exp: Doc fix.
19299
f0708dbb
JB
19300 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
19301 test.
19302
9579e000
DC
193032002-12-20 David Carlton <carlton@math.stanford.edu>
19304
19305 * gdb.c++/annota2.exp: KFAIL annotate-quit.
19306
d1810171
MC
193072002-12-18 Michael Chastain <mec@shout.net>
19308
19309 * gdb.c++/annota2.exp: Add copyright year 2002.
19310
76565097
DC
193112002-12-17 David Carlton <carlton@math.stanford.edu>
19312
19313 * gdb.c++/try_catch.cc: Add marker comments.
19314 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
19315 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
19316 * gdb.c++/m-static.cc: Ditto.
19317 * gdb.c++/m-static1.cc: Ditto.
19318 * gdb.c++/try_catch.cc: Ditto.
19319
da81390b
JJ
193202002-12-16 Jeff Johnston <jjohnstn@redhat.com>
19321
19322 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
19323 to see whether we are using the new -environment-directory
19324 command which resets via -r or the old version of the command
19325 which may prompt the user. Part of fix for gdb/741.
19326
b304d130
AC
193272002-12-13 Andrew Cagney <ac131313@redhat.com>
19328
19329 * gdb.fortran/types.exp: Update obsolete comment.
19330 * gdb.fortran/exprs.exp: Ditto.
19331 * lib/gdb.exp: Delete obsolete code.
19332 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
19333 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
19334 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
19335 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
19336 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
19337 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
19338 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
19339 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
19340 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
19341 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
19342 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
19343 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
19344 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
19345 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
19346 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
19347 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
19348 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
19349 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
19350 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
19351 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
19352 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
19353 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
19354 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
19355 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
19356 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
19357 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
19358 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
19359 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
19360 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
19361 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
19362 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
19363 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
19364 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
19365 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
19366 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
19367 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
19368 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
19369
a23b6e6a
DC
193702002-12-11 David Carlton <carlton@math.stanford.edu>
19371
19372 * gdb.c++/m-data.exp: Add test for members that shadow global
19373 variables: see PR gdb/804.
19374 * gdb.c++/m-data.cc: Ditto.
19375
6604731b
DJ
193762002-12-10 Daniel Jacobowitz <drow@mvista.com>
19377
19378 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
19379
de46ecd7
DC
193802002-12-06 David Carlton <carlton@math.stanford.edu>
19381
19382 * gdb.base/store.c: Don't declare functions static.
19383
27e829d0
AC
193842002-12-04 Andrew Cagney <ac131313@redhat.com>
19385
19386 * gdb.base/store.exp, gdb.base/store.c: New files.
19387
92806416
DJ
193882002-12-03 Daniel Jacobowitz <drow@mvista.com>
19389
19390 * gdb.base/selftest.exp: Update for current gdb.
19391
3bcbaac5
DJ
193922002-12-03 Daniel Jacobowitz <drow@mvista.com>
19393
19394 * gdb.base/maint.exp: Only dump symbols from one source file
19395 or objfile.
19396
f4f00b1f
DJ
193972002-12-03 Daniel Jacobowitz <drow@mvista.com>
19398
19399 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
19400 function call.
19401
f1c8a949
JB
194022002-11-25 Jim Blandy <jimb@redhat.com>
19403
19404 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
19405 function appearing in error message.
19406
9e297a97
DJ
194072002-11-21 Daniel Jacobowitz <drow@mvista.com>
19408
19409 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
19410
1f312e79
JJ
194112002-11-08 Jeff Johnston <jjohnstn@redhat.com>
19412
d63a86f8
RM
19413 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
19414 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
19415 should be in mi console format. This is part of fix for PR gdb/604.
19416
83c31e7d
FN
194172002-09-18 Fernando Nasser <fnasser@redhat.com>
19418
19419 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
19420 which explicitly prints the zero offset as "+0".
19421
322b3f65
DJ
194222002-10-22 Daniel Jacobowitz <drow@mvista.com>
19423
19424 * gdb.threads/schedlock.c (args): Make unsigned.
19425
194262002-10-21 Daniel Jacobowitz <drow@mvista.com>
19427
19428 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
19429 numbers. Allow "foo2|selected stack frame".
19430 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
19431 * gdb.asm/asmsrc2.s: Likewise.
19432 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
19433 comments.
19434 * gdb.asm/mips.inc: New file.
19435
5e2fe5b8
AF
194362002-10-18 Adam Fedor <fedor@gnu.org>
19437
19438 * gdb.base/default.exp: Update expected output to include 'ObjC'.
19439 * gdb.base/help.exp: Likewise.
19440
abe1a5d0
KB
194412002-10-17 Kevin Buettner <kevinb@redhat.com>
19442
19443 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
19444 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
19445
10abb1d4
JB
194462002-10-02 Jim Blandy <jimb@redhat.com>
19447
19448 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
19449
1f609b42
AC
194502002-10-01 Andrew Cagney <ac131313@redhat.com>
19451
19452 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
19453 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
19454 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
19455 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
19456 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
19457 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
19458 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
19459
0aee02e4
AC
194602002-09-29 Andrew Cagney <ac131313@redhat.com>
19461
19462 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
19463 * mi0-disassemble.exp, mi0-eval.exp: Delete.
19464 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
19465 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
19466 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
19467 * mi0-var-block.exp, mi0-var-child.exp: Delete.
19468 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 19469
6fde09ad
KB
194702002-09-27 Kevin Buettner <kevinb@redhat.com>
19471
19472 * gdb.base/annota1.exp (info break): Make directory components of
19473 path optional since not all compilers emit this debug information.
19474
889bf7c5
PA
19475 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
19476 step ends up stepping out of the function instead of stopping on
19477 the epilogue.
6fde09ad 19478
9e8aab75
KS
194792002-09-26 Keith Seitz <keiths@redhat.com>
19480
19481 * lib/insight-support.exp (gdbtk_start): Figure out where
19482 the insight executable is based on where gdb is. Use this
19483 executable to start insight instead of gdb.
19484
e36180d7
AC
194852002-09-25 Andrew Cagney <cagney@redhat.com>
19486
19487 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
19488
9dd34b2b
AC
194892002-09-24 Andrew Cagney <ac131313@redhat.com>
19490
19491 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
19492 test_isolated_complaints.
19493 (test_empty_complaint): New function.
19494 (test_empty_complaints): New function. Check no output when no
19495 complaints.
d63a86f8 19496
dea97812
KB
194972002-09-19 Jim Blandy <jimb@redhat.com>
19498
a9c64011 19499 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 19500
54951bd7
AC
195012002-09-19 Andrew Cagney <ac131313@redhat.com>
19502
19503 * gdb.gdb/complaints.exp: New file.
19504
dec43320
AC
195052002-09-18 Andrew Cagney <ac131313@redhat.com>
19506
19507 * gdb.base/maint.exp: Check `help maint internal-warning'.
19508
e70d6e3f
DC
195092002-09-18 David Carlton <carlton@math.stanford.edu>
19510
19511 * gdb.c++/m-static.exp: Remove breakpoints depending on line
19512 numbers, and replace them by a single breakpoint after the
19513 constructors are all finished.
19514 Add test 4.
19515 * gdb.c++/m-static.cc: Add test 4.
19516 * gdb.c++/m-static.h: New file.
19517 * gdb.c++/m-static1.cc: New file.
19518
19519 * gdb.c++/printmethod.exp: New file.
19520 * gdb.c++/printmethod.cc: New file.
19521
19522 * gdb.c++/pr-574.exp: New file.
19523 * gdb.c++/pr-574.cc: New file.
19524
afb5c968
CV
195252002-09-18 Corinna Vinschen <vinschen@redhat.com>
19526
19527 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
19528 embedded targets which never actually exit.
19529
31e45dee
FN
195302002-09-18 Fernando Nasser <fnasser@redhat.com>
19531
19532 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
19533 "don't step after run" as unresolved or unsupported, instead of xfail.
19534
a283c5a1
CV
195352002-09-18 Corinna Vinschen <vinschen@redhat.com>
19536
19537 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
19538 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
19539 Add newline to expected string in "step out of main (status wrapper)"
19540 case.
19541
11350d2a
CV
195422002-09-18 Corinna Vinschen <vinschen@redhat.com>
19543
19544 * lib/gdb.exp (rerun_to_main): Allow restarting application.
19545 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
19546
0deec7d6
TT
195472002-09-17 Tom Tromey <tromey@redhat.com>
19548
19549 * gdb.base/printcmds.exp (test_print_string_constants): Expect
19550 \000, not \0, in double-quoted string.
19551
b2b4a1b5
CV
195522002-09-14 Corinna Vinschen <vinschen@redhat.com>
19553
c9d37158 19554 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
19555 string after running the commands execution on breakpoint tests.
19556
1c56143a
CV
195572002-09-13 Corinna Vinschen <vinschen@redhat.com>
19558
19559 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
19560
37f8da45
JB
195612002-09-12 Joel Brobecker <brobecker@gnat.com>
19562
19563 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
19564
08b468e0
KS
195652002-09-10 Keith Seitz <keiths@redhat.com>
19566
19567 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
19568 runto proc.
19569 (mi_run_to_main): Use mi_runto.
19570 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
19571
dc360f58
KS
195722002-09-10 Keith Seitz <keiths@redhat.com>
19573
19574 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
19575 regexp for stopping at main. Could have multiple event notifications.
19576 Don't assume that main was declared with no parameters.
19577 (mi_next): Use mi_step_to.
19578 (mi_step): Use mi_next_to.
19579
ce3abcfb
CV
195802002-09-09 Corinna Vinschen <vinschen@redhat.com>
19581
19582 * gdb.base/default.exp: Fix expected string in `info float' test.
19583
d1f5b980
BE
195842002-09-09 Ben Elliston <bje@redhat.com>
19585
19586 * config/mips.exp: Update comments.
19587 * config/mips-idt.exp: Likewise.
19588 * config/nind.exp: Likewise.
19589 * config/slite.exp: Likewise.
19590 * config/sparclet.exp: Likewise.
19591 * config/udi.exp: Likewise.
19592 * config/vx.exp: Likewise.
19593 * config/vxworks29k.exp: Likewise.
19594
2f71430b
JB
195952002-09-05 Jim Blandy <jimb@redhat.com>
19596
19597 * gdb.threads/killed.exp: Fix test failure message.
19598
7ddebc7e
KS
195992002-09-04 Keith Seitz <keiths@redhat.com>
19600
19601 * lib/mi-support.exp: Update copyright.
19602 (mi_gdb_test): Increase the priority of the expected pattern
19603 so that it matches gdb_test.
19604
0ae67eb3
KS
196052002-09-03 Keith Seitz <keiths@redhat.com>
19606
19607 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
19608 Use integer comparison instead of string comparison for testing
19609 whether binary was built.
19610
38fc42c8
JB
196112002-09-03 Jim Blandy <jimb@redhat.com>
19612
19613 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
19614
b6ff0e81
JB
196152002-08-29 Jim Blandy <jimb@redhat.com>
19616
19617 * gdb.threads/pthreads.exp: Move the portable thread compilation
19618 code into a function in lib/gdb.exp, and call that from here.
19619 * lib/gdb.exp (gdb_compile_pthreads): New function.
19620
07c98896
KS
196212002-08-29 Keith Seitz <keiths@redhat.com>
19622
19623 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
19624 expect_out so that callers can get at it.
19625
0312286c
DJ
196262002-08-23 Daniel Jacobowitz <drow@mvista.com>
19627
19628 * gdb.threads/print-threads.c: New file.
19629 * gdb.threads/print-threads.exp: New file.
19630 * gdb.threads/schedlock.c: New file.
19631 * gdb.threads/schedlock.exp: New file.
19632
dd039bc4
EZ
196332002-08-22 Elena Zannoni <ezannoni@redhat.com>
19634
a9c64011
AS
19635 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
19636 not altivec.c.
dd039bc4 19637
1f36144c
MK
196382002-08-17 Mark Kettenis <kettenis@gnu.org>
19639
19640 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
19641 targets. The problem should be fixed now.
19642
16057ec7 196432002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
19644
19645 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
19646 2002-07-24 change that removes final dots from error messages.
19647
3c1499ad
TT
196482002-08-13 Tom Tromey <tromey@redhat.com>
19649
19650 * gdb.base/readline.exp: New file.
19651
a20ce2c3
AC
196522002-08-01 Andrew Cagney <ac131313@redhat.com>
19653
19654 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
19655 supress message.
19656
db034ac5
AC
196572002-08-01 Andrew Cagney <cagney@redhat.com>
19658
19659 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
19660 CHILL_FOR_TARGET and CHILL_LIB.
19661 * configure.in (configdirs): Remove gdb.chill.
19662 * configure: Regenerate.
19663 * lib/gdb.exp: Obsolete references to chill.
19664 * gdb.fortran/types.exp: Ditto.
19665 * gdb.fortran/exprs.exp: Ditto.
19666
3e000b18
KB
196672002-07-30 Kevin Buettner <kevinb@redhat.com>
19668
19669 * gdb.base/shlib-call.exp (additional_flags): Conditionally
19670 set Irix-specific compile and link flags.
19671
28f4966b
KB
196722002-07-29 Kevin Buettner <kevinb@redhat.com>
19673
19674 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
19675 source files. The ``-o'' option doesn't work with the ``-E'' option
19676 when using the Irix compiler.
19677
46c0d5a6
DJ
196782002-07-19 Daniel Jacobowitz <drow@mvista.com>
19679
19680 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
19681 Improve support for reusing an exec file. Copy exec file
19682 to target, and run gdbserver on the target instead of on the host.
19683
eecf4bed
JB
196842002-07-18 Jim Blandy <jimb@redhat.com>
19685
0f815cdf
JB
19686 * gdb.base/ending-run.exp: Don't expect to see the program end in
19687 some orderly fashion when we're running on a real stand-alone
19688 board.
19689
eecf4bed
JB
19690 * gdb.base/interrupt.exp: Correct logic for skipping tests on
19691 targets that don't support interrupts.
19692
52d309e4
JB
196932002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
19694
19695 * gdb.base/attach.exp: Add patterns to match output from /proc-based
19696 systems.
19697 Move comments in expect statements to inside the actions, so that they
19698 don't get matched against.
19699
ff683d9e
MK
197002002-07-10 Mark Kettenis <kettenis@gnu.org>
19701
19702 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
19703 function when asleep" test.
19704
b5356753
AC
197052002-07-10 Andrew Cagney <ac131313@redhat.com>
19706
19707 * gdb.base/page.exp: Rewrite to handle problems with very long
19708 `info set' output. Update copyright.
19709
6aa4d13a
AC
197102002-06-26 Andrew Cagney <ac131313@redhat.com>
19711
19712 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
19713 gdb.threads-hp.
19714 * gdb.hp/configure: Regenerate.
19715 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
19716 * gdb.hp/gdb.threads-hp/configure: Delete file.
19717 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
19718
8cf8c2b8
AC
197192002-06-22 Andrew Cagney <ac131313@redhat.com>
19720
19721 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
19722 setlocale, bindtextdomain and textdomain.
19723
6827a8f8
JB
197242002-06-11 Jim Blandy <jimb@redhat.com>
19725
919d772c
JB
19726 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
19727 preprocessor macro information is present.
19728
6827a8f8
JB
19729 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
19730 tests.
19731
c15b0d21
MS
197322002-06-06 Michael Snyder <msnyder@redhat.com>
19733
c5984d70
MS
19734 * gdb.base/overlays.exp: Record addresses of overlay
19735 functions in TCL variables rather than in GDB variables,
19736 to avoid having GDB convert them to pointers (with loss
19737 of information).
19738
d63a86f8 19739 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 19740 default linker script changes.
c15b0d21
MS
19741 * gdb.base/long_long.exp: Add check for sizeof (long double).
19742
be26fe0d
ML
197432002-06-06 Michal Ludvig <mludvig@suse.cz>
19744
19745 * gdb.asm/asm-source.exp: Add x86-64 target.
19746 * gdb.asm/x86_64.inc: New.
d63a86f8 19747
258093ca 197482002-05-30 Michael Chastain <mec@shout.net>
258093ca 19749
4b3153f1 19750 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
19751 * gdb.c++/m-static.cc: New file.
19752 * gdb.c++/m-static.exp: New file.
19753
241264c6
MS
197542002-05-28 Michael Snyder <msnyder@redhat.com>
19755
19756 * gdb.base/call-ar-st.exp: Allow for reduced floating point
19757 precision.
19758
9bba8c8f 197592002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 19760
4b3153f1 19761 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
19762 * gdb.c++/m-data.cc: New file.
19763 * gdb.c++/m-data.exp: New file.
19764
197652002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 19766
4b3153f1 19767 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 19768 * gdb.c++/try_catch.cc: New file.
d63a86f8 19769 * gdb.c++/try_catch.exp: New file.
9bba8c8f 19770
def1b996
MC
197712002-05-27 Michael Chastain <mec@shout.net>
19772
19773 * gdb.c++/local.exp: Accept more nested types in output.
19774
522ba268
MC
197752002-05-26 Michael Chastain <mec@shout.net>
19776
19777 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
19778
277254ba
MS
197792002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
19780
19781 * lib/gdb.exp (gdb_wrapper_init): Just because
19782 gdb_wrapper_file exists, this does not mean that the file
19783 should not be rebuilt. That is what gdb_wrapper_initialized
19784 is for.
19785 (default_gdb_init): Reset gdb_wrapper_initialized.
19786
b61a8733
MS
197872002-05-23 Michael Snyder <msnyder@redhat.com>
19788
d63a86f8 19789 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
19790 the precision of the floating point test results.
19791 * gdb.base/call-rt-st.exp: Ditto.
19792
b61a8733
MS
19793 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
19794 * gdb.base/call-rt-st.exp: Ditto.
19795
56f6e910
MC
197962002-05-19 Michael Chastain <mec@shout.net>
19797
19798 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
19799
ad0b0016
EZ
198002002-05-19 Elena Zannoni <ezannoni@redhat.com>
19801
a9c64011
AS
19802 * configure.in (configdirs): Add gdb.arch.
19803 * configure: Regenerate.
ad0b0016 19804
f617d2b6
JB
198052002-05-17 Jim Blandy <jimb@redhat.com>
19806
19807 * gdb.base/completion.exp: Recognize the more detailed error
19808 messages produced by the macro expander's lexical analyzer.
19809
eac2a696
EZ
198102002-05-14 Elena Zannoni <ezannoni@redhat.com>
19811
a9c64011
AS
19812 * gdb.arch/altivec-abi.c: New file.
19813 * gdb.arch/altivec-abi.exp: New file.
19814 * gdb.arch/altivec-regs.c: New file.
19815 * gdb.arch/altivec-regs.exp: New file.
eac2a696 19816
2fdde8f8
DJ
198172002-05-14 Daniel Jacobowitz <drow@mvista.com>
19818
19819 * gdb.base/maint.exp (maint print type): Update for new type
19820 structure.
d63a86f8 19821
e31f1a7c
EZ
198222002-05-14 Elena Zannoni <ezannoni@redhat.com>
19823
19824 * gdb.arch: New directory.
19825 * gdb.arch/configure.in: New file.
19826 * gdb.arch/configure: New file.
19827 * gdb.arch/Makefile.in: New file.
19828
db589741
CV
198292002-05-13 Corinna Vinschen <vinschen@redhat.com>
19830
19831 * gdb.asm/asm-source.exp: Add v850 as supported target.
19832 * gdb.asm/v850.inc: New file.
19833
8ce2a7dc
DJ
198342002-05-13 Daniel Jacobowitz <drow@mvista.com>
19835
19836 * gdb.c++/annota2.exp (annotate-quit): Add comment.
19837
df763c7f
DJ
198382002-05-12 Daniel Jacobowitz <drow@mvista.com>
19839
19840 * gdb.base/break.exp: Check 'break "marker2"'.
19841
377daeed
MS
198422002-05-10 Michael Snyder <msnyder@redhat.com>
19843
19844 * gdb.base/long_long.exp: Fix typo.
19845
c4b7bc2b
JB
198462002-05-10 Jim Blandy <jimb@redhat.com>
19847
ecac9a4e
JB
19848 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
19849 a bug.
19850
c4b7bc2b
JB
19851 * gdb.base/printcmds.exp (test_integer_literals_rejected):
19852 Recognize more detailed error message produced by the macro
19853 expander's lexical analyzer.
19854 * lib/gdb.exp (test_print_reject): Same.
19855
e71019a1
MK
198562002-05-09 Mark Kettenis <kettenis@gnu.org>
19857
19858 * gdb.c++/method.exp: Fix typo.
19859
fedfc8e6
MS
198602002-05-08 Michael Snyder <msnyder@redhat.com>
19861
166a1957
MS
19862 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
19863 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 19864 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
19865 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
19866 Add iftarget clause for strongarm.
d63a86f8 19867
f1c47eb2
MS
198682002-05-06 Michael Snyder <msnyder@redhat.com>
19869
cb9a9d3e
MS
19870 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
19871 (gdb_continue_to_end): Accept output from status wrapper.
19872 * gdb.base/ending-run.exp: Add case for output from status wrapper.
19873 Clean up fail messages to match pass messages.
19874
f1c47eb2
MS
19875 Enable the "needs_status_wrapper" testsuite feature.
19876 * lib/gdb.exp (gdb_wrapper_init): New procedure.
19877 (gdb_compile): Conditionally call gdb_wrapper_init.
19878 * gdb.base/a2-run.exp: Recognize output from status wrapper.
19879 * gdb.c++/method.exp: Recognize output from status wrapper.
19880
6079c749
BE
198812002-05-06 Ben Elliston <bje@redhat.com>
19882From Graydon Hoare <graydon@redhat.com>
19883
19884 * config/sid.exp: Include support for "rawsid" protocol.
19885
188baff3
JB
198862002-05-03 Jim Blandy <jimb@redhat.com>
19887
19888 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
19889 * gdb.c++/hang3.C: New file.
19890
b9c07f0f
AC
198912002-05-04 Andrew Cagney <ac131313@redhat.com>
19892
19893 * gdb.base/default.exp: Remove obsolete code.
19894 * gdb.c++/misc.exp: Ditto. Update copyright.
19895 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
19896 * gdb.base/whatis.exp: Ditto. Update copyright.
19897 * gdb.base/scope.exp: Ditto. Update copyright.
19898 * gdb.base/ptype.exp: Ditto. Update copyright.
19899 * gdb.base/printcmds.exp: Ditto. Update copyright.
19900 * gdb.base/opaque.exp: Ditto. Update copyright.
19901 * gdb.base/list.exp: Ditto.
19902 * gdb.base/funcargs.exp: Ditto. Update copyright.
19903 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
19904 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
19905 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
19906 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
19907 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
19908 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
19909
5c7a0397
MS
199102002-05-02 Michael Snyder <msnyder@redhat.com>
19911
d6dcc264 19912 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
19913 * gdb.base/long_long.exp: Add xscale target.
19914 * gdb.base/default.exp: Add xscale target.
19915
eb7f1c48
JB
199162002-05-01 Jim Blandy <jimb@redhat.com>
19917
19918 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
19919 gdb.c++/hang.exp: New test.
19920
a6befae8
FF
199212002-05-01 Fred Fish <fnf@redhat.com>
19922
19923 * gdb.base/completion.exp: Handle completions of "./Make" for
19924 more than one completion possibility, as is the case when we
19925 build and test in the source tree.
19926
0a310277
AG
199272002-04-29 Anthony Green <green@redhat.com>
19928
19929 * gdb.java/jmisc1.exp: New file.
19930 * gdb.java/jmisc2.exp: New file.
19931
6ff9af88
DJ
199322002-04-24 Daniel Jacobowitz <drow@mvista.com>
19933
19934 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
19935
96b3d632
EZ
199362002-04-23 Elena Zannoni <ezannoni@redhat.com>
19937
19938 * gdb.base/help.exp: Change 'help status' to allow for target
19939 dependent output differences.
19940
5019bb54
MC
199412002-04-22 Michael Chastain <mec@shout.net>
19942
19943 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
19944
a805a116
MC
199452002-04-22 Michael Chastain <mec@shout.net>
19946
19947 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
19948
a1706bfd
DM
199492002-04-17 David S. Miller <davem@redhat.com>
19950
19951 * gdb.asm/sparc64.inc: New file.
19952 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
19953
a73a20a2
EZ
199542002-04-19 Elena Zannoni <ezannoni@redhat.com>
19955
19956 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
19957 instruction file directly into the build tree. Clean up at end of
19958 test.
19959
ba678339
DM
199602002-04-18 David S. Miller <davem@redhat.com>
19961
19962 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
19963 handle 64-bit platforms correctly.
19964 * gdb.base/maint.exp: Likewise.
19965
b03399da
KB
199662002-04-18 Kevin Buettner <kevinb@redhat.com>
19967
19968 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
19969 ``-fpic'' when compiling files comprising a shared library, but
19970 it does need additional linker flags in order to find shared
19971 libraries at run time.
19972
e2004992
KB
199732002-04-18 Kevin Buettner <kevinb@redhat.com>
19974
19975 * gdb.base/cvexpr.c (use): New function.
19976 (main): Invoke use() on all global variables to prevent
19977 some linkers from deleting these otherwise unused symbols.
19978
d8937120
MC
199792002-04-17 Michael Chastain <mec@shout.net>
19980From David S. Miller <davem@redhat.com>
19981
19982 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
19983 handle 64-bit platforms correctly.
19984
ffd61a58
MS
199852002-04-12 Michael Snyder <msnyder@redhat.com>
19986From Jim Blandy <jimb@redhat.com>
a9c64011 19987 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
19988 script can handle this instead.
19989 * gdb.base/bar.c (barx): Same.
19990 * gdb.base/baz.c (bazx): Same.
19991 * gdb.base/grbx.c (grbxx): Same.
19992
19993 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
19994 manager doesn't automatically unmap overlays unnecessarily.
19995
6b8426a6
MH
199962002-04-10 Martin M. Hunt <hunt@redhat.com>
19997
19998 * gdb.base/ending-run.exp: Fix pattern for Mips targets
19999 stepping out of main.
20000
34af4875
MC
200012002-04-09 Michael Chastain <mec@shout.net>
20002
20003 * gdb.c++/local.cc (main): Move call to marker1() inside nested
20004 scope so that the nested scope tests will make sense.
20005 * gdb.c++/local.exp: Write patterns that actually work with gcc
20006 (the HP patterns "were never known to work with gcc").
20007 Keep the old aCC patterns too.
20008
2d1676a0
DJ
200092002-04-09 Daniel Jacobowitz <drow@mvista.com>
20010
20011 * gdb.base/attach.exp: Correct target board test.
20012
3a63e3f9
MC
200132002-04-08 Michael Chastain <mec@shout.net>
20014
20015 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
20016 in a const method. Add some xfail and fail cases for configurations
20017 that do not emit the "const ...".
20018
f18dabd2
MC
200192002-04-07 Michael Chastain <mec@shout.net>
20020
20021 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
20022 Accept "A * const" and "const A * const" as type of "this".
20023 Fix spelling of getFunky throughout. Make messages uniform.
20024
0fcddd82
EZ
200252002-04-07 Elena Zannoni <ezannoni@redhat.com>
20026
a9c64011 20027 Work around for PR gdb/285:
0fcddd82
EZ
20028 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
20029
16a8534a
EZ
200302002-04-07 Elena Zannoni <ezannoni@redhat.com>
20031
20032 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
20033 instructions file at run time instead of configure time.
20034 Sometimes we run the test in a directory that is not the one we
20035 configured in.
20036 * gdb.asm/configure.in: Delete creation of symlink.
20037 * gdb.asm/configure: Regenerate.
20038
24181d81
JB
200392002-04-05 J. Brobecker <brobecker@gnat.com>
20040
20041 * gdb.gdb/xfullpath.exp: New test, to exercise the new
20042 xfullpath () function.
20043
7cdb7107
DJ
200442002-04-04 Daniel Jacobowitz <drow@mvista.com>
20045
20046 * gdb.asm/Makefile.in: Correct dependencies.
20047
20048 * gdb.asm/powerpc.inc: New file.
20049 * gdb.asm/asm-source.exp: Add PowerPC.
20050 * gdb.asm/configure.in: Likewise.
20051 * gdb.asm/configure: Regenerated.
20052
a7d17088
DJ
200532002-04-04 Daniel Jacobowitz <drow@mvista.com>
20054
20055 * gdb.base/relocate.exp: New file.
20056 * gdb.base/relocate.c: New file.
20057
cd721503
FF
200582002-04-04 Fred Fish <fnf@redhat.com>
20059
20060 * gdb.base/step-test.exp: Update comment regarding stopping in
20061 memcpy/bcopy calls inserted as part of the compiler runtime.
20062
b22ad7a7
MS
200632002-04-04 Michael Snyder <msnyder@redhat.com>
20064
20065 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
20066
5f279fa6
DJ
200672002-04-03 Daniel Jacobowitz <drow@mvista.com>
20068
20069 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
20070 (gdb_expect): Remove $notransfer hack.
20071
dd0fd3ce
DJ
200722002-04-02 Daniel Jacobowitz <drow@mvista.com>
20073
20074 * gdb.c++/classes.exp ("calling method for small class"): Match
20075 updated register output.
20076
1e50cda1
DJ
200772002-03-30 Daniel Jacobowitz <drow@mvista.com>
20078
20079 Fix PR gdb/452
20080 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
20081 when finished. Make gdb_file_cmd send "exec-file" when
20082 appropriate.
20083
24015922
DJ
200842002-03-30 Daniel Jacobowitz <drow@mvista.com>
20085
20086 * gdb.base/attach.exp: Remove extra setup_xfail.
20087
dd7dfd64
MS
200882002-03-26 Michael Snyder <msnyder@redhat.com>
20089
20090 * gdb.base/default.exp: Add tests for dump, append, and restore.
20091 * gdb.base/help.exp: Add tests for dump, append, and restore.
20092 * gdb.base/dump.exp: New file, test dump, append and restore.
20093 * gdb.base/dump.c: New file.
20094
48b2f8d7
MS
200952002-03-27 Michael Snyder <msnyder@redhat.com>
20096
d63a86f8 20097 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
20098 clean-ups in help messages.
20099
05b4d525
FF
201002002-03-26 Fred Fish <fnf@redhat.com>
20101
20102 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
20103 have debugging info for those functions and the compiler uses them
20104 internally to copy structs around.
20105
d7679631
FF
201062002-03-26 Fred Fish <fnf@redhat.com>
20107
20108 * gdb.base/list.exp: Revert the change made yesterday and add note
20109 about why we don't list the default lines for remote targets.
20110
523ac3f9
MS
201112002-03-25 Michael Snyder <msnyder@redhat.com>
20112
20113 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
20114
754b2b8d
FF
201152002-03-25 Fred Fish <fnf@redhat.com>
20116
20117 * gdb.base/list.exp: This test works on remote targets so remove
20118 the short circuit for remote targets. Update copyright.
20119
33c3e192
FF
201202002-03-25 Fred Fish <fnf@redhat.com>
20121
20122 * gdb.base/attach.exp: Fix logic error that was suppressing this
20123 test for all non hppa*-*-hpux* targets, instead of the hp target.
20124 Move comments closer to the suppression point. Also now need to
20125 check that we are running natively.
20126
d43e73ee
MS
201272002-03-22 Michael Snyder <msnyder@redhat.com>
20128
882c8f02
MS
20129 * gdb.base/default.exp: Add test for gcore. Update copyright.
20130 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 20131
04c12f60
FF
201322002-03-06 Fred Fish <fnf@redhat.com>
20133
20134 * gdb.base/funcargs.c: Remove extraneous ';' character.
20135 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
20136
b43df995
MC
201372002-03-04 Michael Chastain <mec@shout.net>
20138
20139 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
20140 accommodate gcc v3 function signature.
20141 * gdb.mi/mi0-var-cmd-exp: Ditto.
20142
92362027
AC
201432002-02-24 Andrew Cagney <ac131313@redhat.com>
20144
20145 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
20146 ``GNU/Linux'' or ``Linux kernel''
20147 * testsuite/gdb.threads/pthreads.c: Ditto.
20148
258ad32d
MC
201492002-02-24 Michael Chastain <mec@shout.net>
20150
20151 * gdb.threads/pthreads.c (thread1): Add a return statement.
20152 (thread2): Likewise.
20153 (foo): Likewise.
20154
04c3b3d4
MC
201552002-02-23 Michael Chastain <mec@shout.net>
20156
20157 * gdb.threads/linux-dp.c (philosopher): Add a return statement
20158 to placate gcc.
20159
5a2a0a20
MC
201602002-02-23 Michael Chastain <mec@shout.net>
20161
20162 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
20163 test "ptype bint". The test passes on all my stabs configurations.
20164
a640f7fc
JB
201652002-02-21 Jim Blandy <jimb@redhat.com>
20166
27924826
JB
20167 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
20168 filename at a time, and watch for the ones we want to see.
20169
a640f7fc
JB
20170 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
20171 types of pointers to prototyped functions.
20172
edcc8c75
AC
201732002-02-20 Andrew Cagney <ac131313@redhat.com>
20174
20175 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
20176 signed, unsigned and straight char.
20177 (padding_char, padding_short, padding_int, padding_long,
20178 padding_long_long, padding_float, padding_double,
20179 padding_long_double): New global variables.
20180 (fill, fill_structs): New functions.
20181
20182 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
20183 for correctly sized writes. Update copyright.
20184 (get_valueof): New procedure.
20185 (get_sizeof): Call get_valueof.
20186 (check_valueof): New procedure.
20187 (check_padding): New procedure.
20188
ac57ea44
MC
201892002-02-20 Michael Chastain <mec@shout.net>
20190
20191 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
20192 to setup_xfail. Document some of the remaining calls.
20193
7a10c941
MC
201942002-02-18 Michael Chastain <mec@shout.net>
20195
20196 * gdb.c++/userdef.exp: Update copyright year.
20197
fb8acdcc
DJ
201982002-02-18 Daniel Jacobowitz <drow@mvista.com>
20199
20200 * gdb.c++/userdef.exp: Test overloaded operators properly.
20201 Remove xfails.
20202
fda6ae12
MS
202032002-02-14 Michael Snyder <msnyder@redhat.com>
20204
20205 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
20206
676a0442
DJ
202072002-02-14 Daniel Jacobowitz <drow@mvista.com>
20208
20209 * gdb.base/a2-run.exp: Check for a remote target properly.
20210 * gdb.base/annota1.exp: Likewise.
20211 * gdb.base/list.exp: Likewise.
20212 * gdb.base/reread.exp: Likewise.
20213 * gdb.base/scope.exp: Likewise.
20214 * gdb.base/shlib-call.exp: Likewise.
20215 * gdb.base/term.exp: Likewise.
20216 * gdb.c++/annota2.exp: Likewise.
20217
78b4f468
RE
202182002-02-13 Richard Earnshaw <rearnsha@arm.com>
20219
20220 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
20221
9a81ba51
MC
202222002-02-10 Michael Chastain <mec@shout.net>
20223
20224 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
20225 (call_after_alloca): Ditto.
20226
004af6c7
DJ
202272002-02-10 Daniel Jacobowitz <drow@mvista.com>
20228
20229 * gdb.base/ending-run.exp: Guard "cont" test with
20230 gdb_skip_stdio_test.
20231
37225f62
JB
202322002-02-06 Jim Blandy <jimb@redhat.com>
20233
20234 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
20235 from here...
20236 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
20237 To here. Disable this test on non-HP platforms. Add big comment.
20238
fe6fdd96
MS
202392002-02-04 Michael Snyder <msnyder@redhat.com>
20240
20241 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
20242 other than d10v and m32r.
20243
036fad3f
RE
202442002-02-02 Richard Earnshaw <rearnsha@arm.com>
20245
20246 * gdb.base/default.exp: Rewrite test patterns to reduce time
20247 taken to match them.
20248
7148ab62
DJ
202492002-01-30 Daniel Jacobowitz <drow@mvista.com>
20250
20251 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
20252 Allow a start function above main.
20253 * gdb.threads/linux-dp.exp: Fix copyright date.
20254
396cc255
DJ
202552002-01-30 Daniel Jacobowitz <drow@mvista.com>
20256
a9c64011
AS
20257 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
20258 (check_philosopher_stack): Check for manager thread before checking
20259 for a just-starting thread.
396cc255 20260
f038d31b
DJ
202612002-01-30 Daniel Jacobowitz <drow@mvista.com>
20262
20263 From Neil Booth <neil@daikokuya.demon.co.uk>:
20264 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
20265 warnings.
20266
b3ff9d9a
FF
202672002-01-21 Fred Fish <fnf@redhat.com>
20268
20269 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
20270 not caller.
20271
39ad761d
JB
202722002-01-21 Jim Blandy <jimb@redhat.com>
20273
20274 * gdb.base/reread.exp: Check that GDB properly re-reads the
20275 executable file when it changes while no inferior is running.
20276
aaf320fa
FF
202772002-01-21 Fred Fish <fnf@redhat.com>
20278
a9c64011
AS
20279 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
20280 optionally accept the "shlib events" variation.
aaf320fa 20281
808a31f5
JB
202822002-01-21 Jim Blandy <jimb@redhat.com>
20283
20284 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
20285 call `fflush' after every `printf', so that the output is produced
20286 at predictable points, regardless of whatever buffering does (or
20287 doesn't) take place.
20288 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
20289 at different points.
20290
4420d5e2
DJ
202912002-01-20 Daniel Jacobowitz <drow@mvista.com>
20292
20293 * gdb.c++/inherit.exp: Update copyright years.
20294 * gdb.c++/method.exp: Likewise.
20295
3e36a0f4
DJ
202962002-01-20 Daniel Jacobowitz <drow@mvista.com>
20297
20298 * gdb.c++/classes.exp: Update for improved v3 support and skipping
20299 artificial methods/arguments.
20300 * gdb.c++/derivation.exp: Likewise.
20301 * gdb.c++/inherit.exp: Likewise.
20302 * gdb.c++/method.exp: Likewise.
20303 * gdb.c++/virtfunc.exp: Likewise.
20304
b4ceaee6
AC
203052002-01-18 Andrew Cagney <ac131313@redhat.com>
20306
20307 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
20308 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
20309 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
20310 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
20311 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
20312 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
20313
ecace851
JB
203142002-01-17 Jim Blandy <jimb@redhat.com>
20315
20316 * gdb.asm/asm-source.exp (info symbol): Take another shot at
20317 anchoring the pattern matching the entry point symbol's name.
20318
375fc983
AC
203192002-01-17 Andrew Cagney <ac131313@redhat.com>
20320
20321 * gdb.base/maint.exp: Update ``maint internal-error'' to match
20322 continue/quit query. Update copyright.
20323
fe6fdd96
MS
203242002-01-14 Michael Snyder <msnyder@redhat.com>
20325
20326 * gdb.base/gcore.exp: Remove extra debugging output.
20327
e017c81f
DJ
203282002-01-13 Daniel Jacobowitz <drow@mvista.com>
20329
20330 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
20331 for slightly dubious v2 mangled string.
20332
37ab3bf8
DJ
203332002-01-13 Daniel Jacobowitz <drow@mvista.com>
20334
20335 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
20336
1bc05c3a 203372002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 20338
1bc05c3a 20339 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 20340
1bc05c3a
JM
20341 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
20342 constructors.
20343 * gdb.c++/derivation.exp: Likewise.
20344 * gdb.c++/templates.exp: Likewise.
20345 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 20346
1bc05c3a
JM
203472002-01-10 Michael Snyder <msnyder@redhat.com>
20348
20349 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 20350
a911c360
MS
203512002-01-08 Michael Snyder <msnyder@redhat.com>
20352
20353 * gdb.base/gcore.exp: New test for generate-core-file command.
20354 * gdb.base/gcore.c: Testcase for above.
20355 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
20356
ea2119ec
JM
203572002-01-08 Jason Merrill <jason@redhat.com>
20358
20359 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
20360
68203136
FF
203612002-01-07 Fred Fish <fnf@redhat.com>
20362
20363 * gdb.c++/overload.exp: Remove unconditional xfails for:
20364 print foo_instance1.overloadargs(1)
20365 print foo_instance1.overloadargs(1, 2)
20366 print foo_instance1.overloadargs(1, 2, 3)
20367 print foo_instance1.overloadargs(1, 2, 3, 4)
20368 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
20369 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
20370 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
20371 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
20372 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
20373 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
20374 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
20375 print foo_instance1.overload1arg()
20376 print foo_instance1.overload1arg((char)arg2)
20377 print foo_instance1.overload1arg((signed char)arg3)
20378 print foo_instance1.overload1arg((unsigned char)arg4)
20379 print foo_instance1.overload1arg((int)arg7)
20380 print foo_instance1.overload1arg((unsigned int)arg8)
20381 print foo_instance1.overload1arg((float)arg11)
20382 print foo_instance1.overload1arg((double)arg12)
d63a86f8 20383
21b9b5b1
MS
203842002-01-07 Michael Snyder <msnyder@redhat.com>
20385
20386 * gdb.base/huge.exp: New test. Print a very large target data object.
20387 (skip_huge_test): New test variable. Define if you want to skip this
20388 test. The test reads an 8 megabyte data object from the target, so it
20389 might be very time consuming on remote targets with a slow connection.
20390 * gdb.base/huge.c: New file. Test case for above.
20391
725f922e
FF
203922002-01-07 Fred Fish <fnf@redhat.com>
20393
20394 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
20395 g_instance.bfoo, and g_instance.cfoo.
20396
889bf7c5 203972002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 20398
889bf7c5
PA
20399 * gdb.base/break.c (multi_line_if_conditional): New function.
20400 (multi_ilne_while_conditional): Likewise.
20401 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
20402 IF or WHILE condition puts the breakpoint at the start of
20403 the condition.
f286b2c3 20404
634d57ec
JL
20405 * gdb.base/selftest.exp (backtrace through signal handler): Remove
20406 hppa*-*-hpux* expected failure.
20407 * gdb.base/structs.exp (do_function_calls): Similarly.
20408
20409 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
20410 watchpoints.
20411
9fbfe2dc
AC
204122002-01-06 Andrew Cagney <ac131313@redhat.com>
20413
20414 Fix PR gdb/66.
20415 * gdb.base/structs.exp: Replace skip for a29k with skip for
20416 gdb,cannot_call_functions.
20417 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
20418 * gdb.base/callfuncs.exp: Ditto.
20419 * gdb.base/call-rt-st.exp: Ditto.
20420 * gdb.base/call-strs.exp: Ditto.
20421 * gdb.base/callfwmall.exp: Ditto.
20422 * gdb.base/scope.exp: Obsolete xfail a29k.
20423 * gdb.c++/misc.exp: Ditto.
20424 * gdb.c++/cplusfuncs.exp: Ditto.
20425 * gdb.base/ptype.exp: Ditto.
20426 * gdb.base/printcmds.exp: Ditto.
20427 * gdb.base/opaque.exp: Ditto.
20428 * gdb.base/list.exp: Ditto.
20429 * gdb.base/funcargs.exp: Ditto.
20430 * gdb.base/default.exp: Ditto.
20431
8ddad156
MS
204322002-01-04 Michael Snyder <msnyder@redhat.com>
20433
ca4976a6 20434 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
20435 * gdb.base/maint.exp: Add tests for maint info sections options.
20436
1b074332
JL
20437Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
20438
20439 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
20440
7d159115
CV
204412001-12-20 Corinna Vinschen <vinschen@redhat.com>
20442
20443 * gdb.asm/arm.inc: New file.
20444 * gdb.asm/asm-source.exp: Add arm targets.
20445 * gdb.asm/configure.in: Ditto.
20446 * gdb.asm/configure: Recreated from configure.in.
20447
8fb87725
JL
20448Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
20449
afabe08c
JL
20450 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
20451 with HP's compiler.
20452 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
20453 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
20454 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
20455 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
20456
20457 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
20458 either HP's compilers or GCC.
20459
db521deb
JL
20460 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
20461 a SIGBUS or SIGSEGV.
20462
20463 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
20464
20465 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
20466 can be compiled with either HP's compiler or GCC.
20467
cfa88ab7
JL
20468 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
20469 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
20470 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
20471
ca344dff
JL
20472 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
20473 to match current gdb output. Update due to using auto-solib-limit
20474 for limiting instead of overloading auto-solib-add.
20475 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
20476 test program.
20477
3f3c6e55 20478 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
20479 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
20480 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
20481 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
20482 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
20483 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
20484 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
20485 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
20486 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
20487 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
20488 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
20489 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
20490 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 20491
8fb87725
JL
20492 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
20493 a SIGTRAP to the inferior.
20494
cf599fa7
CV
204952001-12-19 Corinna Vinschen <vinschen@redhat.com>
20496
20497 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
20498 Substitute call to target_link by call to gdb_compile.
20499
2cd045cd
JL
20500Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
20501
a9c64011
AS
20502 * gdb.base/break.exp: Fix HP specific search string when testing
20503 backtracing in a called function.
2cd045cd 20504
a9c64011
AS
20505 * gdb.base/constvars.exp: Only set lang to C++ if we're
20506 compiling the test with HP's compilers.
20507 * gdb.base/volatile.exp: Similarly.
2cd045cd 20508
99ebe9ac
JB
205092001-12-19 Jim Blandy <jimb@redhat.com>
20510
20511 * gdb.base/printcmds.exp: Expect the null character to be printed
20512 as '\0', and the '\013' to be printed as '\v'.
20513 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
20514 * gdb.base/setvar.exp: Same.
20515
b9891b29
JB
205162001-12-17 Jim Blandy <jimb@redhat.com>
20517
0eba65ab
JB
20518 * gdb.base/completion.exp: Rather than completing very long
20519 filenames, which can make the readline library produce output we
20520 don't recognize, cd to the directory first, and then complete
20521 using nice, short relative paths.
20522
6970b5b1
JB
20523 * gdb.base/completion.exp: On some systems, there is, in fact, a
20524 variable named `b' in scope, since GDB treats all static
a9c64011
AS
20525 variables as being in scope. So use `no_var_named_this'
20526 instead of `b'.
6970b5b1 20527
b9891b29 20528 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 20529 can't find the core file's registers as a failure.
b9891b29 20530
e6ccd35f
JSC
205312001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
20532
a9c64011
AS
20533 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
20534 test expect string more specific.
e6ccd35f 20535
105ba819
CV
205362001-12-13 Corinna Vinschen <vinschen@redhat.com>
20537
20538 * gdb.asm/asm-source.exp: Add support for xstormy16.
20539 * gdb.asm/configure.in: Ditto.
20540 * gdb.asm/configure: Rebuild.
20541 * gdb.asm/xstormy16.inc: New file.
20542
e9e79dd9
FF
205432001-12-10 Fred Fish <fnf@redhat.com>
20544
20545 * gdb.base/maint.exp: Update to match changes in type dumping code.
20546
347dc97d
JB
205472001-12-10 Jim Blandy <jimb@redhat.com>
20548
20549 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
20550 matching the entry point symbol's name at the beginning of the
20551 line.
347dc97d 20552
5178b9d6
DJ
205532001-12-07 Daniel Jacobowitz <drow@mvista.com>
20554
20555 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
20556 gdb.c++/inherit.exp, gdb.c++/method.exp,
20557 gdb.c++/namespace.exp, gdb.c++/templates.exp,
20558 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
20559 and class layout support.
20560
af890c52
DJ
205612001-12-07 Daniel Jacobowitz <drow@mvista.com>
20562
20563 * gdb.c++/classes.exp: Add test for static member function.
20564 * gdb.c++/misc.cc: Add class with static member function.
20565
7a345fb3
JB
205662001-12-07 Jim Blandy <jimb@redhat.com>
20567
f2e54a80 20568 If GDB says it can't find the struct the function returned, report
8032bf31
JB
20569 those tests as `unsupported'.
20570 * gdb.base/call-rt-st.exp (print_struct_call): New function.
20571 Rewrite subsequent tests to use it.
20572
20573 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
20574 those tests as `unsupported'.
20575 * gdb.base/structs.exp (call_struct_func): New function.
20576 (do_function_calls): Use call_struct_func to call the functions
20577 returning structs.
20578
0bc69509
JB
20579 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
20580 whether functions are prototyped or not, so we can't possibly pass
20581 arguments to t_float_values2 properly.
20582
7a345fb3
JB
20583 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
20584 value of `timeout' for targets other than the mips*tx39-*.
20585
edb6ede1
MS
205862001-12-06 Michael Snyder <msnyder@redhat.com>
20587
d63a86f8 20588 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
20589 and detect whether the start symbol has a leading underscore.
20590
2d842f13
JB
205912001-12-04 Jim Blandy <jimb@redhat.com>
20592
20593 * gdb.base/completion.exp: Clarify indentation.
20594
68550daf
JB
205952001-12-03 Jim Blandy <jimb@redhat.com>
20596
20597 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
20598 variables on the S/390, not `.word'.
20599
cd5195a8
JB
206002001-11-30 Jim Blandy <jimb@redhat.com>
20601
20602 Add assembly-source tests for s390-ibm-linux.
20603 * gdb.asm/s390.inc: New file.
20604 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
20605 the S/390 architecture.
a9c64011 20606 * gdb.asm/configure: Regenerated.
cd5195a8 20607
ca9efc90
MS
206082001-11-30 Michael Snyder <msnyder@redhat.com>
20609
20610 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
20611 next, info source, info sources, info line, global and static
20612 variables, and static functions.
20613 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
20614 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
20615 * gdb.asm/asmsrc1.s: Add a static function and some variables.
20616 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
20617 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
20618 (gdbasm_leave): Restore frame pointer.
20619 (gdbasm_startup): Copy stack set-up from crt0.S.
20620
d0e66976
FN
206212001-11-26 Fernando Nasser <fnasser@redhat.com>
20622
20623 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
20624 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
20625 to a local (non-static) variable. Copy tstruct.a to a static buffer
20626 and return a pointer to that buffer.
20627 * gdb.base/callfwmall.c (t_structs_a): Ditto.
20628
e2334072
MK
206292001-11-24 Mark Kettenis <kettenis@gnu.org>
20630
20631 * gdb.asm/configure.in: Fix recognition of ix86 target.
20632 * gdb.asm/configure: Regenerate.
20633
756caa3d
MS
206342001-11-21 Michael Snyder <msnyder@redhat.com>
20635
20636 * gdb.asm/sparc.inc: New file.
20637 * gdb.asm/asm-source.exp: Recognize sparc target.
20638 * gdb.asm/configure.in: Recognize sparc target.
20639 * gdb.asm/configure: Regenerate.
d63a86f8 20640
9a4d72d5
MS
206412001-11-21 Michael Snyder <msnyder@redhat.com>
20642
20643 * gdb.asm/m32r.inc: New file.
20644 * gdb.asm/asm-source.exp: Recognize m32r target.
20645 * gdb.asm/configure.in: Recognize m32r target.
20646 * gdb.asm/configure: Regenerate.
20647
a773d1cd
MS
206482001-11-20 Michael Snyder <msnyder@redhat.com>
20649
017ac23d
MS
20650 * gdb.asm/i386.inc: New file.
20651 * gdb.asm/asm-source.exp: Recognize ix86 target.
20652 * gdb.asm/configure.in: Recognize ix86 target.
20653 * gdb.asm/configure: Regenerate.
20654
a773d1cd
MS
20655 * gdb.c++/namespace.exp: Fix quotes in output messages.
20656
bb632afb
MS
206572001-11-14 Michael Snyder <msnyder@redhat.com>
20658
25d559ca 20659 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
20660 qualifier in a type cast expression, to designate an address
20661 in the instruction space (Harvard architecture).
20662
4749e309
MS
206632001-11-13 Michael Snyder <msnyder@redhat.com>
20664
20665 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
20666 Tests for expressions using 'const' and 'volatile'.
20667
25050984
CV
206682001-11-13 Corinna Vinschen <vinschen@redhat.com>
20669
20670 * gdb.asm/asm-sources.exp: Allow defining linker flags.
20671
1902c51f
DJ
206722001-11-12 Daniel Jacobowitz <drow@mvista.com>
20673
20674 * lib/mi-support.exp (mi_run_to_helper): Move comments
20675 outside of gdb_expect.
20676
dcf95b47
DJ
206772001-11-11 Daniel Jacobowitz <drow@mvista.com>
20678
20679 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
20680 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
20681 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
20682 mi0_run_to): New functions.
20683 * gdb.mi/mi-simplerun.exp: Use them.
20684 * gdb.mi/mi0-simplerun.exp: Likewise.
20685 * gdb.mi/mi-var-cmd.exp: Likewise.
20686 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 20687
45b074e1
AC
206882001-11-10 Andrew Cagney <ac131313@redhat.com>
20689
20690 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
20691 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
20692
bf50d346
AC
206932001-11-09 Andrew Cagney <ac131313@redhat.com>
20694
20695 * gdb.base/restore.exp: Include $expected value in restored test
20696 message.
20697
9383332c
AC
206982001-11-09 Andrew Cagney <ac131313@redhat.com>
20699
20700 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
20701 implemented.
20702
db62520a
MS
207032001-11-08 Michael Snyder <msnyder@redhat.com>
20704
20705 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
20706 Add pass/fail message for stop at breakpoint in call dummy function.
20707
b5703437
MS
207082001-11-07 Michael Snyder <msnyder@redhat.com>
20709
d63a86f8
RM
20710 * gdb.c++/templates.exp (test_template_breakpoints):
20711 If we get an overload menu, but it does not match what
760f6330 20712 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
20713 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
20714 making the whitespace optional. Argument for "new" may be
20715 "unsigned" as well as "unsigned int/long".
d63a86f8 20716 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
20717 making the whitespace optional. Also replace "(void) with
20718 "((void|)), making the keyword "void" optional.
d63a86f8 20719 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
20720 making the whitespace optional. Also replace "(void) with
20721 "((void|)), making the keyword "void" optional.
3bf40917
MS
20722 * gdb.base/callfuncs.c (t_float_values): This function must
20723 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 20724 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
20725 can be tested against both cases. Usually one case involves
20726 promotion of float to double, while the other does not.
20727 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
20728 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
20729 includes a stack frame for "start".
20730
c8ab4e6d
JB
207312001-11-05 Jim Blandy <jimb@redhat.com>
20732
20733 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
20734 pointers are 32 bits long, and that offsets of relocs are always
20735 stored in the data (REL-style), and not in the reloc entry itself
20736 (RELA-style).
20737 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
20738 stabs.
20739
3f08ced9
MS
207402001-11-01 Michael Snyder <msnyder@redhat.com>
20741
20742 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
20743 and regular expression operators by using quoting.
20744
cbfa24cd
MS
207452001-10-31 Michael Snyder <msnyder@redhat.com>
20746
20747 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
20748 depending on what the symbol table contains.
20749 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
20750 the output of the ptype command. Similarly, accept both "const &"
20751 and "const&".
20752
aaa68313
CV
207532001-10-31 Corinna Vinschen <vinschen@redhat.com>
20754
20755 * gdb.base/miscexprs.c (main): Add usage of preprocessor
20756 symbol `STORAGE' to allow to choose the storage class of
20757 the local datastructures.
20758 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
20759 compiler directive.
20760
91740388
MS
207612001-10-30 Michael Snyder <msnyder@redhat.com>
20762
20763 * gdb.base/jump.exp: Allow it to run for all targets.
20764
1b7c05e7
CV
207652001-10-29 Corinna Vinschen <vinschen@redhat.com>
20766
20767 * gdb.base/call-ar-st.c (print_double_array): Match for loop
20768 with new double_array size.
20769 (main): Change storage class of all local variables to static.
20770 Reduce size of double_array to 9.
20771 * gdb.base/call-ar-st.exp: Increase timeout value.
20772 Change expected output for double array to match new size in
20773 call-ar-st.c.
20774
36a22261
CV
207752001-10-29 Corinna Vinschen <vinschen@redhat.com>
20776
20777 * gdb.base/ending-run.exp: Create identical output when passing
20778 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 20779 Stormy16 target.
36a22261 20780
92b8ae91
MK
207812001-10-28 Mark Kettenis <kettenis@gnu.org>
20782
20783 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
20784 that we catch the expected failure under Linux/x86.
20785
cb135b83
OF
207862001-10-29 Orjan Friberg <orjanf@axis.com>
20787
20788 * gdb.base/setvar.exp: Escape curly braces.
20789 * gdb.stabs/weird.exp: Ditto.
20790
6884aa54
DJ
207912001-10-27 Daniel Jacobowitz <drow@mvista.com>
20792
20793 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
20794 * gdm.mi/mi0-hack-cli.exp: Likewise.
20795
0398c9aa
AC
207962001-10-25 Andrew Cagney <ac131313@redhat.com>
20797
20798 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
20799 messages.
20800
d20bf2e8
AC
208012001-10-21 Andrew Cagney <ac131313@redhat.com>
20802
20803 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
20804 checking MI enabled.
20805
03dd63aa
CV
208062001-10-09 Corinna Vinschen <vinschen@redhat.com>
20807
20808 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
20809
1d9d99f3
FCE
208102001-10-04 Frank Ch. Eigler <fche@redhat.com>
20811
20812 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
20813 if gdb child process crashes, just signal an error.
20814
838ae6c4
JB
208152001-10-02 Jim Blandy <jimb@redhat.com>
20816
20817 * lib/gdb.exp (test_xfail_format): Simplify.
20818
20819 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
20820 front of the variable name `format'. Simplify `if'.
20821
8f0cbc1c
DJ
208222001-10-01 Daniel Jacobowitz <drow@mvista.com>
20823
20824 * gdb.threads/pthreads.exp: Wait for output and delay
20825 before sending ^C.
20826
1f08dafd
DJ
208272001-10-01 Daniel Jacobowitz <drow@mvista.com>
20828
20829 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
20830 some incorrect output instead of timing out.
20831 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
20832
674f90ff
CV
208332001-09-28 Corinna Vinschen <vinschen@redhat.com>
20834
20835 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
20836 check to allow additional `int'.
20837
9b284272
DJ
208382001-09-27 Daniel Jacobowitz <drow@mvista.com>
20839
20840 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
20841 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
20842
b55a4771
MS
208432001-09-27 Michael Snyder <msnyder@redhat.com>
20844
20845 * lib/gdb.exp (test_debug_format): New proc.
20846 (setup_xfail_format): Use new proc test_debug_format.
20847 * gdb.base/constvars.exp (local_compiler_xfail_check): New
20848 proc; use new service proc test_debug_format.
20849 Replace all other "gcc_compiled" tests with this test.
20850 * gdb.base/volatile.exp (local_compiler_xfail_check): New
20851 proc; use new service proc test_debug_format.
20852 Replace all other "gcc_compiled" tests with this test.
20853
208542001-09-27 Michael Snyder <msnyder@redhat.com>
20855
20856 * gdb.base/cvexpr.exp: New file.
20857 * gdb.base/cvexpr.c: New file
20858 Test for expressions using const and volatile keywords.
20859
4e6667ac
CV
208602001-09-26 Corinna Vinschen <vinschen@redhat.com>
20861
20862 * gdb.base/constvars.exp: Check for different orders of keywords
20863 and additional "int" strings in output.
20864
4f337972
AC
208652001-09-22 Andrew Cagney <ac131313@redhat.com>
20866
20867 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
20868 responses from "help maint".
20869
2015650d
FCE
208702001-09-19 Frank Ch. Eigler <fche@redhat.com>
20871
20872 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
20873 to localhost:NNN instead of :NNN, in case Xvfb is listening
20874 only on TCP.
20875
f3bcedc1
CV
208762001-09-19 Corinna Vinschen <vinschen@redhat.com>
20877
20878 * gdb.base/recurse.exp: When checking leaving the watchpoint
20879 scope, recognize when gdb is in function's epilogue and pass.
20880
6b819c92
KS
208812001-09-18 Keith Seitz <keiths@redhat.com>
20882
20883 * lib/insight-support.exp (_gdbtk_export_target_info): Add
20884 support for running tests against sid targets.
20885 (gdbtk_done): Ditto.
20886
a10c9419
CV
208872001-09-18 Corinna Vinschen <vinschen@redhat.com>
20888
20889 * gdb.base/ending-run.c (main): Set stdout buffersize
20890 to the same reasonable value for any target.
20891 * gdb.base/ending-run.exp: Add a regular expression
20892 to make testsuite happy on Sanyo Stormy16 target.
20893
739d0d99
CV
208942001-09-17 Corinna Vinschen <vinschen@redhat.com>
20895
20896 * gdb.base/display.c (do_loops): Add float variable `f'.
20897 Increment f in loop.
20898 * gdb.base/display.exp: Increment timeout by 60 seconds.
20899 Change float display test to use variable `f'.
20900
1b8947f0
JB
209012001-09-17 Jim Blandy <jimb@redhat.com>
20902
20903 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
20904 overflowing the limited breakpoint tables on some ROM monitors
20905 (like the ROM68K).
20906
9890ac81
FCE
209072001-09-15 Frank Ch. Eigler <fche@redhat.com>
20908
20909 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
20910 the "-ac" (disable access control) flag.
20911
6db765ea
JH
209122001-08-30 Jeff Holcomb <jeffh@redhat.com>
20913
20914 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
20915 ints.
20916
4c32cc04
KS
209172001-08-30 Keith Seitz <keiths@redhat.com>
20918
20919 * lib/gdb.exp: Move all insight-related functionality into
20920 separate file.
20921 * lib/insight-support.exp: New file.
20922
8d6e6f81
FCE
209232001-08-29 Frank Ch. Eigler <fche@redhat.com>
20924
20925 * config/sid.exp (sid_start): Never set sid verbosity; disable
20926 expect_background {} that consumed its stdout; tolerate </dev/null.
20927 Attempt to set endianness override in "sid" protocol mode. Cleanup.
20928
6a90e1d0
AC
209292001-08-18 Andrew Cagney <ac131313@redhat.com>
20930
20931 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
20932 CLI jump command to start it.
20933 (mi_run_to_main): Fail immediatly when unexpected output.
20934
1759b3c3
AC
209352001-08-18 Andrew Cagney <ac131313@redhat.com>
20936
20937 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
20938 beginning of function. Fix PR gdb/191.
20939
61d11d80
FCE
209402001-08-16 Frank Ch. Eigler <fche@redhat.com>
20941
20942 * config/sid.exp (sid_start): Don't warn if we cannot figure out
20943 what to force sid endianness to.
20944
942a4df2
KS
209452001-08-15 Keith Seitz <keiths@redhat.com>
20946
20947 * lib/gdb.exp (gdbtk_start): Don't set environment
20948 variables for TCL_LIBRARY and friends. Insight will
20949 now figure these out for itself.
20950
0521c418
MS
209512001-08-02 Michael Snyder <msnyder@redhat.com>
20952
20953 * gdb.base/completion.exp: Remove the symbol "a64l" from
20954 the expect string; this is target-specific, and not related
20955 to what is being tested.
20956
74a9a58a
DB
209572001-08-02 Dave Brolley <brolley@redhat.com>
20958
20959 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
20960
c70819fa
MS
209612001-07-25 Michael Snyder <msnyder@redhat.com>
20962
c2b8fa57
MS
20963 * gdb.base/consecutive.exp: New file. Test stepping over
20964 breakpoints on consecutive instructions.
20965 * gdb.base/consecutive.c: New file.
20966
c70819fa
MS
20967 * gdb.base/call-rt-st.exp: Use double-backslash to quote
20968 curly braces in regular expressions.
20969
2b1a1355
MS
209702001-07-25 Michael Snyder <msnyder@redhat.com>
20971
20972 * gdb.base/ending-run.exp: Accept "Program exited normally" as
20973 legitimate output from stepping out of main.
20974
413eca6f
KS
209752001-07-22 Keith Seitz <keiths@redhat.com>
20976
20977 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
20978 the empty string, do not run the tests.
20979
7e5a9322
SC
209802001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
20981
20982 * gdb.base/long_long.exp: Detect size of pointer. Take into
20983 account 2-byte pointers when testing for p/a results.
20984
de58f10f
SC
209852001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
20986
d63a86f8 20987 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
20988 and defined to 1K for m68hc11.
20989 (random_data): Reduce table to 1K for embedded platforms (68hc11).
20990 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
20991 (sizeof_random_data): New variable to tell the size of the data table;
20992 don't test past this size; always run to main.
20993
d6f5fea1
SC
209942001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
20995
20996 * gdb.base/return2.exp: return of long long and double fails for
20997 68HC11; don't execute these tests on that platform.
20998 * gdb.base/return.exp: Return of a double fails for 68hc11.
20999
c477543d
SC
210002001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
21001
21002 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
21003 tests that print a float.
21004 * call-rt-st.exp: Likewise.
21005
63cf1c79
MK
210062001-07-12 Mark Kettenis <kettenis@gnu.org>
21007
21008 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
21009 running this test on Linux.
21010
112f9ab5
MC
210112001-06-24 Michael Chastain <chastain@redhat.com>
21012
21013 * gdb.base/arithmet.exp: Remove some tests to make all test names
21014 unique.
21015
4970cb0f
MS
210162001-07-03 Michael Snyder <msnyder@redhat.com>
21017
21018 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
21019 the output of the ptype command.
21020
d85da69f
MS
210212001-07-02 Michael Snyder <msnyder@redhat.com>
21022
4c8a82de
MS
21023 * gdb.base/completion.exp: Don't assume that break.c is the only
21024 source file that may contain functions named "marker".
d85da69f
MS
21025 * gdb.base/corefile.exp: Quote the curly braces in regexp.
21026
8afc772b
AC
210272001-06-28 Andrew Cagney <ac131313@redhat.com>
21028
21029 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
21030 of files to delete.
21031
21032 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
21033 * gdb.disasm/h8300s.exp: New file.
21034 gdb.disasm/h8300s.s: Likewise.
21035
cff22675
AC
210362001-06-27 Andrew Cagney <ac131313@redhat.com>
21037
21038 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
21039 empty breakpoint tables.
21040
68c81b54
AC
210412001-06-25 Andrew Cagney <ac131313@redhat.com>
21042
21043 * lib/mi-support.exp: Update args=... part of stop-reason
21044 patterns. Accept either a list or a tuple.
21045
2dd62704
AC
210462001-06-23 Andrew Cagney <ac131313@redhat.com>
21047
21048 * lib/mi-support.exp: Remove local emacs variable defining
21049 change-log-default-name.
21050
b4127474
MC
210512001-06-22 Michael Chastain <chastain@redhat.com>
21052
21053 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
21054 This is operationally compatible with the previous version.
21055
8dbfb380
JB
210562001-06-13 Jim Blandy <jimb@redhat.com>
21057
21058 * lib/gdb.exp (gdb_test): Doc fix.
21059
f2d8c86d
MC
210602001-06-10 Michael Chastain <chastain@redhat.com>
21061
21062 * gdb.base/exprs.exp: Remove a duplicate test.
21063
81564d34
JB
210642001-06-06 Jim Blandy <jimb@redhat.com>
21065
21066 * gdb.base/return2.exp (main): Use values to test float and double
21067 returns that are not NaN's, to avoid being confused by IEEE
21068 comparison rules.
21069
da55addb
MS
210702001-06-04 Michael Snyder <msnyder@redhat.com>
21071
21072 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 21073 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
21074 rather than wait for 12 more tests to time out.
21075
42c65987
JB
210762001-06-06 Jim Blandy <jimb@redhat.com>
21077
b18bced9 21078 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 21079 Don't forget to match the GDB prompt.
b18bced9 21080
42c65987
JB
21081 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
21082
5b41e5f0
JB
210832001-06-04 Jim Blandy <jimb@redhat.com>
21084
21085 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
21086 command.
21087
015e046f
KB
210882001-05-31 Kevin Buettner <kevinb@redhat.com>
21089
21090 * gdb.base/annota1.exp (info break): Match four or more spaces
21091 after "Address".
21092
fb1ffbbe
MC
210932001-05-31 Michael Chastain <chastain@redhat.com>
21094
21095 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
21096 (dm_type_int_star): Likewise.
21097 (dm_type_long_star): Likewise.
21098 (dm_type_void_star): Likewise.
21099
5ea2a32c
KB
211002001-05-29 Kevin Buettner <kevinb@redhat.com>
21101
21102 * gdb.base/completion.exp (INPUTRC): Set this environment variable
21103 to a known value in order to get consistent results regardless
21104 of the setting of INPUTRC or the presence or contents of .inputrc.
21105
ae23c492
MS
211062001-05-24 Michael Snyder <msnyder@redhat.com>
21107
ac55707e
MS
21108 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
21109 Don't require that the main thread and the manager thread are the
21110 first in the list.
21111
ae23c492
MS
21112 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
21113 debugging. If test fails, issue an "unsupported" not a "fail".
21114
400071f1
JB
211152001-05-24 Jim Blandy <jimb@redhat.com>
21116
21117 Don't assume that short is shorter than int.
21118 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
21119 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 21120 this isn't true.
400071f1
JB
21121 ("print unsigned char == (~0)"): Add test that verifies that ~0,
21122 an int, is not equal to ~0 stored in an unsigned char. This tests
21123 the same thing that the previous test meant to, but works on
21124 16-bit machines, too.
21125 ("print unsigned char != (~0)"): Same test, complemented.
21126
0816a3e5
MS
211272001-05-24 Michael Snyder <msnyder@redhat.com>
21128
21129 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 21130 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
21131 and prevents dejagnu getting out of step.
21132
f6dc23a9
KB
211332001-05-23 Kevin Buettner <kevinb@redhat.com>
21134
21135 * gdb.base/finish.exp (finish_void): Revise pattern for
21136 stopping on the call statement to not permit stopping at
21137 the start of the instructions comprising the call sequence.
21138
7dbd117d
MC
211392001-05-19 Michael Chastain <chastain@redhat.com>
21140
21141 * gdb.base/callfuncs.exp: Make all test names unique.
21142 * gdb.base/commands.exp: Make all test names unique.
21143 * gdb.base/condbreak.exp: Make all test names unique.
21144 * gdb.base/dbx.exp: Make all test names unique.
21145 * gdb.base/default.exp: Make all test names unique.
21146 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
21147 and TIMEOUT messages to their corresponding PASS message.
21148 * gdb.base/ending-run.exp: Make all test names unique.
21149 * gdb.base/long_long.exp: Remove duplicate test.
21150
6b0b0a9e
KB
211512001-05-21 Kevin Buettner <kevinb@redhat.com>
21152
21153 * gdb.base/finish.exp (finish_void): Allow "finish" command to
21154 stop on the call statement as well as the statement after the
21155 call.
21156
2caa35cb
MS
211572001-05-21 Michael Snyder <msnyder@redhat.com>
21158
21159 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
21160
40713331
EZ
211612001-05-10 Elena Zannoni <ezannoni@redhat.com>
21162
a9c64011
AS
21163 * gdb.base/completion.exp: Revamp test. Make it execute on all
21164 platforms.
40713331 21165
c2c1be8d
EZ
211662001-05-10 Elena Zannoni <ezannoni@redhat.com>
21167
a9c64011
AS
21168 * config/gdbserver.exp (gdb_load): Handle the case
21169 in which the arguments to gdbserver are given in the
21170 baseboard configuration file.
21171 Also handle the case in which the server needs to do a
21172 load.
2c9cd303 21173
9671de48
KS
211742001-05-07 Keith Seitz <keiths@cygnus.com>
21175
a9c64011
AS
21176 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
21177 set up the display for testing.
21178 (gdbtk_start): Convert all paths to paths that tcl will like.
21179 Export target information to environment.
21180 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
21181 necessary.
21182 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
21183 (to_tcl_path): New proc to convert a given pathname into
21184 a path acceptible as an argument to a tcl command.
21185 (_gdbtk_export_target_info): New proc to export target info
21186 into the environment for gdbtk testing.
21187 (gdbtk_done): New proc to signal end-of-test.
9671de48 21188
5a360f47
JB
211892001-05-06 Jim Blandy <jimb@redhat.com>
21190
21191 * restore.c: Make the code of caller0 correspond to its comment.
21192
66c756c6
MS
211932001-05-03 Michael Snyder <msnyder@redhat.com>
21194
21195 * config/sid.exp (gdb_target_sid): Check for error messages.
21196 On error or timeout, don't make expect exit (which will terminate
21197 all subsequent tests); instead just make gdb exit.
d63a86f8 21198 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
21199 return a negative value.
21200
a966fde5
JB
212012001-04-24 Jim Blandy <jimb@redhat.com>
21202
851c18e0
JB
21203 * gdb.c++/templates.exp: If we see the prompt for the overload
21204 list, but we haven't recognized any of the longer patterns,
21205 arrange for this test to fail, not hang.
21206
a966fde5
JB
21207 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
21208 variations.
21209
db144853
MC
212102001-04-22 Michael Chastain <chastain@redhat.com>
21211
21212 * gdb.c++/local.exp: Use the 'runto' library function.
21213 * gdb.c++/namespace.exp: Likewise.
21214 * gdb.c++/overload.exp: Likewise.
21215
3207ec21
KB
212162001-03-26 Kevin Buettner <kevinb@redhat.com>
21217
21218 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
21219 * gdb.base/step-line.exp: New file. Test step/next in presence of
21220 #line directives.
21221 * gdb.base/step-line.c: New file. Test program for the above.
21222 * gdb.base/step-line.inp: New file. We pretend that this file has
21223 been transformed by some other tool into step-line.c.
21224
13b57657
JB
212252001-03-21 Jim Blandy <jimb@redhat.com>
21226
21227 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
21228 unmangled operator names.
21229
754cbe1c
JB
212302001-03-20 Jim Blandy <jimb@redhat.com>
21231
21232 * gdb.threads/linux-dp.exp: Recognize an additional message
21233 generated by GDB when it doesn't understand how to debug threads
21234 on the target system.
21235
177495c9
AC
212362001-03-19 Andrew Cagney <ac131313@redhat.com>
21237
21238 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
21239
f266096b
MC
212402001-03-12 Michael Chastain <chastain@redhat.com>
21241
21242 * gdb.c++/derivation.exp: Use the 'runto' library function.
21243
cac3c2ff
MC
212442001-03-12 Michael Chastain <chastain@redhat.com>
21245
21246 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
21247
b6c11a24
MC
212482001-02-24 Michael Chastain <chastain@redhat.com>
21249
21250 * gdb.c++/ref-types.exp: Change handwritten code to library
21251 function 'runto'.
21252
6bae5bce
OF
212532001-03-16 Orjan Friberg <orjanf@axis.com>
21254
21255 * gdb.base/signals.exp: Set count to 0 explicitly.
21256
0015fd9a
MS
212572001-03-15 Mark Salter <msalter@redhat.com>
21258
21259 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
21260 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
21261 (gdb_load): Add support for additional target_info: gdb_download_size
21262 and gdb_load_timeout.
0015fd9a 21263
fc33412a
DT
21264Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
21265
21266 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
21267 file -- to prevent failing when the compile fails but we have no
21268 intention of running the tests anyway.
fc33412a
DT
21269
21270 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
21271 tests if set.
21272
21273 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 21274 integers.
fc33412a
DT
21275
21276 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
21277 * gdb.c++/namespace.exp: Ditto.
21278
115f06de
OF
212792001-03-07 Orjan Friberg <orjanf@axis.com>
21280
21281 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
21282 * gdb.base/pointers.exp: Relax pattern match of decimals.
21283
b6ba6518
KB
212842001-03-06 Kevin Buettner <kevinb@redhat.com>
21285
21286 * Makefile.in, config/abug.exp, config/cfdbug.exp,
21287 config/cpu32bug.exp, config/dve.exp, config/est.exp,
21288 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
21289 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
21290 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
21291 config/sh.exp, config/sid.exp, config/slite.exp,
21292 config/sparclet.exp, config/udi.exp, config/unknown.exp,
21293 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
21294 config/vxworks.exp, config/vxworks29k.exp,
21295 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
21296 gdb.base/all-bin.exp, gdb.base/annota1.exp,
21297 gdb.base/arithmet.exp, gdb.base/assign.exp,
21298 gdb.base/async.exp, gdb.base/attach.exp,
21299 gdb.base/bitfields.exp, gdb.base/bitops.exp,
21300 gdb.base/break.exp, gdb.base/call-ar-st.exp,
21301 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
21302 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
21303 gdb.base/commands.exp, gdb.base/completion.exp,
21304 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
21305 gdb.base/constvars.exp, gdb.base/corefile.exp,
21306 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
21307 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
21308 gdb.base/ending-run.exp, gdb.base/environ.exp,
21309 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
21310 gdb.base/finish.exp, gdb.base/foll-exec.exp,
21311 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
21312 gdb.base/funcargs.exp, gdb.base/help.exp,
21313 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
21314 gdb.base/logical.exp, gdb.base/long_long.exp,
21315 gdb.base/maint.exp, gdb.base/mips_pro.exp,
21316 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
21317 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
21318 gdb.base/pointers.exp, gdb.base/printcmds.exp,
21319 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
21320 gdb.base/regs.exp, gdb.base/relational.exp,
21321 gdb.base/remote.exp, gdb.base/reread.exp,
21322 gdb.base/restore.exp, gdb.base/return2.exp,
21323 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
21324 gdb.base/selftest.exp, gdb.base/setshow.exp,
21325 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
21326 gdb.base/sigall.exp, gdb.base/signals.exp,
21327 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
21328 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
21329 gdb.base/step-test.exp, gdb.base/structs.c,
21330 gdb.base/structs.exp, gdb.base/structs2.exp,
21331 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
21332 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
21333 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
21334 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
21335 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
21336 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
21337 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
21338 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
21339 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
21340 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
21341 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
21342 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
21343 gdb.fortran/types.exp, gdb.java/jmisc.exp,
21344 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
21345 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
21346 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
21347 gdb.trace/circ.exp, gdb.trace/collection.exp,
21348 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
21349 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
21350 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
21351 gdb.trace/report.exp, gdb.trace/save-trace.exp,
21352 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
21353 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
21354 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
21355 notices.
21356
dc96c6c7 213572001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
21358
21359 * gdb.base/varargs.c (find_max_double): Fix printf format string:
21360 first arg is int not float.
21361
dc96c6c7 213622001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
21363
21364 * gdb.base/reread.exp: Unsupported for non-native targets;
21365 doesn't work for remote debugging.
21366
9b0c4aeb
FN
213672001-02-19 Fernando Nasser <fnasser@redhat.com>
21368
21369 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
21370 * gdb.base/ending-run.exp: Properly handle the BSP state when
21371 stepping past the end of main.
9b0c4aeb 21372
02aa71d5
MC
213732001-02-19 John Moore <jmoore@redhat.com>
21374
21375 * gdb.base/commands.exp (infrun_breakpoint_command_test):
21376 Converted HPUX fix for non-expected items following multiple
21377 step commands into general solution for all platforms.
21378
1fa449a4
MC
213792001-02-18 Michael Chastain <chastain@redhat.com>
21380
21381 * gdb.c++/classes.exp (do_tests): Change runto statements
21382 from "runto 'foo(void)'" to "runto 'foo'". This makes the
21383 statements demangler agnostic.
21384 * gdb.c++/virtfunc.exp (do_tests): Likewise.
21385 (gdb_virtfunc_restart): Likewise.
21386
b2f9ec70
MC
213872001-02-14 Michael Chastain <chastain@redhat.com>
21388
21389 * gdb.c++/inherit.exp (do_tests): Change runto statements
21390 from "runto 'foo(void)'" to "runto 'foo'". This makes the
21391 statements demangler agnostic.
21392
cf74b8ca
AC
21393Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
21394
21395 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
21396 ``continue to bkpt at common_routine in thread 2'' and ``stopped
21397 before calling common_routine 15 times'' tests.
cf74b8ca 21398
99f78f56
MC
213992001-02-11 Michael Chastain <chastain@redhat.com>
21400
21401 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
21402 Helps the test script figure out which demangler is in use.
21403 (dm_type_foo_ref): Ditto.
21404 (dm_type_int_star): Ditto.
21405 (dm_type_long_star): Ditto.
21406 (dm_type_unsigned_int): Ditto.
21407 (dm_type_void): Ditto.
21408 (dm_type_void_star): Ditto.
99707966 21409 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
21410 Probe the gdb demangler and set variables to accommodate
21411 formatting differences.
21412 (info_func_regexp): New function. Same as info_func, but
21413 matches against a regexp.
21414 (info_func): Match against a literal string.
21415 (print_addr_2): New function. Match against a literal string,
21416 which can be different from the input to gdb.
21417 (print_addr): Simply call print_addr_2 with the same argument twice.
21418 (test_lookup_operator_functions): Use demangler formatting variables.
21419 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
21420 the tests in the same order as the C++ class declaration.
21421 (test_paddr_operator_functions): Ditto.
21422 (test_paddr_overloaded_functions): Ditto.
21423 (test_paddr_hairy_functions): Use demangler formatting variables.
21424 Add reference to gdb/19 for related tests.
21425 (do_tests): Call probe_demangler.
21426
1de8f023
KB
214272001-01-30 Kevin Buettner <kevinb@redhat.com>
21428
21429 * gdb.c++/templates.cc (printf): Remove unused function definition.
21430
ca3f91ed
MS
214312001-01-26 Felix Lee <flee@redhat.com>
21432
21433 * sid.exp (sid_exit): Pass host, not target, to remote_close.
21434
214352001-01-25 matthew green <mrg@redhat.com>
21436
21437 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
21438 up sid.
21439 (sid_exit): Call `remote_pop_conn' after GDB is gone.
21440
214412001-01-25 matthew green <mrg@redhat.com>
21442
21443 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 21444 Deprecate $sid_spawn_id.
ca3f91ed
MS
21445 (sid_exit): Remove code necessary only for `spawn.'
21446
214472001-01-25 matthew green <mrg@redhat.com>
21448
21449 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
21450
fb18ec4a
MC
214512001-01-28 Michael Chastain <chastain@redhat.com>
21452
21453 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
21454 to call when tests fail. It takes gdb out of the overloaded
21455 function choice menu back to the main prompt, so that the test
21456 program stays synchronized.
21457 (set_bp_overloaded): New proc to collect all the common
21458 code for setting a breakpoint on an overloaded name. Calls
21459 take_gdb_out_of_choice_menu when needed.
21460 (menu_overload1arg): New variable to collect the repeated
21461 instances of the expected menu for an overloaded name. Change
21462 the regular expression to handle changes in g++ type encoding:
21463 "void" can be either "void" or "", and "unsigned int" can be
21464 either "unsigned int" or "unsigned".
21465 (continue_to_bp_overloaded): Change regular expressions to handle
21466 changes in g++ type encoding.
21467 (no proc): Call take_gdb_out_of_choice_menu when needed.
21468 Remove redundant calls to "info break". Accept either "canceled"
21469 or "cancelled". Change regular expressions in "info break"
21470 calls to handle changes in g++ type encoding. Give all tests
21471 unique strings.
21472
9c646a6e
BE
214732001-01-17 Ben Elliston <bje@redhat.com>
21474
21475 * config/sid.exp: New file.
21476
9549d9c1
AC
21477Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
21478
21479 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
21480
dc96c6c7 214812000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
21482
21483 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
21484 Add a RE to accept a non-ascii char if one is ever presented.
21485
b4df4f68
FN
214862000-12-20 Fernando Nasser <fnasser@redhat.com>
21487
297dd0fd 21488 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 21489
dc96c6c7 214902000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 21491
d63a86f8 21492 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
21493 in regexp. One '\' does not suffice on Linux.
21494
4a7bddb6
MC
214952000-12-09 Michael Chastain <chastain@redhat.com>
21496
21497 * gdb.base/break.exp (test_clear_command): Use a marker function
21498 rather than 'main' for the test function. Also move this
21499 test to an execution point where the marker function names are
21500 guaranteed to be bound to functions. (Executing tests after a
21501 'finish' from main runs into name conflicts with local names
21502 in __libc_start_main).
21503
dc96c6c7 215042000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
21505
21506 * gdb.base/finish.exp: New test for gdb's "finish" command.
21507 * gdb.base/return2.exp: New test for gdb's "return" command.
21508 * gdb.base/return2.c: New source file for above.
21509
dc96c6c7 215102000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
21511
21512 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
21513 * gdb.base/miscexprs.exp: Ditto.
21514 * gdb.base/pointers.exp: Ditto.
21515 * gdb.c++/derivation.exp: Ditto.
21516 * gdb.c++/local.exp: Ditto.
21517 * gdb.c++/namespace.exp: Ditto.
21518 * gdb.c++/overload.exp: Ditto.
21519 * gdb.c++/ref-types.exp: Ditto.
21520
dc96c6c7 215212000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
21522
21523 * gdb.base/constvars.exp: Test result of "up" command.
21524 * gdb.base/miscexprs.exp: Ditto.
21525 * gdb.base/pointers.exp: Ditto.
21526 * gdb.base/scope.exp: Ditto.
21527 * gdb.c++/derivation.exp: Ditto.
21528 * gdb.c++/local.exp: Ditto.
21529 * gdb.c++/namespace.exp: Ditto.
21530 * gdb.c++/overload.exp: Ditto.
21531 * gdb.c++/ref-types.exp: Ditto.
21532
44097287
FN
215332000-11-22 Michael Chastain <chastain@redhat.com>
21534
21535 * mips_pro.exp: Accept either "middle -> top -> main" or
21536 "middle -> main" in the backtrace, because gcc can optimize
21537 tail calls to jumps. Remove setup_xfail for the hppa case.
21538 Add a comment with the original warning messages from PR 3016,
21539 which was filed in 1993, to preserve them for posterity.
21540
9d2e1bab
ND
215412000-11-17 Nick Duffek <nsd@redhat.com>
21542
21543 * lib/gdb.exp (gdb_test): Override timeout with board info.
21544
1aca8eb7
ND
215452000-11-17 Nick Duffek <nsd@redhat.com>
21546
21547 * gdb.base/display.exp: Don't kill running stub. Add "again" to
21548 the second kill and detach messages.
21549
93076499
ND
215502000-11-17 Nick Duffek <nsd@redhat.com>
21551
21552 * configure.in: Add AC_EXEEXT.
21553 * configure: Regenerate.
21554 * Makefile.in (just-check): Export EXEEXT.
21555 * lib/gdb.exp ($EXEEXT): Import from environment.
21556 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
21557 expect "maint dump-me" on Cygwin.
21558 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
21559 $EXEEXT.
21560
30e87cd3
ND
215612000-11-17 Nick Duffek <nsd@redhat.com>
21562
21563 * gdb.base/break.exp: Test backtrace and finish from called
21564 function on all platforms, not just HP-UX.
21565
dc96c6c7 215662000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
21567
21568 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
21569 code from gdb_target_monitor, so it can be used independantly
21570 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 21571
dc96c6c7 215722000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
21573
21574 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
21575 * gdb.base/corefile.exp: Expect the message "Program is being
21576 debugged already" when we send the "corefile" command, since
21577 the preceeding gdb_load may have connected gdb to a remote target.
21578 * gdb.base/display.exp: Disable hardware watchpoints if new
21579 board info variable "no_hardware_watchpoints" is true.
21580 Replace single-letter commands with more readable ones.
21581 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
21582 if new board info variable "no_hardware_watchpoints" is true.
21583 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
21584 to see if stdio (printf) testing is possible.
21585 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
21586 board info variable "no_hardware_watchpoints" is true. Use new
21587 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
21588
39124dea
FN
215892000-11-13 Fernando Nasser <fnasser@redhat.com>
21590
21591 From Orjan Friberg <orjanf@axis.com>:
21592 * gdb.base/printcmds.exp: Escape curly braces followed by a number
21593 in array print pattern match.
21594
a9e2e984
FN
215952000-11-09 Fernando Nasser <fnasser@redhat.com>
21596
21597 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
21598 spelling "cancelled" to U.S. spelling "canceled" to match changes
21599 made to gdb.
21600 * gdb.c++/ovldbreak.exp: Ditto.
21601
c7db355b
PS
216022000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21603
21604 * gdb.base/callfuncs.c (main): Moved to end of file, call
21605 t_double_values to initialize the FPU before inferior calls are made.
21606 * gdb.base/callfuncs.exp: Test for register preservation after calling
21607 inferior functions. Add tests for continuining, finishing and
21608 returning from a stop in a call dummy.
21609
dc96c6c7 216102000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
21611
21612 * gdb.base/commands.exp: Break up long lines, and re-indent.
21613
dc96c6c7 216142000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
21615
21616 * config/gdbserver.exp: Rewritten from the ground up, to make it
21617 compatible with the current dejagnu tree, and to make it work with
21618 the new "gdbserver" in libremote.
21619
dc96c6c7 216202000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
21621
21622 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
21623 * gdb.base/varargs.exp: Skip entire test if no printf support.
21624 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
21625 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
21626
dc96c6c7 216272000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
21628
21629 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
21630 no floating point support.
21631 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
21632 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
21633 * gdb.base/call-rt-st.exp: Ditto.
21634 * gdb.base/call-strs.exp: Ditto.
21635
bac5fc66
JG
216362000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
21637
21638 * gdb.base/sizeof.c: include <stdio.h>.
21639
21640 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
21641 'finish', otherwise uncaptured gdb_prompt would potentially
21642 throw remaining test points out of sync.
bac5fc66 21643
b22a6027
SB
216442000-07-26 Scott Bambrough <scottb@netwinder.org>
21645
21646 * gdb.base/recurse.exp: Run tests for all targets.
21647 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
21648 gnu-oldld case on ARM.
21649 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
21650 for ARM targets.
d63a86f8 21651
d8231941
AG
21652Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
21653
21654 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
21655 * gdb.java/configure: Rebuild.
21656
8caabe69
AG
21657Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
21658
21659 * gdb.java/jv-exp.exp: New file.
21660
9d273ca3
AG
21661Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
21662
21663 * configure: Rebuilt.
21664 * configure.in (configdirs): Add gdb.java.
21665 * gdb.java/jmisc.java: New file.
21666 * gdb.java/jmisc.exp: New file.
21667 * gdb.java/Makefile.in: New file.
21668 * gdb.java/configure: Rebuilt.
21669 * gdb.java/configure.in: New file.
21670 * lib/java.exp: New file.
21671
4f823a66
AC
21672Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
21673
21674 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 21675 underflow.
4f823a66 21676
2391e11d
AC
21677Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
21678
21679 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 21680 and the compilers sizes.
2391e11d 21681
54602222
ND
216822000-07-09 Nick Duffek <nsd@redhat.com>
21683
21684 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
21685 (use_methods): New function.
21686 (main): Call use_methods().
21687 * gdb.c++/classes.exp (test_method_param_class): New procedure.
21688 (do_tests): Call test_method_param_class.
21689
2bec0572
ND
216902000-07-09 Nick Duffek <nsd@redhat.com>
21691
21692 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
21693 spelling.
21694 (test_enums): New procedure. Move enum tests from end of script
21695 to here. Set breakpoint on function name instead of line number.
21696 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
21697 (enums2): New marker function.
21698 (enums1): New function.
21699 (main): Call enums1(). Move enum tests to enums1().
21700
78492fde
AC
21701Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
21702
21703 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 21704 compile/link program. Update line numbers.
78492fde
AC
21705 * gdb.asm/d10v.inc: Define ``startup''.
21706 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 21707
49a2cef8
AC
21708Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
21709
21710 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
21711
3e6c8688
EZ
217122000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21713
21714 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 21715 of 'help maint print' command.
3e6c8688 21716
9ff5cbe9
AC
21717Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
21718
21719 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 21720 they use gdb_expect_list.
9ff5cbe9 21721
17c579bd
AC
21722Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
21723
21724 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
21725 memory-read-packet-size'' instead of ``set endian big'' to test
21726 long commands.
17c579bd 21727
e6d71bf3
DB
217282000-06-03 Daniel Berlin <dan@cgsoftware.com>
21729
21730 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 21731 g++, and stop skipping them.
e6d71bf3
DB
21732
21733 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
21734 work under g++.
21735
d63a86f8 21736 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
21737 initialization.
21738
dc96c6c7 217392000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
21740
21741 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
21742 the regular expression: accept an (almost) arbitrary sequence of
21743 "frames-invalid" and "breakpoints-invalid" messages both before
21744 and after the "starting" message.
21745
dc96c6c7 217462000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
21747
21748 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 21749
dc96c6c7 217502000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
21751
21752 * gdb.base/annota1.exp (annotate-signal-handler-caller):
21753 Relax the regular expression a little, make it pass on Solaris 8.
21754
8216cda9
KB
217552000-05-12 Kevin Buettner <kevinb@redhat.com>
21756
21757 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 21758 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
21759 Instead, it is permissible for gdb to stop on the line of the
21760 call itself.
21761
1a570b2f
MS
217622000-05-12 Michael Snyder <msnyder@.cygnus.com>
21763
21764 * gdb.base/break.exp (bp on small function, optimized file):
21765 Add a second pass pattern. The behavior differs here between stabs
21766 and dwarf for one-line functions. Stabs preserves two line symbols
21767 (one before the prologue and one after) with the same line number,
21768 but dwarf regards these as duplicates and discards one of them.
21769 Therefore the address after the prologue (where the breakpoint is)
21770 has no exactly matching line symbol, and GDB reports the breakpoint
21771 as if it were in the middle of a line rather than at the beginning.
21772
dc96c6c7 217732000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 21774
d63a86f8 21775 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
21776 rather than "send_gdb" (for consistancy).
21777
7d418785
AC
21778Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
21779
21780 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
21781 * gdb.c++/templates.cc: Properly check for GCC version number.
21782 * lib/compiler.cc: Likewise
21783
dc96c6c7 217842000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 21785
d63a86f8 21786 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
21787 gdb may not stop at the first line of main, due to code motion.
21788
dc96c6c7 217892000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
21790
21791 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
21792 This test depends on parsing the printf output from the target.
21793 Since the sparclet stub doesn't do stdio, this will never work.
21794 * gdb.base/call-rt-st.exp: ditto.
21795 * gdb.base/call-strs: ditto.
21796
dc96c6c7 217972000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
21798
21799 * gdb.base/miscexprs.exp: make sizeof long array test portable.
21800
21801 * gdb.base/ending-run.exp: After connecting to a remote target,
21802 but before running, the target will appear to be in a random
21803 location. Specify both a file and a line for breakpoints.
21804 Also, the function that calls main may be called 'init'
21805 rather than 'start'.
21806
a5a51225
EZ
218072000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21808
21809 * gdb.base/help.exp: Update output for add-symbol-file command.
21810
7930cc7c
FN
218112000-04-10 Fernando Nasser <fnasser@cygnus.com>
21812
21813 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
21814 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
21815
23e37ab1
C
218162000-04-07 J.T. Conklin <jtc@redback.com>
21817
e93c542c
C
21818 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
21819
23e37ab1
C
21820 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
21821
591b8fa3
PDM
21822Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
21823
21824 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 21825 values that can be represented exactly.
591b8fa3
PDM
21826 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
21827 above change, and to not check against the directory part of the source
21828 file name.
21829 (step into print_long_arg_list): Likewise.
21830 (print print_small_structs from print_long_arg_list): Likewise.
21831 (print print_long_arg_list): Likewise.
21832
7a495180
EZ
218332000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21834
30b53638 21835 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 21836
beb998c6
AC
21837Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
21838
21839 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
21840
1c689132
DB
218412000-03-25 Daniel Berlin <dan@cgsoftware.com>
21842
21843 * gdb.base/commands.exp (deprecated_command_test): Add test for
21844 deprecate with no arguments.
21845
c1790a9d
JL
218462000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
21847
21848 * gdb.base/break.exp: Add new test for setting breakpoints on
21849 optimized code so we can test breakpoints work even when function
21850 prologues may be optimized away
21851
003ba290
FN
218522000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
21853
21854 From David Whedon <dwhedon@gordian.com>
a9c64011 21855 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 21856
6837a0a2
DB
218572000-03-22 Daniel Berlin <dan@cgsoftware.com>
21858
21859 * gdb.base/help.exp: Added test for new apropos command.
21860
b9593231
KB
218612000-03-21 Kevin Buettner <kevinb@redhat.com>
21862
21863 * gdb.base/pointers.c (usevar): New function.
21864 (main): Make sure that global variables v_int_pointer2, rptr,
21865 and y are all referenced someplace in the program by calling
21866 usevar() on them. [Some linkers delete symbols which are
21867 never referenced. The space remains, but there's no way to
21868 get a (symbolic) handle on the variable from the debugger.]
21869
751a959b
EZ
218702000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21871
21872 * gdb.base/printcmds.c: Add typedeffed arrays.
21873
21874 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 21875 procedure to test arrays that are typedef'd.
751a959b 21876
73a93a32
JI
218772000-03-13 James Ingham <jingham@leda.cygnus.com>
21878
21879 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 21880 the library directories.
73a93a32 21881
fb40c209
AC
21882Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
21883
21884 * configure.in (configdirs): Add sub directory gdb.mi.
21885 * configure: Re-generate.
21886
21887 * gdb.mi: New directory.
d63a86f8 21888
ee4dd2c9
AC
218892000-02-25 Scott Bambrough <scottb@netwinder.org>
21890
21891 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 21892 a long long value as a double on ARM platforms.
ee4dd2c9 21893
70f0cc22
JB
218942000-02-16 Jim Blandy <jimb@redhat.com>
21895
21896 * gdb.base/break.exp ("breakpoint line number"): Make sure the
21897 default source file is set properly before running this test.
21898
853819b8
EZ
218992000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21900
21901 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 21902 gdbtk/library directory, not in gdbtcl2.
853819b8 21903
dfcd3bfb
JM
219042000-02-04 Jim Blandy <jimb@redhat.com>
21905
21906 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
21907 backslash from regexp pattern.
21908
21909 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
21910 procedure. Use it to run all the "continue to bp overloaded"
21911 tests. Note that this changes the names of the tests slightly.
21912 If the breakpoint hit message includes a hex PC value, because
21913 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
21914 from the real source code, still consider that a pass.
21915
21916 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
21917 XFAIL here if the breakpoint message contains a hex address. Note
21918 similar change on 1999-11-02.
21919
21920 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
21921
21922 * gdb.base/ptype.exp: Establish a default source file before
21923 calling get_debug_format.
21924
219252000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
21926
21927 * gdb.base/watchpoint.exp: Remove duplication of test messages.
21928
8b93c638
JM
219292000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
21930
21931 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
21932 of successive stepi commands -- while in the prologue we should see
21933 the function entry bracket.
21934
219352000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
21936
21937 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
21938 reach __change_mode() when stepping through the end of main().
21939
c5394b80
JM
219402000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
21941
21942 * gdb.base/default.exp: Fix expected pattern.
21943 * gdb.base/help.exp: Same.
21944
0d06e24b
JM
219452000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21946
21947 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 21948 Don't use xfail's because that affects only the following test.
d63a86f8 21949
0d06e24b 21950 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 21951 solaris or linux.
0d06e24b
JM
21952
21953 * gdb.base/selftest.exp: Update to reflect changes to main.c.
21954
dc96c6c7 219552000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 21956
d63a86f8 21957 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
21958 "A syntax error" rather than "A parse error". Accept both.
21959
219602000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
21961
21962 * gdb.base/default.exp: Remove OS dependent string from "target
21963 remote" test.
21964 * gdb.base/help.exp: Same for "help target remote" test.
21965
c3f6f71d
JM
219662000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21967
21968 From Jim Kingdon <kingdon@redhat.com>:
21969
21970 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
21971 prompt (cleanup rather than necessity, but still might keep output
21972 from spilling to next test).
c3f6f71d
JM
21973
219742000-01-02 Fred Fish <fnf@cygnus.com>
21975
21976 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
21977 AIX, which defines them in <sys/types.h>.
21978
ed9a39eb 219791999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 21980
ed9a39eb 21981 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 21982 float" test.
ed9a39eb
JM
21983
219841999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 21985
ed9a39eb 21986 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
21987
21988 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
21989 outermost frame disallowed".
21990
219911999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
21992
21993 * gdb.base/setvar.exp: New tests for setting the value of a struct
21994 with a constant list.
21995
219961999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
21997
21998 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
21999 require the user to type a cast before setting the value of a struct.
22000
de57eccd
JM
220011999-12-06 Jim Blandy <jimb@cygnus.com>
22002
22003 * gdb.base/default.exp: Expect the new 'info float' command on
22004 all i386 platforms.
22005
22006 * gdb.threads/linux-dp.exp: Expand our ability to recognize
22007 LinuxThreads libraries that don't support debugging.
22008
c2d11a7d
JM
22009Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
22010
22011 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
22012 Change the buffer type to ``unsigned char'' to simplify size
22013 arithmetic.
c2d11a7d
JM
22014
22015 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
22016 stub only handles 400-1 byte packets. Verify that the download
22017 worked.
c2d11a7d
JM
22018
220191999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
22020
22021 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
22022 tests, using UNRESOLVED for the untested cases. Also, does not wait
22023 for a timeout if the prompt was received before a recognizable pattern.
22024
220251999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
22026
22027 * lib/gdb.exp (gdb_expect_list): Fix spelling.
22028
220291999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22030
22031 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 22032 watchpoints.
c2d11a7d
JM
22033
220341999-11-24 Jason Merrill <jason@casey.cygnus.com>
22035
22036 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
22037
22038 * gdb.c++/local.exp: Be more flexible in recognizing local class
22039 name mangling. Don't allow horribly truncated method names.
22040 * gdb.c++/derivation.exp: Expect protected inheritance.
22041 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
22042 * gdb.c++/virtfunc.exp: Likewise.
22043 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
22044 when printing a nested enum.
22045
220461999-11-22 Jim Blandy <jimb@cygnus.com>
22047
22048 * gdb.base/step-test.exp: Properly await GDB's response to setting
22049 a breakpoint on the call to large_struct_by_value.
22050
22051 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
22052 just because we have debug info for the `start' function.
22053
220541999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
22055
22056 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
22057 "Unknown signal" messages, which indicate (on LinuxThreads) that
22058 GDB doesn't know how to debug threads on this system. This is
22059 better than hanging while philosopher 0 dumps chatter into gdb.log.
22060
220611999-11-18 Tom Tromey <tromey@cygnus.com>
22062
22063 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
22064
220651999-11-18 Fred Fish <fnf@cygnus.com>
22066
22067 * gdb.base/coremaker2.c: Add sample program for generating
22068 cores that is more self contained than coremaker.c. Eventually
22069 I'll add more code to this and tie it into the testsuite.
22070
4ce44c66
JM
220711999-11-12 Stan Shebs <shebs@andros.cygnus.com>
22072
22073 * gdb.base/dollar.exp: Remove, now in gdb.hp.
22074
220751999-11-10 Jimmy Guo <guo@cup.hp.com>
22076
22077 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 22078 from $srcdir/lib/.
4ce44c66 22079 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 22080 and gdb.c++/.
4ce44c66
JM
22081
22082 * gdb.c++/derivation.exp: remove redundant get compiler info code.
22083
d63a86f8 22084 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
22085 'continue with watch' test point.
22086
220871999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
22088
22089 Merged from p2linux-990323-branch:
d63a86f8 22090
4ce44c66
JM
22091 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
22092
11cf8741
JM
22093Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
22094
22095 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 22096 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
22097
22098Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
22099
22100 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 22101 gdb_expect_list.
11cf8741
JM
22102
22103Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
22104
22105 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
22106
221071999-11-03 Mark Salter <msalter@cygnus.com>
22108
22109 * gdb.base/break.exp: Fix "stub continue" pattern.
22110
221111999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
22112
22113 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
22114
221151999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
22116
22117 * gdb.base/display.exp ("finish"): Add timeout clause.
22118
22119 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
22120 plain prompt clause, so this doesn't have to time out in order to
22121 fail.
22122
22123 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 22124 breakpoint hit messages include an address.
11cf8741
JM
22125
22126 * gdb.base/display.exp: Don't forget to escape parens in regular
22127 expressions. Unix regexp notatation sucks.
22128
221291999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22130
22131 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 22132 order for 'signalled' message.
11cf8741 22133
5c44784c
JM
221341999-11-01 Stan Shebs <shebs@andros.cygnus.com>
22135
22136 From Jimmy Guo <guo@cup.hp.com>:
22137 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
22138 * gdb.base/annota1.c: Add code for tests to work with.
22139
221401999-10-26 Frank Ch. Eigler <fche@cygnus.com>
22141
22142 * gdb.base/remote.exp: New test for remote downloading settings.
22143 * gdb.base/remote.c: New file with large .data.
22144
917317f4
JM
221451999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
22146
22147 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
22148 for LinuxThreads support, merged from the Code Fusion branch.
22149
22150Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
22151
22152 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
22153 containing exp_continue into a while within an expect. Don't
22154 attempt a start more than three times. Check return value from
22155 gdb_load.
d63a86f8 22156
2df3850c
JM
22157Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
22158
22159 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 22160 a pass case.
2df3850c 22161
2acceee2
JM
221621999-10-01 Kevin Buettner <kevinb@cygnus.com>
22163
22164 * gdb.base/break.c (main): Added a statement that we can step
22165 off of.
22166 * gdb.base/break.exp: Added tests for setting a breakpoint
22167 at an offset and stepping onto a breakpoint.
22168
221691999-10-01 Fred Fish <fnf@cygnus.com>
22170
d63a86f8 22171 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
22172 gdb output.
22173
c2c6d25f
JM
221741999-09-18 Jim Blandy <jimb@cris.red-bean.com>
22175
22176 * gdb.base/break.exp: Code locations are in hex, don't forget!
22177 (For HP-UX.)
22178
221791999-09-17 Stan Shebs <shebs@andros.cygnus.com>
22180
22181 * condbreak.exp: Use break.c as test program.
22182 * condbreak.c: Remove, redundant with break.c.
22183
221841999-09-15 Stan Shebs <shebs@andros.cygnus.com>
22185
22186 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 22187 Z-packets if the target needs it.
c2c6d25f
JM
22188
221891999-09-13 James Ingham <jingham@leda.cygnus.com>
22190
22191 * gdb.c++/overload.exp: Added tests for listing overloaded
22192 functions with function pointers in the arg, explicitly calling
22193 out the version you want.
22194
cff3e48b
JM
221951999-09-09 Stan Shebs <shebs@andros.cygnus.com>
22196
22197 * long_long.exp: Add variations of test cases that work for
22198 targets with 16-bit ints and 32-bit doubles.
22199
d4f3574e
SS
222001999-09-08 Stan Shebs <shebs@andros.cygnus.com>
22201
22202 * break.c (main): Compare a possibly-uninitialized argc with an
22203 unlikely value that fits in 16 bits.
22204
222051999-09-07 Stan Shebs <shebs@andros.cygnus.com>
22206
22207 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
22208 0xfeeb, don't want negative numbers if ints are 16 bits.
22209
22210 * lib/gdb.exp (skip_cplus_tests): New proc.
22211 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
22212 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
22213 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
22214 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
22215 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
22216 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
22217 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
22218 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
22219
22220 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
22221
22222Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
22223
22224 * gdb.base/corefile.exp (up): Allow a parameter to appear
22225 in the frame that we're going up to.
22226
22227 From Jim Blandy <jimb@cygnus.com>:
22228
22229 * gdb.base/default.exp (info float): Expect some output now.
22230
22231 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
22232 returning floating-point values to fail on the x86.
22233 * gdb.base/callfwmall.exp (do_function_calls): Same.
22234
22235 * gdb.base/list.exp (test_listsize): Correct expectations for
22236 listing line 1 with listsize 2. Also, listing a single line
22237 works now, as does listing three lines. [Kevin's note: There
22238 were a number of other cases fixed too where the expectations
22239 differed...]
22240
222411999-09-02 Stan Shebs <shebs@andros.cygnus.com>
22242
22243 * gdb.base/selftest.exp: Add case for when version prints as
22244 constant string instead of char pointer.
22245
104c1213
JM
222461999-08-25 Stan Shebs <shebs@andros.cygnus.com>
22247
22248 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 22249 stepping out of main.
104c1213
JM
22250
22251 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
22252 G++ used.
22253
22254 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 22255 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
22256
22257 * gdb.c++/ovldbreak.exp: Update match string in test that
22258 includes a warning of multiple breakpoints.
22259
222601999-08-24 Stan Shebs <shebs@andros.cygnus.com>
22261
22262 * gdb.base/display.exp: Improve precision of step-after-finish
22263 added yesterday.
22264
22265 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 22266 test.
104c1213
JM
22267
22268 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
22269 configs when using G++, not just hppa*.
22270
222711999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22272
22273 * gdb.base/async.c: New file.
22274 * gdb.base/async.exp: New file.
22275
22276Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
22277
22278 * gdb.base/break.exp: Tweak PA specific tests to properly handle
22279 PA64.
22280
53a5351d
JM
22281Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
22282
104c1213
JM
22283 * gdb.base/display.exp: "finish" can leave us mid-line on many
22284 targets, deal with it. Add a small constant to main, instead of
22285 1000 since main+1000 may not be a valid address in the target.
22286
53a5351d
JM
22287 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
22288 on hpux11.
22289
22290 * gdb.base/attach.exp: Handle another hpux11 error message variant
22291 when attaching to a process that does not exist.
22292
222931999-08-19 J.T. Conklin <jtc@redback.com>
22294
22295 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 22296 characters in 'continue to 1241' test.
53a5351d
JM
22297
222981999-08-17 Stan Shebs <shebs@andros.cygnus.com>
22299
22300 * gdb.base/call-ar-st.exp: Add a shorter match case for the
22301 stop in print_long_arg_list, define and use a whitespace
22302 variable in print_small_structs test, add an XFAIL for Solaris.
22303 * gdb.base/dbx.exp: XFAIL func commands until somebody is
22304 interested enough to fix.
22305
7be570e7
JM
223061999-08-13 Keith Seitz <keiths@cygnus.com>
22307
22308 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
22309 (dbx_gdb_load): Remove. Use gdb_load instead, since that
22310 proc knows about targets other than the natives.
22311 (test_assign): Use "gdb_run_cmd" to "run" the target.
22312 Check that we've actually hit the breakpoint at main.
22313 When we attempt to assign a value to a local variable, check
22314 that the variable is in the current scope, i.e., don't use
22315 a test with an empty result.
22316
22317Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
22318
22319 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 22320 command.
7be570e7
JM
22321
223221999-08-09 Stan Shebs <shebs@andros.cygnus.com>
22323
22324 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22325 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
22326 gdb.compat, gdb.threads-hp.
22327 gdb.hp/configure, gdb.hp/configure.in: New files.
22328 gdb.hp/Makefile.in: Recurse into new subdirs.
22329 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
22330 gdb.hp/gdb.objdbg: New directory, tests for debugging info
22331 in object files.
22332 gdb.hp/tools: New directory, aux tools for HP-specific tests.
22333
96baa820
JM
223341999-08-05 Stan Shebs <shebs@andros.cygnus.com>
22335
22336 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 22337 funky printf, remove a bogus p/a test.
96baa820
JM
22338
223391999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22340
22341 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
22342 connected to the target. This is necessary when running not
22343 natively.
96baa820
JM
22344
223451999-08-03 Stan Shebs <shebs@andros.cygnus.com>
22346
22347 * gdb.base/step-test.exp: Removed some extraneous messages.
22348
22349 * gdb.base/long_long.exp: Don't run memory examination tests
22350 on little-endian targets (they will need a different set of
22351 results to match).
22352
223531999-08-02 Stan Shebs <shebs@andros.cygnus.com>
22354
22355 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
22356 until somebody decides to fix GDB.
22357
22358 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 22359 constant as "ULL".
96baa820
JM
22360 * gdb.base/long_long.exp: Loosen x/c test, add partial result
22361 matches for a couple x/2 commands.
22362
a0b3c4fd
JM
223631999-07-30 Stan Shebs <shebs@andros.cygnus.com>
22364
22365 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
22366 by merging in ref-types2 tests.
22367 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
22368
22369 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22370 * gdb.c++/Makefile.in: Add standard actions.
22371 (EXECUTABLES): Rename from PROGS, update list.
22372 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
22373 from gdb.hp.
22374 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
22375 foo and bar locals.
22376 * gdb.c++/anon-union.exp: Fix tests to match.
22377 * gdb.c++/classes.exp: Run if HP compiler used, add extra
22378 expect matches to handle output variations.
22379 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
22380 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 22381 output, add HP alternatives for new and delete prints.
a0b3c4fd 22382 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 22383 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
22384 * gdb.c++/demangle.exp: Use $style when reporting failure.
22385 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
22386 * gdb.c++/inherit.exp: Run if HP compiler used, add some
22387 match alternatives.
22388 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 22389 compilers.
a0b3c4fd
JM
22390 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
22391 * gdb.c++/method.exp: Add match alternatives.
22392 * gdb.c++/misc.cc: Add bool types.
22393 * gdb.c++/misc.exp: Add tests for bool types.
22394 * gdb.c++/overload.exp: Add xfails.
22395 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
22396 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
22397 add some more template parameter tests (only for HP currently).
22398 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
22399 * gdb.c++/virtfunc.cc: Add return type and value for main.
22400 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
22401 match alternatives.
d63a86f8 22402
a0b3c4fd
JM
224031999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22404
22405 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
22406
224071999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
22408
22409 * gdb.base/signals.exp: Don't expect getting a backtrace from
22410 within a signal handler to fail on Linux.
22411
224121999-07-29 Stan Shebs <shebs@andros.cygnus.com>
22413
22414 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22415 * lib/gdb.exp: Remove some gratuitious semicolons.
22416 (delete_breakpoints): Increase timeout.
22417 (gdb_expect): Add -notransfer option.
22418 (gdb_test): Use -notransfer option.
22419 (get_compiler_info): Add f77 case.
22420 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 22421 case.
a0b3c4fd
JM
22422 (gdb_preprocess): Call get_compiler.
22423
22424 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
22425 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
22426 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
22427 gdb.base/long_long.exp, gdb.base/printcmds.exp,
22428 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
22429 third arg to gdb_test.
a0b3c4fd
JM
22430 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
22431 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 22432 HP-UX xfails, add others.
a0b3c4fd
JM
22433 * gdb.base/completion.exp: Reflect name change of self-test.
22434 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
22435 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
22436 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
22437 HP failure number.
a0b3c4fd
JM
22438 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
22439 useless HP-UX 10.30 references.
22440 * gdb.base/maint.exp: Loosen matches.
22441 * gdb.base/pointers.c (main): Declare more_code.
22442 * gdb.base/pointers.exp: Match on output of a `next'.
22443 * gdb.base/structs.c: Add prototypes.
22444 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
22445 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
22446
224471999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22448
22449 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 22450 command.
a0b3c4fd
JM
22451
224521999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22453
22454 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
22455 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
22456
22457 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
22458 debug info. Deal with lack of signal hanlder info in stack.
22459
a9c64011 22460 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
22461 * gdb.base/annota1.exp: If printf has debug info, deal with it.
22462
5a2468f5
JM
224631999-07-19 Stan Shebs <shebs@andros.cygnus.com>
22464
22465 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 22466 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 22467
adf40b2e
JM
22468Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
22469
22470 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 22471 a1-selftest.exp.
adf40b2e
JM
22472 * gdb.base/configure: Re-generate.
22473
224741999-07-12 Stan Shebs <shebs@andros.cygnus.com>
22475
22476 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
22477 in trying to run first and name is too long.
22478
22479 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
22480 pointers2.c and pointers2.exp, respectively.
22481 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
22482 doschk happier.
22483
43e526b9
JM
224841999-07-08 Stan Shebs <shebs@andros.cygnus.com>
22485
22486 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
22487 callfuncs2.c and callfuncs2.exp.
22488
22489 * gdb.base/list.exp: Remove mistaken xfails.
22490 * gdb.base/list0.h: Add optional prototypes.
22491
9846de1b
JM
22492Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
22493
a9c64011 22494 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 22495 calling malloc.
a9c64011
AS
22496 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
22497 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 22498 use.
9846de1b
JM
22499
225001999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22501
22502 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
22503 * gdb.base/annota2.cc, annota2.exp: Move from here.
22504 * gdb.c++/annota2.cc, annota2.exp: To here.
22505 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
22506
43ff13b4
JM
22507Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
22508
22509 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 22510 a consistent format.
43ff13b4 22511
085dd6e6
JM
225121999-06-25 Stan Shebs <shebs@andros.cygnus.com>
22513
22514 From Jimmy Guo <guo@cup.hp.com> and others at HP:
22515 * lib/gdb.exp (get_compiler_info): Add detection for assorted
22516 HP compilers, also set the globals $true and $false.
22517
22518 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
22519 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
22520 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
22521 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
22522 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
22523 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
22524 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
22525 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
22526 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
22527 whatis.c} Add C++ compatible function definitions and return
22528 types, add includes for library functions.
085dd6e6
JM
22529 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
22530 * gdb.base/step-test.c (myglob): Rename from glob.
22531 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
22532 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
22533 files, move here from gdb.hp.
085dd6e6 22534 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
22535 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
22536 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
22537 Adjust line numbers in regexps.
085dd6e6
JM
22538
22539 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
22540 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
22541 instead of 0/1.
22542
22543 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
22544 foll-vfork.exp: New files, move here from gdb.hp.
22545 * gdb.base/page.exp: New file, test of pagination command.
22546
22547 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
22548 recursion test.
22549 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
22550
22551 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 22552 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
22553
22554 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 22555 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 22556 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 22557 watchpoint test.
085dd6e6
JM
22558 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
22559 them work.
22560 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
22561 expressions properly.
22562 * gdb.base/corefile.exp: Loosen the match slightly.
22563 * gdb.base/default.exp: Allow "Error accessing memory" message
22564 also.
22565 * gdb.base/display.exp: Skip over x/0 j if PA64.
22566 * gdb.base/funcargs.exp: Add xfails for HP-UX.
22567 * gdb.base/interrupt.exp: Ditto.
22568 * gdb.base/langs.exp: Add symbolic matches governed by compiler
22569 in use.
22570 * gdb.base/list.exp: Add xfails for HP-UX.
22571 * gdb.base/long_long.exp: Refine some of the numeric matches.
22572 * gdb.base/mips_pro.exp: Xfail on HP-UX.
22573 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
22574 * gdb.base/nodebug.exp: Succeed on more varieties of output.
22575 * gdb.base/opaque.exp: Remove some HP-UX xfails.
22576 * gdb.base/ptype.exp: Succeed on more varieties of output.
22577 * gdb.base/scope.exp: Add xfails for HP-UX.
22578 * gdb.base/sect-cmd.exp: Add more cases.
22579 * gdb.base/setvar.exp: Add xfails for HP-UX.
22580 * gdb.base/shlib-call.exp: Loosen some matches slightly.
22581 * gdb.base/signals.exp: Match on void symbolically.
22582 * gdb.base/step-test.exp: Add case for PA64.
22583 * gdb.base/term.exp: Add exit and restart.
22584 * gdb.base/twice.exp: Clean up after self.
22585 * gdb.base/varargs.exp: Disable overload resolution explicitly.
22586 * gdb.base/whatis.exp: Allow more ways to pass tests.
22587
22588 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 22589 no longer useful.
085dd6e6
JM
22590
22591Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
22592
22593 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 22594 list of patterns.
085dd6e6 22595 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
22596 print_double_array(double_array)", "continuing to breakpoint
22597 1018", "print print_double_array(array_d)" and "continuing to
22598 1034" tests.
d63a86f8 22599
085dd6e6
JM
226001999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
22601
a9c64011 22602 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
22603
226041999-06-24 Stan Shebs <shebs@andros.cygnus.com>
22605
22606 * config/mt-*: Remove, these haven't been used since 1996.
22607
226081999-06-22 Stan Shebs <shebs@andros.cygnus.com>
22609
22610 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 22611 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
22612 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
22613
9e0b60a8
JM
226141999-06-18 Stan Shebs <shebs@andros.cygnus.com>
22615
22616 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
22617 simpler match case for the ptype of the big class.
22618
226191999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
22620
22621 * gdb.exp: Fix test for gdb_prompt existence.
22622
226231999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
22624
22625 * gdb.exp (gdb_test): Add fail after calls to perror.
22626
226271999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
22628
22629 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
22630
226311999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
22632
22633 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
22634
0f71a2f6
JM
22635Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
22636
22637 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 22638 malloc() is linked in.
0f71a2f6
JM
22639
226401999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
22641
22642 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
22643 step at end.
22644
22645 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
22646
226471999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
22648
22649 * gdb.java/jv-print.exp: New file. (Our first Java test!)
22650
cce74817
JM
22651Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
22652
22653 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
22654 * gdb.base/mips_pro.exp: Likewise.
22655
226561999-06-02 Keith Seitz <keiths@cygnus.com>
22657
22658 * gdb.c++/templates.cc: Change all "new" operators to throw
22659 an exception.
22660 * gdb.c++/cplusfuncs.cc: Likewise.
22661
22662 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
22663
22664Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
22665
22666 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
22667 * gdb.base/ending-run.exp: When stepping out of main, accept a
22668 step into an arbitrary assembler file.
cce74817 22669
392a587b
JM
226701999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22671
d63a86f8 22672 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 22673 "breakpoint-invalid" to be printed.
d63a86f8 22674 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
22675 number of "frames-invalid" and "breakpoint-invalid" to be printed.
22676 * gdb.base/annota2.cc: Initialize a.x to 0.
22677
9e086581
JM
226781999-05-17 Keith Seitz <keiths@cygnus.com>
22679
22680 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
22681 when "skip_float_tests" set.
22682 Ditto for "print print_double_array(array_d)", "print print_small_structs",
22683 "print print_ten_doubles", and "step into print_long_arg_list".
22684 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
22685 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
22686 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
22687 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
22688 "skip_float_tests" is set.
22689 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
22690 when "skip_float_tests" set.
d63a86f8 22691
cd0fc7c3
SS
226921999-05-06 Keith Seitz <keiths@cygnus.com>
22693
22694 * gdb.base/annota2.cc: Include stdio.h.
22695
22696Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
22697
22698 * gdb.base/crossload.exp: Remove, this has been disabled ever
22699 since BFD stopped including all targets, and cross-GDB gets
22700 plenty of testing anyway.
22701 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
22702 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
22703 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
22704 * gdb.base/README: Remove, was doc for this.
22705 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 22706 needed.
cd0fc7c3 22707
b83266a0
SS
227081999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22709
22710 * gdb.base/call-ar-st.exp: Fix one regular expression in test
22711 output.
22712
22713 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
22714 * gdb.base/annota2.exp: New file. More annotation tests.
22715 * gdb.base/annota1.c: New file. Source file for annota1.exp.
22716 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
22717
227181999-04-23 Angela Marie Thomas <angela@cygnus.com>
22719
22720 * config/cfdbug.exp: New file.
22721
7a292a7a
SS
227221999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
22723
22724 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
22725 Marcus Daniel's and Dale Hawkins's demangler crashes.
22726
22727 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
22728 test_lucid_style_demangling, test_arm_style_demangling,
22729 test_hp_style_demangling): Try Tom Tromey's core-dumping
22730 identifier under each demangling style.
7a292a7a
SS
22731
227321999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
22733
22734 * gdb.c++/demangle.exp: Include the current demangling style
22735 in all test names.
22736 (current_demangling_style): New global variable.
22737 (set_demangling_style, test_demangling_core, test_demangling,
22738 test_demangling_exact): New functions.
22739 (test_gnu_style_demangling, test_lucid_style_demangling,
22740 test_arm_style_demangling, test_hp_style_demangling): Use those,
22741 instead of calling gdb_test and gdb_test_exact directly.
22742 (catch_demangling_errors): New function, which reports errors
22743 signalled by the demangling test functions in an orderly way.
22744 (do_tests): Use catch_demangling_errors.
22745
227461999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
22747
22748 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 22749 grouping in expressions, not {}.
7a292a7a
SS
22750
22751 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 22752 initialized yet.
7a292a7a
SS
22753
227541999-04-01 Stan Shebs <shebs@andros.cygnus.com>
22755
22756 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
22757 are listed.
22758
227591999-03-26 Stan Shebs <shebs@andros.cygnus.com>
22760
22761 * gdb.stabs/weird.exp: Test for CC being defined before
22762 looking at its value.
22763
227641999-03-25 Stan Shebs <shebs@andros.cygnus.com>
22765
22766 * gdb.base/call-ar-st.exp: Remove stray '#'.
22767 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
22768 "short int" and "long int".
22769 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 22770 change, to mollify finicky HP compiler.
7a292a7a
SS
22771 * gdb.hp/reg-test.exp (testfile): Fix file name.
22772 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 22773
7a292a7a
SS
22774 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
22775 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
22776 alternate form of enum ptype.
22777
c906108c
SS
227781999-03-23 Stan Shebs <shebs@andros.cygnus.com>
22779
7a292a7a
SS
22780 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
22781 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
22782 passing skip_hp_tests, so as not to waste time on guaranteed
22783 failure.
7a292a7a 22784
c906108c
SS
22785 * gdb.c++/overload.cc: Pass string instead of char addr, always
22786 init ccpfoo.
22787 * gdb.c++/templates.cc: Fix syntax error.
22788
7a292a7a
SS
22789Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22790
22791 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 22792 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
22793 command.
22794
227951999-03-18 James Ingham <jingham@cygnus.com>
22796
22797 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
22798
22799 * gdb.c++/method.exp: It was testing an uninitialized int on the
22800 stack and assuming it was positive.
22801
22802 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
22803
22804 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 22805 keep it from killing the rest of the tests.
7a292a7a
SS
22806 Use gdb_continue_to_end.
22807
22808 * gdb.base/sigall.exp: use gdb_continue_to_end.
22809
22810 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
22811
22812 * gdb.base/display.exp: use runto_main, not run.
22813
d63a86f8
RM
22814 * gdb.base/default.exp: Check for the current error message in the
22815 r abbreviation test.
7a292a7a
SS
22816 Add strongarm to the targets that know info float.
22817
d63a86f8 22818 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
22819 run which doesn't work with monitors.
22820
22821 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
22822
22823 * gdb.base/break.exp: use the gdb_continue_to_end proc.
22824
22825 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
22826 program. Traps the case (in Cygmon) when the program never really
22827 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
22828 more places, so I used my name. Sorry Mark...
22829
22830 * config/monitor.exp (gdb_target_monitor): added another
22831 target_info parameter: remotebinarydownload. This will set the
22832 remotebinarydownload flag if this is causing some boards trouble.
22833
228341999-03-18 Mark Salter <msalter@cygnus.com>
22835
22836 * lib/gdb.exp (continue_to_exit): New function.
22837
22838 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
22839 * gdb.base/ending-run.exp: Ditto.
22840 * gdb.base/step-test.exp: Ditto.
22841
228421999-03-16 Stan Shebs <shebs@andros.cygnus.com>
22843
22844 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
22845 (suggested by Art Haas <ahaas@neosoft.com>).
22846
228471999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
22848
889bf7c5 22849 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
22850
22851Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
22852
22853 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 22854 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
22855
228561999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
22857
22858 * gdb.base/call-strs.exp: Don't assume that `step' will step over
22859 a call to strlen; sometimes we do have sources.
22860
228611999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
22862
22863 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 22864 character, so GDB won't print garbage after its end.
d63a86f8 22865
c906108c
SS
22866 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
22867 breakpoint there instead. Sometimes GCC emits memcpy to handle
22868 the large structures being passed by value, so we step into that
22869 instead of sum_array_print, which obscures what we're really testing.
22870 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
22871 the bizarre steps into memcpy, so do that here. Add check for
22872 stepping into function calls that pass large structures by value.
22873 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
22874 Remove all references to specific line numbers.
22875 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
22876 New type and function.
22877 (main): Call large_struct_by_value, passing it a large struct by value.
22878 * lib/gdb.exp (gdb_get_line_number): New function.
22879
22880 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
22881 more portable.
22882
7a292a7a
SS
228831999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
22884
c906108c
SS
22885 * lib/gdb.exp: Doc fixes.
22886
7a292a7a
SS
228871999-03-05 Nick Clifton <nickc@cygnus.com>
22888
d63a86f8 22889 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
22890
228911999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
22892
c906108c 22893 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
22894 commands. They're not germane to this test, and they don't work
22895 that way on remote targets.
c906108c 22896
3fc11d3e
JM
228971999-03-01 James Ingham <jingham@cygnus.com>
22898
22899 * Changelog entries merged over from gdb development branch.
22900
3fc11d3e
JM
22901 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
22902
22903 * lib/gdb.exp (gdbtk_analyze_results): Generic function
22904 for outputting results of test run.
22905
2d4a1622 22906 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
22907
22908 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 22909
7a292a7a
SS
229101999-02-25 Felix Lee <flee@cygnus.com>
22911
22912 * lib/gdb.exp (debug_format): initialize
22913
c906108c
SS
229141999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
22915
22916 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
22917 * gdb.base/call-rt-st.c: Ditto.
22918
c906108c
SS
229191999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
22920
22921 * gdb.threads/pthreads.exp (horiz): New variable.
22922 (test_startup): Fix regexps that capture thread numbers.
22923
229241999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
22925
22926 * gdb.base/smoke.exp: Disambiguate two test case names (both
22927 called ``print'').
22928
22929Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
22930
22931 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 22932 compilation.
c906108c
SS
22933
229341999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
22935
22936 * gdb.base/miscexprs.exp: Change patterns to match GDB's
22937 actual output formatting.
22938 * gdb.base/smoke.exp: GDB removes leading 0's.
22939 * gdb.base/volatile.exp: Don't check type of remuneration;
22940 that variable is no longer defined in constvars.c.
22941 * gdb.base/step-test.c (main): Exit with explicit exit code.
22942 * gdb.base/step-test.exp: Remove two nexti checks--they are
22943 not portable.
22944
229451999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
22946
22947 * gdb.base/help.exp ("help delete display"): Fix test to match
22948 gdb's output.
22949
22950 * gdb.base/long_long.c (known_types): Initialize values to zero.
22951 * gdb.base/long_long.exp: Step one more line
22952 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
22953 leading zeros. Explicitly ask for hex formatting. Use
22954 unique test case names.
c906108c
SS
22955
22956Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22957
d63a86f8 22958 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
22959
22960 * gdb.c++/method.exp: Add missing close brace.
22961
229621999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
22963
22964 * gdb.base/maint.exp: Use 'set height 0' to disable page
22965 prompting, not 'set height 400'.
22966
22967 Fix a bunch of timeouts.
22968 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
22969 four separate tests, so expect doesn't take forever to match a ton
22970 of text against a regexp with lots of .* forms.
22971 ("maint print psymbols", "maint print symbols"): Make some of
22972 these greps more selective, so that expect doesn't try to wade
22973 through huge piles of output and time out.
22974
22975 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
22976
22977 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
22978 tests: one which doesn't expect shlib events to be reported, and
22979 another which does, but is XFAIL for all platforms other than
22980 HP/UX.
c906108c
SS
22981
22982 * gdb.base/break.exp: Teach the test suite that the `catch
22983 fork', `catch vfork', and `catch exec' commands produce error
22984 messages on platforms that don't provide these features.
22985
22986Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
22987
22988 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
22989 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
22990 (shortening names from solib_threshold.exp etc), won't run on
22991 anything but HP-UX for the foreseeable future.
c906108c 22992 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 22993 reflect move.
c906108c
SS
22994
22995Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
22996
22997 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 22998 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
22999
23000Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
23001
23002 * gdb.base/shlib-call.exp: add test cases to verify that gdb
23003 successfully re-sets breakpoints in shared libraries.
23004 * gdb.base/shmain.c (main): return 0, don't fall off the end.
23005
23006Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23007
d63a86f8
RM
23008 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
23009 and compiled w/o GCC.
c906108c
SS
23010
23011 * gdb.hp/watch-cmd.exp: ditto.
23012
23013 * gdb.hp/watch-hp.exp: ditto.
23014
23015 * gdb.hp/xdb1.exp: ditto.
23016
23017 * gdb.hp/xdb2.exp: ditto.
23018
23019 * gdb.hp/dbx.exp: ditto.
23020
23021Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
23022
23023 * constvars.c: Remove C++-isms.
23024 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 23025 with GCC.
c906108c
SS
23026
23027Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
23028
23029 The following changes are part of the HP merge.
23030
23031 * gdb.base/break.exp: new tests to verify that catchpoints for
23032 fork, vfork, and exec don't trigger inappropriately.
23033
23034 * gdb.base/opaque.exp: compile one file at a time, then link.
23035
23036 * gdb.base/signals.exp: be more restrictive about which hppa
23037 systems receive a setup_xfail. new tests.
23038
23039 * gdb.base/solib_threshold.build: new file.
23040 * gdb.base/solib_threshold.exp: new file.
23041 * gdb.base/solib_threshold.link_opts: new file.
23042 * gdb.base/solib_threshold.mk: new file.
23043 * gdb.base/gen_solib_threshold.c: new file.
23044
23045 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
23046 tests. New tests for enums inside classes.
23047
23048 * gdb.c++/compiler.cc: indicate support of template debugging.
23049
23050 * gdb.c++/demangle.exp: run hp style demangling tests.
23051
23052 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
23053 tests.
23054
23055 * gdb.c++/misc.cc: changes to support new tests.
23056
23057 * gdb.c++/templates.cc: changes to support HP's compiler; changes
23058 to support new tests.
23059
23060 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
23061 gcc, then skip these tests.
23062
23063Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
23064
23065 The following files are part of the HP merge; some had longer
23066 names at HP, but have been renamed to be no more than 14
23067 characters in length.
23068
23069 * gdb.hp/ambiguous.cc: new file.
23070 * gdb.hp/ambiguous.exp: new file.
23071 * gdb.hp/attach.exp: new file.
23072 * gdb.hp/attach2.exp: new file.
23073 * gdb.hp/classes-hp.exp: new file.
23074 * gdb.hp/ctti.exp: new file.
23075 * gdb.hp/ctti-add.cc: new file.
23076 * gdb.hp/ctti-add1.cc: new file.
23077 * gdb.hp/ctti-add2.cc: new file.
23078 * gdb.hp/ctti-add3.cc: new file.
23079 * gdb.hp/dbx.exp: new file.
23080 * gdb.hp/exception.cc: new file.
23081 * gdb.hp/exception.exp: new file.
23082 * gdb.hp/foll-exec.c: new file.
23083 * gdb.hp/foll-exec.exp: new file.
23084 * gdb.hp/foll-fork.c: new file.
23085 * gdb.hp/foll-fork.exp: new file.
23086 * gdb.hp/foll-vfork.c: new file.
23087 * gdb.hp/foll-vfork.exp: new file.
23088 * gdb.hp/inherit-hp.exp: new file.
23089 * gdb.hp/more-steps.exp: new file.
23090 * gdb.hp/namespace.cc: new file.
23091 * gdb.hp/namespace.exp: new file.
23092 * gdb.hp/optimize.exp: new file.
23093 * gdb.hp/pxdb.c: new file.
23094 * gdb.hp/pxdb.exp: new file.
23095 * gdb.hp/quicksort.exp: new file.
23096 * gdb.hp/reg-test.exp: new file.
23097 * gdb.hp/reg-test.s: new file.
23098 * gdb.hp/sized-enum.c: new file.
23099 * gdb.hp/sized-enum.exp: new file.
23100 * gdb.hp/start-stop.exp: new file.
23101 * gdb.hp/templ-hp.cc: new file.
23102 * gdb.hp/templ-hp.exp: new file.
23103 * gdb.hp/thr-lib.c: new file.
23104 * gdb.hp/thr-lib.exp: new file.
23105 * gdb.hp/thr-lib.h: new file.
23106 * gdb.hp/thr-liblib.c: new file.
23107 * gdb.hp/virtfun-hp.c: new file.
23108 * gdb.hp/virtfun-hp.exp: new file.
23109 * gdb.hp/watch-cmd.exp: new file.
23110 * gdb.hp/watch-hp.exp: new file.
23111 * gdb.hp/xdb1.exp: new file.
23112 * gdb.hp/xdb2.exp: new file.
23113 * gdb.hp/xdb3.exp: new file.
23114
23115Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
23116
23117 The following files are part of the HP merge; some had longer
23118 names at HP, but have been renamed to be no more than 14
23119 characters in length.
23120
23121 * gdb.base/ss.h: new file.
23122 * gdb.base/call-ar-st.c: new file.
23123 * gdb.base/call-ar-st.exp: new file.
23124 * gdb.base/call-rt-st.c: new file.
23125 * gdb.base/call-rt-st-exp: new file.
23126 * gdb.base/call-strs.exp: new file.
23127 * gdb.base/ena-dis-br.exp: new file.
23128 * gdb.base/environ.exp: new file.
23129 * gdb.base/long_long.exp: new file.
23130 * gdb.base/sect-cmd.exp: new file.
23131 * gdb.base/shlib-cl2.exp: new file.
23132 * gdb.base/smoke.exp: new file.
23133 * gdb.base/so-impl-ld.c: new file.
23134 * gdb.base/so-impl-ld.exp: new file.
23135 * gdb.base/so-indr-cl.c: new file.
23136 * gdb.base/so-indr-cl.exp: new file.
23137 * gdb.base/varargs.exp: new file.
23138 * gdb.base/volatile.exp: new file.
23139 * gdb.base/whatis-exp.exp: new file.
7a292a7a 23140 * gdb.base/display.exp: new file.
c906108c
SS
23141 * gdb.c++/derivation.exp: new file.
23142 * gdb.c++/local.exp: new file.
23143 * gdb.c++/member-ptr.exp: new file.
23144 * gdb.c++/overload.exp: new file.
23145 * gdb.c++/ovldbreak.exp: new file.
23146 * gdb.c++/ref-types.exp: new file.
23147 * gdb.c++/ref-types2.exp: new file.
23148 * gdb.c++/userdef.exp: new file.
d63a86f8 23149
c906108c
SS
23150Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
23151
23152 * gdb.base/default.exp: Reflect wording change in remote.c.
23153
dc96c6c7 23154Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23155
23156 * gdb.base/help.exp: Update to reflect current text.
23157
23158Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
23159
23160 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
23161 they're stack variables and contain garbage.
23162 * gdb.c++/anon-union.exp: new file.
23163
23164 The following changes were made by David Taylor
889bf7c5
PA
23165 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
23166 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
23167 in changes by HP.
c906108c
SS
23168
23169 * gdb.base/bitops.exp: new file.
23170 * gdb.base/default.exp: change expected messages for catch and
23171 info catch tests to reflect HP merge changes.
23172 * gdb.base/enable-disable-break.exp
23173 * gdb.base/ending-run.c: new file.
23174 * gdb.base/long_long.c: new file.
23175 * gdb.base/maint.exp: new file.
23176 * gdb.base/pointers2.exp: new file.
23177 * gdb.base/shlib-call2.exp: new file.
23178 * gdb.base/solib.exp: new file.
23179 * gdb.base/step-test.c: new file.
23180 * gdb.c++/anon-union.cc: new file.
23181 * gdb.c++/local.cc: new file.
23182 * gdb.c++/member-pointer.cc: new file.
23183 * gdb.c++/method.cc: new file.
23184 * gdb.c++/ref-types.cc: new file.
23185 * gdb.c++/ref-types2.cc: new file.
23186 * gdb.c++/userdef.cc: new file.
d63a86f8 23187
c906108c
SS
23188 * gdb.base/scope.exp: compile one file at a time, then link.
23189 * gdb.base/langs.exp: ditto.
23190 * gdb.base/list.exp: ditto.
d63a86f8 23191
c906108c
SS
23192Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
23193
23194 The following changes were made by David Taylor
889bf7c5
PA
23195 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
23196 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
23197 in changes by HP.
d63a86f8 23198
c906108c
SS
23199 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
23200 skip tests. When compiling pass c++ flag to gdb_compile.
23201 * gdb.c++/
d63a86f8 23202
c906108c
SS
23203 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
23204 test for on hppa*-*-hpux*; use args to see if c++ was specified.
23205 (skip_hp_tests): new function.
23206 (gdb_preprocess): new function.
23207
23208 * configure.in (hpdir): decide whether to configure gdb.hp.
23209 * configure: regenerated.
23210
23211 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
23212 to delete on clean.
23213 (EXECUTABLES): update to reflect new additions.
23214 * gdb.base/commands.exp: update message expected.
23215 * gdb.base/default.exp: add copyright notice.
23216 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
23217 * gdb.base/help.exp: update messages to reflect current text.
23218 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
23219 targets for recurse tests.
23220 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
23221 skip this file.
23222
23223 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
23224 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
23225 compilation.
23226 * gdb.c++/misc.exp: ditto.
23227 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
23228 run the tests. tell gdb_compile that it's a c++ compilation.
23229
23230 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 23231
c906108c
SS
23232 * gdb.base/all-bin.exp: new file.
23233 * gdb.base/arithmet.exp: new file.
23234 * gdb.base/assign.exp: new file.
23235 * gdb.base/completion.exp: new file.
23236 * gdb.base/cond-expr.exp: new file.
23237 * gdb.base/condbreak.exp: new file.
23238 * gdb.base/define.exp: new file.
23239 * gdb.base/dollar.exp: new file.
23240 * gdb.base/environment.exp: new file.
23241 * gdb.base/eval-skip.exp: new file.
23242 * gdb.base/jump.exp: new file.
23243 * gdb.base/logical.exp: new file.
23244 * gdb.base/pointers.exp: new file.
23245 * gdb.base/relational.exp: new file.
23246 * gdb.base/section_command.exp: new file.
23247 * gdb.base/whatis-expr.exp: new file.
23248
23249 * gdb.base/all-types.c: new file.
23250 * gdb.base/call-array-struct.c: new file.
23251 * gdb.base/call-return-struct.c: new file.
23252 * gdb.base/call-strings.c: new file.
23253 * gdb.base/callfuncs2.c: new file.
23254 * gdb.base/condbreak.c: new file.
23255 * gdb.base/constvars.c: new file.
23256 * gdb.base/display.c: new file.
23257 * gdb.base/int-type.c: new file.
23258 * gdb.base/jump.c: new file.
23259 * gdb.base/miscexprs.c: new file.
23260 * gdb.base/pointers.c: new file.
23261 * gdb.base/pointers2.c: new file.
23262 * gdb.base/shmain.c: new file.
23263 * gdb.base/shr1.c: new file.
23264 * gdb.base/shr2.c: new file.
23265 * gdb.base/solib.c: new file.
23266 * gdb.base/solib1.c: new file.
23267 * gdb.base/solib2.c: new file.
23268 * gdb.base/varargs.c: new file.
23269 * gdb.c++/derivation.cc: new file.
23270 * gdb.c++/overload.cc: new file.
23271 * gdb.c++/ovldbreak.cc: new file.
23272 * gdb.hp/attach.c: new file.
23273 * gdb.hp/attach2.c: new file.
23274 * gdb.hp/average.c: new file.
23275 * gdb.hp/compiler.c: new file.
23276 * gdb.hp/compiler.cc: new file.
23277 * gdb.hp/execd-program.c: new file.
23278 * gdb.hp/follow-exec.c: new file.
23279 * gdb.hp/follow-fork.c: new file.
23280 * gdb.hp/follow-vfork-and-exec.c: new file.
23281 * gdb.hp/misc-hp.cc: new file.
23282 * gdb.hp/more-steps.c: new file.
23283 * gdb.hp/optimize.c: new file.
23284 * gdb.hp/quicksort.c: new file.
23285 * gdb.hp/run-hp.c: new file.
23286 * gdb.hp/start-stop.c: new file.
23287 * gdb.hp/sum.c: new file.
23288 * gdb.hp/templates-hp.cc: new file.
23289 * gdb.hp/thread-local-in-lib.c: new file.
23290 * gdb.hp/thread-local-in-lib.h: new file.
23291 * gdb.hp/thread-local-in-lib.lib.c: new file.
23292 * gdb.hp/vforked-program.c: new file.
23293 * gdb.hp/virtfunc-hp.cc: new file.
23294 * gdb.hp/watchpoint-hp.c: new file.
23295 * gdb.hp/xdb.c: new file.
23296 * gdb.hp/xdb0.c: new file.
23297 * gdb.hp/xdb0.h: new file.
23298 * gdb.hp/xdb1.c: new file.
23299
23300Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
23301
23302 The following change was made by Edith Epstein
889bf7c5
PA
23303 <eepstein@cygnus.com> as part of a project to merge in changes
23304 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
23305
23306 * gdb.c++/demangle.exp: changed the expected output for some
23307 ARM-style mangling -- removed second reference to datatype.
889bf7c5 23308 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 23309 T1<char>::~T1<char>(void)
c906108c 23310 becomes,
a9c64011
AS
23311 maint demangle __dt__11T1__pt__2_cFv
23312 T1<char>::~T1(void)
c906108c 23313
889bf7c5 23314 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 23315
c906108c
SS
23316Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
23317
23318 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
23319 * gdb.trace/backtrace.exp: Likewise.
23320 * gdb.trace/circ.exp: Likewise.
23321 * gdb.trace/collection.exp: Likewise.
23322 * gdb.trace/deltrace.exp: Likewise.
23323 * gdb.trace/infotrace.exp: Likewise.
23324 * gdb.trace/limits.exp: Likewise.
23325 * gdb.trace/packetlen.exp: Likewise.
23326 * gdb.trace/passc-dyn.exp: Likewise.
23327 * gdb.trace/passcount.exp: Likewise.
23328 * gdb.trace/report.exp: Likewise.
23329 * gdb.trace/save-trace.exp: Likewise.
23330 * gdb.trace/tfind.exp: Likewise.
23331 * gdb.trace/tracecmd.exp: Likewise.
23332 * gdb.trace/while-dyn.exp: Likewise.
23333 * gdb.trace/while-stepping.exp: Likewise.
23334
233351998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
23336
23337 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
23338
23339Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
23340
23341 From Brendan Kehoe:
23342 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
23343 int return types.
23344
23345Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
23346
23347 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 23348 remote dos host testing right.
c906108c
SS
23349
23350Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
23351
23352 * gdb.base/corefile.exp: remove some xfails.
23353
23354Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
23355
23356 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 23357 have different timestamps.
c906108c
SS
23358
23359Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
23360
23361 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 23362 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
23363
23364Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
23365
23366 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 23367 delta.
c906108c
SS
23368
23369Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
23370
23371 * gdb.base/default.exp: Add brace missing from previous delta.
23372
23373Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
23374
23375 * gdb.base/default.exp: Support test for info float for all
23376 varieties of arm toolchain.
23377
dc96c6c7 23378Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23379
23380 * gdb.trace/*.exp: remove "remote_download" command.
23381
dc96c6c7 23382Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23383
23384 * gdb.trace/*.exp: remove -gdwarf from compile.
23385
23386Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
23387
23388 * gdb.trace/configure.in(AC_INIT): typo
23389 * gdb.trace/configure: regenerated
23390
dc96c6c7 23391Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23392
23393 * config/m68k-emc.exp: New file.
23394 * lib/<emc-support.exp trace-support.exp}: New files.
23395 * configure.in: add new test directory gdb.trace.
23396 * gdb.trace/{configure configure.in Makefile.in}: New files.
23397 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
23398 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
23399 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
23400 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
23401 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
23402 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
23403 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 23404
dc96c6c7 23405Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23406
23407 * gdb.c++/classes.exp: Change all regular expressions to match
23408 arbitrary combinations of newline/carriage-return, so that they
23409 will work equally well on Unix and Windows.
23410 * gdb.c++/inherit.exp: ditto.
23411 * gdb.c++/virtfunc.exp: ditto.
23412
234131998-08-11 Dawn Perchik <dawn@cygnus.com>
23414
23415 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
23416
c2d11a7d
JM
23417Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
23418
23419 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
23420 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
23421 to use a0-a3/d0-d3 as needed.
23422
23423Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
23424
23425 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
23426 * gdb.disasm/am33.exp: Corresponding changes.
23427
c906108c
SS
234281998-07-11 Felix Lee <flee@cygnus.com>
23429
23430 * gdb.base/callfuncs.exp: add cmp10 test.
23431 * gdb.base/callfuncs.c (cmp10): new function.
23432
23433Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
23434
d63a86f8 23435 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
23436 into two parts to get around a synchronization problem in expect.
23437
3fc11d3e
JM
23438Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
23439
23440 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
23441
23442 * configure.in: Add options for gdbtk testsuite.
23443
23444 * configure: Regenerate.
23445
23446 * gdb.gdbtk: New directory to hold gdbtk tests.
23447
c906108c
SS
23448Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
23449
23450 * gdb.fortran/types.exp: Escape brackets in expect patterns
23451 for test_float_literal_types_accepted tests.
23452 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
23453 before run test.
23454
c2d11a7d
JM
23455Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
23456
23457 * am33.exp: Just compile, do not link the testcase.
23458 * am33.s: Add ".am33" pseudoop to force am33 mode.
23459
c906108c
SS
234601998-06-25 Felix Lee <flee@cygnus.com>
23461
23462 * gdb.base/setshow.exp: make sure $pc is sane.
23463
23464 * gdb.stabs/weird.exp: split expect patterns properly.
23465
c2d11a7d
JM
23466Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
23467
23468 * gdb.disasm/am33.s: New disassembler testfile for the am33.
23469 * gdb.disasm/am33.exp: Run it.
23470
dc96c6c7 23471Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23472
23473 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
23474 match processing (and eliminate spurious timeouts when running).
23475
dc96c6c7 23476Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23477
23478 * gdb.base/signals.exp (test_handle_all_print): put back Mach
23479 exception test, but conditionalize it on target [mach | gnu].
23480
dc96c6c7 23481Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
23482
23483 * gdb.base/overlays.exp: fixup compile line for linker script.
23484
23485Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
23486
23487 * gdb.fortran/types.exp: don't guess at float size.
23488
23489Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
23490
23491 * gdb.base/exprs.exp: delete test that depends on int size.
23492
23493Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
23494
23495 * config/sim.exp: Removed checks for target triplets.
23496 (gdb_target_sim): Use gdb,target_sim_options.
23497
23498Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
23499
23500 * gdb.base/reread.exp: New file.
23501 * gdb.base/reread1.c: New file.
23502 * gdb.base/reread2.c: New file.
23503
23504Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
23505
23506 * config/sim.exp: Use 'target sim -sparclite' when running
23507 SPARClite programs.
23508
23509Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
23510
23511 * gdb.base/structs2.exp: New file.
23512 * gdb.base/structs2.c: New file.
23513
23514Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
23515
23516 * gdb.asm/common.inc: New file.
23517 * gdb.asm/d10v.inc: New file.
23518 * asm-source.exp: Pass -I's to gas to find .inc files.
23519 Update line numbers in expected output.
23520 * asmsrc1.s: Rewrite.
23521 * asmsrc2.s: Rewrite.
23522 * configure.in: Create arch.inc symlink.
23523 * configure: Regenerate.
23524 * Makefile.in (distclean): Delete arch.inc.
23525
23526Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
23527
23528 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
23529 (t_enum_value2): ditto
23530 (t_enum_value3): ditto
23531 (main): ditto
c906108c
SS
23532Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
23533
23534 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
23535 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
23536 change.
23537 Use gdb_test instead of send_gdb/gdb_expect sequences.
23538
23539Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
23540
23541 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
23542 not void.
23543
23544Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
23545
23546 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
23547 subroutines. Used to test gdbs ability to single step through PC
23548 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
23549
23550Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
23551
23552 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
23553 more rigorous EGCS C++ error checking.
23554
23555Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23556
a9c64011
AS
23557 * gdb.base/help.exp: Clean up `help set args' and `help show args'
23558 tests.
23559 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
23560 function when asleep.
23561 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
23562 for i*86 Linux and SVR4 signal handling problems.
23563 Remove linux xfail for `next to handler in signals_tests_1', fixed
23564 by recent infrun.c change.
23565 Limit backtrace to 10 frames to avoid timeout problems with infinite
23566 stack backtraces.
23567 Adjust expect pattern in `handle all print' test to match Apr 28 1997
23568 target.[ch] change.
c906108c
SS
23569
23570Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
23571
23572 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
23573 for a newline from gdb before continuing.
23574 (default_gdb_exit): Just look for y or n.
23575 (gdb_test): Detect abnormal exit from GDB running on DOS; if
23576 it does, fail the rests of the tests in the file.
23577
23578Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
23579
23580 * config/cygmon.exp: New file.
23581
23582Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
23583
23584 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 23585 main" test on remote targets.
c906108c
SS
23586
23587 * gdb.base/scope.exp: Fix problem with filelocal_bss before
23588 run test on remote targets.
23589
23590Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
23591
23592 * gdb.asm: New directory.
23593 * configure.in: Configure it.
23594 * configure: Regenerate.
23595 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
23596 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
23597
23598Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
23599
23600 * config/mn10300-eval.exp: New file to support MN10300 eval board.
23601
dc96c6c7 23602Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 23603
a9c64011
AS
23604 * gdb.base/overlays (several files): Merge the two overlay
23605 managers into one. Change variables (foox, barx, bazx, grbxx)
23606 back into ints but force them to load in their proper sections.
c906108c
SS
23607
23608Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
23609
23610 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 23611 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
23612 (D10VCopy): Handle memory regions crossing 16k boundaries.
23613 (D10VCopy): Transfer data in 32 bit chunks.
23614
23615Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
23616
23617 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 23618 correct.
c906108c
SS
23619
23620 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 23621 map. Include space for printf in .text segment.
c906108c
SS
23622
23623 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 23624 updated d10v memory VMA/LMA map.
c906108c 23625 (D10VCopy): Call D10VTranslate.
d63a86f8 23626
c906108c
SS
23627Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
23628
23629 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
23630
23631 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
23632 that it won't be put into the .sdata - small data -
23633 section. Update reference.
c906108c
SS
23634 * gdb.base/baz.c (bazx, baz): Ditto.
23635 * gdb.base/foo.c (foox, foo): Ditto.
23636 * gdb.base/grbx.c (grbxx, grbx): Ditto.
23637
23638 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 23639 to be arrays.
d63a86f8 23640
dc96c6c7 23641Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 23642
a9c64011
AS
23643 * gdb.base/overlays.exp: fix up and get working again.
23644 Add tests for backtraces from an overlay function.
d63a86f8 23645
c906108c
SS
23646Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
23647
23648 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
23649 "calling function with watchpoint enabled".
23650
23651Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
23652
23653 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 23654 gdb_suppress_tests for d10v-*-*.
c906108c
SS
23655 * lib/gdb.exp (gdb_suppress_tests): Disable this function
23656 pending review of whether it is useful or not.
23657
23658Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
23659
23660 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
23661
23662Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
23663
23664 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
23665 * config/dve.exp: New file to support Densan boards.
23666
23667Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
23668
23669 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 23670 reads and BSD.
c906108c
SS
23671
23672Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
23673
23674 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
23675 response.
23676
23677 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
23678
23679Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
23680
23681 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 23682 test.
c906108c
SS
23683
23684 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 23685 target_sizeof_long and target_bigendian_p.
c906108c 23686 (structs_by_value, structs_by_reference): Check values according
889bf7c5 23687 to targets word size and endianess.
d63a86f8 23688
c906108c
SS
23689Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
23690
23691 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 23692 output.
c906108c
SS
23693
23694Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
23695
23696 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 23697 Update test of set args help to match source change.
c906108c
SS
23698
23699Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
23700
23701 * gdb.base/default.exp: Expect help system output to be in
23702 alphabetical order.
23703 * gdb.base/help.exp: Ditto.
23704
23705Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
23706
23707 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
23708 "i*86-pc-linux-gnu*".
23709 * gdb.base/interrupt.exp: Ditto.
23710 * gdb.base/corefile.exp: Ditto.
23711
23712 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 23713 define vxworks when building the testcase.
c906108c
SS
23714
23715 * gdb.base/ptype.exp: Fix testnames to be unique.
23716 * gdb.base/radix.exp: Ditto.
23717 * gdb.base/term.exp: Ditto.
23718 * gdb.base/whatis.exp: Ditto.
23719 * gdb.c++/classes.exp: Ditto.
23720
23721Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
23722
23723 * gdb.base/callfuncs.exp: Fix indentation.
23724
23725 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
23726 suppress_flag has been set.
23727 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
23728 target feature.
23729
23730Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
23731
23732 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
23733 the testcase.
23734
23735 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 23736 set_debug_traps() and breakpoint().
c906108c
SS
23737 * gdb.c++/misc.cc (main): Ditto.
23738 * gdb.c++/templates.cc (main): Ditto.
23739 * gdb.c++/virtfunc.cc (main): Ditto.
23740
23741Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
23742
23743 * lib/gdb.exp(gdb_step_for_stub): New function.
23744 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
23745 exists, reload the executable and do a "continue" instead of
23746 doing a jump.
23747 (runto_main): Use gdb_step_for_stub.
d63a86f8 23748
c906108c 23749 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 23750 tests to have unique names.
c906108c
SS
23751 * gdb.base/callfuncs.exp: Ditto.
23752 * gdb.base/commands.exp: Ditto.
23753 * gdb.base/default.exp: Ditto.
23754 * gdb.base/help.exp: Ditto.
23755 * gdb.base/list.exp: Ditto.
23756 * gdb.base/opaque.exp: Ditto.
23757 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
23758 similar tests.
d63a86f8 23759
c906108c
SS
23760 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
23761 * gdb.c++/cplusfuncs.cc: Ditto.
23762 * gdb.c++/virtfunc.cc: Ditto.
23763
23764 * config/monitor.exp: Keep track of the last file we saw, rather
23765 than trying to get the info from gdb.
23766
23767 * gdb.fortran/types.exp: Move comment to previous line.
23768
23769Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
23770
23771 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 23772 target mode.
c906108c
SS
23773
23774Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
23775
23776 From Bob Manson:
23777 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 23778 string from GDB when it connects.
c906108c
SS
23779
23780 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
23781
23782Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
23783
23784 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
23785 if we can't get a debug format from GDB (we may be testing an
23786 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
23787
23788 * gdb.stabs/weird.exp: Fix quoting.
23789
23790 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
23791
23792Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
23793
23794 * config/arm-ice.exp: New file.
23795
23796Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
23797
23798 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 23799 until it has been modified to work with the new testsuite.
c906108c 23800
99707966 23801 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
23802 testcase won't compile, cause all of the testcases in the file to
23803 fail instead.
c906108c
SS
23804
23805 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
23806 (gdb_clear_suppressed): New procedure.
23807 (gdb_stop_suppressing_tests): Only clear suppress_flag if
23808 it contains a positive value.
23809
23810Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
23811
23812 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
23813
23814 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
23815
23816Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
23817
23818 * lib/gdb.exp (setup_xfail_format): New function.
23819 (get_debug_format): New function to get debug format.
23820 (debug_format): New global variable to hold last value set
23821 by get_debug_format.
23822 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 23823 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
23824 * gdb.c++/ptype.exp: Ditto.
23825 * gdb.c++/classes.exp: Ditto.
23826 * gdb.c++/cplusfuncs.exp: Ditto.
23827 * gdb.c++/inherit.exp: Ditto.
23828 * gdb.c++/templates.exp: Ditto.
23829 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 23830
c906108c
SS
23831Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
23832
23833 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
23834 host doesn't have a currently-open connection.
23835
23836 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
23837 any gdb stub target. Handle cases where gdb doesn't respond when
23838 interrupted in a sane fashion.
c906108c
SS
23839
23840 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 23841 same thing in a totally different way.
c906108c
SS
23842
23843 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 23844 setting "timeout".
c906108c 23845 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 23846 default_gdb_init now.
c906108c
SS
23847
23848Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
23849
23850 * gdb.base/printcmds.exp: Fix "check for floating addition"
23851 regexp to accept results within approx +/- .01 of exact value.
23852 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
23853
23854Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
23855
23856 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 23857 properly.
c906108c
SS
23858 (gdb_expect): Add optional timeout parameter, and add timeout
23859 value to various calls.
23860 (gdb_suppress_tests): Only give one warning message per group.
23861
23862Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
23863
23864 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
23865 global variables. Handle getting a value for $timeout more
23866 gracefully.
c906108c
SS
23867
23868Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
23869
23870 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 23871 initialize.
c906108c 23872 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 23873 by a target configuration file.
c906108c
SS
23874 (gdb_expect): Pass the timeout to remote_expect.
23875
23876 * config/monitor.exp(gdb_load): Fix typo in regexp.
23877
23878Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
23879
23880 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
23881
23882Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
23883
23884 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
23885 here. Call gdb_target_exec before rebooting the target, to make
23886 sure the connection to the target is closed.
c906108c
SS
23887 (gdb_load): Pass the name of the executable to gdb_target_monitor.
23888 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
23889 Also detect "Timeout reading from remote" error.
23890
23891 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
23892 gdb_target_monitor. Don't call gdb_file_cmd here; let
23893 gdb_target_monitor do it.
c906108c
SS
23894
23895 * gdb.disasm/hppa.exp: Don't use exec_output.
23896
23897Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
23898
23899 * gdb.base/list.exp: If we're debugging a non-native target,
23900 try to set the pc register to point to the start of the
23901 program before doing the first list command.
23902
23903 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 23904 test_calls after restarting.
c906108c
SS
23905
23906 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 23907 reloading.
c906108c
SS
23908
23909 * gdb.base/watchpoint.exp: Fix typo.
23910
23911 * gdb.base/setshow.exp: Check for use_gdb_stub.
23912
23913 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 23914 stub case.
c906108c
SS
23915 * gdb.base/langs.exp: Ditto.
23916
23917 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
23918 gdb_load_offset. If we weren't given a file to load, figure out
23919 what the current file is and use it.
c906108c
SS
23920
23921 * config/i386-bozo.exp: New file.
23922
23923Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
23924
23925 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
23926 feature.
23927
23928 * config/proelf.exp: New entry.
23929
23930Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
23931
23932 * lib/gdb.exp: Remove spurious .* patterns at the beginning
23933 of regexps.
23934
23935 * gdb.base/watchpoint.exp: Don't run the test_stepping
23936 tests if gdb can't call functions on the target.
23937
23938 * gdb.base/setshow.exp: Don't run the set prompt tests if
23939 the board has gdb_prompt set.
23940
23941Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
23942
23943 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
23944 * gdb.base/commands.exp: Likewise.
23945 * gdb.base/setshow.exp: Likewise.
23946
23947Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
23948
23949 * config/monitor.exp(gdb_start): Look for gdb_prompt target
23950 feature.
23951
23952 * config/i960.exp: New file.
23953
23954Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
23955
23956 * gdb.base/funcargs.exp: Check for gdb,short_int target
23957 feature instead of looking for explicit target triplets.
23958
dc96c6c7 23959Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 23960
d63a86f8 23961 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
23962 "p 123DEADBEEF", to check parse_number.
23963 * top.c: change "to enable to enable" to "to enable" in a couple
23964 of help strings.
23965
23966Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
23967
23968 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
23969 on the mn10300.
d63a86f8 23970
c906108c
SS
23971Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
23972
23973 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
23974 where the test executable is run with explicit args.
23975 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
23976
23977Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
23978
23979 * gdb.base/run.c: Use FAKEARGV to build test executable that
23980 does not require a command line arg, since most simulators
23981 don't currently support passing such an arg into the simulated
23982 program.
23983 * gdb.base/commands.exp: Change tests to insert the proper
23984 value as the arg to the first recursive factorial call. Change
23985 compilation line to define FAKEARGV at compile time.
23986
23987Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
23988
23989 * gdb.base/recurse.exp: Enable these tests for the mn10300.
23990 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
23991 function with watchpoint enabled" test.
23992
23993Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
23994
23995 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 23996 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
23997
23998 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 23999 "Tests restarted" messages.
c906108c
SS
24000
24001Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
24002
24003 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
24004
dc96c6c7 24005Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24006
24007 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
24008 for INFO SYMBOL; add help tests for OVERLAY commands.
24009 * gdb.base/default.exp: add tests for INFO SYMBOL command;
24010 add tests for OVERLAY commands
24011 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
24012 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
24013 * gdb.base/sigall.c: add usestubs code frag
24014 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 24015
c906108c
SS
24016Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
24017
24018 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
24019 failures.
24020 (gdb_stop_suppressing_tests): Note that tests have restarted.
24021
24022Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
24023
24024 * config/h8300.exp: New file.
24025
24026Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
24027
24028 * gdb.base/setshow.exp: Check for the existence of a
24029 feature, not its value.
24030
24031Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
24032
24033 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
24034
24035 * gdb.base/scope.exp: It's now init0(), not init().
24036
24037 * gdb.base/scope0.c: For now, change init() to be init0().
24038
24039 * config/monitor.exp: Use gdb_serial in preference to serial
24040 or netport.
24041
24042 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 24043 and it's not already set.
c906108c
SS
24044
24045Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
24046
24047 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 24048 isn't using a stub and if it supports argument passing.
c906108c
SS
24049
24050Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
24051
24052 * config/udi.exp(gdb_start): Make sure UDICONF is set
24053 properly before starting gdb.
24054
24055Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
24056
24057 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
24058 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
24059 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
24060
24061Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
24062
24063 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 24064 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
24065
24066 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
24067
24068 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
24069
24070 * config/monitor.exp: Make sure we disconnect from the target.
24071 Also, try a reboot/reload cycle instead of failing if the
24072 load fails.
24073
24074Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
24075
24076 * gdb.base/default.exp: Don't set match_max.
24077 * gdb.base/help.exp: Ditto.
24078 * gdb.base/list.exp: Ditto.
24079 * gdb.base/signals.exp: Ditto.
24080
24081 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
24082 set, use remote_ld to download the testcase instead of
24083 the GDB loader.
24084
24085Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
24086
24087 * config/vr5000.exp: New file.
24088
24089 * config/monitor.exp(gdb_target_monitor): Add pattern for
24090 "Ending remote" to detect errors in connecting.
24091
24092 * gdb.base/setshow.exp: Add .* within auto language test.
24093
24094 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
24095 target feature.
24096
24097 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 24098 and reboot the board if necessary.
c906108c
SS
24099
24100 * gdb.base/setvar.exp(test_set): Handle multiple prints within
24101 a set of tests. Remove print.* from the patterns being checked.
24102
24103Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
24104
24105 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
24106 refer to gdb_spawn_id.
24107
24108 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
24109 longer used.
24110 * config/sparclet.exp: Ditto.
24111 * config/sparclet-old.exp: Ditto.
24112 * config/slite.exp: Ditto.
24113 * config/sim.exp: Ditto.
24114 * gdb.base/funcargs.exp: Ditto.
24115
24116 * lib/gdb.exp:Remove references to gdb_spawn_id.
24117 (gdb_expect): Move to remote.exp.
24118
24119Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
24120
24121 * config/monitor.exp: Detect the "Couldn't establish connection"
24122 message from GDB.
24123
24124Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
24125
24126 * gdb.base/bitfields.exp: Use runto instead of explicit
24127 gdb_run_cmd/gdb_expect sequences.
24128
24129 * gdb.base/break.exp(text_next_with_recursion): Add match for
24130 gdb_expect call.
24131
24132 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
24133 We also need to handle the "A program is being debugged already"
24134 prompt from gdb. Use gdb_test to set the baud rate.
24135
24136 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
24137 to 20000. Really. I mean it.
24138
24139Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
24140
24141 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
24142 fails. If suppress_flag is set, skip perror message about not
24143 being able to send to GDB.
c906108c 24144 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 24145 GDB.
c906108c
SS
24146 (gdb_expect): If suppress_flag is set, always fail immediately.
24147 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
24148 (gdb_init): Call gdb_stop_suppressing_tests.
24149 (default_gdb_exit): Ditto.
24150 (default_gdb_start): Ditto.
24151
24152 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 24153 gdb_stop_suppressing_tests as appropriate.
c906108c 24154 * gdb.base/break.exp: Ditto.
889bf7c5 24155 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
24156 * gdb.base/commands.exp: Ditto.
24157 * gdb.base/exprs.exp: Ditto.
889bf7c5 24158 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
24159 * gdb.base/list.exp: Ditto.
24160 * gdb.base/recurse.exp: Ditto.
889bf7c5 24161 * gdb.base/scope.exp: Ditto.
c906108c
SS
24162 * gdb.base/structs.exp: Ditto.
24163 * gdb.c++/inherit.exp: Ditto.
24164
24165Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
24166
24167 * config/vr4300.exp: New file.
24168
99707966 24169 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 24170
99707966 24171 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
24172
24173Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
24174
24175 * lib/gdb.exp(gdb_init): New function.
24176
24177 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 24178 for each individual variable set.
c906108c
SS
24179
24180 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
24181 name.
24182
24183 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
24184
24185 * gdb.base/scope.exp: Use gdb_test.
24186
24187 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
24188 aborting; the testsuite driver will do that for us (see
24189 gdb_finish). Also, use gdb_test in a few more places.
24190
24191Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
24192
24193 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
24194
24195Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
24196
24197 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
24198 and "add_tests" are not at the same address.
24199
24200Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
24201
24202 * gdb.base/ptype.exp: Use gdb_test.
24203
24204Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
24205
24206 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
24207 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
24208 left in. No longer expect them to fail.
24209
24210 * gdb.stabs/*.mt; Deleted, no longer used.
24211 * gdb.stabs/configure.in: Remove references to target makefile
24212 frags.
24213 * gdb.stabs/configure: Rebuilt.
24214
24215 * gdb.disasm/*.mt: Deleted, no longer used.
24216 * gdb.disasm/configure.in: Remove references to target makefile
24217 frags. Use "sh3.s" as the unique filename for this directory.
24218 * gdb.disasm/configure: Rebuilt.
24219
24220 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
24221 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
24222 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
24223
24224Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
24225
24226 * config/udi.exp: Use mondfe,name instead of remote_host.
24227
24228Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
24229
24230 * gdb.base/watchpoint.exp: Don't expect a failure when calling
24231 a function with a watchpoint enabled on the mn10200.
24232
24233 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
24234 before trying to create it!
24235
24236Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
24237
24238 * config/vx.exp: Use hostname instead of netport.
24239
24240 * config/vxworks.exp: New file.
24241
24242 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
24243
24244 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 24245 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
24246 occurs.
24247
24248 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
24249 $gdb_spawn_id directly.
24250 (gdb_run_cmd): Try _start as well as start. Use the target feature
24251 gdb,start_symbol as the symbol to start from when jumping.
24252
24253Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
24254
24255 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
24256 redundant) test.
24257
24258 * gdb.base/recurse.exp: Relax final value test for 'b' so that
24259 it doesn't lose for 16bit integer systems.
24260
24261Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
24262
24263 * gdb.fortran/types.exp: If the target doesn't support "double"
24264 data types, then expect "real" types to only be 4 bytes.
24265
24266 * gdb.c++/virtfunc.exp: Expect failure for virtual function
24267 call tests if the target doesn't support inferior function calls.
24268
24269 * gdb.base/printcmds.exp: Allow minor deviation in FP values
24270 in printf tests.
24271
24272Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
24273
24274 * gdb.base/help.exp: Disable "help set", "help show", and
24275 "help support". Simplify regexp for "help stack".
24276
24277 * gdb.base/default.exp: Set match_max to 5000 and the timeout
24278 to 60 seconds. Temporarily set match_max to 15000 around the
24279 "info copying" test.
24280
24281 * gdb.base/nodebug.exp: Don't try to do an inferior function
24282 call if the target doesn't support them.
24283 * gdb.base/printcmds.exp: Likewise.
24284 * gdb.base/setvar.exp: Likewise.
24285 * gdb.base/structs.exp: Likewise.
24286 * gdb.c++/templates.exp: Likewise.
24287 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
24288
24289 * gdb.base/recurse.exp: Enable for the mn10200.
24290
24291 * configure.in: Do configure gdb.stabs directory for *-*-elf
24292 targets.
24293 * configure: Rebuilt.
24294
24295 * gdb.base/break.exp: Check for gdb,noresults before testing
24296 exit status and/or results from the target.
24297 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
24298 * lib/gdb.exp: Remove old (now bogus) initialization of
24299 noinferior, noargs, noresults and nosignals.
24300
24301Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
24302
24303 * config/sh.exp: New file.
24304
24305 * config/slite.exp: Try to connect multiple times to the board
24306 before rebooting. Only send a "monitor run" if need_monitor_run
24307 is set.
24308
24309 * gdb.base/break.exp: Don't do the "stub continue" test if
24310 the target has gdb_stub set.
24311
24312 * gdb.base/callfuncs.exp: Increase the timeout.
24313
24314 * gdb.base/interrupt.exp: Don't even try to compile the testcase
24315 if the target has gdb,noinferiorio set.
24316
24317 * gdb.base/list.exp: Increase match_max to 10000 characters.
24318
24319 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
24320
24321 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
24322 target.
24323
24324 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
24325
24326Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
24327
24328 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
24329 trying to delete the copy of gdb. Catch the file delete so we
24330 don't die if the delete fails; also, the file should be copied to
24331 the host, not to the build.
c906108c
SS
24332
24333Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
24334
24335 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 24336 parenthesis in case it contains multiple regexps separated
c906108c
SS
24337 with |.
24338
24339 * gdb.base/watchpoint.exp: Use gdb_test.
24340 * gdb.base/default.exp: Ditto.
24341
24342Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
24343
99707966 24344 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 24345
c906108c
SS
24346 * gdb.base/scope.exp: Use gdb_test.
24347 * gdb.c++/classes.exp: Ditto.
24348 * gdb.c++/inherit.exp: Ditto.
24349
24350Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
24351
24352 * gdb.base/crossload.exp: Don't use execute_anywhere, use
24353 remote_exec instead.
24354 * gdb.base/corefile.exp: Don't be ridiculous.
24355 * gdb.base/*.c: Add missing stub invocations.
24356
24357Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
24358
24359 * config/slite.exp: Miscellaneous fixes.
24360
24361 * lib/gdb.exp: Fix runto.
24362
24363 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
24364 the target.
24365
24366 * gdb.base/watchpoint.exp: Fix regexp.
24367
24368 * lib/gdb.exp(default_gdb_exit): Add a catch to the
24369 close and wait commands, as the descriptor may now be
24370 invalid. Always call "remote_close host".
24371
24372Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
24373
24374 Major rewrite for testsuite revision.
d63a86f8 24375
c906108c
SS
24376 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
24377 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
24378 instead of relying on spawn_id to always contain a valid
24379 spawn id.
24380 (get_compiler_info): New procedure to build the ${binfile}.ci
24381 file, instead of replicating this in N different places.
24382 (gdb_compile): New procedure.
d63a86f8 24383
c906108c 24384 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
24385 appropriate arguments) instead of compile. Use gdb_test in a lot
24386 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
24387 at the start of a testcase, as this is no longer done magically.
24388
24389 config/*-gdb.exp: Rename without the -gdb suffix.
24390
24391 config/mips.exp: Use remote_close instead of exit_remote_shell.
24392 config/monitor.exp: Use target_info instead of looking at
24393 baud, timeout, etc.
24394 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
24395
24396Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24397
24398 * gdb.c++/templates.exp (test_ptype_of_templates),
24399 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
24400 Update expect patterns for destructors and assignment operators
24401 to match corresponding c-typeprint.c changes.
24402 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
24403 to destructor breakpoint test, GDB should be able to set the
24404 destructor breakpoint without specifying arguments.
24405
24406Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
24407
24408 * gdb.threads/pthreads.exp: Change result for failure to compile due
24409 to lack of pthreads runtime support from an error to simply an
24410 unsupported test, per dejagnu standards.
24411
24412Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24413
24414 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
24415 where GDB exits to reduce pattern match time.
24416 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
24417
24418 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
24419
dc96c6c7 24420Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24421
24422 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
24423 * gdb.base/default.exp: ditto.
24424 * gdb.base/nodebug.exp: ditto.
24425 * gdb.base/printcmds.exp: ditto.
24426 * gdb.base/ptype.exp: ditto.
24427 * gdb.base/setvar.exp: ditto.
24428 * gdb.base/structs.exp: ditto.
24429 * gdb.base/setshow.c: Guard against uninitialized values of argc.
24430
24431Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
24432
24433 * configure, */configure: Rebuild with autoconf 2.12.
24434
24435Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
24436
24437 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
24438 use new i*86-pc-linux*-gnu quads.
24439 * gdb.base/corefile.exp: Ditto.
24440 * gdb.base/signals.exp: Ditto.
24441 * gdb.base/sigall.exp: Ditto.
24442 * gdb.base/interrupt.exp: Ditto.
24443
24444 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
24445 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
24446 RedHat 4.0.
d63a86f8 24447
c906108c 24448 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
24449 linux. This allows the test case to at least compile on latest
24450 linux, but still not run due to missing the threads runtime library.
c906108c
SS
24451
24452Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24453
24454 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
24455 directory to search gdb directory. Accept and step over conditional
24456 stack alignment code. Consume $prompt in failure cases.
24457 Reset timeout to $oldtimeout instead of some arbitrary value.
24458 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
24459 timeout problems with infinite stack backtraces.
24460 * gdb.base/ptype.exp (ptype struct link, union tu_link):
24461 Accept function parameters for linkfunc member.
24462
24463Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
24464
24465 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
24466 (CXXFLAGS): Remove, unreferenced.
24467 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
24468 previous -B options and also add -B option to pick up cross compiled
24469 runtime.
c906108c
SS
24470 (TARGET_INCLUDES): Add for -I options and add code to initialize when
24471 doing cross compiles.
24472 (target_alias): Declare global.
24473 (xgcc): Set variable to full path of gcc in build tree. Use findfile
24474 to verify that gcc exists in build tree, and if so set CC to that
24475 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 24476
c906108c
SS
24477Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
24478
24479 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
24480 ptype test for anonymous union. Fixup testcase to match
24481 current gcc debug output.
24482
24483Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
24484
24485 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
24486 force argument to an unsigned long type.
24487
24488Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
24489
24490 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 24491 tests and anonymous union print/ptype tests.
c906108c
SS
24492 * gdb.base/list.exp (test_forward-search): Increase timeout by
24493 5 minutes for the "search extremely long line" case.
24494 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
24495 completely optional and that the pass/fail messages use the command as
24496 the message if that third arg is a null string.
24497 (gdb_test_exact): Arrange that a null string pattern means match a
24498 null string output rather than any output, which might include random
889bf7c5 24499 errors.
c906108c
SS
24500 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
24501 backtrace test.
24502 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
24503 always failing and failure is now exposed by gdb.exp changes.
24504
24505Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
24506
24507 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
24508 weren't being noted.
24509
24510Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24511
24512 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
24513 * gdb.stabs/weird.exp: Remove v_comb xfails.
24514
dc96c6c7 24515Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24516
24517 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 24518 list.exp scope.exp watchpoint.exp]
c906108c 24519 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 24520
dc96c6c7 24521Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24522
24523 * config/monitor.exp: Increase download timeout to 1000 seconds.
24524
dc96c6c7 24525Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24526
24527 * config/m32r.exp: Increase timeout to 120 seconds.
24528
24529Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
24530
24531 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
24532 and accept older ordering as obsolescent gcc or gdb.
24533 * gdb.c++/templates.exp: Ditto.
24534 * gdb.c++/virtfunc.exp: Ditto.
24535
24536Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
24537
24538 * gdb.base/coremaker.c: Add code to mmap some data so we
24539 can check that it ends up in the core file.
24540 * gdb.base/corefile.exp: Add test to read mmapped data
24541 from core file.
24542
dc96c6c7 24543Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24544
24545 * config/m32r.exp: New file.
24546
24547Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
24548
24549 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
24550 that cflags can contains -gstabs, and work correctly for other tests.
24551
dc96c6c7 24552Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
24553
24554 * gdb.base/setshow.exp: New file, tests show and set.
24555 * gdb.base/setshow.c: New file, tests show and set.
24556 * gdb.base/help.exp: Add test for help set|show annotate.
24557 * gdb.base/default.exp: Add test for set|show annotate.
24558
24559Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
24560
24561 * testsuite/gdb.base/break.exp: Make backtrace from factorial
24562 errors unique.
24563 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
24564 explicitly.
24565
24566Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
24567
24568 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
24569 and width commands. This is done elsewhere.
24570 * (gdb_start): Don't call gdb_start_sim here. That's already
24571 done in gdb_load. This fixes lots of failures in default.exp.
24572
24573Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
24574
24575 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
24576 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
24577 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
24578 in the same we we treat other failures (since it may be an expected
889bf7c5 24579 condition), rather than as an error.
c906108c
SS
24580 * gdb.base/signals.exp (test_handle_all_print): Revert back to
24581 old test format.
24582
24583Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
24584
24585 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
24586 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 24587 twice. Nuke the duplicates.
c906108c 24588 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 24589 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
24590 Remove config.h along with other config files.
24591
24592Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
24593
24594 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
24595 "p func1 ()" and note that rests of tests are skipped.
24596 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 24597 setup_xfails for "print func2::coremaker_local".
c906108c
SS
24598 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
24599 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
24600 affected by the previous run test.
24601 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
24602 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
24603 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
24604 "pass int powerset tuple" and "pass modeless int powerset tuple".
24605 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
24606 "real write 4" and "real write 8".
24607 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 24608 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
24609 "print \$i after tuple assign 2", and
24610 "print vs2 after tuple assign 2".
24611 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
24612 meaningful error message and return -1 so the caller can
24613 suppress further tests and avoid a cascade of errors.
d63a86f8 24614
c906108c
SS
24615Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
24616
24617 * gdb.base/a1-selftest.exp: Tweak tests to account for new
24618 format for printing version.
24619 * gdb.base/default.exp: Ditto.
24620 * gdb.base/interrupt.exp: Fix problem with cascade of
24621 errors if child process dies while calling a function.
d63a86f8 24622
c906108c
SS
24623Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
24624
24625 * Makefile.in (VPATH): Add
24626 * Makefile.in (Makefile, config.status): Fix rules so things get
24627 remade when necessary.
24628
24629Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
24630
24631 * Makefile.in (just-check): Add path to sibling expect dir
24632 to environment variable specified by RPATH_ENVVAR.
24633
24634Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
24635
24636 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
24637 (just-check): Add shared library paths for libstdc++, tk,
24638 tcl, bfd, and opcodes to the environment variable specified
24639 in RPATH_ENVVAR.
24640 * configure.in: Add support to recognize --enable-shared flag
24641 and generate correct value for RPATH_ENVVAR.
24642 * configure: Regenerated with autoconf.
24643
24644Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
24645
24646 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 24647 include all osf versions.
c906108c
SS
24648 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
24649 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
24650 when target is linux. When failing to build pthreads test
24651 executable, give more meaningful message.
24652 * gdb.threads/pthreads.c: Hpux also uses old definition of second
24653 arg for pthread_create.
d63a86f8 24654
c906108c
SS
24655Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
24656
24657 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 24658 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 24659 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 24660 and -lpthreads (everybody else).
c906108c
SS
24661 (test_startup): Fail gracefully if threads are not supported.
24662 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
24663 "p/c array_index("abcdef",2)" when not gcc compiled.
24664 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
24665 "print func2::coremaker_local" when not gcc compiled.
24666 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
24667 "ptype on opaque struct tagname (statically)",
24668 "ptype on opaque struct tagname (dynamically) 1", and
24669 "ptype on opaque struct tagname (dynamically) 2"
24670 for not compiled with gcc.
24671 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
24672 backtrace when compiled with gcc.
d63a86f8 24673 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
24674 than always return success.
24675
24676Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
24677
24678 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
24679
24680Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
24681
24682 * gdb.base/structs.exp: Undo last change.
24683
24684Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
24685
24686 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
24687 encapsulate all the steps/nexts done during self test, starting
24688 at main, and makes them less sensitive to optimization issues.
24689 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
24690 signal handler" test.
24691 * gdb.threads/pthreads.exp: Only run this for native configs.
24692 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
24693 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
24694 tests.
24695 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
24696 for "runto test_calls(void)" test.
d63a86f8 24697
c906108c
SS
24698Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
24699
24700 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
24701 and don't expect address info in breakpoint confirmations.
24702
24703Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
24704
24705 * gdb.base/list.exp (test_forward_search): Increase timeout
24706 temporarily by 60 seconds for searching extremely long line,
889bf7c5 24707 and then reset to old value when done. Increase expect input
c906108c
SS
24708 buffer to 10000.
24709
24710Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
24711
24712 * gdb.base/list.exp (test_forward_search): Fix to handle very
24713 long source line without overflowing expect's input buffer.
24714
24715Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
24716
24717 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
24718 "buffer_full".
24719
24720 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
24721 "buffer_full".
24722
24723 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
24724 "buffer_full".
24725
24726 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
24727 "buffer_full".
24728
24729Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
24730
24731 * configure.in (configdirs): Add gdb.threads.
24732 * configure: Regenerated with autoconf.
24733 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
24734 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
24735 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 24736
c906108c
SS
24737Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
24738
24739 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
24740
24741Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
24742
24743 * gdb.base/signals.exp (test_handle_all_print): Test separately for
24744 each signal's status in the output of "handle all print".
24745 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
24746 the \r\n sequence that immediately precedes the gdb prompt.
24747 * gdb.base/a1-selftest.exp: Save original timeout and restore
24748 after test.
24749
24750Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
24751
24752 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
24753 symbol.
24754
24755Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
24756
24757 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
24758
24759Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
24760
24761 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
24762 timeout by 60 seconds.
24763
24764Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
24765
24766 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
24767 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
24768 error return.
24769
24770Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
24771
24772 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
24773 gdb initialization, also report how long dejagnu waited. Restore
24774 old timeout before doing error return. Temporarily increase timeout
889bf7c5 24775 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
24776
24777Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
24778
24779 * lib/gdb.exp: Report timeout value for verbosity level 2.
24780 * config/gdbserver.exp: Ditto.
24781 * config/hppro.exp: Ditto.
24782 * config/mips-gdb.exp: Ditto.
24783 * config/monitor.exp: Ditto.
24784 * config/netware.exp: Ditto.
24785 * config/sim-gdb.exp: Ditto.
24786 * config/slite-gdb.exp: Ditto.
24787 * config/udi-gdb.exp: Ditto.
24788 * config/unix-gdb.exp: Ditto.
24789 * config/vx-gdb.exp: Ditto.
24790 * gdb.base/a1-selftest.exp: Ditto.
24791 * gdb.base/a2-run.exp: Ditto.
24792 * gdb.base/break.exp: Ditto.
24793 * gdb.base/corefile.exp: Ditto.
24794 * gdb.base/list.exp: Ditto.
24795 * gdb.base/recurse.exp: Ditto.
24796 * gdb.base/scope.exp: Ditto.
24797 * gdb.base/signals.exp: Ditto.
24798
24799Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
24800
24801 * gdb.threads/Makefile.in (docdir): Removed.
24802
24803Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
24804
24805 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 24806 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 24807 @srcdir@.
d63a86f8 24808 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
24809 autoconf 2.5 or higher.
24810 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
24811
24812Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
24813
24814 * configure: Regenerated.
24815 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
24816 avoid name clashes with SunOS headers.
24817
24818Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
24819
24820 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
24821
24822Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
24823
24824 * gdb.base/callfuncs.exp: Finish last change -- make sure the
24825 prototype information ends up in the compiler info file.
24826
24827Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
24828
24829 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
24830 attempting to regenerate it. Eliminate use of a temporary file
24831 and just generate the info file directly. Source it immediately,
24832 for consistency of use.
24833 * gdb.base/corefile.exp: Ditto
24834 * gdb.base/exprs.exp: Ditto.
24835 * gdb.base/funcargs.exp: Ditto.
24836 * gdb.base/langs.exp: Ditto.
24837 * gdb.base/list.exp: Ditto.
24838 * gdb.base/mips_pro.exp: Ditto.
24839 * gdb.base/nodebug.exp: Ditto.
24840 * gdb.base/opaque.exp: Ditto.
24841 * gdb.base/ptype.exp: Ditto.
24842 * gdb.base/scope.exp: Ditto.
24843 * gdb.base/setvar.exp: Ditto.
24844 * gdb.base/signals.exp: Ditto.
24845 * gdb.base/whatis.exp: Ditto.
24846 * gdb.c++/templates.exp: Ditto.
24847 * gdb.c++/virtfunc.exp: Ditto.
24848 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 24849 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
24850
24851Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24852
24853 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
24854 it got fixed by the recent lookup_minimal_symbol_by_pc change.
24855 Increase timeout, a lot of single stepping might be needed if the
24856 target has no hardware watchpoints.
24857
24858Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
24859
24860 * gdb.base/break.exp: Ignore compiler warnings when compiling
24861 break.c.
24862 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
24863 * gdb.base/default.exp: Add h8300 xfails. Handle messages
24864 from remote-sim.
24865 * gdb.base/exprs.exp: Add h8300 xfails.
24866 * gdb.base/funcargs.exp: Likewise.
24867 * gdb.base/nodebug.exp: Likewise.
24868 * gdb.base/printcmds.exp: Likewise.
24869 * gdb.base/ptype.exp: Likewise.
24870 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
24871 h8300 xfails.
d63a86f8 24872 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
24873 on the h8300.
24874 * gdb.base/funcargs.c: Explicitly make last constant argument to
24875 call_after_alloca_subr an unsigned long type.
24876 * gdb.base/return.c: Include stdio.h.
24877
24878Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
24879
24880 * config/abug.exp: New file for the older Motorola Bug monitor
24881 that runs on the mvme13x series VME boards.
24882 * config/monitor.exp: Use the new config array for target settings
24883 if they exist.
24884
24885Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
24886
24887 * sim-gdb.exp: Make the SH simulator allocate less space when
24888 it is targeted.
24889
24890Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
24891
24892 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
24893 test.
24894
24895Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
24896
24897 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
24898 "rs6000-*-*" for "list function in include file" when gcc compiled.
24899 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
24900 for "p ctable1[120]".
24901 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
24902 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
24903 Remove setup_xfail for "rs6000-*-*" for
24904 "print 'scope0.c'::filelocal before run".
24905 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
24906 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
24907 since some compilers don't allow both options to be given
24908 on the same command line. Create object file and move it.
d63a86f8 24909
c906108c
SS
24910Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
24911
24912 * gdb.base/corefile.exp: Always regenerate the core file, since
24913 we always regenerate the coremaker program. Detect special case
24914 where registers cannot be read from core file.
d63a86f8 24915
c906108c
SS
24916Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
24917
24918 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
24919 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
24920 * gdb.c++/templates.exp: Only match on basename of file since
24921 some formats like xcoff don't encode directory information.
24922 * gdb.stabs/weird.exp: Use the right sed script for powerpc
24923 and rs6000 AIX xcoff targets.
24924 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
24925 * configure: Regenerate.
24926 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
24927 here, rather than in distclean.
d63a86f8 24928
c906108c
SS
24929Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
24930
24931 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
24932 defined, and use it to compile the test case with -O2. The
24933 native compilation still uses no optimization.
24934 * gdb.base/mips_pro.c: Remove inline assembly code since
24935 it is compiled PIC by default, which results in assembler
24936 warnings that make the testsuite think the compilation
24937 was unsuccessful.
24938
24939Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
24940
24941 * gdb.c++/misc.exp: Add note to message for
24942 "print s.a for foo struct" that this is a known gcc 2.7.2
24943 and earlier bug.
24944
24945Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
24946
24947 * gdb.base/break.exp: Fix pattern for matching "Delete all
24948 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
24949 setup_xfail for deleting all breakpoints test. Fix various
24950 timeout messages to include "(timeout)".
24951 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
24952 for "p t_float_values2(3.14159,float_val2)".
24953 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
24954 for "continue to call2g" when gcc compiled.
24955 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
24956 "up to foo in langs.exp", "show language at foo in langs.exp",
24957 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
24958 and "show language at fsub in langs.exp".
24959 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
24960 "list line 1 in include file", "list message for lines past EOF",
24961 "list function in include file", "list list0.h:foo", and
24962 "list filename:function; nonexistant function".
24963 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
24964 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
24965 and "ptype t_char_array" to be for native cc only.
d63a86f8 24966
c906108c
SS
24967Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
24968
d63a86f8 24969 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 24970 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 24971 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
24972
24973Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
24974
24975 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
24976 "bt in signals.exp". This problem only appears when running
24977 the testsuite, and then only intermittently.
24978
24979Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
24980
24981 * gdb.base/return.exp (return_tests): Differentiate between
24982 two tests of continuing.
24983
24984Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
24985
24986 * */Makefile.in (maintainer-clean): Remove config.log.
24987 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
24988 * gdb.c++/Makefile.in (PROGS): Add inherit.
24989 (clean): Remove *.ci.
24990
24991Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
24992
24993 * gdb.c++/misc.cc: Add test code from Mike Stump.
24994 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
24995
24996Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
24997
24998 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
24999 to "alpha-*-osf2*" and add comment.
25000 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
25001 setup_xfail for "step over execarg initialization" and
25002 "step over corearg initialization".
c906108c
SS
25003 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
25004 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
25005 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 25006 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
25007 "print func2::coremaker_local", and "backtrace in corefile.exp".
25008 * gdb.base/signals.exp: Build and source signals.ci.
25009 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
25010 to be for gcc only.
25011 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 25012
c906108c
SS
25013Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25014
25015 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
25016 Feb 3 procfs.c change.
25017
25018Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
25019
25020 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
25021
25022Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
25023
25024 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
25025 from dejagnu's apparent default of 10 seconds, which gives random
25026 results when running the tests over NFS on moderately loaded systems.
25027 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
25028
25029Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
25030
25031 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
25032 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 25033 result reports.
c906108c
SS
25034
25035Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
25036
25037 * configure.in (CY_AC_PATH_TCLH): Remove.
25038 * configure: Regenerate.
25039
25040Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
25041
25042 * gdb.c++/Makefile.in (clean): Add missing '{'.
25043
25044Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
25045
25046 * lib/gdb.exp: Provide a default value for noinferior.
25047
25048 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
25049 Load libgloss.exp.
25050
25051Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
25052
25053 * gdb.disasm/hppa.exp: Compile directly into an executable, use
25054 the executable, not the .o to run the tests from.
25055
25056Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
25057
25058 * gdb.base/break.exp: Don't test for program exit or exit status
25059 if $noresults if nonzero.
25060 * gdb.base/langs.exp: Likewise.
25061 * gdb.base/watchpoint.exp: Likewise.
25062
25063 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
25064 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
25065 trying to compile the testcase.
25066
25067Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
25068
25069 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
25070 * gdb.base/signals.exp (continue to handler): Likewise.
25071
25072Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
25073
25074 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
25075
25076 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
25077
25078Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
25079
25080 * gdb.base/corefile.exp: Recognize "not found" as failure
25081 when trying to determine if a core file was generated.
25082 If no core file was generate the first time, try again without
25083 the ulimit -c to work around braindamaged shells.
25084
25085Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
25086
25087 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
25088 [] tests with "test" and enclose string in quotes.
25089 * gdb.stabs/configure: Rebuild
d63a86f8 25090
c906108c
SS
25091Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
25092
25093 Changes in sync with expect:
25094 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
25095 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
25096 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
25097 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
25098 argument to AC_REQUIRE.
25099 * configure: Regenerated.
25100
25101Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
25102
25103 * gdb.base/corefile.exp: When generating a core, discard any
25104 error messages about ulimit not found and the "core dumped"
25105 message from the shell that runs the coredumper.
25106
25107Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
25108
25109 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
25110
25111 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
25112 which sed script to run. Expect failure for v_comb test
25113 on PA targets too.
d63a86f8 25114
c906108c
SS
25115Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
25116
25117 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 25118 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
25119
25120Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
25121
25122 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
25123 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 25124 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
25125 * lib/gdb.exp (default_gdb_start): Fix typo.
25126 * gdb.base/corefile.exp: Allow "Core was generated by ..."
25127 messages to not include the full program name that caused
25128 the core dump since some systems (such as solaris) apparently
25129 truncate this path to about 80 characters.
25130 When generating a core file first try increasing the core file
25131 size limit to unlimited since some systems may default it to
25132 zero, and it is harmless to try it. Move the test for failing
25133 to generate a core file to where it will actually get executed.
25134 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
25135 new gdb result from g++ debug info improvements and make old
25136 pattern obsolescent. Also account for size_t differences
25137 (may be int or long).
25138 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
25139 initialization before function call is placed in the delay slot
25140 and thus appears to be skipped over by commands such as "next".
25141
25142Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
25143
25144 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
25145
25146Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
25147
25148 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
25149 input source file; fix code to compile test to deal with this
25150 convention.
25151 * gdb.c++/*.exp: Likewise.
25152
25153Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
25154
25155 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
25156 "bt in signals.exp".
25157
25158Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
25159
25160 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
25161 "step over execarg initialization" and
889bf7c5 25162 "step over corearg initialization".
c906108c
SS
25163
25164Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
25165
25166 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
25167 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
25168
25169Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
25170
25171 From Rob Savoye (rob@poseidon.cygnus.com)
25172 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
25173 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
25174 configure.in}, gdb.disasm/{Makefile.in, configure.in},
25175 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
25176 configure.in}: Major reworking for autoconfig.
c906108c
SS
25177 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
25178 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 25179 New files.
c906108c
SS
25180 * config/unix-gdb.exp: Make GDB global.
25181 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
25182 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
25183 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
25184 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
25185 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
25186 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 25187 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
25188 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
25189 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
25190 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
25191 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 25192 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
25193 to returns as necessary, arrange for test to compile own testcase
25194 executable.
c906108c 25195 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 25196
c906108c
SS
25197Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
25198
25199 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 25200 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
25201 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
25202 "backtrace through signal handler".
25203
25204Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25205
25206 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
25207 continuing from a job control stop signal.
25208 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
25209
25210Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
25211
25212 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
25213 * gdb.base/corefile.exp: Likewise.
25214 * gdb.base/funcargs.exp: Likewise.
25215
25216Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
25217
25218 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
25219 * config/monitor.exp: Add support for setting baud rate.
25220
25221Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
25222
25223 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
25224 i*86-*-linux* xfails for "backtrace through signal handler".
25225 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
25226 "print func2::coremaker_local".
25227 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 25228 alpha-dec-osf2* xfail for
c906108c
SS
25229 "delete all breakpoints when none".
25230
25231Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
25232
25233 * gdb.base/break.exp: Change test that deletes all breakpoints
25234 when no user breakpoints are installed. A post 4.15 change
25235 causes gdb to no longer prompt in this case.
25236
25237Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
25238
25239 * gdb.base/return.exp (return_tests): Change xfail for test
25240 "correct value returned double test" to stop xfailing at
25241 Solaris 2.5. Apparently the bug has been fixed.
25242
25243Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
25244
25245 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
25246 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
25247
25248Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
25249
25250 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
25251 * gdb.disasm/hppa.s: Corresponding changes.
25252
25253Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
25254
25255 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
25256 makefile fragment.
25257 * config/mt-hpux: Deleted.
25258
25259Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
25260
d63a86f8 25261 * Many files: When warning about suppressed tests due to a
c906108c
SS
25262 nonexistant test binary, avoid incrementing the warning count.
25263
25264Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
25265
25266 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 25267
c906108c
SS
25268Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25269
25270 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
25271 "sparc-*-solaris2*".
25272
25273Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25274
25275 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
25276 Add global and local variables and initialize them.
25277 * gdb.base/corefile.exp: Test correct mapping of corefile sections
25278 by printing variables. Remove rs6000 and powerpc xfails, BFD now
25279 extracts the file name and terminating signal from the core file.
25280 * TODO: Remove note about tests for correct mapping of corefile.
25281 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
25282 from optimizing it away.
25283 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
25284 handles common blocks.
25285
25286Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
25287
25288 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
25289 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
25290
25291Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
25292
25293 * Makefile.in (maintainer-clean): New target, synonym for
25294 realclean.
25295 * gdb.base/Makefile.in (maintainer-clean): Likewise.
25296 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
25297 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
25298 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
25299 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
25300 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
25301
25302Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
25303
25304 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
25305 xfails when not gcc compiled for "print foo::funclocal".
25306 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
25307 "print foo::funclocal at foo",
25308 "print 'scope1.c'::foo::funclocal at foo",
25309 "print foo::funclocal_bss at foo",
25310 "print 'scope1.c'::foo::funclocal_bss at foo",
25311 "print foo::funclocal_ro at foo",
25312 "print 'scope1.c'::foo::funclocal_ro at foo",
25313 "print bar::funclocal at foo" and
25314 "print 'scope1.c'::bar::funclocal at foo".
25315 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
25316 gcc compiled for "print foo::funclocal at bar".
25317 Expand all messages to ensure that they identify that
25318 the test is at bar().
25319 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
25320 gcc compiled for:
25321 "ptype on opaque struct pointer (statically)",
25322 "ptype on opaque struct tagname (statically)",
25323 "ptype on opaque struct pointer (dynamically) 1",
25324 "ptype on opaque struct tagname (dynamically) 1",
25325 "ptype on opaque struct pointer (dynamically) 2" and
25326 "ptype on opaque struct tagname (dynamically) 2
25327 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
25328 gcc compiled for:
25329 "p datalocal"
25330 "whatis datalocal",
25331 "ptype datalocal",
25332 "p bsslocal",
25333 "whatis bsslocal", and
25334 "ptype bsslocal".
25335 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
25336 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
25337 when not gcc compiled.
25338 * gdb.base/funcargs.exp (float_and_integral_args): Add
25339 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
25340 compiled.
25341 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
25342 "backtrace from call6a" when not gcc compiled.
25343 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
25344 "backtrace from call7a" when not gcc compiled.
25345 * gdb.base/callfuncs.exp (do_function_calls):
25346 Add "hppa*-*-hpux*" xfail when not gcc compiled for
25347 "p t_char_array_values(char_array_val2,char_array_val1)",
25348 "p t_char_array_values(char_array_val1,char_array_val2)",
25349 "p t_char_array_values("carray 1","carray 2")",
25350 "p t_char_array_values("carray 1",char_array_val2)",
25351 "p t_char_array_values(char_array_val1,"carray 2")",
25352 "p sum_args(1,{2})",
25353 "p sum_args(2,{2,3})",
25354 "p sum_args(3,{2,3,4})",
25355 "p sum_args(4,{2,3,4,5})"
25356 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
25357 "backtrace in corefile.exp" when not gcc compiled.
25358
25359Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25360
25361 * gdb.base/signals.exp: Rewrite `handle all print' test as
25362 a procedure. Accept blanks or TABs as whitespace, increase
25363 timeout and expect input buffer size for the large output
25364 from the command. Remove "i*86-*-bsdi2.0" xfail.
25365
25366Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25367
25368 * gdb.base/setvar.exp: Add new testcases for truncation when
25369 assigning invalid values to bitfields.
25370
25371Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
25372
d63a86f8 25373 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
25374 mips-sgi-irix* xfail for
25375 "call inferior func with struct - returns char *"
25376 and fix test so that an optional (unsigned char *) cast is
889bf7c5 25377 accepted in the result.
c906108c
SS
25378
25379Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
25380
25381 * gdb.base/funcargs.exp (float_and_integral_args): Remove
25382 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
25383 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
25384 * gdb.base/signals.exp: Remove duplicate "handle all print" test
25385 that accidentally got checked in.
25386
25387Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
25388
d63a86f8 25389 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
25390 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
25391 compiled test.
25392 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
25393 Add mips-sgi-irix5* xfail for not gcc compiled.
25394 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
25395 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
25396 "p top", "whatis top", "p middle", and "whatis middle".
25397 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
25398 "whatis signed char" for not gcc compiled.
25399 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
25400 "set variable signed char=-1 (-1)" and
25401 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
25402 * gdb.base/funcargs.exp (float_and_integral_args):
25403 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
25404 Add mips-sgi-irix* xfail when not gcc compiled for
25405 "continue to call2b".
25406 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
25407 "continue to call2g".
25408 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
25409 "backtrace from call6a"
25410 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
25411 "backtrace from call7k".
25412 Add mips-sgi-irix5* xfail when not gcc compiled for
25413 "backtrace from call7a".
25414 (localvars_after_alloca): Fix gdb_test cmds for
25415 "print * after runto ...".
25416 Remove rs6000-*-* xfails for
25417 "print i after runto localvars_after_alloca" and
25418 "print l after runto localvars_after_alloca"
25419 for all compilers.
25420 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 25421 when not compiled with gcc, for:
c906108c
SS
25422 "print signed char == (minus)",
25423 "print signed char != (minus)",
25424 "print signed char < (minus)",
25425 "print signed char > (minus)".
25426 * gdb.base/callfuncs.exp (do_function_calls):
25427 Add mips-sgi-irix* xfail, when compiled with native compiler, for
25428 "call inferior func with struct - returns char *".
d63a86f8 25429 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
25430 "correct value returned double test" to include Solaris 2.4.
25431 * gdb.base/funcargs.exp (float_and_integral_args):
25432 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 25433
c906108c
SS
25434Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25435
25436 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
25437 enumeration bitfields if compiling with GNU C.
25438 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
25439 to empty' prompt.
25440
25441Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
25442
25443 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
25444 test for PRO targets.
25445
25446 * gdb.base/funcargs.exp: Avoid ever setting more than 8
25447 breakpoints in the inferior at any given time by making
25448 two groups of breakpoints for call2*, call6* and call7*
25449 tests.
25450
25451Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25452
25453 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
25454 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
25455 from optimizing it away.
25456 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
25457 "call inferior func with struct".
25458
25459Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
25460
25461 * configure.in: Only configure gdb.chill for particular targets.
25462
25463Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
25464
25465 * gdb.base/Makefile.in: Add action to .c.o transformation
25466 rule that generates a .ci file for each .o file and remove
25467 explicit .c.o rules except for callfuncs.o.
25468 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
25469 generates a .ci file for each .o file and remove explicit
25470 .cc.o rules.
25471 (clean): Remove *.tmp *.ci files.
25472 (EXECUTABLES): Remove templ-info.exp.
25473 * gdb.base/compiler.c: New file.
25474 * gdb.c++/compiler.cc: New file
25475 * gdb.base/scope.exp: Source gdb.base/scope.ci.
25476 Change rs6000-*-* xfail for
25477 "print 'scope0.c'::filelocal_ro" and
25478 "print 'scope1.c'::filelocal" and
25479 "print 'scope1.c'::filelocal_bss" and
25480 "print 'scope1.c'::filelocal_ro" and
25481 "print 'scope1.c'::foo::funclocal" and
25482 "print 'scope1.c'::foo::funclocal_ro" and
25483 "print 'scope1.c'::bar::funclocal" and
25484 "print 'scope0.c'::filelocal_ro" and
25485 "print 'scope1.c'::filelocal at foo" and
25486 "print 'scope1.c'::filelocal_bss at foo" and
25487 "print 'scope1.c'::filelocal_ro at foo" and
25488 "print 'scope1.c'::foo::funclocal at foo" and
25489 "print 'scope1.c'::foo::funclocal_bss at foo" and
25490 "print 'scope1.c'::foo::funclocal_ro at foo" and
25491 "print 'scope1.c'::bar::funclocal at foo" and
25492 "print 'scope0.c'::filelocal_ro" and
25493 "print 'scope1.c'::filelocal" and
25494 "print 'scope1.c'::filelocal_bss" and
25495 "print 'scope1.c'::filelocal_ro" and
25496 "print 'scope1.c'::foo::funclocal" and
25497 "print 'scope1.c'::foo::funclocal_bss" and
25498 "print 'scope1.c'::foo::funclocal_ro" and
25499 "print 'scope1.c'::bar::funclocal" and
25500 "print 'scope1.c'::bar::funclocal_bss"
25501 to only be xfail'd when not compiled with gcc.
d63a86f8 25502 Add rs6000-*-* xfail for
c906108c
SS
25503 "print 'scope0.c'::filelocal_bss before run"
25504 when compiled with gcc.
25505 (test_at_main): Add rs6000-*-* xfail for
25506 "print filelocal_ro in test_at_main"
25507 when compiled with gcc.
25508 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 25509 Add rs6000-*-aix* xfail for
c906108c
SS
25510 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
25511 "ptype t_char_array", not compiled with gcc.
25512 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
25513 xfail for "list foo (in include file)" when gcc compiled.
25514 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 25515 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
25516 "run to call0a" if not compiled with gcc.
25517 (unsigned_integral_args): Add rs6000-*-* xfail for
25518 "run to call1a" if not compiled with gcc.
25519 (float_and_integral_args): Add rs6000-*-* xfail for
25520 "run to call2a" if not compiled with gcc and for
25521 "continue to call2b" for any compiler.
25522 Add rs6000-*-* xfail to
25523 "print f1 after run to call2a" for gcc compiled.
25524 (discard_and_shuffle): Add rs6000-*-* xfail for
25525 "run to call6a".
25526 (shuffle_round_robin): Add rs6000-*-* xfail for
25527 "backtrace from call7a" if not compiled with gcc.
25528 Add rs6000-*-* xfail for
25529 "backtrace from call7b" if compiled with gcc.
25530 (call_after_alloca): Add rs6000-*-* xfail for
25531 "print c in call_after_alloca" and
25532 "print s in call_after_alloca" and
25533 "backtrace from call_after_alloca_subr"
25534 if not compiled with gcc.
25535 (localvars_in_indirect_call): Add rs6000-*-* xfail for
25536 "print c in localvars_in_indirect_call" and
25537 "print c in localvars_in_indirect_call" and
25538 "backtrace in indirectly called function" and
25539 "stepping into indirectly called function"
25540 if not compiled with gcc.
25541 (localvars_after_alloca): Add rs6000-*-* xfail for
25542 "print c after runto localvars_after_alloca" and
25543 "print s after runto localvars_after_alloca" and
25544 "print i after runto localvars_after_alloca" and
25545 "print l after runto localvars_after_alloca"
25546 for all compilers.
25547 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
25548 than whatis-info.exp.
25549 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
25550 than opaque-info.exp.
25551 Setup rs6000-*-* xfail for
d63a86f8 25552 "ptype on opaque struct pointer (statically)" and
c906108c
SS
25553 "ptype on opaque struct pointer (dynamically)" when
25554 not compiled with gcc.
25555 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
25556 rather than callf-info.exp.
25557 (do_function_calls): Add clear_xfail for rs6000-*-* for
25558 "p t_float_values2(3.14159,float_val2)". Seems to work
25559 fine there, both with xlc and gcc. Need to find out what
25560 it is doing right and fix other platforms.
25561 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
25562 "call inferior func with struct - returns int",
25563 "call inferior func with struct - returns long",
25564 "call inferior func with struct - returns float",
25565 "call inferior func with struct - returns double",
25566 "call inferior func with struct - returns char *",
25567 but only if not gcc compiled (presumes xlc compiled).
25568 Change rs6000-*-* xfails for
25569 "call inferior func with struct - returns char" and
25570 " call inferior func with struct - returns short" to only
25571 xfail if not using gcc.
25572 (clean mostlyclean): Remove *.ci and *.tmp files.
25573 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
25574 than templ-info.exp.
25575 * gdb.base/langs.exp: Source gdb.base/langs.ci.
25576 Add rs6000-*-* xfail for "up to foo in langs.exp"
25577 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 25578 when not gcc compiled.
d63a86f8 25579
c906108c
SS
25580Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
25581
25582 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
25583 * gdb.base/corefile.exp: Likewise.
25584 * gdb.base/list.exp: Likewise.
25585 * gdb.base/scope.exp: Likewise.
25586 * gdb.base/siganls.exp: Likewise.
25587
25588 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
25589 compiler output.
25590 * gdb.base/whatis.exp: Likewise.
25591
25592Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
25593
25594 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
25595 failure (opcode table has been fixed to match reality).
25596
25597Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
25598
25599 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
25600 "call inferior func with struct - returns char",
25601 "call inferior func with struct - returns short"
25602
25603 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
25604 "print 'scope0.c'::filelocal at main",
25605 "print 'scope0.c'::filelocal_bss in test_at_main",
25606 "print 'scope0.c'::filelocal at foo",
25607 "print 'scope0.c'::filelocal_bss in test_at_foo",
25608 "print 'scope0.c'::filelocal at bar",
25609 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 25610
c906108c
SS
25611 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
25612 in source file 1". This bug seems to have been fixed with both
25613 gcc and native cc (was native assembler bug?).
25614
25615Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
25616
25617 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
25618 "backtrace through signal handler" to "i*86-*-sysv4*".
25619 * gdb.base/signals.exp: Add xfail for "'next' behaved as
25620 continue" case. Add "known SVR4 bug" to fail message.
25621 Add "i*86-*-bsdi2.0" xfail for "handle all print".
25622 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
25623 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
25624 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
25625 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
25626 "up to foo in langs.exp", "show language at foo in
25627 langs.exp", "up to cppsub_ in langs.exp", "show
25628 language at cppsub_ in langs.exp", "up to fsub in
25629 langs.exp", and "show language at fsub in langs.exp".
25630 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
25631 "bactrace in corefile.exp".
25632 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
25633 "call inferior function with struct - returns float" and
25634 "call inferior function with struct - returns double".
d63a86f8 25635
c906108c
SS
25636Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
25637
25638 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
25639 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
25640 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
25641 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
25642
25643Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
25644
25645 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
25646 (or overriden) "CHILL" macro rather then bare "gcc".
25647 Also look for ../../gcc/xgcc since that is what we will
25648 actually need, not "Makefile". Remove following assignment
25649 of CHILL to CHILL_FOR_TARGET because that results in
25650 recursive definition.
25651
25652Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
25653
25654 * gdb.base/corefile.exp: Change xfail for backtrace in
25655 corefile.exp from linuxaout to all linux.
25656 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
25657 cases where we miss the breakpoint at the signal handler
25658 for some reason. Setup xfail for linuxoldld/linuxaout and
25659 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
25660 hitting SIGURG breakpoint.
25661 * gdb.base/signals.exp: Setup xfail for "next" acting like
25662 continue to add linuxoldld. Setup xfail for all linux for
25663 "next to handler in signals_tests_1", "backtrace in
25664 signals_tests_1", "continue to func1", "pass SIGUSR1",
25665 and continue to handler".
25666
25667Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
25668
25669 * Update all FSF addresses except those in COPYING* files.
25670
25671Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
25672
25673 * gdb.base/a2-run.exp: Change messages to be more explicit about
25674 the status of args, and quote binfile in results.
25675
25676Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
25677
25678 * gdb.base/callfuncs.exp: Add tests for passing structs to
25679 inferior functions and return various types.
25680 * gdb.base/callfuncs.c: Add functions to receive a struct
25681 and return a member of the struct, in various types.
25682
25683Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25684
25685 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
25686
25687Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
25688
25689 * config/vxworks29k.exp: New file, sources vxworks.exp.
25690
25691Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
25692
25693 * config/gdbremote.exp: New file. Testing framework using
25694 gdbserver.
25695
25696Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
25697
25698 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
25699 "call function when asleep" and "send end of file".
25700 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
25701 for "backtrace in corefile.exp".
25702 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
25703 for "backtrace through signal handler".
25704 * gdb.base/corefile.exp: Make sure we actually generate a core file
25705 before trying the core tests. Some systems allow the user to suppress
25706 generation of core files and default to that (linux for example).
25707 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
25708 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
25709
25710Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
25711
25712 * gdb.threads: New directory with some crude multi-threaded
25713 gdb tests (step.exp and step2.exp).
25714 * config/mt-lynx (STEP_EXECUTABLE): Define.
25715 (THREADFLAGS): Define.
25716
25717Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
25718
25719 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
25720
25721 * gdb.base/signals.exp: Disable whole file for lynx until
25722 further notice.
25723
25724 * gdb.base/signals.exp: xfail test where "next" acts like
25725 "continue" for lynx.
25726
25727 * gdb.base/interrupt.exp: xfail test for calling function while
25728 inferior is asleep for lynx.
25729
25730 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
25731 than one cr-lf after each command.
25732
25733Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25734
25735 * configure.in: Reinstate setting of stabsdirs variable, fix
25736 typo in setting up configdirs for native builds.
25737
25738 * gdb.base/return.exp: Fix typo in return double test.
25739 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
25740 compiler from optimizing them away.
25741
25742Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
25743
25744 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
25745 sequences to be echo'd by gdb when using gdb_test.
25746 * gdb.chill/chexp.exp: Likewise.
25747 * gdb.fortran/exprs.exp: Likewise
25748
25749Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
25750
25751 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
25752 after the inferior gdb has started.
25753
25754 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
25755 after each command.
25756 * gdb.base/funcargs.exp: Likewise.
25757 * gdb.base/gdbvars.exp: Likewise.
25758 * gdb.base/interrupt.exp: Likewise.
25759 * gdb.base/list.exp: Likewise.
25760 * gdb.base/watchpoint.exp: Likewise.
25761 * gdb.c++/demangle.exp: Likewise.
25762 * gdb.c++/inherit.exp: Likewise.
25763 * gdb.chill/chexp.exp: Likewise.
25764 * gdb.fortran/exprs.exp: Likewise.
25765
25766 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
25767 test if we can't handle IO to/from the inferior.
25768
25769 * gdb.c++/misc.exp: Always check for a program already being
25770 started after sending a "run" command to gdb.
25771
25772 * gdb.base/twice.exp: Start with a fresh gdb.
25773
25774 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
25775 only depend on gdb's expression code, not the chill runtime.
25776
25777 * gdb.base/return.c: Put return values into variables so we
25778 can have gdb print them rather than depending on the program
25779 to print them.
25780 * gdb.base/return.exp: Corresponding changes.
25781
25782 * lib/gdb.exp: Provide default value for noinferiorio.
25783 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
25784 the inferior.
25785
25786 * gdb.base/break.exp: Always check for a program already being
25787 started after sending a "run" command to gdb.
25788 (text_next_with_recursion): Don't check the output from the
25789 program's printf statement. Instead just make sure the program
25790 exited.
25791
25792 * gdb.base/commands.exp: Protect tests which need arguments with
25793 $noargs conditionals.
25794
25795Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25796
25797 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
25798 of structure member arrays to match gdb/valops.c:value_addr change.
25799
25800Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
25801
25802 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
25803 cases.
25804
25805Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
25806
25807 * configure.in (configdirs): Remove gdb.chill from default list
25808 of subdirs and then add it back in only if doing a native build.
25809 The current chill compiler does not yet work in any cross build.
25810 * Revert all signal changes from Jul 6.
25811 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
25812 for sh-hms targets, allowing these tests to link, with no other
25813 changes. Testing is suppressed by setting "nosignals" in site.exp.
25814
25815Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
25816
25817 * configure.in (signaldirs): Define and add to configdirs for all
25818 targets except some specific ones that are known to not support signals.
25819 Also clean up formatting.
25820 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
25821 (signals, sigall): Remove rules to build.
25822 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
25823 Moved to new gdb.signals directory.
25824 * gdb.signals: New test directory.
25825 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
25826 signals.c signals.exp}: New or moved files.
25827
25828Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
25829
25830 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
25831
25832Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
25833
25834 * gdb.base/return.exp: Xfail `return double' test failure
25835 on at least Solaris 2.3 and handle future/past versions on
25836 a case by case basis as appropriate. Also update message
25837 to include i*86 failures.
25838
25839Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25840
25841 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
25842
25843 * lib/gdb.exp: Fix comment which erroneously identified
25844 gdb_file_cmd as gdb_load (the 19 May change was in fact to
25845 gdb_file_cmd not gdb_load).
25846 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
25847
25848 * gdb.base/setvar.exp: Make test names consistent between pass and
25849 fail cases. Use gdb_test more.
25850
25851Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25852
25853 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
25854
25855Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25856
25857 * gdb.base/help.exp: Fix expected help string for `show commands'.
25858
25859Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
25860
25861 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
25862
25863 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
25864 of a text section.
25865
25866Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
25867
25868 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
25869 that loop eventually terminates. Fix Connection refused logic so
25870 that testsuite will expire nicely.
25871
25872Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
25873
25874 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
25875 config/rom68k.exp: New tcl glue for the appropriate monitors.
25876 These all just end up calling monitor.exp.
25877 * config/monitor.exp (gdb_target_monitor): Handle `Connection
25878 refused' by retrying. Cleanup some timeout issues.
25879 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
25880 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
25881 callers don't have to set/restore global timeout variable.
25882
25883 * The following set of changes centralizes management of the global
25884 timeout variable. This way, it can be set in one target dependent
25885 place instead of dozens of places scattered throughout the test suite.
25886 If you need to lengthen a timeout, then you should either set timeout
25887 in one of the config/{target}.exp files, or multiply it by a factor.
25888 Setting it to an absolute value is always going to lose for some
25889 targets.
25890 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
25891 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
25892 * gdb.base/funcargs.exp: Don't set timeout.
25893 * gdb.base/list.exp (test_forward_search): Only use local timeout.
25894 * gdb.base/printcmds.exp (test_print_string_constants
25895 test_print_array_constants): Don't set timeout.
25896 * gdb.base/ptype.exp: Don't set timeout.
25897 * gdb.base/recurse.exp: Don't set timeout.
25898 * gdb.base/return.exp: Don't set timeout.
25899 * gdb.base/watchpoint.exp: Don't set timeout.
25900 * gdb.c++/classes.exp (do_tests): Don't set timeout.
25901 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
25902
25903Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
25904
25905 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
25906
25907Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25908
25909 * lib/gdb.exp: Disable chill tests for irix5.
25910
25911Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25912
25913 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
25914 each test pass or fail.
25915
25916Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25917
25918 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
25919 xlc not gcc.
25920
25921Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
25922
25923 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
25924
25925Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
25926
25927 * config/est.exp: Fix copyright and comments. Remove dead code.
25928 Use targetname, serialport and baud variables instead of fixed
25929 constants.
25930 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
25931 * config/cpu32bug.exp: New file to support cpu32bug monitors.
25932
25933Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25934
25935 * gdb.base/watchpoint.exp: Don't run
25936 test_watchpoint_triggered_in_syscall for sunos.
25937
25938Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25939
25940 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
25941 they don't seem to exist. Do include stdio.h.
25942
25943Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25944
25945 * gdb.base/a1-selftest.exp: Add alpha xfail.
25946
25947Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25948
25949 * gdb.base/watchpoint.c (main): Prompt before calling read().
25950 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
25951 Revise accordingly. Remove cruft about sending "123" several
25952 times, until it gets noticed. Clean up the "print buf[0]" stuff
25953 so that it passes or fails, and waits for prompts in the usual way.
25954
25955Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25956
25957 * gdb.base/recurse.exp: Fix comment.
25958
25959 * TODO: Remove item about printing variables in nodebug.exp. Add
25960 item about enabling tests which are only run on some targets.
25961
25962 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
25963 fail, make test names unique, use new gdb_test convention
25964 regarding pattern, use gdb_test more, etc.).
25965
25966 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
25967 fail, make test names unique, etc.).
25968
25969Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25970
25971 * gdb.base/nodebug.c: Change return type of top and middle to
25972 short.
25973 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
25974 are fixed by the recent mdebugread.c changes. Allow `short ()'
25975 as type for top and middle.
25976
25977Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25978
25979 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
25980 nearly as I can tell, the whole thing was an accident in Stu's
25981 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
25982 to replace a send/expect pair with gdb_test, but ended up only
25983 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
25984 of 30 Mar 1995 took care of it, but left this vestigial comment
25985 which I am now nuking.
25986
25987Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
25988
25989 * gdb.base/break.exp: Look for different line number for
25990 breakpoint at main depending on usestubs.
25991
25992Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25993
25994 * gdb.base/list.exp: Adjust some alternate expect patterns to
25995 match recent list0.c change. Add alternate expect pattern for
25996 output from `list default lines around main' for optimizing
25997 compilers.
25998
25999Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26000
26001 * lib/gdb.exp: If nosignals is not set, set it to 0.
26002
26003Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
26004
26005 * config/slite-gdb.exp: Responds to load symbol table prompt.
26006 * gdb.base/break.exp: Adjust line number, fix rerun.
26007 * gdb.base/langs0.c: Add #ifdef usestubs.
26008
26009Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
26010
26011 * gdb.base/list.exp: Adjust line contents after adding new lines in
26012 list0.c. Also fix a syntax error.
26013
26014 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
26015 * gdb.base/break.exp: ditto.
26016 * gdb.base/list.exp: ditto.
26017 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
26018 * gdb.base/run.c: ditto.
26019 * gdb.base/list0.c: ditto.
26020 * gdb.base/funcargs.c: ditto.
26021
26022Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
26023
26024 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
26025 $targetname, $serialport and $baud instead of hardwired variables.
26026 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
26027 target doesn't support signals.
26028
26029Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
26030
26031 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
26032
26033Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26034
26035 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
26036 Don't rely on the value of an auto variable before it has been
26037 initialized. Use gdb_test more.
26038
26039Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26040
26041 * lib/gdb.exp (default_gdb_version): A version number must start
26042 with a digit, but other than that contains all characters up to
26043 the first whitespace character.
26044
26045Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26046
26047 * gdb.base/commands.exp (breakpoint_command_test): New tests.
26048
26049Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26050
26051 * gdb.c++/*.exp: Warn if executable does not exist. The original
26052 reason for skipping the warning was that configure.in sometimes
26053 intentionally skipped building the executables but the tcl code
26054 had no way of knowing. That (a) was always bogus with respect to
26055 error handling, (b) is no longer true (right now there is no way
26056 to skip C++ tests).
26057
26058 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
26059
26060Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26061
26062 * gdb.base/list.exp: Add expect patterns for output from
26063 SunPRO compiled executables.
26064 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
26065 types.
26066
26067Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26068
26069 * gdb.base/break.exp (test_next_with_recursion): Accept any line
26070 number (we are already testing that the correct source line text
26071 gets printed).
26072
26073 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
26074 that is what is intended, but something needed to be done to get
26075 sunos4 native working again.
26076
26077 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
26078
26079 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
26080 apparently went with a (very) old xfail.
26081
26082Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
26083
26084 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
26085 runto_main is a proc in gdb.exp that will do 'step' for target use
26086 stubs.
26087 * gdb.base/exprs.exp: ditto.
26088 * gdb.base/interrupt.exp: ditto.
26089 * gdb.base/opaque.exp: ditto.
26090 * gdb.base/printcmds.exp: ditto.
26091 * gdb.base/ptype.exp: ditto.
26092 * gdb.base/scope.exp: ditto.
26093 * gdb.base/setvar.exp: ditto.
26094 * gdb.base/signals.exp: ditto.
26095 * gdb.base/twice.exp: ditto.
26096 * gdb.c++/classes.exp: ditto.
26097 * gdb.c++/inherit.exp: ditto.
26098 * gdb.c++/templates.exp: ditto.
26099 * gdb.base/break.exp: no run and hit main for stubs. Change line
26100 numbers for breakpoints and info breakpoint.
26101 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
26102 breakpoint().
26103 * gdb.base/callfuncs.c: ditto.
26104 * gdb.base/exprs: ditto.
26105 * gdb.base/interrupt.c: ditto.
26106 * gdb.base/opaque0.c: ditto.
26107 * gdb.base/printcmds.c: ditto.
26108 * gdb.base/ptype.c: ditto.
26109 * gdb.base/scope0.c: ditto.
26110 * gdb.base/setvar.c: ditto.
26111 * gdb.base/signals.c: ditto.
26112 * gdb.base/twice.c: ditto.
26113 * gdb.c++/misc.cc: ditto.
26114 * gdb.c++/templates.cc: ditto.
26115
26116Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26117
26118 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
26119
26120 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
26121 somewhere between `read' and `main.c'. I'm pretty sure the
26122 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
26123 and it isn't particularly useful.
26124
26125 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
26126
26127Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26128
26129 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
26130
26131Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
26132
26133 * config/mt-slite: add LIBS and -nostdlib.
26134 * config/slite-gdb.exp: add this new file to support sparclite target.
26135
26136Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
26137
26138 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
26139
26140 * gdb.base/a2-run.exp: Change argument to istarget from
26141 "*-*-vxworks" to "*-*-vxworks*".
26142 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
26143
26144Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
26145
26146 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
26147 will not runto main but do a 'step' to step out of breakpoint().
26148 * config/mt-slite: add -Dusestubs.
26149
26150Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26151
26152 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
26153 instead of just @.
26154
26155 * gdb.base/signals.exp: Add test for "handle all print".
26156 * TODO: Remove "handle all print". Also remove item about
26157 checking copyright date (I don't like the idea of a spurious FAIL
26158 based on when we run the tests).
26159
26160 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
26161 for SunOS4 (reason for failure not investigated). Remove
26162 redundant test for $binfile.
26163
26164 * gdb.base/nodebug.c (array_index): Call malloc.
26165
26166 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
26167
26168Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
26169
26170 * gdb.base/recurse.exp: Update gdb_test invocation to use new
26171 conventions and slightly simplify the matching regexp.
26172
26173Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26174
26175 * gdb.base/break.exp: Update gdb_test invocation to use new
26176 convention.
26177
26178 * lib/gdb.exp: If noargs is not set, set it to 0.
26179
26180 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
26181 tests unique.
26182
26183 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
26184
26185Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26186
26187 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
26188 one argument of type "<non-float parameter>".
26189
26190Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
26191
26192 * config/rom68k.exp: New file to support Motorola IDP board.
26193 * gdb.base/a2-run.exp: Skip this file if noargs is set.
26194 * gdb.base/break.c: Change things around so that this program
26195 doesn't depend upon args. This is necessary to make remote
26196 targets work (in general, they can't take args).
26197 * gdb.base/break.exp: Don't try to send args to program. Don't
26198 expect output. Also, replace lots of code with gdb_test.
26199
26200Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26201
26202 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
26203 printing of '\'' (which is what the comment says we are testing,
26204 even though we were not), not '''.
26205 (test_integer_literals_rejected): Test that printing ''' is an error.
26206
26207 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
26208 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
26209 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
26210 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
26211 Use gdb_test not test_print_accept.
26212 * lib/gdb.exp: Remove test_print_accept.
26213
26214 * gdb.base/signals.exp (signal_tests_1): Make pass message
26215 consistent with fail message.
26216
26217 * gdb.base/whatis.exp: Remove xfails for printing char vs.
26218 unsigned char; the bug (PR 1821) is fixed.
26219
26220 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
26221
26222 * gdb.base/scope.exp (test_at_localscopes): Call pass for
26223 successful tests--makes xfailing them work right.
26224
26225Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26226
26227 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
26228 only \r\n, not .*. The test can pass .* as the last thing in
26229 $pattern if that is what it wants. In addition to providing this
26230 flexibility, this change should speed up pattern matching in cases
26231 where the pattern already ended with .* (there were a number of
26232 them). This change also helps catch bad patterns--in the old
26233 scheme the typo "char \*" instead of "char \\*" would pass. Now
26234 it is caught.
26235 * Many .exp files: Update callers.
26236
26237 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
26238 clearer and does not spuriously match multiple ('s. Likewise for
26239 ) and *.
26240
26241 * gdb.base/nodebug.exp: Test ability to call a function and pass
26242 it a string (even with no debugging info).
26243
26244 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
26245 "p '\'", which is the same as "p ''" once tcl gets done with
26246 quoting, to "p '\\'", which I suspect is what is intended (one
26247 backslash gets sent to GDB).
26248
26249 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
26250
26251Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26252
26253 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
26254 1817) was fixed literally years ago.
26255
26256Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26257
26258 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
26259 test, it causes stepping out of call_after_alloca_subr with
26260 optimizing compilers.
26261 (localvars_in_indirect_call): Consume GDB prompt if `finish'
26262 fails.
26263
26264 * gdb.c++/templates.exp: Source templ-info.exp only if
26265 the templates executable exists.
26266
26267 * gdb.c++/misc.cc (class Contains_static_instance,
26268 class Contains_nested_static_instance),
26269 gdb.c++/classes.exp (test_static_members): Test printing of
26270 a class that contains a static instance of the class.
26271
26272Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26273
26274 * gdb.base/langs2.c (cppsub_): Don't prototype.
26275 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
26276 only, I believe).
26277
26278Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26279
26280 * lib/gdb.exp (skip_chill_tests): New procedure.
26281
26282 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
26283
26284Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
26285
26286 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
26287 each expect pattern. Cuts runtime from 12 to about 4 seconds.
26288
26289Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26290
26291 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
26292
26293 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
26294 disassemble 8, not 16, instructions for part 4.
26295
26296 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
26297 support the latter anymore.
26298
26299 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
26300 -DNO_PROTOTYPES.
26301 * gdb.base/callfuncs.c: Control use of prototypes based on
26302 NO_PROTOTYPES, not __STDC__.
26303 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
26304 t_float_values2 tests if prototypes in use.
26305
26306 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
26307 t_double_values): When checking differences against DELTA, check
26308 that difference is within the range (-DELTA,DELTA), not just
26309 (-infinity,DELTA).
26310
26311Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
26312
26313 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
26314 'file' command firts, then 'target', then 'load', this is due to gdb
26315 target set up.
26316 * config/mips-gdb.exp: Fix a couple regular exp bugs.
26317
26318Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
26319
26320 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
26321 FP load/store variants.
26322 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
26323
26324Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
26325
26326 * gdb.base/term.exp: Do not give a warning if not native, it is
26327 not an abnormal condition.
26328
26329Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
26330
26331 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
26332 t_char_array".
26333
26334Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
26335
26336 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
26337 are getting the version number.
26338
26339 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
26340 if not native, it is not an abnormal condition.
26341
26342Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26343
26344 * lib/gdb.exp: Just use "file exists", rather than undocumented
26345 dejagnu procedure "findfile".
26346
26347Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
26348
26349 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
26350 (LDFLAGS): Set to -Xlinker -Ur.
26351
26352 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
26353 Removed, these values are set by lib/gdb.exp.
26354
26355 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
26356
26357Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
26358
26359 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
26360 of replicating gdb startup code.
26361
26362 * config/mt-vxworks (LDFLAGS): Set to -r.
26363 (CFLAGS_FOR_TARGET): Removed.
26364
26365 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
26366 (gdb) and gdb for vxworks uses (vxgdb).
26367
26368 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
26369 executable is not in the tree and host != target, use sed and
26370 program_transform_name to determine the gdb name used by the
26371 target.
26372
26373 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
26374 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
26375
26376Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26377
26378 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
26379 floats, chars, and shorts where there are ANSI-style function
26380 definitions.
26381
26382 * gdb.base/langs.exp, gdb.base/langs*: New test.
26383 * gdb.base/Makefile.in: Build it.
26384 * TODO: Remove item about checking that C names don't get C++
26385 demangling applied; this test tests it.
26386
26387Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26388
26389 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
26390 went with the const70 xfail. The xfail went away a year ago.
26391
26392 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
26393
26394 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
26395 for hp300.
26396
26397 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
26398
26399 * gdb.base/a1-selftest.exp: Don't run on hp300.
26400
26401Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26402
26403 * Makefile.in (site.exp): Set host_alias and target_alias as well
26404 as host_triplet and target_triplet.
26405
26406Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26407
26408 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
26409
26410 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
26411 places as other ecoff systems).
26412
26413 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
26414 ultrix.
26415
26416Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26417
26418 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
26419 remove them.
26420 * gdb.base/nodebug.exp: Accept "function" in addition to "text
26421 variable and "variable" in addition to "data variable".
26422 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
26423
26424 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
26425 2.
26426 * gdb.base/list1.c (long_line): Add additional statement at start
26427 of function.
26428 * gdb.base/list.exp (test_forward_search): Update line number to
26429 reflect new statement.
26430
26431Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26432
26433 * gdb.base/signals.exp: Reinitialize searched source directories
26434 after gdb_start call.
26435
26436Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
26437
26438 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
26439 * gdb.stabs/Makefile.in: Likewise.
26440
26441 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
26442 change. Instead split the tests into smaller pieces.
26443 * gdb.disasm/hppa.s: Corresponding changes.
26444
26445Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26446
26447 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
26448 Quote ^C when passing it to stty. For some shells ^ is a pipe.
26449
26450 * gdb.base/funcargs.exp: Modify many tests so that every test
26451 either passes or fails. Make some test names unique.
26452
26453Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26454
26455 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
26456 Call stty to set interrupt character.
26457
26458 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
26459 for HP assembler versus GNU assembler based on actual behavior of
26460 $(CC), rather than assuming that $(AS) is always the GNU assembler.
26461
26462 * TODO: Suggest a few more stepping tests.
26463
26464Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
26465
26466 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
26467 restart GDB for h8300 after a continue.
26468 (return): Add pattern to match a29k-udi behavior.
26469 * gdb.base/nodebug.exp: Remove obsolete comment.
26470 * gdb.base/regs.exp: New file, testing of register displays.
26471 * gdb.base/return.exp: Fix typo in reference to $objdir.
26472 * gdb.base/whatis.exp: Always start with a fresh GDB.
26473
26474Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26475
26476 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
26477 higher, these tests generate a lot of output.
26478
26479Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26480
26481 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
26482 code following the catch silently ignored some errors; without the
26483 catch they should be thrown like any other tcl error. Also, the
26484 catch used "" instead of {} which meant all the callers who wanted
26485 to include one of the characters "[]$ had to quote it an extra time.
26486 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
26487 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
26488 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
26489 Remove extra quoting.
26490
26491Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
26492
26493 * gdb.base/commands.exp: Make test names unique; every test either
26494 passes or fails. Update some comments.
26495
26496 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
26497
26498Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26499
26500 The following fixes a FAIL caused by the fact that the alpha stabs
26501 configuration didn't use the ".if alpha" code in weird.def.
26502 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
26503 bit pointer, so the 32 bit version works even on the alpha.
26504 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
26505 Remove the stuff which allowed us to have separate versions for
26506 alpha and everything else.
26507
26508 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
26509 regexp which "info func operator\[\](" is supposed to match. Fix
26510 string to send to GDB. Note that GDB still doesn't work right. Add a
26511 new test for "info func .perator\[\](" which GDB does handle correctly.
26512
26513 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
26514
26515Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26516
26517 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
26518 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
26519 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
26520 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
26521 it makes the tests harder to understand and confuses test-o-matic.
26522 The preferred style is that each test provides a PASS or a FAIL,
26523 and has a unique message (e.g. "continue #54" not just "continue")
26524 which is the same for the pass and the fail.
26525 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
26526 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
26527 to lib/gdb.exp.
26528 * gdb.base/printcmds.exp: Use test_print_accept. Remove
26529 prt_accept which was basically the same thing. Likewise for
26530 test_print_reject and prt_reject.
26531 * lib/gdb.exp (test_print_reject): Add some more error message
26532 patterns to match from the former printcmds.exp (prt_reject).
26533 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
26534 One defect of the passcount stuff is that some of it failed to
26535 report XPASS where appropriate.
26536 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
26537 stuff before and after arg in expected pattern.
26538 (test_paddr_operator_functions): Re-do test without print_addr_of;
26539 this is the only test which seems to want extra stuff there.
26540
26541Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26542
26543 * gdb.base/nodebug.exp: Update new tests to reflect improved
26544 wording of gdb output.
26545
26546 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
26547 and "ptype" work on variables in files compiled without -g.
26548 Replaces commented out "maint print msymbol" tests.
26549
26550Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26551
26552 * gdb.base/setvar.c (dummy): Call malloc.
26553
26554 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
26555 losing with the irix4 sed.
26556
26557 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
26558 ALRM" on irix4.
26559
26560Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26561
26562 * TODO: Remove items about corefile.exp testing new exec-file and
26563 backtrace; both are now done. Add items about printing enums.
26564
26565Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26566
26567 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
26568 "get signal $thissig" test fails.
26569
26570 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
26571
26572Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26573
26574 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
26575 compiler warning with dec alpha compiler.
26576
26577 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
26578 extra \n from gdb_test call (this explains why the prompt test
26579 that I removed yesterday was there).
26580 (user_defined_command_test): Remove extra \n and prompt test.
26581
26582 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
26583 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
26584 doesn't exist.
26585 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
26586 Also remove alpha workaround, which turns out to be because
26587 SIGABRT == SIGLOST.
26588
26589 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
26590
26591 * gdb.base/help.exp: Don't test "help show".
26592
26593Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26594
26595 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
26596 "set print address" is on.
26597 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
26598 pass prompt to gdb_test; gdb_test already looks for the prompt.
26599
26600 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
26601
26602 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
26603 was a vestige of the manual TESTSTRATEGY, and the purpose of it
26604 was to make sure that gdb can read a core file. But (a) the "read
26605 the corefile" part didn't make it to a1-selftest.exp, we just
26606 delete the corefile after creating it, and (b) we test reading
26607 corefiles in corefile.exp anyway. Also, this test left around a
26608 xgdb process on Solaris.
26609
26610 * gdb.base/corefile.exp: Also test backtrace.
26611
26612Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
26613
26614 * gdb.base/commands.exp: Test a simple user defined command with
26615 arguments and if/while statements; verify the full user command is
26616 printed by "show user".
26617
26618 * gdb.base/commands.exp: Test if/while commands as part of a
26619 breakpoint command list; verify they appear in breakpoint
26620 information.
26621
26622Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26623
26624 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
26625 than by dividing by zero.
26626
26627Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
26628
26629 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
26630 performing an inferior call with watchpoints enabled.
26631 * gdb.base/watchpoint.c (main): Delete second unnecessary read
26632 call.
26633
26634Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26635
26636 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
26637 of "file" command.
26638
26639 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
26640 Add additional pattern for when "int operator int(void);" appears
26641 in a different order.
26642
26643Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
26644
26645 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
26646
26647 * gdb.base/help.exp: Replace most of docstrings for "info signals"
26648 and "signal" with ".*".
26649
26650Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
26651
26652 * TODO: Add note about "handle all nostop".
26653
26654 * gdb.base/{sigall.c, sigall.exp}: New test.
26655 * gdb.base/Makefile.in: Add it.
26656
26657Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
26658
26659 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
26660 when invoking GDB, suppresses any windowing interface.
26661
26662Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
26663
26664 * config/sim-gdb: New file, simulator testing support.
26665
26666Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
26667
26668 * gdb.base/interrupt.exp: Test calling func1 twice.
26669
26670Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
26671
26672 * gdb.base/list.exp (test_forward_search): Set timeout higher
26673 when we'll be getting lots of output from gdb.
26674
26675 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
26676 "init_malloc" to after the expect statement. Run it if that
26677 regexp is taken, but also for two others which happen if source
26678 cannot be found.
26679
26680Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26681
26682 * gdb.base/printcmds.exp: New test, for printing register before
26683 program is running.
26684
26685Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26686
26687 * gdb.base/list.exp: Correct some alternate expect patterns
26688 to reflect changes in list1.c.
26689
26690Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26691
26692 * TODO: Add item regarding large frames.
26693
26694 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
26695
26696 * TODO: Remove item about enabling return.exp; it
26697 is enabled. Suggest a few more "return" tests.
26698
26699Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26700
26701 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
26702 anonymous unions.
26703
26704Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26705
26706 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
26707 and pr-5646.o, so "make" is the same as "make all", not "make
26708 pr-4975.o".
26709
26710Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
26711
26712 * gdb.base/list.exp: Adjust expectations to reflect changes in
26713 list1.c.
26714 (test_forward_search): New test proc.
26715 * gdb.base/list1.c (long_line): New function, has long source line.
26716
26717Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
26718
26719 * gdb.base/a1-selftest.exp: Change initial stepping to know about
26720 additional line of code that was added.
26721
26722Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
26723
26724 * gdb.disasm/hppa.s: Break the large branching tests into smaller
26725 tests so as not to overflow expect's input buffers.
26726 * gdb.disasm/hppa.exp: Corresponding changes.
26727
26728Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26729
26730 Beginnings of template debugging tests.
26731 * gdb.c++/templ-info.cc: New file to test for template
26732 debugging capability of the compiler.
26733 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
26734 templ-info.cc.
26735 * gdb.c++/templates.cc: Add explicit template instantiations
26736 to enable compiling with -fno-implicit-templates. Add destructor
26737 and 'value' method to T5 class for template tests.
26738 * gdb.c++/templates.exp: Add testcases for printing of template
26739 types, setting breakpoints on template methods and calling a
d63a86f8 26740 template method.
c906108c
SS
26741
26742Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
26743
26744 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
26745 branch target since some assemblers (gas-2.5) may emit a
26746 relocation for the branch instead of resolving it in the
26747 assembler.
26748
26749Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26750
26751 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
26752 through signal handler.
26753
26754Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
26755
26756 * configure.in (*-*-netware): Use config/mt-netware.
26757
26758 * config/mt-netware: New file.
26759 * config/mt-i386-netware: Removed, separate configs for different
26760 netware architectures are no longer needed now that we have
26761 --with-headers.
26762
26763Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26764
26765 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
26766 by the recent changes to use ANSI C arithmetic conversions.
26767
26768Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26769
26770 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
26771 bug involving using inferior_pid to figure out whether to select a
26772 frame.
26773
26774Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
26775
26776 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
26777 match the current disassembler output.
26778
26779Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
26780
26781 * gdb.fortran/exprs.exp: Expect VOID instead of void.
26782 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
26783 types, expect "int" as type of integer values (for now).
26784
26785Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
26786
26787 * gdb.base/commands.exp: New tests for if/while commands.
26788
26789Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
26790
26791 * lib/gdb.exp (runto): Replace sub-pattern for hex value
26792 by .*, since hex values have different syntax in Chill mode.
26793
26794Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26795
26796 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
26797 linefeed from expect pattern for repeated types with indices > 9.
26798
26799Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
26800
26801 First part of Fortran test suite.
26802 * gdb.fortran: New directory.
26803 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
26804
26805Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26806
26807 * gdb.base/default.exp: Update expect pattern for load command
26808 without arguments.
26809
26810Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
26811
26812 * configure.in: Change i386 to i[345]86.
26813 * gdb.base/configure.in: Likewise.
26814 * gdb.c++/configure.in: Likewise.
26815 * gdb.chill/configure.in: Likewise.
26816
26817Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
26818
26819 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
26820 patterns, since that is not a valid context for comments.
26821
26822Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
26823
26824 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
26825 repeated types and repeated types with indices > 9.
26826
26827Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
26828
26829 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
26830 2417; old bug has been fixed.
26831
26832Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
26833
26834 * gdb.base/interrupt.exp: When trying to wake up the inferior,
26835 send the newline ourselves instead of assuming gdb_test will do
26836 so when passed an empty input string.
26837
26838 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
26839 stabs testcode.
26840
26841Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
26842
26843 * lib/gdb.exp (gdb_test): Don't send anything if the first
26844 argument is an empty string. This makes cases where we want to
26845 match output that is already in expect's buffers (for example,
26846 matching a breakpoint after gdb_run_cmd has been called) work
26847 reliably.
26848
26849Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
26850
26851 * config/netware.exp: New file.
26852
26853Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
26854
26855 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
26856 the -B and -L prefixes so we can find the debugging stub.
26857
26858 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
26859 there and we are using the gcc from the tree.
26860
26861 * gdb.base/types.c: Removed.
26862
26863 * gdb.base/configure.in: Look for makefile fragments in ../config.
26864 Recognize i386-*-netware.
26865 * gdb.c++/configure.in: Likewise.
26866
26867Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26868
26869 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
26870 the correct TCL syntax.
26871
26872Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
26873
26874 * gdb.base/opaque.exp: use runto instead of messing around with
26875 breakpoints. Simplify by using gdb_test.
26876
26877 * gdb.base/bitfields.exp: restart between tests on netware targets
26878 because breakpoints aren't relocated after target death. Run
26879 processes to completion.
26880
26881 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
26882
26883Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
26884
26885 * Makefile.in: Remove extra tabs that confuse some versions
26886 of "make". Use the newly built gdb to test with by default,
26887 rather than the first one in the tester's search path.
26888
26889Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
26890
26891 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
26892
26893 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
26894 condition help.
26895
26896Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
26897
26898 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
26899
26900 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
26901 running.
26902 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
26903 * gdb.base/funcargs.exp: Likewise.
26904
26905 * gdb.base/bitfields.exp: Simplify by using gdb_test.
26906 * gdb.base/funcargs.exp: Likewise.
26907
26908 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
26909 message is "".
26910
26911Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
26912
26913 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
26914 return,signals,twice}.exp: Handle non-existant binaries
26915 consistantly.
26916
26917 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
26918 * gdb.base/Makefile.in: Don't try to generate a core dump, we
26919 might testing a cross development system.
26920
26921Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
26922
26923 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
26924 runtest script is relative to ${srcdir}, not ${rootdir}.
26925
26926Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
26927
26928 * gdb.base/signals.exp: Allow for optionality of breakpoint
26929 address.
26930
26931Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
26932
26933 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
26934
26935Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
26936
26937 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
26938 for size_t definition.
26939 * gdb.c++/templates.cc: Likewise
26940
26941 * config/mt-i386-netware: New file.
26942
26943 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
26944 defined.
26945
26946 * gdb.base/Makefile.in: Added support for systems that name core
26947 files by appending "core" to the program name.
26948 * gdb.base/a1-selftest.exp: Likewise.
26949
26950Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26951
26952 * gdb.base/return.exp: Add comment and message for `return double'
26953 test failure on Sparc Solaris.
26954
26955Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
26956
26957 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
26958
26959Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26960
26961 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
26962 from optimizing them away.
26963 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
26964 patterns to include default constructors and assignment operators,
26965 to match gcc versions beyond 2.5.8. Accept any cplus demangling
26966 character in the output of the virtual base pointer.
26967
26968Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26969
26970 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
26971 expression match in print_addr_of to avoid unintented matches.
26972 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
26973 versions up to 2.5.8.
26974
26975Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26976
26977 * gdb.base/list.exp: Tweak alternate pattern for listing of an
26978 included file to run under newer versions of expect.
26979 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
26980 consecutive >'s in templates to accomodate recent cplus-dem.c change.
26981 Remove xfail for the virtual table of BDDHookV.
26982
26983Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
26984
26985 * lib/gdb.exp (string_to_regexp): Set a default result.
26986 (default_gdb_start): Fix misleading message.
26987
26988Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
26989
26990 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
26991 Remove all CC, etc definitions.
26992 * config/mt-hpux: New file.
26993 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
26994 (CFLAGS, LDFLAGS): Define.
26995 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
26996
26997 * Makefile.in (site.exp): Don't insert host_os, etc.
26998 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
26999 (distclean): Check existence of subdir.
27000 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
27001 * gdb.base/Makefile.in: General cleanup and simplification.
27002 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
27003 to build executables. Use default rule to build .o files.
27004 (EXPECT, RUNTEST, CC): Fix relative pathname.
27005 (site.exp): Don't insert host_os, etc.
27006 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
27007 and/or SIGUSR1 defined.
27008 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
27009 * gdb.c++/Makefile.in: General cleanup and simplification.
27010 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
27011 (CFLAGS): Remove.
27012 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
27013
27014Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
27015
27016 * gdb.base/recurse.exp: Misc changes to get tests running again
27017 after Kung's changes to the watchpoint code.
27018 * gdb.base/watchpoint.exp: Likewise.
27019
27020Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
27021
27022 * lib/gdb.exp (string_to_regexp): Convert {\} also.
27023
27024Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
27025
27026 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
27027 * lib/gdb.exp (default_gdb_start): Define.
27028 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
27029 gdb.base/funcargs.exp, gdb.base/opaque.exp,
27030 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
27031 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
27032 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
27033 Don't call gdb_target_udi in between tests.
27034
27035Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27036
27037 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
27038 (which was basically just a local version of the same thing). In
27039 addition to avoiding duplication, gdb_test_exact is faster.
27040 * lib/gdb.exp (gdb_test_exact): Fix typo.
27041
27042 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
27043 don't give an error.
27044
27045 * gdb.base/term.exp: Call delete_breakpoints before starting.
27046
27047 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
27048 (t10): Add comment.
27049
27050Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
27051
27052 Reorganization of the GDB Test Suite.
27053
27054 * gdb.base: New directory, contains all the basic tests.
27055 * gdb.c++: New directory, tests specific to C++.
27056 * gdb.chill: New directory, tests specific to Chill.
27057 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
27058 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
27059 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
27060 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
27061 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
27062 t30-31 to chill).
27063 * */gdbme.*: Rename to match appropriate expect scripts.
27064 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
27065 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
27066 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
27067 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
27068 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
27069 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
27070 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
27071 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
27072 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
27073 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
27074 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
27075 gdb.c++/virtfunc.cc: New names of C++ files.
27076 * gdb.chill/chillvars.ch: New name of Chill file.
27077 * gdb.base/configure.in, gdb.c++/configure.in,
27078 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
27079 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
27080 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
27081 * configure.in (configdirs): Update to reflect directory changes.
27082 (target_abbrev): No longer define for any configuration.
27083 * Makefile.in: Cosmetic improvements to header comments.
27084
27085Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
27086
27087 Various changes to gdb.t31:
27088
27089 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
27090 * gdbme.ch: Make all key-words and predefineds be upper-case.
27091 * chillvars.exp: Expect key-words and predefinds in upper-case.
27092
27093 * chillvars.exp: Use gdb_test_exact many places.
27094 Change expected output for arrays (which now includes index labels).
27095
27096 * pr-5020.exp, gdme.ch (module PR_5020):
27097 New test, for PR-5020.
27098
27099Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
27100
27101 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
27102 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
27103
27104Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
27105
27106 * Makefile.in: Fix bit-rot in definitions of CHILL,
27107 CHILL_FOR_TARGET and Chill_LIB.
27108 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
27109 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
27110 CHILL, and CHILL_LIB.
27111
27112Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
27113
27114 * Revert the previous changes. Please see Rob's directory
27115 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
27116
27117Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
27118
27119 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
27120 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
27121 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
27122 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
27123 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
27124 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
27125 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
27126 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
27127 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
27128 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
27129 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
27130 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
27131 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
27132 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
27133 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
27134 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
27135 changes from 94Q1.
27136
27137Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
27138
27139 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
27140 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
27141 Rob's new testing fragments.
27142
27143Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
27144
27145 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 27146 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
27147
27148Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
27149
27150 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
27151 version also, match on casted version strings, and match on
27152 gdb startup case where the line numbers might be messed up.
27153
27154Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
27155
27156 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 27157 (CFLAGS): Delete it from here.
c906108c
SS
27158
27159Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
27160
27161 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
27162
27163Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
27164
27165 * Makefile.in (RUNTEST): Default to just "runtest".
27166
27167Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27168
27169 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
27170 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
27171 the code has been restructured.
27172
27173Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27174
27175 * gdb.t00/default.exp (set write): Allow any number of \r and/or
27176 \n, not just one of each.
27177
27178 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
27179 /bin/cc gives a warning if you do.
27180
27181Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
27182
d63a86f8 27183 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
27184 __t10ListS_link1ZUiRCUiPT0
27185
27186Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27187
27188 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
27189 on local variables in recursive functions.
27190
27191 * gdb.t07/Makefile.in: Build the new test.
27192
27193Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27194
27195 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
27196 directly. Instead compare the return values from actual calls.
27197
27198Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
27199
27200 * Makefile.in (check): Set TCL_LIBRARY for runtest.
27201
27202Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27203
27204 * From Peter Schauer with minor modifications.
a9c64011
AS
27205 * gdb.t15/return.exp (return_tests): Handle targets where "return"
27206 stops in mid-line in the caller. Add xfail for returning a float
27207 value on X86 targets.
c906108c
SS
27208
27209Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27210
27211 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
27212 to avoid expect lossage.
27213 (fmem_LRbug_tests): Likewise.
27214 * gdb.disasm/hppa.s: Corresponding changes.
27215
27216 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
27217 conditions to work with latest dejagnu/expect.
27218
27219 * gdb.t15/funcargs.exp (finish from indirect call): No longer
27220 expected to fail on the PA.
27221 (backtrace in call with trampolines): Explicitly require main
27222 to be frame #1 (no trampolines should show up in backtrace).
27223
27224 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
27225 "continue -expect".
27226 * gdb.t06/break.exp: Likewise.
27227 * gdb.t07/watchpoint.exp: Likewise.
27228 * gdb.t13/bitfields.exp: Likewise.
27229 * gdb.t15/{funcargs,return}.exp: Likewise.
27230 * gdb.stabs/weird.exp: Likewise.
27231 * config/{mips,udi}-gdb.exp: Likewise.
27232
27233 * hppa.sed: Enclose comments within a sed command to avoid
27234 losing with the old OSF1 sed.
27235
27236Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27237
27238 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
27239 sequent dynix.
27240 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
27241 * gdb.t15/funcargs.exp: Conditionally step again to really
27242 finish from marker_call_with_trampolines. Handle the case where
27243 the first step from within call_with_trampolines already steps
27244 us back to main.
27245 * gdb.t15/gdbme.c: Add comment to closing brace of
27246 call_with_trampolines for funcargs.exp.
27247
27248Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27249
d63a86f8 27250 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
27251 Fix typo(s).
27252
27253Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27254
27255 * gdb.t07/gdbme.c: More code for watchpoint testing.
27256
27257 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
27258 "Hardware watchpoint" throughout file.
27259 (test_watchpoint_triggered_in_syscall): New test.
27260 (test_complex_watchpoint): New test.
27261
27262Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27263
27264 * gdbme.c (call_with_trampolines): New function to try and step
27265 into. Tests trampoline problems on the PA.
27266
27267 * funcargs.exp (localvars_in_indirect_call): No longer expect
27268 stepping into indirect call to fail on PAs.
27269 (test_stepping_over_trampolines): New test.
27270
27271Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27272
27273 * TODO: Add suggestions for static member function tests, and
27274 completion tests.
27275
27276Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27277
27278 * TODO: Add suggestions for "p/a" tests.
27279
27280 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
27281 (default_gdb_exit): Replace all the hair with sending "quit" to
27282 the process with a simple close.
27283
27284Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27285
27286 * TODO: Add suggestions for shared library tests.
27287
27288Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27289
27290 * TODO: Add suggestions for x/s tests.
27291
27292Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27293
27294 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
27295 "enable once", and "enable breakpoints once" with ".*".
27296
27297Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27298
27299 * TODO: Add suggestions about structure passing tests.
27300
27301Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27302
27303 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
27304 the primary1 test, use work around if __GNUC__ < 2.
27305 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
27306 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
27307 Test for bad output rather than waiting for timeout. Issue
27308 second continue only if first continue failed.
27309
27310Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
27311
27312 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
27313 operator[] test with gdb_test because the old code didn't seem to
27314 be getting the quoting right with the new dejagnu.
27315
27316Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
27317
27318 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
27319 one from the path.
27320 * Makefile.in: Use a fresh expect if there is one, use runtest
27321 from the src tree if there is one.
d63a86f8 27322
c906108c
SS
27323Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
27324
27325 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
27326 next over recursive call. Revise the tests from that point on
27327 (which had been skipped) to match GDB's actual (correct) output.
27328
27329 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
27330 with next over a breakpoint whose condition is false.
27331
27332 * gdb.t00/help.exp: Comment out "help set print" tests just like
27333 (and for same reason as) "help set" test.
27334
27335Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27336
27337 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
27338 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
27339
27340Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27341
27342 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
27343 necessary gdb_target_udi.
27344
27345 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
27346
27347 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
27348 1838 and 2417; they are fixed.
27349
27350 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
27351 gdb.t03/ptype.exp (ptype structure, ptype union):
27352 Remove xfails; the test is looser than when the xfails were added.
27353
27354 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
27355 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
27356
27357 * gdb.t01/run.exp: Only run shell test if isnative.
27358
27359 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
27360 since "run" automatically loads if necessary. Call gdb_target_udi
27361 after the "file" since "file" kills any execution target.
27362
27363 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
27364 GDB. GDB doesn't work that way (not anymore at least) on UDI.
27365 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
27366 argument for UDI.
27367
27368Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
27369
27370 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
27371
27372 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
27373
27374Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27375
27376 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
27377 properly quoting regexps. This makes the second argument to
27378 demangle a fixed string, which matches the callers, instead of a
27379 shell-style pattern which is what the previous implementation
27380 used. Update some of the callers.
27381
27382Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27383
27384 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
27385 (comib_nullified_tests): Fix typo.
27386 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
27387 strings. No longer expected to fail.
27388
27389 * gdb.disasm/hppa.s (addib_tests): Fix typo.
27390 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
27391 strings. No longer expected to fail.
27392
27393 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
27394 string. No longer expected to fail.
27395
27396Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27397
27398 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
27399 No longer expected to fail.
27400
27401 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
27402 string. No longer expected to fail.
27403
27404Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27405
27406 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
27407 only in the names (I probably got most of them). I was even
27408 generous with some which differed in underscores in names, and
27409 probably missed a few, and I *still* was able to remove almost a
27410 third of the file with almost no impact on testsuite coverage.
27411
27412Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27413
27414 * gdb.t00/default.exp: Match udi_attach error message as well as
27415 the one from child_attach.
27416
27417 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
27418
27419 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
27420
27421 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
27422 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
27423
27424 * Move test with enums and partial symbols back to
27425 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
27426 Reverts the change of 26 May 93. Per today's change to
27427 stabs.texinfo, the behavior that weird.exp was expecting was
27428 unreasonable; what is important is that the compiler+gdb get
27429 things right, which happens with a recent gcc. Also fix the test
27430 to deal with native compilers which put out the stab gdb can't
27431 deal with.
27432
27433Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27434
27435 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
27436 in the names. The main thing these accomplish is to slow things down.
27437 Many more such duplicates surely remain.
27438
27439 * gdb.t00/help.exp: Comment out "help support" test just like
27440 (and for same reason as) "help set" test.
27441
27442Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
27443
27444 * gdb.t06/break.exp: Remove setup_xfails for
27445 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
27446 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
27447 about known bug in gcc to include up through 2.5.8.
27448 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
27449 well as "_vb$".
27450 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
27451 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
27452 with latest gcc and gdb.
27453 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
27454 well as "_vb$".
27455
27456Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27457
27458 * configure.in (hppa*-*-*): Also configure and build stabs-only
27459 tests.
27460
27461Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27462
27463 * gdb.t10/hppa.mt: A makefile fragment for the PA.
27464 * gdb.t10/configure.in (hppa*-*-*): Use it.
27465
27466Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27467
27468 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
27469
27470Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27471
27472 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
27473 versions prior to 1.13.5.
27474
27475Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27476
27477 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
27478 the prompt is at the start of a line.
27479
27480Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
27481
27482 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
27483 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
27484 in the copr tests now.
27485 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
27486 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
27487 expected to fail.
27488
27489Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
27490
27491 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
27492 gdb.t31/chillvars.exp, lib/gdb.exp:
27493 Tweak to run under either version of expect.
27494 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
27495 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
27496 * gdb.t11/list.exp: Remove extraneous whitespace.
27497
27498Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27499
27500 * gdb.t16/printcmds.exp (test_print_strings): Accept
27501 "(unsigned char *) " before the string.
27502
27503 * TODO: Add notes about printing of fancy types and GDB expressions.
27504
27505Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
27506
27507 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
27508 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 27509 if doing mips-idt-ecoff.
c906108c
SS
27510
27511Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
27512
27513 * Most .exp files: Tweak to run under either version of expect.
27514
27515Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27516
27517 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
27518 xfails; I'm not sure why they are failing, but not because of PR 1806.
27519
27520Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
27521
27522 * config/unix-gdb.exp: Remove gdb_unload cause it's already
27523 defined in lib/gdb.exp.
27524
27525Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27526
27527 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
27528 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
27529 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
27530 have to be typeless.
27531
27532Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
27533
27534 * TODO: Add suggestion for copyright year test.
27535
27536Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
27537
27538 * configure.in (*-*-lynxos*): Add stabs tests.
27539
27540Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
27541
27542 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
27543 so insert a tab before any assembler directive in column zero.
27544
27545 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
27546 stores.
27547 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
27548 stores.
27549 (fpu_short_memory_tests): Likewise.
27550
27551Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27552
27553 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
27554 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
27555 .stabs directives in comments.
27556
27557Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27558
27559 * TODO: New file, describing tests we could write.
27560 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
27561
27562Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27563
27564 * gdb.t06/signals.exp: Add kludge to force re-sync.
27565
27566 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
27567 to xgdb instead of gdb, get out of gdb.
27568
27569Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
27570
27571 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
27572 for info.
27573
27574Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
27575
27576 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
27577 * gdb.stabs/configure.in (hppa*-*-*): Use it.
27578 * gdb.stabs/hppa.sed: New sed script for the PA.
27579
27580Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27581
27582 * gdb.stabs: Re-write weird.def and configuration to use sed
27583 instead of cpp. sed is portable and POSIX; cpp is neither.
27584
27585Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27586
27587 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
27588
27589Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27590
27591 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
27592
27593Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27594
27595 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
27596 "_vb$".
27597 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
27598 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
27599
27600Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27601
27602 * lib/gdb.exp: Comment out code which depends on non-existent
27603 `transform' procedure.
27604
27605Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
27606
27607 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
27608 * lib/gdb.exp: Transform tool name.
27609 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
27610 1.1's new error handling system.
27611
27612Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27613
27614 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
27615
27616Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27617
27618 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
27619 They made pattern matching so slow that timeouts happened on
27620 heavily loaded systems. Now any output from "show print" which
27621 gets us back to the GDB prompt is a PASS.
27622
27623Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
27624
27625 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
27626
27627Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27628
27629 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
27630
27631 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
27632 It is not from PR 3220.
27633
27634Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27635
27636 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
27637 just started failing because they depended on the order the
27638 subcommands are presented, or exact docstring text. This kind of
27639 test is a pain and has minimal benefit.
27640
27641Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27642
27643 * gdb.t09/corefile.exp: At end of test, use "core" command with
27644 no arguments.
27645
27646Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
27647
27648 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
27649 17}/Makefile.in: Make it possible to run the testsuite with Sun
27650 make and CC = cross gcc by adding explicit build rules for .o
27651 files.
27652
27653Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27654
27655 * gdb.t15/funcargs.exp: Don't put comments on same line as
27656 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 27657
c906108c
SS
27658Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27659
27660 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
27661
27662Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
27663
27664 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
27665 * gdb.t20/inherit.exp: remove three dumplicate entries.
27666
27667Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27668
27669 * gdb.t06/break.exp: For "next over recursive call", fail on any
27670 incorrect output, not just on "factorial (value=2)".
27671
27672Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27673
27674 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
27675 working now. Add an xfail if accesing a bss variable causes
27676 a memory error if the target is not yet run.
27677
27678Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27679
27680 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
27681 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
27682 name of __st* demangling (2 strings). Did Kung really get the
27683 more than 95 others right without testing them?
27684
27685Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
27686
27687 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
27688
27689Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
27690
27691 * configure.in (configdirs): Add gdb.disasm
27692 * gdb.disasm: New directory for GDB disassembler tests.
27693 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
27694
27695Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27696
27697 * gdb.t00/help.exp: Don't test "help set".
27698
27699 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
27700 from within expect statements. None of these happen anymore and
27701 they cause regressions to be silently unnoticed.
27702
27703 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
27704 messages) about known failures with gcc cygnus-2.4.5-930417.
27705
27706 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
27707 comp-info.exp so it gets built if it doesn't exist.
27708
27709 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
27710 it is no longer used.
27711 * gdb.t13/comp-info.c: Removed.
27712
27713Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
27714
27715 * gdb.t06/signals.exp: Add xfail for sun3.
27716
27717Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27718
27719 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
27720 relevant because ^C doesn't get sent but failure can be reproduced
27721 interactively).
27722
27723Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27724
27725 * gdb.stabs/alpha.mt: New configuration file for alpha.
27726 * gdb.stabs/configure.in: Use it.
27727 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
27728 sharing with alpha.mt, redefine long to word via preprocessor.
27729 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
27730 for alpha.
27731 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
27732 native cc.
27733 * gdb.t00/teststrategy.exp: Change expect string so that we
27734 consume the `(xgdb)' from the command echo and from the gdb prompt.
27735 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
27736 gdb currently compares all values as long, so this failure probably
27737 applies to any configuration where LONGEST is bigger than a target int.
27738 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
27739 with gcc.
27740 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
27741 to handle opaque pointers, gcc is.
27742 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
27743 as first argument. Include <sys/types.h> and change all operator
27744 new definitions to use size_t.
27745 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
27746 now that we use size_t.
27747
27748Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27749
a9c64011 27750 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 27751 a long or float array cast all array members to the same type.
a9c64011 27752 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 27753 with 64 bit longs.
a9c64011 27754 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 27755 on alpha.
a9c64011 27756 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
27757
27758Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27759
27760 * gdb.t24 (demangle.exp): Constructors of templates have names like
27761 vector<int>::vector(int) not vector<int>::vector<int>(int). See
27762 section 14.6 of the ARM.
27763
27764 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
27765 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
27766 accomplish little and slow down the testsuite.
27767
27768 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
27769 Accept spaces various places.
27770
27771Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27772
27773 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
27774 with watchpoint enabled.
27775
27776 * Makefile.in: Remove definition of CC and remove the second
27777 definition of CXX (the "CXX = gcc" one remains). These definitions
27778 were causing backquotes to be expanded within backquotes, which
27779 doesn't work.
27780
27781Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
27782
27783 * gdb.t17/callfuncs.exp: Add "return 0" to end.
27784
27785Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27786
a9c64011
AS
27787 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
27788 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
27789 by mips cc and contains no stabs entries.
27790
27791Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
27792
27793 * config/vx-gdb.exp: Use fake device to load files rather than
27794 NFS.
27795 * lib/gdb.exp: New proc to do "file" command.
27796 * config/unix-gdb.exp: Use new "file" proc.
27797
27798Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
27799
27800 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
27801 Rework board rebooting slightly.
27802 (gdb_exit): Don't exit from the remote shell; there isn't one.
27803 * gdb.stabs/weird.exp: If a program is being debugged already,
27804 kill it.
27805 * gdb.t04/setvar.exp: Stop and restart gdb.
27806 * gdb.t05/expr.exp: Likewise.
27807 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
27808 restart gdb and reload the program.
27809 * gdb.t08/opaque.exp: Likewise.
27810 * gdb.t12/scope.exp: Likewise.
27811 * gdb.t13/bitfields.exp: Likewise.
27812 * gdb.t15/funcargs.exp: Likewise.
27813 * gdb.t20/classes.exp: Likewise.
27814 * gdb.t03/ptype.exp: Increase timeout.
27815 * gdb.t16/printcmds.exp (test_print_string_constants,
27816 test_print_array_constants): Likewise.
27817 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
27818 * gdb.t20/classes.exp (do_tests): Likewise.
27819 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
27820
27821Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
27822
27823 * gdb.stabs: Renamed *wierd* to *weird*.
27824
27825Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
27826
27827 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
27828 for timeout. Add "known gcc 2.4.5 bug" to failure message.
27829
27830Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
27831
27832 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
27833 (do_tests): Remove xfail for whatis on one_var and two_var.
27834
27835Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
27836
27837 * Makefile.in: Made cross building work better by adding
27838 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
27839
27840Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27841
27842 * gdb.t15/{return.c,return.exp,Makefile.in}:
27843 New test, currently commented out.
27844
27845Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
27846
27847 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
27848 still running and removes the leftover named socket so GDb can do
27849 clean restarts.
27850
27851Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
27852
27853 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
27854 console, not GDB.
27855 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
27856 cross testing works better with "make check"
27857 * config/unix-gdb: Use default procedures for exit and version.
27858 * config/vx-gdb.exp: Cleaned up and massaged back to working order
27859 with the newest VxWorks.
27860
27861Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27862
27863 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
27864 old form.
27865
27866 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
27867 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
27868
27869 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
27870
27871 * config/unix-gdb.exp: Remove this version of gdb_exit
27872 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
27873 Rob says he'll look at it when he gets back to testing boards.
27874
27875Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
27876
27877 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
27878 an expected fail for certain ptype commands.
27879
27880 * gdb.t20/classes.exp: Update expected results of "ptype class
27881 Base1" to account for the constructor that now appears in the type.
27882
27883Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
27884
27885 * configure.in (configdirs): Restore gdb.t04, which mysteriously
27886 disappeared from list.
27887 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
27888 "alldone" proc with call to cleanup and exit.
27889 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
27890 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
27891 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
27892 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
27893 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
27894 "alldone" proc with simple returns that suppress remaining
27895 tests. The alldone proc went away many months ago.
27896
27897Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27898
27899 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
27900
27901 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
27902
27903Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27904
27905 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
27906 as vax gdb will display them.
27907
27908Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27909
27910 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
27911 optimizers.
27912
27913 * scope.exp: Change "bad value for localval" messages so each one
27914 is unique.
27915
27916 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
27917 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
27918
27919 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
27920
27921Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27922
27923 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
27924 doesn't exist (due to optimization).
27925
27926Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27927
27928 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
27929 contains \r because the filename is long.
27930
27931 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
27932 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
27933
27934Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27935
27936 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
27937 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
27938 Ultrix.
27939 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
27940 int tests.
27941 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
27942
27943Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
27944
27945 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
27946
27947 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 27948 to match does not match the passing case but still matches the
c906108c
SS
27949 failing case.
27950
27951Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27952
27953 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
27954
27955Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
27956
27957 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
27958 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
27959 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
27960 Remove various versions of gdb_exit.
27961 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
27962 gdb_exit.
27963 * config/unix-gdb.exp: gdb_exit remains here, and should override
27964 the generic version, since it's doing a lot of wierd stuff that
27965 the other versions aren't. FIXME, fold it in, or abandon this
27966 version.
27967
27968Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27969
27970 * gdb.t24/demangle.exp: Add tests for PR 3220.
27971
27972Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27973
27974 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
27975
27976Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
27977
27978 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
27979 "i386-*-*". Works for i486 as well.
27980
27981 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
27982 bug, and expand domain of xfail to all SVR4 systems, since the
27983 actual problem is likely to be in generic SVR4 /proc support.
27984
27985Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
27986
27987 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
27988
27989Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
27990
27991 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
27992 xfails for other systems. Match a missing 'Continuing.' as an
27993 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
27994
27995 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
27996 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
27997 Only issue warning for missing executables if -all option is used.
27998
27999 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
28000 file if -all option is used. It's like an unpredictable XFAIL.
28001
28002Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28003
28004 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
28005 for dynamically linked binaries.
28006
28007 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
28008
28009Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28010
28011 * gdb.t20/inherit.exp: Change message for "print tagless struct"
28012 to state that this is a known bug in old versions of g++.
28013
28014Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28015
28016 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
28017 while waiting for `Continuing'.
28018
28019Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
28020
28021 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
28022 in text, data, and bss.
28023 * gdb.t10/nodebug.c: Add local and global test variables for
28024 initialized and uninitialized data.
28025
28026Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28027
28028 * config/unix-gdb.exp (gdb_exit): Add "wait".
28029
28030Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28031
28032 * gdb.t06/signals.exp: xfail the continue from the handler for all
28033 targets.
28034
28035 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
28036 function with watchpoints enabled, the i386 call dummy starts with
28037 a call.
28038
28039 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
28040 386 bsd names its corefiles.
28041
28042Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
28043
28044 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
28045 compilers don't grok it.
28046 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
28047 with small octal ints rather than character constants, which
28048 are signed and might not fit if first promoted to int.
28049
28050Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
28051
28052 * gdb.t09/Makefile.in (clean): Remove corefile.
28053
28054Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28055
28056 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
28057
28058Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28059 and Jim Kingdon (kingdon@cygnus.com)
28060
28061 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
28062 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
28063 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
28064
28065Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28066
28067 * gdb.t17/interrupt.exp: Add xfail for hppa.
28068
28069Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28070
28071 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
28072 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
28073 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
28074 to determine signed-ness of bitfields and use the result to setup
28075 the xfail.
28076 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
28077 * gdb.t15/funcargs.exp: Use them to step until the second indirect
28078 call line is reached if necessary.
28079
28080Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28081
28082 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
28083
28084Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28085
28086 * gdb.t06/break.exp: Also test `clear' command.
28087
28088Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
28089
28090 * gdb.t00/teststrategy.exp: Remove extra quote.
28091
28092 * gdb.t07/watchpoint.exp: Change xfail for calling function with
28093 watchpoint enabled to be for all non-68k machines.
28094
28095 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
28096
28097Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28098
28099 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
28100 targets use aout.mt instead of ecoff.mt as gas understands
28101 standard aout format.
28102
28103Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
28104
28105 * lib/gdb.exp (runto): Don't insist that function we are running to
28106 was compiled with -g.
28107
28108 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
28109
28110 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
28111 to get back into the read system call.
28112 Accept leading newline in case where we woke it up.
28113
28114Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28115
28116 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
28117 to make the stabs test work on ecoff systems using gcc and -with-stabs.
28118 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
28119 enable ecoff configuration.
28120
28121Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28122
28123 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
28124
28125Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28126
28127 * gdb.t16/printcmds.exp: Add another printf test.
28128
28129Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
28130
28131 * configure.in: If configured -with-stabs on any target, add
28132 stabsdirs to configdirs.
28133
28134Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28135
28136 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
28137 fun" so pattern does not match the command itself.
28138
28139Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28140
28141 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
28142
28143Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28144
28145 * gdb.t17/interrupt.exp: Test for more things.
28146
28147Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28148
28149 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
28150 compiler arranges the code and line numbers.
28151
28152 * gdb.t17/interrupt.exp: Don't send \n after ^C.
28153
28154Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28155
28156 * gdb.t00/help.exp: Increase expect input buffer size.
28157
28158Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28159
28160 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
28161
28162 * gdb.t07/watchpoint.exp: Add xfail for hppa.
28163
28164 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
28165
28166 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
28167 [0-9]*, not just [0-9].
28168
28169Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28170
28171 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
28172
28173 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
28174
28175Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28176
28177 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
28178
28179Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28180
28181 * gdb.t06/signals.c: Add xfails for sun3.
28182
28183 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
28184
28185 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
28186 test_stepping tests.
28187
28188Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28189
28190 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
28191
28192 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
28193
28194 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
28195 rather than actually putting it through cpp twice.
28196
28197 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
28198
28199Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
28200
28201 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
28202 no longer needed.
28203
28204Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28205
28206 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
28207
28208 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
28209 C++ features prints as "struct", make it a pass, not an xfail.
28210
28211Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28212
28213 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
28214 Don't require VA to print as "class" rather than "struct".
28215
28216Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
28217
28218 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
28219
28220Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28221
28222 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
28223
28224Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28225
28226 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
28227 order.
28228
28229Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28230
28231 * gdb.t16/printcmds.exp: Add printf tests.
28232
28233 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
28234
28235 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
28236
28237Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
28238
28239 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
28240 pass counts, to counteract any existing or future setup_xfails.
28241
28242Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28243
28244 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
28245 {BEGIN,END}_COMMON for common block instead of STAB.
28246 * gdb.stabs/wierd.exp: Add xfail for rs6000.
28247
28248 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
28249 intp_var should be N_GSYM not N_LSYM.
28250 wierd-aout.S: Use a label for the value of the N_SO.
28251 wierd.def: Remove all backslashes.
28252 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
28253
28254Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28255
28256 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
28257 get the expected next to inheritance3.
28258
28259Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28260
28261 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
28262 now that gcc-2.4 gets it right.
28263
28264Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28265
28266 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
28267
28268 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
28269 generating comp-info.exp which works for cross-compilation.
28270
28271Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
28272
28273 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
28274 "*-*-sysv4.*".
28275
28276Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
28277
28278 * gdb.t01/run.exp: Start with a fresh gdb.
28279 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
28280 SVR4.x.
28281
28282Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
28283
28284 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
28285 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
28286 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
28287 Makefile.in (distclean, realclean): Remove gdbme.c from list of
28288 things to remove.
28289
28290Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
28291
28292 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
28293 test cases from bug reports.
28294
28295Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
28296
28297 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
28298 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
28299 avoid spurious xfails.
28300 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
28301 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
28302 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
28303
28304Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
28305
28306 * gdb.t00/teststrategy.exp: Rework to provide more useful
28307 description of each test, fix problem with systems that define
28308 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
28309 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
28310 results for "next over recursive call" so timeouts aren't taken
28311 by error.
28312
28313Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
28314
28315 * gdb.t12/scope.exp: Test printing of variables before run.
28316
28317 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
28318 printed in wrong order due to sorting.
28319
28320Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
28321
28322 * gdb.t00/teststrategy.exp: Fix expected results for printing
28323 user entered string constant. Is array of char, prints with no
28324 address.
28325
28326 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
28327 commands.
28328 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
28329 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
28330 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
28331 of struct of char arrays.
28332 * gdb.t00/radix.exp: New tests for radix commands.
28333
28334Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
28335
28336 * gdb.t16/printcmd.exp: Print a variable before running program
28337 (with xfail for AIX).
28338
28339Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
28340
28341 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
28342
28343 * gdb.t16/printcmd.exp: Don't print variables before running program.
28344
28345 * gdb.t06/break.exp: Don't require envp argument to main.
28346
28347 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
28348
28349 * gdb.t02/whatis.exp, gdb.t11/list.exp:
28350 Add xfails for rs6000.
28351
28352 * gdb.t02/whatis.exp: Change other tests not to re-test something
28353 we already tested.
28354
28355 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
28356 each type used has a variable of that type.
28357
28358Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
28359
28360 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
28361
28362Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
28363
28364 * configure.in: change srctrigger to be a file, not a directory
28365
28366Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
28367
28368 * configure.in (mips-idt-ecoff*): Added trailing '*'.
28369
28370 * gdb.t11/list.exp: Fixed a couple of typos.
28371
28372Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
28373
28374 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
28375 is fixed and PR is closed.
28376 * gdb.t16 (gdbme.c): Add simple test string variable.
28377 * gdb.t16 (printcmds.exp): Add tests with simple test string
28378 variable, primarily for boundaries on "set print elements".
28379
28380Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
28381
28382 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
28383 Make leading 0's optional and don't expect a tab in the middle
28384 of the number.
28385
28386 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
28387
28388 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
28389 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
28390 don't end command passed to gdb_test with newline.
28391
28392 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
28393 signed keyword away, don't expect signed bitfields to be signed.
28394
28395 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
28396 printing with only as many 1's as are in the field as well as printing
28397 with 32 1's (see comment).
28398
28399Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
28400
28401 * gdb.t00/default.exp: Start with a fresh gdb.
28402 * configure.in (configdirs): Remove gdb.t31 until the chill
28403 compiler works again. It no longer is able to find chillrt0
28404 since it isn't in libchill.a anymore.
28405 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
28406 wierd.o, make more modular.
28407 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
28408 spurious newlines that caused problems.
28409
28410Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28411
28412 * Move test with enums and partial symbols from gdb.t03/ptype.exp
28413 to gdb.stabs/wierd.exp since GCC has worked around the bug.
28414 gdb.stabs/wierd.{exp,def}: Many new tests.
28415
28416 * gdb.t00/default.exp: update info line for new message.
28417
28418 * gdb.t02/{whatis.exp,gdbme.c}:
28419 Test that "char *" doesn't print as "caddr_t".
28420
28421Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28422
28423 * gdb.t00/help.exp: Use .* in place of some help messages which
28424 just changed.
28425 gdb.t00/default.exp: Update "info frame" test for new message.
28426 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
28427 Remove some xfails
28428
28429Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28430
28431 * gdb.t03/{gdbme.c,ptype.exp}:
28432 Add tests for typedef'd struct and union without tags.
28433 Also check "whatis" on a variable of a typedef'd enum without a tag.
28434
28435 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
28436 PRMS 1823; the bug still exists but isn't reproduced by this test
28437 anymore), and remove rs6000 XFAIL (the bug is fixed).
28438
28439 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
28440 duplicated from whatis.exp. For those that are left, accept
28441 "long", "long int", or "int" for long variables (whatis.exp already
28442 has an XFAIL for "int", so no need to fail it here).
28443
28444 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
28445 Deal with GCC's names for types now that GDB uses the compiler's names.
28446
28447 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
28448 setup_xfail's for sunos4. If we #defined the signed keyword away,
28449 don't expect GDB to know that char it is signed.
28450
28451 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
28452
28453Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
28454
28455 * configure.in (configdirs): Add gdb.t24 for C++ tests that
28456 should work on any system, regardless of debugging format.
28457 * gdb.t21/demangle.exp: Move to gdb.t24.
28458 * gdb.t24/demangle.exp: Move from gdb.t21.
28459 * gdb.t24/{Makefile.in, configure.in}: New files.
28460
28461Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28462
28463 * configure.in: Do gdb.stabs and C++ tests only for stabs.
28464 * gdb.stabs: New directory.
28465
28466Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
28467
28468 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
28469 not just "Quit anyway?".
28470
28471Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
28472
28473 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
28474 that all setup_xfails are immediately followed by clear_xfails.
28475
28476Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
28477
28478 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
28479 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
28480 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
28481 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
28482 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
28483 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
28484 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
28485 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
28486 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
28487 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
28488 gdb.t31/chillvars.exp, lib/gdb.exp:
28489 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
28490 bug-gdb@prep.ai.mit.edu.
28491
28492Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
28493
28494 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
28495 with 0.0, not integer 0.
28496
28497Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
28498
28499 * gdb.t06/break.exp: Update for "Kill the program" message change.
28500
28501Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
28502
28503 * Makefile.in (GDBFLAGS): Set to -nx.
28504 * Makefile.in (site.exp): Use GDBFLAGS.
28505
28506Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
28507
28508 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
28509 Makefiles.
28510 (check): depend on just-check.
28511 (just-check): added so that tests can be run without a noop
28512 build pass.
28513
28514Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
28515
28516 Switch to using configure's configdirs.
28517 * Makefile.in (Makefile): add configure.in dependency.
28518 (SUBDIRS): removed redundant assignment.
28519 * configure.in: switch subdirs assignment to configdirs.
28520 * gdb.t*/configure.in: new files.
28521
28522Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
28523
28524 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
28525 works.
28526
28527Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
28528
28529 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
28530 in explicit rules. Apparently this is not supported by some makes.
28531
28532Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
28533
28534 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
28535
28536Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28537
28538 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
28539 disappeared.
28540
28541Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
28542
28543 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
28544
28545Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
28546
28547 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
28548 watchpoint problem that is now fixed.
28549 * gdb.t30/chexp.exp: Remove setup_xfail for printing
28550 uninitialized convenience variables.
28551 * gdb.t31/chillvars.exp: Fix expected patterns for printing
28552 structures.
28553
28554Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28555
28556 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
28557 which causes expect to get out of sync with gdb on long output
28558 from help set.
28559 * gdb.t09/corefile.exp: Make expected pattern for core file
28560 failing signal and frame output format less sun specific.
28561
28562Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
28563
28564 * gdb.t31/chillvars.exp: Add and remove initial dummy
28565 breakpoint, so that symbol table is forced in.
28566 (Needed at least on Sunos4, though it seems not SVR4.)
28567 * gdb.t31/chillvars.exp: Update for changed output format.
28568
28569Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
28570
a9c64011 28571 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
28572
28573Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
28574
28575 * Makefile.in: Added --srcdir when invoking runtest, removed the
28576 need for a local config file. (optional now)
28577
28578Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
28579
28580 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
28581 failure count used to force early termination. Add some more
28582 expected failures for gnu style demangling.
28583
28584Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28585
28586 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
28587 pmi variable from gdb.t20/gdbme to get optimized away.
28588 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
28589 Check for written corefile upon timeout _and_ eof.
28590
28591Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28592
28593 * config/unix-gdb.exp: Add missing return 0.
28594
28595Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28596
28597 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
28598 test termination.
28599
28600Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
28601
28602 * configure.in (subdirs): Put back gdb.t17 which mysteriously
28603 disappeared.
28604
28605Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
28606
28607 * gdb.t10/crossload.exp: Disable the i860-elf test until such
28608 time as i860 support works.
28609
d63a86f8 28610 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
28611 "backtrace 100\r" rather than just "backtrace\r", to match last
28612 change.
28613
28614Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
28615
28616 * config/udi-gdb.exp (gdb_exit): Remove close command.
28617 (gdb_target_udi): New procedure to set the UDI target.
28618 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
28619 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
28620 Added waits for prompts after several question responses. Added
28621 some more responses used by a29k-amd-udi-gdb.
28622 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
28623 pass different arguments, restart UDI connection after program
28624 completion.
28625 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
28626 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
28627 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
28628 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
28629 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
28630 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
28631 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
28632 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
28633 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
28634 after program completion.
28635 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
28636 compiled with a SELECT_VECS setting.
28637 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
28638 infinite recursion.
28639
28640 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
28641 Added checks for COFF results, and made them expected failures for
28642 all targets. It would be better to make them expected failures
28643 for COFF targets only.
28644
28645Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
28646
28647 * Makefile.in: add null dvi target, don't bother to recurse
28648 through test directories for info and install-info; rename
28649 $(datadir) to be dejagnu instead of deja-gnu
28650
28651Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
28652
28653 * gdb.t31/gdbme.ch: Re-enable code that previously caused
28654 compiler to coredump.
28655 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
28656 code.
28657
28658Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
28659
28660 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
28661 coredump.
28662 * gdb.t31/chillvars.exp: Comment out tests that depend on that
28663 code.
28664
28665Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
28666
28667 * gdb.t03/ptype.exp: tests for return code from gdb_test.
28668 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
28669 which in a shell. Deletes xgdb when done.
28670 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
28671 Tests the return from the "set height" or "set width" commands.
28672 Added a few return codes where needed.
28673
28674Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
28675
28676 * Makefile.in (SUBDIRS): Add gdb.t17.
28677 * configure.in (subdirs): Add gdb.t17.
28678 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
28679 files to test gdb's calling of functions in the inferior with
28680 the correct arguments and gdb's ability to retrieve any
28681 result returned.
28682
28683Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
28684
28685 * config/unix-gdb.exp (gdb_exit): Remove close commands that
28686 may be called after gdb goes away. Previous versions of expect
28687 needed these to avoid file descriptor leaks, but they cause
28688 errors with the current revision of expect.
28689 * gdb.t00/gdbvars.exp: Use -re on expected output after
28690 setting sevenbit-strings.
28691 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
28692 to set sevenbit-strings consistent across tests.
28693 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
28694 set sevenbit-strings consistent across tests.
28695
28696Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
28697
28698 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
28699 expected output to match current "expect" expectations.
28700
28701Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
28702
28703 * gdb.t00/default.exp: Change expected output for default "source"
28704 command, to match new gdb behavior which requires a filename to
28705 source.
28706
28707Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
28708
28709 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
28710 expected fail for i486-*-* that misses the marker2 function.
28711 * gdb.t10/crossload.exp (bfddefault): Allow successful
28712 recognition of a format to pass even if no symbols are found.
28713 Explicitly catch failures where the format is not recognized
28714 or is ambiguous, and add the reason to the fail message.
28715 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
28716 the cause is and invalid target and add reason to failure message.
28717 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
28718 elf32-i386, elf32-sparc, and elf32-i860.
28719 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
28720 Set up expected failure for 'filename'::variable scope resolution,
28721 which is now apparently broken on all targets.
28722 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
28723 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
28724 gdb.t23/templates.exp: Change failure for missing binfile into
28725 just a warning.
28726 gdb.t21/demangle.exp: Change all cfront references to 'arm'
28727 references.
28728
28729Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
28730
28731 * gdb.t00/default.exp: Add expected output for default "source"
28732 command, to match new gdb behavior.
28733 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
28734
28735Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
28736
28737 * config/*-gdb.exp: returns an error, rather than exiting on
28738 internal errors.
28739
28740Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
28741
28742 * gdb.t03/gdbme.c: Add pointer to struct variable.
28743 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
28744 referencing struct members.
28745
28746Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
28747
28748 * configure.in (mips-idt-ecoff): New target.
28749 * config/mips-gdb.exp: New file for remote board using MIPS remote
28750 debugging protocol.
28751
28752 * Redid configuration scheme. Removed gdb.t*/configure.in.
28753 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
28754 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
28755 distclean targets. Built executables via .o files. Adjusted
28756 tests to account for source files in $(srcdir) rather than
28757 $(objdir).
28758 * lib/gdb.exp (runto): Don't expect () after the function name,
28759 because it may have arguments.
28760
28761Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
28762
28763 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
28764 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
28765 expected failures for mips-idt-* and mips-sgi-*.
28766 * gdb.t00/default.exp (attach): Kill process if requested.
28767 * gdb.t00/help.exp (help target core, help target): Accept a gdb
28768 that does not read core files.
28769 * gdb.t01/run.exp: Removed checks for exit status code.
28770 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
28771 it is linked in.
28772 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
28773 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
28774 appropriate, rather than doing it by hand.
28775 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
28776 execution.
28777 * gdb.t10/crossload.exp: Kill existing program if needed.
28778 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
28779 appropriate, rather than doing it by hand. Always increase
28780 timeout for this test, not just for VxWorks.
28781
28782Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
28783
28784 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
28785 of Chill STRUCT types and STRUCT values.
28786 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
28787 than "char".
28788 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 28789 struct2): New struct definitions and initializations to test
c906108c
SS
28790 simple Chill STRUCT types.
28791
28792Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
28793
28794 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
28795 the null byte at the end of strings.
28796 * gdb.t00/default.exp: Make show version insensitive to copyright
28797 date.
28798 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
28799 to avoid dependencies on target char signedness.
28800 * gdb.t16/printcmds.exp: Update expected results for explicitly
28801 unsigned char.
28802 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
28803 now work.
28804 * gdb.t21/demangle.exp: Add many more patterns for template
28805 demangling, most of them being expected failures.
28806 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
28807 string we are matching for, to match on the whole string.
28808 * gdb.t21/demangle.exp: Add many new test strings to demangle,
28809 and fix a whole bunch that had incorrect expected output but were
28810 passing anyway because of the bug in "proc demangle".
28811 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
28812 type.
28813 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
28814
28815Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
28816
a9c64011
AS
28817 * gdb/testsuite: made modifications to testcases, etc., to allow
28818 them to work properly given the reorganization of deja-gnu and the
28819 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
28820
28821Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
28822
28823 * gdb/testsuite: Initial creation of gdb/testsuite.
28824 Migrated dejagnu testcases and support files for testing nm to
28825 gdb/testsuite from deja-gnu. These files were moved "as is"
28826 with no modifications. This migration is part of a major overhaul
28827 of dejagnu. The modifications to these testcases, etc., which
28828 will allow them to work with the new version of dejagnu will be
28829 made in a future update.
48efe704 28830
8d8cb839 28831 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 28832\f
8d8cb839
EZ
28833;; Local Variables:
28834;; mode: change-log
28835;; left-margin: 8
28836;; fill-column: 74
28837;; version-control: never
28838;; End:
902f2ccb 28839
0b302171 28840 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
902f2ccb
MC
28841 Copying and distribution of this file, with or without modification,
28842 are permitted provided the copyright notice and this notice are preserved.
This page took 2.897425 seconds and 4 git commands to generate.