]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
2010-06-25 Tristan Gingold <gingold@adacore.com>
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
f2c7657e
UW
12010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2
3 * gdb.cell/dwarfaddr.exp: New file.
4 * gdb.cell/dwarfaddr.S: New file.
5
628fe4e4
JK
62010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7
8 Test PR 9436.
9 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
10
f1421989
HZ
112010-06-24 Hui Zhu <teawater@gmail.com>
12
13 * gdb.base/eval.exp: New file.
14
d03285ec
UW
152010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16
17 * gdb.cell/fork.exp: New file.
18 * gdb.cell/fork.c: Likewise.
19 * gdb.cell/fork-spu.c: Likewise.
20
41b2c92d
PM
212010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
22
23 * lib/gdb.exp (banned_variables_traced): New global variable.
24 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
25 (gdb_init): Use `trace add variable' instead of obsolete
26 `trace variable'.
27
d5bc977f
DE
282010-06-21 Doug Evans <dje@google.com>
29
30 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
31
d2ed6730
UW
322010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
33
34 * gdb.arch/spu-ls.exp: New file.
35 * gdb.arch/spu-ls.c: Likewise.
36
6aed2dbc
SS
372010-06-18 Stan Shebs <stan@codesourcery.com>
38
39 * gdb.threads/thread-specific.exp: Add tests of $_thread.
40
e0756905
UW
412010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
42
43 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
44 * gdb.base/watch-cond.exp: Likewise.
45 * gdb.python/py-breakpoint.exp: Likewise.
46
d8053d4d
PA
472010-06-18 Pedro Alves <pedro@codesourcery.com>
48
49 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
50 clean_restart, make sure every test has a distinct message, and
51 that messages don't include the executable' full path.
52
81ce510c
DE
532010-06-17 Doug Evans <dje@google.com>
54
55 * gdb.arch/i386-size.exp: Updated expected output for
56 DISASSEMBLY_OMIT_FNAME.
57
65d79d4b
SDJ
582010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
59 Sergio Durigan Junior <sergiodj@redhat.com>
60
61 * gdb.base/watch-notconst.c: New file.
62 * gdb.base/watch-notconst.S: New file.
63 * gdb.base/watch-notconst2.c: New file.
64 * gdb.base/watch-notconst2.S: New file.
65 * gdb.base/watch-notconst.exp: New file.
66 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
67 (func4): Add operations on `global_ptr_ptr'.
68 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
69 routine to test watchpoints created with a constant expression.
70 (test_inaccessible_watchpoint): Include tests for watchpoints
71 created with a constant expression.
72
df0f4836
KB
732010-06-14 Kevin Buettner <kevinb@redhat.com>
74
75 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
76 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
77 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
78 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
79 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
80 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
81 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
82 of `_start'.
83
b769def5
UW
842010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
85
86 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
87 not supported on the target.
88 * gdb.mi/mi-nonstop-exit.exp: Likewise.
89 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
90 * gdb.mi/mi-nsintrall.exp: Likewise.
91 * gdb.mi/mi-nsmoribund.exp: Likewise.
92 * gdb.mi/mi-nsthrexec.exp: Likewise.
93
d914c394
SS
942010-06-11 Stan Shebs <stan@codesourcery.com>
95
96 * gdb.base/permissions.exp: New file.
97
982010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
99
100 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
101 does not support ELF executable class.
102
f3ce5b9c
UW
1032010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
104
105 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
106
8e46892c
JK
1072010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
108
109 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
110 (runto): Catch "The target does not support running in non-stop mode.".
111
6cc55c64
MS
1122010-06-11 Michael Snyder <msnyder@vmware.com>
113
114 * gdb.base/setshow.exp (set language asm): Don't use
115 gdb_test_no_output, fails on some targets.
116
caddefa4
UW
1172010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
118
119 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
120 * gdb.cp/pr9167.exp: Likewise.
121
468b1aa7
UW
1222010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
123
124 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
125
5c3552dc
UW
1262010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
127
128 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
129
02e6fe6a
UW
1302010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
131
132 * gdb.base/charset.c (main): Make sure malloc gets linked in.
133
0e03807e
TT
1342010-06-11 Tom Tromey <tromey@redhat.com>
135
136 PR gdb/9977, PR exp/11636::
137 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
138 (pieces_test_f6): Update expected output.
139
2bdf28a0
JK
1402010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
141
142 * gdb.base/moribund-step.exp: New.
143
f6978de9
MS
1442010-06-08 Michael Snyder <msnyder@vmware.com>
145
146 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
147 * gdb.ada/boolean_expr.exp:
148 * gdb.ada/frame_args.exp: Ditto.
149 * gdb.ada/lang_switch.exp: Ditto.
150 * gdb.ada/ptype_arith_binop.exp: Ditto.
151 * gdb.ada/ref_param.exp: Ditto.
152 * gdb.ada/type_coercion.exp:Ditto.
153
154 * gdb.asm/asm-source.exp: Ditto.
155
156 * gdb.base/attach.exp: Ditto.
157 * gdb.base/bitfields2.exp: Ditto.
158 * gdb.base/call-signal-resume.exp: Ditto.
159 * gdb.base/callfuncs.exp: Ditto.
160 * gdb.base/commands.exp: Ditto.
161 * gdb.base/dbx.exp: Ditto.
162 * gdb.base/default.exp: Ditto.
163 * gdb.base/dump.exp: Ditto.
164 * gdb.base/exprs.exp: Ditto.
165 * gdb.base/freebpcmd.exp: Ditto.
166 * gdb.base/interrupt.exp: Ditto.
167 * gdb.base/list.exp: Ditto.
168 * gdb.base/long_long.exp: Ditto.
169 * gdb.base/maint.exp: Ditto.
170 * gdb.base/ptype.exp: Ditto.
171 * gdb.base/return.exp: Ditto.
172 * gdb.base/setshow.exp: Ditto.
173 * gdb.base/sigbpt.exp: Ditto.
174 * gdb.base/sigrepeat.exp: Ditto.
175
176 * gdb.cp/classes.exp: Ditto.
177
178 * gdb.dwarf2/dw2-restore.exp: Ditto.
179
180 * gdb.gdb/selftest.exp: Ditto.
181
182 * gdb.multi/base.exp: Ditto.
183 * gdb.multi/bkpt-multi-exec.exp: Ditto.
184
185 * gdb.python/py-block.exp: Ditto.
186 * gdb.python/py-prettyprint.exp: Ditto.
187 * gdb.python/py-template.exp: Ditto.
188
189 * gdb.server/ext-attach.exp: Ditto.
190 * gdb.server/ext-run.exp: Ditto.
191 * gdb.server/server-mon.exp: Ditto.
192
193 * gdb.threads/fork-thread-pending.exp: Ditto.
194 * gdb.threads/hand-call-in-threads.exp: Ditto.
195 * gdb.threads/interrupted-hand-call.exp: Ditto.
196 * gdb.threads/linux-dp.exp: Ditto.
197 * gdb.threads/manythreads.exp: Ditto.
198 * gdb.threads/print-threads.exp: Ditto.
199 * gdb.threads/pthreads.exp: Ditto.
200 * gdb.threads/schedlock.exp: Ditto.
201 * gdb.threads/thread-unwindonsignal.exp: Ditto.
202 * gdb.threads/threadapply.exp: Ditto.
203
de7ff789
MS
2042010-06-08 Michael Snyder <msnyder@vmware.com>
205
206 * gdb.ada/exec_changed.exp:
207 Use ".*" instead of "" as wildcard regexp.
208
209 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
210 * gdb.base/call-ar-st.exp: Ditto.
211 * gdb.base/checkpoint.exp: Ditto.
212 * gdb.base/default.exp: Ditto.
213 * gdb.base/dump.exp: Ditto.
214 * gdb.base/ending-run.exp: Ditto.
215 * gdb.base/fileio.exp: Ditto.
216 * gdb.base/miscexprs.exp: Ditto.
217 * gdb.base/pointers.exp: Ditto.
218 * gdb.base/readline.exp: Ditto.
219 * gdb.base/reread.exp: Ditto.
220 * gdb.base/restore.exp: Ditto.
221 * gdb.base/shlib-call.exp: Ditto.
222 * gdb.base/valgrind-db-attach.exp: Ditto.
223 * gdb.base/volatile.exp: Ditto.
224 * gdb.base/watchpoints.exp: Ditto.
225
226 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
227
228 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
229 * gdb.python/py-value.exp: Ditto.
230
231 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
232 * gdb.trace/circ.exp: Ditto.
233 * gdb.trace/collection.exp: Ditto.
234 * gdb.trace/packetlen.exp: Ditto.
235 * gdb.trace/passc-dyn.exp: Ditto.
236 * gdb.trace/report.exp: Ditto.
237 * gdb.trace/tfile.exp: Ditto.
238 * gdb.trace/tfind.exp: Ditto.
239 * gdb.trace/while-dyn.exp: Ditto.
240
3bebe2f2
JK
2412010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
242
243 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
244
5c631832
JK
2452010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
246
247 Test PR 10640.
248 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
249
4c3376c8
SW
2502010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
251
252 * gdb.cp/koenig.exp: Test for ADL operators.
253 * gdb.cp/koenig.cc: Added ADL operators.
254 * gdb.cp/operator.exp: New test.
255 * gdb.cp/operator.cc: New test.
256
dc226d5a
MS
2572010-06-04 Michael Snyder <msnyder@vmware.com>
258
dfb88a23
MS
259 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
260 * gdb.base/pending.exp: Ditto.
f7ae76b3 261
dc226d5a
MS
262 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
263
967cf477
DE
2642010-06-04 Doug Evans <dje@google.com>
265
266 * gdb.python/py-prettyprint.exp: Add new test for enabled and
267 disabled printers.
268 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
269 (enable_lookup_function): New function.
270
eb801841
TT
2712010-06-04 Tom Tromey <tromey@redhat.com>
272
273 * gdb.python/py-value.exp (test_value_hash): Don't test equality
274 of hash and id.
275
38979823
JK
2762010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
277
278 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
279 newline.
280 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
281 (empty verbose non-noisy clear, empty verbose noisy clear)
282 (empty non-verbose noisy clear): Likewise.
283
35ec993f
MS
2842010-06-03 Michael Snyder <msnyder@vmware.com>
285
286 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
287 * gdb.base/display.exp: Ditto.
288 * gdb.base/find.exp: Ditto.
289 * gdb.base/ifelse.exp: Ditto.
290 * gdb.base/multi-forks.exp: Ditto.
291 * gdb.base/recurse.exp: Ditto.
292 * gdb.base/setshow.exp: Ditto.
293 * gdb.base/value-double-free.exp: Ditto.
294 * gdb.base/watch-vfork.exp: Ditto.
295 * gdb.base/watch_thread_num.exp: Ditto.
296 * gdb.base/watchpoint-solib.exp: Ditto.
297 * gdb.base/watchpoint.exp: Ditto.
298 * gdb.base/watchpoints.exp: Ditto.
299
300 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
301 * gdb.cp/overload.exp: Ditto.
302 * gdb.cp/virtfunc.exp: Ditto.
303
304 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
305
306 * gdb.reverse/watch-precsave.exp:
307 Replace gdb_test with gdb_test_no_output.
308
309 * gdb.threads/attach-into-signal.exp:
310 Replace gdb_test with gdb_test_no_output.
311 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
312 * gdb.threads/watchthreads.exp: Ditto.
313 * gdb.threads/watchthreads2.exp: Ditto.
314
315 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
316 * gdb.trace/tfind.exp: Ditto.
317
c22decce
JB
3182010-06-03 Joel Brobecker <brobecker@adacore.com>
319
320 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
321 successful test if message is the empty string.
322
fd5700c7
JK
3232010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
324
325 * gdb.fortran/module.exp (stopped language detection): New test.
326
f55ee35c
JK
3272010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
328
329 Support DW_TAG_module as separate namespaces.
330 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
331 gdb.fortran/library-module-lib.f90: New.
332 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
333 (print i): Remove.
334 (continue to breakpoint: i-is-1, print var_i value 1)
335 (continue to breakpoint: i-is-2, print var_i value 2)
336 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
337 (print var_d, print var_i value 14, ptype modmany, complete `modm)
338 (complete `modmany, complete `modmany`, complete `modmany`var)
339 (show language, setting breakpoint at module): New tests.
340 * gdb.fortran/module.f90 (module mod): Remove.
341 (module mod1, module mod2, module modmany, subroutine sub1)
342 (subroutine sub2, program module): New.
343
b8e8282f
JK
3442010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
345
346 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
347 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
348 * gdb.cp/anon-union.exp (pass): Rename to ...
349 (print z 2): ... here.
b8e8282f 350
019ebafc
MS
3512010-06-02 Michael Snyder <msnyder@vmware.com>
352
e68d8fd4
MS
353 * gdb.trace/actions.exp: Use gdb_test_no_output.
354 * gdb.trace/circ.exp: Ditto.
355 * gdb.trace/packetlen.exp: Ditto.
356 * gdb.trace/save-trace.exp: Ditto.
357 * gdb.trace/tracecmd.exp: Ditto.
358 * gdb.trace/tsv.exp: Ditto.
359
12b5d08a
MS
360 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
361 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
362 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
363 * gdb.threads/manythreads.exp: Ditto.
364 * gdb.threads/print-threads.exp: Ditto.
365 * gdb.threads/pthreads.exp: Ditto.
366 * gdb.threads/schedlock.exp: Ditto.
367 * gdb.threads/staticthreads.exp: Ditto.
368 * gdb.threads/thread-specific.exp: Ditto.
369 * gdb.threads/thread-unwindonsignal.exp: Ditto.
370 * gdb.threads/threadapply.exp: Ditto.
371 * gdb.threads/watchthreads.exp: Ditto.
372 * gdb.threads/watchthreads2.exp: Ditto.
373
89493308
MS
374 * gdb.python/py-block.exp: Use gdb_test_no_output.
375 * gdb.python/py-prettyprint.exp: Ditto.
376 * gdb.python/py-template.exp: Ditto.
377 * gdb.python/py-value.exp: Ditto.
378
379 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
380 * gdb.reverse/watch-reverse.exp: Ditto.
381
382 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
383 * gdb.server/ext-run.exp: Ditto.
384
019ebafc
MS
385 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
386 * gdb.dwarf2/dw2-compressed.exp: Ditto.
387 * gdb.dwarf2/dw2-intercu.exp: Ditto.
388 * gdb.dwarf2/dw2-intermix.exp: Ditto.
389 * gdb.dwarf2/dw2-producer.exp: Ditto.
390 * gdb.dwarf2/mac-fileno.exp: Ditto.
391
392 * gdb.gdb/observer.exp: Use gdb_test_no_output.
393 * gdb.gdb/selftest.exp: Ditto.
394
395 * gdb.multi/base.exp: Use gdb_test_no_output.
396
397 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
398
3e0ca3a5
JK
3992010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
400
401 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
402
9db70545
MS
4032010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
404
a8d52276
MS
405 * gdb.cp/class2.exp: Use gdb_test_no_output.
406 * gdb.cp/classes.exp: Ditto.
407 * gdb.cp/extern-c.exp: Ditto.
408 * gdb.cp/inherit.exp: Ditto.
409 * gdb.cp/maint.exp: Ditto.
410 * gdb.cp/mb-inline.exp: Ditto.
411 * gdb.cp/mb-templates.exp: Ditto.
412 * gdb.cp/method2.exp: Ditto.
413 * gdb.cp/misc.exp: Ditto.
414 * gdb.cp/ovldbreak.exp: Ditto.
415 * gdb.cp/punctuator.exp: Ditto.
416 * gdb.cp/templates.exp: Ditto.
417 * gdb.cp/virtbase.exp: Ditto.
418
9db70545
MS
419 * gdb.threads/attach-stopped.exp:
420 Replace uses of send_gdb / gdb_expect.
421 * gdb.threads/attachstop-mt.exp:
422 Replace uses of send_gdb / gdb_expect.
423 * gdb.threads/gcore-thread.exp:
424 Replace uses of send_gdb / gdb_expect.
425 * gdb.threads/hand-call-in-threads.exp:
426 Replace uses of send_gdb / gdb_expect.
427 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
428 * gdb.threads/print-threads.exp:
429 Replace uses of send_gdb / gdb_expect.
430 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
431 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
432 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
433
434 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
435 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
436 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
437 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
438 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
439 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
440 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
441 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
442 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
443 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
444 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
445
359cc68c
JK
4462010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
447
448 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
449
7d3fe98e
SW
4502010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
451
452 * gdb.cp/koenig.exp: Added new test case.
453 * gdb.cp/koenig.cc: Ditto.
454
27d3a1a2
MS
4552010-06-01 Michael Snyder <msnyder@vmware.com>
456
457 * gdb.base/arithmet.exp: Use gdb_test_no_output.
458 * gdb.base/arrayidx.exp: Ditto.
459 * gdb.base/attach.exp: Ditto.
460 * gdb.base/auxv.exp: Ditto.
461 * gdb.base/bigcre.exp: Ditto.
462 * gdb.base/break-always.exp: Ditto.
463 * gdb.base/break-interp.exp: Ditto.
464 * gdb.base/break.exp: Ditto.
465 * gdb.base/breakpoint-shadow.exp: Ditto.
466 * gdb.base/call-ar-st.exp: Ditto.
467 * gdb.base/call-sc.exp: Ditto.
468 * gdb.base/call-signal-resume.exp: Ditto.
469 * gdb.base/callfuncs.exp: Ditto.
470 * gdb.base/catch-syscall.exp: Ditto.
471 * gdb.base/charset.exp: Ditto.
472 * gdb.base/code-expr.exp: Ditto.
473 * gdb.base/commands.exp: Ditto.
474 * gdb.base/cond-expr.exp: Ditto.
475 * gdb.base/condbreak.exp: Ditto.
476 * gdb.base/cursal.exp: Ditto.
477 * gdb.base/cvexpr.exp: Ditto.
478 * gdb.base/default.exp: Ditto.
479 * gdb.base/del.exp: Ditto.
480 * gdb.base/detach.exp: Ditto.
481 * gdb.base/display.exp: Ditto.
482 * gdb.base/ena-dis-br.exp: Ditto.
483 * gdb.base/eval-skip.exp: Ditto.
484 * gdb.base/foll-fork.exp: Ditto.
485 * gdb.base/foll-vfork.exp: Ditto.
486 * gdb.base/frame-args.exp: Ditto.
487 * gdb.base/funcargs.exp: Ditto.
488 * gdb.base/gcore-buffer-overflow.exp: Ditto.
489 * gdb.base/gdbvars.exp: Ditto.
490 * gdb.base/help.exp: Ditto.
491 * gdb.base/ifelse.exp: Ditto.
492 * gdb.base/included.exp: Ditto.
493 * gdb.base/list.exp: Ditto.
494 * gdb.base/macscp.exp: Ditto.
495 * gdb.base/maint.exp: Ditto.
496 * gdb.base/multi-fork.exp: Ditto.
497 * gdb.base/overlays.exp: Ditto.
498 * gdb.base/page.exp: Ditto.
499 * gdb.base/pending.exp: Ditto.
500 * gdb.base/pointers.exp: Ditto.
501 * gdb.base/pr11022.exp: Ditto.
502 * gdb.base/prelink.exp: Ditto.
503 * gdb.base/printcmds.exp: Ditto.
504 * gdb.base/psymtab.exp: Ditto.
505 * gdb.base/randomize.exp: Ditto.
506 * gdb.base/relational.exp: Ditto.
507 * gdb.base/relocate.exp: Ditto.
508 * gdb.base/remote.exp: Ditto.
509 * gdb.base/sepdebug.exp: Ditto.
510 * gdb.base/set-lang-auto.exp: Ditto.
511 * gdb.base/setshow.exp: Ditto.
512 * gdb.base/setvar.exp: Ditto.
513 * gdb.base/signals.exp: Ditto.
514 * gdb.base/signull.exp: Ditto.
515 * gdb.base/sigstep.exp: Ditto.
516 * gdb.base/sizeof.exp: Ditto.
517 * gdb.base/solib-disc.exp: Ditto.
518 * gdb.base/store.exp: Ditto.
519 * gdb.base/structs.exp: Ditto.
520 * gdb.base/structs2.exp: Ditto.
521 * gdb.base/subst.exp: Ditto.
522 * gdb.base/term.exp: Ditto.
523 * gdb.base/trace-commands.exp: Ditto.
524 * gdb.base/unwindonsignal.exp: Ditto.
525 * gdb.base/valgrind-db-attach.exp: Ditto.
526 * gdb.base/varargs.exp: Ditto.
527 * gdb.base/watch-cond.exp: Ditto.
528 * gdb.base/watch_thread_num.exp: Ditto.
529 * gdb.base/watchpoint-cond-gone.exp: Ditto.
530 * gdb.base/watchpoint.exp: Ditto.
531 * gdb.base/whatis-exp.exp: Ditto.
532
f8d3bf8f
MS
5332010-06-01 Michael Snyder <msnyder@vmware.com>
534
535 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
536 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
537 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
538 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
539 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
540 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
541 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
542 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
543 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
544 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
545 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
546 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
547 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
548 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
549 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
550
3f9e0d32
JK
5512010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
552
553 * gdb.base/commands.exp (begin commands on watch): Remove excessive
554 trailing newline.
555 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
556 * gdb.java/jmisc.exp (p *args\n): Rename to ...
557 (p *args): ... here and remove excessive trailing newline.
558
f629457d
JB
5592010-05-31 Joel Brobecker <brobecker@adacore.com>
560
561 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
562
09eef106
JK
5632010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
564
565 Accept the new Linux kernel "t (tracing stop)" string.
566 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
567 Update comment.
568 (state_wait) <T (tracing stop)>: New.
569 (main): Update the state_wait expect string.
570
94f31136
PA
5712010-05-28 Pedro Alves <pedro@codesourcery.com>
572
573 * limits.c, limits.exp: Delete files.
574 * Makefile.in (clean mostlyclean): Adjust.
575 * tracecmd.exp: Adjust.
576
096554ab
JK
5772010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
578
579 * gdb.base/tui-layout.exp: New.
580
27d3a1a2 5812010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50
MS
582
583 * gdb.reverse/break-precsave.exp:
584 Replace uses of send_gdb / gdb_expect.
585 * gdb.reverse/break-reverse.exp:
586 Replace uses of send_gdb / gdb_expect.
587 * gdb.reverse/consecutive-precsave.exp:
588 Replace uses of send_gdb / gdb_expect.
589 * gdb.reverse/consecutive-reverse.exp:
590 Replace uses of send_gdb / gdb_expect.
591 * gdb.reverse/finish-precsave.exp:
592 Replace uses of send_gdb / gdb_expect.
593 * gdb.reverse/finish-reverse.exp:
594 Replace uses of send_gdb / gdb_expect.
595 * gdb.reverse/i386-precsave.exp:
596 Replace uses of send_gdb / gdb_expect.
597 * gdb.reverse/i386-reverse.exp:
598 Replace uses of send_gdb / gdb_expect.
599 * gdb.reverse/i386-sse-reverse.exp:
600 Replace uses of send_gdb / gdb_expect.
601 * gdb.reverse/i387-env-reverse.exp:
602 Replace uses of send_gdb / gdb_expect.
603 * gdb.reverse/i387-stack-reverse.exp:
604 Replace uses of send_gdb / gdb_expect.
605 * gdb.reverse/machinestate-precsave.exp:
606 Replace uses of send_gdb / gdb_expect.
607 * gdb.reverse/machinestate.exp:
608 Replace uses of send_gdb / gdb_expect.
609 * gdb.reverse/sigall-precsave.exp:
610 Replace uses of send_gdb / gdb_expect.
611 * gdb.reverse/sigall-reverse.exp:
612 Replace uses of send_gdb / gdb_expect.
613 * gdb.reverse/solib-precsave.exp:
614 Replace uses of send_gdb / gdb_expect.
615 * gdb.reverse/solib-reverse.exp:
616 Replace uses of send_gdb / gdb_expect.
617 * gdb.reverse/step-precsave.exp:
618 Replace uses of send_gdb / gdb_expect.
619 * gdb.reverse/step-reverse.exp:
620 Replace uses of send_gdb / gdb_expect.
621 * gdb.reverse/until-precsave.exp:
622 Replace uses of send_gdb / gdb_expect.
623 * gdb.reverse/until-reverse.exp:
624 Replace uses of send_gdb / gdb_expect.
625 * gdb.reverse/watch-precsave.exp:
626 Replace uses of send_gdb / gdb_expect.
627 * gdb.reverse/watch-reverse.exp:
628 Replace uses of send_gdb / gdb_expect.
629
3def43e0
JK
6302010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
631
632 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
633 excessive newline.
634
27d3a1a2 6352010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
636
637 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
638 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
639 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
640 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
641 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
642 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
643 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
644 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
645 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
646 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
647 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
648 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
649 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
650 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
651 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
652 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
653 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
654 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
655 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 656
27d3a1a2 6572010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 658
22454424
MS
659 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
660 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
661
662 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
663 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
664 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
665
666 * gdb.reverse/consecutive-reverse.exp:
667 Replace uses of send_gdb / gdb_expect.
668 * gdb.reverse/consecutive-precsave.exp:
669 Replace uses of send_gdb / gdb_expect.
670
671 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
672 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
673 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
674 * gdb.mi/mi-ns-stale-regcache.exp:
675 Replace uses of send_gdb / gdb_expect.
676 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
677 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
678 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
679 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
680 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
681 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
682 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
683 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
684 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
685
6862010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 687
22454424 688 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 689
22454424 690 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 691
22454424
MS
692 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
693 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
694 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
695 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
696 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
697 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
698 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
699 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
700 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 701
6e5f2c59
TT
7022010-05-25 Tom Tromey <tromey@redhat.com>
703
704 * gdb.base/macscp.exp: Add missing space after setup_kfail.
705
bbc8b958
TT
7062010-05-25 Tom Tromey <tromey@redhat.com>
707
708 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
709 argument order.
710 * gdb.base/macscp.exp: Fix setup_kfail argument order.
711 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
712 order.
713 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
714 order.
715 * gdb.base/call-sc.exp (setup_kfails): Remove.
716 (setup_compiler_kfails): Remove.
717 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
718 argument order.
719 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
720 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
721 (advancei): Fix setup_kfail argument order.
722 * gdb.base/radix.exp: Fix setup_kfail argument order.
723 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
724 order.
725 * gdb.base/structs.exp (setup_kfails): Remove.
726 (setup_compiler_kfails): Fix setup_kfail argument order.
727 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
728 order.
729 * gdb.java/jmain.exp: Fix setup_kfail argument order.
730 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
731 setup_kfail argument order.
732 * gdb.cp/overload.exp: Fix setup_kfail argument order.
733
83d1babf
TT
7342010-05-25 Tom Tromey <tromey@redhat.com>
735
736 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
737
6acb16a2
MS
7382010-05-25 Michael Snyder <msnyder@vmware.com>
739
740 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
741 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
742 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
743 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
744 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
745 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
746 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
747 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
748 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
749 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
750 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
751 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
752 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
753 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
754 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
755 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
756 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
757 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
758 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
759 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
760 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
761 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
762 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
763 * gdb.base/default.exp: Replace send_gdb with gdb_test.
764 * gdb.base/define.exp: Replace send_gdb with gdb_test.
765 * gdb.base/display.exp: Replace send_gdb with gdb_test.
766 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
767 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
768 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
769 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
770 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
771 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
772 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
773 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
774 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
775 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
776 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
777 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
778 * gdb.base/help.exp: Replace send_gdb with gdb_test.
779 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
780 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
781 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
782 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
783 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
784 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
785 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
786 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 787 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
788
7892010-05-25 Doug Evans <dje@google.com>
790
791 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
792 gdb.string_to_argv.
ad3986f0 793
d3b1e874
TT
7942010-05-21 Tom Tromey <tromey@redhat.com>
795
796 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
797 Call it.
798 * gdb.dwarf2/pieces.S: Update.
799 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
800
cb826367
TT
8012010-05-21 Tom Tromey <tromey@redhat.com>
802
803 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
804 Call it.
805 * gdb.dwarf2/pieces.c (struct C): New.
806 (f6): New function.
807 * gdb.dwarf2/pieces.S: Replace.
808
74de6778
TT
8092010-05-21 Tom Tromey <tromey@redhat.com>
810
811 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
812 Call it.
813
afd74c5f
TT
8142010-05-21 Tom Tromey <tromey@redhat.com>
815
816 * gdb.dwarf2.pieces.exp: New file.
817 * gdb.dwarf2.pieces.S: New file.
818 * gdb.dwarf2.pieces.c: New file.
819
a7b75dfd
JB
8202010-05-20 Pedro Alves <pedro@codesourcery.com>
821 Joel Brobecker <brobecker@adacore.com>
822
823 * lib/gdb.exp (gdb_test_no_output): New function.
824 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
825 when testing commands that should produce no output.
826
c81c812a
JB
8272010-05-17 Joel Brobecker <brobecker@adacore.com>
828
829 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
830 parameter that we want to watch being a constant.
831
0cce5bd9
JB
8322010-05-17 Joel Brobecker <brobecker@adacore.com>
833
834 * gdb.ada/cond_lang: New testcase.
835
47050449
JB
8362010-05-17 Joel Brobecker <brobecker@adacore.com>
837
838 * lib/gdb.exp (banned_variables): New variable/constant.
839 (gdb_init): Add write trace on variables listed in banned_variables.
840 (gdb_finish): Remove write traces on variables listed in
841 banned_variables.
842
77c01586
JB
8432010-05-17 Joel Brobecker <brobecker@adacore.com>
844
845 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
846 * gdb.cp/koenig.exp: Likewise.
847
88d4aea7
PM
8482010-05-14 Phil Muldoon <pmuldoon@redhat.com>
849
850 PR python/11482
851
852 * gdb.python/py-value.exp (test_value_hash): New function.
853
f5a010c0
PM
8542010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
855
856 PR exp/11530.
857 * gdb.base/gdb11530.c: New file.
858 * gdb.base/gdb11530.exp: New file.
859
8ef4892f
JK
8602010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
861
862 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
863 * gdb.dwarf2/dw2-modula2-self-type.S: New.
864
7322dca9
SW
8652010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
866
867 * gdb.cp/koenig.exp: New test.
868 * gdb.cp/koenig.cc: New test program.
869
02e7ea18
JB
8702010-05-05 Joel Brobecker <brobecker@adacore.com>
871
872 Remove the use of prms_id and bug_id throughout the testsuite.
873
e1c34c5d
PM
8742010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
875
876 PR exp/11349.
877 * testsuite/gdb.cp/ref-types.exp: Add test to examine
878 use a reference local variable.
879
8e1d0c49
JK
8802010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
881
882 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
883 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
884 variable different_dir. Move debugfile into a full directory pathname
885 under DIFFERENT_DIR.
886 * lib/gdb.exp (separate_debug_filename): Remove.
887 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
888 variable debug_dir and mkdir of it. Update function comments.
889
e66408ed
PA
8902010-04-29 Pedro Alves <pedro@codesourcery.com>
891
892 PR gdb/11557
893
894 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
895 files.
896
d7b32ed3
PM
8972010-04-29 Phil Muldoon <pmuldoon@redhat.com>
898
899 * gdb.python/py-param.exp: New File.
900
6aecb9c2
JB
9012010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
902
903 * gdb.base/default.exp: Fix "set language" test.
904
bdf92a1c
PM
9052010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
906
907 PR breakpoints/11531.
908 * gdb.base/gdb11531.c: New file.
909 * gdb.base/gdb11531.exp: New file.
910
3f172e24
TT
9112010-04-26 Tom Tromey <tromey@redhat.com>
912
913 * gdb.base/completion.exp: Add tests for completion and deprecated
914 commands.
915
64af4c92
JK
9162010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
917
918 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
919 (print /x char_array): Escape curly brackets.
920
492928e4
JK
9212010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
922
923 Fix deadlock on looped list of loaded shared objects.
924 * gdb.base/solib-corrupted.exp: New.
925
66d09542
DE
9262010-04-23 Doug Evans <dje@google.com>
927
928 * gdb.python/py-section-script.c: New file.
929 * gdb.python/py-section-script.exp: New file.
930 * gdb.python/py-section-script.py: New file.
931
8bd10a10
CM
9322010-04-20 Chris Moller <cmoller@redhat.com>
933
934 PR 10179
935
936 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
937 * gdb.base/pr10179-a.c:
938 * gdb.base/pr10179-b.c:
939 * gdb.base/pr10179.exp: New files.
940
c0201579
JK
9412010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
942
943 Fix crashes on dangling display expressions.
944 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
945 is SEP.
946 (lib_flags): Remove the "debug" keyword.
947 (libsepdebug): New variable for iterating new loop.
948 (save_pf_prefix): New variable wrapping the loop.
949 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
950 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
951
793b0ff8
PM
9522010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
953
954 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
955
097f51f7
PM
9562010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
957
958 PR stabs/11479.
959 * gdb.stabs/gdb11479.exp: New file.
960 * gdb.stabs/gdb11479.c: New file.
961
9a22f0d0
PM
9622010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
963
964 * gdb.base/charset.c (Strin16, String32): New variables.
965 * gdb.base/charset.exp (gdb_test): Test correct display
966 of 16 or 32 bit strings.
967
9682010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
969
970 PR 9167
971 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
972 * gdb.cp/pr9167.cc: New file.
973 * gdb.cp/pr9167.exp: New file.
974
975
6e354e5e
PM
9762010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
977
978 PR pascal/11492.
979 * gdb.pascal/gdb11492.pas: New file.
980 * gdb.pascal/gdb11492.exp: New file.
981
be942545
JB
9822010-04-20 Joel Brobecker <brobecker@adacore.com>
983
1667e6e3 984 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 985
0c3acc09
JB
9862010-04-20 Joel Brobecker <brobecker@adacore.com>
987
988 * gdb.ada/dyn_loc: New testcase.
989
ec31cde5
CM
9902010-04-20 Chris Moller <cmoller@redhat.com>
991
992 PR 10867
993
994 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
995 * gdb.cp/pr10687.cc: New file.
996 * gdb.cp/pr10687.exp: New file.
997
998
ce4b0682
SDJ
9992010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1000 Sergio Durigan Junior <sergiodj@redhat.com>
1001
1002 * gdb.fortran/logical.exp: New testcase.
1003 * gdb.fortran/logical.f90: New file.
1004
3436961f
DE
10052010-04-19 Doug Evans <dje@google.com>
1006
1007 * gdb.base/help.exp (help source): Update expected output.
1008
4d836c09
JK
10092010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1010
1011 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
1012 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
1013 gdb_exit and return.
1014 (executable): New variable.
1015 (binfile): Use it.
1016
6149aea9
PA
10172010-04-19 Pedro Alves <pedro@codesourcery.com>
1018
1019 PR breakpoints/8554.
1020
1021 * gdb.trace/save-trace.exp: Adjust.
1022
ed41462c
L
10232010-04-17 H.J. Lu <hongjiu.lu@intel.com>
1024
1025 PR corefiles/11511
1026 * gdb.arch/system-gcore.exp: New.
1027 * gdb.arch/gcore.c: Likewise.
1028
3f7b2faa
DE
10292010-04-15 Doug Evans <dje@google.com>
1030
fa33c3cd
DE
1031 * gdb.python/py-progspace.c: New file.
1032 * gdb.python/py-progspace.exp: New file.
1033
3f7b2faa
DE
1034 * gdb.base/source.exp: Add tests for "source -s".
1035
79f283fe
PM
10362010-04-14 Phil Muldoon <pmuldoon@redhat.com>
1037
1038 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
1039 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
1040 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
1041 * gdb.python/py-mi.exp: New test for to_string returning None.
1042
fc8eb08a
PM
10432010-04-12 Phil Muldoon <pmuldoon@redhat.com>
1044
1045 * gdb.python/py-breakpoint.c: Make result global.
1046
26e197f6
JK
10472010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1048
1049 Fix non-GNU make compatibility.
1050 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
1051
adc36818
PM
10522010-04-09 Phil Muldoon <pmuldoon@redhat.com>
1053
1054 * gdb.python/py-breakpoint.exp: New File.
1055 * gdb.python/py-breakpoint.C: Ditto.
1056
64e17368
SS
10572010-04-08 Stan Shebs <stan@codesourcery.com>
1058
1059 * gdb.trace/actions.exp: Clear default-collect.
1060 * gdb.trace/save-trace.exp: Clear default-collect.
1061
fff5cc64
PM
10622010-04-08 Phil Muldoon <pmuldoon@redhat.com>
1063
1064 * gdb.python/py-value: Add null string variable.
1065 (test_lazy_string): Test zero length, NULL address lazy
1066 strings.
1067
a055a187
L
10682010-04-07 H.J. Lu <hongjiu.lu@intel.com>
1069
1070 * gdb.arch/i386-avx.c: New.
1071 * gdb.arch/i386-avx.exp: Likewise.
1072
1073 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
1074
96e39866
DE
10752010-04-06 Doug Evans <dje@google.com>
1076
1077 * gdb.base/source-test.gdb: New file.
1078 * gdb.base/source.exp: Test source -v.
1079
5984a431
UW
10802010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1081
1082 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
1083
ec8a089a
PM
10842010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
1085
1086 * gdb.stabs/aout.sed: Convert all backslash to double backslash
1087 within one line, unless it is followed by a double quote.
1088 * gdb.stabs/hppa.sed: Idem.
1089 * gdb.stabs/weird.def: Add char and String constants
1090 * gdb.stabs/weird.exp: Check for correct parsing of
1091 chhar and string constants.
1092 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
1093 in .stabs to .stabx substitution.
1094
fce3c1f0
SS
10952010-04-05 Stan Shebs <stan@codesourcery.com>
1096
1097 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
1098 constant global.
1099 * gdb.trace/tfile.exp: Try to print them.
1100
d77f58be
SS
11012010-04-04 Stan Shebs <stan@codesourcery.com>
1102
1103 * gdb.base/completion.exp: Update for new "info watchpoints".
1104 * gdb.base/default.exp: Ditto.
1105 * gdb.base/help.exp: Ditto.
1106 * gdb.base/watchpoint.exp: Ditto.
1107 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
1108
af54718e
SS
11092010-04-04 Stan Shebs <stan@codesourcery.com>
1110
1111 * gdb.trace/tfile.exp: Sharpen tfind test.
1112
74d1f91e
JK
11132010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1114
1115 * gdb.base/break-entry.exp: New.
1116
eb8e76db
HZ
11172010-04-02 Hui Zhu <teawater@gmail.com>
1118 Michael Snyder <msnyder@vmware.com>
1119
1120 * gdb.reverse/i386-sse-reverse.exp: New file.
1121 * gdb.reverse/i386-sse-reverse.c: New file.
1122
bf65cad8
PA
11232010-04-02 Pedro Alves <pedro@codesourcery.com>
1124
1125 * gdb.trace/tfind.exp: Adjust expected disassembly output.
1126
fff87407
SS
11272010-04-01 Stan Shebs <stan@codesourcery.com>
1128
1129 * gdb.trace/actions.exp: Tweak expected output.
1130 * gdb.trace/while-stepping.exp: Tweak expected output.
1131
fe01d668
L
11322010-04-01 H.J. Lu <hongjiu.lu@intel.com>
1133
1134 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
1135
86b17b60
PA
11362010-04-01 Pedro Alves <pedro@codesourcery.com>
1137
1138 * gdb.base/commands.exp: Adjust.
1139 * gdb.cp/extern-c.exp: Adjust.
1140
2c58c0a9
PA
11412010-04-01 Pedro Alves <pedro@codesourcery.com>
1142
1143 * gdb.trace/collection.c (local_test_func): Define a local struct,
1144 and instanciate it.
1145
0db9b91c
PA
11462010-04-01 Pedro Alves <pedro@codesourcery.com>
1147
1148 * gdb.trace/collection.exp (gdb_collect_args_test)
1149 (gdb_collect_argarray_test): XFAIL the tests that assume the
1150 argarray argument's elements are collected.
1151
8072405b
JK
11522010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
1153
1154 * gdb.dwarf2/dw2-bad-parameter-type.exp,
1155 gdb.dwarf2/dw2-bad-parameter-type.S: New.
1156
8bf6485c
SS
11572010-03-31 Stan Shebs <stan@codesourcery.com>
1158
1159 * gdb.trace/save-trace.exp: Test save/restore of default-collect
1160 and tracepoint conditionals.
1161 (gdb_verify_tracepoints): Delete unused return.
1162
fd7f724a
KS
11632010-03-26 Keith Seitz <keiths@redhat.com>
1164
1165 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
1166 appear in the output before main.
1167 Remove KFAIL for gdb/2215 aka bz 9320.
1168
8d9e7719
DE
11692010-03-30 Doug Evans <dje@google.com>
1170
0906dd0b
DE
1171 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
1172 by dejagnu.
1173 * gdb.arch/amd64-dword.exp: Ditto.
1174
8d9e7719
DE
1175 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
1176 match.
1177 (break printf): Ditto.
1178
1da644f0
SW
11792010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
1180
1181 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
1182 gcc < 4.4.
1183 * gdb.cp/shadow.exp: Ditto.
1184
a8121990
PA
11852010-03-29 Pedro Alves <pedro@codesourcery.com>
1186
1187 * gdb.trace/collection.exp (run_trace_experiment): Make sure
1188 "tstart" is silent.
1189
6e79d367
PA
11902010-03-29 Pedro Alves <pedro@codesourcery.com>
1191
1192 * gdb.trace/collection.exp (executable): New.
1193 (binfile): Use it.
1194 (fpreg, spreg, pcreg): New.
1195 (test_register): Use gdb_test_multiple. Pass /x to print.
1196 (prepare_for_trace_test): New.
1197 (run_trace_experiment): Use "continue", not gdb_run_cmd.
1198 (gdb_collect_args_test, gdb_collect_argstruct_test)
1199 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
1200 prepare_for_trace_test.
1201 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
1202 fpreg, spreg and pcreg.
1203 (gdb_collect_expression_test, gdb_collect_globals_test): Use
1204 prepare_for_trace_test.
1205 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
1206 try to detect tracing support here. Don't set breakpoints at
1207 `begin' or `end' here.
1208 <global scope>: Use clean_restart. Run to main before checking
1209 for tracing support. Check for for tracing support here.
1210
09248348
JK
12112010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1212
1213 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
1214 " as $displacement" to "seen displacement message".
1215
d350db38
PA
12162010-03-28 Pedro Alves <pedro@codesourcery.com>
1217
1218 * gdb.trace/while-dyn.exp (executable): New variable.
1219 (binfile): Use it.
1220 (test_while_stepping): New function. Move most tests here. Call
1221 it once for each of the while-stepping, stepping and ws aliases.
1222
907af001
UW
12232010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1224
1225 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
1226 that do not provide the tagless_struct type name at all.
1227 (test_print_anon_union): Do not check value of uninitialized
1228 union member. Do not use cp_test_ptype_class, so we can accept
1229 "long" as well as "long int".
1230
610197fd
PA
12312010-03-26 Pedro Alves <pedro@codesourcery.com>
1232
1233 * gdb.trace/tfile.c (tohex, bin2hex): New.
1234 (write_error_trace_file): Hexify error description.
1235
6c28cbf2
SS
12362010-03-25 Stan Shebs <stan@codesourcery.com>
1237
1238 * gdb.trace/tfile.c: Generate an additional trace file, improve
1239 portability.
1240 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
1241 files in a better way.
1242
e62b8c7e
KS
12432010-03-25 Keith Seitz <keiths@redhat.com>
1244
1245 * gdb.java/jprint.exp: XFAIL printing of static class members
1246 because of GCC debuginfo problem.
1247
82ccf5a5
JK
12482010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1249
1250 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
1251
293e2f9e
DJ
12522010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
1253
1254 * gdb.base/completion.exp: Allow long instead of long int.
1255 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
1256 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
1257 variable p.
1258 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
1259 * gdb.base/pointers.exp: Allow long instead of long int.
1260 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
1261 * gdb.base/step-line.exp: Allow a directory before the source file name.
1262
95a42b64
TT
12632010-03-24 Tom Tromey <tromey@redhat.com>
1264
1265 PR breakpoints/9352:
1266 * gdb.base/default.exp: Update.
1267 * gdb.base/commands.exp: Update.
1268 * gdb.cp/extern-c.exp: Test setting commands on multiple
1269 breakpoints at once.
1270
2390201f
DJ
12712010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
1272
1273 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
1274 if gdb,nosignals.
1275 * gdb.base/watchpoints.c: Do not include unnecessary headers.
1276 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
1277 exited".
1278
8c9a6790
SS
12792010-03-24 Stan Shebs <stan@codesourcery.com>
1280
1281 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
1282
a6c727b2
DJ
12832010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
1284
1285 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
1286 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
1287 argument. Handle "short" and "long".
1288 (Top level): Pass overprototyped output for old_fptr and xptr.
1289
4dfd5423
PA
12902010-03-23 Pedro Alves <pedro@codesourcery.com>
1291
1292 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
1293 format strings and add casts to avoid compiler warnings.
1294
12952010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
1296
1297 * lib/trace-support.exp (gdb_trace_setactions):
1298 Don't expect whitespace after ">" prompt.
1299 * gdb.trace/actions.exp: Adjust for output changes.
1300 * gdb.trace/while-stepping.exp: Likewise.
1301
c847d045
JK
13022010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1303
1304 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
1305 and r157645).
1306
5f717f1d
JK
13072010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1308
1309 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
1310 New.
1311
7d6d51d5
DJ
13122010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
1313
1314 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
1315 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
1316
3b11a015
SS
13172010-03-19 Stan Shebs <stan@codesourcery.com>
1318
1319 * gdb.trace/ax.exp: New file.
1320
d7d158ed
DE
13212010-03-19 Doug Evans <dje@google.com>
1322
6bb85cd1
DE
1323 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
1324 output from gcc.
1325
d7d158ed
DE
1326 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
1327 named /usr/sbin/prelink<foo>.
1328
4daf5ac0
SS
13292010-03-18 Stan Shebs <stan@codesourcery.com>
1330
1331 * gdb.trace/circ.exp: Test circular-trace-buffer.
1332 * gdb.trace/tfile.exp: Update tstatus test.
1333
e8d05480
JB
13342010-03-18 Joel Brobecker <brobecker@adacore.com>
1335
1336 * gdb.dwarf2/dw2-anonymous-func.S: New file.
1337 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
1338
441b986a
UW
13392010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1340
1341 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
1342
4247603b
PA
13432010-03-18 Pedro Alves <pedro@codesourcery.com>
1344
1345 * gdb.base/default.exp: Adjust the expected output of the finish
1346 and until commands when the inferior is not being run.
1347
13387711
SW
13482010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
1349
1350 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
1351 * gdb.cp/nsusing.exp: Ditto.
1352
6e31430b
TT
13532010-03-15 Tom Tromey <tromey@redhat.com>
1354
1355 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
1356 * gdb.cp/userdef.cc (operator==): New function.
1357 (main): New locals mem1, mem2.
1358
e2d69cb5
JZ
13592010-03-15 Jie Zhang <jie@codesourcery.com>
1360
1361 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
1362 Declare and use new loadtimeout variable.
1363
f572f0a9
DJ
13642010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
1365
1366 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
1367 Use gdb_load later.
1368
51f4c0b0
PA
13692010-03-14 Pedro Alves <pedro@codesourcery.com>
1370
1371 * gdb.base/solib-disc.c (main): Make format of fprintf a string
1372 literal. Add missing endlines to prints to stderr.
1373
1c809c68
TT
13742010-03-12 Tom Tromey <tromey@redhat.com>
1375
1376 PR c++/9708:
1377 * gdb.cp/m-static.exp: Add regression test.
1378 * gdb.cp/m-static.cc (method): New method.
1379 (main): Call it.
1380
00ae8fef
SW
13812010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
1382
1383 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
1384 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
1385
759f0f0b
PA
13862010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
1387
21e24d21
PA
1388 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
1389
13902010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
1391
759f0f0b
PA
1392 * lib/gdb.exp (skip_stl_tests): New.
1393 (gdb_compile): Symbian needs -ldl.
1394 (shlib_target_file): New.
1395 (shlib_symbol_file): New.
1396 (gdb_load_shlibs): Use shlib_target_file.
1397 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
1398 * gdb.cp/exception.exp: Use skip_stl_tests.
1399 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
1400 * gdb.cp/try_catch.exp: Use skip_stl_tests.
1401 * gdb.cp/mb-templates.exp: Ditto.
1402 * gdb.base/commands.exp: Relax regexes.
1403 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
1404 shlib_target_file and shlib_symbol_file.
1405 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
1406 sections.
1407 * gdb.base/ending-run.exp: Accept E32Main for symbian.
1408 * gdb.base/solib-disc.exp: Use
1409 shlib_target_file and shlib_symbol_file.
1410 * gdb.base/unload.exp: Don't skip on symbian. Use
1411 shlib_target_file and shlib_symbol_file.
1412 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
1413
6a8f2671
PA
14142010-03-12 Pedro Alves <pedro@codesourcery.com>
1415
1416 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
1417 * gdb.trace/report.exp: Adjust for x86 and x86_64.
1418 Issue a tfind end before looking for a tracepoint frame.
1419 * gdb.trace/tfind.exp: Adjust tstatus output.
1420 Adjust disassembly output.
1421 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
1422
ccf26247
JK
14232010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1424
1425 * gdb.base/break-interp.exp: Create new displacement parameter value
1426 for the test_ld calls.
1427 (reach): New parameter displacement, verify its content. New push of
1428 pf_prefix "reach-$func:". Import global expect_out.
1429 (test_core): New parameter displacement, verify its content. New push
1430 of pf_prefix "core:". New command "set verbose on". Import global
1431 expect_out.
1432 (test_attach): New parameter displacement, verify its content. New
1433 push of pf_prefix "attach:". New command "set verbose on". Import
1434 global expect_out.
1435 (test_ld): New parameter displacement, pass it to the reach, test_core
1436 and test_attach calls and verify its content in the "ld.so exit" test.
1437 * gdb.base/prelink.exp: Remove gdb_exit and final return.
1438 (prelink): Update expected text, use gdb_test.
1439
e469c7fb
DE
14402010-03-10 Doug Evans <dje@google.com>
1441
1442 * gdb.base/checkpoint.exp: Fix comment.
1443 Lengthen timeout while doing >600 checkpoints test.
1444 Rename duplicate "kill all one" test to keep test names unique.
1445
60e1c644
PA
14462010-03-10 Pedro Alves <pedro@codesourcery.com>
1447
1448 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
1449
cec808ec
KS
14502010-03-08 Keith Seitz <keiths@redhat.com>
1451
1452 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
1453 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
1454 (dm_type_long): New function.
1455 (dm_type_unsigned_short): New function.
1456 (dm_type_unsigned_long): New function.
1457 (myint): New typedef.
1458 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
1459 long, unsigned shor and long, operator char*, and typedef.
1460 (test_lookup_operator_functions): Add operator char* test.
1461 (test_paddr_operator_functions): Likewise.
1462 (test_paddr_overloaded_functions): Use probe values for
1463 short, long, and unsigned short and long.
1464 (test_paddr_hairy_functions): If the demangler probe detected
1465 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
1466 demangler.
1467 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
1468 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
1469 and "print null_pmf".
1470 Add test "ptype a.*pmf".
1471 * gdb.cp/overload.exp: Allow optional "int" to appear with
1472 "short" and "long".
1473 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
1474 long expect value for men_overload1arg.
1475 Allow "int" to appear with "short" and "long".
1476 When testing "info break", add argument for main (void).
1477 Also allow "int" to appear with "short" and "long".
1478 Ditto with "unsigned" and "long long".
1479 * gdb.java/jmain.exp: Do not enclose methods names in single
1480 quotes.
1481 * gdb.java/jmisc.exp: Likewise.
1482 * gdb.java/jprint.exp: Likewise.
1483 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
1484
1485 From Jan Kratochvil <jan.kratochvil@redhat.com>:
1486 * gdb.cp/exception.exp (backtrace after first throw)
1487 (backtrace after second throw): Allow a namespace before __cxa_throw.
1488 (backtrace after first catch, backtrace after second catch): Allow
1489 a namespace before __cxa_begin_catch.
1490
1491 * gdb.cp/cpexprs.exp: New file.
1492 * gdb.cp/cpexprs.cc: New file.
1493
1494 From Daniel Jacobowitz <dan@codesourcery.com>
1495 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
1496 to use string_to_regexp.
1497 (ctor, dtor): New functions. Use them to match constructor
1498 and destructor function types.
1499 (Top level): Use runto_main.
1500
f870a310
TT
15012010-03-05 Tom Tromey <tromey@redhat.com>
1502
1503 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
1504 gdb.target_charset.
1505 (pp_ns.to_string): Likewise.
1506
0c199f28
KS
15072010-03-04 Keith Seitz <keiths@redhat.com>
1508
1509 * gdb.cp/overload.exp: Test that the filename portion of a linespec
1510 can be quoted. Test that both the filename and function/line
1511 portions can be quoted at the same time.
1512
c7437ca6
PA
15132010-03-04 Pedro Alves <pedro@codesourcery.com>
1514
1515 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
1516
b111b805
DE
15172010-03-03 Doug Evans <dje@google.com>
1518
24486cb7
DE
1519 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
1520 libc contains libpthread.
1521
b111b805
DE
1522 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
1523 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
1524 of gdb_compile. Add another pattern to match android backtrace.
1525
a0e0ef55
TT
15262010-03-03 Tom Tromey <tromey@redhat.com>
1527
1528 PR gdb/11345:
1529 * gdb.base/printcmds.exp (test_printf): Add test.
1530
1ba53b71
L
15312010-03-02 H.J. Lu <hongjiu.lu@intel.com>
1532
1533 * gdb.arch/amd64-byte.exp: New.
1534 * gdb.arch/amd64-dword.exp: Likewise.
1535 * gdb.arch/amd64-pseudo.c: Likewise.
1536 * gdb.arch/amd64-word.exp: Likewise.
1537 * gdb.arch/i386-byte.exp: Likewise.
1538 * gdb.arch/i386-pseudo.c: Likewise.
1539 * gdb.arch/i386-word.exp: Likewise.
1540
f5dff777
DJ
15412010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
1542
1543 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
1544 types. Add structreg, bitfields, and flags registers.
1545 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
1546 registers.
1547
90884b2b
L
15482010-03-01 H.J. Lu <hongjiu.lu@intel.com>
1549
1550 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
1551 (load_description): Set architecture if defined.
1552
dc00d89f
PM
15532010-02-28 Phil Muldoon <pmuldoon@redhat.com>
1554
1555 * gdb.python/py-frame.exp: Add read_var block tests.
1556 * gdb.python/py-frame.c (block): New function.
1557
0e095b7e
JK
15582010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1559 Daniel Jacobowitz <dan@codesourcery.com>
1560
1561 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
1562
624f1a65
DM
15632010-02-25 David S. Miller <davem@davemloft.net>
1564
1565 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
1566 fix logic for setting all_syscalls_numbers.
1567
f3e9a817
PM
15682010-02-24 Phil Muldoon <pmuldoon@redhat.com>
1569
1570 * Makefile.in: Add py-block and py-symbol.
1571 * gdb.python/py-symbol.exp: New File.
1572 * gdb.python/py-symtab.exp: New File.
1573 * gdb.python/py-block.exp: New File.
1574 * gdb.python/py-symbol.c: New File.
1575 * gdb.python/py-block.c: New File.
1576
f6bbabf0
PM
15772010-02-24 Phil Muldoon <pmuldoon@redhat.com>
1578
1579 PR python/11314
1580 * lib/gdb.exp (skip_python_tests): New function.
1581 * gdb.python/py-cmd.exp: Use skip_python_tests.
1582 * gdb.python/py-frame.exp: Likewise.
1583 * gdb.python/py-function.exp: Likewise.
1584 * gdb.python/py-prettyprint.exp: Likewise.
1585 * gdb.python/py-template.exp: Likewise.
1586 * gdb.python/py-type.exp: Likewise.
1587 * gdb.python/py-value.exp: Likewise.
1588
85d721b8
PA
15892010-02-22 Pedro Alves <pedro@codesourcery.com>
1590
1591 PR9605
1592
1593 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
1594
48e32051
TT
15952010-02-19 Tom Tromey <tromey@redhat.com>
1596
1597 PR c++/8693, PR c++/9496:
1598 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
1599 regression tests.
1600
ac9c0048
JK
16012010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1602
1603 Fix compatibility with m68k as.
1604 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
1605 Use only /* comments */.
1606
57bb97a4
UW
16072010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1608
1609 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
1610 * configure: Regenerate.
1611
7d1bf85c
DJ
16122010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
1613
1614 * gdb.python/py-type.exp: Check for Python support.
1615
061b5285
PA
16162010-02-17 Pedro Alves <pedro@codesourcery.com>
1617
1618 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
1619 `regsub' syntax available.
1620
f8a8bc2c
PA
16212010-02-17 Pedro Alves <pedro@codesourcery.com>
1622
1623 * gdb.base/shmain.c (main): Remove printf call.
1624 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
1625 * gdb.base/unload.c (main): Make format of fprintf a string
1626 literal. Add missing endlines to prints to stderr.
1627 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
1628
6f451e5e
TT
16292010-02-17 Tom Tromey <tromey@redhat.com>
1630
1631 * gdb.java/jprint.java (jprint.props): New field.
1632 * gdb.java/jprint.exp (set_lang_java): Add regression test.
1633
12d79008
PA
16342010-02-17 Pedro Alves <pedro@codesourcery.com>
1635
ef801a0e 1636 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
1637 available.
1638
d252f7e5
DJ
16392010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1640
1641 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
1642 creation to support remote host testing.
1643
67bdab6c
DJ
16442010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1645
1646 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
1647 Recognize "command not found".
1648
bb391223
DJ
16492010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1650
1651 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
1652 single-stepping.
1653
70362913
DJ
16542010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1655
1656 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
1657 if arguments are not supported.
1658
493f3c00
DJ
16592010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1660
1661 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
1662 be const or non-const.
1663
8034c749
DJ
16642010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1665
1666 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
1667 mi_send_resuming_command to send -exec-continue.
1668
791dfb64
DJ
16692010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1670
1671 * gdb.base/list.exp (test_list_filename_and_function): Add test
1672 with single quotes.
1673 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
1674 matching.
1675 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
1676 Add KFAIL'd tests for PR gdb/11289.
1677
7c5fe868
DJ
16782010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1679
1680 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
1681
fdc498b8
DJ
16822010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1683
1684 * gdb.base/comp-dir/subdir/dummy.txt: New file.
1685 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
1686 a temporary directory.
1687
b519e2a6
DJ
16882010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1689
1690 * gdb.base/charset.exp: Use a single regular expression to match
1691 show host-charset and show target-charset output.
1692
74164c56
JK
16932010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1694
1695 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
1696 "Illegal process-id" expect string more exact.
1697 (attach to digits-starting nonsense is prohibited): New.
1698
701ed6dc
JK
16992010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1700
1701 * gdb.base/prelink.exp (set verbose on): New.
1702
fa19b4e5
MS
17032010-02-12 Tomas Holmberg <th@virtutech.com>
1704
1705 * mi-reverse.exp: New file. Test for reverse option to the
1706 following MI commands: exec-continue, exec-finish, exec-next,
1707 exec-step, exec-next-instruction, exec-step-instruction.
1708
dadf0e9c
JB
17092010-02-09 Joel Brobecker <brobecker@adacore.com>
1710
1711 * gdb.ada/ptype_tagged_param: New testcase.
1712
714f19d5
TT
17132010-02-08 Tom Tromey <tromey@redhat.com>
1714
1715 PR c++/8017:
1716 * gdb.cp/overload.exp: Add tests.
1717 * gdb.cp/overload.cc (struct K): New.
1718 (namespace N): New.
1719 (main): Call new functions.
1720 (K::staticoverload): Define.
1721
83b10087
CM
1722Mon Feb 8 13:18:22 2010 Chris Moller <moller@mollerware.com>
1723
1724 PR gdb/10728
1725 * gdb.cp/pr10728-x.h: New file.
1726 * gdb.cp/pr10728-x.cc: New file.
1727 * gdb.cp/pr10728-y.cc: New file.
1728 * gdb.cp/pr10728.exp: New file.
1729 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
1730
99903ae3
CM
1731Mon Feb 8 12:54:54 2010 Chris Moller <moller@mollerware.com>
1732
1733 PR gdb/9067
1734 * gdb.cp/pr9067.exp: New
1735 * gdb.cp/pr9067.cc: New
1736 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
1737
7b356089
JB
17382010-02-08 Joel Brobecker <brobecker@adacore.com>
1739
1740 * lib/gdb.exp (gdb_test_timeout): New global variable.
1741 Set it to timeout if not already set.
1742 (gdb_init): Reset the value of timeout to gdb_test_timeout.
1743
1be00882
DE
17442010-02-05 Doug Evans <dje@google.com>
1745
1746 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
1747 user.
1748
82856980
SW
17492010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
1750
1751 PR c++/7935:
1752 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
1753
1a334831
TT
17542010-02-04 Tom Tromey <tromey@redhat.com>
1755
1756 * gdb.cp/virtbase.exp: Make test case names unique.
1757
9c3c02fd
TT
17582010-02-02 Tom Tromey <tromey@redhat.com>
1759
1760 * gdb.cp/virtbase.exp: Add regression tests.
1761 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
1762 (main): Instantiate RHC.
1763
0cc2414c
TT
17642010-02-02 Tom Tromey <tromey@redhat.com>
1765
1766 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
1767 type-printing change.
1768
edf3d5f3
TT
17692010-02-02 Tom Tromey <tromey@redhat.com>
1770
1771 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
1772 * gdb.cp/virtbase.cc: New file.
1773 * gdb.cp/virtbase.exp: New file.
1774 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
1775
e4b7f41c
JK
17762010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1777
1778 PR libc/11214:
1779 * gdb.threads/current-lwp-dead.c: Include features.h.
1780 (HAS_NOMMU): New.
1781 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
1782
b381ea14
JK
17832010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1784
1785 * gdb.base/symbol-without-target_section.exp,
1786 gdb.base/symbol-without-target_section.c: New.
1787
c593ac0e
DJ
17882010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
1789
1790 * gdb.base/bigcore.exp: Reset increased timeout.
1791 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
1792
db25f29d
DJ
17932010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
1794
1795 * gdb.base/gcore.exp (capture_command_output): Use
1796 gdb_test_multiple.
1797
f9d67f43
DJ
17982010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
1799
1800 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
1801 * gdb.arch/thumb2-it.exp (test_it_break): New function.
1802 (Top level): Call it.
1803
177321bd
DJ
18042010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
1805
1806 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
1807
97f2ed50
DJ
18082010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
1809
1810 * gdb.base/call-strs.exp, gdb.base/default.exp,
1811 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
1812 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
1813 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
1814 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
1815 gdb.base/watchpoint-solib.exp: Save and restore timeout.
1816 * gdb.base/ending-run.exp: Correct restore of timeout.
1817 * gdb.base/page.exp: Remove unnecessary timeout setting.
1818
e4e2711a
JB
18192010-01-29 Joel Brobecker <brobecker@adacore.com>
1820
1821 * gdb.ada/rec_return: New testcase.
1822
ba581dc1
JB
18232010-01-29 Joel Brobecker <brobecker@adacore.com>
1824
1825 * gdb.ada/call_pn: New testcase.
1826
4ea95be9
DJ
18272010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
1828
1829 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
1830 (Top level): Use it to resume.
1831 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
1832 the Thumb mode displaced stepping error as unsupported.
1833
df83a9bf
SW
18342010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
1835
1836 * gdb.cp/nsusing.exp: Added more tests.
1837 * gdb.cp/nsrecurs.exp: Ditto.
1838 * gdb.cp/nsusing.cc: Added test functions.
1839 * gdb.cp/nsrecurs.cc: Ditto.
1840
40b27cdc
JK
18412010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1842
1843 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
1844 absolute directory pathnames in gdb.sum file.
1845
de958931
SW
18462010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
1847
1848 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
1849 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
1850
708ead4e
TT
18512010-01-26 Tom Tromey <tromey@redhat.com>
1852
1853 PR exp/7643:
1854 * gdb.base/printcmds.exp (test_print_string_constants): Remove
1855 setup_kfail.
1856
b14e635e
SW
18572010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
1858
1859 * gdb.cp/nsrecurs.exp: New test.
1860 * gdb.cp/nsrecurs.cc: New test program.
1861 * gdb.cp/nsstress.exp: New test.
1862 * gdb.cp/nsstress.cc: New test program.
1863 * gdb.cp/nsdecl.exp: New test.
1864 * gdb.cp/nsdecl.cc: New test program.
1865
8540c487
SW
18662010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
1867
1868 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
1869 imported into file scope.
1870 Marked test as xfail.
1871 * gdb.cp/namespace-using.cc (marker5): New function.
1872 * gdb.cp/shadow.exp: New test.
1873 * gdb.cp/shadow.cc: New test program.
1874 * gdb.cp/nsimport.exp: New test.
1875 * gdb.cp/nsimport.cc: New test program.
1876
421d5d99
TT
18772010-01-25 Tom Tromey <tromey@redhat.com>
1878
1879 PR gdb/11049:
1880 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
1881 with "set print null-stop on".
1882
691f8dc1
JK
18832010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1884
1885 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
1886 Adjust it for DISASSEMBLY_OMIT_FNAME.
1887
0b92b5bb
TT
18882010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1889
1890 PR symtab/11199:
1891 * gdb.dwarf2/member-ptr-forwardref.exp,
1892 gdb.dwarf2/member-ptr-forwardref.S: New.
1893
23787403
JK
18942010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1895
1896 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
1897 (thread1_func): Protect thread1_tid with thread1_tid_cond by
1898 thread1_tid_mutex. Remove gdbstop_mutex handling.
1899 (thread2_func): Protect thread2_tid with thread2_tid_cond by
1900 thread2_tid_mutex. Remove gdbstop_mutex handling.
1901 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
1902 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
1903 pthread_cond_wait conditionalizations by while loops.
1904
b966cb8a
TT
19052010-01-20 Tom Tromey <tromey@redhat.com>
1906
1907 PR backtrace/10770:
1908 * gdb.dwarf2/pr10770.exp: New file.
1909 * gdb.dwarf2/pr10770.c: New file.
1910 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
1911
fcae584b
VP
19122010-01-20 Vladimir Prus <vladimir@codesourcery.com>
1913
1914 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
1915 that target was removed, and the test always runs native anyway.
1916
a0f49112
JK
19172010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1918
1919 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
1920 gdb.base/watchpoint-cond-gone-stripped.c: New.
1921
ceeb3d5a
TT
19222010-01-19 Tom Tromey <tromey@redhat.com>
1923
1924 PR c++/8000:
1925 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
1926 existing tests.
1927 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
1928 (main): Use AAA::SomeEnum.
1929
dd322c54
JK
19302010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1931
1932 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
1933 (test_ignore_count): Declare line_callme_body global.
1934 (run to breakpoint with ignore count): Use line_callme_body.
1935 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
1936 (set line_main_hello, set line_main_return): Reindent.
1937 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
1938 New.
1939 (continue to callee4): Use line_callee4_body.
1940 (check *stopped from CLI command): Use line_callee4_next.
1941 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
1942 (set line_main_hello, set line_main_return): Reindent.
1943 (set line_callee4_head, set line_callee4_body): New.
1944 (continue to callee4): Use line_callee4_body.
1945
4e8f195d
TT
19462010-01-18 Tom Tromey <tromey@redhat.com>
1947
1948 PR c++/9680:
1949 * gdb.cp/casts.cc: Add new classes and variables.
1950 * gdb.cp/casts.exp: Test new operators.
1951
9e14a9ba
JB
19522010-01-18 Tom Tromey <tromey@redhat.com>
1953 Thiago Jung Bauermann <bauerman@br.ibm.com>
1954
1955 * gdb.python/source2.py: New file.
1956 * gdb.python/source1: New file.
1957 * gdb.python/python.exp: Test "source" command.
1958
00bf0b85
SS
19592010-01-15 Stan Shebs <stan@codesourcery.com>
1960
1961 * gdb.trace/tfile.c: New file.
1962 * gdb.trace/tfile.exp: New file.
1963
55235ad7
JK
19642010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1965
1966 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
1967
9f2982ff
JK
19682010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1969
1970 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
1971
bbfba9ed
JK
19722010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1973
1974 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
1975 (libfunc): New parameter action. Implement also selectable "sleep".
1976 * gdb.base/break-interp-main.c: Include assert.h.
1977 (libfunc): New parameter action.
1978 (main): New parameters argc and argv. Assert argc. Pass argv.
1979 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
1980 (test_attach): New proc.
1981 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
1982 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
1983
61f0d762
JK
19842010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1985
1986 * gdb.base/break-interp.exp (test_core): New proc.
1987 (test_ld): Call it.
1988
06a6f270
JK
19892010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1990
1991 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
1992 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
1993 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
1994 and gdb_compile_shlib. Use new -Wl compiler options.
1995 (dl bt, main bt): New tests.
1996
51bee8e9
JK
19972010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1998
1999 Support PIEs with no symfile_objfile.
2000 * gdb.base/break-interp.exp: New argument at the test_ld calls.
2001 (test_ld): New parameter trynosym.
2002 (test_ld <$trynosym>): New block.
2003
b8040f19
JK
20042010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2005
2006 * gdb.base/break-interp.exp: New file.
2007
be759fcf
PM
20082010-01-13 Phil Muldoon <pmuldoon@redhat.com>
2009
2010 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
2011 * gdb.python/py-prettyprint.py (pp_ls): New printer.
2012 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
2013 test.
2014 * gdb.python/py-prettyprint.c: Define lazystring test structure.
2015 * gdb.python/py-mi.exp: Add lazy string test.
2016
dc146f7c
VP
20172010-01-13 Vladimir Prus <vladimir@codesourcery.com>
2018
2019 * lib/mi-support.exp (mi_check_thread_states): Handle
2020 core number in thread listing.
2021
b4ba55a1
JB
20222010-01-12 Joel Brobecker <brobecker@adacore.com>
2023
2024 * gdb.base/maint.exp: Adjust the expected output for the
2025 "maint print type" test. Use gdb_test_multiple instead of
2026 gdb_sent/gdb_expect.
2027
08e24bd4
DE
20282010-01-11 Doug Evans <dje@google.com>
2029
6496a609
DE
2030 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
2031 from gdbserver_download. All callers updated.
2032
08e24bd4
DE
2033 * gdb.server/ext-run.exp: "info os processes" requires xml support.
2034
b5cfddf5
JK
20352010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2036
2037 Implement binary numbers parsing.
2038 * gdb.base/printcmds.exp (test_integer_literals_accepted)
2039 (test_integer_literals_rejected): New binary tests.
2040
3725885a
RW
20412010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2042
2043 * gdb.cell/configure: Regenerate.
2044
37aeb5df
JK
20452010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2046
2047 * gdb.base/corefile.exp: Move the core finding block out and call it as
2048 core_find, new variable $corefile, replace corefile by $corefile and
2049 [file tail $corefile] for usage vs. test names resp.
2050 * lib/gdb.exp (core_find): Move it as a new function here. New
2051 parameter binfile and deletefiles. New variable $destcore. Pre-delete
2052 $destcore. Return "" on error.
2053
d521f563
JK
20542010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2055
2056 Workaround PR binutils/10802.
2057 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
2058 (twice).
2059
28f24826
DJ
20602010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
2061
2062 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
2063
2de75e71
JB
20642010-01-08 Joel Brobecker <brobecker@adacore.com>
2065
2066 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
2067 call, to avoid interruption.
2068
fe00719b 20692010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
2070
2071 * gdb.stabs/weird.def (args93): New.
2072
d0ef5df8
DE
20732010-01-07 Doug Evans <dje@google.com>
2074
2075 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
2076
3a08d52f
TT
20772010-01-07 Tom Tromey <tromey@redhat.com>
2078
2079 * gdb.base/source.exp: Use correct line number.
2080
7a697b8d
SS
20812010-01-05 Stan Shebs <stan@codesourcery.com>
2082
2083 * gdb.trace/tracecmd.exp: Test ftrace.
2084
7803799a
UW
20852010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2086
2087 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
2088
c54eabfa
JK
20892010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2090
2091 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
2092 "uint_for_mi_testing".
2093
02e7ef19
JB
20942010-01-01 Joel Brobecker <brobecker@adacore.com>
2095
2096 Test indented comment in file being sourced.
2097 * gdb.base/commands.exp: Test indented comment in file being sourced.
2098
abd775ce
JB
20992010-01-01 Joel Brobecker <brobecker@adacore.com>
2100
2101 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
2102 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
2103 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
2104 notice.
2105
79b55b82
JB
21062010-01-01 Joel Brobecker <brobecker@adacore.com>
2107
2108 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
2109 notice.
2110
8997583e
JK
21112010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2112
2113 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
2114 missing $after_stopped and comma (,) expectation.
2115
6da95a67
SS
21162009-12-31 Stan Shebs <stan@codesourcery.com>
2117
2118 * gdb.trace/actions.exp: Test teval action.
2119
218d2fc6
TJB
21202009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
2121
2122 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
2123 (top level): Call test_watchpoint_in_big_blob.
2124 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
2125 watchpoints.
2126 (func3): Write to buf.
2127
236f1d4d
SS
21282009-12-29 Stan Shebs <stan@codesourcery.com>
2129
2130 * gdb.trace/actions.exp: Test default-collect.
2131
f61e138d
SS
21322009-12-28 Stan Shebs <stan@codesourcery.com>
2133
2134 * gdb.trace/tsv.exp: New file.
2135 * gdb.base/completion.exp: Update ambiguous info output.
2136
0219b378
DJ
21372009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
2138
2139 * gdb.base/find.c (main): Reference search buffers.
2140 * gdb.base/included.c (main): Reference integer.
2141 * gdb.base/ptype.c (charfoo): Declare.
2142 (intfoo): Call charfoo.
2143 * gdb.base/scope0.c (useitp): New function.
2144 (usestatics): Use useitp.
2145 (useit): Add a type for val.
2146 * gdb.base/scope1.c (useit1): Take a pointer argument.
2147 (usestatics1): Update calls to useit1.
2148 * gdb.cp/call-c.cc: Declare foo.
2149 (main): Call foo.
2150 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
2151 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
2152 (main): Call C::ensureRefs and ensureOtherRefs.
2153 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
2154 variables.
2155 (ensureOtherRefs): New function.
2156 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
2157 * gdb.cp/templates.cc (main): Call t5i.value.
2158
3f78692f
JK
21592009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2160
2161 Fix compatibility with G++-4.5.
2162 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
2163 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
2164 (uncaught return): Remove.
2165
429374b8
JK
21662009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2167 Phil Muldoon <pmuldoon@redhat.com>
2168
2169 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
2170 (bp_location13, bp_location14, bp_location17, bp_location18)
2171 (marker3_proto, marker4_proto): New variables.
2172 (breakpoint info): Update output.
2173 (run until breakpoint at marker3, run until breakpoint at marker4): New
2174 tests.
2175
859825b8
JK
21762009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2177
2178 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
2179 Replace the printf call of Y by provided "y-set-1" label. New block
2180 for the second shared library.
2181 * gdb.base/unload.exp: Compile also the second library, call
2182 gdb_load_shlibs also for it. Use now gdb_breakpoint.
2183 (single pending breakpoint info): Rename to ...
2184 (pending breakpoint info before run): ... this extended test.
2185 (libfile2, libname2, libsrcfile2, libsrc2)
2186 (lib_sl2): New variables.
2187 (exec_opts): Set also SHLIB_NAME2.
2188 (pending breakpoint info on first run at shrfunc1)
2189 (pending breakpoint info on second run at shrfunc1)
2190 (pending breakpoint info on second run at shrfunc2)
2191 (print y from libfile, print y from libfile2): New tests.
2192 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
2193 * gdb.base/unloadshr2.c: New.
2194
e6a386cd
HZ
21952009-12-22 Hui Zhu <teawater@gmail.com>
2196
2197 * gdb.reverse/sigall-reverse.exp: Adjust.
2198
9e19b45e
VP
21992009-12-21 Vladimir Prus <vladimir@codesourcery.com>
2200
2201 PR gdb/10884
2202
2203 * gdb.mi/var-cmd.c (do_bitfield_tests): New
2204 (main): Call do_bitfield_tests.
aacf5b1e 2205 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 2206
d53a7b30
JB
22072009-12-20 Joel Brobecker <brobecker@adacore.com>
2208
2209 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
2210 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
2211 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
2212 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
2213 gdb.modula2/unbounded1.c: Update copyright header.
2214
191ca0a1
CM
22152009-12-10 Chris Moller <moller@mollerware.com>
2216
2217 PR gdb/9399
2218 * gdb.cp/virtfunc2.exp: New tests
2219 * gdb.cp/virtfunc2.cc: New tests
2220 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
2221
0fa6cf1b
MS
22222009-12-10 Oza Pawandeep (paawan1982@yahoo.com
2223
2224 * gdb.reverse/i387-env-reverse.c: New file.
2225 * gdb.reverse/i387-env-reverse.exp: New file.
2226 * gdb.reverse/i387-stack-reverse.c: New file.
2227 * gdb.reverse/i387-stack-reverse.exp: New file.
2228
361ae042
PM
22292009-12-08 Phil Muldoon <pmuldoon@redhat.com>
2230
2231 * gdb.python/py-type.exp (test_range): New test.
2232
bfd31e71
PM
22332009-12-03 Phil Muldoon <pmuldoon@redhat.com>
2234
2235 PR python/10805
2236
2237 * gdb.python/py-type.exp: New file.
2238 * gdb.python/py-type.c: New file.
2239 * Makefile.in: Add py-type.
2240
57a1d736
TT
22412009-12-03 Tom Tromey <tromey@redhat.com>
2242
2243 * gdb.python/py-value.exp (test_parse_and_eval): New
2244 function.
2245
1f3b5d1b
PP
22462009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
2247
2248 PR gdb/11022
2249
2250 * gdb.base/pr11022.exp: New test.
2251 * gdb.base/pr11022.c: New test.
2252
8b7dbdc9
JK
22532009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2254
2255 Fix spurious false FAILs.
2256 * gdb.base/structs.c (chartest): New.
2257 (main): Fill-in chartest.
2258 * gdb.base/structs.exp (anychar_re, first): New.
2259 (start_structs_test): Import global anychar_re and first.
2260 New gdb_test call "set print elements 300; ${testfile}"
2261 (start_structs_test <$first>): New block.
2262 (any): Import global anychar_re. New variable ac. Use ${ac}.
2263
6a53b2ec
JK
22642009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2265
2266 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
2267
d7167b4c
JK
22682009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2269
2270 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
2271 Force $srcfile file.
2272 * gdb.base/foll-fork.c (callee): Comment out the printf call.
2273
b1798462
UW
22742009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2275
2276 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
2277 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
2278 * gdb.threads/watchthreads-reorder.exp: Likewise.
2279
b6199126
DJ
22802009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
2281
2282 PR gdb/8704
2283
2284 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
2285 "if", and "thread". Correct matching in the previous test.
2286
b22a0510
DJ
22872009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
2288
2289 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
2290
930636d2
MS
22912009-11-23 Michael Snyder <msnyder@vmware.com>
2292
2293 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
2294 * gdb.reverse-watch-precsave.exp: Ditto.
2295
21a0512e
PP
22962009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
2297
2298 * gdb.asm/asm-source.exp: Adjust.
2299 * gdb.base/help.exp: Adjust.
2300
fc30d5e0
PA
23012009-11-22 Pedro Alves <pedro@codesourcery.com>
2302
2303 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
2304 (do_syscall_tests_without_xml): Set data-directory to
2305 /the/path/to/nowhere.
2306
f6bc2008
PA
23072009-11-21 Pedro Alves <pedro@codesourcery.com>
2308
2309 * gdb.threads/local-watch-wrong-thread.c,
2310 gdb.threads/local-watch-wrong-thread.exp: New files.
2311
8c2fb5de
PA
23122009-11-21 Pedro Alves <pedro@codesourcery.com>
2313
2314 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
2315 assume new `regsub' syntax available.
2316
ebec9a0f
PA
23172009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2318
a79d3c27
JK
2319 * gdb.base/watchpoint-hw-hit-once.exp,
2320 gdb.base/watchpoint-hw-hit-once.c: New.
2321
23222009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2323
2324 * gdb.threads/watchthreads-reorder.exp,
2325 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 2326
276a961b
MK
23272009-11-17 Nathan Sidwell <nathan@codesourcery.com>
2328
2329 * gdb.xml/tdesc-regs.exp: Use for m68k.
2330
4867c1fb
PA
23312009-11-15 Pedro Alves <pedro@codesourcery.com>
2332
2333 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
2334
f6838f81
DJ
23352009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
2336
2337 * lib/gdb.exp (current_target_name): New procedure.
2338 (gdb_wrapper_target): New variable.
2339 (gdb_wrapper_init): Set gdb_wrapper_target.
2340 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
2341 wrapper.
2342
4ac4dd3f
DJ
23432009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
2344
2345 * gdb.base/remote.exp: Delete the slowest load test.
2346 Do not load with fixed packet sizes.
2347
a7881759
DJ
23482009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
2349
2350 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
2351
97a5b505
DJ
23522009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
2353
2354 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
2355 srcfile when setting a breakpoint.
2356
d3e1fc54
DJ
23572009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
2358
2359 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
2360 macros.
2361
7cbcbded
DJ
23622009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
2363
2364 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
2365 to be in memory.
2366 * gdb.base/display.c (force_mem): New.
2367 (do_loops): Use it. Add breakpoint comments.
2368 (do_vars): Add a breakpoint comment.
2369 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
2370 line numbers.
2371
bdea3a92
NF
23722009-11-13 Nathan Froyd <froydnj@codesourcery.com>
2373
2374 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
2375 instead of a bare "run".
2376
269f82e5
PP
23772009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2378
2379 * gdb.python/py-prettyprint.exp: Adjust.
2380
a69b7d9d
DJ
23812009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
2382
2383 * lib/cell.exp (skip_cell_tests): Clean up test files before
2384 returning.
2385
b598bfda
DJ
23862009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
2387
2388 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
2389 and the breakpoint menu. Do not call perror if a prompt is seen.
2390 Consume the following GDB prompt.
2391 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
2392 * gdb.cp/namespace.exp: Use gdb_test.
2393 * gdb.cp/templates.exp: Use gdb_test.
2394 (test_template_breakpoints): Use gdb_test_multiple.
2395
87728fa0
DJ
23962009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
2397
2398 * gdb.base/break1.c (struct some_struct, values): Move earlier.
2399 (marker4): Reference values.
2400
b67c692f
DJ
24012009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
2402
2403 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
2404 is missing.
2405
f0df251a
DJ
24062009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
2407
2408 * gdb.base/break.c (need_malloc): New.
2409 * gdb.base/constvars.c (main): Reference crass and crisp.
2410 * gdb.base/gdb1821.c (main): Reference bar.
2411 * gdb.cp/gdb1355.cc (main): Reference s1.
2412 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
2413 (main): Call them.
2414 * gdb.cp/hang2.cc (dummy2): Define.
2415 * gdb.cp/hang3.cc (dummy3): Define.
2416 * gdb.cp/m-data.cc (main): Reference shadow.
2417
bdf7534a
NF
24182009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
2419 Nathan Froyd <froydnj@codesourcery.com>
2420
2421 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
2422 remote host.
2423
f24fce77
NF
24242009-11-12 Nathan Froyd <froydnj@codesourcery.com>
2425
2426 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
2427 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
2428 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2429 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2430 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2431 * gdb.dwarf2/dw2-producer.exp: Likewise.
2432 * gdb.dwarf2/mac-fileno.exp: Likewise.
2433 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
2434 py-prettyprint.py to the remote host.
2435 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
2436
40f0318e
KS
24372009-11-11 Keith Seitz <keiths@redhat.com>
2438
2439 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
2440 use it instead of "Foo".
2441 * gdb.cp/classes.exp (do_tests): Add a test to access
2442 a method through a typedef'd class name.
2443
f3d9f7fb
NF
24442009-11-11 Nathan Froyd <froydnj@codesourcery.com>
2445
2446 * gdb.base/long_long.exp: Permit leading zeros on floating-point
2447 exponents.
2448 * gdb.base/pointers.exp: Likewise.
2449 * gdb.cp/ref-types.exp: Likewise.
2450
a4216f37
KS
24512009-11-11 Keith Seitz <keiths@redhat.com>
2452
2453 * gdb.cp/cplusfuncs.cc (class foo): Add operators
2454 new[] and delete[].
2455 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
2456 "void".
2457 (probe_demangler): Remove all single-quoting of
2458 method and variable names.
2459 (info_func_regexp): Remove the word "void" from any
2460 occurrence of "(void)".
2461 (print_addr_2): Remove all single-quoting of
2462 method names.
2463 (print_addr_2_kfail): Likewise.
2464 (print_addr): Single-quote C function names before
2465 passing to print_addr_2.
2466 (test_paddr_operator_functions): Remove single-quoting
2467 for method names.
2468 Add tests for operator new[] and operator delete[].
2469
9b14d7aa
JK
24702009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2471
2472 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
2473
85feb311
KS
24742009-11-09 Keith Seitz <keiths@redhat.com>
2475
2476 * gdb.cp/overload.exp: Add tests for resolving overloaded
2477 methods in expression parsing/evaluation.
2478
fa335448
DJ
24792009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
2480
2481 * lib/gdb.exp (default_gdb_version): Use --version instead of
2482 --command.
2483
ec3c07fc
NS
24842009-11-10 Nathan Sidwell <nathan@codesourcery.com>
2485
2486 * lib/gdb.exp (gdb_compile_test): New.
2487 (skip_ada_tests, skip_java_tests): New.
2488 (gdb_compile): Use gdb_compile_test for f77.
2489 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
2490 * lib/java.exp (compile_java_from_source): Remove runtests check,
2491 use gdb_compile_test to record result.
2492 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
2493 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
2494 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
2495 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
2496 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
2497 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
2498 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
2499 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
2500 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
2501 adjust gdb_compile invocations.
2502
b8b4e42b
JK
25032009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2504
2505 * Makefile.in (abs_builddir): New.
2506 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
2507 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
2508 `$(abs_builddir)/site.exp'.
2509
f8b7eaf3
DJ
25102009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
2511
2512 * config/m68k-emc.exp, lib/emc-support.exp,
2513 gdb.trace/gdb_c_test.c: Delete.
2514 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
2515 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
2516 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2517 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
2518 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2519 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
2520 casing for m68k-*-elf.
2521
c4187697
NS
25222009-11-03 Pedro Alves <pedro@codesourcery.com>
2523
2524 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
2525 * gdb.arch/i386-prologue.exp: Likewise.
2526 * gdb.arch/i386-unwind.exp: Likewise.
2527
db16b772
DJ
25282009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
2529
2530 * lib/gdb.exp (gdb_expect): Fix timeout typo.
2531
bcf71277
DJ
25322009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
2533
2534 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
2535
0105cee2
DJ
25362009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
2537
2538 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
2539
24ddea62
JK
25402009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2541
2542 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
2543
287ccc17
JK
25442009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2545
2546 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
2547 * gdb.base/sepdebug2.c: New file.
2548
08bca259 25492009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
2550
2551 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
2552 the modified warnings for catch syscall. Verify if GDB was compiled
2553 with support for lib expat, and choose which tests to run depending
2554 on this.
2555
5d4e2b76
VP
25562009-10-30 Vladimir Prus <vladimir@codesourcery.com>
2557
2558 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
2559 that composite commands are parsed OK. And also test
2560 that breakpoint commands do work.
2561
240e538a
MS
25622009-10-23 Michael Snyder <msnyder@vmware.com>
2563
2564 gdb.reverse/consecutive-precsave.exp: Change expect pattern
2565 to allow for new disassembly style.
2566
9c419145
PP
25672009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2568
2569 * gdb.asm/asm-source.exp: Adjust.
2570
02506ff1
MS
25712009-10-22 Michael Snyder <msnyder@vmware.com>
2572
2573 * gdb.reverse/break-precsave.exp: New test.
2574 * gdb.reverse/consecutive-precsave.exp: Ditto.
2575 * gdb.reverse/finish-precsave.exp: Ditto.
2576 * gdb.reverse/i386-precsave.exp: Ditto.
2577 * gdb.reverse/machinestate-precsave.exp: Ditto.
2578 * gdb.reverse/sigall-precsave.exp: Ditto.
2579 * gdb.reverse/solilb-precsave.exp: Ditto.
2580 * gdb.reverse/step-precsave.exp: Ditto.
2581 * gdb.reverse/until-precsave.exp: Ditto.
2582 * gdb.reverse/watch-precsave.exp: Ditto.
2583
4cf866a3
MS
25842009-10-22 Michael Snyder <msnyder@vmware.com>
2585
2586 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
2587 for gdb_expect. Adjust one test's expect strings for the new
2588 format of disassemble.
2589 * gdb.reverse/finish-reverse.exp: Delete 'return'.
2590 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
2591 gdb_test_multiple.
2592 * gdb.reverse/step-reverse.exp: Delete 'return'.
2593 * gdb.reverse/until-reverse.exp: Delete blank lines.
2594 * gdb.reverse/watch-reverse.exp: Delete blank lines.
2595
2b28d209
PP
25962009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
2597
2598 * gdb.base/consecutive.exp: Adjust.
2599 * gdb.base/display.exp: Likewise.
2600 * gdb.base/pc-fp.exp: Likewise.
2601 * gdb.base/sigbpt.exp: Likewise.
2602
33b9c32b
MS
26032009-10-19 Michael Snyder <msnyder@vmware.com>
2604
2605 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
2606 * gdb.reverse/finish-reverse.c: Ditto.
2607 * gdb.reverse/sigall-reverse.c: Ditto.
2608 * gdb.reverse/solib-reverse.c: Ditto.
2609 * gdb.reverse/step-reverse.c: Ditto.
2610 * gdb.reverse/watch-reverse.c: Ditto.
2611
6c95b8df
PA
26122009-10-19 Pedro Alves <pedro@codesourcery.com>
2613 Stan Shebs <stan@codesourcery.com>
2614
2615 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
2616 * gdb.base/foll-exec.exp: Adjust to expect a process id before
2617 "Executing new program".
2618 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
2619 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
2620 left listed after having been killed.
2621 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
2622 * gdb.base/maint.exp: Adjust test.
2623
2624 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
2625 * gdb.multi/Makefile.in: New.
2626 * gdb.multi/base.exp: New.
2627 * gdb.multi/goodbye.c: New.
2628 * gdb.multi/hangout.c: New.
2629 * gdb.multi/hello.c: New.
2630 * gdb.multi/bkpt-multi-exec.c: New.
2631 * gdb.multi/bkpt-multi-exec.exp: New.
2632 * gdb.multi/crashme.c: New.
2633
279017b7
TG
26342009-10-13 Tristan Gingold <gingold@adacore.com>
2635
2636 * gdb.base/sepdebug.exp: Check debug info are found.
2637
0413d738
PA
26382009-10-08 Pedro Alves <pedro@codesourcery.com>
2639
2640 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
2641 bits.
2642
c628eecc
JK
26432009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2644
2645 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
2646
38af1bfe
JB
26472009-10-07 Joel Brobecker <brobecker@adacore.com>
2648
2649 * gdb.base/watchpoints.c: Add copyright header. Reformat one
2650 of the comments.
2651
2b0adecd
PM
26522009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
2653
2654 * gdb.base/annota1.exp: Remove obsolete match_max increase.
2655 * gdb.base/annota3.exp: Idem.
2656 * gdb.base/maint.exp: Idem.
2657
8d417781
PM
26582009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
2659
2660 * lib/gdb.exp (default_gdb_init): Set current value of match_max
2661 to default.
2662
bb61102d
PM
26632009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
2664
2665 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
2666 mingw and cygwin targets.
2667
ace5c364
PM
26682009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
2669 Pedro Alves <pedro@codesourcery.com>
2670
2671 * lib/gdb.exp (gdb_compile): Avoid adding
2672 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
2673
c2d494a0
PM
26742009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
2675
e1b52ce2
PM
2676 * gdb.base/shr1.c: Use %p in format string.
2677 * gdb.base/unload.c: Avoid warning in fprintf.
2678 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 2679
209f53f5
PM
26802009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
2681
2682 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
2683 long type.
2684 (test_unlink): Correct printf string.
2685 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
2686 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
2687
8172766a
JK
26882009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2689
2690 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
2691 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
2692 * gdb.arch/ia64-breakpoint-shadow.S: New file.
2693
0f73703c
UW
26942009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2695
2696 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
2697 * gdb.objc/nondebug.exp: Likewise.
2698
b32306ca
UW
26992009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2700
2701 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
2702 target_info setting.
2703
2704 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
2705 that detect new threads during "info threads".
2706
0057022f
UW
27072009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2708
2709 * gdb.threads/manythreads.c (main): Increase thread stack size
2710 to 2*PTHREAD_STACK_MIN.
2711 * gdb.threads/multi-create.c (main): Likewise.
2712 (create_function): Likewise.
2713
f29c0325
UW
27142009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2715
2716 * gdb.base/dump.exp: Pass difference of pointer types instead
2717 of integer types as offset to restore in intarr3.srec case.
2718
fcb34849
UW
27192009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2720
2721 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
2722
d5142e3b
UW
27232009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2724
2725 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
2726
087b74b2
PM
27272009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
2728
2729 New test for two watchpoints, with disabling of
2730 the first inserted.
2731 * testsuite/gdb.base/watchpoints.c: New file.
2732 * testsuite/gdb.base/watchpoints.exp: New file.
2733
96c07c5b
TT
27342009-09-25 Tom Tromey <tromey@redhat.com>
2735
2736 * gdb.base/charset.exp: Test utf-16 strings with Python.
2737
b8899f2b
TT
27382009-09-25 Tom Tromey <tromey@redhat.com>
2739
2740 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
2741 UCS-4.
2742 * gdb.base/charset.c (utf_32_string): Rename.
2743 (init_utf32): Rename.
2744 (main): Update.
2745
329719ec
TT
27462009-09-22 Tom Tromey <tromey@redhat.com>
2747
2748 * gdb.python/py-function.exp: Add regression tests.
2749
11ef0d76
KS
27502009-09-21 Keith Seitz <keiths@redhat.com>
2751
2752 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
2753 with invalid operator.
2754
3fe8f3b3
KS
27552009-09-21 Keith Seitz <keiths@redhat.com>
2756
2757 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
2758 and destructor using typedef name of class.
2759 * gdb.cp/classes.cc (class Base1): Add a destructor.
2760 (base1): New typedef.
2761 (use_methods): Instanitate an object of type base1.
2762 * gdb.cp/templates.exp (test_template_typedef): New procedure.
2763 (do_tests): Call test_template_typedef.
2764 * gdb.cp/templates.cc (Baz::~Baz): New method.
2765 (intBazOne): New typedef.
2766 (main): Instantiate intBazOne.
2767
7a9fe101
PM
27682009-09-21 Phil Muldoon <pmuldoon@redhat.com>
2769
2770 PR python/10633
2771
2772 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
2773 Function.
2774 (run_lang_tests): Add print elements test.
2775
2e4d963f
PM
27762009-09-21 Phil Muldoon <pmuldoon@redhat.com>
2777
2778 * gdb.python/py-value.exp (test_subscript_regression): New
2779 function. Test for invalid subscripts.
2780 * gdb.python/py-value.c (main): Add test array, and pointer to it.
2781 (ptr_ref): New function.
2782
ec7e75e7
PP
27832009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
2784
2785 * gdb.base/default.exp: Fix "show convenience".
2786
0cc7d26f
TT
27872009-09-15 Tom Tromey <tromey@redhat.com>
2788
2789 * lib/mi-support.exp (mi_create_varobj): Update.
2790 (mi_create_floating_varobj): Likewise.
2791 (mi_create_dynamic_varobj): New proc.
2792 (mi_varobj_update): Update.
2793 (mi_varobj_update_with_type_change): Likewise.
2794 (mi_varobj_update_kv_helper): New proc.
2795 (mi_varobj_update_dynamic_helper): Rewrite.
2796 (mi_varobj_update_dynamic): New proc.
2797 (mi_list_varobj_children): Update.
2798 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
2799 * gdb.python/python-prettyprint.py (pp_outer): New class.
2800 (pp_nullstr): Likewise.
2801 (lookup_function): Register new printers.
2802 * gdb.python/python-prettyprint.c (struct substruct): New type.
2803 (struct outerstruct): Likewise.
2804 (substruct_test): New function.
2805 (struct nullstr): New type.
2806 (string_1, string_2): New globals.
2807 (main): Add new tests.
2808 * gdb.python/python-mi.exp: Added regression tests.
2809 * gdb.mi/mi2-var-display.exp: Update.
2810 * gdb.mi/mi2-var-cmd.exp: Update.
2811 * gdb.mi/mi2-var-child.exp: Update.
2812 * gdb.mi/mi2-var-block.exp: Update.
2813 * gdb.mi/mi-var-invalidate.exp: Update.
2814 * gdb.mi/mi-var-display.exp: Update.
2815 * gdb.mi/mi-var-cmd.exp: Update.
2816 * gdb.mi/mi-var-child.exp: Update.
2817 * gdb.mi/mi-var-block.exp: Update.
2818 * gdb.mi/mi-break.exp: Update.
2819 * gdb.mi/gdb701.exp: Update.
2820
a96d9b2e
SDJ
28212009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
2822
2823 * Makefile.in: Inclusion of catch-syscall object.
2824 * gdb.base/catch-syscall.c: New file.
2825 * gdb.base/catch-syscall.exp: New file.
2826
b43b923a
MS
28272009-09-12 Michael Snyder <msnyder@vmware.com>
2828
2829 * gdb.reverse/step-reverse.exp: Explicitly check for targets
2830 that can support reverse debuggnig.
2831
cec03d70
TT
28322009-09-11 Tom Tromey <tromey@redhat.com>
2833
2834 * gdb.dwarf2/valop.S: New file.
2835 * gdb.dwarf2/valop.exp: New file.
2836
e23bb3fc
MK
28372009-09-11 Mark Kettenis <kettenis@gnu.org>
2838
2839 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
2840
37c3696d
DE
28412009-09-10 Doug Evans <dje@google.com>
2842
2843 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
2844 Add $gdb_prompt to second breakpoint regexp.
2845
5172aecb
JB
28462009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
2847
2848 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
2849 names, add missing ones.
2850 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
2851 * gdb.python/py-frame.c: Rename from python-frame.c.
2852 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
2853 testfile name.
2854 * gdb.python/py-function.exp: Rename from python-function.exp.
2855 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
2856 testfile name.
2857 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
2858 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
2859 Adjust testfile name.
2860 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
2861 * gdb.python/py-template.cc: Rename from python-template.cc.
2862 * gdb.python/py-template.exp: Rename from python-template.exp.
2863 Adjust testfile name.
2864 * gdb.python/py-value.c: Rename from python-value.c.
2865 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
2866 testfile name.
2867
b554e4bd
JK
28682009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2869
2870 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
2871 $bpt2address.
2872 (Second breakpoint address is valid on ia64)
2873 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
2874
9a68ae16
JM
28752009-09-03 Joseph Myers <joseph@codesourcery.com>
2876
2877 * gdb.base/ending-run.exp: Restrict regular expression matching
2878 line number to require closing brace following.
2879
146b9145
DE
28802009-09-03 Doug Evans <dje@google.com>
2881
2882 * gdb.base/store.exp (check_set): Fix typo in expected value message.
2883
787d21e1
TT
28842009-09-02 Tom Tromey <tromey@redhat.com>
2885
2886 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
2887
e7802207
TT
28882009-09-02 Tom Tromey <tromey@redhat.com>
2889
2890 * gdb.dwarf2/callframecfa.exp: New file.
2891 * gdb.dwarf2/callframecfa.S: New file.
2892
817aadd2
JK
28932009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2894
2895 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
2896 gdb.base/solib-overlap-main.c: New.
2897
4a76eae5
DJ
28982009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
2899
2900 PR gdb/10565
2901
2902 * gdb.base/bitfields.c (struct container, container): New.
2903 (main): Initialize it and call break5.
2904 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
2905
d4b96c9a
JK
29062009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2907
2908 Support constant DW_AT_data_member_location by GCC PR debug/40659.
2909 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
2910
4e22772d
JK
29112009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2912
2913 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
2914
2efab443
MS
29152009-08-26 Michael Snyder <msnyder@vmware.com>
2916
2917 * gdb.base/i386-reverse.c: New file.
2918 * gdb.base/i386-reverse.exp: New file.
2919 * gdb.base/Makefile.in: Add new files to be removed.
2920
07ab73a0
JM
29212009-08-26 Joseph Myers <joseph@codesourcery.com>
2922
2923 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
2924 environment-pwd for remote host.
2925 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
2926
676accff
KS
29272009-08-24 Keith Seitz <keiths@redhat.com>
2928
2929 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
2930 Add two new C++ completer tests which limit the output to a
2931 given class.
2932
f9f7ad22
MS
29332009-08-24 Michael Snyder <msnyder@vmware.com>
2934
2935 * gdb.base/del.exp: Fix typo in comment.
2936 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
2937
81ecdfbb
RW
29382009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2939
2940 * configure: Regenerate.
2941 * gdb.hp/configure: Likewise.
2942 * gdb.hp/gdb.aCC/configure: Likewise.
2943 * gdb.hp/gdb.base-hp/configure: Likewise.
2944 * gdb.hp/gdb.compat/configure: Likewise.
2945 * gdb.hp/gdb.defects/configure: Likewise.
2946 * gdb.hp/gdb.objdbg/configure: Likewise.
2947 * gdb.stabs/configure: Likewise.
2948
cab0c772
UW
29492009-08-19 Doug Evans <dje@google.com>
2950
2951 * gdb.base/gdbvars.c: New file.
2952 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
2953
b8fa0bfa
PA
29542009-08-14 Pedro Alves <pedro@codesourcery.com>
2955
2956 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
2957 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
2958
b84aa90a
PA
29592009-08-13 Pedro Alves <pedro@codesourcery.com>
2960
2961 * gdb.base/default.exp: Adjust "set language test": it's now an
2962 enum command. Larger help string moved to "help set language".
2963 * gdb.base/help.exp: Adjust "help set language" expected output,
2964 now lists all known languages.
2965
0d8f9b2c
NF
29662009-08-11 Nathan Froyd <froydnj@codesourcery.com>
2967
2968 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
2969 all frame arguments.
2970 * gdb.arch/altivec-regs.exp: Likewise.
2971
bda180e0
TT
29722009-08-07 Tom Tromey <tromey@redhat.com>
2973
2974 * gdb.base/setshow.exp: Add tests for changes to set language, set
2975 check range, and set check type.
2976
48cb2d85
VP
29772009-08-03 Vladimir Prus <vladimir@codesourcery.com>
2978
2979 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
2980 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
2981 Call it.
2982
1ea34204
UW
29832009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2984
2985 * configure.ac: Run gdb.cell tests when appropriate.
2986 * configure: Regenerate.
2987 * lib/cell.exp: New file.
2988 * gdb.cell: New directory.
2989 * gdb.cell/configure.ac: New file.
2990 * gdb.cell/configure: New file.
2991 * gdb.cell/Makefile.in: New file.
2992 * gdb.cell/arch.exp: New file.
2993 * gdb.cell/break.c: New file.
2994 * gdb.cell/break.exp: New file.
2995 * gdb.cell/break-spu.c: New file.
2996 * gdb.cell/bt.c: New file.
2997 * gdb.cell/bt2-spu.c: New file.
2998 * gdb.cell/bt-spu.c: New file.
2999 * gdb.cell/bt.exp: New file.
3000 * gdb.cell/coremaker.c: New file.
3001 * gdb.cell/coremaker-spu.c: New file.
3002 * gdb.cell/core.exp: New file.
3003 * gdb.cell/gcore.exp: New file.
3004 * gdb.cell/data.c: New file.
3005 * gdb.cell/data.exp: New file.
3006 * gdb.cell/data-spu.c: New file.
3007 * gdb.cell/ea-cache.exp: New file.
3008 * gdb.cell/ea-cache.c: New file.
3009 * gdb.cell/ea-cache-spu.c: New file.
3010 * gdb.cell/ea-standalone.c: New file.
3011 * gdb.cell/ea-standalone.exp: New file.
3012 * gdb.cell/ea-test.c: New file.
3013 * gdb.cell/ea-test.exp: New file.
3014 * gdb.cell/f-regs.exp: New file.
3015 * gdb.cell/mem-access.c: New file.
3016 * gdb.cell/mem-access.exp: New file.
3017 * gdb.cell/mem-access-spu.c: New file.
3018 * gdb.cell/ptype.exp: New file.
3019 * gdb.cell/registers.exp: New file.
3020 * gdb.cell/size.c: New file.
3021 * gdb.cell/sizeof.exp: New file.
3022 * gdb.cell/size-spu.c: New file.
3023 * gdb.cell/solib.exp: New file.
3024 * gdb.cell/solib-symbol.exp: New file.
3025
85e747d2
UW
30262009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3027
3028 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
3029
58d6951d
DJ
30302009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
3031
3032 * gdb.base/float.exp: Handle VFP registers.
3033
6e0a4f15
MS
30342009-07-14 Michael Snyder <msnyder@vmware.com>
3035
dcd5da87
MS
3036 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
3037 to bring gdb to the beginning of the calling line.
3038
6e0a4f15
MS
3039 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
3040 confusing the i386 epilogue unwinder.
3041
782b2b07
SS
30422009-07-14 Stan Shebs <stan@codesourcery.com>
3043
3044 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
3045
f662c3bc
MS
30462009-07-14 Michael Snyder <msnyder@vmware.com>
3047
3048 * gdb.reverse/step-reverse.exp (stepi into function call):
3049 Call instruction may not be first instruction in the line.
3050 (reverse stepi from a function call): Used wrong line number.
3051
8f313923
JK
30522009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3053
3054 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
3055
4662c76e
JK
30562009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3057
3058 Fix gdb.base/macscp.exp when using custom inputrc.
3059 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
3060 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
3061 env(TERM) set.
3062 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
3063 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
3064
aa81e255
JK
30652009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3066
3067 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
3068 * gdb.base/annota1.exp (thread_test): Import global $testfile.
3069 Change the compilation target to match the testcase name.
3070 * gdb.base/sect-cmd.exp: Change the compilation target to match the
3071 testcase name.
3072 * a2-run.exp: Use for setup prepare_for_testing. Change the
3073 compilation target to match the testcase name.
3074 * gdb.base/commands.exp: Likewise.
3075 * gdb.base/finish.exp: Likewise.
3076 * gdb.base/float.exp: Likewise.
3077 * gdb.base/info-target.exp: Likewise.
3078 * gdb.base/relational.exp: Likewise.
3079 * gdb.base/term.exp: Likewise.
3080 * gdb.base/until.exp: Likewise.
3081 * gdb.base/volatile.exp: Likewise.
3082 * gdb.base/whatis-exp.exp: Likewise.
3083
4c93b1d7
HZ
30842009-07-11 Hui Zhu <teawater@gmail.com>
3085
3086 * gdb.base/help.exp (disassemble): Update expected help text.
3087
812f7342
TT
30882009-07-09 Tom Tromey <tromey@redhat.com>
3089
3090 * lib/gdb.exp: Handle TRANSCRIPT.
3091 (remote_spawn, remote_close, send_gdb): New procs.
3092
fbb8f299
PM
30932009-07-10 Phil Muldoon <pmuldoon@redhat.com>
3094
3095 * gdb.python/python-prettyprint.c: Add counted null string
3096 structure.
3097 * gdb.python/python-prettyprint.exp: Print null string. Test for
3098 embedded nulls.
3099 * gdb.python/python-prettyprint.py (pp_ns): New Function.
3100 * gdb.python/python-value.exp (test_value_in_inferior): Add
3101 variable length string fetch tests.
3102 * gdb.python/python-value.c (main): Add strings for string fetch tests.
3103
c0ac0ec7
JK
31042009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3105
3106 * gdb.base/dump.exp (inaccessible memory is reported): New test.
3107
30b66ecc
TT
31082009-07-07 Tom Tromey <tromey@redhat.com>
3109
3110 * gdb.base/call-rt-st.exp: Update for change to escape output.
3111 * gdb.base/callfuncs.exp: Likewise.
3112 * gdb.base/charset.exp: Likewise.
3113 * gdb.base/constvars.exp: Likewise.
3114 * gdb.base/long_long.exp: Likewise.
3115 * gdb.base/pointers.exp: Likewise.
3116 * gdb.base/printcmds.exp: Likewise.
3117 * gdb.base/setvar.exp: Likewise.
3118 * gdb.base/store.exp: Likewise.
3119 * gdb.cp/ref-types.exp: Likewise.
3120 * gdb.mi/mi-var-child.exp: Likewise.
3121 * gdb.mi/mi-var-display.exp: Likewise.
3122 * gdb.mi/mi2-var-display.exp: Likewise.
3123 * gdb.base/charset.exp: Test octal escape sequence length.
3124 Update for change to escape output.
3125
187c4a2b
JK
31262009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3127
3128 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
3129
d80a43f9
DJ
31302009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
3131
3132 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
3133
047427a8
JK
31342009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3135
3136 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
3137 gdbserver increasing $portnum if "Can't bind address" has been seen.
3138
8b5a0f4f
PA
31392009-07-05 Pedro Alves <pedro@codesourcery.com>
3140
3141 * gdb.base/ending-run.exp: Add "step out of main" pattern for
3142 mingw32ce.
3143
7d93ba58
PA
31442009-07-05 Pedro Alves <pedro@codesourcery.com>
3145
3146 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
3147 VFP format.
3148
2277426b
PA
31492009-07-02 Pedro Alves <pedro@codesourcery.com>
3150
3151 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
3152 linux. Adjust to use "inferior", "info inferiors", "detach
3153 inferior" and "kill inferior" instead of "restart", "info fork",
3154 "detach fork" and "delete fork".
3155 * gdb.base/ending-run.exp: Spell out "info".
3156 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
3157 the "kill" command.
3158
5af949e3
UW
31592009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3160
3161 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
3162 change to prefix TLS offset in hex with 0x.
3163
5d3729b5
UW
31642009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3165
3166 * gdb.base/default.exp: Update test case for "x" changes.
3167
af589bd0
TG
31682009-07-01 Tristan Gingold <gingold@adacore.com>
3169
3170 * gdb.base/bigcore.exp: Make darwin untested.
3171
40974f91
JK
31722009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3173
3174 * gdb.base/completion.exp (directory completion): Create the directory.
3175 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
3176 escapeuniquesub.
3177 (directory completion 2): Expect now ${escapeuniquesub}.
3178 (Glob remaining of directory test): Remove one excessive newline.
3179 Expect the real output.
3180
59dd3af6
JK
31812009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3182
3183 Fix `make check//%' target after `make check' has been ran.
3184 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
3185 a mkdir call.
3186 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
3187 (%/.dir): Remove.
3188
f4e164aa
JK
31892009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3190
3191 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
3192 the expected result record.
3193
69af2122
JK
31942009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3195
3196 Remove racy FAILs relying just on the timeouts.
3197 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
3198 (annotation_level 2): Remove racy FAILs.
3199
2fd481e1
PP
32002009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
3201
3202 gdb/10275
3203 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
3204
c38f313d
DJ
32052009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
3206
3207 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
3208
8b777f02
VP
32092009-06-30 Vladimir Prus <vladimir@codesourcery.com>
3210
3211 * gdb.mi/mi-stack.exp: Testing symbolic options
3212 to -stack-list-locals and -stack-list-arguments.
3213
00c7eacf
JK
32142009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3215
3216 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
3217
6bc80edc
TT
32182009-06-29 Tom Tromey <tromey@redhat.com>
3219
3220 * dg-extract-results.sh: New file.
3221 * Makefile.in (FORCE_PARALLEL): New variable.
3222 (CHECK_TARGET): New conditional variable.
3223 (check): Use CHECK_TARGET.
3224 (DO_RUNTEST): New variable.
3225 (check-single): New target.
3226 (TEST_DIRS): New variable.
3227 (TEST_TARGETS): Likewise.
3228 (check-parallel): New target.
3229 (check-gdb.%): New pattern.
3230 (BASE1_FILES): New variable.
3231 (BASE2_FILES): Likewise.
3232 (check-gdb.base%): New pattern.
3233 (%/.dir): New pattern.
3234 * configure: Rebuild.
3235 * aclocal.m4 (AM_CONDITIONAL): New defun.
3236 * configure.ac: Check whether user is using GNU make.
3237 (GMAKE): New conditional.
3238
794684b6
SW
32392009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
3240
3241 * gdb.cp/namespace-nested-import.cc: New test.
3242 * gdb.cp/namespace-nested-import.exp: New test.
3243
edb3359d
DJ
32442009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
3245
3246 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
3247 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
3248 * gdb.opt/Makefile.in (EXECUTABLES): Update.
3249 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
3250 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
3251 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
3252 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
3253 gdb.opt/inline-markers.c: New files.
3254 * lib/gdb.exp (skip_inline_frame_tests): New function.
3255 (skip_inline_var_tests): New function.
3256
cf657a0c
AS
32572009-06-27 Andreas Schwab <schwab@linux-m68k.org>
3258
3259 * gdb.cp/exception.exp: Don't require $hex before inner frame in
3260 backtrace.
3261
28d41a99
MS
32622009-06-27 Michael Snyder <msnyder@vmware.com>
3263
3264 * gdb.reverse: New directory.
3265 * gdb.reverse/break-reverse.c: New test.
3266 * gdb.reverse/break-reverse.exp: New test.
3267 * gdb.reverse/consecutive-reverse.c: New test.
3268 * gdb.reverse/consecutive-reverse.exp: New test.
3269 * gdb.reverse/finish-reverse.c: New test.
3270 * gdb.reverse/finish-reverse.exp: New test.
3271 * gdb.reverse/machinestate.c: New test.
3272 * gdb.reverse/ms1.c: New test.
3273 * gdb.reverse/machinestate.exp: New test.
3274 * gdb.reverse/Makefile.in: New file.
3275 * gdb.reverse/shr2.c: New test.
3276 * gdb.reverse/solib-reverse.c: New test.
3277 * gdb.reverse/solib-reverse.exp: New test.
3278 * gdb.reverse/step-reverse.c: New test.
3279 * gdb.reverse/step-reverse.exp: New test.
3280 * gdb.reverse/until-reverse.c: New test.
3281 * gdb.reverse/ur1.c: New test.
3282 * gdb.reverse/until-reverse.exp: New test.
3283 * gdb.reverse/watch-reverse.c: New test.
3284 * gdb.reverse/watch-reverse.exp: New test.
3285 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
3286 * configure: Regenerate.
3287
fe3c8b0d
DE
32882009-06-26 Doug Evans <dje@google.com>
3289
3290 * gdb.base/psymtab.exp: Turn off pending breakpoints.
3291
3a72a602
PM
32922009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
3293
3294 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
3295 windows problem for 'file delete $binfile'.
3296
27aa8d6a
SW
32972009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
3298
3299 * gdb.cp/namespace-using.exp: New test.
3300 * gdb.cp/namespace-using.cc: New test.
3301
8ac055f8
JB
33022009-05-20 Joel Brobecker <brobecker@adacore.com>
3303
3304 * gdb.ada/variant_record_packed_array: New testcase.
3305
85e306ed
TT
33062009-06-23 Tom Tromey <tromey@redhat.com>
3307
3308 * gdb.base/charset.exp (test_combination): Regression test.
3309 * gdb.base/charset.c (my_wchar_t): New typedef.
3310 (myvar): New global.
3311 (main): Set myvar.
3312
56643c5e
PM
33132009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
3314
3315 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
3316 target.
3317
1fac167a
UW
33182009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3319
3320 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
3321
7ccb0be9
UW
33222009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3323
3324 * gdb.mi/gdb680.exp: Update test for error message.
3325
568d6575
UW
33262009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3327
3328 * gdb.base/annota1.exp: Allow multiple occurrences of the
3329 frames-invalid annotation.
3330 * gdb.cp/annota2.exp: Likewise.
3331
7cd1089b
PM
33322009-06-15 Phil Muldoon <pmuldoon@redhat.com>
3333
3334 * gdb.cp/gdb2495.cc: New file.
3335 * gdb.cp/gdb2495.exp: New file.
3336
72c63395
JK
33372009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3338
3339 Report error on GDB crash during runto.
3340 * lib/gdb.exp (runto <eof>): New.
3341
3788363d
DJ
33422009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
3343
3344 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
3345 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
3346 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
3347 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
3348 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
3349 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
3350 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
3351 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
3352 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
3353 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
3354 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
3355 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
3356 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
3357 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
3358 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
3359 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
3360 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
3361 gdb.server/server-mon.exp, gdb.server/server-run.exp,
3362 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3363 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3364 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
3365 gdb.trace/passcount.exp, gdb.trace/report.exp,
3366 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
3367 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
3368 gdb.trace/while-stepping.exp: Use a unique name for the compiled
3369 executable.
3370
17592de3
PA
33712009-06-07 Pedro Alves <pedro@codesourcery.com>
3372
3373 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
3374 defined before referencing it.
3375
701e355d
DE
33762009-06-03 Doug Evans <dje@google.com>
3377
3378 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
3379 * gdb.arch/i386-see.c: Ditto.
3380
f2292c65
PM
33812009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
3382
3383 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
3384 (check_macro): Return 1 if undefined.
3385 If first test fails, check if macro debug information is available,
3386 and report unsupported test if no macro information is found.
3387
5a437975
DE
33882009-05-29 Doug Evans <dje@google.com>
3389
3390 * gdb.threads/hand-call-in-threads.exp: New.
3391 * gdb.threads/hand-call-in-threads.c: New.
3392
c141c696
MS
33932009-05-29 Michael Snyder <msnyder@vmware.com>
3394
3395 * gdb.base/break-always.exp: Change "1" to "on".
3396 Add confirmation check.
3397
b3444185
PA
33982009-05-28 Pedro Alves <pedro@codesourcery.com>
3399
3400 * gdb.threads/threxit-hop-specific.c: New.
3401 * gdb.threads/threxit-hop-specific.exp: New.
3402 * gdb.threads/thread-execl.c: New.
3403 * gdb.threads/thread-execl.exp: New.
3404
b6313243
TT
34052009-05-27 Tom Tromey <tromey@redhat.com>
3406 Thiago Jung Bauermann <bauerman@br.ibm.com>
3407
3408 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
3409 (mi_child_regexp): Likewise.
3410 (mi_list_varobj_children_range): Likewise.
3411 (mi_get_features): Likewise.
3412 (mi_list_varobj_children): Rewrite.
3413 * gdb.python/python-mi.exp: New file.
3414
a6bac58e
TT
34152009-05-27 Tom Tromey <tromey@redhat.com>
3416 Thiago Jung Bauermann <bauerman@br.ibm.com>
3417 Phil Muldoon <pmuldoon@redhat.com>
3418 Paul Pluzhnikov <ppluzhnikov@google.com>
3419
3420 * gdb.python/python-prettyprint.exp: New file.
3421 * gdb.python/python-prettyprint.c: New file.
3422 * gdb.python/python-prettyprint.py: New file.
3423 * gdb.base/display.exp: print/r is now valid.
3424
2c74e833
TT
34252009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
3426 Tom Tromey <tromey@redhat.com>
3427 Pedro Alves <pedro@codesourcery.com>
3428 Paul Pluzhnikov <ppluzhnikov@google.com>
3429
3430 * gdb.python/python-template.exp: New file.
3431 * gdb.python/python-template.cc: New file.
3432 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
3433 tests.
3434 * gdb.python/python-value.exp (py_objfile_tests): New proc.
3435 Call it.
3436 (test_value_after_death): New proc.
3437 * gdb.python/python-value.c (PTR): New typedef.
3438 (main): New variable 'x'.
3439
89c73ade
TT
34402009-05-27 Tom Tromey <tromey@redhat.com>
3441
3442 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
3443 tests.
3444 * gdb.python/python-value.exp (py_objfile_tests): New proc.
3445 Call it.
3446
a75724bc
PA
34472009-05-27 Pedro Alves <pedro@codesourcery.com>
3448
3449 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
3450
e58b0e63
PA
34512009-05-24 Pedro Alves <pedro@codesourcery.com>
3452
3453 * gdb.threads/fork-thread-pending.c: New.
3454 * gdb.threads/fork-thread-pending.exp: New.
3455
4ac36638
JK
34562009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3457
3458 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
3459 * gdb.dwarf2/dw2-strp.S (a_string2): New.
3460
c28c63d8
JB
34612009-05-18 Jon Beniston <jon@beniston.com>
3462
3463 * gdb.asm/asm-source.exp: Add lm32 target.
3464
b242c3c2
PA
34652009-05-17 Pedro Alves <pedro@codesourcery.com>
3466
3467 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
3468 `gdb_get_line_number'. Call `callee' in both parent and child.
3469 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
3470 `gdb_get_line_number' instead of hardcoding line numbers.
3471 (catch_fork_unpatch_child): New procedure to test detaching
3472 breakpoints from child fork.
3473 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
3474 hardcoding line numbers.
3475 (do_fork_tests): Run `catch_fork_unpatch_child'.
3476
ee342b23
VP
34772009-05-17 Vladimir Prus <vladimir@codesourcery.com>
3478
3479 * gdb.mi/mi-cmd-var.exp: Check that when varobj
3480 of structure type enters or leaves the scope, it
3481 is reported by -var-update.
3482
e2009e98
DE
34832009-05-11 Doug Evans <dje@sebabeach.org>
3484
3485 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
3486 * gdb.threads/pending-step.c (main): Fix off-by-one error.
3487 * gdb.threads/schedlock.c (main): Fix off-by-one error.
3488
00903456
JK
34892009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3490
3491 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
3492
dc621c35
DE
34932009-04-30 Doug Evans <dje@google.com>
3494
3495 * gdb.threads/watchthreads2.exp: New testcase.
3496 * gdb.threads/watchthreads2.c: New testcase.
3497
9ab4e744
DE
34982009-04-29 Doug Evans <dje@google.com>
3499
3500 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
3501 * gdb.cp/mb-ctor.cc: Ditto.
3502 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
3503 * gdb.cp/mb-inline.h (multi_line_foo): New function.
3504 * gdb.cp/mb-inline1.cc: Call it.
3505 * gdb.cp/mb-inline2.cc: Ditto.
3506 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
3507 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
3508
484086b7
JK
35092009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3510
3511 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
3512 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
3513 Replace all uses of `decimal' by `nonzero'.
3514 (info macro FROM_COMMANDLINE): New test.
3515
379a77b5
TT
35162009-04-27 Tom Tromey <tromey@redhat.com>
3517
3518 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
3519
b92b73c2
DE
35202009-04-27 Doug Evans <dje@google.com>
3521
3522 * gdb.threads/watchthreads.c (main): Initialize args before starting
3523 the threads. Plus formatting cleanup.
3524 * gdb.threads/watchthreads.exp: Avoid errant failures due to
3525 biased scheduling of one thread.
3526
945a118d
JG
35272009-04-27 Jerome Guitton <guitton@adacore.com>
3528
3529 * gdb.cp/templates.cc (GetMax): New template.
3530 (main): Declare two instances of GetMax.
3531 * gdb.cp/templates.exp: Add new test.
3532
d389af10
JK
35332009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3534
3535 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
3536
e7f86de9
JM
35372009-04-22 Joseph Myers <joseph@codesourcery.com>
3538
3539 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
3540
334cc82d
TT
35412009-04-15 Tom Tromey <tromey@redhat.com>
3542
3543 * gdb.base/charset.exp: Add regression test.
3544
d12672cc
JB
35452009-04-14 Joel Brobecker <brobecker@adacore.com>
3546
3547 * gdb.base/exe-lock.exp: New testcase.
3548
18e8c3bc
TT
35492009-04-13 Tom Tromey <tromey@redhat.com>
3550
3551 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
3552 operator on Frame.
3553
5ecd5cbe
UW
35542009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3555
3556 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
3557 * gdb.server/ext-attach.exp: Likewise.
3558
7309f756
VP
35592009-04-03 Vladimir Prus <vladimir@codesourcery.com>
3560
3561 Eliminate some sleep usage.
3562
3563 * gdb.mi/basics.c (do_nothing): New.
3564 (main): Use do_nothing instead of printf, so that
3565 not to introduce race condition between output of
3566 inferiour and output of gdb. Do not use sleep as it
3567 is not generally available on embedded targets.
3568
f4b95f6f
PA
35692009-04-02 Pedro Alves <pedro@codesourcery.com>
3570
3571 * gdb.server/ext-attach.exp: Expect an optional process id after
3572 "Detached from remote process".
3573
de40b933
JK
35742009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3575
3576 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
3577 gdb.dwarf2/dw2-unresolved.exp: New.
3578
2ae101a4
PA
35792009-04-02 Pedro Alves <pedro@codesourcery.com>
3580
3581 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
3582 mi_run_to_main.
3583
56a8e183
PA
35842009-04-02 Pedro Alves <pedro@codesourcery.com>
3585
3586 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
3587 mi_run_to_main. Skip thread exit test on remote targets.
3588 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
3589 mi_run_to_main.
3590 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
3591 mi_run_to_main.
3592 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
3593 when expecting ^connected. Detect when the target doesn't support
3594 non-stop mode.
3595 (mi_run_cmd): Detect if non-stop mode was requested by isn't
3596 supported. Return -1 on error, 0 on success.
3597 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
3598 (mi_runto): Return mi_runto_helper's result explicitly.
3599
c35fafde
PA
36002009-04-01 Pedro Alves <pedro@codesourcery.com>
3601
3602 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
3603
f8a8dce6
JB
36042009-04-01 Tom Tromey <tromey@redhat.com>
3605
3606 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
3607 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
3608 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
3609 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
3610
71c25dea
TT
36112009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
3612 Jan Kratochvil <jan.kratochvil@redhat.com>
3613
3614 PR gdb/931
3615 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
3616 output.
3617 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
3618 for gdb/931.
3619 * dw2-strp.S (DW_AT_language): Change to C++.
3620 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
3621
02d9a9ce
JB
36222009-03-31 Joel Brobecker <brobecker@adacore.com>
3623
3624 * gdb.ada/tasks: New testcase.
3625
1042e4c0
SS
36262009-03-30 Stan Shebs <stan@codesourcery.com>
3627
3628 * gdb.trace/actions.exp: Update to match new info trace format.
3629 * gdb.trace/deltrace.exp: Ditto.
3630 * gdb.trace/infotrace.exp: Ditto.
3631 * gdb.trace/passcount.exp: Ditto.
3632 * gdb.trace/save-trace.exp: Ditto.
3633 * gdb.trace/while-stepping.exp: Ditto.
3634 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
3635
f8f6f20b
TJB
36362009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
3637
3638 * gdb.python/python-frame.c: New file.
3639 * gdb.python/python-frame.exp: New file.
3640
c0c6f777
TJB
36412009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
3642
3643 * gdb.python/python-value.exp: Add tests for the address
3644 attribute.
3645
3cb51905
AS
36462009-03-29 Andreas Schwab <schwab@linux-m68k.org>
3647
3648 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
3649
88fc996f
DE
36502009-03-26 Doug Evans <dje@google.com>
3651
3652 * gdb.mi/mi-nonstop-exit.exp: New file.
3653 * gdb.mi/non-stop-exit.c: New file.
3654
56ef84b1
TT
36552009-03-26 Tom Tromey <tromey@redhat.com>
3656
3657 Update for change to prologue skipping:
3658 * gdb.mi/mi2-simplerun.exp: Update.
3659 * gdb.mi/mi2-break.exp: Update.
3660 * gdb.mi/mi-simplerun.exp: Update.
3661 * gdb.mi/mi-break.exp: Update.
3662 * gdb.base/ending-run.exp: Update.
3663
def2b000
TJB
36642009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
3665
3666 * gdb.python/python-value.exp (test_value_in_inferior): Test
3667 gdb.Value.is_optimized_out attribute.
3668
442ddf59
JK
36692009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3670
3671 * gdb.dwarf2/dw2-noloc-main.c: New file.
3672 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
3673 (.text): Remove.
3674 (.data): New.
3675 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
3676 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
3677 (DW_TAG_subprogram func_cu1, noloc): Remove.
3678 (main): New.
3679 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
3680 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
3681 (file_symbols): New procedure.
3682
a8df5de4
TT
36832009-03-25 Tom Tromey <tromey@redhat.com>
3684
3685 * gdb.base/charset.exp (valid_target_charset): New proc.
3686 Use it to skip tests on invalid charsets.
3687
cc1d7add
PM
36882009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
3689
3690 * gdb.base/completion.exp: Add a test for directory completion.
3691
bcd5727b
JK
36922009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3693
3694 Fix a racy FAIL.
3695 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
3696 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
3697
cc924cad
TJB
36982009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
3699
3700 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
3701 * gdb.python/python-function.exp: Add test for function returning
3702 a GDB value.
3703
bc3b79fd
TJB
37042009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
3705
3706 * gdb.python/python-function.exp: New file.
3707
6c7a06a3
TT
37082009-03-20 Tom Tromey <tromey@redhat.com>
3709
3710 * gdb.base/store.exp: Update for change to escape output.
3711 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
3712 to escape output.
3713 * gdb.base/pointers.exp: Update for change to escape output.
3714 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
3715 to escape output.
3716 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
3717 escape output.
3718 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
3719 to escape output.
3720 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
3721 escape output.
3722 * gdb.base/setvar.exp: Update for change to escape output.
3723 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
3724 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
3725 to escape output.
3726 (test_print_string_constants): Likewise.
3727 * gdb.base/charset.exp (valid_host_charset): Check size of
3728 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
3729 cases. Handle "auto"-related output.
3730 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
3731 (uvar, Uvar): New globals.
3732
c31af87b
JG
37332009-03-19 Jerome Guitton <guitton@adacore.com>
3734
3735 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
3736 deltas.
3737 * gdb.ada/fixed_points.exp: Ditto.
3738
51272cf2
PA
37392009-03-18 Pedro Alves <pedro@codesourcery.com>
3740
3741 * return-nodebug.c: Don't include stdio.h.
3742 (init): Delete.
3743 (func): Delete definition and provide extern declaration.
3744 (t): New.
3745 (main): Don't call printf. Call func and store its result in t.
3746 * return-nodebug1.c: New.
3747 * return-nodebug.exp: Don't expect stdio output. Instead, print
3748 the global variable t. Drop printf formatters and cast types from
3749 foreach loop. Don't use prepare_for_testing. Compile
3750 return-nodebug.c and return-nodebug1.c in separate steps. Don't
3751 define FORMAT or CAST.
3752
d24948ac
PP
37532009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3754
3755 * gdb.base/solib-display.exp: Disable test for remote targers.
3756
61ff14c6
JK
37572009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3758
3759 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
3760
cb4dce93
JK
37612009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3762
3763 Fix a racy FAIL.
3764 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
3765 code from `follow parent, print pids'.
3766 (`follow child, print pids', `follow parent, print pids'): Call it.
3767 Replace `gdb_test "break..."' by gdb_breakpoint.
3768
f7c60c5e
VP
37692009-03-13 Vladimir Prus <vladimir@codesourcery.com>
3770
3771 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 3772 sync and async modes.
f7c60c5e 3773
383ace49
JB
37742009-03-12 Joel Brobecker <brobecker@adacore.com>
3775
3776 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
3777 that was checked in by mistake. Remove loading of ada.exp, since
3778 this is not necessary in this case.
3779
4ce102af
JB
37802009-03-12 Joel Brobecker <brobecker@adacore.com>
3781
3782 * gdb.ada/ptype_arith_binop.exp: New testcase.
3783
529a2aef
JB
37842009-03-12 Joel Brobecker <brobecker@adacore.com>
3785
3786 * gdb.ada/mod_from_name: New testcase.
3787
8a38181c
JB
37882009-03-12 Joel Brobecker <brobecker@adacore.com>
3789
3790 * gdb.ada/tick_last_segv: New testcase.
3791
11436dee
VP
37922009-03-12 Vladimir Prus <vladimir@codesourcery.com>
3793
61ff14c6 3794 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 3795
1f31650a
VP
37962009-03-12 Vladimir Prus <vladimir@codesourcery.com>
3797
61ff14c6
JK
3798 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
3799 include the token in ^running and frame info in *stopped.
1f31650a 3800
a3247a22
PP
38012009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3802
3803 * solib-display.exp: New file.
3804 * solib-display-main.c: New file.
3805 * solib-display-lib.c: New file.
61ff14c6 3806
aae64587
PA
38072009-03-05 Pedro Alves <pedro@codesourcery.com>
3808
3809 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
3810
44aabfbc
JK
38112009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3812
3813 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
3814 (list_and_check_macro): Use more specific test name.
3815 (next to definition): Make the test names unique.
3816
c087fcd3
PM
38172009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
3818
3819 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 3820
c86cf029
VP
38212009-02-17 Vladimir Prus <vladimir@codesourcery.com>
3822
3823 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
3824 notifications.
3825 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
3826 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
3827 * lib/mi-support.exp (library_loaded_re): New.
3828 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
3829
3ea85240
VP
38302009-02-17 Vladimir Prus <vladimir@codesourcery.com>
3831
3832 * gdb.gdb/observer.exp: Use test_notification observer, not
3833 normal_stop, everywhere.
3834 (test_normal_stop_notifications): Rename to...
3835 (test_notifications): ...this.
3836 (test_observer_normal_stop): Rename to...
3837 (test_observer): ...this.
3838
1903f0e6
DE
38392009-02-16 Doug Evans <dje@google.com>
3840
3841 * gdb.arch/amd64-disp-step.S (test_int3): New test.
3842 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
3843 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
3844 (test_prefixed_syscall,test_int3): New tests.
3845 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
3846 (test_prefixed_syscall,test_int3): New tests.
3847
1d33d6ba
VP
38482009-02-14 Vladimir Prus <vladimir@codesourcery.com>
3849
3cb51905
AS
3850 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
3851 (mi_expect_interrupt): Likewise.
3852 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
3853 response.
1d33d6ba 3854
faafb047
PM
38552009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
3856
3857 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
3858 * gdb.base/pc-fp.exp (get_valueofx): Remove.
3859 Replace calls to get_valueofx by get_hexadecimal_valueof.
3860
417e16e2
PM
38612009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
3862
3863 * lib/gdb.exp (get_valueof): Accept anything as a return value.
3864 (get_integer_valueof): New procedure.
3865 (get_sizeof): Use new get_integer_value_of.
3866 * gdb.base/sizeof.exp: Replace all uses of get_valueof
3867 by get_integer_valueof.
3868
7065b901
TT
38692009-02-13 Tom Tromey <tromey@redhat.com>
3870
3871 * gdb.base/remote.exp (get_sizeof): Remove.
3872 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
3873 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
3874 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
3875 * lib/gdb.exp (get_valueof): Move from long_long.exp.
3876 (get_sizeof): Likewise.
3877
5d7cb8df
JK
38782009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3879
3880 PR fortran/9806
3881 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
3882
b2febfff
PP
38832009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3884
3885 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
3886
4aa995e1
PA
38872009-02-06 Pedro Alves <pedro@codesourcery.com>
3888
3889 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
3890
d8906c6f
TJB
38912009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
3892
3893 * gdb.python/python-cmd.exp: New file.
3894
ff4ab08d
TG
38952009-02-06 Tristan Gingold <gingold@adacore.com>
3896
3897 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
3898
aacd552b
TG
38992009-02-05 Tristan Gingold <gingold@adacore.com>
3900
3901 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
3902 pointer is dereferenced and use this signal name in regexp.
3903 * gdb.base/signull.exp: Ditto.
3904 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
3905 * gdb.base/signull.c (main): Ditto.
3906
08c637de
TJB
39072009-02-04 Tom Tromey <tromey@redhat.com>
3908 Thiago Jung Bauermann <bauerman@br.ibm.com>
3909
3910 * gdb.python/python-value.exp: Use `gdb.history' instead of
3911 `gdb.value_from_history'.
3912 (test_value_numeric_ops): Add test for conversion of enum constant.
3913 * gdb.python/python-value.c (enum e): New type.
3914 (evalue): New global.
3915 (main): Use argv.
3916
20261af8
JG
39172009-02-04 Jerome Guitton <guitton@adacore.com>
3918
3919 * gdb.ada/uninitialized_vars: New test program.
3920 * gdb.ada/uninitialized_vars.exp: New testcase.
3921
52e44b43
TT
39222009-02-02 Tom Tromey <tromey@redhat.com>
3923
3924 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
3925 * gdb.cp/pr2489.cc: Rename...
3926 * gdb.cp/pr9594.cc: ... to this.
3927
1c71341a
TT
39282009-02-02 Tom Tromey <tromey@redhat.com>
3929
3930 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
3931 * gdb.cp/pr2489.cc: New file.
3932 * gdb.cp/cpcompletion.exp: New file.
3933
a4295225
TT
39342009-02-02 Tom Tromey <tromey@redhat.com>
3935
3936 PR exp/9059:
3937 * gdb.cp/call-c.exp: Add regression test.
3938 * gdb.cp/call-c.cc (FooHandle): New typedef.
3939 (main): New variable 'handle'.
3940
592375cd
VP
39412009-01-30 Vladimir Prus <vladimir@codesourcery.com>
3942
3943 * lib/mi-support.exp (et_mi_thread_list)
3944 (check_mi_and_console_threads): Adjust for current thread in
3945 -thread-list-ids output.
3946
41447f92
VP
39472009-01-30 Vladimir Prus <vladimir@codesourcery.com>
3948
3949 * gdb.mi/mi-break.exp (test_disabled_creation): New.
3950 Call it.
3951
35669430
DE
39522009-01-28 Doug Evans <dje@google.com>
3953
3954 * gdb.arch/amd64-disp-step.S: New file.
3955 * gdb.arch/amd64-disp-step.exp: New file.
3956 * gdb.arch/i386-disp-step.S: New file.
3957 * gdb.arch/i386-disp-step.exp: New file.
3958
09f00d9a
PM
39592009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
3960
3961 * gdb.base/find.exp: Set newline variable
3962 using quotes instead of braces to fix cygwin failures.
3963
1e8fb976
PA
39642009-01-23 Pedro Alves <pedro@codesourcery.com>
3965
3966 * gdb.base/radix.exp: Add tests to ensure that that set
3967 input-radix 0 and set output-radix 0 are really rejected.
3968
da061712
PA
39692009-01-23 Pedro Alves <pedro@codesourcery.com>
3970
3971 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
3972 copyright years.
3973
dd7e2d2b
PA
39742009-01-23 Pedro Alves <pedro@codesourcery.com>
3975
3976 PR gdb/9664:
3977 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
3978
392452f6
PA
39792009-01-22 Pedro Alves <pedro@codesourcery.com>
3980
3981 PR c++/9631:
3982 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
3983
8653e71c
PM
39842009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
3985
3986 * gdb.server/file-transfer.exp: Use EXEEXT variable for
3987 binfile definition to fix Windows OS failure.
3988
a12cc160
DJ
39892009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
3990
3991 PR gdb/9346
3992 * gdb.base/interrupt.c (sigint_handler): New.
3993 (main): Install a SIGINT handler if SIGNALS is defined. Exit
3994 on error.
3995 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
3996 Test "signal SIGINT".
3997
b89667eb
DE
39982009-01-19 Doug Evans <dje@google.com>
3999
4000 * gdb.base/break.exp: Update expected gdb output.
4001 * gdb.base/sepdebug.exp: Ditto.
4002 * gdb.mi/mi-syn-frame.exp: Ditto.
4003 * gdb.mi/mi2-syn-frame.exp: Ditto.
4004 * gdb.base/call-signal-resume.exp: New file.
4005 * gdb.base/call-signals.c: New file.
4006 * gdb.base/unwindonsignal.exp: New file.
4007 * gdb.base/unwindonsignal.c: New file.
4008 * gdb.threads/interrupted-hand-call.exp: New file.
4009 * gdb.threads/interrupted-hand-call.c: New file.
4010 * gdb.threads/thread-unwindonsignal.exp: New file.
4011
adb483fe
DJ
40122009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
4013
4014 * gdb.base/define.exp: Test defining and hooking prefix commands.
4015 * gdb.python/python.exp: Update test for "show user" output.
4016
60023297
JK
40172009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4018
4019 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
4020 now the output exactly, using less wildcards. Expect also the output
4021 of gfortran-4.3. Update for the f-valprint.c modification from
4022 2008-04-22.
4023 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
4024 Remove gdb_test test names where matching the command.
4025
ccc57cf9
PA
40262009-01-01 Pedro Alves <pedro@codesourcery.com>
4027
4028 PR breakpoints/9681:
4029 * gdb.base/watchpoint.exp: Add regression test.
4030
c7a6ca08
PA
40312008-12-31 Pedro Alves <pedro@codesourcery.com>
4032
4033 * gdb.threads/attach-into-signal.exp: Don't use
4034 gdb_suppress_entire_file.
4035 * gdb.threads/attach-stopped.exp: Ditto.
4036 * gdb.threads/attachstop-mt.exp: Ditto.
4037
3a031f65
PA
40382008-12-31 Pedro Alves <pedro@codesourcery.com>
4039
4040 PR gdb/8812:
4041 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
4042
09e6485f
PA
40432008-12-29 Pedro Alves <pedro@codesourcery.com>
4044
4045 PR gdb/7536:
4046 * gdb.base/radix.exp: Add tests to ensure invalid input radices
4047 and unsupported output radices are really rejected.
4048
0cd53049
JK
40492008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4050
4051 * gdb.cp/punctuator.exp: Backslash the '$' signs.
4052
ba163c7e
TT
40532008-12-22 Tom Tromey <tromey@redhat.com>
4054
4055 * gdb.cp/punctuator.exp: New file.
4056
6f4de6c9
JK
40572008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4058
4059 * gdb.base/completion.exp (Completing non-existing component): New test.
4060
0f34d0b4
JK
40612008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4062
4063 Fix for PR gdb/8648.
4064 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
4065 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
4066 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
4067 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
4068
db2ad4c3
JK
40692008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4070
4071 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
4072
bb5ef15e
DP
40732008-12-16 Christophe Lyon <christophe.lyon@st.com>
4074
4075 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
4076 compiler actually generate code at the expected line number.
4077
90142adc
JZ
40782008-12-15 Jie Zhang <jie.zhang@analog.com>
4079
4080 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
4081
fad6eecd
TT
40822008-12-12 Tom Tromey <tromey@redhat.com>
4083
4084 * gdb.base/commands.exp (redefine_hook_test): New proc.
4085 Call it.
4086
17c8aaf5
TT
40872008-12-11 Tom Tromey <tromey@redhat.com>
4088
4089 * gdb.base/macscp.exp: New regression test.
4090
7c8adf68
TT
40912008-12-11 Tom Tromey <tromey@redhat.com>
4092
4093 * gdb.base/macscp.exp: Print "address.addr".
4094 * gdb.base/macscp1.c (struct outer): New struct.
4095 (address): New global.
4096
b05dcbb7
TT
40972008-12-09 Tom Tromey <tromey@redhat.com>
4098
4099 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
4100 Call it.
4101
2d476de1
DE
41022008-12-04 Doug Evans <dje@google.com>
4103
4104 * gdb.server/ext-run.exp: Relax regexp for init program.
4105
87bdc959
TG
41062008-12-03 Tristan Gingold <gingold@adacore.com>
4107
4108 * gdb.base/macscp.exp: Generate an object file during compilation
4109 to work around Darwin dsymutil limitations.
4110
e0740f77
JK
41112008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4112
4113 Test resolving external references to TLS variables.
4114 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
4115 FILE2_THREAD_LOCAL.
4116 (testfile2, srcfile2): New variables.
4117 * gdb.threads/tls.c (file2_thread_local)
4118 (function_referencing_file2_thread_local): New.
4119 * gdb.threads/tls2.c: New file.
4120
67f0aac5
JB
41212008-11-28 Joel Brobecker <brobecker@adacore.com>
4122
4123 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
4124 rather than integer, as integer might not be big enough when
4125 on 64bit targets.
67f0aac5 4126
c332165e
JG
41272008-11-27 Jerome Guitton <guitton@adacore.com>
4128
4129 * gdb.cp/formatted-ref.exp: Add equality test.
4130 * gdb.ada/formatted_ref.exp: Ditto.
4131
fc9b693c
JK
41322008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4133
4134 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
4135 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
4136
a9c64011
AS
41372008-11-20 Andreas Schwab <schwab@suse.de>
4138
4139 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
4140 matching syscall entry point.
4141 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4142 (tcatch_vfork_then_child_follow): Likewise. Finish through
4143 vfork even if we stopped at the syscall trampoline.
4144
e2fd701e
DE
41452008-11-20 Doug Evans <dje@google.com>
4146
4147 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
4148
69abc51c
TJB
41492008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
4150
4151 * gdb.arch/ppc-dfp.exp: New file.
4152 * gdb.arch/ppc-dfp.c: New file.
4153
c14c28ba
PP
41542008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4155
4156 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 4157
2e74121d
DE
41582008-11-17 Doug Evans <dje@google.com>
4159
4160 * gdb.mi/mi-syn-frame.exp: Update expected output.
4161 * gdb.mi/mi2-syn-frame.exp: Update expected output.
4162
66bb093b
VP
41632008-11-17 Vladimir Prus <vladimir@codesourcery.com>
4164
4165 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
4166 "thread N" results in =thread-selected.
4167 * lib/mi-support (mi_run_cmd, mi_expect_stop)
4168 (mi_send_resuming_command_raw): Be prepared for
4169 =thread-selected.
4170
3d043ef6
VP
41712008-11-17 Vladimir Prus <vladimir@codesourcery.com>
4172
a9c64011
AS
4173 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
4174 * lib/mi-support.exp: Likewise.
3d043ef6 4175
808104c8
JB
41762008-11-16 Joel Brobecker <brobecker@adacore.com>
4177
4178 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
4179 commands from the expected output for "help catch".
4180
00b22944
JB
41812008-11-15 Joel Brobecker <brobecker@adacore.com>
4182
4183 * gdb.ada/int_deref.exp: New testcase.
4184
59669435
TT
41852008-11-14 Nick Roberts <nickrob@snap.net.nz>
4186
4187 * gdb.mi/gdb2549.exp: New file.
4188
de04a248
DE
41892008-11-11 Doug Evans <dje@google.com>
4190
4191 * gdb.base/callexit.exp: New file.
4192 * gdb.base/callexit.c: New file.
4193
6b8ce727
DE
41942008-11-10 Doug Evans <dje@google.com>
4195
4196 * lib/gdb.exp (GDBFLAGS): Move -nx ...
4197 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
4198 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
4199 (default_gdb_start,default_gdb_exit): Ditto.
4200 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
4201 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
4202 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
4203 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
4204 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
4205 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
4206
1b14b8aa
AS
42072008-11-03 Andreas Schwab <schwab@suse.de>
4208
4209 * gdb.base/hashline2.exp: Fix typo.
4210 * gdb.base/hashline3.exp: Likewise.
4211
f3134b88
TT
42122008-10-30 Tom Tromey <tromey@redhat.com>
4213
4214 * gdb.base/pointers.exp: Add test.
4215 * gdb.base/pointers.c (k, S): New typedefs.
4216 (instance): New global.
4217
c2226152
AS
42182008-10-30 Andreas Schwab <schwab@suse.de>
4219
4220 * gdb.base/args.exp: Add tests for newlines.
4221
462f405c
JB
42222008-10-30 Joel Brobecker <brobecker@adacore.com>
4223
4224 gdb.base/foll-exec.exp: Update the expected output of a couple
4225 of "info breakpoints" tests.
4226
79a45b7d
TT
42272008-10-28 Tom Tromey <tromey@redhat.com>
4228
4229 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
4230
adc13a14
PA
42312008-10-24 Pedro Alves <pedro@codesourcery.com>
4232
4233 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
4234 gdb_start_cmd.
4235 Use runto_main before any test that requires execution.
4236
252fbfc8
PA
42372008-10-23 Pedro Alves <pedro@codesourcery.com>
4238
4239 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
4240 instead of SIGINT.
4241
28148e3d
JB
42422008-10-22 Joel Brobecker <brobecker@adacore.com>
4243
4244 * gdb.base/completion.exp: Update expected output following
4245 the addition of the "info tasks" command.
4246
c209f847
TT
42472008-10-22 Tom Tromey <tromey@redhat.com>
4248
4249 * gdb.base/exprs.exp (test_expr): Add test for string
4250 concatenation.
4251
f177e350
PA
42522008-10-19 Pedro Alves <pedro@codesourcery.com>
4253
4254 * configure.ac: Output gdb.python/Makefile.
4255 * configure: Regenerate.
4256 * gdb.python/Makefile.in: New.
4257
cce89356
JB
42582008-10-16 Joel Brobecker <brobecker@adacore.com>
4259
4260 * gdb.base/foll-fork.exp: Adjust the expected output to match
4261 the new description for fork/vfork catchpoints in the "info
4262 breakpoints" output.
4263
176d289d
TJB
42642008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4265
4266 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
4267
a08702d6
TJB
42682008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
4269
4270 * gdb.python/python-value.c: New file.
4271 * gdb.python/python-value.exp: New file.
4272
1c5cfe86
PA
42732008-10-15 Pedro Alves <pedro@codesourcery.com>
4274
4275 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
4276
5a98ad69
DP
42772008-10-15 Denis Pilat <denis.pilat@st.com>
4278
41702f1b 4279 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 4280
dcb1a1e2
TT
42812008-10-09 Tom Tromey <tromey@redhat.com>
4282
4283 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
4284 'fprintf' and 'stderr'.
4285
9124fe48
JB
42862008-10-07 Joel Brobecker <brobecker@adacore.com>
4287
4288 * gdb.ada/ref_tick_size.exp: New testcase.
4289
45452591
DE
42902008-10-06 Doug Evans <dje@google.com>
4291
4292 * gdb.dwarf2/dw2-cu-size.exp: New file.
4293 * gdb.dwarf2/dw2-cu-size.S: New file.
4294
4295 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
4296 .Ltype_int for clarity.
4297
4fc5b208
PP
42982008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
4299
4300 PR gdb/2384:
4301 * gdb.cp/gdb2384.exp: Extended to test more cases.
4302 * gdb.cp/gdb2384.cc: Likewise.
4303 * gdb.cp/gdb2384-base.h: Likewise.
4304 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 4305
d78df370
JK
43062008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4307
4308 * gdb.base/maint.exp (maint print type): Remove printing
4309 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
4310
9a044a89
TT
43112008-09-30 Tom Tromey <tromey@redhat.com>
4312
4313 * gdb.base/macscp.exp: Add completion tests.
4314 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
4315 (TWENTY_THREE): Likewise.
4316 (FORTY_EIGHT): Likewise.
4317
506800a9
TT
43182008-09-30 Tom Tromey <tromey@redhat.com>
4319
4320 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
4321 everywhere.
4322 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
4323
1a6f01b5
JK
43242008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4325
4326 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
4327 testcase is derived from. Fix racy dependency on an expected PID
4328 number. No longer support the testcase on Linux kernel 2.4.x.
4329
2fae03e8
TT
43302008-09-27 Tom Tromey <tromey@redhat.com>
4331
4332 * gdb.base/macscp.exp: Add tests for stringification, splicing,
4333 and varargs.
4334
1ad15515
PA
43352008-09-22 Pedro Alves <pedro@codesourcery.com>
4336
4337 * lib/mi-support.exp (mi_expect_interrupt): New.
4338 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
4339 from gdb.mi/mi-nonstop.exp.
4340 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
4341 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
4342 lib/mi-support.exp.
4343 Use mi_check_thread_states throughout. Avoid ".*" and do not
4344 require an anchor after -exec-run.
4345
d0b76dc6
DJ
43462008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
4347
4348 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
4349 stop is pending. Avoid ".*" when two stops are pending.
4350 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
4351 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
4352 newlines in fullnames.
4353 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
4354 (mi_expect_stop): Update comments. Only anchor in sync mode.
4355 Do not match newlines.
4356 (mi_send_resuming_command_raw): Always return status.
4357 (mi_get_stop_line): Do not match more than one line by accident.
4358 Only anchor in sync mode.
4359 (mi_run_inline_test): If -exec-next fails, give up.
4360
9990c830
UW
43612008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4362
4363 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
4364 on SPU.
4365
ebcf6f00
JB
43662008-09-10 Joel Brobecker <brobecker@adacore.com>
4367
4368 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
4369
b6db24e5
JB
43702008-09-10 Joel Brobecker <brobecker@adacore.com>
4371
4372 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
4373 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
4374 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
4375 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
4376 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
4377 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
4378 gdb.ada/interface.exp, gdb.ada/null_array.exp,
4379 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
4380 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
4381 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
4382 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
4383 Include the "= " sequence in the expected output of print tests.
4384
2bf448e0
JB
43852008-09-10 Joel Brobecker <brobecker@adacore.com>
4386
4387 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
4388 description for boolean types.
4389
d51fd4c8
PA
43902008-09-09 Pedro Alves <pedro@codesourcery.com>
4391
4392 * gdb.base/hook-stop-continue.c: New.
4393 * gdb.base/hook-stop-continue.exp: New.
4394
694182d2
DJ
43952008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4396
4397 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
4398
3b8a7fc0
JG
43992008-09-08 Jerome Guitton <guitton@adacore.com>
4400
4401 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
4402 (stack_check_probe_2, stack_check_probe_loop_1)
4403 (stack_check_probe_loop_2): New functions.
4404 (main): Add call to these new functions.
4405 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
4406 functions, check that the breakpoint is inserted at the appropriate
4407 location.
4408 (insert_breakpoint): Slightly refine this procedure so that it can
4409 be called several times in the test.
4410
96cc0ae8
JG
44112008-09-08 Jerome Guitton <guitton@adacore.com>
4412
4413 * gdb.base/stack-checking.c: New file.
4414 * gdb.base/stack-checking.exp: New file.
4415
1f08b409
TJB
44162008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
4417
4418 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
4419 * gdb.arch/altivec-regs.exp: Likewise.
4420 * gdb.arch/vsx-regs.exp: Likewise.
4421
3099e1c4
TJB
44222008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
4423
4424 * gdb.arch/ppc-fp.exp: New file.
4425 * gdb.arch/ppc-fp.c: New file.
4426
cc69bfc1
PP
44272008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4428
4429 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
4430 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 4431
b02a33db
MS
44322008-09-04 Michael Snyder <msnyder@vmware.com>
4433
4434 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
4435 as "at" (for non-debug functions such as _start).
4436
2992cbe0
UW
44372008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4438
4439 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
4440 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
4441 software watchpoints.
4442 * gdb.base/watch_thread_num.exp: Likewise.
4443
514f746b
AR
44442008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
4445
4446 * gdb.arch/i386-bp_permanent.exp: New test.
4447
876cecd0
TT
44482008-08-24 Tom Tromey <tromey@redhat.com>
4449
4450 * gdb.base/maint.exp: Update "maint print type".
4451
80f73d71
VP
44522008-08-21 Vladimir Prus <vladimir@codesourcery.com>
4453
4454 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
4455 support. Adjust the order of "*running" notifications.
4456 * gdb.mi/non-stop.c: Don't cast from int to void* and
4457 back.
4458
d9c78d7d
MK
44592008-08-20 Mark Kettenis <kettenis@gnu.org>
4460
4461 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
4462 expect to find it in the "info frame" output.
4463
97a2d1d3
DJ
44642008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
4465
4466 * gdb.base/interp.exp: Always consume both prompts.
4467
b96e2927
PA
44682008-08-20 Pedro Alves <pedro@codesourcery.com>
4469
4470 * gdb.base/pending.exp: Test pending breakpoints without symbols
4471 loaded.
4472
8cf6e61a
VP
44732008-08-19 Vladimir Prus <vladimir@codesourcery.com>
4474
4475 * lib/mi-support.exp (mi_expect_stop): Produce
4476 more details on failures.
4477 * gdb.mi/mi-nonstop.exp: New.
4478 * gdb.mi/non-stop.c: New.
4479
c6ebd6cf
VP
44802008-08-19 Vladimir Prus <vladimir@codesourcery.com>
4481
a9c64011
AS
4482 * gdb.mi/mi-async.exp: Use 'set target-async'.
4483 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 4484
46a9b8ed
DJ
44852008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
4486
4487 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
4488
44feb3ce
TT
44892008-08-17 Tom Tromey <tromey@redhat.com>
4490
4491 * gdb.base/help.exp (help catch): Rewrite.
4492
311a4e6b
TJB
44932008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
4494
4495 * gdb.base/define.exp: Test indented command documentation.
4496 * gdb.python/python.exp: Test indented multi-line command.
4497
604c2f83
LM
44982008-08-15 Luis Machado <luisgpm@br.ibm.com>
4499
4500 * testsuite/gdb.arch/vsx-regs.c: New source file.
4501 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
4502 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
4503
886a217c
TT
45042008-08-14 Tom Tromey <tromey@redhat.com>
4505
4506 * gdb.base/macscp.exp: Add regression test for "macro define" or
4507 "macro undef" with no arguments.
4508
c814a4f3
PP
45092008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4510
4511 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 4512
12ab8a60
UW
45132008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4514
4515 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
4516
d57a3c85
TJB
45172008-08-06 Tom Tromey <tromey@redhat.com>
4518
4519 * gdb.python/python.exp: New file.
4520
c7b778ff
JK
45212008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4522
4523 Fix for PR gdb/1543.
4524 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
4525 $LOCATION.
4526 (location): New variable.
4527 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
4528 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
4529 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
4530 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
4531 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
4532 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
4533 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
4534 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
4535 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
4536 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
4537 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
4538 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
4539 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
4540 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
4541 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4542 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
4543 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
4544 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
4545 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
4546 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4547 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
4548 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
4549 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
4550 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
4551 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
4552 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
4553 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
4554 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
4555 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
4556 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
4557 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
4558 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
4559 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
4560 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
4561 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
4562 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
4563 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
4564 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4565 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
4566 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
4567 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
4568 gdb.base/type-opaque.exp, gdb.base/until.exp,
4569 gdb.base/value-double-free.c, gdb.base/varargs.exp,
4570 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
4571 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
4572 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
4573 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
4574 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
4575 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
4576 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
4577 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
4578 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
4579 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
4580 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
4581 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
4582 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
4583 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
4584 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
4585 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4586 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
4587 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
4588 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
4589 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
4590 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
4591 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
4592 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
4593 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
4594 gdb.pascal/types.exp, gdb.stabs/weird.exp,
4595 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
4596 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
4597 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
4598 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
4599 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
4600 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
4601 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4602 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4603 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4604 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4605 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4606 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4607 lib/mi-support.exp, lib/trace-support.exp: Remove reference
4608 to bug-gdb@prep.ai.mit.edu .
4609
5e06a3d1
VP
46102008-07-31 Vladimir Prus <vladimir@codesourcery.com>
4611
4612 * lib/mi-support.exp (mi_load_shlibs): New.
4613 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
4614
9d81d21b
VP
46152008-07-30 Vladimir Prus <vladimir@codesourcery.com>
4616
4617 * lib/mi-support.exp (get_mi_thread_list)
4618 (check_mi_and_console_threads): New, moved from ...
4619 * gdb.mi/mi-pthread.exp: ...here.
4620 * gdb.mi/gdb669.exp (get_mi_thread_list)
4621 (check_mi_and_console_threads): Delete.
4622 * gdb.mi/mi2-pthread.exp: Likewise.
4623
bae98fe0
TT
46242008-07-28 Tom Tromey <tromey@redhat.com>
4625
4626 * Makefile.in (just-check): Remove. Move body to...
4627 (check): ... here.
4628
57380f4e
DJ
46292008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
4630
4631 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
4632 Add a test for duplicated SIGINTs.
4633
e09490f1
DJ
46342008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
4635
4636 * gdb.threads/schedlock.exp (get_args): Update to work for any
4637 value of NUM.
4638 (Top level): Report the number of threads that did not resume.
4639
6387b45f
DJ
46402008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
4641
4642 * gdb.dwarf2/dw2-compressed.S: Also define __start.
4643
62f64ff2
DJ
46442008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
4645
4646 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
4647 non-MI prompt.
4648
fa8de41e
TT
46492008-07-26 Tom Tromey <tromey@redhat.com>
4650
4651 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
4652 (function_struct, function_struct_ptr): New globals.
4653 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
4654 function pointer in a struct.
4655
ccb3ac8a
TT
46562008-07-26 Tom Tromey <tromey@redhat.com>
4657
4658 * gdb.base/macscp.exp: Add test for macro lexing bug.
4659
d7d9f01e
TT
46602008-07-18 Tom Tromey <tromey@redhat.com>
4661
4662 * gdb.base/macscp.exp: Add macro tests.
4663
9bf07184
PP
46642008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4665
4666 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
4667
becf6477
PP
46682008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4669
4670 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
4671
0709f7d3
PP
46722008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
4673
4674 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 4675
7093c834
PP
46762008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4677
4678 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 4679
b432ffe3
JK
46802008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4681
4682 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
4683
b1a268e5
VP
46842008-07-12 Vladimir Prus <vladimir@codesourcery.com>
4685
4686 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
4687
e2995f8e
KB
46882008-07-11 Kevin Buettner <kevinb@redhat.com>
4689
4690 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
4691 of regexp to account for changes made to GDB in the printing of
4692 byte vectors.
4693
14032a66
TT
46942008-07-11 Tom Tromey <tromey@redhat.com>
4695
4696 * gdb.base/completion.exp: Add 'help' completion test.
4697
981505ef
JK
46982008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4699
4700 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
4701
10568435
JK
47022008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4703
4704 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
4705
4487aabf
PA
47062008-07-09 Pedro Alves <pedro@codesourcery.com>
4707
4708 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
4709
a4a9b1c4
PA
47102008-07-09 Pedro Alves <pedro@codesourcery.com>
4711
4712 * gdb.base/fullname.exp: Restore pwd if compiling failed.
4713
3c3185ac
JK
47142008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4715
4716 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
4717
7ebd49dc
VP
47182008-06-28 Vladimir Prus <vladimir@codesourcery.com>
4719
4720 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
4721 previous commit. Add a comment.
4722
84e46146
PA
47232008-06-28 Pedro Alves <pedro@codesourcery.com>
4724
4725 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
4726
0f8d4a2f
VP
47272008-06-28 Vladimir Prus <vladimir@codesourcery.com>
4728
4729 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
4730
f747e0ce
PA
47312008-06-27 Pedro Alves <pedro@codesourcery.com>
4732
4733 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
4734 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
4735 compiling an executable, link in an object that forces unbuffered
4736 output.
4737 * lib/set_unbuffered_mode.c: New file.
4738
734a5c36
JK
47392008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4740
4741 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
4742
a2840c35
VP
47432008-06-25 Vladimir Prus <vladimir@codesourcery.com>
4744
a9c64011
AS
4745 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
4746 mi_expect_stop.
4747 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
4748 Demand that *running is output.
4749 (detect_async): Perform checking every time.
4750 (mi_send_resuming_command): Extract everything into...
4751 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
4752 (mi_expect_stop): Don't accept any output before *stopped.
4753
6ae37fef
VP
47542008-06-13 Vladimir Prus <vladimir@codesourcery.com>
4755
4756 Robustify mi-simplerun.
a9c64011
AS
4757 * gdb.mi/basics.c (main): Add a call to sleep.
4758 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
4759 * gdb.mi/mi2-cli.exp: Likewise.
4760 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 4761
b4aa76f0 47622008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
4763
4764 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
4765
e1ac3328
VP
47662008-06-10 Vladimir Prus <vladimir@codesourcery.com>
4767
a9c64011
AS
4768 * gdb.mi/mi-console.exp: Adjust.
4769 * gdb.mi/mi-syn-frame.exp: Adjust.
4770 * gdb.mi/mi2-console.exp: Adjust.
4771 * gdb.mi/mi2-syn-frame.exp: Adjust.
4772 * lib/mi-support.exp (mi_run_cmd): Adjust.
4773 (mi_send_resuming_command): Adjust.
e1ac3328 4774
f7f9a841
VP
47752008-06-10 Vladimir Prus <vladimir@codesourcery.com>
4776
4777 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
4778 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
4779 testing of stopped.
4780 * gdb.mi/mi2-syn-frame.exp: Likewise.
4781 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
4782 (async, detect_async): New.
4783 (mi_expect_stop, mi_continue_to_line): Adjust expectation
4784 depending on if we're running in sync or async mode.
f7f9a841 4785
37cd5d19
TT
47862008-06-09 Tom Tromey <tromey@redhat.com>
4787
4788 * gdb.base/completion.exp: New tests for field name completion
4789 with spaces, and field name completion with '->'.
4790
65d12d83
TT
47912008-06-06 Tom Tromey <tromey@redhat.com>
4792
4793 * gdb.base/break1.c (struct some_struct): New struct.
4794 (values): New global.
4795 * gdb.base/completion.exp: Add field name completion test.
4796
ebfe2e3f
PP
47972008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4798
4799 * gdb.cp/call-c.exp: Test for incorrect handling of reference
4800 to pointer.
4801 * gdb.cp/call-c.cc: Likewise.
4802
bcf6fc3a
NR
48032008-06-06 Nick Roberts <nickrob@snap.net.nz>
4804
4805 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
4806 annotation.
4807
49fd4a42 48082008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 4809 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
4810
4811 * gdb.threads/execl.c, gdb.threads/execl1.c,
4812 gdb.threads/execl.exp: New tests.
a9c64011 4813
8a34ac3f
AR
48142008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
4815 Daniel Jacobowitz <dan@codesourcery.com>
4816
4817 * gdb.cp/exception.exp: Activate test, make it work with pending
4818 catchpoints.
4819
86ae69ef
JK
48202008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4821
4822 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
4823
f7f9ae2c
VP
48242008-05-28 Vladimir Prus <vladimir@codesourcery.com>
4825
a9c64011
AS
4826 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
4827 now printed.
4828 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 4829
2a2d4dc3
AS
48302008-05-27 Andreas Schwab <schwab@suse.de>
4831
4832 * gdb.base/frame-args.exp: Handle arguments that are optimized
4833 out.
4834
5099e4d9
LM
48352008-05-26 Luis Machado <luisgpm@br.ibm.com>
4836
4837 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
4838 quiet for ppc32 and group options into a single variable.
4839
d9c36a91
JB
48402008-05-23 Joel Brobecker <brobecker@adacore.com>
4841
4842 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
4843 of zero-size elements.
4844 * gdb.ada/null_array.exp: Test printing this new array.
4845
103a8671
JK
48462008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4847
4848 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
4849
07a4cc1a 48502008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
4851
4852 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
4853 of the "finish" command.
4854
55f996a7
NR
48552008-05-21 Nick Roberts <nickrob@snap.net.nz>
4856
4857 * gdb.base/annota1.exp: Test for new annotation.
4858
907fc202
UW
48592008-05-16 Pedro Alves <pedro@codesourcery.com>
4860
4861 * gdb.base/fixsection.exp: New file.
4862 * gdb.base/fixsection0.c: New file.
4863 * gdb.base/fixsection1.c: New file.
4864
e8f97270
UW
48652008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4866
4867 * gdb.base/annota1.exp: Accept printf@... in place of printf.
4868 * gdb.base/annota3.exp: Likewise.
4869
ac0bb574
NF
48702008-05-13 Nathan Froyd <froydnj@codesourcery.com>
4871
4872 * gdb.base/watch_thread_num.exp: Don't run tests that require
4873 watchpoints if the target doesn't support them.
4874
6fadd07a
DE
48752008-05-12 Doug Evans <dje@google.com>
4876
4877 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
4878
6e9a4a30
JB
48792008-05-09 Joel Brobecker <brobecker@adacore.com>
4880
4881 * gdb.ada/assign_1.exp: New testcase.
4882
08388c79
DE
48832008-05-09 Doug Evans <dje@google.com>
4884
a3c83fae
DE
4885 * gdb.base/find.exp: New file.
4886 * gdb.base/find.c: New file.
08388c79 4887
bd5ddfe8
DJ
48882008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
4889
4890 * gdb.base/commands.exp (watchpoint_command_test): Handle
4891 gdb,no_hardware_watchpoints.
4892 * gdb.base/float.exp: Allow ARM targets without floating point.
4893 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
4894
b5dd68e2 48952008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 4896 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
4897
4898 * gdb.ada/lang_switch: New test program.
4899 * gdb.ada/lang_switch.exp: New testcase.
4900
382d13d1
DE
49012008-05-05 Doug Evans <dje@google.com>
4902
4903 * gdb.base/help.exp (disassemble): Update expected help text.
4904
9dd789d0
PA
49052008-05-04 Pedro Alves <pedro@codesourcery.com>
4906
4907 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
4908
611c83ae
PA
49092008-05-04 Pedro Alves <pedro@codesourcery.com>
4910
4911 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
4912 different times.
4913
ff013f42
JK
49142008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4915
4916 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
4917 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
4918 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
4919 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
4920
96dff6a2
VP
49212008-05-04 Vladimir Prus <vladimir@codesourcery.com>
4922
4923 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
4924 notification to appear.
4925
55cd6f92
DJ
49262008-05-04 Daniel Jacobowitz <dan@debian.org>
4927
4928 * gdb.base/fullname.c: New file.
4929 * gdb.base/fullname.exp: New file.
4930 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
4931
d705c43c
PA
49322008-05-03 Pedro Alves <pedro@codesourcery.com>
4933
4934 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
4935 expressions with macros.
4936
333222e1
JK
49372008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4938
4939 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
4940
5ac01682
DJ
49412008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
4942
4943 * gdb.base/completion.exp: Handle lack of other symbols beginning
4944 with "a".
4945
4946 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
4947
237fc4c9
PA
49482008-05-02 Jim Blandy <jimb@codesourcery.com>
4949
4950 * gdb.asm/asmsrc1.s: Add scratch space.
4951
ed5e9466
DJ
49522008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4953 Daniel Jacobowitz <dan@codesourcery.com>
4954
4955 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
4956 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
4957 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
4958
b39cc962
DJ
49592007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
4960
4961 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
4962
36d520f5
JB
49632008-05-01 Joel Brobecker <brobecker@adacore.com>
4964
4965 * gdb.base/info-target.exp: New testcase.
4966
8d4e3071
DJ
49672008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
4968
4969 * gdb.cp/hang.exp: Use .cc instead of .C.
4970 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
4971 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
4972
6f3f3097
DJ
49732008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
4974
4975 * gdb.base/gdb1250.exp: Remove perror.
4976 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
4977
5550a914
PA
49782008-04-30 Pedro Alves <pedro@codesourcery.com>
4979
4980 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
4981 .2byte.
4982
d848e687
DJ
49832008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
4984
4985 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
4986 (maybe_kfail): New.
4987
93b5768b
PA
49882008-04-25 Pedro Alves <pedro@codesourcery.com>
4989
4990 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
4991
721c02de
VP
49922008-04-24 Vladimir Prus <vladimir@codesourcery.com>
4993
a9c64011
AS
4994 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
4995 * gdb.mi/mi2-syn-frame.exp: Likewise.
4996 * lib/mi-support.exp: Likewise.
721c02de 4997
74960c60
VP
49982008-04-24 Vladimir Prus <vladimir@codesourcery.com>
4999
5000 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
5001 to specify regexp for the location to stop at.
5002 * gdb.base/break-always.c: New.
5003 * gdb.base/break-always.exp: New.
5004
d24317b4
VP
50052008-04-24 Vladimir Prus <vladimir@codesourcery.com>
5006
5007 * lib/mi-support.exp (mi_runto_helper): Adjust
5008 for the original-location field.
5009 (mi_create_breakpoint, mi_list_breakpoints): New.
5010 * gdb.mi/mi-break.exp: Adjust.
5011 * gdb.mi/mi2-break.exp: Adjust.
5012 * gdb.mi/mi-pending.exp: Adjust.
5013 * gdb.mi/mi-simplerun.exp: Adjust.
5014 * gdb.mi/mi2-simplerun.exp: Adjust.
5015 * gdb.mi/mi-syn-frame.exp: Adjust.
5016 * gdb.mi/mi2-syn-frame.exp: Adjust.
5017 * gdb.mi/mi-until.exp: Adjust.
5018 * gdb.mi/mi2-until.exp: Adjust.
5019 * gdb.mi/mi-var-display.exp: Adjust.
5020 * gdb.mi/mi2-var-display.exp: Adjust.
5021 * gdb.mi/mi-watch.exp: Adjust.
5022 * gdb.mi/mi2-watch.exp: Adjust.
5023
fdc59709 50242008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 5025
a9c64011
AS
5026 * aclocal.m4: Add override.m4.
5027 * configure: Regenerate.
fdc59709 5028
8e91f023
VP
50292008-04-19 Vladimir Prus <vladimir@codesourcery.com>
5030
5031 * gdb.mi/var-cmd.c (do_at_tests): Verify that
5032 '-var-update --all-values' reports new value even the type
5033 of a variable object has changed.
5034
233a11ab
CS
50352008-04-18 Craig Silverstein <csilvers@google.com>
5036
5037 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
5038 files.
d24317b4 5039
9c1137ad
JB
50402008-04-18 Joel Brobecker <brobecker@adacore.com>
5041
5042 * gdb.ada/atomic_enum: New test program.
5043 * gdb.ada/atomic_enum.exp: New testcase.
5044
66d0bbc7
DE
50452008-04-17 Doug Evans <dje@google.com>
5046
5047 * gdb.opt/Makefile.in: Fix whitespace.
5048
100906b0
UW
50492008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
5050
5051 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
5052
4584e32e
DE
50532008-04-17 Doug Evans <dje@google.com>
5054
5055 * gdb.base/hashline1.exp: New testcase.
5056 * gdb.base/hashline2.exp: New testcase.
5057 * gdb.base/hashline2.exp: New testcase.
5058
0a320680
PA
50592008-04-17 Pedro Alves <pedro@codesourcery.com>
5060
5061 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
5062
18ac113b
AR
50632008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
5064
5065 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
5066 temporary breakpoint to match "Temporary breakpoint".
5067 * gdb.base/break.exp (delete_breakpoints): Likewise.
5068 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
5069 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
5070 * gdb.base/display.exp: Likewise.
5071 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
5072 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
5073 * gdb.base/restore.exp (restore_tests): Likewise.
5074 * gdb.base/sepdebug.exp: Likewise.
5075 * gdb.base/watchpoint.exp: Likewise.
5076 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
5077 * gdb.mi/mi-pending.exp: Likewise.
5078 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
5079 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
5080 * gdb.mi/mi-var-cmd.exp: Likewise.
5081 * gdb.mi/mi-var-display.exp: Likewise.
5082 * gdb.mi/mi2-cli.exp: Likewise.
5083 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
5084 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
5085 * gdb.mi/mi2-var-display.exp: Likewise.
5086 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
5087 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
5088 new "disp" field.
a9c64011 5089 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
5090 reason. This is to support fix for PR2424.
5091
add38693
JK
50922008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5093
5094 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
5095
fcacd99f
VP
50962008-04-13 Vladimir Prus <vladimir@codesourcery.com>
5097
5098 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 5099 field. Add more floating varobj tests.
fcacd99f 5100 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
5101 field.
5102 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
5103 (main): Call do_at_tests.
5104 * lib/mi-support.exp (mi_create_floating_varobj)
5105 (mi_varobj_update_with_type_change): New.
fcacd99f 5106
de051565
MK
51072008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
5108
5109 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
5110 option of -var-evaluate-expression.
5111 * gdb.mi/mi2-var-display.exp: Likewise.
5112
dbc52822
VP
51132008-04-07 Vladimir Prus <vladimir@codesourcery.com>
5114
5115 Introduce test setup helpers.
a9c64011
AS
5116 * lib/gdb.exp (build_executable, clean_restart)
5117 (prepare_for_testing): New.
5118 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
5119 * gdb.base/return.exp: Likewise.
5120 * gdb.base/ending-run.exp: Likewise.
dbc52822 5121
473591da
NR
51222008-04-07 Nick Roberts <nickrob@snap.net.nz>
5123
5124 * gdb.mi/mi-async.exp: New test for asynchronous Machine
5125 Interface (MI) responses.
5126
2b2d9e11
VP
51272008-04-06 Vladimir Prus <vladimir@codesourcery.com>
5128
a9c64011
AS
5129 * gdb.cp/breakpoint.cc: New code to test conditions involving
5130 member variables.
5131 * gdb.cp/breakpoint.exp: Test condition involving member
5132 variables.
2b2d9e11 5133
bb378428
VP
51342008-04-05 Vladimir Prus <vladimir@codesourcery.com>
5135
5136 * lib/mi-support.exp (mi_expect_stop): New.
5137 (mi_run_cmd): Change the
5138 token. Use mi_send_resuming_command, use
5139 mi_expect_stop.
5140 (mi_execute_to_helper): Rename to mi_execute_to.
5141 (mi_send_resuming_command): Add more error patterns.
5142 (mi_wait_for_stop): Renamed to...
5143 (mi_get_stop_line): ...this.
5144 (mi_run_inline_test): Adjust.
5145
5146 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
5147 * gdb.mi/mi-console.exp: Likewise.
5148 * gdb.mi/mi-pending.exp: Likewise.
5149 * gdb.mi/mi-simplerun.exp: Likewise.
5150 * gdb.mi/mi-stack.exp: Likewise.
5151 * gdb.mi/mi-stepi.exp: Likewise.
5152 * gdb.mi/mi-syn-frame.exp: Add comment.
5153 * gdb.mi/mi-until.exp: Likewise.
5154 * gdb.mi/mi-var-display.exp: Likewise.
5155 * gdb.mi/mi-watch.exp: Likewise.
5156 * gdb.mi/mi2-cli.exp: Likewise.
5157 * gdb.mi/mi2-console.exp: Likewise.
5158 * gdb.mi/mi2-simplerun.exp: Likewise.
5159 * gdb.mi/mi2-stack.exp: Likewise.
5160 * gdb.mi/mi2-stepi.exp: Likewise.
5161 * gdb.mi/mi2-until.exp: Likewise.
5162 * gdb.mi/mi2-var-display.exp: Likewise.
5163 * gdb.mi/mi2-watch.exp: Likewise.
5164
62172bb9
UW
51652008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5166
5167 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
5168
5169 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
5170
a13e061a
PA
51712008-04-04 Pedro Alves <pedro@codesourcery.com>
5172
5173 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
5174 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
5175 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
5176 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
5177 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
5178 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
5179 expect an mi error duplicated in stderr.
5180
eae06beb
JB
51812008-04-03 Joel Brobecker <brobecker@adacore.com>
5182
5183 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
5184 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
5185 Add a couple of tests that verify the behavior when the new setting
5186 is set to "cancel" and "all".
5187 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
5188 "ask" before we start the testing.
5189
79c6ced6
AR
51902008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
5191
5192 * gdb.cp/casts.cc: Add class reference variables.
5193 * gdb.cp/casts.exp: New test cases for up/down casting references.
5194
6c2d1a6b
MK
51952008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
5196
5197 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
5198 instead of beginning to make an extra test pass.
5199 * gdb.mi/mi2-var-display.exp: Likewise.
5200
55b411d9
MR
52012008-03-31 Maciej W. Rozycki <macro@mips.com>
5202
5203 * gdb.base/break.exp: Mark failures as such. Fix formatting.
5204
c6140da2
MD
52052008-03-31 Markus Deuling <deuling@de.ibm.com>
5206 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5207
5208 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
5209 value. Add xfail for older kernels.
5210
79732189
AR
52112008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
5212
5213 Bring mi-support in line with gdb.exp.
5214 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
5215 (mi_gdb_start): New function.
5216
33c3676e
MR
52172008-03-28 Maciej W. Rozycki <macro@mips.com>
5218
5219 * gdb.mi/mi-var-cmd.exp: Fix a typo.
5220
92e28119
VP
52212008-03-26 Vladimir Prus <vladimir@codesourcery.com>
5222
5223 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
5224 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 5225
9e8e3afe
VP
52262008-03-26 Vladimir Prus <vladimir@codesourcery.com>
5227
5228 * lib/mi-support.exp (mi_create_varobj_checked): New.
5229 (mi_list_varobj_children): Allow to check for a
5230 value.
5231 (mi_list_array_varobj_children): New.
5232
5233 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
5234 and mi_list_varobj_children, as opposed to hardcoding
5235 expected strings.
5236 * gdb.mi/gdb701.exp: Likewise.
5237 * gdb.mi/gdb792.exp: Likewise.
5238 * gdb.mi/mi-var-block.exp: Likewise.
5239 * gdb.mi/mi-var-cmd.exp: Likewise.
5240 * gdb.mi/mi-var-invalidate.exp: Likewise.
5241 * gdb.mi/mi2-var-block.exp: Likewise.
5242 * gdb.mi/mi2-var-child.exp: Likewise.
5243 * gdb.mi/mi2-var-cmd.exp: Likewise.
5244 * gdb.mi/mi2-var-display.exp: Likewise.
5245
9df50351
JK
52462008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5247
5248 Fix random false FAILs on i386.
5249 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
5250
31e5d73a
DJ
52512008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
5252
5253 PR gdb/544
5254 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
5255
12f4afab
DJ
52562008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
5257
5258 PR gdb/544
5259 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
5260
b562a0cb
DJ
52612008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
5262
5263 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
5264 fixed PR gdb/544.
5265
17faa917
DJ
52662008-03-21 Pedro Alves <pedro@codesourcery.com>
5267
5268 * gdb.threads/fork-child-threads.exp: Test next over fork.
5269
6214f497
DJ
52702008-03-21 Chris Demetriou <cgd@google.com>
5271
5272 * gdb.base/break.exp (rbreak junk): New test for rbreak
5273 "Junk at end of arguments" issue.
5274
63092375
DJ
52752008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
5276
5277 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
5278 *& to work on created array elements.
5279 (Top level): Test print $pc with a file. Test string operations
5280 without a target.
5281 * gdb.base/ptype.exp: Do not expect *& to work on created array
5282 elements.
5283
b21991b0
DJ
52842008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
5285
5286 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5287 gdb.threads/staticthreads.exp: Update exit query.
5288
c4b347c7
SL
52892008-03-07 Sandra Loosemore <sandra@codesourcery.com>
5290
5291 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
5292
fa4727a6
DJ
52932008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
5294
5295 * gdb.base/watchpoint.c (global_ptr, func4): New.
5296 (main): Call func4.
5297 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
5298 (test_inaccessible_watchpoint): New.
5299
2f34202f
MR
53002008-02-29 Maciej W. Rozycki <macro@mips.com>
5301
5302 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
5303 select the largest.
5304
0d6ba1b1
DJ
53052008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
5306
5307 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
5308 frames-invalid annotations.
5309
e691325a
PM
53102008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
5311
a9c64011 5312 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 5313
f85b5ecc
DE
53142008-02-27 Doug Evans <dje@google.com>
5315
5316 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
5317 for bug 1738.
5318 (breakpoint_to_handler_entry): Ditto.
5319
b40e7bf3
JB
53202008-02-27 Joel Brobecker <brobecker@adacore.com>
5321
5322 * gdb.base/ending-run.exp: Use the first line of code inside
5323 function body to test breakpoints.
5324 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
5325 location where the breakpoint is inserted when using the line
5326 where a function is declared. Fix typo in the description of
5327 one of the tests.
5328 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
5329
2faca73a
PM
53302008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
5331
5332 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 5333 tests.
2faca73a 5334
6f439c36
PM
53352008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
5336
5337 * gdb.base/args.exp: avoid same output for tests
5338 with single quotes.
5339
54e52265
VP
53402008-02-26 Vladimir Prus <vladimir@codesourcery.com>
5341
a9c64011
AS
5342 * gdb.base/annota1.exp: Adjust for 'info break'
5343 format changes.
5344 * gdb.base/annota3.exp: Likewise.
5345 * gdb.base/break.exp: Likewise.
5346 * gdb.base/condbreak.exp: Likewise.
5347 * gdb.base/pending.exp: Likewise.
5348 * gdb.base/sepdebug.exp: Likewise.
5349 * gdb.base/unload.exp: Likewise.
5350 * gdb.cp/ovldbreak.exp: Likewise.
5351 * gdb.mi/mi-pending.exp: Likewise.
54e52265 5352
897b09ca
DE
53532008-02-07 Doug Evans <dje@google.com>
5354
5355 * gdb.cp/mb-inline.exp: New.
5356 * gdb.cp/mb-inline.h: New.
5357 * gdb.cp/mb-inline1.cc: New.
5358 * gdb.cp/mb-inline2.cc: New.
5359
b1c32d35
PM
53602008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
5361
5362 * gdb.pascal/floats.pas: New test program.
5363 * gdb.pascal/floats.exp: New testcase.
5364
1a4ca44a
TJB
53652008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
5366
5367 * gdb.base/callfuncs.c (t_float_many_args): New function.
5368 (t_double_many_args): New function.
5369 * gdb.base/callfuncs.exp: Add tests for exceeding float
5370 and double parameters passed through the stack.
5371
439048e8
JB
53722008-02-05 Joel Brobecker <brobecker@adacore.com>
5373
5374 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
5375 gdb.ada/complete/foo.adb: New files.
5376 * gdb.ada/complete.exp: New testcase.
5377
81fe8080
DE
53782008-02-03 Doug Evans <dje@google.com>
5379
301f0ecf
DE
5380 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
5381
81fe8080
DE
5382 * gdb.cp/gdb2384.exp: New file.
5383 * gdb.cp/gdb2384.cc: New file.
5384 * gdb.cp/gdb2384-base.h: New file.
5385 * gdb.cp/gdb2384-base.cc: New file.
5386
4b071aec
DE
53872008-02-02 Doug Evans <dje@google.com>
5388
5389 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
5390
61137ba6
JB
53912007-02-01 Joel Brobecker <brobecker@adacore.com>
5392
5393 * gdb.ada/sym_print_name: New test program.
5394 * gdb.ada/sym_print_name.exp: New testcase.
5395
53962007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
5397
5398 * gdb.ada/nested/hello.adb: New file.
5399 * gdb.ada/nested.exp: New testcase.
5400 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
5401
98deb0da
VP
54022008-02-01 Vladimir Prus <vladimir@codesourcery.com>
5403
5404 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
5405 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
5406 don't cause future evaluations of function to report
5407 creation of internal breakpoints.
98deb0da 5408
723a2275
VP
54092008-02-01 Vladimir Prus <vladimir@codesourcery.com>
5410
5411 * gdb.mi/mi-break.exp (test_error): New.
5412 Call it.
5413
fb546a2f
LM
54142008-01-31 Luis Machado <luisgpm@br.ibm.com>
5415
5416 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
5417 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
5418
2d8fd90a
PM
54192008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
5420
5421 * gdb.pascal/integers.pas: New test program.
5422 * gdb.pascal/integers.exp: New testcase.
5423
a7fa0ded
PM
54242008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
5425
5426 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
5427
5e1a1926
TJB
54282008-01-30 Luis Machado <luisgpm@br.ibm.com>
5429
5430 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
5431 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
5432
8d04f9f0
JB
54332008-01-30 Paul Hilfinger <hilfinger@adacore.com>
5434
5435 * gdb.ada/formatted_ref: New test program.
5436 * gdb.ada/formatted_ref.exp: New testcase.
5437
5438 * gdb.cp/formatted-ref.cc: New file.
5439 * gdb.cp/formatted-ref.exp: New testcase.
5440
ce75a98f
JB
54412008-01-30 Joel Brobecker <brobecker@adacore.com>
5442
5443 * gdb.base/ptype.exp: Add testing of "ptype $pc".
5444
e835f6bf
NR
54452008-01-30 Nick Roberts <nickrob@snap.net.nz>
5446
5447 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
5448 (test_file_list_exec_source_file): Update to new macro-info field.
5449
d118ef87
PH
54502008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
5451
5452 * gdb.ada/exprs: New test program.
5453 * gdb.ada/exprs.exp: New testcase.
5454
7d35ab09
TJB
54552008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5456
5457 * dfp-test.c (DELTA, DELTA_B): New definitions.
5458 (double_val1, double_val2, double_val3, double_val4, double_val5,
5459 double_val6, double_val7, double_val8, double_val9, double_val10,
5460 double_val11, double_val12, double_val13, double_val14, dec32_val1,
5461 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
5462 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
5463 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
5464 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
5465 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
5466 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
5467 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
5468 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
5469 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
5470 dec128_val16): New global variables.
5471 (decimal_dec128_align): New function.
5472 (decimal_mixed): Likewise.
5473 (decimal_many_args_dec32): Likewise.
5474 (decimal_many_args_dec64): Likewise.
5475 (decimal_many_args_dec128): Likewise.
5476 (decimal_many_args_mixed): Likewise.
5477 * dfp-test.exp: Add tests calling new inferior functions.
5478
2d717e4f
DJ
54792008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
5480
5481 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
5482 gdb.server/ext-run.exp: New files.
5483 * lib/gdbserver-support.exp (gdbserver_download): New.
5484 (gdbserver_start): New. Update gdbserver expected
5485 output.
5486 (gdbserver_spawn): Use them.
5487 (gdbserver_start_extended): New.
5488
e85a822c
DJ
54892008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
5490
5491 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
5492 Run on GNU/Linux.
5493 (do_exec_tests): Check for systems which do not support catchpoints.
5494 Do not match START.
5495 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
5496 Run on GNU/Linux. Enable verbose output.
5497 (check_fork_catchpoints): New.
5498 (explicit_fork_child_follow, catch_fork_child_follow)
5499 (tcatch_fork_parent_follow): Update expected messages.
5500 (do_fork_tests): Use check_fork_catchpoints.
5501 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
5502 Run on GNU/Linux. Enable verbose output.
5503 (check_vfork_catchpoints): New.
5504 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
5505 expected messages.
5506 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
5507
401ea829
JB
55082008-01-29 Jim Blandy <jimb@red-bean.com>
5509
5510 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
5511 host' errors.
5512 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
5513
aceaf3ad
JB
55142008-01-29 Jim Blandy <jimb@red-bean.com>
5515
5516 * gdb.threads/sigthread.c: Use barriers to ensure that
5517 child_thread and child_thread_two are always initialized before we
5518 start to use them.
5519
a5606eee
VP
55202008-01-29 Vladimir Prus <vladimir@codesourcery.com>
5521
5522 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
5523 * gdb.base/watchpoint-solib.c: New.
5524 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 5525
c55a82bb
PM
55262008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
5527
5528 * gdb.base/gdb1056.exp: Add unsigned integer test.
5529
0993fe05
DE
55302008-01-28 Doug Evans <dje@google.com>
5531
5532 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
5533
4fe42e7f
JB
55342008-01-27 Jim Blandy <jimb@codesourcery.com>
5535
c7a69933
JB
5536 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
5537
4fe42e7f
JB
5538 * gdb.base/expand-psymtabs.exp: Doc fix.
5539
5def8285
MK
55402008-01-26 Mark Kettenis <kettenis@gnu.org>
5541
5542 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
5543
5313c911
NR
55442008-01-24 Nick Roberts <nickrob@snap.net.nz>
5545
a9c64011 5546 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
5547 -var-set-format.
5548
93815fbf
VP
55492008-01-23 Chris Demetriou <cgd@google.com>
5550
5551 * gdb.threads/thread_events.c: New testcase source file.
5552 * gdb.threads/thread_events.exp: New testcase expect file.
5553
467a88ee
NR
55542008-01-23 Nick Roberts <nickrob@snap.net.nz>
5555
5556 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
5557
5558 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
5559 -var-set-format.
5560
d8f82aba
DJ
55612008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
5562 Vladimir Prus <vladimir@codesourcery.com>
5563
5564 * gdb.base/float.exp: Allow missing floating point for m68k and
5565 PowerPC.
5566
60c46647
VP
55672008-01-22 Vladimir Prus <vladimir@codesourcery.com>
5568
5569 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
5570 ignore count.
5571 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
5572 * gdb.mi/mi-cli.exp: Adjust.
5573 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 5574
c7dd36a1
PA
55752008-01-17 Pedro Alves <pedro@codesourcery.com>
5576
5577 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
5578 and 'dummy_ptr' integer pointer. Initialize struct_declarations
5579 with dummy_ptr's address.
5580 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
5581 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
5582 all targets.
5583 * gdb.mi/mi2-var-child.exp: Likewise.
5584
39d5313e
JB
55852008-01-09 Joel Brobecker <brobecker@adacore.com>
5586
5587 * gdb.ada/null_array: New test program.
5588 * gdb.ada/null_array.exp: New testcase.
5589
0aea4bf3
LM
55902008-01-09 Luis Machado <luisgpm@br.ibm.com>
5591
5592 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
5593 with required float modifiers.
5594
0b354900
JB
55952008-01-08 Joel Brobecker <brobecker@adacore.com>
5596
5597 * gdb.ada/funcall_param: New test program.
5598 * gdb.ada/funcall_param.exp: New testcase.
5599
cdb7f5d4
JB
56002008-01-08 Joel Brobecker <brobecker@adacore.com>
5601
5602 * gdb.ada/arrayparam: New test program.
5603 * gdb.ada/arrayparam.exp: New testcase.
5604
88e2547f
JB
56052008-01-08 Joel Brobecker <brobecker@adacore.com>
5606
5607 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
5608 landed. Should also fix random failures in the test following it.
5609
f6867ce0
TJB
56102008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
5611
5612 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
5613 for expressions with decimal float values.
5614 (test_dfp_conversions): New function to test casts to and from
5615 decimal float types.
5616 Call test_dfp_conversions.
5617 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
5618 elements.
5619 (main): Initialize ds.float4 and ds.double8 elements.
5620 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
5621 string to new error message.
5622 (d64_set_tests): Likewise.
5623 (d128_set_tests): Likewise.
5624 Add tests for expressions with decimal float variables. Add tests for
5625 conversions to and from decimal float types.
5626
f9c11282
JB
56272008-01-05 Joel Brobecker <brobecker@adacore.com>
5628
5629 * gdb.ada/packed_tagged/comp_bug.adb: New file.
5630 * gdb.ada/packed_tagged.exp: New testcase.
5631
0ecbca72
JB
56322008-01-04 Joel Brobecker <brobecker@adacore.com>
5633
5634 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
5635 gdb.ada/homonym/homonym_main.adb: New files.
5636 * gdb.ada/homonym.exp: New testcase.
5637
c18d3d89
JB
56382008-01-04 Joel Brobecker <brobecker@adacore.com>
5639
5640 * gdb.ada/packed_array.exp: Add testing of references to
5641 a packed array.
5642
ecc7085b
JB
56432008-01-04 Joel Brobecker <brobecker@adacore.com>
5644
5645 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
5646 New files.
5647 * gdb.ada/type_coercion.exp: New testcase.
5648
c474c922
JB
56492008-01-04 Joel Brobecker <brobecker@adacore.com>
5650
5651 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
5652 gdb.ada/tagged/foo.adb: New file.
5653 * gdb.ada/tagged.exp: New testcase.
5654
9005b927
JB
56552008-01-04 Joel Brobecker <brobecker@adacore.com>
5656
5657 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
5658 gdb.ada/ptype_field/foo.adb: New files.
5659 * gdb.ada/ptype_field.exp: New testcase.
5660
1a6aaad8
JB
56612008-01-03 Joel Brobecker <brobecker@adacore.com>
5662
5663 * gdb.ada/print_pc.exp: New testcase.
5664
0ef22f53
JB
56652008-01-03 Joel Brobecker <brobecker@adacore.com>
5666
5667 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
5668 gdb.ada/taft_type/p.adb: New files.
5669 * gdb.ada/taft_type.exp: New testcase.
5670
1689ecf8
JB
56712008-01-03 Joel Brobecker <brobecker@adacore.com>
5672
5673 * gdb.ada/array_bounds/bar.adb: New file.
5674 * gdb.ada/array_bounds.exp: New testcase.
5675
a4d0b9c3
JB
56762008-01-03 Joel Brobecker <brobecker@adacore.com>
5677
5678 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
5679 gdb.ada/arrayptr/foo.adb: New files.
5680 * gdb.ada/arrayptr.exp: New testcase.
5681
a31ace00
JB
56822008-01-03 Joel Brobecker <brobecker@adacore.com>
5683
5684 * gdb.base/set-lang-auto.exp: New testcase.
5685
a97fced3
JB
56862008-01-03 Joel Brobecker <brobecker@adacore.com>
5687
5688 * gdb.ada/fun_addr/foo.adb: New file.
5689 * gdb.ada/fun_addr.exp: New testcase.
5690
ef29ce1a
JK
56912008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5692
5693 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
5694 New files
5695
0fafefe3
JB
56962008-01-02 Joel Brobecker <brobecker@adacore.com>
5697
5698 * array_subscript_addr/p.adb: New file.
a9c64011 5699 * array_subscript_addr.exp: New testcase.
0fafefe3 5700
c4359f8d
JB
57012008-01-02 Joel Brobecker <brobecker@adacore.com>
5702
a9c64011 5703 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
5704 New files.
5705 * gdb.ada/str_cmp_ref.exp: New testcase.
5706
1aa1b15b
JB
57072008-01-01 Joel Brobecker <brobecker@adacore.com>
5708
5709 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
5710 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 5711 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 5712
81c9b2cf
JB
57132008-01-01 Joel Brobecker <brobecker@adacore.com>
5714
5715 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
5716 gdb.ada/ref_param/pck.ads: New files.
5717 * gdb.ada/ref_param.exp: New testcase.
5718
319e4674
JB
57192008-01-01 Joel Brobecker <brobecker@adacore.com>
5720
5721 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
5722 gdb.ada/interface/foo.adb: New files.
5723 * gdb.ada/interface.exp: New testcase.
5724
ef682c56
JB
57252007-12-31 Jim Blandy <jimb@codesourcery.com>
5726
5727 * gdb.base/multi-forks.exp: Consume all output from child
5728 processes before proceeding to next test.
5729
f6f3eb6c
JB
57302007-12-29 Jim Blandy <jimb@codesourcery.com>
5731
5732 * configure: Regenerated.
5733
f652e42f
JB
57342007-12-27 Joel Brobecker <brobecker@adacore.com>
5735
5736 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
5737 gdb.ada/fixed_cmp/fixed.adb: New files.
5738 * gdb.ada/fixed_cmp.exp: New testcase.
5739
6943e596
JB
57402007-12-27 Joel Brobecker <brobecker@adacore.com>
5741
5742 * gdb.ada/boolean_expr.exp: New testcase.
5743
aad9a193
JB
57442007-12-26 Jim Blandy <jimb@codesourcery.com>
5745
5746 * gdb.base/multi-forks.exp: Doc fix.
5747
fb5f3683
JB
57482007-12-26 Joel Brobecker <brobecker@adacore.com>
5749
5750 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
5751 * gdb.ada/char_param.exp: Do not compile our test program with
5752 -gnata, this is unnecessary.
5753 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
5754
384e4a9c
JB
57552007-12-24 Joel Brobecker <brobecker@adacore.com>
5756
5757 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
5758 gdb.ada/print_chars/foo.adb: New files.
5759 * gdb.ada/print_chars.exp: New testcase.
5760
01e044f7
JB
57612007-12-24 Joel Brobecker <brobecker@adacore.com>
5762
5763 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
5764 gdb.ada/char_param/foo.adb: New files.
5765 * gdb.ada/char_param.exp: New testcase.
5766
0ce17860
JB
57672007-12-22 Jim Blandy <jimb@codesourcery.com>
5768
5769 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
5770 hard-coding source line numbers into the test.
5771 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
5772 gdb_get_line_number to find.
5773
919809b9
JB
57742007-12-22 Joel Brobecker <brobecker@adacore.com>
5775
5776 * gdb.base/ptype.c (highest): New struct type.
5777 (the_highest): New variable of that type.
5778 (main): Add dummy assignment to a field of variable the_highest.
5779 * gdb.base/ptype.exp: Test type printing of our new variable.
5780
abc8a88d
PM
57812007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
5782
5783 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 5784 and record first explicitly generated thread number.
abc8a88d
PM
5785 Use that thread number for thread specific watchpoint test.
5786 Add iteration number to repetitive tests.
5787
5158f3e3
CES
57882007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
5789 Jim Blandy <jimb@codesourcery.com>
5790
5791 * gdb.base/expand-psymtabs.c: New testcase
5792 source file.
5793 * gdb.base/expand-psymtabs.exp: New testcase
5794 expect file.
5795
37e4754d
LM
57962007-12-17 Luis Machado <luisgpm@br.ibm.com>
5797
5798 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
5799 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
5800
551e5d04
JB
58012007-12-17 Joel Brobecker <brobecker@adacore.com>
5802
5803 * gdb.ada/frame_args/foo.adb: New file.
5804 * gdb.ada/frame_args/pck.ads: New file.
5805 * gdb.ada/frame_args/pck.adb: New file.
5806 * gdb.ada/frame_args.exp: New testcase.
5807
a05ee097
JB
58082007-12-17 Joel Brobecker <brobecker@adacore.com>
5809
5810 * gdb.base/frame-args.c: New file.
5811 * gdb.base/frame-args.exp: New testcase.
5812
c162e8c9 58132007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 5814 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
5815
5816 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
5817
afe8ab22 58182007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 5819
afe8ab22
VP
5820 * gdb.mi/mi-pending.exp: New.
5821 * gdb.mi/mi-pending.c: New.
5822 * gdb.mi/mi-pendshr.c: New.
5823
dfdfb3ca
JB
58242007-12-06 Jim Blandy <jimb@codesourcery.com>
5825
5826 * gdb.base/default.exp: Update expected output for 'info catch'.
5827
b7fca990
JK
58282007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5829
5830 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
5831 must be set to binary.
5832
6a1afc1e
PA
58332007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
5834
5835 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
5836
a6b151f1
DJ
58372007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
5838
5839 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
5840 gdb.mi/mi-file-transfer.exp: New.
5841
43039443
JK
58422007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5843
5844 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
5845
0ef2251b
MR
58462007-11-22 Maciej W. Rozycki <macro@mips.com>
5847
5848 * gdb.trace/backtrace.exp: Fix a typo.
5849 * gdb.trace/circ.exp: Likewise.
5850 * gdb.trace/collection.exp: Likewise.
5851 * gdb.trace/limits.exp: Likewise.
5852 * gdb.trace/report.exp: Likewise.
5853 * gdb.trace/tfind.exp: Likewise.
5854 * gdb.trace/while-dyn.exp: Likewise.
5855
5443631e
NR
58562007-11-21 Nick Roberts <nickrob@snap.net.nz>
5857
5858 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
5859 objects of pointers that can't be dereferenced are now
5860 "noneditable".
5861
a4ce5b0d
UW
58622007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5863
5864 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
5865 (target_cpu): Remove.
5866
d6e956e5
VP
58672007-10-15 Vladimir Prus <vladimir@codesourcery.com>
5868
5869 * gdb.base/ending-run.exp: Expect the list of cleared
5870 breakpoint to come in natural order, not the reversed one.
a9c64011 5871
214270ab
VP
58722007-11-07 Vladimir Prus <vladimir@codesourcery.com>
5873
5874 * gdb.mi/mi-var-child.c (do_child_deletion): New.
5875 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 5876
1a619819
LM
58772007-11-05 Luis Machado <luisgpm@br.ibm.com>
5878
5879 * gdb.base/printcmds.exp: New function
5880 test_printf_with_dfp.
5881
5b01a6fa
DE
58822007-11-02 Doug Evans <dje@google.com>
5883
5884 * gdb.disasm/t01_mov.s: Remove carriage returns.
5885 * gdb.disasm/t02_mova.s: Ditto.
5886 * gdb.disasm/t03_add.s: Ditto.
5887 * gdb.disasm/t04_sub.s: Ditto.
5888 * gdb.disasm/t05_cmp.s: Ditto.
5889 * gdb.disasm/t06_ari2.s: Ditto.
5890 * gdb.disasm/t07_ari3.s: Ditto.
5891 * gdb.disasm/t08_or.s: Ditto.
5892 * gdb.disasm/t09_xor.s: Ditto.
5893 * gdb.disasm/t10_and.s: Ditto.
5894 * gdb.disasm/t11_logs.s: Ditto.
5895 * gdb.disasm/t12_bit.s: Ditto.
5896 * gdb.disasm/t13_otr.s: Ditto.
5897
ec33ab7f
JK
58982007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5899
5900 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
5901
ae0d01ff
UW
59022007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5903
5904 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
5905 provide DFP support.
5906
55eddb0f
DJ
59072007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
5908
5909 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
5910 Test "set powerpc vector-abi". Skip auto-detection tests for old
5911 toolchains.
5912
7020f05c
PA
59132007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
5914
5915 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
5916 with [string compare].
5917
84bc3db9
PA
59182007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
5919
5920 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
5921 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
5922
5876dc88
LM
59232007-10-25 Luis Machado <luisgpm@br.ibm.com>
5924
5925 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
5926 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
5927 * gdb.opt/Makefile.in: New makefile.
5928 * Makefile.in: Create new directory "gdb.opt".
5929 * configure.ac: Add "gdb.opt" directory.
5930 * configure: Regenerated.
a9c64011 5931
c3ea9a14
DE
59322007-10-25 Doug Evans <dje@google.com>
5933
5934 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
5935 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
5936
a9c64011 59372007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
5938 Thiago Jung Bauermann <bauerman@br.ibm.com>
5939
5940 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
5941 Floating Point expressions.
5942 * gdb.base/dfp-test.exp: new file adding tests for Decimal
5943 Floating Point variables.
5944 * gdb.base/dfp-test.c: new file containing program with Decimal
5945 Floating variables, used by gdb.base/dfp-test.exp.
5946
62a24a2b
DJ
59472007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
5948
5949 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
5950
e7b1eae6
UW
59512007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5952
5953 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
5954 compiling test case with GCC.
5955 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
5956
c641edcc
UW
59572007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5958
5959 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
5960 format changes.
5961
5e5ebfe6
MS
59622007-10-18 Michael Snyder <msnyder@specifix.com>
5963
5964 * gdb.base/dbx.exp: Add missing "-re " operator.
5965
e831e7b6
GM
59662007-10-16 Gaius Mulley <gaius@glam.ac.uk>
5967
5968 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
5969 * configure.ac: Removed trailing spaces after backslash.
5970 * gdb.modula2: New directory.
5971 * gdb.modula2/Makefile.in: New file.
5972 * gdb.modula2/unbounded-array.exp: New file.
5973 * gdb.modula2/unbounded1.c: New file.
5974
7cc46491
DJ
59752007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
5976
5977 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
5978
59792007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
5980
5981 * gdb.base/sigstep.c (main): Add checks for
5982 return values for setitimer call.
5983 Call setitimer again with itimer = ITIMER_REAL
5984 if first call to setitimer fails.
5985
e91528f0
KH
59862007-10-11 Kazu Hirata <kazu@codesourcery.com>
5987
5988 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
5989 of $timeout.
5990
2ec9a4f8
DJ
59912007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
5992
5993 * gdb.server/server-run.exp: Test for dynamic linker symbols.
5994
59952007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
5996
5997 * lib/gdb.exp (gdb_run_cmd): Move comment outside
5998 of gdb_expect call, to avoid interruption.
5999
64b2fa04
PA
60002007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
6001
6002 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
6003 (v_unsigned_long_long, v_long_long_array)
6004 (v_signed_long_long_array, v_unsigned_long_long_array)
6005 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
6006 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
6007 [!NO_LONG_LONG]: New.
6008 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
6009 v_long_long_member.
6010
6011 (v_long_long_func, v_signed_long_long_func)
6012 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
6013 (main) [!NO_LONG_LONG]: Initialize long long variants.
6014
6015 * gdb.base/whatis.exp: If board file requests no_long_long, build
6016 test with NO_LONG_LONG defined. Test long long, signed long long,
6017 and unsigned long long variants but only if board file doesn't
6018 disable it.
6019
a912286e 60202007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 6021 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
6022
6023 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
6024 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
6025 * configure: Regenerated.
6026 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
6027 gdb.pascal/types.exp, lib/pascal.exp: New files.
6028
471ba8c9
DJ
60292007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
6030
6031 * gdb.cp/classes.exp (do_tests): Always step to the line after the
6032 call.
6033 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
6034 to return to the call.
6035 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
6036 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
6037 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
6038 * gdb.mi/mi-until.exp (test_until): Likewise.
6039 * gdb.mi/mi2-until.exp (test_until): Likewise.
6040
fef8a650
DJ
60412007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
6042
6043 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
6044 two-char array.
6045 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
6046
d983da9c
DJ
60472007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
6048
6049 * gdb.threads/watchthreads.c (thread_function): Sleep between
6050 iterations.
6051 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
6052 at once for S/390. Generate matching fails and passes.
6053
17f62551
VP
60542007-09-27 Vladimir Prus <vladimir@codesourcery.com>
6055
6056 * gdb.mi/var-cmd.c (do_children_tests): Initialize
6057 the 'struct_declarations' variable to zeros.
a9c64011 6058
ed0616c6
VP
60592007-09-24 Vladimir Prus <vladimir@codesourcery.com>
6060
6061 * gdb.cp/mb-ctor.cc: New.
6062 * gdb.cp/mb-ctor.exp: New.
6063 * gdb.cp/mb-templates.cc: New.
6064 * gdb.cp/mb-templates.exp: New.
6065
41f1b697
DJ
60662007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
6067
6068 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
6069
3f213f78
PA
60702007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
6071
6072 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
6073 targets.
6074 * configure: Regenerate.
6075
0d381245 60762007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 6077
0d381245
VP
6078 * gdb.base/annota1.exp: Adjust for 'info break'
6079 format changes.
6080 * gdb.base/annota3.exp: Likewise.
6081 * gdb.base/break.exp: Likewise.
6082 * gdb.base/condbreak.exp: Likewise.
6083 * gdb.base/pending.exp: Likewise.
6084 * gdb.base/sepdebug.exp: Likewise.
6085 * gdb.base/unload.exp: Likewise.
6086 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 6087
fe3f5fa8
VP
60882007-09-22 Vladimir Prus <vladimir@codesourcery.com>
6089
6090 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
6091 messages.
6092 * gdb.base/chng-syms.exp: Likewise.
6093 * gdb.base/unload.exp: Likewise.
a9c64011 6094
a75cf6c0
DJ
60952007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
6096
6097 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
6098
18ecae38
DJ
60992007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
6100
6101 * schedlock.c (NUM): Change to 1.
6102 (main): Use args[0] for the main thread.
6103 * schedlock.exp: Only expect two threads. Only issue one pass or fail
6104 regardless of the number of threads.
6105
5509918f
MR
61062007-09-14 Maciej W. Rozycki <macro@mips.com>
6107
4a543daf
MR
6108 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
6109 type down.
6110 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
6111 test.
6112 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
6113 watchpoint type down.
6114 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
6115 test.
6116
61172007-09-14 Maciej W. Rozycki <macro@mips.com>
6118
5509918f
MR
6119 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
6120 Move all the tests here and run them twice, once using software
6121 watchpoints and once using hardware watchpoints.
6122 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
6123
40b53987
DJ
61242007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
6125
6126 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
6127 test.
6128
695e2681
MK
61292007-09-10 Mark Kettenis <kettenis@gnu.org>
6130
8b3fc8d8
MK
6131 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
6132 build-id.
6133
695e2681
MK
6134 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
6135 know about $ORIGIN. Calculate output dir from $dest instead of
6136 using ${objdir}/{$subdir}.
6137
58d69f29
MK
61382007-09-09 Mark Kettenis <kettenis@gnu.org>
6139
6140 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
6141 gcore, before continuing with the test.
6142
3e347599
DJ
61432007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
6144
6145 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
6146 * gdb.mi/mi-watch.exp: Likewise.
6147
ea37ba09
DJ
61482007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
6149 Jim Blandy <jimb@codesourcery.com>
6150
6151 * gdb.arch/i386-sse.exp: Do not expect character constants.
6152 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
6153 * gdb.base/display.exp: Allow print/s.
6154 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
6155 and unsigned char array changes.
6156
2025a643
DJ
61572007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
6158
6159 * gdb.base/display.exp: Add tests for printf %p.
6160
26669a27
PA
61612007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
6162
6163 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
6164 the dll name to unicode.
6165
c8f021f8
JK
61662007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6167
6168 * gdb.base/default.exp (show version): Update the version text.
6169 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
6170
4cf31eea
JK
61712007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6172
6173 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
6174 New files.
6175
4935890f
JK
61762007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6177
6178 * lib/gdb.exp (build_id_debug_filename_get): New function.
6179 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
6180 Remove the generate DEBUG file for the future testcase runs.
6181 New testcase for the NT_GNU_BUILD_ID retrieval.
6182 Move the final testing step to ...
6183 (test_different_dir): ... a new function.
6184 New parameter XFAIL to XFAIL all the tests performed.
6185 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
6186 New parameter TYPE to PF_PREFIX all the tests performed.
6187
02142340
VP
61882007-08-31 Vladimir Prus <vladimir@codesourcery.com>
6189
6190 * gdb.mi/mi-var-cp.cc (path_expression): New
6191 function.
6192 * gdb.mi/mi-var-cp.exp: Run path exression tests.
6193
36acd84e
UW
61942007-08-27 Markus Deuling <deuling@de.ibm.com>
6195
6196 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
6197 to fit into SPU Local Store memory.
6198
a896d121
JB
61992007-08-23 Joel Brobecker <brobecker@adacore.com>
6200
6201 * gdb.base/default.exp: Adjust the expected output of "info
6202 warranty" after the switch to GPLv3.
6203
7b433602
JB
62042007-08-23 Joel Brobecker <brobecker@adacore.com>
6205
6206 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
6207 to 30000 (from 20000).
6208
e22f8b7c
JB
62092007-08-23 Joel Brobecker <brobecker@adacore.com>
6210
6211 Switch the license of all .exp files to GPLv3.
6212 Switch the license of all .f and .f90 files to GPLv3.
6213 Switch the license of all .s and .S files to GPLv3.
6214
5a0e3bd0
JB
62152007-08-23 Joel Brobecker <brobecker@adacore.com>
6216
6217 * configure.ac: Switch license to GPLv3.
6218
cc00619d
JB
62192007-08-23 Joel Brobecker <brobecker@adacore.com>
6220
6221 Switch the licensing to GPLv3 for all .ads and .adb files.
6222
8d26208a
DJ
62232007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
6224
6225 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
6226 and t_int_double.
6227 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
6228
4fcb9948
JB
62292007-08-17 Joel Brobecker <brobecker@adacore.com>
6230
6231 * gdb.base/step-line.c: Switch license to GPL version 3, and
6232 update copyright year.
6233 * gdb.base/step-line.inp: Likewise.
6234
b9c34f67
JB
62352007-08-17 Joel Brobecker <brobecker@adacore.com>
6236
6237 * gdb.base/gdb1555.exp: Make expected output immune to formatting
6238 changes inside gdb1555.c.
6239 * gdb.base/pending.exp: Likewise.
6240
2cc17678
DJ
62412007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
6242
6243 * config/default.exp: New file.
6244
e48883f7
DJ
62452007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
6246
6247 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
6248 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
6249
1ab80e5b
MR
62502007-07-30 Maciej W. Rozycki <macro@mips.com>
6251
6252 * gdb.base/dump.exp: Force the correct endianness for binary
6253 formats not carrying this information.
6254
aba471f5
DJ
62552007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6256
6257 * gdb.threads/staticthreads.exp: Match .*sem_post.
6258
d4e07204
DJ
62592007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6260
6261 * gdb.base/readline.exp (operate_and_get_next): Match the final
6262 prompt.
6263
2b97317d
KB
62642007-07-23 Kevin Buettner <kevinb@redhat.com>
6265
6266 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
6267 to restarting SID.
6268
44efa07a
KB
62692007-07-18 Kevin Buettner <kevinb@redhat.com>
6270
6271 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
6272 prior to `gdb_start'.
6273
7b5ebade
KB
62742007-07-18 Kevin Buettner <kevinb@redhat.com>
6275
6276 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
6277 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
6278 Remove call to gdb_unload.
6279
255e7678
DJ
62802007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
6281 Daniel Jacobowitz <dan@codesourcery.com>
6282
6283 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
6284 for __WIN32__.
6285 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
6286 * gdb.base/unload.exp: Use shared library test routines.
6287
3a40aaa0
UW
62882007-07-03 Markus Deuling <deuling@de.ibm.com>
6289
6290 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
6291 * gdb.base/solib-symbol-lib.c: Likewise.
6292 * gdb.base/solib-symbol-main.c: Likewise.
6293
b0f4b84b
DJ
62942007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
6295
6296 * config/gdbserver.exp (gdb_reconnect): New.
6297 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
6298 gdb.base/solib-disc.exp: New files.
6299 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
6300 remote debugging".
6301 (gdb_compile): Add shlib_load flag.
6302 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
6303 port.
6304 (gdbserver_reconnect): New.
6305
1b05479a
DJ
63062007-07-01 Nick Roberts <nickrob@snap.net.nz>
6307 Daniel Jacobowitz <dan@codesourcery.com>
6308
6309 * gdb.base/annota3.exp: Test for if construct.
6310
86f78eb2
DJ
63112007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
6312
6313 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
6314
6a2eb474 63152007-06-21 Chris Dearman <chris@mips.com>
a9c64011 6316 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
6317
6318 * gdb.base/display.exp: Allow a newline after display/i.
6319 * gdb.base/pc-fp.exp: Likewise.
6320 * gdb.base/sigbpt.exp: Likewise.
6321
f8b73d13
DJ
63222007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
6323
6324 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
6325 required features to be included.
6326
4339e69e
DJ
63272007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
6328
6329 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
6330 in info threads output.
6331
23d964e7
UW
63322007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6333 Markus Deuling <deuling@de.ibm.com>
6334
6335 * gdb.arch/spu-info.exp: New testcase.
6336 * gdb.arch/spu-info.c: New file.
6337
fd20f75b
DJ
63382007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
6339
6340 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
6341 tpcs_offset. Restore lr after the call.
6342 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
6343
2226f861
DJ
63442007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
6345
6346 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
6347 (gdbserver_run): Kill any running gdbserver.
6348 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
6349
d12371a9
MR
63502007-05-17 Maciej W. Rozycki <macro@mips.com>
6351
6352 * gdb.base/sigbpt.exp: Preset segv_addr.
6353
93f02886
DJ
63542007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
6355
6356 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
6357 (gdb_compile_shlib): Likewise.
6358 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
6359 (default_gdb_init): Clear cleanfiles.
6360 (gdb_finish): Delete recorded cleanfiles.
6361 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
6362
6363 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
6364 Do not use isnative.
6365 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
6366 gdb.base/so-impl-ld.exp: Likewise.
6367 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
6368 * gdb.base/unload.exp: Likewise. Do not pass empty option to
6369 gdb_compile.
6370
b04e06d7
VP
63712007-05-15 Vladimir Prus <vladimir@codesourcery.com>
6372
6373 * config/unknown.exp: Remove.
6374
069ed931
UW
63752007-05-15 Markus Deuling <deuling@de.ibm.com>
6376
6377 * gdb.base/info-proc.exp: Check is_remote.
6378
09db0d03
UW
63792007-05-14 Markus Deuling <deuling@de.ibm.com>
6380
6381 * gdb.base/gcore.exp: Initialize variable core_supported.
6382
af2cbe8c
DJ
63832007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
6384
6385 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
6386
027c0295
DJ
63872007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
6388
6389 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
6390 * gdb.threads/print-threads.exp (test_all_threads): Allow
6391 negative and hexadecimal thread IDs.
6392
dc5000e7
DJ
63932007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
6394
6395 * gdb.java/jprint.java (public): Avoid invalid call to static
6396 method.
6397
2e74ed18
DP
63982007-05-14 Denis Pilat <denis.pilat@st.com>
6399
6400 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
6401 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
6402 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
6403 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
6404 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
6405
83547f02
UW
64062007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6407
6408 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 6409 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
6410 this mode.
6411 * gdb.base/ovlymgr.c: Provide stubs for spu target.
6412 * gdb.base/spu.ld: New file.
6413
b18be20d
DJ
64142007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
6415
6416 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
6417
be444858
DJ
64182007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
6419
6420 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
6421
b1d53152
DJ
64222007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
6423
6424 * gdb.java/jmain.exp: Handle demangled names with and without method
6425 signatures.
6426
d084b331
DJ
64272007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
6428
6429 * gdb.mi/mi-syn-frame.c (main, foo, bar)
6430 (have_a_very_merry_interrupt): Remove calls to puts.
6431 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
6432 inferior output.
6433 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
6434 test names.
6435
db9d7fc5
DJ
64362007-04-29 Markus Deuling <deuling@de.ibm.com>
6437 Daniel Jacobowitz <dan@codesourcery.com>
6438
6439 * gdb.base/auxv.exp (core_works): Also check is_remote.
6440 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
6441
ef783a7d 64422007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 6443
ef783a7d
VP
6444 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
6445 message, not the undefined 'module' variable.
6446 * gdb.base/siginfo.exp: Likewise.
6447 * gdb.base/sigstep.exp: Likewise.
6448 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
6449 serialport.
6450 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
6451
b7b73cae
CV
64522007-04-25 Corinna Vinschen <vinschen@redhat.com>
6453
6454 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
6455 target sim fails. Return 0 otherwise.
6456 (gdb_load): Return prematurely if gdb_target_sim fails.
6457
7d90fdfa
DP
64582007-04-16 Denis Pilat <denis.pilat@st.com>
6459
6460 * gdb.base/setshow.exp: Reset height after having set it to 100.
6461
5d3e9c85
DP
64622007-04-16 Denis Pilat <denis.pilat@st.com>
6463
6464 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
6465
18e75969
DP
64662007-04-16 Denis Pilat <denis.pilat@st.com>
6467
6468 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
6469
25d5ea92
VP
64702007-04-14 Vladimir Prus <vladimir@codesourcery.com>
6471
6472 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
6473 tests. Run the frozen varobjs test.
6474 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 6475 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 6476
0b49cb80
JK
64772007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6478
6479 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
6480 gdb.base/type-opaque.exp: New files.
6481
a73bafbc 64822007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
6483
6484 * gdb.mi/mi-var-child.c
a73bafbc
VP
6485 (do_children_tests): User char[2] instead of
6486 char so that automatic printing of pointers to char
6487 don't give unpredicable result.
6488 * gdb.mi/var-cmd.c (do_locals_test): Initialize
6489 local variables.
6490 * gdb.mi/mi-var-child.exp: Step to right line
6491 of do_children_tests.
6492 * gdb.mi/mi2-var-child.exp: Likewise.
6493 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 6494 do_locals_tests.
a73bafbc
VP
6495 (do_children_tests): User char[2] instead of
6496 char so that automatic printing of pointers to char
a9c64011 6497 don't give unpredicable result.
a73bafbc 6498 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 6499 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
6500 Pass test name to mi_wait_for_stop.
6501
7ce59000
DJ
65022007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
6503
6504 * gdb.asm/asm-source.exp: Remove d10v case.
6505 * lib/gdb.exp (skip_cplus_tests): Likewise.
6506 * gdb.asm/d10v.inc: Deleted.
6507
20389057
DJ
65082007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
6509
6510 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
6511
8807d78b
DJ
65122007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
6513
6514 * config/netware.exp: Delete file.
6515
aa3edb8e
JB
65162007-03-29 Joel Brobecker <brobecker@adacore.com>
6517
6518 * gdb.dwarf2/dw2-noloc.S: New file.
6519 * gdb.dwarf2/dw2-noloc.exp: New file.
6520
297561ac
PA
65212007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
6522
6523 * gdb.cp/method2.cc: New test.
6524 * gdb.cp/method2.exp: New test.
6525 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
6526
1f81bd39
DJ
65272007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
6528
6529 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
6530
9453113a
DJ
65312007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
6532
6533 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
6534
b741e217
DJ
65352007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
6536
6537 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
6538 (gdb_load): Delete, replace with...
6539 (gdb_reload): ...this.
6540 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
6541 * gdb.server/server-mon.exp: Likewise.
6542 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
6543 (gdb_start_cmd): New.
6544 (gdb_file_cmd): Save the last loaded file.
6545 (gdb_reload): New.
6546 (gdb_gnu_strip_debug): Use transform.
6547 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
6548 support here. Use new $last_loaded_file. Check mtime.
6549 (gdb_target_cmd): Handle ObjC failure case.
6550 (infer_host_exec): Delete.
6551 (gdbserver_load): Rename to...
6552 (gdbserver_run): ...this. Simplify.
6553 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
6554 (mi_gdb_load): Move most contents to a new function...
6555 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
6556 (mi_run_cmd): Use mi_gdb_target_load.
6557 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
6558 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
6559 Use gdb_run_cmd.
6560 * gdb.base/charsign.exp: Remove incorrect comment.
6561 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
6562 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
6563 gdb.base/start.exp: Use gdb_start_cmd.
6564
446ab585 65652007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 6566 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
6567
6568 * gdb.base/sigbpt.exp: Fix the message when skipping test.
6569 * gdb.base/signull.exp: Similarly.
6570
bbb88ebf
UW
65712007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6572
6573 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
6574 messages available to test cases (like chng-sym.exp).
6575
cb8c4a99
AS
65762007-03-14 Andreas Schwab <schwab@suse.de>
6577
6578 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
6579 format changes.
6580
4e463ff5
DJ
65812007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
6582
6583 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
6584 (optimized_1): New.
6585 (main): Call optimized_1.
6586 (gdb2029): Correct typos. Call gdb2029_marker.
6587 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
6588 for gdb2029.
6589
b6db2c47
MK
65902007-03-12 Mark Kettenis <kettenis@gnu.org>
6591
6592 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
6593 as tabs. Remove redundant test pattern.
6594
70ed3737
UW
65952007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6596
6597 * gdb.base/long_long.exp: Accept optional symbol name in <...>
6598 for /a format output.
6599
47b67b60
DJ
66002007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
6601
6602 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
6603 collect output incrementally.
6604
b8953b0e
UW
66052007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6606
6607 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
6608 for -var-create lpcharacter test.
6609 * gdb.mi/mi2-var-cmd.exp: Likewise.
6610
7acd5c40
UW
66112007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6612
6613 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
6614 pass on targets where address zero is readable.
6615
9c6759c1
UW
66162007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6617
6618 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
6619 just a single architecture.
6620
a2f1aeb4
UW
66212007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6622
6623 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
6624 (fetch_all_registers): New function, uses gdb_test_multiple and
6625 exp_continue to fetch inferior output line-by-line.
6626 Replace all uses of do_get_all_registers by fetch_all_registers.
6627
46579ac2
UW
66282007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6629
6630 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
6631 in target_info.
6632
fc133f24
MS
66332007-03-02 Michael Snyder <michael.snyder@palmsource.com>
6634
a9c64011 6635 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
6636 consistancy; add a default (timeout) case.
6637
7646a51d
MS
66382007-03-02 Michael Snyder <michael.snyder@palmsource.com>
6639
6640 * gdb.base/watchpoint.exp: Fix truncated comment.
6641
dcfff61f
MS
66422007-03-02 Michael Snyder <michael.snyder@palmsource.com>
6643
6644 * Makefile.in: Remove spurious single-quotes from sed command.
6645
664e3ee9
DJ
66462007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
6647
6648 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
6649 func.
6650 * gdb.mi/mi2-var-cmd.exp: Likewise.
6651
d7cc6f2f
JB
66522007-02-27 Joel Brobecker <brobecker@adacore.com>
6653
a9c64011
AS
6654 * gdb.dwarf2/dw2-producer.S: New file.
6655 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
6656
66572007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
6658
6659 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
6660 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
6661 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
6662 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
6663 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
6664 Revert tests to use mi_gdb_test and include value field in output
6665 of -var-create.
6666
93d42b30
DJ
66672007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
6668
6669 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
6670
c499ed39
DJ
66712007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
6672
6673 * gdb.base/maint.exp: Remove full paths from test names.
6674 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
6675 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
6676
9836f81b
JB
66772007-02-27 Joel Brobecker <brobecker@adacore.com>
6678
6679 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
6680
c74d0ad8
DJ
66812007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
6682
6683 * gdb.server/server-mon.exp: New test.
6684
2711e456
DJ
66852007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
6686
6687 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
6688
ff6f572f
DJ
66892007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
6690
6691 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
6692 register capitalization.
6693
fada3feb
DP
66942007-02-13 Denis Pilat <denis.pilat@st.com>
6695
6696 * gdb.mi/mi-var-invalidate.exp: New file.
6697
fb1e4ffc
DJ
66982007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
6699
6700 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
6701
3da939d7
DJ
67022007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
6703
6704 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
6705
123dc839
DJ
67062007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
6707
6708 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
6709 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
6710
877e3645 67112007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
6712
6713 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
6714 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
6715 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
6716 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
6717 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 6718 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 6719 Update tests to include value field in output of -var-create.
a9c64011 6720
3c0a2960
AS
67212007-02-08 Andreas Schwab <schwab@suse.de>
6722
6723 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
6724
108546a0
DJ
67252007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
6726
6727 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
6728 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
6729
d701dcab
DP
67302007-02-02 Denis Pilat <denis.pilat@st.com>
6731
6732 * gdb.threads/threadapply.exp: check that frame is not changed by
6733 the thread apply all command.
6734
783e3e2f
AS
67352007-01-31 Andreas Schwab <schwab@suse.de>
6736
6d9c3a87
AS
6737 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
6738
3c50d7b9
AS
6739 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
6740 in the dwarf sections.
6741 * gdb.dwarf2/mac-fileno.S: Likewise.
6742
783e3e2f
AS
6743 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
6744 bspstore register on ia64.
6745
78ff580e
AS
67462007-01-29 Andreas Schwab <schwab@suse.de>
6747
cc8e9b12
AS
6748 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
6749 "frame-begin" annotation.
6750
78ff580e
AS
6751 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
6752 number of "frames-invalid" annotations.
6753
704a4f78
DJ
67542007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
6755
6756 * gdb.base/commands.exp: Call if_commands_test.
6757 (gdb_test_no_prompt, if_commands_test): New.
6758
e741bf94
MK
67592007-01-28 Mark Kettenis <kettenis@gnu.org>
6760
6761 * gdb.threads/sigthread.c (NSIGS): Make bigger.
6762
474d0ad3
AS
67632007-01-27 Andreas Schwab <schwab@suse.de>
6764
6765 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
6766 .short/.int/.quad in the dwarf sections.
6767 * gdb.dwarf2/dw2-intercu.S: Likewise.
6768 * gdb.dwarf2/dw2-intermix.S: Likewise.
6769
e784b426
JK
67702007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6771
6772 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
6773 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
6774 array.
e784b426
JK
6775 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
6776 * gdb.base/setvar.exp: Likewise.
6777
37f08e04
AS
67782007-01-26 Andreas Schwab <schwab@suse.de>
6779
9a01813a
AS
6780 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
6781 test.
6782
37f08e04
AS
6783 * gdb.base/multi-forks.exp ("restart $i"): Also match
6784 __kernel_syscall_via_break.
6785
6e2a9270
VP
67862007-01-24 Vladimir Prus <vladimir@codesourcery.com>
6787
6788 * lib/mi-support.exp (mi_delete_varobj): New.
6789 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
6790 testcase.
6791 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
6792 (main): Call the above.
6793 (reference_update_test, base_in_reference_test)
6794 (reference_to_pointer): Delete the created varobjs.
a9c64011 6795
e515b470
DJ
67962007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
6797
6798 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
6799 * configure: Regenerated.
6800 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
6801 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
6802 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
6803 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
6804 * lib/gdb.exp (gdb_skip_xml_test): New function.
6805
08d8bcd7
DJ
68062007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
6807
6808 * gdb.base/sigrepeat.exp: Correct error message.
6809
68102007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
6811 Daniel Jacobowitz <dan@codesourcery.com>
6812
6813 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
6814 gdb.arch/i386-gnu-cfi-asm.S: New files.
6815
97c3f1f3
JK
68162007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6817
6818 * lib/gdb.exp: Abort on missing `site.exp'.
6819
cb1df416
DJ
68202007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6821 Daniel Jacobowitz <dan@codesourcery.com>
6822
6823 * gdb.base/included.c, gdb.base/included.exp,
6824 gdb.base/included.h: New files.
6825
35990120
DJ
68262007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6827
6828 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
6829 (maximize_rlimit): Reduce limits on 64-bit systems.
6830
6e81a116 68312007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
6832
6833 From Marcus Deuling <deuling@de.ibm.com>:
6834 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
6835 every case.
6836
6c3c41f3
NR
68372007-01-13 Nick Roberts <nickrob@snap.net.nz>
6838
6839 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
6840 (test_path_specification): Use objdir instead of srcdir to always
6841 get an absolute filename.
6842
2f12c312
DJ
68432007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
6844
6845 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
6846
81121995
VP
68472007-01-11 Vladimir Prus <vladimir@codesourcery.com>
6848
6849 * gdb.mi/mi-var-cp.cc (reference_update_tests):
6850 Make sure the variable we're using is in scope.
6851 (reference_to_pointer): Likewise.
6852
4741b737
DJ
68532007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
6854
6855 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
6856 has no debug information.
6857
054410c3
DJ
68582007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
6859
6860 * gdb.base/annota1.exp: Remove extra send_gdb.
6861
818f79f6
DJ
68622007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6863
6864 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
6865
f7a6bb70
DJ
68662007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6867
6868 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
6869
57e66780
DJ
68702007-01-08 Nick Roberts <nickrob@snap.net.nz>
6871 Daniel Jacobowitz <dan@codesourcery.com>
6872
6873 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
6874 lcharacter or linteger change. Correct duplicated test name.
6875 * gdb.mi/mi2-var-cmd.exp: Likewise.
6876
3d799a95
DJ
68772007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
6878
6879 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
6880
68812007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 6882
a9c64011
AS
6883 * gdb.base/nofield.c: New file.
6884 * gdb.base/nofield.exp: New testcase.
51679ba9 6885
eafb94e8
NR
68862007-01-05 Nick Roberts <nickrob@snap.net.nz>
6887
6888 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
6889
6890 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
6891 test.
6892
5e572bb4
DJ
68932007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
6894
6895 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
6896
74a44383
DJ
68972007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
6898
6899 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
6900 when continuing.
6901
1b572db9
DJ
69022007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
6903
6904 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
6905 Expect ".exe" extension.
6906
381bc39b
DJ
69072007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
6908
6909 * gdb.base/charset.exp: Add explicit filename to break.
6910 * gdb.base/dbx.exp: Add explicit filename to breaks.
6911
2b70e4c6
DJ
69122007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
6913
6914 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
6915 * gdb.mi/mi2-file.exp: Likewise.
6916
303b6f5d
DJ
69172007-01-04 Vladimir Prus <vladimir@codesourcery.com>
6918
6919 Implement specification of MI tests as comments
6920 in C and C++ sources.
6921 * lib/mi-support.exp (mi_autotest_data): New variable.
6922 (mi_autotest_source): New variable.
6923 (count_newlines, mi_prepare_inline_tests)
6924 (mi_get_inline_test, mi_continue_to_line)
6925 (mi_run_inline_test, mi_tbreak)
6926 (mi_send_resuming_command, mi_wait_for_stop): New functions.
6927 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
6928 Run inline tests.
6929 * gdb.mi/mi-var-cp.cc: Define tests here.
6930
23da0d94
VP
69312007-01-04 Vladimir Prus <vladimir@codesourcery.com>
6932
6933 Simplify usage of mi_continue_to.
6934 * lib/mi-support.exp (mi_runto_helper): Renamed
6935 from mi_runto, added new parameter 'run_or_continue'.
6936 (mi_runto): Use mi_runto_helper.
6937 (mi_continue_to): Accept just function name as parameter.
6938 Use mi_runto_helper.
6939 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
6940 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 6941
f9e18282
JB
69422006-01-04 Joel Brobecker <brobecker@adacore.com>
6943
6944 Make this testcase a bit more realistic. The current code
6945 is too simplistic, and allows the compiler to optimize out
6946 some of the entities we need for this testcase.
6947 * gdb.ada/null_record/bar.ads (Void_Star): New type.
6948 (Do_Nothing): Add extra parameter.
6949 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
6950 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
6951 by using a variable of type Void_Star.
6952
fd678c65
JB
69532006-01-04 Joel Brobecker <brobecker@adacore.com>
6954
6955 * gdb.ada/catch_ex/foo.adb: New file.
6956 * gdb.ada/catch_ex.exp: New testcase.
6957
05cfdb42
DJ
69582007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
6959
6960 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
6961 pass --image-base to linker.
6962
2e03ee74
DJ
69632007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6964 Daniel Jacobowitz <dan@codesourcery.com>
6965
6966 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
6967 secondary prompts.
6968
0d5de010
DJ
69692007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
6970
6971 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
6972 output. Test the types of members and member pointers.
6973 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
6974 gdb/2092.
6975 * gdb.cp/member-ptr.exp: Search for a comment instead of a
6976 statement. Enable for GCC. Update expected output for some tests
6977 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
6978 layout.
6979 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
6980 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
6981 (Diamond::vget_base): New.
6982 (main): Add new tests.
6983 * gdb.cp/printmethod.exp: Update expected output for member functions.
6984 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
6985 print pEe->D::vg().
6986
61a771aa
DJ
69872007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
6988
6989 * gdb.threads/tls.exp: Allow stops in sem_post.
6990
2fa63963
DJ
69912006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
6992
6993 * gdb.base/annota1.exp: Allow .*printf in backtraces.
6994 * gdb.base/annota3.exp: Likewise.
6995 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
6996 again (instead of timing out).
6997 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
6998 GCC bug 26475.
6999 * gdb.java/jmisc.exp: Adjust to work with method signatures including
7000 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
7001 test from jmisc1.exp.
7002 * gdb.java/jmisc1.exp: Delete.
7003 * gdb.java/jprint.exp: Adjust to work with method signatures including
7004 return types.
7005 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
7006 * gdb.threads/linux-dp.exp: Don't be confused by program output.
7007 * lib/java.exp (compile_java_from_source): Pass the correct type
7008 to target_compile.
7009
5eefc2b7
JB
70102006-12-31 Joel Brobecker <brobecker@adacore.com>
7011
7012 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
7013 (stack_align_edx): New function.
7014 (stack_align_eax): New function.
7015 (main): Add calls to stack_align_edx and stack_align_eax.
7016 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
7017 Add testing for the cases where the register used during a stack
7018 realignment is edx. Same for eax.
7019
227c54da
DJ
70202006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
7021
7022 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
7023 and generic PE targets.
7024
cab8ac94
JB
70252006-12-29 Joel Brobecker <brobecker@adacore.com>
7026
7027 * gdb.ada/array_return.exp: Update copyright date list.
7028
ba54f318
JB
70292006-12-27 Joel Brobecker <brobecker@adacore.com>
7030
7031 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
7032 (Create_Small_Float_Vector): New function.
7033 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
7034 function body.
7035 * gdb.ada/array_return/p.adb: Use new type and function from
7036 package Pck.
7037 * gdb.ada/array_return.exp: Add a test verifying that GDB is
7038 able to print the value returned by a function returning an
7039 array of float.
7040
6b7a35dd
JB
70412006-12-20 Joel Brobecker <brobecker@adacore.com>
7042
7043 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
7044 The associated tests should be PASSing.
7045
038224f6
VP
70462006-12-08 Vladimir Prus <vladimir@codesourcery.com>
7047
7048 Test for base in references.
7049 * gdb.mi/mi-var-cp.cc: Add test code.
7050 * gdb.mi/mi-var-cp.exp: Test for bases in references.
7051 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
7052 * gdb.mi/mi2-watch.exp: Likewise.
7053 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
7054 (mi_list_varobj_children): New function.
7055
b26ed50d
VP
70562006-12-08 Vladimir Prus <vladimir@codesourcery.com>
7057
7058 * lib/mi-support.exp
7059 (mi_runto): Accept "()" after function name.
7060 (mi_create_varobj): New function.
7061 (mi_varobj_update): New function.
7062 (mi_Check_varobj_value): New function.
7063 * gdb.mi/mi-var-cp.exp: New file.
7064 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 7065
08232497
DJ
70662006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
7067
7068 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
7069 gdb.base/weaklib2.c: New files.
7070
d394c993 70712006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 7072
ac6c2fba
NS
7073 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
7074 info. Adjust test names.
7075
8ec659a0 7076 * gdb.base/break.c (main): Move position of malloc.
d394c993 7077 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 7078
acd65feb
VP
70792006-11-28 Vladimir Prus <vladimir@codesourcery.com>
7080
7081 * gdb.mi/mi-var-cmd.exp: Check -var-update after
7082 assignement of arrays and function pointers.
7083 * gdb.mi/var-cmd.c: Add declaration necessary for above
7084 tests.
7085
f556d5e5
NS
70862006-11-27 Nathan Sidwell <nathan@codesourcery.com>
7087
7088 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
7089
7090 * gdb.threads/linux-dp.exp: Read thread table before and after
7091 creating each philosopher and verify it.
7092
697bc68d
NS
70932006-11-27 Nathan Sidwell <nathan@codesourcery.com>
7094 Paul Brook <paul@codesourcery.com>
7095 Daniel Jacobowitz <dan@codesourcery.com>
7096
7097 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 7098 main to remove duplication. Add start function of the form
697bc68d
NS
7099 '_*start[1-9]*'. Add RVDS start function.
7100
29d73ae4
DJ
71012006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
7102
7103 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
7104
c1d88655
UW
71052006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7106
7107 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
7108 * gdb.asm/spu.inc: New file.
7109 * gdb.base/term.exp: Disable if [target_info exists noargs].
7110 * gdb.gdb/complaints.exp: Disable if ![isnative].
7111 * gdb.gdb/selftest.exp: Likewise.
7112 * gdb.gdb/observer.exp: Likewise.
7113 * gdb.gdb/xfullpath.exp: Likewise.
7114 * gdb.base/attach.exp: Disable on SPU target.
7115 * gdb.cp/bs145503.exp: Likewise.
7116 * gdb.cp/exception.exp: Likewise.
7117 * gdb.cp/userdef.exp: Likewise.
7118
32a13b1a
DJ
71192006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
7120
7121 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
7122
d8295fe9
VP
71232006-11-10 Vladimir Prus <vladimir@codesourcery.com>
7124
7125 * gdb.base/completion.exp: Fix completion tests for
7126 'info' and 'info '.
7127 * gdb.base/help.exp (help_test_raw, test_class_help)
7128 (test_prefix_command_help): Move...
7129 * lib/gdb.exp: Here.
7130 * gdb.base/main.exp: Adjust.
7131 * gdb.cp/maint.exp: Adjust.
7132 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 7133
8c394015
VP
71342006-11-09 Vladimir Prus <vladimir@codesourcery.com>
7135
7136 * gdb.stabs/weird.exp (print_weird_var): Use
7137 gdb_test_multiple instead of gdb_expect.
7138
027fc1bc
VP
71392006-11-09 Vladimir Prus <vladimir@codesourcery.com>
7140
7141 * gdb.base/help.exp (help_test_raw): New.
7142 (test_class_help): New.
7143 (test_prefix_command_help): New.
7144 Adjust testcases.
7145
67609209
FR
71462006-11-09 Christophe Lyon <christophe.lyon@st.com>
7147
7148 * gdb.base/constvars.c (main): Write to crass and crips, so that
7149 they are allocated by the compiler.
7150
f73adfeb
AS
71512006-10-27 Andreas Schwab <schwab@suse.de>
7152
7153 * gdb.base/multi-forks.exp: Use "detach fork" instead of
7154 "detach-fork".
7155
2f83a18e
DJ
71562006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
7157
7158 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
7159 of patterns.
7160
94277a38
DJ
71612006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
7162
7163 * gdb.base/sepdebug.exp: Remove debug format test.
7164 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
7165 Handle no-symtab.
7166 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
7167
5bd2f6e2
DJ
71682006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
7169
7170 * gdb.threads/manythreads.c (thread_function, main): Don't cast
7171 int to pointer or pointer to int.
7172 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
7173
8c008720
DJ
71742006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
7175
7176 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
7177
9e35dae4
DJ
71782006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7179
7180 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
7181
d9639e13
DJ
71822006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
7183
7184 PR c++/2116
7185 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
7186
390a1bd0
JB
71872006-10-06 Joel Brobecker <brobecker@adacore.com>
7188
7189 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
7190 the corresponding bug has been fixed in GDB (PR/2018).
7191
dd920c33
JB
71922006-10-06 Joel Brobecker <brobecker@adacore.com>
7193
7194 * gdb.base/subst.exp: New testcase.
7195
53bbefe9
JB
71962006-10-06 Joel Brobecker <brobecker@adacore.com>
7197
7198 * gdb.ada/array_return/pck.ads: Add copyright notice.
7199 * gdb.ada/array_return/pck.adb: Likewise.
7200 * gdb.ada/array_return/p.adb: Likewise.
7201 * gdb.ada/exec_changed/first.adb: Likewise.
7202 * gdb.ada/exec_changed/second.adb: Likewise.
7203
09851417
JB
72042006-10-06 Joel Brobecker <brobecker@adacore.com>
7205
7206 * gdb.ada/watch_arg/watch.adb: New file.
7207 * gdb.ada/watch_arg.exp: New testcase.
7208
041bf30d
VP
72092006-10-02 Vladimir Prus <vladimir@codesourcery.com>
7210
7211 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 7212 via string_to_regexp.
041bf30d 7213 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 7214
f286fbdd 72152006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
7216
7217 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
7218 Remove unused / obsolete files.
7219
7c07f349
NR
72202006-09-19 Nick Roberts <nickrob@snap.net.nz>
7221
7222 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
7223
cd5ff84a
VP
72242006-09-17 Vladimir Prus <vladimir@codesourcery.com>
7225
7226 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
7227 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 7228 the number of frames.
cd5ff84a 7229
ae018d1a
DJ
72302006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
7231
7232 * gdb.base/args.c (main): Add breakpoint marker.
7233 * gdb.base/args.exp: Use args_test for tests. Add new tests which
7234 really test empty arguments.
7235 (args_load): Delete.
7236 (args_test): New.
7237
b399c549
NR
72382006-09-13 Nick Roberts <nickrob@snap.net.nz>
7239
7240 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
7241 check for one file.
7242
2ab1eb7a
VP
72432006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
7244
7245 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
7246 HIGH_FRAME argument to -stack-list-locals can be larger than
7247 the number of frames.
a9c64011 7248
476308bf
FF
72492006-08-18 Fred Fish <fnf@specifix.com>
7250
7251 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
7252 '$' in front of skip_vmx_tests_saved when setting that.
7253
8625200f
AS
72542006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
7255
7256 * gdb.base/trace-commands.exp: New file.
7257
089ec8f1
DJ
72582006-08-10 Joel Brobecker <brobecker@adacore.com>
7259 Daniel Jacobowitz <dan@codesourcery.com>
7260
7261 * gdb.base/step-bt.exp: Make hexadecimal address optional in
7262 expected output of the backtrace commands.
7263
b60f0898
JB
72642006-08-09 Joel Brobecker <brobecker@adacore.com>
7265
7266 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
7267 untested followed by return combination.
7268 * gdb.arch/altivec-regs.exp: Likewise.
7269 * gdb.arch/e500-abi.exp: Likewise.
7270 * gdb.arch/e500-regs.exp: Likewise.
7271 * gdb.arch/gdb1291.exp: Likewise.
7272 * gdb.arch/gdb1431.exp: Likewise.
7273 * gdb.arch/gdb1558.exp: Likewise.
7274 * gdb.arch/i386-prologue.exp: Likewise.
7275 * gdb.arch/i386-unwind.exp: Likewise.
7276 * gdb.asm/asm-source.exp: Likewise.
7277 * gdb.base/a2-run.exp: Likewise.
7278 * gdb.base/advance.exp: Likewise.
7279 * gdb.base/all-bin.exp: Likewise.
7280 * gdb.base/annota1.exp: Likewise.
7281 * gdb.base/annota3.exp: Likewise.
7282 * gdb.base/args.exp: Likewise.
7283 * gdb.base/arithmet.exp: Likewise.
7284 * gdb.base/assign.exp: Likewise.
7285 * gdb.base/async.exp: Likewise.
7286 * gdb.base/attach.exp: Likewise.
7287 * gdb.base/bang.exp: Likewise.
7288 * gdb.base/bigcore.exp: Likewise.
7289 * gdb.base/bitfields.exp: Likewise.
7290 * gdb.base/bitfields2.exp: Likewise.
7291 * gdb.base/break.exp: Likewise.
7292 * gdb.base/call-sc.exp: Likewise.
7293 * gdb.base/call-strs.exp: Likewise.
7294 * gdb.base/callfuncs.exp: Likewise.
7295 * gdb.base/checkpoint.exp: Likewise.
7296 * gdb.base/chng-syms.exp: Likewise.
7297 * gdb.base/code-expr.exp: Likewise.
7298 * gdb.base/commands.exp: Likewise.
7299 * gdb.base/completion.exp: Likewise.
7300 * gdb.base/cond-expr.exp: Likewise.
7301 * gdb.base/condbreak.exp: Likewise.
7302 * gdb.base/consecutive.exp: Likewise.
7303 * gdb.base/constvars.exp: Likewise.
7304 * gdb.base/corefile.exp: Likewise.
7305 * gdb.base/cvexpr.exp: Likewise.
7306 * gdb.base/dbx.exp: Likewise.
7307 * gdb.base/define.exp: Likewise.
7308 * gdb.base/detach.exp: Likewise.
7309 * gdb.base/display.exp: Likewise.
7310 * gdb.base/dump.exp: Likewise.
7311 * gdb.base/ena-dis-br.exp: Likewise.
7312 * gdb.base/ending-run.exp: Likewise.
7313 * gdb.base/environ.exp: Likewise.
7314 * gdb.base/eval-skip.exp: Likewise.
7315 * gdb.base/exprs.exp: Likewise.
7316 * gdb.base/fileio.exp: Likewise.
7317 * gdb.base/finish.exp: Likewise.
7318 * gdb.base/float.exp: Likewise.
7319 * gdb.base/foll-exec.exp: Likewise.
7320 * gdb.base/foll-fork.exp: Likewise.
7321 * gdb.base/foll-vfork.exp: Likewise.
7322 * gdb.base/freebpcmd.exp: Likewise.
7323 * gdb.base/funcargs.exp: Likewise.
7324 * gdb.base/gcore.exp: Likewise.
7325 * gdb.base/gdb1090.exp: Likewise.
7326 * gdb.base/gdb1250.exp: Likewise.
7327 * gdb.base/huge.exp: Likewise.
7328 * gdb.base/info-proc.exp: Likewise.
7329 * gdb.base/interrupt.exp: Likewise.
7330 * gdb.base/jump.exp: Likewise.
7331 * gdb.base/langs.exp: Likewise.
7332 * gdb.base/lineinc.exp: Likewise.
7333 * gdb.base/list.exp: Likewise.
7334 * gdb.base/logical.exp: Likewise.
7335 * gdb.base/long_long.exp: Likewise.
7336 * gdb.base/macscp.exp: Likewise.
7337 * gdb.base/maint.exp: Likewise.
7338 * gdb.base/mips_pro.exp: Likewise.
7339 * gdb.base/miscexprs.exp: Likewise.
7340 * gdb.base/multi-forks.exp: Likewise.
7341 * gdb.base/opaque.exp: Likewise.
7342 * gdb.base/overlays.exp: Likewise.
7343 * gdb.base/pc-fp.exp: Likewise.
7344 * gdb.base/pointers.exp: Likewise.
7345 * gdb.base/printcmds.exp: Likewise.
7346 * gdb.base/psymtab.exp: Likewise.
7347 * gdb.base/ptype.exp: Likewise.
7348 * gdb.base/recurse.exp: Likewise.
7349 * gdb.base/relational.exp: Likewise.
7350 * gdb.base/relocate.exp: Likewise.
7351 * gdb.base/remote.exp: Likewise.
7352 * gdb.base/reread.exp: Likewise.
7353 * gdb.base/restore.exp: Likewise.
7354 * gdb.base/return.exp: Likewise.
7355 * gdb.base/return2.exp: Likewise.
7356 * gdb.base/scope.exp: Likewise.
7357 * gdb.base/sect-cmd.exp: Likewise.
7358 * gdb.base/sep.exp: Likewise.
7359 * gdb.base/sepdebug.exp: Likewise.
7360 * gdb.base/setshow.exp: Likewise.
7361 * gdb.base/setvar.exp: Likewise.
7362 * gdb.base/sigall.exp: Likewise.
7363 * gdb.base/sigbpt.exp: Likewise.
7364 * gdb.base/signals.exp: Likewise.
7365 * gdb.base/signull.exp: Likewise.
7366 * gdb.base/sizeof.exp: Likewise.
7367 * gdb.base/solib.exp: Likewise.
7368 * gdb.base/step-line.exp: Likewise.
7369 * gdb.base/step-test.exp: Likewise.
7370 * gdb.base/structs.exp: Likewise.
7371 * gdb.base/structs2.exp: Likewise.
7372 * gdb.base/term.exp: Likewise.
7373 * gdb.base/twice.exp: Likewise.
7374 * gdb.base/until.exp: Likewise.
7375 * gdb.base/varargs.exp: Likewise.
7376 * gdb.base/volatile.exp: Likewise.
7377 * gdb.base/watchpoint.exp: Likewise.
7378 * gdb.base/whatis-exp.exp: Likewise.
7379 * gdb.base/whatis.exp: Likewise.
7380 * gdb.cp/ambiguous.exp: Likewise.
7381 * gdb.cp/annota2.exp: Likewise.
7382 * gdb.cp/annota3.exp: Likewise.
7383 * gdb.cp/bool.exp: Likewise.
7384 * gdb.cp/breakpoint.exp: Likewise.
7385 * gdb.cp/casts.exp: Likewise.
7386 * gdb.cp/class2.exp: Likewise.
7387 * gdb.cp/classes.exp: Likewise.
7388 * gdb.cp/cplusfuncs.exp: Likewise.
7389 * gdb.cp/ctti.exp: Likewise.
7390 * gdb.cp/derivation.exp: Likewise.
7391 * gdb.cp/exception.exp: Likewise.
7392 * gdb.cp/gdb1355.exp: Likewise.
7393 * gdb.cp/hang.exp: Likewise.
7394 * gdb.cp/inherit.exp: Likewise.
7395 * gdb.cp/local.exp: Likewise.
7396 * gdb.cp/m-data.exp: Likewise.
7397 * gdb.cp/m-static.exp: Likewise.
7398 * gdb.cp/member-ptr.exp: Likewise.
7399 * gdb.cp/method.exp: Likewise.
7400 * gdb.cp/misc.exp: Likewise.
7401 * gdb.cp/namespace.exp: Likewise.
7402 * gdb.cp/overload.exp: Likewise.
7403 * gdb.cp/ovldbreak.exp: Likewise.
7404 * gdb.cp/pr-1023.exp: Likewise.
7405 * gdb.cp/pr-1210.exp: Likewise.
7406 * gdb.cp/pr-574.exp: Likewise.
7407 * gdb.cp/printmethod.exp: Likewise.
7408 * gdb.cp/psmang.exp: Likewise.
7409 * gdb.cp/ref-params.exp: Likewise.
7410 * gdb.cp/ref-types.exp: Likewise.
7411 * gdb.cp/rtti.exp: Likewise.
7412 * gdb.cp/templates.exp: Likewise.
7413 * gdb.cp/try_catch.exp: Likewise.
7414 * gdb.cp/userdef.exp: Likewise.
7415 * gdb.cp/virtfunc.exp: Likewise.
7416 * gdb.disasm/am33.exp: Likewise.
7417 * gdb.disasm/h8300s.exp: Likewise.
7418 * gdb.disasm/mn10300.exp: Likewise.
7419 * gdb.disasm/sh3.exp: Likewise.
7420 * gdb.disasm/t01_mov.exp: Likewise.
7421 * gdb.disasm/t02_mova.exp: Likewise.
7422 * gdb.disasm/t03_add.exp: Likewise.
7423 * gdb.disasm/t04_sub.exp: Likewise.
7424 * gdb.disasm/t05_cmp.exp: Likewise.
7425 * gdb.disasm/t06_ari2.exp: Likewise.
7426 * gdb.disasm/t07_ari3.exp: Likewise.
7427 * gdb.disasm/t08_or.exp: Likewise.
7428 * gdb.disasm/t09_xor.exp: Likewise.
7429 * gdb.disasm/t10_and.exp: Likewise.
7430 * gdb.disasm/t11_logs.exp: Likewise.
7431 * gdb.disasm/t12_bit.exp: Likewise.
7432 * gdb.disasm/t13_otr.exp: Likewise.
7433 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
7434 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
7435 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
7436 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
7437 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
7438 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
7439 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
7440 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
7441 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
7442 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
7443 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
7444 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
7445 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
7446 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
7447 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
7448 * gdb.mi/gdb701.exp: Likewise.
7449 * gdb.mi/gdb792.exp: Likewise.
7450 * gdb.mi/mi-basics.exp: Likewise.
7451 * gdb.mi/mi-break.exp: Likewise.
7452 * gdb.mi/mi-cli.exp: Likewise.
7453 * gdb.mi/mi-console.exp: Likewise.
7454 * gdb.mi/mi-disassemble.exp: Likewise.
7455 * gdb.mi/mi-eval.exp: Likewise.
7456 * gdb.mi/mi-file.exp: Likewise.
7457 * gdb.mi/mi-read-memory.exp: Likewise.
7458 * gdb.mi/mi-regs.exp: Likewise.
7459 * gdb.mi/mi-return.exp: Likewise.
7460 * gdb.mi/mi-simplerun.exp: Likewise.
7461 * gdb.mi/mi-stack.exp: Likewise.
7462 * gdb.mi/mi-stepi.exp: Likewise.
7463 * gdb.mi/mi-syn-frame.exp: Likewise.
7464 * gdb.mi/mi-until.exp: Likewise.
7465 * gdb.mi/mi-var-block.exp: Likewise.
7466 * gdb.mi/mi-var-child.exp: Likewise.
7467 * gdb.mi/mi-var-cmd.exp: Likewise.
7468 * gdb.mi/mi-var-display.exp: Likewise.
7469 * gdb.mi/mi-watch.exp: Likewise.
7470 * gdb.mi/mi2-basics.exp: Likewise.
7471 * gdb.mi/mi2-break.exp: Likewise.
7472 * gdb.mi/mi2-cli.exp: Likewise.
7473 * gdb.mi/mi2-console.exp: Likewise.
7474 * gdb.mi/mi2-disassemble.exp: Likewise.
7475 * gdb.mi/mi2-eval.exp: Likewise.
7476 * gdb.mi/mi2-file.exp: Likewise.
7477 * gdb.mi/mi2-read-memory.exp: Likewise.
7478 * gdb.mi/mi2-regs.exp: Likewise.
7479 * gdb.mi/mi2-return.exp: Likewise.
7480 * gdb.mi/mi2-simplerun.exp: Likewise.
7481 * gdb.mi/mi2-stack.exp: Likewise.
7482 * gdb.mi/mi2-stepi.exp: Likewise.
7483 * gdb.mi/mi2-syn-frame.exp: Likewise.
7484 * gdb.mi/mi2-until.exp: Likewise.
7485 * gdb.mi/mi2-var-block.exp: Likewise.
7486 * gdb.mi/mi2-var-child.exp: Likewise.
7487 * gdb.mi/mi2-var-cmd.exp: Likewise.
7488 * gdb.mi/mi2-var-display.exp: Likewise.
7489 * gdb.mi/mi2-watch.exp: Likewise.
7490 * gdb.stabs/exclfwd.exp: Likewise.
7491 * gdb.stabs/weird.exp: Likewise.
7492 * gdb.threads/gcore-thread.exp: Likewise.
7493 * gdb.trace/actions.exp: Likewise.
7494 * gdb.trace/backtrace.exp: Likewise.
7495 * gdb.trace/circ.exp: Likewise.
7496 * gdb.trace/collection.exp: Likewise.
7497 * gdb.trace/deltrace.exp: Likewise.
7498 * gdb.trace/infotrace.exp: Likewise.
7499 * gdb.trace/limits.exp: Likewise.
7500 * gdb.trace/packetlen.exp: Likewise.
7501 * gdb.trace/passc-dyn.exp: Likewise.
7502 * gdb.trace/passcount.exp: Likewise.
7503 * gdb.trace/report.exp: Likewise.
7504 * gdb.trace/save-trace.exp: Likewise.
7505 * gdb.trace/tfind.exp: Likewise.
7506 * gdb.trace/tracecmd.exp: Likewise.
7507 * gdb.trace/while-dyn.exp: Likewise.
7508 * gdb.trace/while-stepping.exp: Likewise.
7509
f4b618d1
JB
75102006-08-08 Joel Brobecker <brobecker@adacore.com>
7511
7512 * gdb.base/step-bt.c: New file.
7513 * gdb.base/step-bt.exp: New testcase.
7514
3d00d119
DJ
75152006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
7516
7517 * config/monitor.exp (gdb_load): Remove support for obsolete
7518 download-write-size.
7519 * gdb.base/remote.exp: Likewise. Update all callers of
7520 gdb_timed_load.
7521
017b5bd4
DJ
75222006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
7523
7524 * cursal.exp: Pass binfile to gdb_load.
7525
837c599d
DJ
75262006-08-01 Nathan Sidwell <nathan@codesourcery.com>
7527
7528 * gdb.base/cursal.exp: Add "" to gdb_load call.
7529
8dd4540b
MK
75302006-07-29 Mark Kettenis <kettenis@gnu.org>
7531
7532 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
7533 NetBSD/ELF targets.
7534
ab5c9f60
DJ
75352006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
7536
7537 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
7538 operator*.
7539
4c42eaff
DJ
75402006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
7541
7542 * gdb.base/completion.exp: Update for change in "file" behavior.
7543 * gdb.stabs/weird.exp: Likewise.
7544 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
7545 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
7546
0155cc76
NS
75472006-07-24 Nathan Sidwell <nathan@codesourcery.com>
7548
7549 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
7550 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
7551
16026cd7
AS
75522006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
7553
7554 * gdb.base/default.exp: Update source command error message.
7555 * gdb.base/help.exp: Update 'help source' message.
7556
16963cb6
DJ
75572006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
7558
7559 * gdb.cp/bs15503.exp: Update comment for no longer crashing
7560 test.
7561
6d7fd486
AS
75622006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
7563
7564 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
7565
29e8a844
DJ
75662006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
7567
7568 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
7569
6afcfa39
DJ
75702006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
7571
7572 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
7573
267a692b
MK
75742006-07-17 Mark Kettenis <kettenis@gnu.org>
7575
7576 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
7577 *-*-openbsd* from targets for wich we expect ARM FPA floating
7578 point format.
7579
85d2fec4
NR
75802006-07-17 Nick Roberts <nickrob@snap.net.nz>
7581
7582 * gdb.cp/annota3.exp: Expect frame-begin annotation.
7583
75842006-07-17 Mark Kettenis <kettenis@gnu.org>
7585
7586 * gdb.base/annota3.exp: Expect frame-begin annotation.
7587
85b4c6e8
JB
75882006-07-14 Joel Brobecker <brobecker@adacore.com>
7589
7590 * gdb.base/help.exp: Adjust "help unset" test to accept
7591 any list of unset commands.
7592
fb933624
DJ
75932006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
7594 Daniel Jacobowitz <dan@codesourcery.com>
7595
7596 * gdb.cp/ref-params.exp: New test.
7597 * gdb.cp/ref-params.cc: New source file.
7598 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
7599
1dff4b64
MK
76002006-07-08 Mark Kettenis <kettenis@gnu.org>
7601
7602 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
7603 spaces/tabs in regular expressions since they might not be there.
7604
40d2e0e3
AS
76052006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
7606
7607 * gdb.base/ifelse.exp: New file.
7608
f6c957d2
NS
76092006-07-04 Nathan Sidwell <nathan@codesourcery.com>
7610
7611 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
7612 line.
7613 * gdb.base/huge.exp: Loop over compilation to find a size that
7614 is acceptable.
7615 * gdb.base/remote.exp: Correct expected strings.
7616 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
7617
b9c5a23d
DJ
76182006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
7619
7620 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
7621
9af2e58d
DJ
76222006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
7623
7624 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
7625 native.
7626
30930ca5
DJ
76272006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
7628
7629 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
7630 enable stabs testing.
7631
aa32fa1d
DJ
76322006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
7633
bd4a4c80 7634 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
7635 gdb_test_multiple does.
7636
321fef15
DJ
76372006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
7638
7639 * Makefile.in (host_alias): Remove.
7640 (target_alias): Use @target_noncanonical@.
7641 (site.exp): Don't set host_alias.
7642 * aclocal.m4: Remove contents. Include acx.m4.
7643 * configure: Regenerated.
7644 * configure.ac: Use ACX_NONCANONICAL_TARGET.
7645
e1c2defa
NS
76462006-06-13 Nathan Sidwell <nathan@codesourcery.com>
7647
e63b55d1
NS
7648 * lib/gdb.exp (gdb_load_cmd): New.
7649
5600ea19
NS
7650 * gdb.base/fileio.c: Add system(NULL) test.
7651 * gdb.base/fileio.exp: Check it.
7652
e1c2defa
NS
7653 * gdb.base/break.c: Add 10a breakpoint at }
7654 * gdb.base/break.exp: Add test for breakpoint at }
7655 * gdb.cp/anon-union.cc: Add code at end of function.
7656 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
7657 * gdb.mi/var-cmd.c: Add code at end of function.
7658 * gdb.mi/mi-var-display.exp: Adjust end of next.
7659 * gdb.mi/mi2-var-display.exp: Likewise.
7660 * gdb.base/fileio.c: Add stop function and insert calls at
7661 stopping places.
7662 * gdb.base/fileio.exp: Breakpoint stop function and remove
7663 explicit line number references.
7664
6c0112ec
JB
76652006-05-19 Joel Brobecker <brobecker@adacore.com>
7666
a9c64011
AS
7667 * gdb.base/del.exp (test_delete_alias): New function.
7668 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 7669
154189a4
FF
76702006-05-18 Fred Fish <fnf@specifix.com>
7671
7672 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
7673 required. Check for spurious output after program exits normally.
7674
582e64c2
FF
76752006-05-17 Fred Fish <fnf@specifix.com>
7676
7677 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
7678 gdb_load, so it works in the simulator.
7679
8ef6493a
FF
76802006-05-11 Fred Fish <fnf@specifix.com>
7681
7682 * gdb.base/bang.exp: Ignore unexpected output between the
7683 "program exited normally" and the gdb prompt, as many other
7684 tests do.
7685
692b141c
MK
76862006-05-07 Mark Kettenis <kettenis@gnu.org>
7687
7688 * gdb.base/help.exp: Make "delete checkpoint" part option for
7689 "help d" and "help delete" tests.
7690
540b8a30
UW
76912006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7692
a9c64011 7693 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
7694 expected output in some mi_gdb_test statements.
7695 * gdb.mi/mi2-basics.exp: Likewise.
7696
9b6462d9
JB
76972006-05-05 Joel Brobecker <brobecker@adacore.com>
7698
7699 * gdb.base/del.c: New file.
7700 * gdb.base/del.exp: New testcase.
7701
954de43b
DM
77022006-05-05 David S. Miller <davem@sunset.davemloft.net>
7703
7704 * gdb.base/break.exp: Do not assume a breakpoint on
7705 main will actually be in $srcfile when optimizing.
1303f75e
DM
7706 * gdb.base/savedregs.exp: Do not require that the dummy
7707 frame location match up to a symbol and source file location.
c3242428
DM
7708 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
7709 will get printed without a mi_cmd_data_list_register_values prefix.
7710 (*-data-list-register-*): Correct regular expressions to expect the new
7711 pseudo d? floating point registers.
7712 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 7713
c7e64c9a
DJ
77142006-05-05 Christophe Lyon <christophe.lyon@st.com>
7715
7716 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
7717 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
7718 is allocated by the compiler.
7719 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
7720 anons, e, anone to force their allocation by the compiler.
7721
77222006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
7723
7724 * gdb.base/help.exp: Update expected text for help d and
7725 help delete.
7726
27ce9a6d
MK
77272006-05-02 Mark Kettenis <kettenis@gnu.org>
7728
7729 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
7730 NetBSD/ELF targets.
7731
8608915f
MK
77322006-04-30 Mark Kettenis <kettenis@gnu.org>
7733
7734 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
7735 single-step breakpoint fails; make this a KFAIL on
7736 sparc*-*-openbsd*.
7737 * gdb.base/siginfo.exp: Likewise.
7738 * gdb.base/sigstep.exp (advance, advancei): Likewise.
7739
b8db102d
MS
77402006-04-26 Michael Snyder <msnyder@redhat.com>
7741
7742 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
7743 which may have to consume output from other forks.
7744 Add tests to make sure that "delete fork" succeeded.
7745
c702009a
MS
77462006-04-20 Michael Snyder <msnyder@redhat.com>
7747
7748 * 2006-03-22 Jim Blandy <jimb@redhat.com>
7749 Add support for the Renesas M32C and M16C.
7750
7751 * gdb.asm/asm-source.exp: Add m32c target.
7752 * gdb.asm/m32c.inc: Support for m32c target.
7753
e28493f2
AS
77542006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
7755
7756 * gdb.base/commands.exp (recursive_source_test): New test.
7757
880da185
DM
77582006-04-04 David S. Miller <davem@sunset.davemloft.net>
7759
7760 * gdb.base/float.exp: Add pattern for sparc targets.
7761
61d9b92f
DJ
77622006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
7763
7764 * gdb.base/commands.exp (stray_arg0_test): New test.
7765
bd717df8
PB
77662006-03-30 Paul Brook <paul@codesourcery.com>
7767
7768 * gdb.mi/mi-until.exp: kfail broken until command.
7769 * gdb.mi/mi2-until.exp: Ditto.
7770
ec793d3c
NR
77712006-03-27 Nick Roberts <nickrob@snap.net.nz>
7772
7773 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
7774
831004b7
AO
77752006-03-08 Alexandre Oliva <aoliva@redhat.com>
7776
7777 * gdb.base/prelink.exp: Anchor tested-for regular expression
7778 on gdb prompt.
7779
effe49a0
PB
77802006-03-07 Paul Brook <paul@codesourcery.com>
7781
7782 * gdb.base/assign.exp: Correct fail message.
7783
e5461016
PB
77842006-03-07 Paul Brook <paul@codesourcery.com>
7785
7786 * lib/compiler.c: Extract armcc version number.
7787 * lib/compiler.cc: Ditto.
7788
fc91c6c2
PB
77892006-03-07 Paul Brook <paul@codesourcery.com>
7790
7791 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
7792 additional_flags=-w.
7793 * gdb.arch/altivec-regs.exp: Ditto.
7794 * gdb.arch/e500-abi.exp: Ditto.
7795 * gdb.arch/e500-regs.exp: Ditto.
7796 * gdb.base/all-bin.exp: Ditto.
7797 * gdb.base/annota1.exp: Ditto.
7798 * gdb.base/annota3.exp: Ditto.
7799 * gdb.base/args.exp: Ditto.
7800 * gdb.base/arithmet.exp: Ditto.
7801 * gdb.base/assign.exp: Ditto.
7802 * gdb.base/async.exp: Ditto.
7803 * gdb.base/bang.exp: Ditto.
7804 * gdb.base/break.exp: Ditto.
7805 * gdb.base/call-rt-st.exp: Ditto.
7806 * gdb.base/completion.exp: Ditto.
7807 * gdb.base/cond-expr.exp: Ditto.
7808 * gdb.base/condbreak.exp: Ditto.
7809 * gdb.base/consecutive.exp: Ditto.
7810 * gdb.base/define.exp: Ditto.
7811 * gdb.base/display.exp: Ditto.
7812 * gdb.base/ena-dis-br.exp: Ditto.
7813 * gdb.base/environ.exp: Ditto.
7814 * gdb.base/eval-skip.exp: Ditto.
7815 * gdb.base/info-proc.exp: Ditto.
7816 * gdb.base/jump.exp: Ditto.
7817 * gdb.base/logical.exp: Ditto.
7818 * gdb.base/long_long.exp: Ditto.
7819 * gdb.base/maint.exp: Ditto.
7820 * gdb.base/miscexprs.exp: Ditto.
7821 * gdb.base/pc-fp.exp: Ditto.
7822 * gdb.base/pointers.exp: Ditto.
7823 * gdb.base/relational.exp: Ditto.
7824 * gdb.base/reread.exp: Ditto.
7825 * gdb.base/sect-cmd.exp: Ditto.
7826 * gdb.base/sep.exp: Ditto.
7827 * gdb.base/sepdebug.exp: Ditto.
7828 * gdb.base/until.exp: Ditto.
7829 * gdb.base/whatis-exp.exp: Ditto.
7830 * gdb.cp/annota2.exp: Ditto.
7831 * gdb.cp/annota3.exp: Ditto.
7832 * gdb.trace/actions.exp: Ditto.
7833 * gdb.trace/backtrace.exp: Ditto.
7834 * gdb.trace/circ.exp: Ditto.
7835 * gdb.trace/collection.exp: Ditto.
7836 * gdb.trace/deltrace.exp: Ditto.
7837 * gdb.trace/infotrace.exp: Ditto.
7838 * gdb.trace/limits.exp: Ditto.
7839 * gdb.trace/packetlen.exp: Ditto.
7840 * gdb.trace/passc-dyn.exp: Ditto.
7841 * gdb.trace/passcount.exp: Ditto.
7842 * gdb.trace/report.exp: Ditto.
7843 * gdb.trace/save-trace.exp: Ditto.
7844 * gdb.trace/tfind.exp: Ditto.
7845 * gdb.trace/tracecmd.exp: Ditto.
7846 * gdb.trace/while-dyn.exp: Ditto.
7847 * gdb.trace/while-stepping.exp: Ditto.
7848 * lib/gdb.exp: Ditto.
7849 (gdb_compile): Handle nowarning option.
7850
5f4a23d9
AO
78512006-03-07 Alexandre Oliva <aoliva@redhat.com>
7852
7853 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
7854 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
7855 Rename executable to prelinkt. Don't re-prelink if we didn't
7856 get a core file. Test prelink -u exit status to tell whether
7857 prelinking failed. Use gdb_test_multiple.
7858
9733fc94
DJ
78592006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
7860
7861 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
7862 (do_tests): Call it.
7863
cc10cae3
AO
78642006-02-28 Alexandre Oliva <aoliva@redhat.com>
7865
7866 * gdb.base/prelink.exp: New test.
7867 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
7868
15c46491
WZ
78692006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
7870
7871 * gdb.fortran/derived-type.f90: New file.
7872 * gdb.fortran/derived-type.exp: New testcase.
7873
5c9f7ded
DJ
78742006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
7875
7876 * gdb.base/default.exp: Allow ';' as a directory separator.
7877
5b96932b
AS
78782006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
7879
7880 * gdb.base/help.exp (help add-symbol-file): Update.
7881
1986bccd
AS
78822006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
7883
7884 * gdb.base/help.exp (help load): Update expected results.
7885
a8b7528f
FF
78862006-02-19 Fred Fish <fnf@specifix.com>
7887
7888 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
7889 specifix hex value as part of results.
7890 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 7891
f8261448
FF
78922006-02-16 Fred Fish <fnf@specifix.com>
7893
7894 * gdb.base/whatis.c: Define variables using typedefs char_addr,
7895 ushort_addr, and slong_addr, so the typedefs are not optimized
7896 away.
7897 * gdb.base/whatis.exp: Add tests using type name for struct type,
7898 union type, enum type, and typedef.
a9c64011 7899
31d8bdd2
MK
79002006-02-13 Mark Kettenis <kettenis@gnu.org>
7901
7902 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
7903
34e41e63
JB
79042006-02-13 Jim Blandy <jimb@redhat.com>
7905
7906 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
7907 case where it takes two "next" commands to skip past the init
7908 call.
7909
ac6e4f31
FF
79102006-02-12 Fred Fish <fnf@specifix.com>
7911
7912 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
7913 to handle cases where it takes two "next" commands to skip
7914 past the init call.
7915
2db2d571
JB
79162006-02-07 Joel Brobecker <brobecker@adacore.com>
7917
7918 * gdb.ada/array_return.exp: Mark the last test as expected to fail
7919 on hppa32 targets.
7920
38fcd64c
DJ
79212006-02-06 Vladimir Prus <ghost@cs.msu.su>
7922
7923 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
7924 field.
7925
1315ad46
MK
79262006-01-29 Mark Kettenis <kettenis@gnu.org>
7927
7928 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
7929
5625b943
DJ
79302006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
7931
7932 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
7933 files.
7934
80df1bbe
DJ
79352006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
7936
7937 * gdb.cp/maint.exp: Set complaints to a positive value.
7938
9078e690
DJ
79392006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
7940
7941 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
7942 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
7943 function name.
7944
9c903399
DJ
79452006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
7946
7947 * gdb.base/checkpoint.c: Update copyright notice. Include
7948 <stdlib.h>.
7949
761ae4d6
JB
79502006-01-04 Jim Blandy <jimb@redhat.com>
7951
7952 * gdb.asm/asm-source.exp: Independently provide default values for
7953 asm-flags and debug-flags. Use 'string equal' to do the
7954 comparison, not the implicit expr's '==' operator. Remove
7955 now-unneeded assignments to asm-flags. In h8300 case, place
7956 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
7957
099ac3dd
MS
79582006-01-04 Michael Snyder <msnyder@redhat.com>
7959
7960 * gdb.base/checkpoint.c: New file.
7961 * gdb.base/checkpoint.exp: New file.
7962 * gdb.base/multi-fork.c: New file.
7963 * gdb.base/multi-fork.exp: New file.
7964 * gdb.base/pi.txt: New file (data for checkpoint.c test).
7965
f4d85314
FF
79662006-01-04 Fred Fish <fnf@specifix.com>
7967
7968 * gdb.base/ptype.c (foo): Add typedef.
7969 (intfoo): Add function.
7970 * gdb.base/ptype1.c: New file.
7971 * gdb.base/ptype.exp: Handle compilation and linking with two
7972 source files. Test that proper type for "foo" is found based
7973 on source context rather than first match found in symtabs.
7974
a1b06f35
MK
79752005-12-28 Mark Kettenis <kettenis@gnu.org>
7976
7977 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
7978 * gdb.asm/openbsd.inc: Indent commands.
7979
d082a1e2
MK
79802005-12-26 Mark Kettenis <kettenis@gnu.org>
7981
c65016bd
MK
7982 * gdb.base/freebpcmd.exp: Increase timeout.
7983
d082a1e2
MK
7984 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
7985
d3c32a0e
DJ
79862005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
7987
7988 * gdb.base/default.exp: Update check for "show version".
7989
9fdb1f50
RC
79902005-12-09 Randolph Chung <tausq@debian.org>
7991
7992 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
7993 * gdb.asm/pa64.inc: New file.
7994
5f2c56f7
RC
79952005-12-09 Randolph Chung <tausq@debian.org>
7996
7997 * gdb.asm/common.inc: Indent commands.
7998 * gdb.asm/asmsrc1.s: Likewise.
7999 * gdb.asm/asmsrc2.s: Likewise.
8000
8117349c
RC
80012005-12-09 Randolph Chung <tausq@debian.org>
8002
8003 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
8004 (get_addr_of_sym): Remove duplicate print.
8005 (gen_core): xfail hppa*-*-hpux*, update expected output.
8006 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
8007 * gdb.arch/pa64-nullify.s: New file.
8008
8f07f25a
RC
80092005-12-09 Randolph Chung <tausq@debian.org>
8010
8011 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
8012
55b39184
DJ
80132005-12-07 Christophe Lyon <christophe.lyon@st.com>
8014
8015 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
8016 code generation for these functions.
8017 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
8018 error message.
8019
31e2b00f
AS
80202005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
8021
8022 * gdb.base/help.exp (help b, help br, help bre, help brea)
8023 (help break): Update the expected message.
8024
c3d0b56e
SC
80252005-11-11 Stephane Carrez <stcarrez@nerim.fr>
8026
8027 * gdb.asm/m68hc11.inc: Setup the data section.
8028 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
8029 script for this test.
8030 (m6812-*-*): Likewise.
8031
36ae0ea9
RC
80322005-11-09 Randolph Chung <tausq@debian.org>
8033
8034 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
8035
9d6f42e9
WZ
80362005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
8037
8038 * gdb.base/break.exp: Fix a comment typo.
8039
e2126a14
EZ
80402005-11-03 Jim Blandy <jimb@redhat.com>
8041
a9c64011
AS
8042 Checked in by Elena Zannoni <ezannoni@redhat.com>
8043
e2126a14
EZ
8044 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
8045
e0ac7199
CV
80462005-11-02 Corinna Vinschen <vinschen@redhat.com>
8047
8048 * gdb.arch/gdb1558.c: Include stdio.h.
8049
31d3fb18
MK
80502005-10-31 Mark Kettenis <kettenis@gnu.org>
8051
8052 * gdb.asm/asm-source.exp: Use -e instead of --entry.
8053
e52b687c
MK
80542005-10-31 Mark Kettenis <kettenis@gnu.org>
8055
8056 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
8057
f4711d79
PG
80582005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
8059
a9c64011
AS
8060 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
8061 vscr" tests to better match output.
f4711d79 8062
987a9106
JB
80632005-10-12 Jim Blandy <jimb@redhat.com>
8064
8065 * gdb.base/structs.exp (any): New function.
8066 (test_struct_returns): Don't make any assumptions at all about
8067 what value the function returns when GDB can't set the return
8068 value.
8069
2336bb58
JB
80702005-10-09 Joel Brobecker <brobecker@adacore.com>
8071
8072 * gdb.ada/arrayidx/p.adb: New file.
8073 * gdb.ada/arrayidx.exp: New testcase
8074
80752005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
8076
8077 * gdb.ada/array_return/pck.ads: New file.
8078 * gdb.ada/array_return/pck.adb: New file.
8079 * gdb.ada/array_return/p.adb: New file.
8080 * gdb.ada/array_return.exp: New testcase.
8081
705335ea
JB
80822005-10-03 Joel Brobecker <brobecker@adacore.com>
8083
a9c64011
AS
8084 * gdb.base/arrayidx.c: New file.
8085 * gdb.base/arrayidx.exp: New testcase.
705335ea 8086
11ee9940
NR
80872005-09-29 Nick Roberts <nickrob@snap.net.nz>
8088
8089 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
8090 frames-invalid and breakpoints-invalid are no longer generated
8091 with level 3 so don't expect them in the output.
8092
39fb8e9e
BR
80932005-09-27 Bob Rossi <bob@brasko.net>
8094
a9c64011 8095 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
8096 from test. Escape the | in mi_gdb_test call.
8097 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
8098 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
8099 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
8100 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
8101 expected regex's in mi_gdb_test calls.
8102 * lib/mi-support.exp: Remove arbitrary .* from tests.
8103 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
8104 Fully anchor GDB/MI expected results in mi_gdb_test.
8105 * lib/gdb.exp (string_to_regexp): Escape the ] character.
8106 * gdb.base/sizeof.exp: Remove escape character. Correct test.
8107
2af48f68
PB
81082005-09-26 Paul Brook <paul@codesourcery.com>
8109
8110 * long_long.exp: Exclude eabi targets from arm FPA float format test.
8111
f34502bc
WZ
81122005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
8113
8114 * bfp-test.c: New file.
8115 * bfp-test.exp: New testcase.
8116
ca929517
WZ
81172005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
8118
8119 * gdb.fortran/subarray.exp: New testcase to test the evaluation
8120 of subarray and substring variable.
8121 * gdb.fortran/subarray.f: New source file for the test of subarray
8122 and substring variable evaluation.
8123 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
8124 of string constant.
8125
c761af65
DJ
81262005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
8127
8128 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
8129 copyright dates.
8130
561d7a1d
PG
81312005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
8132
8133 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
8134 powerpc altivec' test with an almost identical 'info vector' test.
8135
b2b64cc9
PG
81362005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
8137
a9c64011
AS
8138 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
8139 vscr" tests to match output.
b2b64cc9 8140
6ac4d15a
PG
81412005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
8142
a9c64011
AS
8143 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
8144 output.
6ac4d15a 8145
40e55bef
BR
81462005-09-11 Bob Rossi <bob@brasko.net>
8147
8148 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
a9c64011 8149 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
40e55bef
BR
8150 commands that return an MI output command and an asyncronous MI output
8151 command.
8152 * gdb.mi/mi-console.exp: Ditto.
8153
3c7385ec
BR
81542005-09-11 Bob Rossi <bob@brasko.net>
8155
8156 * gdb.mi/mi-var-child.c: Include <string.h>.
8157
a6cd0eb3
DJ
81582005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
8159
8160 * killed.exp: Correct gdb_expect syntax.
8161
2f168eed
CV
81622005-08-09 Corinna Vinschen <vinschen@redhat.com>
8163
8164 * lib/mi-support.exp (mi_gdb_load): Fix typo.
8165
ecd3fd0f
BR
81662005-08-02 Bob Rossi <bob@brasko.net>
8167
8168 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
8169 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
8170 Change tests to inferior-tty-set/show.
8171 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
8172 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
8173 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
8174 inferior. Use mi_gdb_test to get GDB and Inferior output.
8175 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
8176 descriptor.
8177 (mi_inferior_tty_name): Add inferior PTY file name.
8178 (mi_gdb_start): Add INFERIOR_PTY parameter.
8179 (mi_gdb_test): Add IPATTERN parameter.
8180
f1ea48cb 81812005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 8182
f1ea48cb
BR
8183 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
8184 parameter to mi_gdb_test.
8185 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
8186
6e650a67
DJ
81872005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8188
8189 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
8190 struct_declarations.
8191 * gdb.mi/mi-var-child.exp: Step over the initialization of
8192 struct_declarations.
8193
8be260b6
DJ
81942005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8195
8196 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
8197 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
8198 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
8199 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
8200 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
8201 file.
8202
4e660f07
NR
82032005-07-27 Nick Roberts <nickrob@snap.net.nz>
8204
8205 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
8206 (do_children_tests): Assign values to the extra elements.
8207
8208 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
8209 them for tests for "-var-update --no-values" and
a9c64011 8210 "-var-update --all-values".
4e660f07
NR
8211 Add test for "-var-list-children --simple-values".
8212
8213 * gdb.mi/basics.c (callee4): Add integer array D[3]...
8214
8215 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
8216 "-stack-list-locals --simple-values" Improve doc strings and
8217 comments.
8218
6bdae935
MK
82192005-07-18 Mark Kettenis <kettenis@gnu.org>
8220
598b7a6f
MK
8221 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
8222 *-*-openbsd*.
8223 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
8224
6bdae935
MK
8225 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
8226 sigaltsatck'.
8227
1323e929 82282005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 8229
1323e929
BR
8230 * gdb.base/default.exp (tty): Changed output of command.
8231 * gdb.base/help.exp (help tty): Ditto.
8232
b1a9c082
MK
82332005-07-12 Mark Kettenis <kettenis@gnu.org>
8234
8235 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
8236
10a844a2
MK
82372005-07-10 Mark Kettenis <kettenis@gnu.org>
8238
8239 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
8240 -stack-select-frame without arguments.
8241 (test_stack_frame_listing): Add test for newly implemented command
8242 -stack-info-frame.
8243
3cb3b8df
BR
82442005-07-06 Bob Rossi <bob@brasko.net>
8245
8246 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
8247 command.
8248 (Copyright): Update copyright.
8249
a0c5fbcf
WZ
82502005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
8251
8252 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
8253 tests to evaluate exponentiation expression.
8254
984971d0
AS
82552005-06-29 Andreas Schwab <schwab@suse.de>
8256
8257 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
8258 main to avoid warnings.
8259
8260 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
8261
fe03833f
NR
82622005-06-20 Nick Roberts <nickrob@snap.net.nz>
8263
8264 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
8265 -stack-select-frame without arguments.
8266 (test_stack_frame_listing): Add test for newly implemented command
8267 -stack-info-frame.
a9c64011 8268
7a55f279
WZ
82692005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
8270
0ffa0ea5
DJ
8271 * gdb.fortran/array-element.f: New file.
8272 * gdb.fortran/array-element.exp: New testcase.
7a55f279 8273
26585198
DJ
82742005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8275
8276 * gdb.base/bigcore.exp: Correct checks for systems which can
8277 not dump a large core file.
8278
c1bd25fd
DJ
82792005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8280
8281 * gdb.base/relocate.c: Add a copyright notice.
8282 (dummy): Remove.
8283 * gdb.base/relocate.exp: Test printing the values of variables
8284 from a relocatable file.
8285
589e074d
DJ
82862005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
8287
8288 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
8289 excess MI output after an error.
8290
0915f927
JB
82912005-05-29 Joel Brobecker <brobecker@adacore.com>
8292
8293 * gdb.arch/alpha-step.c: New file.
8294 * gdb.arch/alpha-step.exp: New testcase.
8295
76ff342d
DJ
82962005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
8297 Dennis Brueni <dennis@slickedit.com>
8298
8299 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
8300 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
8301 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
8302 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
8303 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
8304 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
8305 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
8306
96b0c7ac
DJ
83072005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
8308 Wu Zhou <woodzltc@cn.ibm.com>
8309
8310 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
8311 IBM's xlc compiler.
8312 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
8313 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
8314
f21565d2
JB
83152005-05-13 Jim Blandy <jimb@redhat.com>
8316
8317 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
8318 calling gdb_suppress_entire_file.
8319 * gdb.base/charset.exp: Same.
8320 * gdb.base/call-rt-st.exp: Same.
8321
6006a3a1
BR
83222005-05-05 Bob Rossi <bob_rossi@cox.net>
8323
8324 * lib/gdb.exp (fullname_syntax): Added global regex.
8325 (fullname_syntax_POSIX): Ditto.
8326 (fullname_syntax_UNC): Ditto.
8327 (fullname_syntax_DOS_CASE): Ditto.
8328 (fullname_syntax_DOS): Ditto.
8329 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
8330 fullname_syntax variable to scope and use it.
8331 (test_file_list_exec_source_files): Ditto.
8332 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
8333
c3b69c04
DJ
83342005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
8335
8336 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
8337
3c95e6af
PG
83382004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
8339
a9c64011
AS
8340 * lib/gdb.exp (skip_altivec_tests): New function, based on
8341 check_vmx_hw_available from the GCC testsuite.
8342 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
8343 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 8344
78df6c56
JB
83452005-05-02 Jim Blandy <jimb@redhat.com>
8346
8347 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
8348 calling gdb_suppress_entire_file.
8349
1690f9cf
DJ
83502005-04-30 Randolph Chung <tausq@debian.org>
8351
8352 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
8353 Slightly relax "sem_post" name checking.
8354
5ea106f7
PG
83552005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
8356
8357 * gdb.base/unload.exp: Use new shared library infrastructure.
8358
bf7234cf
PG
83592005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
8360
8361 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 8362 infrastructure.
bf7234cf 8363
547b869a
CV
83642005-04-29 Corinna Vinschen <vinschen@redhat.com>
8365
8366 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
8367 * gdb.asm/h8300.inc: New file.
8368
f07e55f0
PG
83692005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
8370
8371 * gdb.base/shlib-call.exp: Change to use new shared library
8372 infrastructure.
8373
3cbba3d1
PG
83742005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
8375
a9c64011
AS
8376 * gdb.base/pending.exp: Change to use new shared library
8377 infrastructure.
3cbba3d1 8378
ed6df200
PG
83792005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
8380
a9c64011
AS
8381 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
8382 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 8383
8c8f4ebe
PG
83842005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
8385
a9c64011
AS
8386 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
8387 shared objects being adjusted and update copyright years.
8c8f4ebe 8388
607fbc54
DJ
83892005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
8390
8391 * ChangeLog: Correct some 2003-01-13 dates.
8392 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
8393 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
8394 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
8395 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
8396 gdb.trace/tfind.exp: Update copyright years.
8397
57bf0e56
DJ
83982005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
8399 Daniel Jacobowitz <dan@codesourcery.com>
8400
8401 * lib/gdb.exp (gdb_compile): Handle shlib=.
8402 (gdb_compile_shlib): New function.
8403
9b593790
PG
84042005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
8405
a9c64011 8406 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 8407
9494c6a5
DJ
84082005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
8409
8410 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
8411 gdb.server.
8412 * configure.ac: Likewise.
8413 * configure: Regenerated.
8414 * gdb.gdbserver/Makefile.in: Moved to...
8415 * gdb.server/Makefile.in: ... here.
8416 * gdb.gdbserver/server.c: Moved to...
8417 * gdb.server/server.c: ... here.
8418 * gdb.gdbserver/server-run.exp: Moved to...
8419 * gdb.server/server-run.exp: ... here.
8420
6f8eac0e
DJ
84212005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
8422
8423 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
8424 * configure.ac: Create gdb.gdbserver/Makefile.
8425 * configure: Regenerated.
8426 * lib/gdbserver-support.exp: New file, derived from
8427 config/gdbserver.exp.
8428 * config/gdbserver.exp: Use gdbserver-support.exp.
8429 * gdb.gdbserver/Makefile.in: New file.
8430 * gdb.gdbserver/server.c: New file.
8431 * gdb.gdbserver/server-run.exp: New file.
8432
6e87504d
PG
84332005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
8434
a9c64011
AS
8435 * lib/gdb.exp (test_compiler_info): Return compiler_info
8436 if no arguments are given.
6e87504d 8437
d1779be4
PG
84382005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
8439
8440 * gdb.arch/altivec-abi.exp: Check for compiler and set
8441 use altivec' flag accordingly.
8442 * gdb.arch/altivec-regs.exp: Likewise.
8443
88750304
DJ
84442005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
8445
8446 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
8447
f3fb768d
AS
84482005-03-27 Andreas Schwab <schwab@suse.de>
8449
8450 * gdb.base/bigcore.c (main): Add missing mode argument in open
8451 call.
8452
7e813ac5
DJ
84532005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
8454
8455 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
8456 downloads.
8457 * config/gdbserver.exp (gdb_load): Likewise.
8458
8e3049aa
PB
84592005-03-14 Paul Brook <paul@codesourcery.com>
8460
8461 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
8462 targets.
8463
a9df7c44
JB
84642005-03-09 Joel Brobecker <brobecker@adacore.com>
8465
8466 * gdb.dwarf2/dup-psym.S: New file.
8467 * gdb.dwarf2/dup-psym.exp: New testcase.
8468
9f0d94e8
JB
84692005-03-09 Joel Brobecker <brobecker@adacore.com>
8470
8471 * gdb.ada/exec_changed/first.adb: New file.
8472 * gdb.ada/exec_changed/second.adb: New file.
8473 * gdb.ada/exec_changed.exp: New testcase.
8474
5f579bc5
NS
84752005-03-08 Nathan Sidwell <nathan@codesourcery.com>
8476
36e9969c
NS
8477 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
8478 (A2): New class.
8479 (main): Test operator+.
8480 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
8481 breakpoint test.
8482
5f579bc5
NS
8483 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
8484 * gdb.base/signull.exp: Disable if gdb,nosignals.
8485 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
8486 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
8487 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
8488 * gdb.mi/mi2-console.exp: Likewise.
8489 * gdb.trace/collection.exp (run_trace_experiment): Consume the
8490 continue output at start.
8491 (gdb_collect_locals_test): Robustify regexp.
8492 * gdb.trace/passc-dyn.exp: Fix comment typo.
8493 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
8494
be46087e
CV
84952005-03-08 Corinna Vinschen <vinschen@redhat.com>
8496
8497 * gdb.asm/asm-source.exp: Add iq2000 case.
8498 * gdb.asm/iq2000.inc: New file.
8499
384e1a61 85002005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 8501
384e1a61
MI
8502 * gdb.base/command.exp: Change hardcoded value to regular expression.
8503 * gdb.base/float.exp: Add powerpc to the list of targets checked.
8504
584b6e9e
DJ
85052005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
8506
8507 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
8508 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
8509 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
8510 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
8511 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
8512
ab5b5d61
MK
85132005-03-05 Mark Kettenis <kettenis@gnu.org>
8514
8515 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
8516 changes.
8517
ae051c1b
PG
85182004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
8519
a9c64011
AS
8520 * lib/compiler.c: Add test for IBM's xlc compiler.
8521 * lib/compiler.cc: Likewise.
ae051c1b 8522
3f0f6ed2
JB
85232004-02-24 Joel Brobecker <brobecker@adacore.com>
8524
8525 * gdb.ada/fixed_points.exp: Create compilation object directory
8526 before running the test.
8527 * gdb.ada/null_record.exp: Likewise.
8528 * gdb.ada/packed_array.exp: Likewise.
8529 * gdb.ada/start.exp: Likewise.
8530
724f452b
JB
85312005-02-15 Joel Brobecker <brobecker@adacore.com>
8532
8533 * gdb.ada/packed_array/pa.adb: New file.
8534 * gdb.ada/packed_array.exp: New testcase.
8535
57f5cdfb 85362005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 8537
1f393151
MK
8538 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
8539 files.
8540
ebdda337
MK
8541 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
8542 on *-*-openbsd*. Correctly match whitespace in regukar
8543 expressions.
8544
cf309262
DJ
85452005-02-10 Daniel Jacobowitz <dan@debian.org>
8546
8547 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
8548 PR exp/1821
8549 * gdb.base/gdb1821.c: New test file.
8550 * gdb.base/gdb1821.exp: New test file.
8551
3be49e7a
JB
85522005-02-09 Joel Brobecker <brobecker@adacore.com>
8553
8554 * gdb.base/start.c: New file.
8555 * gdb.base/start.exp: New testcase.
8556
e292e67d
JB
85572005-02-09 Joel Brobecker <brobecker@adacore.com>
8558
8559 * gdb.ada/start/dummy.adb: New file.
8560 * gdb.ada/start.exp: New testcase.
8561
dbdfa66c
CV
85622005-02-09 Corinna Vinschen <vinschen@redhat.com>
8563
8564 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
8565 for printing symbols and statistics.
8566 Add test for using relative pathnames in "maint print msymbols" test.
8567 Mark "maint info sections DATA" XFAIL on Cygwin.
8568 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
8569 tests.
8570
d7941671
AC
85712005-02-09 Andreas Schwab <schwab@suse.de>
8572
8573 Committed by Andrew Cagney <cagney@gnu.org>
8574 * gdb.base/remotetimeout.exp: New file.
8575
74e5ef44
MK
85762005-02-07 Mark Kettenis <kettenis@gnu.org>
8577
8578 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
8579
464dd14d
JB
85802005-02-03 Joel Brobecker <brobecker@adacore.com>
8581
8582 * gdb.ada/gnat_ada.gpr: New file.
8583 * gdb.ada/gnat_ada.gin: Delete, no longer used.
8584 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
8585 * configure.ac: No longer generate gnat_ada.gpr.
8586 * configure: Regenerate.
8587 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
8588 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
8589 * gdb.ada/null_record/bar.ads: Likewise.
8590 * gdb.ada/null_record/bar.adb: Likewise.
8591 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
8592 * gdb.ada/null_record.exp (testdir): New variable.
8593 (testfile): executable is now in testdir subdirectory.
8594 (srcfile): Use full path to the main compilation unit.
8595 * gdb.ada/fixed_points.exp: Same changes as above.
8596
30d756ae
NR
85972005-02-03 Nick Roberts <nickrob@snap.net.nz>
8598
8599 * gdb.base/interp.exp: New test.
8600
9d799f85
AC
86012005-01-24 Andrew Cagney <cagney@gnu.org>
8602
8603 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
8604
15656118
AC
86052005-01-19 Andrew Cagney <cagney@gnu.org>
8606
a892c31b
AC
8607 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
8608 configure.ac not configure.in.
8609
15656118
AC
8610 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
8611 of powerpc*-*-*.
8612 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 8613 * gdb.base/list.exp (test_list_function)
15656118
AC
8614 (test_list_filename_and_function): Ditto.
8615 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
8616
a7b01baf
AC
86172005-01-16 Andrew Cagney <cagney@gnu.org>
8618
17d92a02
AC
8619 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
8620
a7b01baf
AC
8621 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
8622
bc8332bb
AC
86232005-01-14 Andrew Cagney <cagney@gnu.org>
8624
8625 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
8626 * gdb.mi/mi2-var-cmd.exp: Ditto.
8627
4d074752
CV
86282005-01-10 Corinna Vinschen <vinschen@redhat.com>
8629
8630 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
8631
bec39cab
AC
86322005-01-07 Andrew Cagney <cagney@gnu.org>
8633
8634 * configure.ac: Rename configure.in, require autoconf 2.59.
8635 * configure: Re-generate.
8636 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
8637 * gdb.stabs/configure: Re-generate.
8638 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
8639 * gdb.hp/configure: Re-generate.
8640 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
8641 autoconf 2.59.
8642 * gdb.hp/gdb.objdbg/configure: Re-generate.
8643 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
8644 autoconf 2.59.
8645 * gdb.hp/gdb.defects/configure: Re-generate.
8646 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
8647 autoconf 2.59.
8648 * gdb.hp/gdb.compat/configure: Re-generate.
8649 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
8650 autoconf 2.59.
8651 * gdb.hp/gdb.base-hp/configure: Re-generate.
8652 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
8653 autoconf 2.59.
8654 * gdb.hp/gdb.aCC/configure: Re-generate.
8655
f10b16d4
JB
86562004-12-15 Jim Blandy <jimb@redhat.com>
8657
8658 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
8659 under NPTL when there is debugging info available for libpthread.
8660
fb6e1814
JG
86612004-12-13 Jerome Guitton <guitton@gnat.com>
8662
8663 * gdb.ada/fixed_points.c: New file.
8664 * gdb.ada/fixed_points.exp: New file.
8665
fe46cd3a
RC
86662004-12-03 Randolph Chung <tausq@debian.org>
8667
8668 * gdb.arch/pa-nullify.exp: New file.
8669 * gdb.arch/pa-nullify.s: New file.
8670
8de0841b
RC
86712004-11-30 Randolph Chung <tausq@debian.org>
8672
8673 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
8674 instead of "tbug". Fix regexp to work properly with gdb_test.
8675
c8170782
PH
86762004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
8677
8678 * gdb.base/bitfields2.exp: New test.
8679 * gdb.base/bitfields2.c: New file.
8680
954269c2
RE
86812004-11-28 Richard Earnshaw <rearnsha@arm.com>
8682
8683 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
8684
0107feed
RC
86852004-11-16 Randolph Chung <tausq@debian.org>
8686
8687 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
8688
f073ae8c
DJ
86892004-11-14 Daniel Jacobowitz <dan@debian.org>
8690
8691 * gdb.threads/threadapply.exp: Correct "macro details" test.
8692
19ad59e7
JJ
86932004-11-11 Jeff Johnston <jjohnstn@redhat.com>
8694
8695 * gdb.threads/threadapply.exp: New test.
8696 * gdb.threads/threadapply.c: New file.
8697
9cf0961b
MK
86982004-11-07 Mark Kettenis <kettenis@gnu.org>
8699
8700 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
8701 frames.
8702
c789492a
FL
87032004-11-05 Felix Lee <felix+log1@specifixinc.com>
8704
8705 * gdb.base/cursal.exp: New file.
8706 * gdb.base/cursal.c: New file.
8707
a1e167bb
AC
87082004-11-03 Andrew Cagney <cagney@gnu.org>
8709
8710 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
8711
b7cbf173
MK
87122004-10-30 Mark Kettenis <kettenis@gnu.org>
8713
8714 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
8715 NetBSD/ELF targets.
8716
88f9d34f
JB
87172004-10-29 Joel Brobecker <brobecker@gnat.com>
8718
8719 * gdb.threads/bp_in_thread.c: New file, copied from
8720 pthread_cond_wait.c.
8721 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
8722 file, rather than reusing the .c file from another testcase.
8723
ca7d6a0c
JB
87242004-10-20 Joel Brobecker <brobecker@gnat.com>
8725
8726 * gdb.ada/null_record.exp: Check where we stopped after
8727 sending the start command, instead of where the associated
8728 temporary breakpoint was inserted.
8729
0d863d03
AC
87302004-10-14 Andrew Cagney <cagney@gnu.org>
8731
8732 * gdb.mi/gdb701.c (main): Return 0.
8733
d11e72cb
DJ
87342004-10-13 Daniel Jacobowitz <dan@debian.org>
8735
d40539a4 8736 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 8737
e1923096
JJ
87382004-10-12 Jeff Johnston <jjohnstn@redhat.com>
8739
8740 * gdb.threads/schedlock.c: Add comment markers to use to find
8741 line numbers.
8742 * gdb.threads/schedlock.exp: Adjust regex to handle the new
8743 comments.
8744 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
8745 breakpoint lines.
8746
ec8ba2c9
DJ
87472004-10-12 Daniel Jacobowitz <dan@debian.org>
8748
8749 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
8750
0eb3658b
DJ
87512004-10-12 Daniel Jacobowitz <dan@debian.org>
8752
8753 * configure.in: Add gdb.dwarf2.
8754 * configure: Regenerated.
8755 * Makefile.in: Add gdb.dwarf2.
8756 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
8757 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
8758 gdb.dwarf2/file1.txt: New files.
8759
a271cc33
OF
87602004-10-11 Orjan Friberg <orjanf@axis.com>
8761
a9c64011 8762 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
8763 of "run", since the latter doesn't work with remote targets. Adjust
8764 the breakpoint numbering accordingly.
8765 * gdb.threads/pthread_cond_wait.exp: Ditto.
8766
895ce074
MC
87672004-10-08 Michael Chastain <mec.gnu@mindspring.com>
8768
8769 * gdb.base/overlays.exp: Update copyright years.
8770
6be3092d
KI
87712004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
8772
8773 * gdb.base/overlays.exp: Disable if target is Linux.
8774
e05389b8
FL
87752004-10-06 Felix Lee <felix+log1@specifixinc.com>
8776
8777 * config/gdbserver.exp (gdb_load): Use right filename on remote.
8778
73cb587d
KI
87792004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
8780
8781 * gdb.asm/asm-source.exp: Add m32r-linux target.
8782 * gdb.asm/m32r-linux.inc: New file.
8783
3c0edcdc
AC
87842004-09-24 Andrew Cagney <cagney@redhat.com>
8785 David Anderson <anderson@redhat.com>
8786
8787 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
8788 command fails, assume things will work.
8789 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
8790 (_GNU_SOURCE): Define.
8791 (print_unsigned, print_hex): Change parameter to "long long".
8792 (print_byte_count): New function, use to print byte counts.
8793 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
8794 O_LARGEFILE.
8795 (main): Compute an upper bound on a corefile in max_core_size.
8796 Limit memory chunk size to max_core_size. Limit total memory
8797 allocated to max_core_size.
8798
4bb3667f
AC
87992004-09-23 Andrew Cagney <cagney@gnu.org>
8800
8801 * gdb.base/bigcore.exp: Replace the code that creates a corefile
8802 from a separate process with code that creates a corefile by
8803 making the inferior dump core.
8804
60fe1a51
MK
88052004-09-23 Mark Kettenis <kettenis@gnu.org>
8806
8807 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
8808 block.
8809
8e937346
MC
88102004-09-23 Michael Chastain <mec.gnu@mindspring.com>
8811
8812 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
8813 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
8814 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
8815 Likewise.
8816
7213f6d6
JJ
88172004-09-20 Jeff Johnston <jjohnstn@redhat.com>
8818
8819 * gdb.java/jprint.exp: New test case for java inferior call.
8820 * gdb.java/jprint.java: Ditto.
8821
eac69dca
JB
88222004-09-15 Joel Brobecker <brobecker@gnat.com>
8823
8824 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
8825
22227696
MC
88262004-09-14 Michael Chastain <mec.gnu@mindspring.com>
8827
8828 * gdb.threads/killed.c: Include <stdlib.h>.
8829 * gdb.threads/pthreads.c: Likewise.
8830
7dd403a4
MC
88312004-09-14 Michael Chastain <mec.gnu@mindspring.com>
8832
8833 * gdb.threads/killed.c: Add copyright notice.
8834
33f2d567
JM
88352004-09-10 Jason Molenda (jmolenda@apple.com)
8836
a9c64011
AS
8837 * gdb.base/define.exp: Two new tests to verify zero space chars
8838 after 'if' and 'while' commands in a user-defined command is correctly
8839 parsed.
33f2d567 8840
e05b62ac
AC
88412004-09-08 Andrew Cagney <cagney@gnu.org>
8842
8843 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
8844 delivery test with duplicate at end of file.
8845
9cbe82da
MK
88462004-09-06 Mark Kettenis <kettenis@jive.nl>
8847
8848 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
8849
564803d9
MC
88502004-09-05 Michael Chastain <mec.gnu@mindspring.com>
8851
8852 * config/hppro.exp: Removed.
8853
7c6807ce
MC
88542004-09-05 Michael Chastain <mec.gnu@mindspring.com>
8855
8856 * config/sparclet.exp: Removed.
8857
bf7e26dd
MC
88582004-09-05 Michael Chastain <mec.gnu@mindspring.com>
8859
8860 * config/udi.exp: Removed.
8861
714e341b
MC
88622004-09-02 Michael Chastain <mec.gnu@mindspring.com>
8863
8864 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
8865 of "exp_continue".
8866 (advancei): Likewise.
8867
1236e623
JJ
88682004-09-01 Jeff Johnston <jjohnstn@redhat.com>
8869
8870 * gdb.base/unload.exp: Fix so messages aren't duplicated.
8871
3bdcad15
MI
88722004-09-01 Manoj Iyer <manjo@austin.ibm.com>
8873
228af206 8874 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
8875 to check for nodebug in executable.
8876 * gdb.gdb/observer.exp (setup_test): Likewise.
8877 * gdb.gdb/selftest.exp (test_with_self): Likewise.
8878 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
8879
c72b934c
AC
88802004-09-01 Andrew Cagney <cagney@gnu.org>
8881
8882 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
8883 files.
8884
edd9b715
JJ
88852004-09-01 Jeff Johnston <jjohnstn@redhat.com>
8886
8887 * gdb.base/unload.exp: Fix expected warning message to match
8888 latest format.
8889
fb4ce06b
CV
88902004-09-01 Corinna Vinschen <vinschen@redhat.com>
8891
8892 * gdb.base/call-rt-st.exp: Fix typos.
8893
ce78e7c3
MI
88942004-08-31 Manoj Iyer <manjo@austin.ibm.com>
8895
8896 * gdb.threads/thread_check.exp: New testcase.
8897 * gdb.threads/thread_check.c: New testcase.
8898
2dedb159
AC
88992004-08-31 Andrew Cagney <cagney@gnu.org>
8900
8901 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
8902 (skip_to_handler_entry): New procedures. Test stepping into a
8903 handler when the breakpoint is at the handler's entry point.
8904
68f53502
AC
89052004-08-30 Andrew Cagney <cagney@gnu.org>
8906
8907 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
8908 gdb/1757.
8909
3e3ffd2b
MC
89102004-08-27 Michael Chastain <mec.gnu@mindspring.com>
8911
8912 With code from Manoj Iyer <manjo@austin.ibm.com>:
8913 * lib/gdb.exp (gdb_file_cmd): Return more information in the
8914 return value. Add an arm for "no debugging symbols found".
8915 Change a stray "error" to "perror".
8916 (gdb_run_cmd): Adapt to new return value.
8917 * gdb.base/remote.exp: Adapt to new return value.
8918 * gdb.gdb/complaints.exp: Likewise.
8919 * gdb.gdb/observer.exp: Likewise.
8920 * gdb.gdb/selftest.exp: Likewise.
8921 * gdb.gdb/xfullpath.exp: Likewise.
8922
4b6f5fd2
JB
89232004-08-27 Joel Brobecker <brobecker@gnat.com>
8924
8925 * gdb.threads/bp_in_thread.exp: New testcase.
8926
e5b25496
MC
89272004-08-27 Michael Chastain <mec.gnu@mindspring.com>
8928
8929 Fix PR testsuite/1735.
8930 * gdb.threads/schedlock.c (thread_function): Add a cast
8931 to suppress a gcc warning.
8932 * gdb.threads/thread-specific.c (thread_function): Likewise.
8933
934353d6
MC
89342004-08-26 Michael Chastain <mec.gnu@mindspring.com>
8935
8936 * gdb.base/unload.c: Include <stdlib.h>.
8937
f98a0aef 89382004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 8939
f98a0aef 8940 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
8941 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
8942 synchronized after the "return".
8943
5a2e8882
MC
89442004-08-26 Michael Chastain <mec.gnu@mindspring.com>
8945
8946 * gdb.mi/basics.c: Include <stdio.h>.
8947 * gdb.mi/pthreads.c: Include <stdlib.h>.
8948 * gdb.mi/var-cmd.c: Include <stdlib.h>.
8949
a9640423
MC
89502004-08-26 Michael Chastain <mec.gnu@mindspring.com>
8951
8952 * gdb.threads/schedlock.c: Add copyright notice.
8953
b04e311d
AC
89542004-08-25 Andrew Cagney <cagney@gnu.org>
8955
8956 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
8957 (skip_over_handler, breakpoint_over_hander): New test procedures.
8958 (advance, advancei): Add a proper prefix, do not use
8959 rerun_to_main.
8960 * gdb.base/sigstep.c (main): Change to use an infinite loop.
8961
7c27f15b
MC
89622004-08-24 Michael Chastain <mec.gnu@mindspring.com>
8963
8964 * gdb.mi/basics.c: Add copyright notice.
8965 * gdb.mi/var-cmd.c: Add copyright notice.
8966
fffc87ae
MC
89672004-08-23 Michael Chastain <mec.gnu@mindspring.com>
8968
8969 * lib/gdb.exp: Remove signed_keyword_not_used.
8970 * lib/compiler.c: Likewise.
8971 * lib/compiler.cc: Likewise.
8972
d782e0bf
MC
89732004-08-23 Michael Chastain <mec.gnu@mindspring.com>
8974
8975 * gdb.base/whatis.c: Remove conditional disabling of "signed".
8976 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
8977
96033e83
MC
89782004-08-23 Michael Chastain <mec.gnu@mindspring.com>
8979
8980 * gdb.base/whatis.c: Add copyright notice.
8981
cf38c229
MK
89822004-08-20 Mark Kettenis <kettenis@gnu.org>
8983
8984 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
8985 it to skip the breakpoints encoded in the inline assembly.
8986
f4b49756
MC
89872004-08-20 Michael Chastain <mec.gnu@mindspring.com>
8988
8989 * Makefile.in: Add gdb.fortran.
8990
2f193b69
MC
89912004-08-20 Michael Chastain <mec.gnu@mindspring.com>
8992
8993 * gdb.base/call-sc.exp (test_scalar_returns):
8994 Fix cut-and-paste glitch in "Make fun return now".
8995
89a237cb
MC
89962004-08-17 Michael Chastain <mec.gnu@mindspring.com>
8997
8998 * configure.in: Add gdb.fortran.
8999 * configure: Regenerate.
9000 * gdb.fortran/Makefile.in: New file.
9001 * lib/gdb.exp (skip_fortran_tests): New procedure.
9002
469aff8e
MC
90032004-08-17 Michael Chastain <mec.gnu@mindspring.com>
9004
9005 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
9006 reference to bug-gnu@prep.ai.mit.edu.
9007 * gdb.mi/mi-var-child.exp: Likewise.
9008 * gdb.mi/mi-var-cmd.exp: Likewise.
9009 * gdb.mi/mi-var-display.exp: Likewise.
9010 * gdb.mi/mi2-var-block.exp: Likewise.
9011 * gdb.mi/mi2-var-child.exp: Likewise.
9012 * gdb.mi/mi2-var-cmd.exp: Likewise.
9013 * gdb.mi/mi2-var-display.exp: Likewise.
9014
00b51b9f
MK
90152004-08-15 Mark Kettenis <kettenis@gnu.org>
9016
9017 * gdb.base/unload.c (main): Make local variable msg const.
9018
45f07fef
MC
90192004-08-15 Michael Chastain <mec.gnu@mindspring.com>
9020
9021 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
9022 to bug-gnu@prep.ai.mit.edu.
9023 * gdb.mi/mi-disassemble.exp: Likewise.
9024 * gdb.mi/mi-eval.exp: Likewise.
9025 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
9026 default line number.
9027 * gdb.mi/mi-return.exp: Likewise.
9028 * gdb.mi/mi-simplerun.exp: Likewise.
9029 * gdb.mi/mi-stack.exp: Likewise.
9030 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
9031 number with explicit range test.
9032 * gdb.mi/mi-watch.exp: Likewise.
9033 * gdb.mi/mi2-break.exp: Likewise.
9034 * gdb.mi/mi2-cli.exp: Likewise.
9035 * gdb.mi/mi2-disassemble.exp: Likewise.
9036 * gdb.mi/mi2-eval.exp: Likewise.
9037 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
9038 default line number.
9039 * gdb.mi/mi2-return.exp: Likewise.
9040 * gdb.mi/mi2-simplerun.exp: Likewise.
9041 * gdb.mi/mi2-stack.exp: Likewise.
9042 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
9043 number with explicit range test.
9044 * gdb.mi/mi2-watch.exp: Likewise.
9045
dd8c8ee7
MC
90462004-08-15 Michael Chastain <mec.gnu@mindspring.com>
9047
9048 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
9049 * gdb.cp/m-static.exp: Likewise.
9050 * gdb.cp/rtti.exp: Likewise.
9051
4e838464
MK
90522004-08-14 Mark Kettenis <kettenis@gnu.org>
9053
9054 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
9055
8d8cb839
EZ
90562004-08-14 Eli Zaretskii <eliz@gnu.org>
9057
9058 * ChangeLog: Prefix Local Variables with semi-colons and indent
9059 the reference to older ChangeLog files, to fix fontification in
9060 Emacs.
9061
deea8bb0
MC
90622004-08-13 Michael Chastain <mec.gnu@mindspring.com>
9063
9064 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
9065 * gdb.mi/mi2-break.exp: Likewise.
9066
c3297504
MC
90672004-08-13 Michael Chastain <mec.gnu@mindspring.com>
9068
9069 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
9070
25808999
MC
90712004-08-13 Michael Chastain <mec.gnu@mindspring.com>
9072
9073 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
9074
226a8d71
MC
90752004-08-13 Michael Chastain <mec.gnu@mindspring.com>
9076
9077 * gdb.cp/classes.exp: Remove unused declarations. Just let
9078 test names default instead of providing special names. Remove
9079 extraneous demangler test.
9080
37fdf854
JJ
90812004-08-12 Jeff Johnston <jjohnstn@redhat.com>
9082
9083 * gdb.base/unload.exp: New test for breakpoints in dynamically
9084 loaded libraries.
9085 * gdb.base/unload.c: Ditto.
9086 * gdb.base/unloadshr.c: Ditto.
9087
2d3a7986
MC
90882004-08-12 Michael Chastain <mec.gnu@mindspring.com>
9089
9090 * gdb.cp/classes.exp (test_ptype_class_objects): Call
9091 cp_test_ptype_class.
9092 (test_enums): Likewise.
9093
c72b934c
AC
90942004-08-10 Andrew Cagney <cagney@gnu.org>
9095
9096 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
9097 files.
9098
cc503c8a
AC
90992004-08-10 Andrew Cagney <cagney@gnu.org>
9100
9101 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
9102 init_malloc call.
9103
902f2ccb
MC
91042004-08-10 Michael Chastain <mec.gnu@mindspring.com>
9105
9106 * ChangeLog: Add copyright notice. The notice is copied
9107 from emacs 21.3 top level ChangeLog.
9108
78c90502
MC
91092004-08-09 Michael Chastain <mec.gnu@mindspring.com>
9110
9111 * lib/cp-support.exp: New file.
9112 * lib/cp-support.exp (cp_test_type_class): New function.
9113 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
9114 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
9115 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
9116 cp_test_ptype_class.
9117
88e5ea78
MC
91182004-08-09 Michael Chastain <mec.gnu@mindspring.com>
9119
9120 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
9121 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9122 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
9123 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
9124 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
9125 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
9126 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
9127 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
9128 gdb.mi/mi2-watch.exp: Update copyright years.
9129
6a89fc9c
MK
91302004-08-09 Mark Kettenis <kettenis@gnu.org>
9131
9132 * gdb.base/sigaltstack.exp: Provide proper anchoring.
9133
1482e0de
MC
91342004-08-09 Michael Chastain <mec.gnu@mindspring.com>
9135
9136 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
9137 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
9138 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
9139 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9140 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
9141 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
9142 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
9143 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
9144 gdb.mi/mi-watch.exp: Update copyright years.
9145
1a5ce3f3
DJ
91462004-08-08 Daniel Jacobowitz <dan@debian.org>
9147
9148 PR gdb/1738
9149 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
9150 from a breakpoint with a pending signal.
9151
04f6ecf2
DJ
91522004-08-08 Daniel Jacobowitz <dan@debian.org>
9153
9154 PR gdb/1736
9155 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
9156 * gdb.base/sigaltstack.exp (finish_test): Consume output until
9157 the prompt.
9158 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
9159
54d90d35
DJ
91602004-08-08 Daniel Jacobowitz <dan@debian.org>
9161
9162 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
9163
d2f6abb0
DJ
91642004-08-08 Daniel Jacobowitz <dan@debian.org>
9165
9166 PR gdb/1736
9167 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
9168 for i?86-*-linux*.
9169
5598c03d
DJ
91702004-08-08 Daniel Jacobowitz <dan@debian.org>
9171
9172 * gdb.arch/i386-prologue.exp: Compile without debug information.
9173
c6fee705
MC
91742004-08-08 Michael Chastain <mec.gnu@mindspring.com>
9175
9176 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
9177 rather than asking gdb to search.
9178
dd90efdb
MC
91792004-08-05 Michael Chastain <mec.gnu@mindspring.com>
9180
9181 * gdb.base/gcore.c: Include <string.h>.
9182
1e84bec1
MC
91832004-08-05 Michael Chastain <mec.gnu@mindspring.com>
9184
9185 * gdb.base/gcore.c: Add copyright notice.
9186
e425eb2b
MC
91872004-08-05 Michael Chastain <mec.gnu@mindspring.com>
9188
9189 * gdb.base/freebpcmd.c: Include <stdio.h>.
9190 * gdb.base/long_long.c: Include <string.h>.
9191 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
9192 * gdb.base/siginfo.c: Include <string.h>.
9193 * gdb.base/sigstep.c: Include <string.h>.
9194
cb9aaed5
MC
91952004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9196
9197 * gdb.base/complex.c: Include <stdlib.h>.
9198
55944f3d
MC
91992004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9200
9201 * gdb.base/complex.c: Add copyright notice.
9202
7b2953d9
MC
92032004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9204
9205 * gdb.base/charset.c: Include <stdlib.h>.
9206
c9133d23
MC
92072004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9208
9209 * gdb.base/auxv.c: Include <stdlib.h>.
9210
0a8490ad
MC
92112004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9212
9213 * gdb.base/auxv.c: Add copyright notice.
9214
3426d5ec
MC
92152004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9216
9217 * gdb.base/coremaker.c: Add copyright notice.
9218 * gdb.base/coremaker2.c: Add copyright notice.
9219
8da195dd
AC
92202004-08-04 Andrew Cagney <cagney@gnu.org>
9221
9222 * gdb.base/store.exp: Update copyright.
9223 (check_set, up_set, check_struct, up_struct): Add a prefix to test
9224 names, do not import gdb_prompt.
9225
8d394f98
AC
92262004-08-01 Andrew Cagney <cagney@gnu.org>
9227
9228 Fix PR testsuite/1729.
9229 * gdb.base/dump.exp: Add test name to callers of capture_value, do
9230 not use capture_value with value 4.
9231 (capture_value): Add optional test name parameter.
9232 (test_reload_saved_value, test_restore_saved_value): Use $msg as
9233 the prefix, pass to capture_value.
9234
b6702b23
MK
92352004-08-01 Mark Kettenis <kettenis@gnu.org>
9236
9237 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
9238 * gdb.arch/i386-prologue.c (standard): New prototype and function.
9239 (main): Call new function.
9240
c203e0ca
MC
92412004-07-31 Michael Chastain <mec.gnu@mindspring.com>
9242
9243 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
9244
a7995a30
MC
92452004-07-31 Michael Chastain <mec.gnu@mindspring.com>
9246
9247 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
9248
9366563b
MC
92492004-07-31 Michael Chastain <mec.gnu@mindspring.com>
9250
b6eeaf26 9251 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
9252 Accept more values of vtbl pointer. Remove some messages
9253 about "obsolete gcc or gdb".
9254
2fc1f950
MC
92552004-07-30 Michael Chastain <mec.gnu@mindspring.com>
9256
9257 * gdb.cp/classes.exp: Accept more varieties of ptype output.
9258
c724d49b
MC
92592004-07-30 Michael Chastain <mec.gnu@mindspring.com>
9260
9261 * gdb.base/asm-source.exp: Properly convert target board
9262 debug flags from gcc format to binutils format.
9263
736b0fce
MK
92642004-07-28 Mark Kettenis <kettenis@gnu.org>
9265
9266 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
9267 gdb1718". PR backtrace/1718 partially fixed.
9268
5633ea5c
JJ
92692004-07-27 Jeff Johnston <jjohnstn@redhat.com>
9270
9271 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
9272
575eebb1
NC
92732004-07-26 Nick Clifton <nickc@redhat.com>
9274
9275 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
9276 good default value for a specific architecture is available then
9277 set it to that value. Otherwise default to the -gstabs switch.
9278 Remove the -g... switches from the asm-flags variable. Allow the
9279 target board info to override the value if it wants to. Pass the
9280 switch on the assembler command line.
9281
62104619
MK
92822004-07-23 Mark Kettenis <kettenis@gnu.org>
9283
9284 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
9285 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
9286 (main): Call new function.
9287
4a1135b8
MC
92882004-07-22 Michael Chastain <mec.gnu@mindspring.com>
9289
9290 Test for PR exp/1715.
9291 * gdb.base/radix.exp: Refactor common procedures. Make all
9292 test names unique. Change XFAIL to KFAIL.
9293
8a12c1f0
MC
92942004-07-20 Michael Chastain <mec.gnu@mindspring.com>
9295
9296 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
9297 * gdb.ada/gnat_ada.gin: ... to here.
9298 * configure.in: Use gnat_ada.gin.
9299 * configure: Regenerate.
9300
23b451cf
AC
93012004-07-20 Andrew Cagney <cagney@gnu.org>
9302
9303 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
9304 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
9305 XFAILs. Clean up test messages and comments. Check backtraces.
9306 Delete re-sync code.
9307
ab618a02
MC
93082004-07-19 Michael Chastain <mec.gnu@mindspring.com>
9309
9310 Fix PR cli/740.
9311 * gdb.base/annota1.exp: Honor gdb,nosignals.
9312 * gdb.base/annota3.exp: Likewise.
9313
46dad340
MC
93142004-07-19 Michael Chastain <mec.gnu@mindspring.com>
9315
9316 * lib/java.exp: Update copyright notice.
9317
756d8c70
AC
93182004-07-19 Andrew Cagney <cagney@gnu.org>
9319
9320 * gdb.base/selftest.exp: Copy file from here ...
9321 * gdb.gdb/selftest.exp: ... to here.
9322
586027e6
AC
93232004-07-16 Andrew Cagney <cagney@redhat.com>
9324
9325 * lib/insight-support.exp: Delete file.
9326 * lib/java.exp (java_init): Fix copyright.
9327
029d2200
AC
93282004-07-16 Andrew Cagney <cagney@gnu.org>
9329
9330 * gdb.base/restore.c: Append "prologue" to comments marking the a
9331 function's prologue.
9332 * gdb.base/restore.exp: Update copyright, re-indent.
9333 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
9334 callerN" prefix where needed. Update patterns that match a
9335 function's prologue.
9336
653b62c5
MC
93372004-07-16 Michael Chastain <mec.gnu@mindspring.com>
9338
9339 * gdb.base/restore.c: Add copyright notice.
9340
f7d690e5
AC
93412004-07-16 Andrew Cagney <cagney@gnu.org>
9342
9343 * gdb.base/logical.exp: Update copyright.
9344 (evaluate): New procedure. Use to re-implement tests using
9345 several tables.
9346
d629a7cb
MH
93472004-07-14 Martin Hunt <hunt@redhat.com>
9348
9349 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
9350 which fixes some problems where init.tcl was not found.
9351
9c7bb332
AC
93522004-07-13 Andrew Cagney <cagney@gnu.org>
9353
6bf46641
AC
9354 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
9355 (check_sizeof, check_valueof): Do not include the output in the
9356 test name. Use gdb_test.
9357 (get_valueof): Use gdb_test_multiple.
9358
c4ffd4c0
AC
9359 * gdb.base/step-test.exp: Update copyright. Use
9360 gdb_test_multiple. Ensure that test names do not include
9361 architecture dependent output.
9362
ab89363a
AC
9363 * gdb.gdb/observer.exp: Update copyright.
9364 (setup_test): Use gdb_test_multiple.
9365 (attach_first_observer, attach_second_observer)
9366 (attach_third_observer, detach_first_observer)
9367 (detach_second_observer, detach_third_observer)
9368 (reset_counters, check_counters): Make $message a prefix.
9369 (test_normal_stop_notifications): Add "args" parameter - a list of
9370 init functions to be called. Make $message a prefix,
9371 (test_observer_normal_stop): Change the message prefixes so that
9372 they are unique, pass the attach / detach procedures to
9373 test_normal_stop_notifications.
9374
ec58997a
AC
9375 * gdb.base/signull.exp (test_segv): Prefix all tests with
9376 "${name}". Clean up test messages.
9377
b475183b
AC
9378 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
9379
9c7bb332
AC
9380 * gdb.base/ena-dis-br.exp: Update copyright.
9381 (break_at): New function. Replace send_gdb with gdb_test,
9382 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
9383 ignore count, not stopped at bpt", with KFAIL.
9384
2dd95497
CV
93852004-07-13 Corinna Vinschen <vinschen@redhat.com>
9386
9387 * gdb.base/attach.exp: Remove cleanupfile handling.
9388
419e626b
AC
93892004-07-12 Andrew Cagney <cagney@gnu.org>
9390
9391 * gdb.base/annota1.exp: Cleanup corefile test name.
9392 * gdb.base/annota3.exp: Ditto.
9393
8b1b3228
AC
93942004-07-12 Andrew Cagney <cagney@gnu.org>
9395
78650829
AC
9396 * gdb.base/signals.exp: Clean up copyright, re-indent.
9397
8b1b3228
AC
9398 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
9399 gdb_test and gdb_test_multiple.
9400
935c2760
JJ
94012004-07-08 Jeff Johnston <jjohnstn@redhat.com>
9402
9403 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 9404 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
9405 provide line number info for first statement in main.
9406
1544280f
AC
94072004-07-08 Andrew Cagney <cagney@gnu.org>
9408
1279f4ff
AC
9409 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
9410
1544280f
AC
9411 * gdb.base/sigbpt.exp: Make the common part of each test name a
9412 prefix instead of suffix.
9413
bcc82369
BR
94142004-07-07 Bob Rossi <bob_rossi@cox.net>
9415
9416 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
9417 test from test_tbreak_creation_and_listing to
9418 test_file_list_exec_source_file
9419 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
9420 Changed name of test from test_tbreak_creation_and_listing to
9421 test_file_list_exec_source_file
9422
23f4b0aa
JJ
94232004-07-07 Jeff Johnston <jjohnstn@redhat.com>
9424
9425 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
9426 the jmisc() constructor instead of <init>.
9427 * gdb.java/jmisc1.exp: Ditto.
9428
56401cd5
AC
94292004-07-07 Andrew Cagney <cagney@gnu.org>
9430
9431 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
9432 corrupting the PC.
9433
44ae2f6a
MC
94342004-07-06 Michael Chastain <mec.gnu@mindspring.com>
9435
9436 * gdb.cp/templates.exp: Accept whitespace change in demangler
9437 output.
9438
45a83408
AC
94392004-07-06 Andrew Cagney <cagney@gnu.org>
9440
9441 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
9442
d205ad70
MC
94432004-07-02 Michael Chastain <mec.gnu@mindspring.com>
9444
9445 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
9446 * lib/compiler.cc: Likewise.
9447
06ea1a61
MC
94482004-06-30 Michael Chastain <mec.gnu@mindspring.com>
9449
9450 * lib/compiler.cc: Work around string preprocessing problem
9451 with old hp c++ compiler.
9452 * lib/compiler.c: Likewise.
9453
daab1251
CV
94542004-06-29 Corinna Vinschen <vinschen@redhat.com>
9455
9456 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
9457 directives to conditionalize symbol prefixing.
9458 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
9459 additional_flags handling. Add underscore prefix for Cygwin.
9460 * gdb.arch/i386-unwind.c: Use preprocessor directives to
9461 conditionalize symbol prefixing.
9462 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
9463 additional_flags handling. Add underscore prefix for Cygwin.
9464
cc984116
CV
94652004-06-29 Corinna Vinschen <vinschen@redhat.com>
9466
9467 * gdb.base/bigcore.exp: Skip test on Cygwin.
9468
c279b077
MC
94692004-06-28 Michael Chastain <mec.gnu@mindspring.com>
9470
9471 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
9472 formats for "info register". Use gdb_test_multiple. Fix
9473 the "invalid register" test.
9474
0e915747
CV
94752004-06-28 Corinna Vinschen <vinschen@redhat.com>
9476
9477 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
9478 PID for Cygwin. Add Cygwin specific strings to check for in some
9479 tests.
9480 (do_attach_tests): Add a test for user interaction when attaching
9481 to a process with no matching symbol table already loaded.
9482
11422c86
AC
94832004-06-26 Andrew Cagney <cagney@gnu.org>
9484
9485 Test PR java/1567 and PR java/1565.
9486 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
9487 * gdb.java/jmisc2.exp: Delete file.
9488
cefbce26
MC
94892004-06-26 Michael Chastain <mec.gnu@mindspring.com>
9490
9491 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
9492
e19f872c
CV
94932004-06-25 Corinna Vinschen <vinschen@redhat.com>
9494
9495 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
9496 attach process.
9497
d931ba3b
MC
94982004-06-23 Michael Chastain <mec.gnu@mindspring.com>
9499
9500 * gdb.cp/pr-1553.exp: Remove.
9501
aef68c48
MC
95022004-06-22 Michael Chastain <mec.gnu@mindspring.com>
9503
9504 * gdb.cp/pr-1553.cc: Remove.
9505 * gdb.cp/pr-1553.exp: Disable this test.
9506
8d5df71a
JB
95072004-06-20 Jim Blandy <jimb@redhat.com>
9508
a9c64011 9509 Fix PR testsuite/1680.
8d5df71a
JB
9510 * gdb.arch/i386-sse.exp: Properly quote curly braces in
9511 regular expressions.
9512
4ac6f39d
MC
95132004-06-19 Michael Chastain <mec.gnu@mindspring.com>
9514
9515 Fix PR testsuite/1679.
9516 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
9517 Issue an UNSUPPORTED result instead.
9518
1b413552
JB
95192004-06-18 Jim Blandy <jimb@redhat.com>
9520
9521 * gdb.base/charset.exp: Only send a control-C if we see a new
9522 prompt and incomplete command.
9523
6daa6ebd
MC
95242004-06-18 Michael Chastain <mec.gnu@mindspring.com>
9525
9526 * gdb.cp/pr-574.cc: Add copyright notice.
9527
51fa4ae0
JB
95282004-06-17 Jim Blandy <jimb@redhat.com>
9529
9530 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
9531 cases where the regexp has no groups; this grabs random text from
9532 the previous test suite, whatever that was.
9533
8fea26c5
MC
95342004-06-17 Michael Chastain <mec.gnu@mindspring.com>
9535
9536 * gdb.cp/printmethod.cc: Add copyright notice.
9537
1e3aeb41
MC
95382004-06-16 Michael Chastain <mec.gnu@mindspring.com>
9539
9540 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
9541
9d9030bc
AC
95422004-06-16 Andrew Cagney <cagney@gnu.org>
9543
9544 * gdb.base/signull.c: Update copyright. Include <string.h>.
9545 (bowler): Replace data_pointer with data_read
9546 and data_write cases. Add code_descriptor case.
9547 (zero, desc): New array and pointer.
9548 (data, code): Change to simple pointers.
9549 * gdb.base/signull.exp: Fix probe pattern matching a function
9550 descriptor SIGSEGV. Replace data_pointer with data_read and
9551 data_write tests.
9552
acd4ad44
AC
95532004-06-16 Andrew Cagney <cagney@gnu.org>
9554
9555 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
9556
08fd625c
MC
95572004-06-15 Michael Chastain <mec.gnu@mindspring.com>
9558
9559 * gdb.base/long_long.c: Add copyright notice.
9560
1903502c
MC
95612004-06-15 Michael Chastain <mec.gnu@mindspring.com>
9562
9563 * gdb.base/long_long.exp: Remove reference to
9564 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
9565 to gdb_breakpoint and gdb_continue_to_breakpoint.
9566
83313cb1
JB
95672004-06-14 Jim Blandy <jimb@redhat.com>
9568
9569 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
9570 endian case.
9571
1bf404ef
AC
95722004-06-14 Andrew Cagney <cagney@gnu.org>
9573
9574 * gdb.base/gcore.exp (capture_command_output): Delete the always
9575 passing tests containing inferior values.
9576 * gdb.base/ending-run.exp: Do not include the breakpoint address
9577 in the test message. Update copyright.
9578 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
9579 size in the test name, use gdb_test_multiple. Update copyright.
9580
ef220b33
MC
95812004-06-14 Michael Chastain <mec.gnu@mindspring.com>
9582
9583 * gdb.cp/ref-types.cc: Add copyright notice.
9584
4f70a4c9
MC
95852004-06-14 Michael Chastain <mec.gnu@mindspring.com>
9586
9587 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
9588 hp_aCC_compiler.
9589 * lib/compiler.cc: Likewise.
9590 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
9591 'set' commands. Log diagnostics for other lines. Set
9592 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
9593
335928ac
MC
95942004-06-13 Michael Chastain <mec.gnu@mindspring.com>
9595
9596 * gdb.cp/try_catch.cc: Add copyright notice.
9597
2efb12e8
MC
95982004-06-12 Michael Chastain <mec.gnu@mindspring.com>
9599
9600 * gdb.cp/userdef.cc: Add copyright notice.
9601
0bbed51a
MC
96022004-06-11 Michael Chastain <mec.gnu@mindspring.com>
9603
9604 * gdb.cp/virtfunc.cc: Add copyright notice.
9605
e12a46c9
RC
96062004-06-11 Randolph Chung <tausq@debian.org>
9607
9608 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
9609 problem.
9610
338e05af
AC
96112004-06-10 Andrew Cagney <cagney@gnu.org>
9612
9613 * lib/compiler.cc, lib/compiler.c: Append either
9614 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
9615 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
9616 instead of gcc-3-3.
9617
dc3f10cb
AC
96182004-06-09 Andrew Cagney <cagney@gnu.org>
9619
b4d946af
AC
9620 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
9621 gdb/1455, bug is specific to "long long" and "double".
a9c64011 9622
dc3f10cb
AC
9623 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
9624 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
9625 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
9626 fixed.
9627
b5c0bfa2
AC
96282004-06-09 Andrew Cagney <cagney@gnu.org>
9629
9630 * gdb.base/structs.exp (test_struct_returns): Replace
9631 "return_value_unknown" and "finish_value_unknown" by
9632 "return_value_known" and "finish_value_known". Instead of
9633 "return_value_unknown" iff "finish_value_unknown", check
9634 "return_value_known" implies "finish_value_known".
9635
caeb605f
MH
96362004-06-08 Martin Hunt <hunt@redhat.com>
9637
9638 * gdb.base/float.exp: Add pattern for mips targets.
9639
c892bb64
RC
96402004-06-08 Randolph Chung <tausq@debian.org>
9641
9642 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
9643 message for unknown architectures more clear.
9644
48306d3e
JB
96452004-06-08 Joel Brobecker <brobecker@gnat.com>
9646
9647 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
9648 start the execution of the program.
9649
83ecb59f
JB
96502004-06-07 Jim Blandy <jimb@redhat.com>
9651
9652 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
9653 * gdb.arch/i386-cpuid.h: New helper file.
9654
55264cb4
RC
96552004-06-07 Randolph Chung <tausq@debian.org>
9656
9657 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
9658 has started.
9659
23cadb28
RM
96602004-06-04 Roland McGrath <roland@redhat.com>
9661
9662 Fix PR gdb/1647.
9663 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
9664 differently to be robust to output buffering differences.
9665
51d01eda
MC
96662004-06-04 Michael Chastain <mec.gnu@mindspring.com>
9667
9668 * gdb.threads/pthreads.exp: Update copyright years.
9669 (check_control_c): Change asynchronous 'after' to synchronous.
9670
f4fc3b93
RM
96712004-06-04 Roland McGrath <roland@redhat.com>
9672
9673 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
9674 next gdb prompt.
9675
4013522b
MC
96762004-06-02 Michael Chastain <mec.gnu@mindspring.com>
9677
9678 Fix PR gdb/1636.
9679 * gdb.threads/manythreads.exp: Change asynchronous 'after'
9680 calls to synchronous.
9681
7a8f1e6b
JB
96822004-05-26 Jim Blandy <jimb@redhat.com>
9683
9684 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
9685
81bb3443
RC
96862004-05-24 Randolph Chung <tausq@debian.org>
9687
9688 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
9689 * gdb.asm/pa.inc: New file.
9690
8f5a3103
MK
96912004-05-22 Mark Kettenis <kettenis@gnu.org>
9692
9693 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
9694
734b8fe8 96952004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 9696 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
9697
9698 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
9699 GDB prompt.
9700
725603e1
UW
97012004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9702
f4fc3b93 9703 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
9704 setjmp/longjmp. Use sigaction instead of signal.
9705
8b923272 97062004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 9707 Michael Snyder <msnyder@redhat.com>
8b923272
JB
9708
9709 * gdb.threads/pthread_cond_wait.c: New file.
9710 * gdb.threads/pthread_cond_wait.exp: New testcase.
9711
8bfabb04
AC
97122004-05-13 Andrew Cagney <cagney@redhat.com>
9713
9714 * gdb.base/signull.exp, gdb.base/signull.c: New files.
9715 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
9716
42edda50
AC
97172004-05-11 Andrew Cagney <cagney@redhat.com>
9718
9719 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
9720 fixed but revealed gdb/1639.
9721
d303a6c7
AC
97222004-05-10 Andrew Cagney <cagney@redhat.com>
9723
9724 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
9725 func1" and "next to 2nd alarm", kernel bug avoided.
9726
bf08c2a1
DJ
97272004-05-10 Daniel Jacobowitz <dan@debian.org>
9728
9729 PR external/1568
9730 * gdb.base/bigcore.exp: Check the size of the dumped core file.
9731 XFAIL if it is smaller than bytes_allocated.
9732 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
9733 (main): Make chunks_allocated unsigned. Correct comment.
9734
c0586a34
JB
97352004-05-07 Joel Brobecker <brobecker@gnat.com>
9736
9737 * gdb.arch/powerpc-aix-prologue.c: New file.
9738 * gdb.arch/powerpc-aix-prologue.exp: New file.
9739
f2785d12
JB
97402004-05-07 Jim Blandy <jimb@redhat.com>
9741
9742 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
9743 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
9744
bd7f6e30
JB
97452004-05-06 Joel Brobecker <brobecker@gnat.com>
9746
9747 * gdb.base/sep.exp: No longer setup_kfail when the program was
9748 built with dwarf2.
9749
0a5e7efe
JI
97502004-05-05 Jim Ingham <jingham@apple.com>
9751
9752 * gdb.base/pending.exp: Make sure pending breakpoints
9753 preserve the ignore count.
f4fc3b93 9754
a8958849
MK
97552004-04-27 Jerome Guitton <guitton@gnat.com>
9756
9757 * i386-prologue.exp: Add testcase for jump instruction as first
9758 instruction of the real code.
9759 * i386-prologue.c (jump_at_beginning): New function.
9760
7e103f5b
MK
97612004-04-28 Mark Kettenis <kettenis@gnu.org>
9762
9763 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
9764 x86_64-*-*.
9765
5d38b224
MK
97662004-04-28 Mark Kettenis <kettenis@gnu.org>
9767
9768 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
9769 i*86-*-*.
9770
0ef32fd9
MK
97712004-04-25 Mark Kettenis <kettenis@gnu.org>
9772
9773 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
9774 expression that checks the return type.
9775
71d7dd7c
AC
97762004-04-23 Andrew Cagney <cagney@redhat.com>
9777
9778 * gdb.base/call-sc.exp: New test of scalar call/return values.
9779 * gdb.base/call-sc.c: Ditto.
9780
1e9f977e
JJ
97812004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9782
9783 * gdb.threads/manythreads.c: Reduce thread stack size.
9784
899d9e3a
JJ
97852004-04-23 Jeff Johnston <jjohnstn@redhat.com>
9786
9787 * gdb.threads/manythreads.c: Add copyright notice.
9788
61bcae62
AC
97892004-04-23 Andrew Cagney <cagney@redhat.com>
9790
9791 * gdb.base/siginfo.exp: Better handle step out of signal.
9792 * gdb.base/sigstep.exp: Ditto.
9793
7339a42e 97942004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 9795 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
9796
9797 * gdb.threads/manythreads.c: New testcase.
9798 * gdb.threads/manythreads.exp: Ditto.
9799
5c98409b
JB
98002004-04-22 Jim Blandy <jimb@redhat.com>
9801
9802 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
9803 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
9804
3b611f1a
MC
98052004-04-21 Michael Chastain <mec.gnu@mindspring.com>
9806
9807 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
9808
f0fd9238
AC
98092004-04-21 Andrew Cagney <cagney@redhat.com>
9810
9811 * gdb.base/sigstep.c: New file.
9812 * gdb.base/sigstep.exp: New file.
9813
90990674
JB
98142004-04-16 Joel Brobecker <brobecker@gnat.com>
9815
9816 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
9817 call to observer_notify_normal_stop.
9818
78cef34b
AC
98192004-04-15 Andrew Cagney <cagney@redhat.com>
9820
9821 * gdb.base/siginfo.c: New file.
9822 * gdb.base/siginfo.exp: New file.
9823
d2343407
JB
98242004-04-12 J. Brobecker <brobecker@gnat.com>
9825
9826 * gdb.base/sep.exp: Fix typo in comment.
9827
a2dba3c8
JB
98282004-04-12 J. Brobecker <brobecker@gnat.com>
9829
9830 * gdb.base/sep.c: New file.
9831 * gdb.base/sep-proc.c: New file.
9832 * gdb.base/sep.exp: New testcase.
9833
15f7b60e
MK
98342004-04-09 Mark Kettenis <kettenis@gnu.org>
9835
9836 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
9837 support.
9838
44f4de1a
AC
98392004-04-05 Andrew Cagney <cagney@redhat.com>
9840
9841 * gdb.base/sigaltstack.c: New file.
9842 * gdb.base/sigaltstack.exp: New file.
9843
ef04f396
JB
98442004-04-04 Joel Brobecker <brobecker@gnat.com>
9845
9846 * gdb.base/foll-fork.exp: Update the expected output for
9847 "help set follow-fork-mode", to match a change that was made
9848 to the help of this variable on 2004-01-13.
9849
d40d2c92
JB
98502004-04-01 Joel Brobecker <brobecker@gnat.com>
9851
9852 * lib/ada.exp: Add copyright notice.
9853 * bar.ads: Likewise.
9854 * bar.adb: Likewise.
9855 * null_record.adb: Likewise.
9856 * null_record.exp: Likewise.
9857 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
9858
f86ef5a3
JB
98592004-04-01 Joel Brobecker <brobecker@gnat.com>
9860
9861 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
9862 * configure: Regenerate.
9863
414e70e3
JB
98642004-04-01 Joel Brobecker <brobecker@gnat.com>
9865
9866 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
9867 to build the application. Remove the message printed when in
9868 verbose mode, redundant with the UNSUPPORTED message above.
9869
f0aaee49
JB
98702004-03-31 Joel Brobecker <brobecker@gnat.com>
9871
9872 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
9873 * gdb.ada (null_record.exp): New testcase.
9874
ac81cb54
JB
98752004-03-31 Joel Brobecker <brobecker@gnat.com>
9876
9877 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
9878
854af2f7
JB
98792004-03-31 Joel Brobecker <brobecker@gnat.com>
9880
9881 * gdb.ada: New subdirectory.
9882 * gdb.ada/Makefile.in: New file.
9883 * gdb.ada/gnat_ada.gpr.in: New file.
9884
034cb681
JB
98852004-03-31 Joel Brobecker <brobecker@gnat.com>
9886
9887 * lib/ada.exp: New file.
9888
78a1a894
DJ
98892004-03-24 Daniel Jacobowitz <drow@mvista.com>
9890
9891 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
9892 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
9893
4b2b3b3e
AC
98942004-03-22 Andrew Cagney <cagney@redhat.com>
9895
9896 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
9897 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
9898 Problem identified by Ulrich Weigand.
9899
23c73aa3
DC
99002004-03-17 David Carlton <carlton@kealia.com>
9901
9902 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
9903 PR c++/826.
9904
d63a86f8
RM
99052004-03-16 Roland McGrath <roland@redhat.com>
9906
9907 * gdb.base/auxv.exp: New file.
9908 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
9909
0e02aa50
DC
99102004-03-12 David Carlton <carlton@kealia.com>
9911
9912 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
9913 * gdb.cp/pr-1553.cc: Ditto.
9914 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
9915 pass branch.
9916
c20b71be
MC
99172004-03-12 Michael Chastain <mec.gnu@mindspring.com>
9918
9919 * gdb.cp/templates.exp: Accept more template types.
9920
c7414a01
MC
99212004-03-09 Michael Chastain <mec.gnu@mindspring.com>
9922
9923 From Corinna Vinschen with modifications.
9924 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
9925 local variable obj_with_enum.
9926 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
9927 results with obj_with_enum.
9928
ed69573c
MC
99292004-03-09 Michael Chastain <mec.gnu@mindspring.com>
9930
9931 * gdb.cp/classes.cc: New file, copied from misc.cc.
9932 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
9933
28301461
MC
99342004-03-09 Michael Chastain <mec.gnu@mindspring.com>
9935
9936 * gdb.cp/misc.cc: Add copyright notice.
9937
1198ecbe
DC
99382004-03-05 David Carlton <carlton@kealia.com>
9939
9940 * gdb.cp/rtti.exp: Add 'print *obj3' test.
9941 * gdb.cp/rtti.h: Update copyright.
9942 (namespace n2::n3): New.
9943 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
9944 (n2::n3::func3): New.
9945 (main): Call n2::n3::func3.
9946 * gdb.cp/rtti2.cc: Update copyright.
9947 (n2::create3): New.
9948
9e08c470
MK
99492004-03-04 Mark Kettenis <kettenis@gnu.org>
9950
9951 * gdb.asm/openbsd.inc: Fix typo.
9952
4bebc3aa
FF
99532004-03-03 Fred Fish <fnf@redhat.com>
9954
9955 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
9956 "val" instead of unused "size". Update copyright year.
9957
6ea9fb37
DJ
99582004-02-29 Daniel Jacobowitz <drow@mvista.com>
9959
9960 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
9961 to use unsigned char.
9962 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
9963 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
9964
23b23974
DJ
99652004-02-29 Daniel Jacobowitz <drow@mvista.com>
9966
9967 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
9968 line of output.
9969
7574fd53
DJ
99702004-02-28 Daniel Jacobowitz <drow@mvista.com>
9971
9972 * gdb.base/relocate.c (dummy): Initialize.
9973
a195357f
DJ
99742004-02-28 Daniel Jacobowitz <drow@mvista.com>
9975
9976 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
9977 a breakpoint at exit.
9978
72fd54a9
FF
99792004-02-27 Fred Fish <fnf@redhat.com>
9980
9981 * gdb.base/chng-syms.exp: Add expect condition to match failing
9982 case that isn't a timeout.
9983
b9d23137
AC
99842004-02-27 Andrew Cagney <cagney@redhat.com>
9985
9986 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
9987 support.
9988
15d208f6 99892004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 9990
15d208f6
FF
9991 * gdb.arch/gdb1431.c: Remove.
9992 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
9993 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
9994 of "until" incorrectly.
9995
98f9cd2d
JB
99962004-02-26 J. Brobecker <brobecker@gnat.com>
9997
9998 * gdb.cp/class2.cc (empty): New class.
9999 (refer): New function.
10000 (main): Declare an object of type empty and use it.
10001 * gdb.cp/class2.exp: Print the value of an object of type empty.
10002
9b50c11b
JJ
100032004-02-26 Jeff Johnston <jjohnstn@redhat.com>
10004
10005 * gdb.base/langs.exp: Update query string to match the
10006 new nquery format used for pending breakpoints.
10007
0dcd613f
AC
100082004-02-26 Andrew Cagney <cagney@redhat.com>
10009
10010 Fix PR i18n/1570.
10011 * gdb.base/charset.c: Update copyright notice.
10012 (main, init_string): Remove the escape character '\e' tests.
10013 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
10014 * gdb.base/charset.exp (valid_host_charset): Ditto.
10015 * gdb.base/setvar.exp: Ditto.
10016
b8a56647
AC
100172004-02-24 Andrew Cagney <cagney@redhat.com>
10018
90d59e34
AC
10019 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
10020 mmapped data in core file" PASS and FAIL messages consistent.
10021
b8a56647
AC
10022 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
10023 setting a breakpoint. Work around PR java/1565.
10024
9f27c604
JJ
100252004-02-23 Jeff Johnston <jjohnstn@redhat.com>
10026
10027 * lib/gdb.exp (gdb_breakpoint): Update query string to match
10028 new nquery format.
10029 * gdb.base/pending.exp: Ditto.
10030
3224a706
MK
100312004-02-22 Mark Kettenis <kettenis@gnu.org>
10032
10033 * configure.in: Run stabs tests on *BSD.
10034 * configure: Regenerated.
10035
41e0a9ca
MK
100362004-02-21 Mark Kettenis <kettenis@gnu.org>
10037
10038 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
10039
1e1b3428
FF
100402004-02-20 Fred Fish <fnf@redhat.com>
10041
10042 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
10043 blank in test for "returns short", for consistency with other
10044 "returns xxx" tests. Update copyright year.
10045
f9a7572a
FF
100462004-02-19 Fred Fish <fnf@redhat.com>
10047
10048 New testcase for PR breakpoint/1558.
10049 * gdb.arch/gdb1558.exp: New file.
10050 * gdb.arch/gdb1558.c: New file.
10051
b2ce2854
EZ
100522004-02-19 Elena Zannoni <ezannoni@redhat.com>
10053
10054 * gdb.base/nodebug.exp: Fix typo.
10055
e7c9ff01
JB
100562004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10057
10058 Committed by Jim Blandy <jimb@redhat.com>.
10059
62f4b920
JB
10060 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
10061
2db536a1
JB
10062 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
10063
e7c9ff01
JB
10064 * gdb.base/float.exp: Support s390*-*-* targets.
10065
f3205b34
AF
100662004-02-17 Adam Fedor <fedor@gnu.org>
10067
10068 * gdb.base/gdb1555.exp: New file.
10069 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
10070
9d62932d
EZ
100712004-02-17 Elena Zannoni <ezannoni@redhat.com>
10072
10073 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
10074
344c9711
FF
100752004-02-16 Fred Fish <fnf@redhat.com>
10076
10077 * gdb.arch/gdb1291.c: Remove
10078 * gdb.arch/gdb1291.s: New test input file.
10079 * gdb.arch/gdb1291.exp: Expand test to check case that should not
10080 fail. Test for correct result, known incorrect result, other
10081 failures and timeouts.
10082
2d822687
AC
100832004-02-16 Andrew Cagney <cagney@redhat.com>
10084
10085 * gdb.base/bigcore.exp: New file.
10086 * gdb.base/bigcore.c: New file.
10087
dac15b66
AC
100882004-02-13 Andrew Cagney <cagney@redhat.com>
10089
10090 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
10091 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
10092 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
10093 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
10094 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
10095 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
10096 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
10097 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
10098 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
10099 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
10100
6bdfc2c4
JJ
101012004-02-11 Jeff Johnston <jjohnstn@redhat.com>
10102
10103 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
10104 executed is an alloc instruction.
10105
87b3ede8
DC
101062004-02-11 David Carlton <carlton@kealia.com>
10107
10108 * gdb.cp/breakpoint.exp: New.
10109 * gdb.cp/breakpoint.cc: New.
10110
6e19e2bf
MC
101112004-02-11 Michael Chastain <mec.gnu@mindspring.com>
10112
10113 Partial fix for PR gdb/1543.
10114 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
10115 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
10116 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
10117 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
10118 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
10119 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
10120 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
10121 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
10122 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
10123 to bug-gdb@prep.ai.mit.edu .
10124 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
10125 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
10126 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
10127 Likewise.
10128
5c5455dc
AC
101292004-02-10 Andrew Cagney <cagney@redhat.com>
10130
10131 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
10132 using gdb_internal_error_resync.
10133
9cf689d7
DJ
101342004-02-09 Daniel Jacobowitz <drow@mvista.com>
10135
10136 * gdb.threads/thread-specific.exp: Stop early if no threads are
10137 found.
10138
d2dc51db
MC
101392004-02-09 Michael Chastain <mec.gnu@mindspring.com>
10140
10141 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
10142
14b1a056
DJ
101432004-02-08 Daniel Jacobowitz <drow@mvista.com>
10144
10145 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
10146 breakpoints.
10147
83f66e8f
DJ
101482004-02-07 Daniel Jacobowitz <drow@mvista.com>
10149
10150 * config/sim.exp (gdb_load): Handle $arg == "".
10151 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
10152 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
10153
30fc0091
EZ
101542004-02-07 Elena Zannoni <ezannoni@redhat.com>
10155
a9c64011
AS
10156 * gdb.base/maint.exp: Update test to reflect
10157 obstack changes.
30fc0091 10158
4d806929
JJ
101592004-02-04 Jeff Johnston <jjohnstn@redhat.com>
10160
10161 * gdb.base/pendshr.c (pendfunc): New function that calls
10162 pendfunc1.
10163 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
10164
7bfdd688
FF
101652004-02-04 Fred Fish <fnf@redhat.com>
10166
10167 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
10168 function symbols and update copyright years.
10169 * gdb.arch/gdb1291.c: Ditto.
10170
aaa08ee4
MC
101712004-02-03 Michael Chastain <mec.gnu@mindspring.com>
10172
10173 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
10174
dbad7755
MC
101752004-02-03 Michael Chastain <mec.gnu@mindspring.com>
10176
10177 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
10178
ec4646ef
MC
101792004-02-03 Michael Chastain <mec.gnu@mindspring.com>
10180
10181 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
10182
1b802196
FF
101832004-02-02 Fred Fish <fnf@redhat.com>
10184
10185 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
10186 remote targets. Update copyright years.
10187
18fe2033
JJ
101882004-02-02 Jeff Johnston <jjohnstn@redhat.com>
10189
10190 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
10191 support.
10192 * gdb.base/langs.exp: Fix test which attempts to create
10193 breakpoint on non-existent function to handle new pending
10194 support.
10195 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
10196 a breakpoint.
10197 * gdb.base/pending.exp: New test.
10198 * gdb.base/pending.c: New file.
10199 * gdb.base/pendshr.c: Ditto.
10200
8d577d32
DC
102012004-02-02 David Carlton <carlton@kealia.com>
10202
10203 * gdb.cp/overload.exp: Add overloadNamespace tests.
10204 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
10205 (overloadNamespace, XXX): New.
10206 (main): Call XXX::marker2.
10207
3ad13771
FF
102082004-02-01 Fred Fish <fnf@redhat.com>
10209
10210 * gdb.base/dump.exp: Use runto_main instead of "runto main".
10211 * gdb.base/finish.exp: Ditto.
10212 * gdb.base/gcore.exp: Ditto.
10213 * gdb.base/huge.exp: Ditto.
10214 * gdb.base/info-proc.exp: Ditto.
10215 * gdb.base/return2.exp: Ditto.
10216 * gdb.threads/gcore-thread.exp: Ditto.
10217
44c75849
DJ
102182004-02-01 Daniel Jacobowitz <drow@mvista.com>
10219
10220 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
10221
005bc093
MK
102222004-02-01 Mark Kettenis <kettenis@gnu.org>
10223
10224 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
10225 that opening the file succeeds on OpenBSD.
10226
c47cebdb
DJ
102272004-02-01 Daniel Jacobowitz <drow@mvista.com>
10228
10229 * gdb.threads/thread-specific.c: New file.
10230 * gdb.threads/threads-specific.exp: New test script.
10231 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
10232 to expect_out.
10233
5a01311c
MK
102342004-02-01 Mark Kettenis <kettenis@gnu.org>
10235
10236 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
10237 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
10238 only on the "print_small_structs from print_long_arg_list" test.
10239
ce22a4f1
DJ
102402004-02-01 Daniel Jacobowitz <drow@mvista.com>
10241
10242 * gdb.base/completion.exp: Kill a stray backslash.
10243
10244 From Jim Ingham <jingham@apple.com>:
10245 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
10246 agrees with the result from sending a tab.
10247
abbab9d3
DJ
102482004-01-31 Daniel Jacobowitz <drow@mvista.com>
10249
10250 * gdb.base/chng-syms.exp: Remove stray newline.
10251
53904d1e
MK
102522004-01-31 Mark Kettenis <kettenis@gnu.org>
10253
10254 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
10255 *-*-openbsd*.
10256 * gdb.asm/openbsd.inc: New file.
10257
3a4b3aac
MK
102582004-01-30 Mark Kettenis <kettenis@gnu.org>
10259
10260 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
10261 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
10262 *-*solaris2*. Remove commented out default settings for
10263 asm-flags. Replace gdb_compile with target_link.
10264
ebac27b4
MC
102652004-01-29 Michael Chastain <mec.gnu@mindspring.com>
10266
10267 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
10268 for all tests. Remove old hp-ux and cygnus xfail cases.
10269
d8679d84
PH
102702004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
10271
10272 * gdb.base/chng-syms.exp: New file.
10273 * gdb.base/chng-syms.c: New file.
10274
0a55bc22
MC
102752004-01-24 Michael Chastain <mec.gnu@mindspring.com>
10276
10277 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
10278 Provide arms for current output in all my configurations.
10279
94b8e876
MC
102802004-01-24 Michael Chastain <mec.gnu@mindspring.com>
10281
10282 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
10283 * lib/compiler.cc: Likewise.
10284 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
10285 get the right preprocessor. Eval the output directly. Remove
10286 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
10287 hp_f77_compiler and hp_f90_compiler completely.
10288 (gdb_preprocess): Delete.
10289 (get_compiler): Delete.
10290
7cf03d44
MK
102912004-01-24 Mark Kettenis <kettenis@gnu.org>
10292
10293 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
10294 <string.h>.
10295
68b6dce9
NR
102962004-01-24 Nick Roberts <nick@nick.uklinux.net>
10297
10298 * gdb.mi/mi-stack.exp: Update copyright.
10299
b368761e
DC
103002004-01-23 David Carlton <carlton@kealia.com>
10301
10302 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
10303 test for cp_lookup_transparent_type.
10304 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
10305 call them.
10306
f2061b53
DJ
103072004-01-23 Daniel Jacobowitz <drow@mvista.com>
10308
10309 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
10310 after -var-update.
10311
37fc574a
DC
103122004-01-23 David Carlton <carlton@kealia.com>
10313
10314 * gdb.cp/namespace.cc (C::ensureRefs): New.
10315 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
10316
8e94b928
NR
103172004-01-20 Nick Roberts <nick@nick.uklinux.net>
10318
10319 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
10320 case "-stack-list-locals 2".
10321 * gdb.mi/mi-var-child.exp: Test for case
10322 "-var-list-children --all-values NAME".
10323
997b0952
MC
103242004-01-18 Michael Chastain <mec.gnu@mindspring.com>
10325
10326 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
10327
52470da3
MK
103282004-01-18 Mark Kettenis <kettenis@gnu.org>
10329
7049b4b8
MK
10330 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
10331 used with gdb_test_multiple.
10332
52470da3
MK
10333 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
10334 read at address 0. This fixes PR testsuite/1504.
10335
da6012e5
DJ
103362004-01-18 Daniel Jacobowitz <drow@mvista.com>
10337
10338 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
10339 Remove downloading, guessing the host executable, the calls to
10340 gdb_file_cmd and gdb_target_cmd, and "load" support.
10341 (infer_host_exec): New function broken out from gdb_load.
10342 (gdb_load): New wrapper for gdbserver_gdb_load.
10343 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
10344 gdb_target_cmd. Use -target-select.
10345 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
10346 Download binaries to the host. Clear last_mi_remote_file when
10347 we load a new binary.
10348 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
10349 call gdbserver_gdb_load and mi_gdb_target_cmd.
10350
32c70722
MC
103512004-01-17 Michael Chastain <mec.gnu@mindspring.com>
10352
10353 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
10354 type patterns.
10355
b0cecf36
MC
103562004-01-17 Michael Chastain <mec.gnu@mindspring.com>
10357
10358 * gdb.cp/templates.exp: Fix typo in test name of
10359 "print Foo<volatile char*>::foo".
10360
4120d7e6
MC
103612004-01-15 Michael Chastain <mec.gnu@mindspring.com>
10362
10363 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
10364
f679e530
BE
103652004-01-16 Ben Elliston <bje@wasabisystems.com>
10366
10367 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
10368 (clean mostlyclean): Remove empty rm.
10369
091c48f6
MC
103702004-01-15 Michael Chastain <mec.gnu@mindspring.com>
10371
10372 * gdb.base/setvar.exp: Add copyright years.
10373
3e5fc8d2
DC
103742004-01-14 David Carlton <carlton@bactrian.org>
10375
10376 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
10377 PR c++/1511 and update coment.
10378 * gdb.cp/templates.exp: Update patterns to match current output.
10379 If changes involve something other than whitespace, KFAIL
10380 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
10381
63d06c5c
DC
103822004-01-14 David Carlton <carlton@kealia.com>
10383
10384 * gdb.cp/namespace.exp: Add tests involving classes defined within
10385 namespaces.
10386 * gdb.cp/namespace.cc (C::CClass): New.
10387 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
10388
a51dab88
EZ
103892004-01-14 Elena Zannoni <ezannoni@redhat.com>
10390
10391 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
10392 what debug info we have. Print a better message if something goes
10393 wrong while producing the separate debug info file.
10394
a476ccc9
MC
103952004-01-14 Michael Chastain <mec.gnu@mindspring.com>
10396
10397 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
10398
f453692c
MC
103992004-01-14 Michael Chastain <mec.gnu@mindspring.com>
10400
10401 * gdb.base/callfuncs.c: Add copyright notice.
10402
f40063a5
MC
104032004-01-13 Michael Chastain <mec.gnu@mindspring.com>
10404
10405 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
10406 inheritance. PR gdb/1498, PR gcc/13539.
10407
19ac3974
EZ
104082004-01-13 Elena Zannoni <ezannoni@redhat.com>
10409
a9c64011
AS
10410 * gdb.threads/gcore-thread.exp: Prefix name of binary with
10411 test specific name.
10412 * gdb.mi/gdb669.exp: Ditto.
10413 * gdb.mi/mi-pthreads.exp: Ditto.
10414 * gdb.mi/mi1-pthreads.exp: Ditto.
10415 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 10416
56c97c6e
MC
104172004-01-12 Michael Chastain <mec.gnu@mindspring.com>
10418
10419 * gdb.cp/member-ptr.cc: Add copyright notice.
10420
a0644324
MC
104212004-01-12 Michael Chastain <mec.gnu@mindspring.com>
10422
10423 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
10424 some patterns for recent versions of gcc and hpacc. Delete
10425 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
10426 Delete tests that access a NULL pointer-to-member-data. This
10427 script is still disabled for gcc.
10428
32fabe09
EZ
104292004-01-12 Elena Zannoni <ezannoni@redhat.com>
10430
10431 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 10432 escaped correctly.
32fabe09 10433
1f8a6abb
EZ
104342004-01-12 Elena Zannoni <ezannoni@redhat.com>
10435
10436 * gdb.base/sepdebug.exp: New file.
10437 * gdb.base/sepdebug.c: New file.
10438 * lib/gdb.exp (separate_debug_filename): New procedure.
10439 (gdb_gnu_strip_debug): New procedure.
10440
48efe704
AC
104412004-01-12 Andrew Cagney <cagney@redhat.com>
10442
10443 * gdb.mi/ChangeLog: Delete file. Renamed to ...
10444 * gdb.mi/ChangeLog-1999-2003: New file.
10445
a9415475
AC
104462004-01-12 Andrew Cagney <cagney@redhat.com>
10447
10448 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
10449 "Renaming a directory to a non-empty directory returns ENOTEMPTY
10450 or EEXIST", treat EBUSY as an XFAIL.
10451
83b8cf9d
MC
104522004-01-11 Michael Chastain <mec.gnu@mindspring.com>
10453
10454 * gdb.base/scope.exp: Remove obsolete setup_xfail for
10455 hp_cc_compiler.
10456
9939d2a8
MC
104572004-01-10 Michael Chastain <mec.gnu@mindspring.com>
10458
10459 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
10460 decorations.
10461
1ff8cadf
MC
104622004-01-10 Michael Chastain <mec.gnu@mindspring.com>
10463
10464 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
10465 and "(aCC)" decorations. Remove obsolete doco about old
10466 test results.
10467
6fa9022e
MC
104682004-01-09 Michael Chastain <mec.gnu@mindspring.com>
10469
10470 * gdb.cp/exception.exp: Fix typo in doco.
10471
209721fe
MK
104722004-01-09 Mark Kettenis <kettenis@gnu.org>
10473
10474 * gdb.base/gdb1476.exp: Fix typo.
10475
ef11303e
MC
104762004-01-09 Michael Chastain <mec.gnu@mindspring.com>
10477
10478 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
10479 file.
10480
041ab88c
MC
104812004-01-09 Michael Chastain <mec.gnu@mindspring.com>
10482
10483 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
10484 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
10485 Use gdb_compile. Remove restriction on gcc. Add some patterns
10486 for recent version of gdb. Delete second half, which was a copy
10487 of the first half with different build flags. This test is
10488 still disabled because it is still not ready for production.
10489
e36d075a
MC
104902004-01-08 Michael Chastain <mec.gnu@mindspring.com>
10491
10492 * gdb.cp/exception.cc: Add copyright notice.
10493 * gdb.cp/exception.exp: Add a notice that this file is broken
10494 because of line number changes caused by addition of copyright
10495 notice.
10496
42b190ad
MC
104972004-01-08 Michael Chastain <mec.gnu@mindspring.com>
10498
10499 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
10500 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
10501
8f25f06b
MC
105022004-01-08 Michael Chastain <mec.gnu@mindspring.com>
10503
10504 * gdb.cp/classes.exp: Accept gnu abi 2.
10505 * gdb.cp/derivation.exp: Likewise.
10506 * gdb.cp/overload.exp: Likewise.
10507 * gdb.cp/virtfunc.exp: Likewise.
10508
06ded8b8
MC
105092004-01-08 Michael Chastain <mec.gnu@mindspring.com>
10510
10511 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
10512 semicolon after end of function.
10513
77c26ae3
MC
105142004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10515
10516 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
10517 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
10518 boilerplate code for compiling and running the program under
10519 test. Add some string method tests.
10520
20757486
MC
105212004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10522
10523 * gdb.cp/bs15503.cc: Add copyright notice.
10524 * gdb.cp/bs15503.exp: Adjust line number.
10525
0fd3b503
MC
105262004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10527
10528 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
10529 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
10530
10d1bea8
MC
105312004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10532
10533 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
10534 hp_cc_compiler.
10535
2789202a
MC
105362004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10537
10538 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
10539 * gdb.cp/ctti.exp: Use the marker instead of "next".
10540 With gcc, run further before bailing.
10541
b862f14c
MC
105422004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10543
10544 * gdb.cp/cttiadd.cc: Add copyright notice.
10545 * gdb.cp/cttiadd1.cc: Likewise.
10546 * gdb.cp/cttiadd2.cc: Likewise.
10547 * gdb.cp/cttiadd3.cc: Likewise.
10548
96da2469
MC
105492004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10550
10551 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
10552 Use gdb_test, gdb_test_multiple. Use floating-point values that
10553 have exact representations in IEEE-ish formats.
10554
053248ff
MC
105552004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10556
10557 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
10558 compilers. Delete duplicate call to get_compiler_info.
10559 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
10560 * gdb.base/volatile.exp: Likewise.
10561
84acecdd
MK
105622004-01-07 Mark Kettenis <kettenis@gnu.org>
10563
10564 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
10565 memory at address 0.
10566
fe11a27f
MC
105672004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10568
10569 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
10570 to test for hp-ux assembler. Fix copyright years.
10571
60ad077b
AC
105722004-01-07 Andrew Cagney <cagney@redhat.com>
10573
10574 * gdb.base/fileio.c (strerrno): Add "EBUSY".
10575
1c9b8f33
AC
105762004-01-07 Andrew Cagney <cagney@redhat.com>
10577
10578 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
10579 when creating the read-only file. From analysis by Roland McGrath
10580 and Elena Zannoni.
10581
753ccc7a
MC
105822004-01-06 Michael Chastain <mec.gnu@mindspring.com>
10583
10584 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
10585
eca3e36b
MC
105862004-01-06 Michael Chastain <mec.gnu@mindspring.com>
10587
10588 * gdb.base/cvexpr.c: Be type-safe with function pointers and
10589 data pointers.
10590
f8d4bac4
MC
105912004-01-06 Michael Chastain <mec.gnu@mindspring.com>
10592
10593 * gdb.cp/m-static.exp: Compile one source file at a time.
10594 Delete unused call to get_compiler_info.
10595
9b4e0f94
MC
105962004-01-06 Michael Chastain <mec.gnu@mindspring.com>
10597
10598 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
10599 * gdb.base/call-rt-st.exp: Likewise.
10600 * gdb.base/nodebug.exp: Likewise.
10601 * gdb.base/volatile.exp: Likewise.
10602 * gdb.cp/ref-types.exp: Likewise.
10603 * gdb.cp/templates.exp: Likewise.
10604
023c1024
MK
106052004-01-05 Mark Kettenis <kettenis@gnu.org>
10606
10607 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
10608
19703c4a
MC
106092004-01-05 Michael Chastain <mec.gnu@mindspring.com>
10610
10611 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
10612 hppa*-hp-hpux*.
10613
18b67037
MK
106142004-01-04 Mark Kettenis <kettenis@gnu.org>
10615
ba6219c8
MK
10616 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
10617 x86_64-*-*.
10618
18b67037
MK
10619 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
10620 sparc64-*-* and sparc*-solaris2*.
10621
1bfbbb9d
MK
106222004-01-04 Mark Kettenis <kettenis@gnu.org>
10623
10624 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
10625 return ${tests}" test. The ${tests} already mentions the
10626 filename.
10627
06846494
MC
106282004-01-02 Michael Chastain <mec.gnu@mindspring.com>
10629
10630 * gdb.cp/local.exp: Accept gcc abi 2.
10631
3b0cb202
MC
106322004-01-02 Michael Chastain <mec.gnu@mindspring.com>
10633
10634 * gdb.cp/templates.exp: Accept gcc abi 2.
10635
0643ec3f
MC
106362004-01-02 Michael Chastain <mec.gnu@mindspring.com>
10637
10638 * lib/compiler.cc: Remove supports_template_debugging.
10639 * gdb.cp/templates.exp: Do not test supports_template_debugging.
10640
d231d0b1
MC
106412004-01-01 Michael Chastain <mec.gnu@mindspring.com>
10642
10643 * gdb.cp/namespace.exp: Accept gcc abi 2.
10644
44ffb27c
MC
106452004-01-01 Michael Chastain <mec.gnu@mindspring.com>
10646
10647 * gdb.cp/method.exp: Accept gcc abi 2.
10648
184ad485
MC
106492004-01-01 Michael Chastain <mec.gnu@mindspring.com>
10650
10651 * gdb.cp/classes.exp: Generate identical results as old version.
10652 * gdb.cp/derivation.exp: Likewise.
10653 * gdb.cp/overload.exp: Likewise.
10654 * gdb.cp/virtfunc.exp: Likewise.
10655
116f09e7
MC
106562004-01-01 Michael Chastain <mec.gnu@mindspring.com>
10657
10658 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
10659 mysterious bug with sourceware version of expect.
10660
b1379776
MC
106612004-01-01 Michael Chastain <mec.gnu@mindspring.com>
10662
10663 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
10664 current versions of gcc, including gcc abi 2. Remove gratuitous
10665 restart of test program. Use gdb_test_multiple and gdb_test for
10666 all tests. Add patterns to xfail missing "const" in "const char *"
10667 and kfail PR gdb/1155.
10668
6b7a4c0e
MC
106692004-01-01 Michael Chastain <mec.gnu@mindspring.com>
10670
10671 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
10672 current versions of gcc, including gcc abi 2. Remove gratuitous
10673 restart of test program. Use gdb_test_multiple and gdb_test for
10674 all tests. Add patterns to kfail PR gdb/1498.
10675
51615d72
MC
106762003-12-31 Michael Chastain <mec.gnu@mindspring.com>
10677
10678 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
10679 current versions of gcc, including gcc abi 2. Use "breakpoint"
10680 and "continue" instead of restarting the target program. Use
10681 gdb_test_multiple and gdb_test for all tests.
10682
7b79a9d7
MK
106832004-01-01 Mark Kettenis <kettenis@gnu.org>
10684
10685 * gdb.asm/asm-source.exp: Update copyright year. Link statically
10686 for *-*-solaris2*.
10687
1cd3489f
MC
106882003-12-31 Michael Chastain <mec.gnu@mindspring.com>
10689
10690 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
10691 current versions of gcc, including gcc abi 2. Use "breakpoint"
10692 and "continue" instead of restarting the target program several
10693 times. Use gdb_test_multiple and gdb_test for all tests.
10694
850742db
MC
106952003-12-18 Michael Chastain <mec.gnu@mindspring.com>
10696
10697 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
10698 source files.
10699
eb4bbda8
MC
107002003-12-16 Michael Chastain <mec.gnu@mindspring.com>
10701
10702 * gdb.base/environ.exp: Handle compiling test case from multiple
10703 source files.
10704
e42c7771
MC
107052003-12-16 Michael Chastain <mec.gnu@mindspring.com>
10706
10707 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
10708
80e4b428
JB
107092003-12-17 Jim Blandy <jimb@redhat.com>
10710
5f06973a
JB
10711 * gdb.base/freebpcmd.c: Add copyright notice.
10712
80e4b428
JB
10713 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
10714
0ab84fb7
MC
107152003-12-16 Michael Chastain <mec.gnu@mindspring.com>
10716
10717 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
10718
1b3bb3d0
JB
107192003-12-13 Jim Blandy <jimb@redhat.com>
10720
10721 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
10722
3a4c9371
KB
107232003-12-12 Kevin Buettner <kevinb@redhat.com>
10724
10725 * gdb.asm/frv.inc: New file.
10726 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
10727
a1dea79a
FF
107282003-12-09 Fred Fish <fnf@redhat.com>
10729
10730 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
10731 functions to break1.c and leave prototypes behind. Add more
10732 "set breakpoint NN here" comments.
10733 * gdb.base/break1.c: New file.
10734
10735 * gdb.base/break.exp: Handle compiling test case from multiple
10736 source files and change source file references as needed.
10737 * gdb.base/completion.exp: Ditto.
10738 * gdb.base/condbreak.exp: Ditto.
10739 * gdb.base/define.exp: Ditto.
10740 * gdb.base/ena-dis-br.exp: Ditto.
10741 * gdb.base/info-proc.exp: Ditto.
10742 * gdb.base/maint.exp: Ditto.
10743 * gdb.base/until.exp: Ditto.
10744
10745 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
10746 hardcoded line numbers.
10747 * gdb.base/define.exp: Ditto.
10748 * gdb.base/ena-dis-br.exp: Ditto.
10749 * gdb.base/maint.exp: Ditto.
10750 * gdb.base/until.exp: Ditto.
10751
10752 * gdb.base/completion.exp: Use "break1" for completion tests since
10753 "break" is no longer a unique prefix.
10754
5266b69c
AC
107552003-12-06 Andrew Cagney <cagney@redhat.com>
10756
10757 * gdb.base/structs.exp (test_struct_returns): When applicable, set
10758 "return_value_unimplemented". When an unimplemented struct return
10759 architecture, report incorrect values as a KFAIL
10760
374451f0
MC
107612003-12-05 Michael Chastain <mec.gnu@mindspring.com>
10762
10763 * gdb.cp/rtti.exp: Accept new wording of warning from
10764 cp_lookup_rtti_type.
10765
ba9b20a7
MC
107662003-12-05 Michael Chastain <mec.gnu@mindspring.com>
10767
10768 Partial fix for PR testsuite/1456.
10769 * gdb.base/scope.exp (test_at_main): Replace references to
10770 gcc_compiled with calls to test_compiler_info.
10771 (test_at_foo): Likewise.
10772 (test_at_bar): Likewise.
10773
b74b6d0b
MC
107742003-12-04 Michael Chastain <mec.gnu@mindspring.com>
10775
10776 Partial fix for PR testsuite/1456.
10777 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
10778 to test_compiler_info.
10779
ccfa3402
MC
107802003-12-03 Michael Chastain <mec.gnu@mindspring.com>
10781
10782 * gdb.base/so-impl-ld.exp: Update copyright notice.
10783
f6246aba
MC
107842003-12-02 Michael Chastain <mec.gnu@mindspring.com>
10785
10786 Partial fix for PR testsuite/1456.
10787 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
10788 to test_compiler_info.
10789
13ae734a
MC
107902003-11-28 Michael Chastain <mec.gnu@mindspring.com>
10791
10792 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
10793 from current versions of gdb. Clean up regular expressions.
10794 Delete redundant timeout case.
10795
d8e1cdee
MC
107962003-11-28 Michael Chastain <mec.gnu@mindspring.com>
10797
10798 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
10799 from current versions of gdb. Clean up regular expressions.
10800 Delete redundant timeout case.
10801
96457b64
MC
108022003-12-01 Michael Chastain <mec.gnu@mindspring.com>
10803
10804 Partial fix for PR testsuite/1456.
10805 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
10806 gcc_compiled with call to test_compiler_info.
10807
f35309fc
MC
108082003-11-30 Michael Chastain <mec.gnu@mindspring.com>
10809
10810 Partial fix for PR testsuite/1456.
10811 * gdb.base/list.exp (test_list_function): Delete unused declaration
10812 of gcc_compiled.
10813
d7afdf9b
MC
108142003-11-29 Michael Chastain <mec.gnu@mindspring.com>
10815
10816 Partial fix for PR testsuite/1456.
10817 * gdb.base/complex.exp: Replace reference to gcc_compiled with
10818 call to test_compiler_info.
10819
71507b56
MK
108202003-11-29 Mark Kettenis <kettenis@gnu.org>
10821
10822 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
10823 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
10824 it to create the appropriate note.inc.
10825 * gdb.asm/asmsrc1.s: Include "note.inc".
10826 * gdb.asm/netbsd.inc: New file.
10827 * gdb.asm/empty.inc: New file.
10828
f81f93f7
MC
108292003-11-28 Michael Chastain <mec.gnu@mindspring.com>
10830
10831 Partial fix for PR testsuite/1456.
10832 * gdb.base/constvars.exp: Replace references to gcc_compiled with
10833 calls to test_compiler_info.
10834
9a77938e
MC
108352003-11-27 Michael Chastain <mec.gnu@mindspring.com>
10836
10837 Partial fix for PR testsuite/1456.
10838 * gdb.base/volatile.exp: Replace references to gcc_compiled with
10839 calls to test_compiler_info.
10840
e8367dc7
MK
108412003-11-27 Mark Kettenis <kettenis@gnu.org>
10842
10843 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
10844 pattern for the KFAILs.
10845
526c61ee
AF
108462003-11-25 Adam Fedor <fedor@gnu.org>
10847
10848 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
10849 * gdb.objc/objcdecode.m: New file.
10850
28f2d600
AF
108512003-11-25 Adam Fedor <fedor@gnu.org>
10852
10853 * gdb.objc/nondebug.exp: Test for PR objc/1236.
10854 * gdb.objc/nondebug.m: New file.
10855
a3895cee
BE
108562003-11-26 Ben Elliston <bje@wasabisystems.com>
10857
10858 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
10859 NetBSD as it does on FreeBSD. Modelled on a similar change by
10860 Mark Kettenis on 2003-05-30.
10861 (link-flags): Set to "--entry _start" regardless of target.
10862 Special linker flags are to be appended to $link-flags.
10863 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
10864
c9f2c8a3
MC
108652003-11-25 Michael Chastain <mec.gnu@mindspring.com>
10866
10867 * gdb.cp/method.exp: Accept output of new demangler.
10868
15a0587a 108692003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
10870
10871 * gdb/class2.exp: New file.
10872 * gdb/class2.cc: New file.
10873
3c00b570
MC
108742003-11-25 Michael Chastain <mec.gnu@mindspring.com>
10875
10876 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
10877 of new demangler.
10878
7027acc7
MK
108792003-11-23 Mark Kettenis <kettenis@gnu.org>
10880
10881 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
10882 of gdb_test "run".
10883
b0e1598a
MK
108842003-11-23 Mark Kettenis <kettenis@gnu.org>
10885
10886 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
10887 "continue" into "run".
10888
4d9eda44
MC
108892003-11-23 Michael Chastain <mec.gnu@mindspring.com>
10890
10891 Partial fix for PR testsuite/1456.
10892 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
10893 call to test_compiler_info.
10894 * gdb.cp/ctti.exp: Likewise.
10895 * gdb.cp/derivation.exp: Likewise.
10896 * gdb.cp/member-ptr.exp: Likewise.
10897 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
10898 reference to gcc_compiled.
10899
109002003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
10901
10902 Fix PR testsuite/1463.
10903 * gdb.base/structs.exp (start_structs_test): Call
10904 get_debug_format before using the debug format.
10905
d422fe19
AC
109062003-11-22 Andrew Cagney <cagney@redhat.com>
10907
10908 * lib/gdb.exp (gdb_test_multiple): Add simple example.
10909 * gdb.base/structs.exp: Use gdb_test_multiple.
10910
039cf96d
AC
109112003-11-20 Andrew Cagney <cagney@redhat.com>
10912
6882279b
AC
10913 * gdb.base/structs.exp: Handle and recover from internal errors.
10914 Replace "foo${n}" with "foo<n>" in test messages.
10915
e53890ae
AC
10916 * gdb.base/structs.exp: Update copyright. Rewrite.
10917 * gdb.base/structs.c: Update copyright. Rewrite.
10918
2b211c59
AC
10919 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
10920 resync count exceeded.
d63a86f8 10921
039cf96d
AC
10922 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
10923 from the internal error.
10924 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
10925 Original from Jim Blandy.
10926 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 10927
eac98b22
AC
109282003-11-19 Andrew Cagney <cagney@redhat.com>
10929
10930 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
10931 KFAIL.
10932
67455b2a
MK
109332003-11-17 Mark Kettenis <kettenis@gnu.org>
10934
10935 New testcase for PR backtrace/1435.
10936 * gdb.arch/i386-unwind.exp: New file.
10937 * gdb.arch/i386-unwind.c: New file.
10938
853d6e5b
AC
109392003-11-17 Andrew Cagney <cagney@redhat.com>
10940
10941 * lib/gdb.exp (compiler_info): New global.
10942 (test_compiler_info): New function.
10943 (get_compiler_info): Set compiler_info.
10944 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
10945 "compiler_info" to gcc-<major>-<minor>.
10946
38cf6e11
MC
109472003-11-15 Michael Chastain <mec.gnu@mindspring.com>
10948
10949 * gdb.trace/configure: Remove.
10950
a50d3602
EZ
109512003-11-13 Elena Zannoni <ezannoni@redhat.com>
10952
10953 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 10954 breakpoints.
a50d3602
EZ
10955 * gdb.base/break.exp: Remove all references to explicit line
10956 numbers.
10957
d9407aaa
NC
109582003-11-11 Nick Clifton <nickc@redhat.com>
10959
10960 * gdb.base/shreloc.exp: Do not run for targets which do not
10961 support shared objects.
10962
db488fc1
CV
109632003-11-10 Corinna Vinschen <vinschen@redhat.com>
10964
10965 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
10966 Don't run tests if nofileio flag is given.
10967
6a90a18e
EZ
109682003-11-07 Elena Zannoni <ezannoni@redhat.com>
10969
10970 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 10971 as well as 'Watchpoint'.
6a90a18e 10972
0b915e9c
EZ
109732003-11-06 Elena Zannoni <ezannoni@redhat.com>
10974
10975 Reported by Jim Ingham <jingham@apple.com>:
10976 * gdb.base/annota1.exp: Match at least one occurrence of the
10977 signal handler annotation.
10978
d7e4b55f
EZ
109792003-11-06 Elena Zannoni <ezannoni@redhat.com>
10980
a9c64011
AS
10981 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
10982 as well as 'Watchpoint'.
d7e4b55f 10983
2fe4e8d0
MC
109842003-11-05 Michael Chastain <mec@shout.net>
10985
10986 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
10987
6ef88553
KW
109882003-11-03 Kris Warkentin <kewarken@qnx.com>
10989
10990 * gdb.arch/gdb1291.c: New test file.
10991 * gdb.arch/gdb1291.exp: New test script.
10992 * gdb.arch/gdb1431.c: New test file.
10993 * gdb.arch/gdb1431.exp: New test script.
10994
ae7dc4d8
MC
109952003-10-22 Michael Chastain <mec@shout.net>
10996
10997 * gdb.mi/pthreads.c: Add copyright notice.
10998
c39d7427
MC
109992003-10-22 Michael Chastain <mec@shout.net>
11000
11001 * gdb.threads/pthreads.c: Add copyright notice.
11002
8b7d96c1
MC
110032003-10-20 Michael Chastain <mec@shout.net>
11004
11005 * gdb.base/gdb1056.exp: New test script.
11006
d1d69fdd
DJ
110072003-10-13 Daniel Jacobowitz <drow@mvista.com>
11008
11009 * gdb.threads/killed.exp: Use gdb_run_cmd.
11010
7d605576
DJ
110112003-10-13 Daniel Jacobowitz <drow@mvista.com>
11012
11013 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
11014 create a core file.
11015 * gdb.threads/gcore-thread.exp: Likewise.
11016
618ec112
CV
110172003-10-13 Corinna Vinschen <vinschen@redhat.com>
11018
11019 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
11020 type, based on char type.
11021 (struct bit_flags_short_t): New bitfield type, based on short type.
11022 (init_bit_flags_char): New fuction.
11023 (init_bit_flags_short): Ditto.
11024 (print_bit_flags_char): Ditto.
11025 (print_bit_flags_short): Ditto.
11026 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
11027
9367a73c
MC
110282003-10-11 Michael Chastain <mec@shout.net>
11029
11030 * gdb.base/call-rt-st.exp: Update copyright year.
11031
1decf120
KI
110322003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
11033
11034 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
11035 * gdb.disasm/sh3.s: Ditto.
11036
5445b2ae
DJ
110372003-10-07 Daniel Jacobowitz <drow@mvista.com>
11038
11039 * gdb.threads/switch-threads.exp: New test.
11040 * gdb.threads/switch-threads.c: New source file.
11041
aec24853
CV
110422003-10-07 Corinna Vinschen <vinschen@redhat.com>
11043
11044 * gdb.base/ending-run.exp: Add sh specific case.
11045
adc7428d
AC
110462003-10-06 Andrew Cagney <cagney@redhat.com>
11047
11048 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
11049 * gdb.disasm/mn10200.exp: Delete obsolete file.
11050
c9d37158
DJ
110512003-09-29 Daniel Jacobowitz <drow@mvista.com>
11052
11053 * ChangeLog: Correct an entry command.exp -> commands.exp.
11054 * gdb.base/commands.exp (bp_deleted_in_command_test)
11055 (temporary_breakpoint_commands): Check noargs.
11056
79c2c32d
DC
110572003-09-25 David Carlton <carlton@kealia.com>
11058
11059 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
11060 of some print tests, where appropriate. Add tests for C::D::cd,
11061 E::ce, F::cXfX, G::XgX.
11062 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
11063
594e6d67
RE
110642003-09-25 Richard Earnshaw <rearnsha@arm.com>
11065
11066 * lib/java.exp (java_init): Import target_alias before using it.
11067
10f0d451
DC
110682003-09-25 David Carlton <carlton@kealia.com>
11069
11070 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
11071
274bcba0
EZ
110722003-09-23 Elena Zannoni <ezannoni@redhat.com>
11073
d63a86f8 11074 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 11075 weirdness.
274bcba0 11076
cdbf20f7
MC
110772003-09-17 Michael Chastain <mec@shout.net>
11078
11079 * gdb.cp/gdb1355.exp: New file.
11080 * gdb.cp/gdb1355.c: New file.
11081
71e06f80
CV
110822003-09-15 Corinna Vinschen <vinschen@redhat.com>
11083
11084 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
11085 * gdb.asm/sh.inc: New file.
11086
5c4e30ca
DC
110872003-09-11 David Carlton <carlton@kealia.com>
11088
bd45b7af
DC
11089 * gdb.cp/namespace.exp: Add tests for namespace types.
11090 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
11091 (test_namespace): New.
11092
1c199746
EZ
110932003-09-11 Elena Zannoni <ezannoni@redhat.com>
11094
a9c64011 11095 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 11096 * gdb.stabs/weird.exp: Ditto.
1c199746 11097
04ed252f
MC
110982003-09-08 Michael Chastain <mec@shout.net>
11099
11100 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
11101
d8a2d9e7
MC
111022003-09-07 Michael Chastain <mec@shout.net>
11103
11104 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
11105 'parse error'.
11106
161afb24
MK
111072003-09-07 Mark Kettenis <m.kettenis@osp.nl>
11108
11109 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
11110
49f2741a
MC
111112003-08-30 Michael Chastain <mec@shout.net>
11112
11113 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
11114 * gdb.gdb/observer.exp: Ditto.
11115 * gdb.gdb/xfullpath.exp: Ditto.
11116
8afa723e
MK
111172003-08-29 Mark Kettenis <kettenis@gnu.org>
11118
11119 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
11120 *-*-*bsd*.
11121
f31dfe3b
JJ
111222003-08-28 Jeff Johnston <jjohnstn@redhat.com>
11123
11124 * gdb.base/dump.exp: Skip for ia64.
11125
4630e498
JJ
111262003-08-25 Jeff Johnston <jjohnstn@redhat.com>
11127
11128 * gdb.asm/asm-source.exp: Add ia64 support.
11129 * gdb.asm/ia64.inc: New file.
11130
1105b7ef
MC
111312003-08-22 Michael Chastain <mec@shout.net>
11132
11133 * gdb.cp: New directory.
11134 * gdb.cp/*: Copy from gdb.c++/*.
11135 * gdb.c++/*: Remove.
11136 * Makefile.in: Change gdb.c++ to gdb.cp.
11137 * configure.in: Ditto.
11138 * configure: Regnerate.
11139
c945b932
MK
111402003-08-18 Mark Kettenis <kettenis@gnu.org>
11141
11142 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
11143 * gdb.arch/i386-prologue.c (gdb1338): Add function.
11144
2b66634b
DJ
111452003-08-17 Daniel Jacobowitz <drow@mvista.com>
11146
11147 * mi-var-display.exp (-var-list-children weird): Accept function
11148 pointers with argument types.
11149 * mi1-var-display.exp (-var-list-children weird): Likewise.
11150 * mi2-var-display.exp (-var-list-children weird): Likewise.
11151
a356f73b
DJ
111522003-08-17 Daniel Jacobowitz <drow@mvista.com>
11153
11154 * gdb.base/annota3.exp: Add missing newline.
11155
483417b8
MC
111562003-08-06 Michael Chastain <mec@shout.net>
11157
11158 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
11159
c99c59c3
MS
111602003-08-12 Michael Snyder <msnyder@redhat.com>
11161
11162 * gdb.base/float.exp: Add test for SH.
11163
55ed7501
MK
111642003-08-10 Mark Kettenis <kettenis@gnu.org>
11165
11166 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
11167
1a371f2e
EZ
111682003-08-07 Elena Zannoni <ezannoni@redhat.com>
11169
11170 * gdb.base/completion.exp: Remove reduntant completion test
11171 on filename.
11172
e0f353ce
EZ
111732003-08-07 Elena Zannoni <ezannoni@redhat.com>
11174
a9c64011
AS
11175 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
11176 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
11177 gdb.trace/save-trace.exp: Make sure that full pathnames are
11178 escaped correctly.
e0f353ce 11179
5710a1af 111802003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 11181
a9c64011
AS
11182 * configure.in: Don't generate config.h from config.hin.
11183 * configure: Regenerate.
11184 * config.hin: Remove file.
11185 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
11186 * gdb.threads/pthreads.c: Ditto.
5710a1af 11187
dcd81ce9
DJ
111882003-08-07 Daniel Jacobowitz <drow@mvista.com>
11189
11190 From Kei Sakamoto <sakamoto.kei@renesas.com>:
11191 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
11192 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
11193 Replace ld24 with seth/add3.
11194
6009d884
AC
111952003-08-02 Andrew Cagney <cagney@redhat.com>
11196
11197 * gdb.base/annota3.exp: New file.
11198 * gdb.base/annota3.c: New file.
11199 * gdb.c++/annota3.exp: New file.
11200 * gdb.c++/annota3.cc: New file.
11201
51514e06
MC
112022003-07-29 Michael Chastain <mec@shout.net>
11203
11204 * gdb.threads/tls.c (spin): Check errno only if sem_wait
11205 actually failed.
11206 (do_pass): Likewise.
11207 * gdb.threads/tls.exp: Always initialize no_of_threads.
11208
4ee6625b
DJ
112092003-07-27 Daniel Jacobowitz <drow@mvista.com>
11210
11211 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
11212 pattern.
11213 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
11214 * gdb.threads/tls.exp: Recognize one case of the host library not
11215 supporting TLS.
11216
225f2bf6
AC
112172003-07-27 Andrew Cagney <cagney@redhat.com>
11218
11219 * gdb.base/fileio.exp: Use SH when running commands using
11220 remote_exec.
11221
bcb27c9f
DJ
112222003-07-24 Daniel Jacobowitz <drow@mvista.com>
11223
11224 From Kei Sakamoto <sakamoto.kei@renesas.com>:
11225 * gdb.base/relocate.c (dummy): New padding array.
11226
3d67be83
MS
112272003-07-22 Michael Snyder <msnyder@redhat.com>
11228
d63a86f8 11229 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
11230
11231 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
11232 patterns to be more general, accepting old and new output.
11233 Some output chars (such as '+') also must be quoted.
d63a86f8 11234 Some addresses are displayed numerically instead of
3d67be83
MS
11235 symbolically.
11236
57ba3b85
MS
112372003-07-23 Michael Snyder <msnyder@redhat.com>
11238
686d097c
MS
11239 * gdb.base/return2.exp: Don't test long-long return.
11240
57ba3b85
MS
11241 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
11242 * gdb.disasm/t01_mov.exp: Ditto.
11243 * gdb.disasm/t02_mova.s: Ditto.
11244 * gdb.disasm/t02_mova.exp: Ditto.
11245 * gdb.disasm/t03_add.s: Ditto.
11246 * gdb.disasm/t03_add.exp: Ditto.
11247 * gdb.disasm/t04_sub.s: Ditto.
11248 * gdb.disasm/t04_sub.exp: Ditto.
11249 * gdb.disasm/t05_cmp.s: Ditto.
11250 * gdb.disasm/t05_cmp.exp: Ditto.
11251 * gdb.disasm/t06_ari2.s: Ditto.
11252 * gdb.disasm/t06_ari2.exp: Ditto.
11253 * gdb.disasm/t07_ari3.s: Ditto.
11254 * gdb.disasm/t07_ari3.exp: Ditto.
11255 * gdb.disasm/t08_or.s: Ditto.
11256 * gdb.disasm/t08_or.exp: Ditto.
11257 * gdb.disasm/t09_xor.s: Ditto.
11258 * gdb.disasm/t09_xor.exp: Ditto.
11259 * gdb.disasm/t10_and.s: Ditto.
11260 * gdb.disasm/t10_and.exp: Ditto.
11261 * gdb.disasm/t11_logs.s: Ditto.
11262 * gdb.disasm/t11_logs.exp: Ditto.
11263 * gdb.disasm/t12_bit.s: Ditto.
11264 * gdb.disasm/t12_bit.exp: Ditto.
11265 * gdb.disasm/t13_otr.s: Ditto.
11266 * gdb.disasm/t13_otr.exp: Ditto.
11267
e00759ef
EZ
112682003-07-22 Elena Zannoni <ezannoni@redhat.com>
11269
11270 * gdb.threads/tls.exp :Add kfail for 'info address' case.
11271
8bc2021f
EZ
112722003-07-22 Elena Zannoni <ezannoni@redhat.com>
11273
a9c64011
AS
11274 * gdb.threads/tls.c : New file.
11275 * gdb.threads/tls.exp : New file.
11276 * gdb.threads/tls-main.c : New file.
11277 * gdb.threads/tls-shared.c : New file.
11278 * gdb.threads/tls-shared.exp : New file.
8bc2021f 11279
89320c4c
AS
112802003-07-22 Andreas Schwab <schwab@suse.de>
11281
11282 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
11283
180dea7c
AS
112842003-07-20 Andreas Schwab <schwab@suse.de>
11285
11286 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
11287 due to insn reordering.
11288
0714963c
AC
112892003-07-15 Andrew Cagney <cagney@redhat.com>
11290
11291 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
11292
98a23b3f
MC
112932003-07-15 Michael Chastain <mec@shout.net>
11294
11295 * gdb.base/gdb1250.exp: New file.
11296 * gdb.base/gdb1250.c: New file.
11297
27e417a2
ML
112982003-07-09 Michal Ludvig <mludvig@suse.cz>
11299
11300 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
11301 expansion of size_t to 'unsigned long', not only to 'unsigned'.
11302
8bc2021f
EZ
113032003-07-09 Elena Zannoni <ezannoni@redhat.com>
11304
a9c64011
AS
11305 * gdb.threads/tls.c: New file.
11306 * gdb.threads/tls.exp: New file.
11307 * gdb.threads/tls-main.c: New file.
11308 * gdb.threads/tls-shared.c: New file.
11309 * gdb.threads/tls-shared.exp: New file.
8bc2021f 11310
d99968dc
EZ
113112003-07-09 Elena Zannoni <ezannoni@redhat.com>
11312
11313 * gdb.base/annota1.exp: Make sure that we properly escape the
11314 full path of the source file. Xfail more permissive patterns,
d63a86f8 11315 due to a compiler debug info problem.
d99968dc 11316
83876b3b
AS
113172003-07-07 Andreas Schwab <schwab@suse.de>
11318
2705e972
AS
11319 * gdb.asm/m68k.inc: New file.
11320 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
11321
83876b3b
AS
11322 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
11323 arguments"): Also match negative number.
11324
11325 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
11326
3a871b37
DJ
113272003-07-03 Daniel Jacobowitz <drow@mvista.com>
11328
11329 * gdb.base/store.c (charest): New typedef.
11330 (add_char): Rename to add_charest, update.
11331 (wack_char): Rename to wack_charest, update types. Return l + r
11332 to keep r live across the call.
11333 (wack_short, wack_int, wack_long, wack_longest, wack_float)
11334 (wack_double, wack_doublest): Return l + r to keep r live across
11335 the call.
11336 * gdb.base/store.exp: Accomodate store.c changes.
11337
b2a7f303
DC
113382003-06-30 David Carlton <carlton@kealia.com>
11339
11340 * gdb.c++/maint.exp (test_invalid_name): New.
11341 (test_first_component): Add tests for invalid names.
11342
3c6cb4a1
MC
113432003-06-29 Michael Chastain <mec@shout.net>
11344
11345 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
11346 output of '<VTT for class>' for virtual base classes.
11347
f1c2644b
DJ
113482003-06-29 Daniel Jacobowitz <drow@mvista.com>
11349
11350 * gdb.base/completion.exp: Tab-complete "complet" instead of
11351 "compl".
11352 * gdb.base/complex.exp, gdb.base/complex.c: New files.
11353
18080350
DJ
113542003-06-29 Daniel Jacobowitz <drow@mvista.com>
11355
11356 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
11357 * gdb.base/volatile.exp: Likewise.
11358
f56973f8
DJ
113592003-06-29 Daniel Jacobowitz <drow@mvista.com>
11360
11361 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
11362 gdb/1265.
11363
113642003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
11365 Daniel Jacobowitz <drow@mvista.com>
11366
11367 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
11368 initial line count of 'captured_main' from 26 to 32.
11369 (test_with_self): Allow xmalloc call to be interleaved with the
11370 preceding two lines.
11371
e766d4d6
JB
113722003-06-24 Joel Brobecker <brobecker@gnat.com>
11373
11374 * gdb.base/bang.exp: New testcase.
11375
f125c9a4
JB
113762003-06-23 Joel Brobecker <brobecker@gnat.com>
11377
11378 * gdb.base/langs.exp: Add some tests for the "minimal" language
11379 support.
11380
6e25beaf
EZ
113812003-06-23 Elena Zannoni <ezannoni@redhat.com>
11382
11383 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
11384 the testcase.
11385
2f816dda
DJ
113862003-06-22 Daniel Jacobowitz <drow@mvista.com>
11387
11388 * gdb.base/relocate.exp: Test add-symbol-file with a variable
11389 offset.
11390
db5a5748
DJ
113912003-06-22 Daniel Jacobowitz <drow@mvista.com>
11392
11393 * gdb.c++/pr-1210.cc: New file.
11394 * gdb.c++/pr-1210.exp: New file.
11395
1df0c130
DJ
113962003-06-21 Daniel Jacobowitz <drow@mvista.com>
11397
11398 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
11399 000-exec-continue.
11400
a92feac0
MK
114012003-06-15 Mark Kettenis <kettenis@gnu.org>
11402
11403 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
11404 on *-*-*bsd* instead of *-*-freebsd*.
11405
81a58f5b
AC
114062003-06-14 Andrew Cagney <cagney@redhat.com>
11407
11408 * gdb.base/store.exp: Test longest and doublest. Test all
11409 parameters. Weaken return statement match.
11410 * gdb.base/store.c: Add longest and doublest - aka long long and
11411 long double functions. Put all parameters into local register
11412 variables. Use negative values.
11413
b257a0d3
AC
114142003-06-14 Andrew Cagney <cagney@redhat.com>
11415
11416 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
11417 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
11418 exit status.
11419 * gdb.base/fileio.exp: Disable target when nointerrupts and
11420 noinferiorio, instead of limiting it to remote. Use remote_exec
11421 instead of system.
d63a86f8 11422
21c38304
JJ
114232003-06-12 Jeff Johnston <jjohnstn@redhat.com>
11424
11425 * gdb.base/float.exp: Add ia64 support.
11426
1bcdb424
CV
114272003-06-12 Corinna Vinschen <vinschen@redhat.com>
11428
11429 * gdb.base/fileio.exp: Run only on remote targets.
11430
6aeb981f
CV
114312003-06-10 Corinna Vinschen <vinschen@redhat.com>
11432
11433 * gdb.base/fileio.c: New file, testing File-I/O.
11434 * gdb.base/fileio.exp: Ditto.
11435
53df362e
RG
114362003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
11437
11438 * gdb.base/shreloc.exp: New file, check symbol values obtained from
11439 shared objects after relocation at load time (gdb PR/1132).
11440 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 11441 as above, part of the shared object relocation test.
53df362e 11442
ffee1b46
MK
114432003-06-08 Mark Kettenis <kettenis@gnu.org>
11444
b5ca3722
MK
11445 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
11446 fully filled history list.
11447 * gdb.base/gdb_history: New file.
11448
03ed860d
MK
11449 * gdb.base/signals.exp: XFAIL "continue to func1" on
11450 i*86-*-freebsd*.
11451
ffee1b46
MK
11452 * gdb.base/attach.exp: When trying to attach to a nonexistent
11453 process, make it possible to specify the PID based on the target,
11454 and do so for *-*-freebsd*.
11455
d80dbb52
RH
114562003-06-02 Richard Henderson <rth@redhat.com>
11457
11458 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
11459
6dd77b81
RH
114602003-06-02 Richard Henderson <rth@redhat.com>
11461
11462 * gdb.base/selftest.exp: Next over lim_at_start initialization.
11463
f6347e16
RH
114642003-06-02 Richard Henderson <rth@redhat.com>
11465
11466 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
11467
2c161407
DJ
114682003-06-01 Daniel Jacobowitz <drow@mvista.com>
11469
11470 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
11471 of globalvar.
11472
572eb746
MK
114732003-06-01 Mark Kettenis <kettenis@gnu.org>
11474
11475 * gdb.asm/asm-source.exp: Check for memory read errors in
11476 disassembler test on *BSD too.
11477
9e9617a5
RH
114782003-06-01 Richard Henderson <rth@redhat.com>
11479
11480 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
11481 for .frame.
11482 (gdbasm_call): Lose ldgp.
11483 (gdbasm_startup): Add frame information.
11484 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
11485
7b34ad4e
MK
114862003-05-31 Mark Kettenis <kettenis@gnu.org>
11487
11488 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
11489 i?86-*-*.
11490
10059fdf
MK
114912003-05-30 Mark Kettenis <kettenis@gnu.org>
11492
11493 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
11494 FreeBSD.
11495
acf4b816
RH
114962003-05-29 Richard Henderson <rth@redhat.com>
11497
11498 * gdb.asm/alpha.inc: New file.
11499 * gdb.asm/asm-source.exp: Use it.
11500
e9ecd949
JB
115012003-05-29 Jim Blandy <jimb@redhat.com>
11502
11503 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
11504 'core.PID'.
11505
e3e5a4f3
JB
115062003-05-22 Jim Blandy <jimb@redhat.com>
11507
11508 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
11509 backtrace.
d63a86f8 11510
72fe3d25
DC
115112003-05-20 David Carlton <carlton@math.stanford.edu>
11512
11513 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
11514 this time.
11515
58da2eb2
DC
115162003-05-19 David Carlton <carlton@bactrian.org>
11517
11518 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
11519 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
11520
1fcb5155
DC
115212003-05-19 David Carlton <carlton@bactrian.org>
11522
11523 * gdb.c++/namespace.exp: Add namespace scope and anonymous
11524 namespace tests.
11525 Bump copyright date.
11526 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
11527 (main): Call C::D::marker2.
11528 * gdb.c++/namespace1.cc: New file.
11529
85e85163
JJ
115302003-05-14 Jeff Johnston <jjohnstn@redhat.com>
11531
11532 Roland McGrath <roland@redhat.com>
d63a86f8 11533 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
11534 there is no manager thread.
11535
a25fbfec
JJ
115362003-05-08 Jeff Johnston <jjohnstn@redhat.com>
11537
d63a86f8
RM
11538 * gdb.threads/schedlock.exp: Remove assumption that all threads
11539 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
11540 in one of the child threads rather than the main thread.
11541
be375bae
JB
115422003-05-07 Jim Blandy <jimb@redhat.com>
11543
09bf6082
JB
11544 Add support for assembly source testing on the s390x.
11545 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
11546 architecture.
11547 * gdb.asm/s390x.inc: New file.
11548
be375bae
JB
11549 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
11550 succession of 'if' statements.
11551
00905d52
AC
115522003-05-05 Andrew Cagney <cagney@redhat.com>
11553
11554 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
11555
b1e29e33
AC
115562003-05-05 Andrew Cagney <cagney@redhat.com>
11557
11558 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
11559 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
11560
e33d66ec
EZ
115612003-05-02 Elena Zannoni <ezannoni@redhat.com>
11562
11563 * gdb.base/charset.exp: Update based on new behavior of set/show
11564 charset commands.
11565
2b6fd0d8
AC
115662003-05-01 Andrew Cagney <cagney@redhat.com>
11567
11568 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
11569 variable do not give memory errors.
11570
130cacce
AF
115712003-04-30 Adam Fedor <fedor@gnu.org>
11572
11573 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
11574 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
11575 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
11576 gdb.objc/basicclass.m: : New files
11577
11578 * lib/gdb.exp (gdb_compile_objc): New procedure.
11579
bea71854
DJ
115802003-04-27 Daniel Jacobowitz <drow@mvista.com>
11581
11582 * gdb.base/signals.exp: Make backtrace tests more specific.
11583
0f20eeea
DC
115842003-04-23 David Carlton <carlton@bactrian.org>
11585
11586 * gdb.c++/maint.exp (test_first_component): Add tests for
11587 'operator' in more locations.
11588
c8c4d8dc
KB
115892003-04-16 Kevin Buettner <kevinb@redhat.com>
11590
11591 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
11592
3fe60e3c
EZ
115932003-04-16 Elena Zannoni <ezannoni@redhat.com>
11594
11595 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 11596 func marke' instead. Update test name.
3fe60e3c 11597
9219021c
DC
115982003-04-15 David Carlton <carlton@math.stanford.edu>
11599
11600 * gdb.c++/maint.exp: New file.
11601
5dd55bdd
EZ
116022003-04-14 Elena Zannoni <ezannoni@redhat.com>
11603
11604 * gdb.threads/schedlock.c: Change type of thread function argument
11605 to long, to avoid warnings on 64-bit platforms.
11606
00890572
EZ
116072003-04-14 Elena Zannoni <ezannoni@redhat.com>
11608
a9c64011
AS
11609 * gdb.base/attach.exp: Add new message from ptrace in case of
11610 attaching to nonexistent process.
d63a86f8 11611
93201743
JB
116122003-04-11 Jim Blandy <jimb@redhat.com>
11613
11614 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
11615 gdb.c++/userdef.cc: Place comments on the lines to which the
11616 marker function might return.
11617 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
11618 gdb.c++/userdef.exp: Look for those comments to check that we've
11619 returned to the right place, instead of checking line numbers.
11620
2a11c64d
EZ
116212003-04-11 Elena Zannoni <ezannoni@redhat.com>
11622
a9c64011
AS
11623 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
11624 match on sourcefile name, instead of directory name.
2a11c64d 11625
68ab8fc5
EZ
116262003-04-10 Elena Zannoni <ezannoni@redhat.com>
11627
d63a86f8 11628 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
11629 working directory name.
11630
5624293a
JB
116312003-04-09 Jim Blandy <jimb@redhat.com>
11632
11633 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
11634 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
11635 after an inferior function call, report the failure, but allow the
11636 test to continue.
11637
f1f02ee4
SC
116382003-04-05 Stephane Carrez <stcarrez@nerim.fr>
11639
11640 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
11641 with -DPROTOTYPES.
11642
6eb79af0
SC
116432003-04-05 Stephane Carrez <stcarrez@nerim.fr>
11644
11645 * gdb.base/break.exp: Revert last patch.
11646
8dfb4cf0
SC
116472003-04-04 Stephane Carrez <stcarrez@nerim.fr>
11648
11649 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
11650 with -DPROTOTYPES.
11651
ed4c619a
AC
116522003-04-02 Andrew Cagney <cagney@redhat.com>
11653
11654 * gdb.base/callfuncs.exp: Make "print add" messages unique.
11655 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
11656 matching directories by the name breakpoint.
11657 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
11658 Make "continue to marker1" consistent.
11659 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
11660 message consistent.
11661 * lib/gdb.exp: Put "the program is no longer running", and "the
11662 program exited" in parenthesis.
11663 * lib/mi-support.exp: Ditto.
d63a86f8 11664
4e35d5f0 116652003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 11666
4e35d5f0
BR
11667 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
11668
71900fe8
AC
116692003-03-29 Andrew Cagney <cagney@redhat.com>
11670
11671 * gdb.base/sizeof.c (main): Print the value of '\377'.
11672 * gdb.base/sizeof.exp: Check the sign of '\377'.
11673
c0655a16
MC
116742003-03-27 Michael Chastain <mec@shout.net>
11675
11676 * gdb.base/gdb1090.exp: New file.
11677 * gdb.base/gdb1090.cc: New file.
11678
5b2a3989
JB
116792003-03-27 J. Brobecker <brobecker@gnat.com>
11680
11681 * gdb.gdb/observer.exp: New regression test.
11682
79876890
MC
116832003-03-27 Michael Chastain <mec@shout.net>
11684
11685 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
11686 * gdb.base/ptype.exp: Likewise.
11687
6eac95e3
CV
116882003-03-27 Corinna Vinschen <vinschen@redhat.com>
11689
11690 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
11691
e8c71839
MC
116922003-03-26 Michael Chastain <mec@shout.net>
11693
11694 * gdb.base/ptype.exp: Actually use some typedef'd types.
11695
71b10041
SC
116962003-03-21 Stephane Carrez <stcarrez@nerim.fr>
11697
11698 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
11699 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
11700
2512cf80
CV
117012003-03-20 Corinna Vinschen <vinschen@redhat.com>
11702
11703 * gdb.base/default.exp: Fix regular expression.
11704
0d195a4f
CV
117052003-03-20 Corinna Vinschen <vinschen@redhat.com>
11706
11707 * gdb.base/args.exp: Fix regular expression.
11708
8a2dbca8
CV
117092003-03-20 Corinna Vinschen <vinschen@redhat.com>
11710
11711 * gdb.base/help.exp: Allow Win32 child process.
11712
bf028682
CV
117132003-03-20 Corinna Vinschen <vinschen@redhat.com>
11714
11715 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
11716 when stepping out of main().
11717
182dbe85
CV
117182003-03-20 Corinna Vinschen <vinschen@redhat.com>
11719
11720 * gdb.base/default.exp: Check for win32 specific message when calling
11721 "run" without executable.
11722
d67a6ba5
CV
117232003-03-20 Corinna Vinschen <vinschen@redhat.com>
11724
11725 * gdb.base/args.exp: Expect .exe in output.
11726
a955b5bb
CV
117272003-03-20 Corinna Vinschen <vinschen@redhat.com>
11728
11729 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
11730 Cygwin native.
11731
bf6bad4b
AC
117322003-03-17 Andrew Cagney <cagney@redhat.com>
11733
11734 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
11735 vector registes.
11736 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
11737 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
11738
293e9a31
DC
117392003-03-17 David Carlton <carlton@math.stanford.edu>
11740
11741 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
11742 test, for PR breakpoints/38.
11743 Call test_watchpoint_and_breakpoint.
11744 * gdb.base/watchpoint.c (func3): New function.
11745 (main): Call func3.
11746
5330f2db
DC
117472003-03-04 David Carlton <carlton@math.stanford.edu>
11748
11749 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
11750 Garply<Garply<char> >:: garply".
11751 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
11752 with respect to PR c++/1111; note also PR c++/1113.
11753 (test_template_breakpoints): KFAIL "constructor breakpoint" with
11754 respect to PR c++/1062.
11755 KFAIL "destructor breakpoint" with respect to PR c++/1112.
11756
6ece72da
DC
117572003-03-03 David Carlton <carlton@math.stanford.edu>
11758
11759 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
11760 with respect to PR c++/57.
11761 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
11762 c++/826.
11763 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
11764 respect to PR c++/57.
11765
85ca1584
DC
117662003-03-03 David Carlton <carlton@math.stanford.edu>
11767
11768 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
11769 respect to PR c++/33 into FAILs.
11770
98e9c5b8
MC
117712003-03-03 Michael Chastain <mec@shout.net>
11772
7bedbf27
MC
11773 * configure.in: Update copyright years.
11774
117752003-03-03 Michael Chastain <mec@shout.net>
11776
11777 * Makefile.in: Update copyright years.
98e9c5b8 11778
f683e100
DC
117792003-02-28 David Carlton <carlton@math.stanford.edu>
11780
11781 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
11782 print class instead of struct and/or superfluous protection
11783 specifiers, as long as the resulting output is equivalent to the
11784 source code.
11785 Delete FIXME from end of messages on tests that don't need
11786 fixing.
11787
a9e0cf2c
DC
117882003-02-28 David Carlton <carlton@math.stanford.edu>
11789
11790 * gdb.c++/templates.exp (do_tests): Allow const in the two
11791 Foo<volatile char *>::foo tests.
11792
e8d359df
MS
117932003-02-27 Michael Snyder <msnyder@redhat.com>
11794
d63a86f8 11795 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
11796 will be consistant.
11797
0b71dc91
DC
117982003-02-26 David Carlton <carlton@math.stanford.edu>
11799
11800 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
11801 char *>::foo" test with respect to PR c++/33. Create a new test
11802 which is identical to that one except that it doesn't put the
11803 space between the "char" and the "*"; KFAIL it, too.
11804
dd14ab43
DC
118052003-02-26 David Carlton <carlton@math.stanford.edu>
11806
11807 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
11808 template types into either PASSes or KFAILs (corresponding to PR
11809 c++/57). Tweak indentation. Update copyright.
11810
1146c7f1
SC
118112003-02-23 Stephane Carrez <stcarrez@nerim.fr>
11812
11813 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
11814
74641dfb
MC
118152003-02-13 Michael Chastain <mec@shout.net>
11816
11817 * gdb.base/exprs.exp: Remove i960 remnants.
11818 * gdb.base/funcargs.exp: Likewise.
11819 * gdb.base/list.exp: Likewise.
11820 * gdb.base/ptype.exp: Likewise.
11821
559cd2d0
DC
118222003-02-14 David Carlton <carlton@math.stanford.edu>
11823
11824 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
11825 pEe->D::vg()" from XFAIL to KFAIL.
11826
c4f90d87
JM
118272003-02-13 Jason Molenda (jmolenda@apple.com)
11828
11829 * gdb.base/maint.exp: Update maint print statistics regexp to include
11830 new entries.
11831
cbc4d97c
MC
118322003-02-13 Michael Chastain <mec@shout.net>
11833
11834 * gdb.c++/inherit.exp: Remove call to get_debug_format.
11835
40f235b7
MC
118362003-02-12 Michael Chastain <mec@shout.net>
11837
11838 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
11839 * gdb.c++/inherit.exp: Likewise.
11840 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
11841 * gdb.c++/templates.exp: Likewise.
11842 * gdb.c++/virtfunc.exp: Likewise.
11843
c56716b0
JM
118442003-02-06 Jason Molenda (jason-cl@molenda.com)
11845
11846 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
11847 why the code is written that way.
11848
070afcf8
MC
118492003-02-05 Michael Chastain <mec@shout.net>
11850
11851 * gdb.base/dump.exp: Add missing copyright line.
11852
5d0331e5
JM
118532003-02-05 Jason Molenda (jason-cl@molenda.com)
11854
f7ae6d3e 11855 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
11856 at the beginning so the breakpoint doesn't get set on the loop.
11857
92851186
MC
118582003-02-05 Michael Chastain <mec@shout.net>
11859
11860 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
11861 output for configurations with gcc 2.95.3.
11862
cbf1e085
AC
118632003-02-05 Keith Seitz <keiths@redhat.com>
11864 Andrew Cagney <ac131313@redhat.com>
11865
11866 * gdb.mi/mi-cli.exp: New file.
d63a86f8 11867
29518e1e
MC
118682003-02-04 Michael Chastain <mec@shout.net>
11869
11870 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
11871 Call perror and then continue.
11872
5af1d5f3
MC
118732003-02-03 Michael Chastain <mec@shout.net>
11874
11875 * gdb.c++/pr-1023.cc: New file.
11876 * gdb.c++/pr-1023.exp: New file.
11877
6b549786
JB
118782003-02-05 Jim Blandy <jimb@redhat.com>
11879
11880 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
11881 it's local to foobar. Check for it there, and check that it's not
11882 present in main.
11883 * gdb.c++/local.cc (marker2): New function.
11884 (foobar): Call marker1.
11885 (main): Call marker2 instead of marker1.
11886
67f16606
AC
118872003-02-04 Andrew Cagney <ac131313@redhat.com>
11888
11889 * gdb.disasm/mn10200.exp: Obsolete file.
11890 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
11891 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
11892 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
11893
1c5cb38e
DC
118942003-02-04 David Carlton <carlton@math.stanford.edu>
11895
11896 * gdb.c++/overload.exp: Test intToChar(1).
11897 * gdb.c++/overload.cc (intToChar): New.
11898 (main): Call intToChar.
11899
d1fe6965
DC
119002003-02-03 David Carlton <carlton@math.stanford.edu>
11901
11902 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
11903 'might_kfail' arg.
11904 KFAIL some of the continue_to_bp_overloaded calls, according to
11905 PR c++/1025.
11906
9ba61c5d
MC
119072003-02-01 Michael Chastain <mec@shout.net>
11908
11909 * gdb.base/advance.c (marker1): New marker function.
11910 * gdb.base/advance.exp: When the 'advance' command lands on the
11911 return breakpoint, it can legitimately stop on either the
11912 current line or the next line. Accommodate both outcomes.
11913 * gdb.base/until.exp: Likewise.
11914
e7494ffb
AC
119152003-02-02 Andrew Cagney <ac131313@redhat.com>
11916
11917 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
11918 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
11919 now a list, not a tuple.
11920 * gdb.mi/mi-var-display.exp: Ditto.
11921 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 11922
075559bc
AC
119232003-02-01 Andrew Cagney <ac131313@redhat.com>
11924
11925 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
11926 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
11927 stack backtraces.
11928 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 11929
2bd4c7b1
MK
119302003-02-01 Mark Kettenis <kettenis@gnu.org>
11931
11932 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
11933 gdb.mi/mi1-pthreads.exp: Return instead of calling
11934 gdb_suppress_entire_file.
11935
eabd8992
MS
119362003-02-01 Mark Salter <msalter@redhat.com>
11937
11938 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
11939
71469e2f
MS
119402003-01-31 Mark Salter <msalter@redhat.com>
11941
11942 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
11943 Support empty arg.
11944
38a94d44
MC
119452003-01-30 Michael Chastain <mec@shout.net>
11946
11947 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
11948 This was a workaround for a UTF-8 bug in readline 4.3. The bug
11949 has been fixed in gdb/readline on 2003-01-09.
11950
19ea9e73
MS
119512003-01-29 Michael Snyder <msnyder@redhat.com>
11952
e8d359df
MS
11953 * gdb.base/maint.exp: Allow for leading underscore in symbol.
11954 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
11955 * gdb.base/args.exp: Skip if target does not support args passing.
11956
2307bd6a
DJ
119572003-01-22 Daniel Jacobowitz <drow@mvista.com>
11958
19ea9e73 11959 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
11960 gdb_test. Accept a list of expect arguments as the third
11961 parameter.
11962 (gdb_test): Use it.
11963
f2dd3617
EZ
119642003-01-20 Elena Zannoni <ezannoni@redhat.com>
11965
11966 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
11967 allow for different test tree configurations. Update some
11968 tescases accordingly.
11969 * gdb.arch/altivec-regs.exp: Ditto.
11970 * gdb.asm/asm-source.exp: Ditto.
11971 * gdb.base/advance.exp: Ditto.
11972 * gdb.base/display.exp: Ditto.
d63a86f8 11973 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
11974 * gdb.base/mips_pro.exp: Ditto.
11975 * gdb.base/overlays.exp: Ditto.
11976 * gdb.base/relocate.exp: Ditto.
11977 * gdb.base/setshow.exp: Ditto.
11978 * gdb.base/step-line.exp: Ditto.
11979 * gdb.base/step-test.exp: Ditto.
11980 * gdb.base/until.exp: Ditto.
11981 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
11982
c71cdefd
DC
119832003-01-17 David Carlton <carlton@math.stanford.edu>
11984
11985 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
11986 corresponding to PR c++/945.
11987 Update copyright.
11988
fdba05d7
DC
119892003-01-17 David Carlton <carlton@math.stanford.edu>
11990
11991 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
11992 corresponding to PR c++/68.
11993
119942003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
11995
11996 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
11997 (test_paddr_hairy_functions): Call print_addr_2_kfail for
11998 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
11999
c362c33a
EZ
120002003-01-15 Elena Zannoni <ezannoni@redhat.com>
12001
0fbc361c
EZ
12002 * gdb.base/break.exp: Fix change of default location, because of
12003 removal of until tests.
12004 * gdb.base/help.exp: Update test for new 'until' help message.
12005 Add test for help on 'advance'.
a9c64011 12006 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 12007
dabf8a35
MK
120082003-01-15 Mark Kettenis <kettenis@gnu.org>
12009
12010 * gdb.base/default.exp: Adapt "info float" test for recent changes
12011 to that command. Add test for "info vector".
12012 * gdb.base/float.exp: New file. Add test for "info float" that
12013 resembles the old test in gdb.base/default.exp.
12014
a1769aca
DC
120152003-01-15 David Carlton <carlton@math.stanford.edu>
12016
12017 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
12018
82025e13
EZ
120192003-01-15 Elena Zannoni <ezannoni@redhat.com>
12020
12021 * gdb.base/break.exp: Move the tests of until command from here...
12022 * gdb.base/until.exp: ... to here. New file. Add other tests.
12023 * gdb.base/advance.c: New file.
12024 * gdb.base/advance.exp: New file.
12025
8f9ab801
EZ
120262003-01-14 Elena Zannoni <ezannoni@redhat.com>
12027
a9c64011
AS
12028 * gdb.base/args.c: New file.
12029 * gdb.base/args.exp: New file.
8f9ab801 12030
9ae66589
DJ
120312003-01-14 Daniel Jacobowitz <drow@mvista.com>
12032
12033 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
12034
8d77e5c3
DJ
120352003-01-14 Daniel Jacobowitz <drow@mvista.com>
12036
12037 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
12038
12d2f0a1
DJ
120392003-01-14 Daniel Jacobowitz <drow@mvista.com>
12040
12041 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
12042 dates.
12043
6ca37014
DJ
120442003-01-13 Daniel Jacobowitz <drow@mvista.com>
12045
12046 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
12047
b0023472
DJ
120482003-01-13 Daniel Jacobowitz <drow@mvista.com>
12049
12050 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
12051 (ptype &*"foo").
12052 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
12053
607fbc54 120542003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
12055
12056 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
12057 * gdb.mi/mi1-console.exp: Likewise.
12058
607fbc54 120592003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
12060
12061 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
12062 * gdb.mi/mi1-console.exp: Likewise.
12063
a1fb14a2
DJ
120642003-01-13 Daniel Jacobowitz <drow@mvista.com>
12065
12066 * gdb.c++/overload.exp: Remove some fixed XFAILs.
12067
c4cf40b7
DJ
120682003-01-09 Daniel Jacobowitz <drow@mvista.com>
12069
12070 * gdb.base/detach.exp: New test.
12071
696d5a5b
DJ
120722003-01-09 Daniel Jacobowitz <drow@mvista.com>
12073
12074 * Makefile.in (ALL_SUBDIRS): New variable.
12075 (subdirs, clean, distclean): Use it.
12076 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
12077 regenerating Makefile, since it is generated from the top level.
12078 * gdb.asm/Makefile.in: Likewise.
12079 * gdb.base/Makefile.in: Likewise.
12080 * gdb.c++/Makefile.in: Likewise.
12081 * gdb.disasm/Makefile.in: Likewise.
12082 * gdb.java/Makefile.in: Likewise.
12083 * gdb.mi/Makefile.in: Likewise.
12084 * gdb.threads/Makefile.in: Likewise.
12085 * gdb.trace/Makefile.in: Likewise.
12086
754533e4
DC
120872003-01-09 David Carlton <carlton@math.stanford.edu>
12088
12089 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
12090 Add copyright year 2003.
12091
d8b3e9ee
MC
120922003-01-06 Michael Chastain <mec@shout.net>
12093
12094 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
12095 When selecting a thread, 'line' and 'file' are optional.
12096 * gdb.mi/mi1-pthreads.exp: Likewise.
12097
8e9e0fe6
AS
120982003-01-06 Andreas Schwab <schwab@suse.de>
12099
12100 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
12101 failures.
12102
b5ab8ff3
DJ
121032003-01-04 Daniel Jacobowitz <drow@mvista.com>
12104
12105 Fix PR gdb/844
12106 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
12107 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
12108
12109 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
12110 instead of calling gdb_suppress_entire_file.
12111 * gdb.threads/print-threads.exp: Likewise.
12112 * gdb.threads/schedlock.exp: Likewise.
12113
12114 * gdb.threads/killed.exp: Return instead of calling
12115 gdb_suppress_entire_file.
12116 * gdb.threads/linux-dp.exp: Likewise.
12117 * gdb.threads/pthreads.exp: Likewise.
12118
1e698235
DJ
121192003-01-04 Daniel Jacobowitz <drow@mvista.com>
12120
12121 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
12122 stabs.
12123 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
12124 * gdb.base/whatis.exp: Always allow (void) after function names.
12125
147ff08c
DJ
121262003-01-04 Daniel Jacobowitz <drow@mvista.com>
12127
12128 * gdb.c++/casts.exp: Correct regexp.
12129
dc62bfc2
MK
121302003-01-04 Mark Kettenis <kettenis@gnu.org>
12131
12132 * configure.in: Call AC_CONFIG_HEADER. Don't call
12133 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
12134 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
12135 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
12136 aforementioned directories in the AC_OUPUT call.
12137 * config.hin: New file.
12138 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
12139 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
12140 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
12141 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
12142 pass -I$objdir instead of -I$objdir/$subdir in compilation.
12143 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
12144 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
12145 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
12146 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
12147 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
12148 gdb.threads/configure.in, gdb.threads/configure,
12149 gdb.threads/config.in, gdb.trace/configure.in,
12150 gdb.trace/configure: Removed.
12151
77afa639
MC
121522003-01-03 Michael Chastain <mec@shout.net>
12153
12154 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
12155 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
12156
7634bb6e
DJ
121572003-01-03 Daniel Jacobowitz <drow@mvista.com>
12158
12159 * gdb.base/store.exp: Fix regular expressions.
12160
b39c905e
MK
121612002-12-28 Mark Kettenis <kettenis@gnu.org>
12162
12163 * configure.in: Rewrite.
12164 * configure: Regenerated.
12165
0a8551dd
DC
121662003-01-03 David Carlton <carlton@math.stanford.edu>
12167
12168 * gdb.base/psymtab.exp: New file.
12169 * gdb.base/psymtab1.c: Ditto.
12170 * gdb.base/psymtab2.c: Ditto.
12171
c60b7188
AF
121722002-12-23 Adam Fedor <fedor@gnu.org>
12173
12174 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
12175
ee73db83
DC
121762002-12-23 David Carlton <carlton@math.stanford.edu>
12177
12178 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
12179 and current_directory initialization.
12180
d6c1774e
JB
121812002-12-22 Jim Blandy <jimb@redhat.com>
12182
f0a847b8
JB
12183 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
12184 rather than as part of the output file name.
12185
d6c1774e
JB
12186 * gdb.base/attach.exp: There's no need to copy the test program to
12187 /tmp; that was only ever necessary on HP/UX, and this test is
12188 entirely disabled there anyway.
12189
f0708dbb
JB
121902002-12-21 Jim Blandy <jimb@redhat.com>
12191
4c2acfea
JB
12192 * gdb.c++/psmang.exp: Doc fix.
12193
f0708dbb
JB
12194 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
12195 test.
12196
9579e000
DC
121972002-12-20 David Carlton <carlton@math.stanford.edu>
12198
12199 * gdb.c++/annota2.exp: KFAIL annotate-quit.
12200
d1810171
MC
122012002-12-18 Michael Chastain <mec@shout.net>
12202
12203 * gdb.c++/annota2.exp: Add copyright year 2002.
12204
76565097
DC
122052002-12-17 David Carlton <carlton@math.stanford.edu>
12206
12207 * gdb.c++/try_catch.cc: Add marker comments.
12208 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
12209 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
12210 * gdb.c++/m-static.cc: Ditto.
12211 * gdb.c++/m-static1.cc: Ditto.
12212 * gdb.c++/try_catch.cc: Ditto.
12213
da81390b
JJ
122142002-12-16 Jeff Johnston <jjohnstn@redhat.com>
12215
12216 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
12217 to see whether we are using the new -environment-directory
12218 command which resets via -r or the old version of the command
12219 which may prompt the user. Part of fix for gdb/741.
12220
b304d130
AC
122212002-12-13 Andrew Cagney <ac131313@redhat.com>
12222
12223 * gdb.fortran/types.exp: Update obsolete comment.
12224 * gdb.fortran/exprs.exp: Ditto.
12225 * lib/gdb.exp: Delete obsolete code.
12226 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
12227 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
12228 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
12229 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
12230 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
12231 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
12232 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
12233 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
12234 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
12235 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
12236 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
12237 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
12238 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
12239 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
12240 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
12241 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
12242 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
12243 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
12244 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
12245 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
12246 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
12247 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
12248 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
12249 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
12250 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
12251 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
12252 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
12253 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
12254 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
12255 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
12256 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
12257 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
12258 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
12259 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
12260 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
12261 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
12262 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
12263
a23b6e6a
DC
122642002-12-11 David Carlton <carlton@math.stanford.edu>
12265
12266 * gdb.c++/m-data.exp: Add test for members that shadow global
12267 variables: see PR gdb/804.
12268 * gdb.c++/m-data.cc: Ditto.
12269
6604731b
DJ
122702002-12-10 Daniel Jacobowitz <drow@mvista.com>
12271
12272 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
12273
de46ecd7
DC
122742002-12-06 David Carlton <carlton@math.stanford.edu>
12275
12276 * gdb.base/store.c: Don't declare functions static.
12277
27e829d0
AC
122782002-12-04 Andrew Cagney <ac131313@redhat.com>
12279
12280 * gdb.base/store.exp, gdb.base/store.c: New files.
12281
92806416
DJ
122822002-12-03 Daniel Jacobowitz <drow@mvista.com>
12283
12284 * gdb.base/selftest.exp: Update for current gdb.
12285
3bcbaac5
DJ
122862002-12-03 Daniel Jacobowitz <drow@mvista.com>
12287
12288 * gdb.base/maint.exp: Only dump symbols from one source file
12289 or objfile.
12290
f4f00b1f
DJ
122912002-12-03 Daniel Jacobowitz <drow@mvista.com>
12292
12293 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
12294 function call.
12295
f1c8a949
JB
122962002-11-25 Jim Blandy <jimb@redhat.com>
12297
12298 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
12299 function appearing in error message.
12300
9e297a97
DJ
123012002-11-21 Daniel Jacobowitz <drow@mvista.com>
12302
12303 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
12304
1f312e79
JJ
123052002-11-08 Jeff Johnston <jjohnstn@redhat.com>
12306
d63a86f8
RM
12307 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
12308 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
12309 should be in mi console format. This is part of fix for PR gdb/604.
12310
83c31e7d
FN
123112002-09-18 Fernando Nasser <fnasser@redhat.com>
12312
12313 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
12314 which explicitly prints the zero offset as "+0".
12315
322b3f65
DJ
123162002-10-22 Daniel Jacobowitz <drow@mvista.com>
12317
12318 * gdb.threads/schedlock.c (args): Make unsigned.
12319
123202002-10-21 Daniel Jacobowitz <drow@mvista.com>
12321
12322 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
12323 numbers. Allow "foo2|selected stack frame".
12324 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
12325 * gdb.asm/asmsrc2.s: Likewise.
12326 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
12327 comments.
12328 * gdb.asm/mips.inc: New file.
12329
5e2fe5b8
AF
123302002-10-18 Adam Fedor <fedor@gnu.org>
12331
12332 * gdb.base/default.exp: Update expected output to include 'ObjC'.
12333 * gdb.base/help.exp: Likewise.
12334
abe1a5d0
KB
123352002-10-17 Kevin Buettner <kevinb@redhat.com>
12336
12337 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
12338 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
12339
10abb1d4
JB
123402002-10-02 Jim Blandy <jimb@redhat.com>
12341
12342 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
12343
1f609b42
AC
123442002-10-01 Andrew Cagney <ac131313@redhat.com>
12345
12346 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
12347 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
12348 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
12349 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
12350 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
12351 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
12352 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
12353
0aee02e4
AC
123542002-09-29 Andrew Cagney <ac131313@redhat.com>
12355
12356 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
12357 * mi0-disassemble.exp, mi0-eval.exp: Delete.
12358 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
12359 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
12360 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
12361 * mi0-var-block.exp, mi0-var-child.exp: Delete.
12362 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 12363
6fde09ad
KB
123642002-09-27 Kevin Buettner <kevinb@redhat.com>
12365
12366 * gdb.base/annota1.exp (info break): Make directory components of
12367 path optional since not all compilers emit this debug information.
12368
12369 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
12370 step ends up stepping out of the function instead of stopping on
12371 the epilogue.
12372
9e8aab75
KS
123732002-09-26 Keith Seitz <keiths@redhat.com>
12374
12375 * lib/insight-support.exp (gdbtk_start): Figure out where
12376 the insight executable is based on where gdb is. Use this
12377 executable to start insight instead of gdb.
12378
e36180d7
AC
123792002-09-25 Andrew Cagney <cagney@redhat.com>
12380
12381 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
12382
9dd34b2b
AC
123832002-09-24 Andrew Cagney <ac131313@redhat.com>
12384
12385 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
12386 test_isolated_complaints.
12387 (test_empty_complaint): New function.
12388 (test_empty_complaints): New function. Check no output when no
12389 complaints.
d63a86f8 12390
dea97812
KB
123912002-09-19 Jim Blandy <jimb@redhat.com>
12392
a9c64011 12393 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 12394
54951bd7
AC
123952002-09-19 Andrew Cagney <ac131313@redhat.com>
12396
12397 * gdb.gdb/complaints.exp: New file.
12398
dec43320
AC
123992002-09-18 Andrew Cagney <ac131313@redhat.com>
12400
12401 * gdb.base/maint.exp: Check `help maint internal-warning'.
12402
e70d6e3f
DC
124032002-09-18 David Carlton <carlton@math.stanford.edu>
12404
12405 * gdb.c++/m-static.exp: Remove breakpoints depending on line
12406 numbers, and replace them by a single breakpoint after the
12407 constructors are all finished.
12408 Add test 4.
12409 * gdb.c++/m-static.cc: Add test 4.
12410 * gdb.c++/m-static.h: New file.
12411 * gdb.c++/m-static1.cc: New file.
12412
12413 * gdb.c++/printmethod.exp: New file.
12414 * gdb.c++/printmethod.cc: New file.
12415
12416 * gdb.c++/pr-574.exp: New file.
12417 * gdb.c++/pr-574.cc: New file.
12418
afb5c968
CV
124192002-09-18 Corinna Vinschen <vinschen@redhat.com>
12420
12421 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
12422 embedded targets which never actually exit.
12423
31e45dee
FN
124242002-09-18 Fernando Nasser <fnasser@redhat.com>
12425
12426 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
12427 "don't step after run" as unresolved or unsupported, instead of xfail.
12428
a283c5a1
CV
124292002-09-18 Corinna Vinschen <vinschen@redhat.com>
12430
12431 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
12432 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
12433 Add newline to expected string in "step out of main (status wrapper)"
12434 case.
12435
11350d2a
CV
124362002-09-18 Corinna Vinschen <vinschen@redhat.com>
12437
12438 * lib/gdb.exp (rerun_to_main): Allow restarting application.
12439 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
12440
0deec7d6
TT
124412002-09-17 Tom Tromey <tromey@redhat.com>
12442
12443 * gdb.base/printcmds.exp (test_print_string_constants): Expect
12444 \000, not \0, in double-quoted string.
12445
b2b4a1b5
CV
124462002-09-14 Corinna Vinschen <vinschen@redhat.com>
12447
c9d37158 12448 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
12449 string after running the commands execution on breakpoint tests.
12450
1c56143a
CV
124512002-09-13 Corinna Vinschen <vinschen@redhat.com>
12452
12453 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
12454
37f8da45
JB
124552002-09-12 Joel Brobecker <brobecker@gnat.com>
12456
12457 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
12458
08b468e0
KS
124592002-09-10 Keith Seitz <keiths@redhat.com>
12460
12461 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
12462 runto proc.
12463 (mi_run_to_main): Use mi_runto.
12464 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
12465
dc360f58
KS
124662002-09-10 Keith Seitz <keiths@redhat.com>
12467
12468 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
12469 regexp for stopping at main. Could have multiple event notifications.
12470 Don't assume that main was declared with no parameters.
12471 (mi_next): Use mi_step_to.
12472 (mi_step): Use mi_next_to.
12473
ce3abcfb
CV
124742002-09-09 Corinna Vinschen <vinschen@redhat.com>
12475
12476 * gdb.base/default.exp: Fix expected string in `info float' test.
12477
d1f5b980
BE
124782002-09-09 Ben Elliston <bje@redhat.com>
12479
12480 * config/mips.exp: Update comments.
12481 * config/mips-idt.exp: Likewise.
12482 * config/nind.exp: Likewise.
12483 * config/slite.exp: Likewise.
12484 * config/sparclet.exp: Likewise.
12485 * config/udi.exp: Likewise.
12486 * config/vx.exp: Likewise.
12487 * config/vxworks29k.exp: Likewise.
12488
2f71430b
JB
124892002-09-05 Jim Blandy <jimb@redhat.com>
12490
12491 * gdb.threads/killed.exp: Fix test failure message.
12492
7ddebc7e
KS
124932002-09-04 Keith Seitz <keiths@redhat.com>
12494
12495 * lib/mi-support.exp: Update copyright.
12496 (mi_gdb_test): Increase the priority of the expected pattern
12497 so that it matches gdb_test.
12498
0ae67eb3
KS
124992002-09-03 Keith Seitz <keiths@redhat.com>
12500
12501 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
12502 Use integer comparison instead of string comparison for testing
12503 whether binary was built.
12504
38fc42c8
JB
125052002-09-03 Jim Blandy <jimb@redhat.com>
12506
12507 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
12508
b6ff0e81
JB
125092002-08-29 Jim Blandy <jimb@redhat.com>
12510
12511 * gdb.threads/pthreads.exp: Move the portable thread compilation
12512 code into a function in lib/gdb.exp, and call that from here.
12513 * lib/gdb.exp (gdb_compile_pthreads): New function.
12514
07c98896
KS
125152002-08-29 Keith Seitz <keiths@redhat.com>
12516
12517 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
12518 expect_out so that callers can get at it.
12519
0312286c
DJ
125202002-08-23 Daniel Jacobowitz <drow@mvista.com>
12521
12522 * gdb.threads/print-threads.c: New file.
12523 * gdb.threads/print-threads.exp: New file.
12524 * gdb.threads/schedlock.c: New file.
12525 * gdb.threads/schedlock.exp: New file.
12526
dd039bc4
EZ
125272002-08-22 Elena Zannoni <ezannoni@redhat.com>
12528
a9c64011
AS
12529 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
12530 not altivec.c.
dd039bc4 12531
1f36144c
MK
125322002-08-17 Mark Kettenis <kettenis@gnu.org>
12533
12534 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
12535 targets. The problem should be fixed now.
12536
16057ec7 125372002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
12538
12539 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
12540 2002-07-24 change that removes final dots from error messages.
12541
3c1499ad
TT
125422002-08-13 Tom Tromey <tromey@redhat.com>
12543
12544 * gdb.base/readline.exp: New file.
12545
a20ce2c3
AC
125462002-08-01 Andrew Cagney <ac131313@redhat.com>
12547
12548 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
12549 supress message.
12550
db034ac5
AC
125512002-08-01 Andrew Cagney <cagney@redhat.com>
12552
12553 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
12554 CHILL_FOR_TARGET and CHILL_LIB.
12555 * configure.in (configdirs): Remove gdb.chill.
12556 * configure: Regenerate.
12557 * lib/gdb.exp: Obsolete references to chill.
12558 * gdb.fortran/types.exp: Ditto.
12559 * gdb.fortran/exprs.exp: Ditto.
12560
3e000b18
KB
125612002-07-30 Kevin Buettner <kevinb@redhat.com>
12562
12563 * gdb.base/shlib-call.exp (additional_flags): Conditionally
12564 set Irix-specific compile and link flags.
12565
28f4966b
KB
125662002-07-29 Kevin Buettner <kevinb@redhat.com>
12567
12568 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
12569 source files. The ``-o'' option doesn't work with the ``-E'' option
12570 when using the Irix compiler.
12571
46c0d5a6
DJ
125722002-07-19 Daniel Jacobowitz <drow@mvista.com>
12573
12574 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
12575 Improve support for reusing an exec file. Copy exec file
12576 to target, and run gdbserver on the target instead of on the host.
12577
eecf4bed
JB
125782002-07-18 Jim Blandy <jimb@redhat.com>
12579
0f815cdf
JB
12580 * gdb.base/ending-run.exp: Don't expect to see the program end in
12581 some orderly fashion when we're running on a real stand-alone
12582 board.
12583
eecf4bed
JB
12584 * gdb.base/interrupt.exp: Correct logic for skipping tests on
12585 targets that don't support interrupts.
12586
52d309e4
JB
125872002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
12588
12589 * gdb.base/attach.exp: Add patterns to match output from /proc-based
12590 systems.
12591 Move comments in expect statements to inside the actions, so that they
12592 don't get matched against.
12593
ff683d9e
MK
125942002-07-10 Mark Kettenis <kettenis@gnu.org>
12595
12596 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
12597 function when asleep" test.
12598
b5356753
AC
125992002-07-10 Andrew Cagney <ac131313@redhat.com>
12600
12601 * gdb.base/page.exp: Rewrite to handle problems with very long
12602 `info set' output. Update copyright.
12603
6aa4d13a
AC
126042002-06-26 Andrew Cagney <ac131313@redhat.com>
12605
12606 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
12607 gdb.threads-hp.
12608 * gdb.hp/configure: Regenerate.
12609 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
12610 * gdb.hp/gdb.threads-hp/configure: Delete file.
12611 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
12612
8cf8c2b8
AC
126132002-06-22 Andrew Cagney <ac131313@redhat.com>
12614
12615 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
12616 setlocale, bindtextdomain and textdomain.
12617
6827a8f8
JB
126182002-06-11 Jim Blandy <jimb@redhat.com>
12619
919d772c
JB
12620 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
12621 preprocessor macro information is present.
12622
6827a8f8
JB
12623 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
12624 tests.
12625
c15b0d21
MS
126262002-06-06 Michael Snyder <msnyder@redhat.com>
12627
c5984d70
MS
12628 * gdb.base/overlays.exp: Record addresses of overlay
12629 functions in TCL variables rather than in GDB variables,
12630 to avoid having GDB convert them to pointers (with loss
12631 of information).
12632
d63a86f8 12633 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 12634 default linker script changes.
c15b0d21
MS
12635 * gdb.base/long_long.exp: Add check for sizeof (long double).
12636
be26fe0d
ML
126372002-06-06 Michal Ludvig <mludvig@suse.cz>
12638
12639 * gdb.asm/asm-source.exp: Add x86-64 target.
12640 * gdb.asm/x86_64.inc: New.
d63a86f8 12641
258093ca 126422002-05-30 Michael Chastain <mec@shout.net>
258093ca 12643
4b3153f1 12644 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
12645 * gdb.c++/m-static.cc: New file.
12646 * gdb.c++/m-static.exp: New file.
12647
241264c6
MS
126482002-05-28 Michael Snyder <msnyder@redhat.com>
12649
12650 * gdb.base/call-ar-st.exp: Allow for reduced floating point
12651 precision.
12652
9bba8c8f 126532002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 12654
4b3153f1 12655 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
12656 * gdb.c++/m-data.cc: New file.
12657 * gdb.c++/m-data.exp: New file.
12658
126592002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 12660
4b3153f1 12661 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 12662 * gdb.c++/try_catch.cc: New file.
d63a86f8 12663 * gdb.c++/try_catch.exp: New file.
9bba8c8f 12664
def1b996
MC
126652002-05-27 Michael Chastain <mec@shout.net>
12666
12667 * gdb.c++/local.exp: Accept more nested types in output.
12668
522ba268
MC
126692002-05-26 Michael Chastain <mec@shout.net>
12670
12671 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
12672
277254ba
MS
126732002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
12674
12675 * lib/gdb.exp (gdb_wrapper_init): Just because
12676 gdb_wrapper_file exists, this does not mean that the file
12677 should not be rebuilt. That is what gdb_wrapper_initialized
12678 is for.
12679 (default_gdb_init): Reset gdb_wrapper_initialized.
12680
b61a8733
MS
126812002-05-23 Michael Snyder <msnyder@redhat.com>
12682
d63a86f8 12683 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
12684 the precision of the floating point test results.
12685 * gdb.base/call-rt-st.exp: Ditto.
12686
b61a8733
MS
12687 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
12688 * gdb.base/call-rt-st.exp: Ditto.
12689
56f6e910
MC
126902002-05-19 Michael Chastain <mec@shout.net>
12691
12692 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
12693
ad0b0016
EZ
126942002-05-19 Elena Zannoni <ezannoni@redhat.com>
12695
a9c64011
AS
12696 * configure.in (configdirs): Add gdb.arch.
12697 * configure: Regenerate.
ad0b0016 12698
f617d2b6
JB
126992002-05-17 Jim Blandy <jimb@redhat.com>
12700
12701 * gdb.base/completion.exp: Recognize the more detailed error
12702 messages produced by the macro expander's lexical analyzer.
12703
eac2a696
EZ
127042002-05-14 Elena Zannoni <ezannoni@redhat.com>
12705
a9c64011
AS
12706 * gdb.arch/altivec-abi.c: New file.
12707 * gdb.arch/altivec-abi.exp: New file.
12708 * gdb.arch/altivec-regs.c: New file.
12709 * gdb.arch/altivec-regs.exp: New file.
eac2a696 12710
2fdde8f8
DJ
127112002-05-14 Daniel Jacobowitz <drow@mvista.com>
12712
12713 * gdb.base/maint.exp (maint print type): Update for new type
12714 structure.
d63a86f8 12715
e31f1a7c
EZ
127162002-05-14 Elena Zannoni <ezannoni@redhat.com>
12717
12718 * gdb.arch: New directory.
12719 * gdb.arch/configure.in: New file.
12720 * gdb.arch/configure: New file.
12721 * gdb.arch/Makefile.in: New file.
12722
db589741
CV
127232002-05-13 Corinna Vinschen <vinschen@redhat.com>
12724
12725 * gdb.asm/asm-source.exp: Add v850 as supported target.
12726 * gdb.asm/v850.inc: New file.
12727
8ce2a7dc
DJ
127282002-05-13 Daniel Jacobowitz <drow@mvista.com>
12729
12730 * gdb.c++/annota2.exp (annotate-quit): Add comment.
12731
df763c7f
DJ
127322002-05-12 Daniel Jacobowitz <drow@mvista.com>
12733
12734 * gdb.base/break.exp: Check 'break "marker2"'.
12735
377daeed
MS
127362002-05-10 Michael Snyder <msnyder@redhat.com>
12737
12738 * gdb.base/long_long.exp: Fix typo.
12739
c4b7bc2b
JB
127402002-05-10 Jim Blandy <jimb@redhat.com>
12741
ecac9a4e
JB
12742 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
12743 a bug.
12744
c4b7bc2b
JB
12745 * gdb.base/printcmds.exp (test_integer_literals_rejected):
12746 Recognize more detailed error message produced by the macro
12747 expander's lexical analyzer.
12748 * lib/gdb.exp (test_print_reject): Same.
12749
e71019a1
MK
127502002-05-09 Mark Kettenis <kettenis@gnu.org>
12751
12752 * gdb.c++/method.exp: Fix typo.
12753
fedfc8e6
MS
127542002-05-08 Michael Snyder <msnyder@redhat.com>
12755
166a1957
MS
12756 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
12757 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 12758 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
12759 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
12760 Add iftarget clause for strongarm.
d63a86f8 12761
f1c47eb2
MS
127622002-05-06 Michael Snyder <msnyder@redhat.com>
12763
cb9a9d3e
MS
12764 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
12765 (gdb_continue_to_end): Accept output from status wrapper.
12766 * gdb.base/ending-run.exp: Add case for output from status wrapper.
12767 Clean up fail messages to match pass messages.
12768
f1c47eb2
MS
12769 Enable the "needs_status_wrapper" testsuite feature.
12770 * lib/gdb.exp (gdb_wrapper_init): New procedure.
12771 (gdb_compile): Conditionally call gdb_wrapper_init.
12772 * gdb.base/a2-run.exp: Recognize output from status wrapper.
12773 * gdb.c++/method.exp: Recognize output from status wrapper.
12774
6079c749
BE
127752002-05-06 Ben Elliston <bje@redhat.com>
12776From Graydon Hoare <graydon@redhat.com>
12777
12778 * config/sid.exp: Include support for "rawsid" protocol.
12779
188baff3
JB
127802002-05-03 Jim Blandy <jimb@redhat.com>
12781
12782 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
12783 * gdb.c++/hang3.C: New file.
12784
b9c07f0f
AC
127852002-05-04 Andrew Cagney <ac131313@redhat.com>
12786
12787 * gdb.base/default.exp: Remove obsolete code.
12788 * gdb.c++/misc.exp: Ditto. Update copyright.
12789 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
12790 * gdb.base/whatis.exp: Ditto. Update copyright.
12791 * gdb.base/scope.exp: Ditto. Update copyright.
12792 * gdb.base/ptype.exp: Ditto. Update copyright.
12793 * gdb.base/printcmds.exp: Ditto. Update copyright.
12794 * gdb.base/opaque.exp: Ditto. Update copyright.
12795 * gdb.base/list.exp: Ditto.
12796 * gdb.base/funcargs.exp: Ditto. Update copyright.
12797 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
12798 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
12799 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
12800 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
12801 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
12802 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
12803
5c7a0397
MS
128042002-05-02 Michael Snyder <msnyder@redhat.com>
12805
d6dcc264 12806 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
12807 * gdb.base/long_long.exp: Add xscale target.
12808 * gdb.base/default.exp: Add xscale target.
12809
eb7f1c48
JB
128102002-05-01 Jim Blandy <jimb@redhat.com>
12811
12812 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
12813 gdb.c++/hang.exp: New test.
12814
a6befae8
FF
128152002-05-01 Fred Fish <fnf@redhat.com>
12816
12817 * gdb.base/completion.exp: Handle completions of "./Make" for
12818 more than one completion possibility, as is the case when we
12819 build and test in the source tree.
12820
0a310277
AG
128212002-04-29 Anthony Green <green@redhat.com>
12822
12823 * gdb.java/jmisc1.exp: New file.
12824 * gdb.java/jmisc2.exp: New file.
12825
6ff9af88
DJ
128262002-04-24 Daniel Jacobowitz <drow@mvista.com>
12827
12828 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
12829
96b3d632
EZ
128302002-04-23 Elena Zannoni <ezannoni@redhat.com>
12831
12832 * gdb.base/help.exp: Change 'help status' to allow for target
12833 dependent output differences.
12834
5019bb54
MC
128352002-04-22 Michael Chastain <mec@shout.net>
12836
12837 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
12838
a805a116
MC
128392002-04-22 Michael Chastain <mec@shout.net>
12840
12841 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
12842
a1706bfd
DM
128432002-04-17 David S. Miller <davem@redhat.com>
12844
12845 * gdb.asm/sparc64.inc: New file.
12846 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
12847
a73a20a2
EZ
128482002-04-19 Elena Zannoni <ezannoni@redhat.com>
12849
12850 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
12851 instruction file directly into the build tree. Clean up at end of
12852 test.
12853
ba678339
DM
128542002-04-18 David S. Miller <davem@redhat.com>
12855
12856 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
12857 handle 64-bit platforms correctly.
12858 * gdb.base/maint.exp: Likewise.
12859
b03399da
KB
128602002-04-18 Kevin Buettner <kevinb@redhat.com>
12861
12862 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
12863 ``-fpic'' when compiling files comprising a shared library, but
12864 it does need additional linker flags in order to find shared
12865 libraries at run time.
12866
e2004992
KB
128672002-04-18 Kevin Buettner <kevinb@redhat.com>
12868
12869 * gdb.base/cvexpr.c (use): New function.
12870 (main): Invoke use() on all global variables to prevent
12871 some linkers from deleting these otherwise unused symbols.
12872
d8937120
MC
128732002-04-17 Michael Chastain <mec@shout.net>
12874From David S. Miller <davem@redhat.com>
12875
12876 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
12877 handle 64-bit platforms correctly.
12878
ffd61a58
MS
128792002-04-12 Michael Snyder <msnyder@redhat.com>
12880From Jim Blandy <jimb@redhat.com>
a9c64011 12881 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
12882 script can handle this instead.
12883 * gdb.base/bar.c (barx): Same.
12884 * gdb.base/baz.c (bazx): Same.
12885 * gdb.base/grbx.c (grbxx): Same.
12886
12887 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
12888 manager doesn't automatically unmap overlays unnecessarily.
12889
6b8426a6
MH
128902002-04-10 Martin M. Hunt <hunt@redhat.com>
12891
12892 * gdb.base/ending-run.exp: Fix pattern for Mips targets
12893 stepping out of main.
12894
34af4875
MC
128952002-04-09 Michael Chastain <mec@shout.net>
12896
12897 * gdb.c++/local.cc (main): Move call to marker1() inside nested
12898 scope so that the nested scope tests will make sense.
12899 * gdb.c++/local.exp: Write patterns that actually work with gcc
12900 (the HP patterns "were never known to work with gcc").
12901 Keep the old aCC patterns too.
12902
2d1676a0
DJ
129032002-04-09 Daniel Jacobowitz <drow@mvista.com>
12904
12905 * gdb.base/attach.exp: Correct target board test.
12906
3a63e3f9
MC
129072002-04-08 Michael Chastain <mec@shout.net>
12908
12909 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
12910 in a const method. Add some xfail and fail cases for configurations
12911 that do not emit the "const ...".
12912
f18dabd2
MC
129132002-04-07 Michael Chastain <mec@shout.net>
12914
12915 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
12916 Accept "A * const" and "const A * const" as type of "this".
12917 Fix spelling of getFunky throughout. Make messages uniform.
12918
0fcddd82
EZ
129192002-04-07 Elena Zannoni <ezannoni@redhat.com>
12920
a9c64011 12921 Work around for PR gdb/285:
0fcddd82
EZ
12922 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
12923
16a8534a
EZ
129242002-04-07 Elena Zannoni <ezannoni@redhat.com>
12925
12926 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
12927 instructions file at run time instead of configure time.
12928 Sometimes we run the test in a directory that is not the one we
12929 configured in.
12930 * gdb.asm/configure.in: Delete creation of symlink.
12931 * gdb.asm/configure: Regenerate.
12932
24181d81
JB
129332002-04-05 J. Brobecker <brobecker@gnat.com>
12934
12935 * gdb.gdb/xfullpath.exp: New test, to exercise the new
12936 xfullpath () function.
12937
7cdb7107
DJ
129382002-04-04 Daniel Jacobowitz <drow@mvista.com>
12939
12940 * gdb.asm/Makefile.in: Correct dependencies.
12941
12942 * gdb.asm/powerpc.inc: New file.
12943 * gdb.asm/asm-source.exp: Add PowerPC.
12944 * gdb.asm/configure.in: Likewise.
12945 * gdb.asm/configure: Regenerated.
12946
a7d17088
DJ
129472002-04-04 Daniel Jacobowitz <drow@mvista.com>
12948
12949 * gdb.base/relocate.exp: New file.
12950 * gdb.base/relocate.c: New file.
12951
cd721503
FF
129522002-04-04 Fred Fish <fnf@redhat.com>
12953
12954 * gdb.base/step-test.exp: Update comment regarding stopping in
12955 memcpy/bcopy calls inserted as part of the compiler runtime.
12956
b22ad7a7
MS
129572002-04-04 Michael Snyder <msnyder@redhat.com>
12958
12959 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
12960
5f279fa6
DJ
129612002-04-03 Daniel Jacobowitz <drow@mvista.com>
12962
12963 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
12964 (gdb_expect): Remove $notransfer hack.
12965
dd0fd3ce
DJ
129662002-04-02 Daniel Jacobowitz <drow@mvista.com>
12967
12968 * gdb.c++/classes.exp ("calling method for small class"): Match
12969 updated register output.
12970
1e50cda1
DJ
129712002-03-30 Daniel Jacobowitz <drow@mvista.com>
12972
12973 Fix PR gdb/452
12974 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
12975 when finished. Make gdb_file_cmd send "exec-file" when
12976 appropriate.
12977
24015922
DJ
129782002-03-30 Daniel Jacobowitz <drow@mvista.com>
12979
12980 * gdb.base/attach.exp: Remove extra setup_xfail.
12981
dd7dfd64
MS
129822002-03-26 Michael Snyder <msnyder@redhat.com>
12983
12984 * gdb.base/default.exp: Add tests for dump, append, and restore.
12985 * gdb.base/help.exp: Add tests for dump, append, and restore.
12986 * gdb.base/dump.exp: New file, test dump, append and restore.
12987 * gdb.base/dump.c: New file.
12988
48b2f8d7
MS
129892002-03-27 Michael Snyder <msnyder@redhat.com>
12990
d63a86f8 12991 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
12992 clean-ups in help messages.
12993
05b4d525
FF
129942002-03-26 Fred Fish <fnf@redhat.com>
12995
12996 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
12997 have debugging info for those functions and the compiler uses them
12998 internally to copy structs around.
12999
d7679631
FF
130002002-03-26 Fred Fish <fnf@redhat.com>
13001
13002 * gdb.base/list.exp: Revert the change made yesterday and add note
13003 about why we don't list the default lines for remote targets.
13004
523ac3f9
MS
130052002-03-25 Michael Snyder <msnyder@redhat.com>
13006
13007 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
13008
754b2b8d
FF
130092002-03-25 Fred Fish <fnf@redhat.com>
13010
13011 * gdb.base/list.exp: This test works on remote targets so remove
13012 the short circuit for remote targets. Update copyright.
13013
33c3e192
FF
130142002-03-25 Fred Fish <fnf@redhat.com>
13015
13016 * gdb.base/attach.exp: Fix logic error that was suppressing this
13017 test for all non hppa*-*-hpux* targets, instead of the hp target.
13018 Move comments closer to the suppression point. Also now need to
13019 check that we are running natively.
13020
d43e73ee
MS
130212002-03-22 Michael Snyder <msnyder@redhat.com>
13022
882c8f02
MS
13023 * gdb.base/default.exp: Add test for gcore. Update copyright.
13024 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 13025
04c12f60
FF
130262002-03-06 Fred Fish <fnf@redhat.com>
13027
13028 * gdb.base/funcargs.c: Remove extraneous ';' character.
13029 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
13030
b43df995
MC
130312002-03-04 Michael Chastain <mec@shout.net>
13032
13033 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
13034 accommodate gcc v3 function signature.
13035 * gdb.mi/mi0-var-cmd-exp: Ditto.
13036
92362027
AC
130372002-02-24 Andrew Cagney <ac131313@redhat.com>
13038
13039 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
13040 ``GNU/Linux'' or ``Linux kernel''
13041 * testsuite/gdb.threads/pthreads.c: Ditto.
13042
258ad32d
MC
130432002-02-24 Michael Chastain <mec@shout.net>
13044
13045 * gdb.threads/pthreads.c (thread1): Add a return statement.
13046 (thread2): Likewise.
13047 (foo): Likewise.
13048
04c3b3d4
MC
130492002-02-23 Michael Chastain <mec@shout.net>
13050
13051 * gdb.threads/linux-dp.c (philosopher): Add a return statement
13052 to placate gcc.
13053
5a2a0a20
MC
130542002-02-23 Michael Chastain <mec@shout.net>
13055
13056 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
13057 test "ptype bint". The test passes on all my stabs configurations.
13058
a640f7fc
JB
130592002-02-21 Jim Blandy <jimb@redhat.com>
13060
27924826
JB
13061 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
13062 filename at a time, and watch for the ones we want to see.
13063
a640f7fc
JB
13064 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
13065 types of pointers to prototyped functions.
13066
edcc8c75
AC
130672002-02-20 Andrew Cagney <ac131313@redhat.com>
13068
13069 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
13070 signed, unsigned and straight char.
13071 (padding_char, padding_short, padding_int, padding_long,
13072 padding_long_long, padding_float, padding_double,
13073 padding_long_double): New global variables.
13074 (fill, fill_structs): New functions.
13075
13076 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
13077 for correctly sized writes. Update copyright.
13078 (get_valueof): New procedure.
13079 (get_sizeof): Call get_valueof.
13080 (check_valueof): New procedure.
13081 (check_padding): New procedure.
13082
ac57ea44
MC
130832002-02-20 Michael Chastain <mec@shout.net>
13084
13085 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
13086 to setup_xfail. Document some of the remaining calls.
13087
7a10c941
MC
130882002-02-18 Michael Chastain <mec@shout.net>
13089
13090 * gdb.c++/userdef.exp: Update copyright year.
13091
fb8acdcc
DJ
130922002-02-18 Daniel Jacobowitz <drow@mvista.com>
13093
13094 * gdb.c++/userdef.exp: Test overloaded operators properly.
13095 Remove xfails.
13096
fda6ae12
MS
130972002-02-14 Michael Snyder <msnyder@redhat.com>
13098
13099 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
13100
676a0442
DJ
131012002-02-14 Daniel Jacobowitz <drow@mvista.com>
13102
13103 * gdb.base/a2-run.exp: Check for a remote target properly.
13104 * gdb.base/annota1.exp: Likewise.
13105 * gdb.base/list.exp: Likewise.
13106 * gdb.base/reread.exp: Likewise.
13107 * gdb.base/scope.exp: Likewise.
13108 * gdb.base/shlib-call.exp: Likewise.
13109 * gdb.base/term.exp: Likewise.
13110 * gdb.c++/annota2.exp: Likewise.
13111
78b4f468
RE
131122002-02-13 Richard Earnshaw <rearnsha@arm.com>
13113
13114 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
13115
9a81ba51
MC
131162002-02-10 Michael Chastain <mec@shout.net>
13117
13118 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
13119 (call_after_alloca): Ditto.
13120
004af6c7
DJ
131212002-02-10 Daniel Jacobowitz <drow@mvista.com>
13122
13123 * gdb.base/ending-run.exp: Guard "cont" test with
13124 gdb_skip_stdio_test.
13125
37225f62
JB
131262002-02-06 Jim Blandy <jimb@redhat.com>
13127
13128 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
13129 from here...
13130 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
13131 To here. Disable this test on non-HP platforms. Add big comment.
13132
fe6fdd96
MS
131332002-02-04 Michael Snyder <msnyder@redhat.com>
13134
13135 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
13136 other than d10v and m32r.
13137
036fad3f
RE
131382002-02-02 Richard Earnshaw <rearnsha@arm.com>
13139
13140 * gdb.base/default.exp: Rewrite test patterns to reduce time
13141 taken to match them.
13142
7148ab62
DJ
131432002-01-30 Daniel Jacobowitz <drow@mvista.com>
13144
13145 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
13146 Allow a start function above main.
13147 * gdb.threads/linux-dp.exp: Fix copyright date.
13148
396cc255
DJ
131492002-01-30 Daniel Jacobowitz <drow@mvista.com>
13150
a9c64011
AS
13151 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
13152 (check_philosopher_stack): Check for manager thread before checking
13153 for a just-starting thread.
396cc255 13154
f038d31b
DJ
131552002-01-30 Daniel Jacobowitz <drow@mvista.com>
13156
13157 From Neil Booth <neil@daikokuya.demon.co.uk>:
13158 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
13159 warnings.
13160
b3ff9d9a
FF
131612002-01-21 Fred Fish <fnf@redhat.com>
13162
13163 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
13164 not caller.
13165
39ad761d
JB
131662002-01-21 Jim Blandy <jimb@redhat.com>
13167
13168 * gdb.base/reread.exp: Check that GDB properly re-reads the
13169 executable file when it changes while no inferior is running.
13170
aaf320fa
FF
131712002-01-21 Fred Fish <fnf@redhat.com>
13172
a9c64011
AS
13173 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
13174 optionally accept the "shlib events" variation.
aaf320fa 13175
808a31f5
JB
131762002-01-21 Jim Blandy <jimb@redhat.com>
13177
13178 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
13179 call `fflush' after every `printf', so that the output is produced
13180 at predictable points, regardless of whatever buffering does (or
13181 doesn't) take place.
13182 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
13183 at different points.
13184
4420d5e2
DJ
131852002-01-20 Daniel Jacobowitz <drow@mvista.com>
13186
13187 * gdb.c++/inherit.exp: Update copyright years.
13188 * gdb.c++/method.exp: Likewise.
13189
3e36a0f4
DJ
131902002-01-20 Daniel Jacobowitz <drow@mvista.com>
13191
13192 * gdb.c++/classes.exp: Update for improved v3 support and skipping
13193 artificial methods/arguments.
13194 * gdb.c++/derivation.exp: Likewise.
13195 * gdb.c++/inherit.exp: Likewise.
13196 * gdb.c++/method.exp: Likewise.
13197 * gdb.c++/virtfunc.exp: Likewise.
13198
b4ceaee6
AC
131992002-01-18 Andrew Cagney <ac131313@redhat.com>
13200
13201 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
13202 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
13203 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
13204 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
13205 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
13206 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
13207
ecace851
JB
132082002-01-17 Jim Blandy <jimb@redhat.com>
13209
13210 * gdb.asm/asm-source.exp (info symbol): Take another shot at
13211 anchoring the pattern matching the entry point symbol's name.
13212
375fc983
AC
132132002-01-17 Andrew Cagney <ac131313@redhat.com>
13214
13215 * gdb.base/maint.exp: Update ``maint internal-error'' to match
13216 continue/quit query. Update copyright.
13217
fe6fdd96
MS
132182002-01-14 Michael Snyder <msnyder@redhat.com>
13219
13220 * gdb.base/gcore.exp: Remove extra debugging output.
13221
e017c81f
DJ
132222002-01-13 Daniel Jacobowitz <drow@mvista.com>
13223
13224 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
13225 for slightly dubious v2 mangled string.
13226
37ab3bf8
DJ
132272002-01-13 Daniel Jacobowitz <drow@mvista.com>
13228
13229 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
13230
1bc05c3a 132312002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 13232
1bc05c3a 13233 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 13234
1bc05c3a
JM
13235 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
13236 constructors.
13237 * gdb.c++/derivation.exp: Likewise.
13238 * gdb.c++/templates.exp: Likewise.
13239 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 13240
1bc05c3a
JM
132412002-01-10 Michael Snyder <msnyder@redhat.com>
13242
13243 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 13244
a911c360
MS
132452002-01-08 Michael Snyder <msnyder@redhat.com>
13246
13247 * gdb.base/gcore.exp: New test for generate-core-file command.
13248 * gdb.base/gcore.c: Testcase for above.
13249 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
13250
ea2119ec
JM
132512002-01-08 Jason Merrill <jason@redhat.com>
13252
13253 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
13254
68203136
FF
132552002-01-07 Fred Fish <fnf@redhat.com>
13256
13257 * gdb.c++/overload.exp: Remove unconditional xfails for:
13258 print foo_instance1.overloadargs(1)
13259 print foo_instance1.overloadargs(1, 2)
13260 print foo_instance1.overloadargs(1, 2, 3)
13261 print foo_instance1.overloadargs(1, 2, 3, 4)
13262 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
13263 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
13264 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
13265 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
13266 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
13267 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
13268 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
13269 print foo_instance1.overload1arg()
13270 print foo_instance1.overload1arg((char)arg2)
13271 print foo_instance1.overload1arg((signed char)arg3)
13272 print foo_instance1.overload1arg((unsigned char)arg4)
13273 print foo_instance1.overload1arg((int)arg7)
13274 print foo_instance1.overload1arg((unsigned int)arg8)
13275 print foo_instance1.overload1arg((float)arg11)
13276 print foo_instance1.overload1arg((double)arg12)
d63a86f8 13277
21b9b5b1
MS
132782002-01-07 Michael Snyder <msnyder@redhat.com>
13279
13280 * gdb.base/huge.exp: New test. Print a very large target data object.
13281 (skip_huge_test): New test variable. Define if you want to skip this
13282 test. The test reads an 8 megabyte data object from the target, so it
13283 might be very time consuming on remote targets with a slow connection.
13284 * gdb.base/huge.c: New file. Test case for above.
13285
725f922e
FF
132862002-01-07 Fred Fish <fnf@redhat.com>
13287
13288 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
13289 g_instance.bfoo, and g_instance.cfoo.
13290
634d57ec
JL
13291Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
13292
f286b2c3
JL
13293 * gdb.base/break.c (multi_line_if_conditional): New function.
13294 (multi_ilne_while_conditional): Likewise.
13295 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
13296 IF or WHILE condition puts the breakpoint at the start of
13297 the condition.
13298
634d57ec
JL
13299 * gdb.base/selftest.exp (backtrace through signal handler): Remove
13300 hppa*-*-hpux* expected failure.
13301 * gdb.base/structs.exp (do_function_calls): Similarly.
13302
13303 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
13304 watchpoints.
13305
9fbfe2dc
AC
133062002-01-06 Andrew Cagney <ac131313@redhat.com>
13307
13308 Fix PR gdb/66.
13309 * gdb.base/structs.exp: Replace skip for a29k with skip for
13310 gdb,cannot_call_functions.
13311 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
13312 * gdb.base/callfuncs.exp: Ditto.
13313 * gdb.base/call-rt-st.exp: Ditto.
13314 * gdb.base/call-strs.exp: Ditto.
13315 * gdb.base/callfwmall.exp: Ditto.
13316 * gdb.base/scope.exp: Obsolete xfail a29k.
13317 * gdb.c++/misc.exp: Ditto.
13318 * gdb.c++/cplusfuncs.exp: Ditto.
13319 * gdb.base/ptype.exp: Ditto.
13320 * gdb.base/printcmds.exp: Ditto.
13321 * gdb.base/opaque.exp: Ditto.
13322 * gdb.base/list.exp: Ditto.
13323 * gdb.base/funcargs.exp: Ditto.
13324 * gdb.base/default.exp: Ditto.
13325
8ddad156
MS
133262002-01-04 Michael Snyder <msnyder@redhat.com>
13327
ca4976a6 13328 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
13329 * gdb.base/maint.exp: Add tests for maint info sections options.
13330
1b074332
JL
13331Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
13332
13333 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
13334
7d159115
CV
133352001-12-20 Corinna Vinschen <vinschen@redhat.com>
13336
13337 * gdb.asm/arm.inc: New file.
13338 * gdb.asm/asm-source.exp: Add arm targets.
13339 * gdb.asm/configure.in: Ditto.
13340 * gdb.asm/configure: Recreated from configure.in.
13341
8fb87725
JL
13342Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
13343
afabe08c
JL
13344 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
13345 with HP's compiler.
13346 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
13347 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
13348 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
13349 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
13350
13351 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
13352 either HP's compilers or GCC.
13353
db521deb
JL
13354 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
13355 a SIGBUS or SIGSEGV.
13356
13357 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
13358
13359 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
13360 can be compiled with either HP's compiler or GCC.
13361
cfa88ab7
JL
13362 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
13363 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
13364 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
13365
ca344dff
JL
13366 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
13367 to match current gdb output. Update due to using auto-solib-limit
13368 for limiting instead of overloading auto-solib-add.
13369 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
13370 test program.
13371
3f3c6e55 13372 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
13373 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
13374 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
13375 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
13376 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
13377 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
13378 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
13379 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
13380 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
13381 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
13382 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
13383 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
13384 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 13385
8fb87725
JL
13386 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
13387 a SIGTRAP to the inferior.
13388
cf599fa7
CV
133892001-12-19 Corinna Vinschen <vinschen@redhat.com>
13390
13391 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
13392 Substitute call to target_link by call to gdb_compile.
13393
2cd045cd
JL
13394Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
13395
a9c64011
AS
13396 * gdb.base/break.exp: Fix HP specific search string when testing
13397 backtracing in a called function.
2cd045cd 13398
a9c64011
AS
13399 * gdb.base/constvars.exp: Only set lang to C++ if we're
13400 compiling the test with HP's compilers.
13401 * gdb.base/volatile.exp: Similarly.
2cd045cd 13402
99ebe9ac
JB
134032001-12-19 Jim Blandy <jimb@redhat.com>
13404
13405 * gdb.base/printcmds.exp: Expect the null character to be printed
13406 as '\0', and the '\013' to be printed as '\v'.
13407 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
13408 * gdb.base/setvar.exp: Same.
13409
b9891b29
JB
134102001-12-17 Jim Blandy <jimb@redhat.com>
13411
0eba65ab
JB
13412 * gdb.base/completion.exp: Rather than completing very long
13413 filenames, which can make the readline library produce output we
13414 don't recognize, cd to the directory first, and then complete
13415 using nice, short relative paths.
13416
6970b5b1
JB
13417 * gdb.base/completion.exp: On some systems, there is, in fact, a
13418 variable named `b' in scope, since GDB treats all static
a9c64011
AS
13419 variables as being in scope. So use `no_var_named_this'
13420 instead of `b'.
6970b5b1 13421
b9891b29
JB
13422 * gdb.base/corefile.exp: Recognize the message saying that GDB
13423 can't find the core file's registers as a failure.
13424
e6ccd35f
JSC
134252001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
13426
a9c64011
AS
13427 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
13428 test expect string more specific.
e6ccd35f 13429
105ba819
CV
134302001-12-13 Corinna Vinschen <vinschen@redhat.com>
13431
13432 * gdb.asm/asm-source.exp: Add support for xstormy16.
13433 * gdb.asm/configure.in: Ditto.
13434 * gdb.asm/configure: Rebuild.
13435 * gdb.asm/xstormy16.inc: New file.
13436
e9e79dd9
FF
134372001-12-10 Fred Fish <fnf@redhat.com>
13438
13439 * gdb.base/maint.exp: Update to match changes in type dumping code.
13440
347dc97d
JB
134412001-12-10 Jim Blandy <jimb@redhat.com>
13442
13443 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
13444 matching the entry point symbol's name at the beginning of the
13445 line.
13446
5178b9d6
DJ
134472001-12-07 Daniel Jacobowitz <drow@mvista.com>
13448
13449 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
13450 gdb.c++/inherit.exp, gdb.c++/method.exp,
13451 gdb.c++/namespace.exp, gdb.c++/templates.exp,
13452 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
13453 and class layout support.
13454
af890c52
DJ
134552001-12-07 Daniel Jacobowitz <drow@mvista.com>
13456
13457 * gdb.c++/classes.exp: Add test for static member function.
13458 * gdb.c++/misc.cc: Add class with static member function.
13459
7a345fb3
JB
134602001-12-07 Jim Blandy <jimb@redhat.com>
13461
f2e54a80 13462 If GDB says it can't find the struct the function returned, report
8032bf31
JB
13463 those tests as `unsupported'.
13464 * gdb.base/call-rt-st.exp (print_struct_call): New function.
13465 Rewrite subsequent tests to use it.
13466
13467 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
13468 those tests as `unsupported'.
13469 * gdb.base/structs.exp (call_struct_func): New function.
13470 (do_function_calls): Use call_struct_func to call the functions
13471 returning structs.
13472
0bc69509
JB
13473 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
13474 whether functions are prototyped or not, so we can't possibly pass
13475 arguments to t_float_values2 properly.
13476
7a345fb3
JB
13477 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
13478 value of `timeout' for targets other than the mips*tx39-*.
13479
edb6ede1
MS
134802001-12-06 Michael Snyder <msnyder@redhat.com>
13481
d63a86f8 13482 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
13483 and detect whether the start symbol has a leading underscore.
13484
2d842f13
JB
134852001-12-04 Jim Blandy <jimb@redhat.com>
13486
13487 * gdb.base/completion.exp: Clarify indentation.
13488
68550daf
JB
134892001-12-03 Jim Blandy <jimb@redhat.com>
13490
13491 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
13492 variables on the S/390, not `.word'.
13493
cd5195a8
JB
134942001-11-30 Jim Blandy <jimb@redhat.com>
13495
13496 Add assembly-source tests for s390-ibm-linux.
13497 * gdb.asm/s390.inc: New file.
13498 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
13499 the S/390 architecture.
a9c64011 13500 * gdb.asm/configure: Regenerated.
cd5195a8 13501
ca9efc90
MS
135022001-11-30 Michael Snyder <msnyder@redhat.com>
13503
13504 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
13505 next, info source, info sources, info line, global and static
13506 variables, and static functions.
13507 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
13508 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
13509 * gdb.asm/asmsrc1.s: Add a static function and some variables.
13510 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
13511 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
13512 (gdbasm_leave): Restore frame pointer.
13513 (gdbasm_startup): Copy stack set-up from crt0.S.
13514
d0e66976
FN
135152001-11-26 Fernando Nasser <fnasser@redhat.com>
13516
13517 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
13518 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
13519 to a local (non-static) variable. Copy tstruct.a to a static buffer
13520 and return a pointer to that buffer.
13521 * gdb.base/callfwmall.c (t_structs_a): Ditto.
13522
e2334072
MK
135232001-11-24 Mark Kettenis <kettenis@gnu.org>
13524
13525 * gdb.asm/configure.in: Fix recognition of ix86 target.
13526 * gdb.asm/configure: Regenerate.
13527
756caa3d
MS
135282001-11-21 Michael Snyder <msnyder@redhat.com>
13529
13530 * gdb.asm/sparc.inc: New file.
13531 * gdb.asm/asm-source.exp: Recognize sparc target.
13532 * gdb.asm/configure.in: Recognize sparc target.
13533 * gdb.asm/configure: Regenerate.
d63a86f8 13534
9a4d72d5
MS
135352001-11-21 Michael Snyder <msnyder@redhat.com>
13536
13537 * gdb.asm/m32r.inc: New file.
13538 * gdb.asm/asm-source.exp: Recognize m32r target.
13539 * gdb.asm/configure.in: Recognize m32r target.
13540 * gdb.asm/configure: Regenerate.
13541
a773d1cd
MS
135422001-11-20 Michael Snyder <msnyder@redhat.com>
13543
017ac23d
MS
13544 * gdb.asm/i386.inc: New file.
13545 * gdb.asm/asm-source.exp: Recognize ix86 target.
13546 * gdb.asm/configure.in: Recognize ix86 target.
13547 * gdb.asm/configure: Regenerate.
13548
a773d1cd
MS
13549 * gdb.c++/namespace.exp: Fix quotes in output messages.
13550
bb632afb
MS
135512001-11-14 Michael Snyder <msnyder@redhat.com>
13552
25d559ca 13553 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
13554 qualifier in a type cast expression, to designate an address
13555 in the instruction space (Harvard architecture).
13556
4749e309
MS
135572001-11-13 Michael Snyder <msnyder@redhat.com>
13558
13559 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
13560 Tests for expressions using 'const' and 'volatile'.
13561
25050984
CV
135622001-11-13 Corinna Vinschen <vinschen@redhat.com>
13563
13564 * gdb.asm/asm-sources.exp: Allow defining linker flags.
13565
1902c51f
DJ
135662001-11-12 Daniel Jacobowitz <drow@mvista.com>
13567
13568 * lib/mi-support.exp (mi_run_to_helper): Move comments
13569 outside of gdb_expect.
13570
dcf95b47
DJ
135712001-11-11 Daniel Jacobowitz <drow@mvista.com>
13572
13573 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
13574 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
13575 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
13576 mi0_run_to): New functions.
13577 * gdb.mi/mi-simplerun.exp: Use them.
13578 * gdb.mi/mi0-simplerun.exp: Likewise.
13579 * gdb.mi/mi-var-cmd.exp: Likewise.
13580 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 13581
45b074e1
AC
135822001-11-10 Andrew Cagney <ac131313@redhat.com>
13583
13584 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
13585 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
13586
bf50d346
AC
135872001-11-09 Andrew Cagney <ac131313@redhat.com>
13588
13589 * gdb.base/restore.exp: Include $expected value in restored test
13590 message.
13591
9383332c
AC
135922001-11-09 Andrew Cagney <ac131313@redhat.com>
13593
13594 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
13595 implemented.
13596
db62520a
MS
135972001-11-08 Michael Snyder <msnyder@redhat.com>
13598
13599 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
13600 Add pass/fail message for stop at breakpoint in call dummy function.
13601
b5703437
MS
136022001-11-07 Michael Snyder <msnyder@redhat.com>
13603
d63a86f8
RM
13604 * gdb.c++/templates.exp (test_template_breakpoints):
13605 If we get an overload menu, but it does not match what
760f6330 13606 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
13607 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
13608 making the whitespace optional. Argument for "new" may be
13609 "unsigned" as well as "unsigned int/long".
d63a86f8 13610 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
13611 making the whitespace optional. Also replace "(void) with
13612 "((void|)), making the keyword "void" optional.
d63a86f8 13613 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
13614 making the whitespace optional. Also replace "(void) with
13615 "((void|)), making the keyword "void" optional.
3bf40917
MS
13616 * gdb.base/callfuncs.c (t_float_values): This function must
13617 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 13618 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
13619 can be tested against both cases. Usually one case involves
13620 promotion of float to double, while the other does not.
13621 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
13622 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
13623 includes a stack frame for "start".
13624
c8ab4e6d
JB
136252001-11-05 Jim Blandy <jimb@redhat.com>
13626
13627 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
13628 pointers are 32 bits long, and that offsets of relocs are always
13629 stored in the data (REL-style), and not in the reloc entry itself
13630 (RELA-style).
13631 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
13632 stabs.
13633
3f08ced9
MS
136342001-11-01 Michael Snyder <msnyder@redhat.com>
13635
13636 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
13637 and regular expression operators by using quoting.
13638
cbfa24cd
MS
136392001-10-31 Michael Snyder <msnyder@redhat.com>
13640
13641 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
13642 depending on what the symbol table contains.
13643 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
13644 the output of the ptype command. Similarly, accept both "const &"
13645 and "const&".
13646
aaa68313
CV
136472001-10-31 Corinna Vinschen <vinschen@redhat.com>
13648
13649 * gdb.base/miscexprs.c (main): Add usage of preprocessor
13650 symbol `STORAGE' to allow to choose the storage class of
13651 the local datastructures.
13652 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
13653 compiler directive.
13654
91740388
MS
136552001-10-30 Michael Snyder <msnyder@redhat.com>
13656
13657 * gdb.base/jump.exp: Allow it to run for all targets.
13658
1b7c05e7
CV
136592001-10-29 Corinna Vinschen <vinschen@redhat.com>
13660
13661 * gdb.base/call-ar-st.c (print_double_array): Match for loop
13662 with new double_array size.
13663 (main): Change storage class of all local variables to static.
13664 Reduce size of double_array to 9.
13665 * gdb.base/call-ar-st.exp: Increase timeout value.
13666 Change expected output for double array to match new size in
13667 call-ar-st.c.
13668
36a22261
CV
136692001-10-29 Corinna Vinschen <vinschen@redhat.com>
13670
13671 * gdb.base/ending-run.exp: Create identical output when passing
13672 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 13673 Stormy16 target.
36a22261 13674
92b8ae91
MK
136752001-10-28 Mark Kettenis <kettenis@gnu.org>
13676
13677 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
13678 that we catch the expected failure under Linux/x86.
13679
cb135b83
OF
136802001-10-29 Orjan Friberg <orjanf@axis.com>
13681
13682 * gdb.base/setvar.exp: Escape curly braces.
13683 * gdb.stabs/weird.exp: Ditto.
13684
6884aa54
DJ
136852001-10-27 Daniel Jacobowitz <drow@mvista.com>
13686
13687 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
13688 * gdm.mi/mi0-hack-cli.exp: Likewise.
13689
0398c9aa
AC
136902001-10-25 Andrew Cagney <ac131313@redhat.com>
13691
13692 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
13693 messages.
13694
d20bf2e8
AC
136952001-10-21 Andrew Cagney <ac131313@redhat.com>
13696
13697 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
13698 checking MI enabled.
13699
03dd63aa
CV
137002001-10-09 Corinna Vinschen <vinschen@redhat.com>
13701
13702 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
13703
1d9d99f3
FCE
137042001-10-04 Frank Ch. Eigler <fche@redhat.com>
13705
13706 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
13707 if gdb child process crashes, just signal an error.
13708
838ae6c4
JB
137092001-10-02 Jim Blandy <jimb@redhat.com>
13710
13711 * lib/gdb.exp (test_xfail_format): Simplify.
13712
13713 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
13714 front of the variable name `format'. Simplify `if'.
13715
8f0cbc1c
DJ
137162001-10-01 Daniel Jacobowitz <drow@mvista.com>
13717
13718 * gdb.threads/pthreads.exp: Wait for output and delay
13719 before sending ^C.
13720
1f08dafd
DJ
137212001-10-01 Daniel Jacobowitz <drow@mvista.com>
13722
13723 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
13724 some incorrect output instead of timing out.
13725 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
13726
674f90ff
CV
137272001-09-28 Corinna Vinschen <vinschen@redhat.com>
13728
13729 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
13730 check to allow additional `int'.
13731
9b284272
DJ
137322001-09-27 Daniel Jacobowitz <drow@mvista.com>
13733
13734 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
13735 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
13736
b55a4771
MS
137372001-09-27 Michael Snyder <msnyder@redhat.com>
13738
13739 * lib/gdb.exp (test_debug_format): New proc.
13740 (setup_xfail_format): Use new proc test_debug_format.
13741 * gdb.base/constvars.exp (local_compiler_xfail_check): New
13742 proc; use new service proc test_debug_format.
13743 Replace all other "gcc_compiled" tests with this test.
13744 * gdb.base/volatile.exp (local_compiler_xfail_check): New
13745 proc; use new service proc test_debug_format.
13746 Replace all other "gcc_compiled" tests with this test.
13747
137482001-09-27 Michael Snyder <msnyder@redhat.com>
13749
13750 * gdb.base/cvexpr.exp: New file.
13751 * gdb.base/cvexpr.c: New file
13752 Test for expressions using const and volatile keywords.
13753
4e6667ac
CV
137542001-09-26 Corinna Vinschen <vinschen@redhat.com>
13755
13756 * gdb.base/constvars.exp: Check for different orders of keywords
13757 and additional "int" strings in output.
13758
4f337972
AC
137592001-09-22 Andrew Cagney <ac131313@redhat.com>
13760
13761 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
13762 responses from "help maint".
13763
2015650d
FCE
137642001-09-19 Frank Ch. Eigler <fche@redhat.com>
13765
13766 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
13767 to localhost:NNN instead of :NNN, in case Xvfb is listening
13768 only on TCP.
13769
f3bcedc1
CV
137702001-09-19 Corinna Vinschen <vinschen@redhat.com>
13771
13772 * gdb.base/recurse.exp: When checking leaving the watchpoint
13773 scope, recognize when gdb is in function's epilogue and pass.
13774
6b819c92
KS
137752001-09-18 Keith Seitz <keiths@redhat.com>
13776
13777 * lib/insight-support.exp (_gdbtk_export_target_info): Add
13778 support for running tests against sid targets.
13779 (gdbtk_done): Ditto.
13780
a10c9419
CV
137812001-09-18 Corinna Vinschen <vinschen@redhat.com>
13782
13783 * gdb.base/ending-run.c (main): Set stdout buffersize
13784 to the same reasonable value for any target.
13785 * gdb.base/ending-run.exp: Add a regular expression
13786 to make testsuite happy on Sanyo Stormy16 target.
13787
739d0d99
CV
137882001-09-17 Corinna Vinschen <vinschen@redhat.com>
13789
13790 * gdb.base/display.c (do_loops): Add float variable `f'.
13791 Increment f in loop.
13792 * gdb.base/display.exp: Increment timeout by 60 seconds.
13793 Change float display test to use variable `f'.
13794
1b8947f0
JB
137952001-09-17 Jim Blandy <jimb@redhat.com>
13796
13797 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
13798 overflowing the limited breakpoint tables on some ROM monitors
13799 (like the ROM68K).
13800
9890ac81
FCE
138012001-09-15 Frank Ch. Eigler <fche@redhat.com>
13802
13803 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
13804 the "-ac" (disable access control) flag.
13805
6db765ea
JH
138062001-08-30 Jeff Holcomb <jeffh@redhat.com>
13807
13808 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
13809 ints.
13810
4c32cc04
KS
138112001-08-30 Keith Seitz <keiths@redhat.com>
13812
13813 * lib/gdb.exp: Move all insight-related functionality into
13814 separate file.
13815 * lib/insight-support.exp: New file.
13816
8d6e6f81
FCE
138172001-08-29 Frank Ch. Eigler <fche@redhat.com>
13818
13819 * config/sid.exp (sid_start): Never set sid verbosity; disable
13820 expect_background {} that consumed its stdout; tolerate </dev/null.
13821 Attempt to set endianness override in "sid" protocol mode. Cleanup.
13822
6a90e1d0
AC
138232001-08-18 Andrew Cagney <ac131313@redhat.com>
13824
13825 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
13826 CLI jump command to start it.
13827 (mi_run_to_main): Fail immediatly when unexpected output.
13828
1759b3c3
AC
138292001-08-18 Andrew Cagney <ac131313@redhat.com>
13830
13831 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
13832 beginning of function. Fix PR gdb/191.
13833
61d11d80
FCE
138342001-08-16 Frank Ch. Eigler <fche@redhat.com>
13835
13836 * config/sid.exp (sid_start): Don't warn if we cannot figure out
13837 what to force sid endianness to.
13838
942a4df2
KS
138392001-08-15 Keith Seitz <keiths@redhat.com>
13840
13841 * lib/gdb.exp (gdbtk_start): Don't set environment
13842 variables for TCL_LIBRARY and friends. Insight will
13843 now figure these out for itself.
13844
0521c418
MS
138452001-08-02 Michael Snyder <msnyder@redhat.com>
13846
13847 * gdb.base/completion.exp: Remove the symbol "a64l" from
13848 the expect string; this is target-specific, and not related
13849 to what is being tested.
13850
74a9a58a
DB
138512001-08-02 Dave Brolley <brolley@redhat.com>
13852
13853 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
13854
c70819fa
MS
138552001-07-25 Michael Snyder <msnyder@redhat.com>
13856
c2b8fa57
MS
13857 * gdb.base/consecutive.exp: New file. Test stepping over
13858 breakpoints on consecutive instructions.
13859 * gdb.base/consecutive.c: New file.
13860
c70819fa
MS
13861 * gdb.base/call-rt-st.exp: Use double-backslash to quote
13862 curly braces in regular expressions.
13863
2b1a1355
MS
138642001-07-25 Michael Snyder <msnyder@redhat.com>
13865
13866 * gdb.base/ending-run.exp: Accept "Program exited normally" as
13867 legitimate output from stepping out of main.
13868
413eca6f
KS
138692001-07-22 Keith Seitz <keiths@redhat.com>
13870
13871 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
13872 the empty string, do not run the tests.
13873
7e5a9322
SC
138742001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13875
13876 * gdb.base/long_long.exp: Detect size of pointer. Take into
13877 account 2-byte pointers when testing for p/a results.
13878
de58f10f
SC
138792001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13880
d63a86f8 13881 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
13882 and defined to 1K for m68hc11.
13883 (random_data): Reduce table to 1K for embedded platforms (68hc11).
13884 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
13885 (sizeof_random_data): New variable to tell the size of the data table;
13886 don't test past this size; always run to main.
13887
d6f5fea1
SC
138882001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13889
13890 * gdb.base/return2.exp: return of long long and double fails for
13891 68HC11; don't execute these tests on that platform.
13892 * gdb.base/return.exp: Return of a double fails for 68hc11.
13893
c477543d
SC
138942001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13895
13896 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
13897 tests that print a float.
13898 * call-rt-st.exp: Likewise.
13899
63cf1c79
MK
139002001-07-12 Mark Kettenis <kettenis@gnu.org>
13901
13902 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
13903 running this test on Linux.
13904
112f9ab5
MC
139052001-06-24 Michael Chastain <chastain@redhat.com>
13906
13907 * gdb.base/arithmet.exp: Remove some tests to make all test names
13908 unique.
13909
4970cb0f
MS
139102001-07-03 Michael Snyder <msnyder@redhat.com>
13911
13912 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
13913 the output of the ptype command.
13914
d85da69f
MS
139152001-07-02 Michael Snyder <msnyder@redhat.com>
13916
4c8a82de
MS
13917 * gdb.base/completion.exp: Don't assume that break.c is the only
13918 source file that may contain functions named "marker".
d85da69f
MS
13919 * gdb.base/corefile.exp: Quote the curly braces in regexp.
13920
8afc772b
AC
139212001-06-28 Andrew Cagney <ac131313@redhat.com>
13922
13923 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
13924 of files to delete.
13925
13926 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
13927 * gdb.disasm/h8300s.exp: New file.
13928 gdb.disasm/h8300s.s: Likewise.
13929
cff22675
AC
139302001-06-27 Andrew Cagney <ac131313@redhat.com>
13931
13932 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
13933 empty breakpoint tables.
13934
68c81b54
AC
139352001-06-25 Andrew Cagney <ac131313@redhat.com>
13936
13937 * lib/mi-support.exp: Update args=... part of stop-reason
13938 patterns. Accept either a list or a tuple.
13939
2dd62704
AC
139402001-06-23 Andrew Cagney <ac131313@redhat.com>
13941
13942 * lib/mi-support.exp: Remove local emacs variable defining
13943 change-log-default-name.
13944
b4127474
MC
139452001-06-22 Michael Chastain <chastain@redhat.com>
13946
13947 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
13948 This is operationally compatible with the previous version.
13949
8dbfb380
JB
139502001-06-13 Jim Blandy <jimb@redhat.com>
13951
13952 * lib/gdb.exp (gdb_test): Doc fix.
13953
f2d8c86d
MC
139542001-06-10 Michael Chastain <chastain@redhat.com>
13955
13956 * gdb.base/exprs.exp: Remove a duplicate test.
13957
81564d34
JB
139582001-06-06 Jim Blandy <jimb@redhat.com>
13959
13960 * gdb.base/return2.exp (main): Use values to test float and double
13961 returns that are not NaN's, to avoid being confused by IEEE
13962 comparison rules.
13963
da55addb
MS
139642001-06-04 Michael Snyder <msnyder@redhat.com>
13965
13966 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 13967 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
13968 rather than wait for 12 more tests to time out.
13969
42c65987
JB
139702001-06-06 Jim Blandy <jimb@redhat.com>
13971
b18bced9 13972 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 13973 Don't forget to match the GDB prompt.
b18bced9 13974
42c65987
JB
13975 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
13976
5b41e5f0
JB
139772001-06-04 Jim Blandy <jimb@redhat.com>
13978
13979 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
13980 command.
13981
015e046f
KB
139822001-05-31 Kevin Buettner <kevinb@redhat.com>
13983
13984 * gdb.base/annota1.exp (info break): Match four or more spaces
13985 after "Address".
13986
fb1ffbbe
MC
139872001-05-31 Michael Chastain <chastain@redhat.com>
13988
13989 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
13990 (dm_type_int_star): Likewise.
13991 (dm_type_long_star): Likewise.
13992 (dm_type_void_star): Likewise.
13993
5ea2a32c
KB
139942001-05-29 Kevin Buettner <kevinb@redhat.com>
13995
13996 * gdb.base/completion.exp (INPUTRC): Set this environment variable
13997 to a known value in order to get consistent results regardless
13998 of the setting of INPUTRC or the presence or contents of .inputrc.
13999
ae23c492
MS
140002001-05-24 Michael Snyder <msnyder@redhat.com>
14001
ac55707e
MS
14002 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
14003 Don't require that the main thread and the manager thread are the
14004 first in the list.
14005
ae23c492
MS
14006 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
14007 debugging. If test fails, issue an "unsupported" not a "fail".
14008
400071f1
JB
140092001-05-24 Jim Blandy <jimb@redhat.com>
14010
14011 Don't assume that short is shorter than int.
14012 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
14013 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 14014 this isn't true.
400071f1
JB
14015 ("print unsigned char == (~0)"): Add test that verifies that ~0,
14016 an int, is not equal to ~0 stored in an unsigned char. This tests
14017 the same thing that the previous test meant to, but works on
14018 16-bit machines, too.
14019 ("print unsigned char != (~0)"): Same test, complemented.
14020
0816a3e5
MS
140212001-05-24 Michael Snyder <msnyder@redhat.com>
14022
14023 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 14024 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
14025 and prevents dejagnu getting out of step.
14026
f6dc23a9
KB
140272001-05-23 Kevin Buettner <kevinb@redhat.com>
14028
14029 * gdb.base/finish.exp (finish_void): Revise pattern for
14030 stopping on the call statement to not permit stopping at
14031 the start of the instructions comprising the call sequence.
14032
7dbd117d
MC
140332001-05-19 Michael Chastain <chastain@redhat.com>
14034
14035 * gdb.base/callfuncs.exp: Make all test names unique.
14036 * gdb.base/commands.exp: Make all test names unique.
14037 * gdb.base/condbreak.exp: Make all test names unique.
14038 * gdb.base/dbx.exp: Make all test names unique.
14039 * gdb.base/default.exp: Make all test names unique.
14040 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
14041 and TIMEOUT messages to their corresponding PASS message.
14042 * gdb.base/ending-run.exp: Make all test names unique.
14043 * gdb.base/long_long.exp: Remove duplicate test.
14044
6b0b0a9e
KB
140452001-05-21 Kevin Buettner <kevinb@redhat.com>
14046
14047 * gdb.base/finish.exp (finish_void): Allow "finish" command to
14048 stop on the call statement as well as the statement after the
14049 call.
14050
2caa35cb
MS
140512001-05-21 Michael Snyder <msnyder@redhat.com>
14052
14053 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
14054
40713331
EZ
140552001-05-10 Elena Zannoni <ezannoni@redhat.com>
14056
a9c64011
AS
14057 * gdb.base/completion.exp: Revamp test. Make it execute on all
14058 platforms.
40713331 14059
c2c1be8d
EZ
140602001-05-10 Elena Zannoni <ezannoni@redhat.com>
14061
a9c64011
AS
14062 * config/gdbserver.exp (gdb_load): Handle the case
14063 in which the arguments to gdbserver are given in the
14064 baseboard configuration file.
14065 Also handle the case in which the server needs to do a
14066 load.
2c9cd303 14067
9671de48
KS
140682001-05-07 Keith Seitz <keiths@cygnus.com>
14069
a9c64011
AS
14070 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
14071 set up the display for testing.
14072 (gdbtk_start): Convert all paths to paths that tcl will like.
14073 Export target information to environment.
14074 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
14075 necessary.
14076 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
14077 (to_tcl_path): New proc to convert a given pathname into
14078 a path acceptible as an argument to a tcl command.
14079 (_gdbtk_export_target_info): New proc to export target info
14080 into the environment for gdbtk testing.
14081 (gdbtk_done): New proc to signal end-of-test.
9671de48 14082
5a360f47
JB
140832001-05-06 Jim Blandy <jimb@redhat.com>
14084
14085 * restore.c: Make the code of caller0 correspond to its comment.
14086
66c756c6
MS
140872001-05-03 Michael Snyder <msnyder@redhat.com>
14088
14089 * config/sid.exp (gdb_target_sid): Check for error messages.
14090 On error or timeout, don't make expect exit (which will terminate
14091 all subsequent tests); instead just make gdb exit.
d63a86f8 14092 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
14093 return a negative value.
14094
a966fde5
JB
140952001-04-24 Jim Blandy <jimb@redhat.com>
14096
851c18e0
JB
14097 * gdb.c++/templates.exp: If we see the prompt for the overload
14098 list, but we haven't recognized any of the longer patterns,
14099 arrange for this test to fail, not hang.
14100
a966fde5
JB
14101 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
14102 variations.
14103
db144853
MC
141042001-04-22 Michael Chastain <chastain@redhat.com>
14105
14106 * gdb.c++/local.exp: Use the 'runto' library function.
14107 * gdb.c++/namespace.exp: Likewise.
14108 * gdb.c++/overload.exp: Likewise.
14109
3207ec21
KB
141102001-03-26 Kevin Buettner <kevinb@redhat.com>
14111
14112 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
14113 * gdb.base/step-line.exp: New file. Test step/next in presence of
14114 #line directives.
14115 * gdb.base/step-line.c: New file. Test program for the above.
14116 * gdb.base/step-line.inp: New file. We pretend that this file has
14117 been transformed by some other tool into step-line.c.
14118
13b57657
JB
141192001-03-21 Jim Blandy <jimb@redhat.com>
14120
14121 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
14122 unmangled operator names.
14123
754cbe1c
JB
141242001-03-20 Jim Blandy <jimb@redhat.com>
14125
14126 * gdb.threads/linux-dp.exp: Recognize an additional message
14127 generated by GDB when it doesn't understand how to debug threads
14128 on the target system.
14129
177495c9
AC
141302001-03-19 Andrew Cagney <ac131313@redhat.com>
14131
14132 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
14133
f266096b
MC
141342001-03-12 Michael Chastain <chastain@redhat.com>
14135
14136 * gdb.c++/derivation.exp: Use the 'runto' library function.
14137
cac3c2ff
MC
141382001-03-12 Michael Chastain <chastain@redhat.com>
14139
14140 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
14141
b6c11a24
MC
141422001-02-24 Michael Chastain <chastain@redhat.com>
14143
14144 * gdb.c++/ref-types.exp: Change handwritten code to library
14145 function 'runto'.
14146
6bae5bce
OF
141472001-03-16 Orjan Friberg <orjanf@axis.com>
14148
14149 * gdb.base/signals.exp: Set count to 0 explicitly.
14150
0015fd9a
MS
141512001-03-15 Mark Salter <msalter@redhat.com>
14152
14153 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
14154 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
14155 (gdb_load): Add support for additional target_info: gdb_download_size
14156 and gdb_load_timeout.
0015fd9a 14157
fc33412a
DT
14158Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
14159
14160 * gdb.base/annota1.exp: Move test of isnative to earlier in the
14161 file -- to prevent failing when the compile fails but we have no
14162 intention of running the tests anyway.
14163
14164 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
14165 tests if set.
14166
14167 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
14168 integers.
14169
14170 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
14171 * gdb.c++/namespace.exp: Ditto.
14172
115f06de
OF
141732001-03-07 Orjan Friberg <orjanf@axis.com>
14174
14175 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
14176 * gdb.base/pointers.exp: Relax pattern match of decimals.
14177
b6ba6518
KB
141782001-03-06 Kevin Buettner <kevinb@redhat.com>
14179
14180 * Makefile.in, config/abug.exp, config/cfdbug.exp,
14181 config/cpu32bug.exp, config/dve.exp, config/est.exp,
14182 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
14183 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
14184 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
14185 config/sh.exp, config/sid.exp, config/slite.exp,
14186 config/sparclet.exp, config/udi.exp, config/unknown.exp,
14187 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
14188 config/vxworks.exp, config/vxworks29k.exp,
14189 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
14190 gdb.base/all-bin.exp, gdb.base/annota1.exp,
14191 gdb.base/arithmet.exp, gdb.base/assign.exp,
14192 gdb.base/async.exp, gdb.base/attach.exp,
14193 gdb.base/bitfields.exp, gdb.base/bitops.exp,
14194 gdb.base/break.exp, gdb.base/call-ar-st.exp,
14195 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
14196 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
14197 gdb.base/commands.exp, gdb.base/completion.exp,
14198 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
14199 gdb.base/constvars.exp, gdb.base/corefile.exp,
14200 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
14201 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
14202 gdb.base/ending-run.exp, gdb.base/environ.exp,
14203 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
14204 gdb.base/finish.exp, gdb.base/foll-exec.exp,
14205 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
14206 gdb.base/funcargs.exp, gdb.base/help.exp,
14207 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
14208 gdb.base/logical.exp, gdb.base/long_long.exp,
14209 gdb.base/maint.exp, gdb.base/mips_pro.exp,
14210 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
14211 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
14212 gdb.base/pointers.exp, gdb.base/printcmds.exp,
14213 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
14214 gdb.base/regs.exp, gdb.base/relational.exp,
14215 gdb.base/remote.exp, gdb.base/reread.exp,
14216 gdb.base/restore.exp, gdb.base/return2.exp,
14217 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
14218 gdb.base/selftest.exp, gdb.base/setshow.exp,
14219 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
14220 gdb.base/sigall.exp, gdb.base/signals.exp,
14221 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
14222 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
14223 gdb.base/step-test.exp, gdb.base/structs.c,
14224 gdb.base/structs.exp, gdb.base/structs2.exp,
14225 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
14226 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
14227 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
14228 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
14229 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
14230 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
14231 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
14232 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
14233 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
14234 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
14235 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
14236 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
14237 gdb.fortran/types.exp, gdb.java/jmisc.exp,
14238 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
14239 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
14240 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14241 gdb.trace/circ.exp, gdb.trace/collection.exp,
14242 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14243 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
14244 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
14245 gdb.trace/report.exp, gdb.trace/save-trace.exp,
14246 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
14247 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
14248 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
14249 notices.
14250
dc96c6c7 142512001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
14252
14253 * gdb.base/varargs.c (find_max_double): Fix printf format string:
14254 first arg is int not float.
14255
dc96c6c7 142562001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
14257
14258 * gdb.base/reread.exp: Unsupported for non-native targets;
14259 doesn't work for remote debugging.
14260
9b0c4aeb
FN
142612001-02-19 Fernando Nasser <fnasser@redhat.com>
14262
14263 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
14264 * gdb.base/ending-run.exp: Properly handle the BSP state when
14265 stepping past the end of main.
9b0c4aeb 14266
02aa71d5
MC
142672001-02-19 John Moore <jmoore@redhat.com>
14268
14269 * gdb.base/commands.exp (infrun_breakpoint_command_test):
14270 Converted HPUX fix for non-expected items following multiple
14271 step commands into general solution for all platforms.
14272
1fa449a4
MC
142732001-02-18 Michael Chastain <chastain@redhat.com>
14274
14275 * gdb.c++/classes.exp (do_tests): Change runto statements
14276 from "runto 'foo(void)'" to "runto 'foo'". This makes the
14277 statements demangler agnostic.
14278 * gdb.c++/virtfunc.exp (do_tests): Likewise.
14279 (gdb_virtfunc_restart): Likewise.
14280
b2f9ec70
MC
142812001-02-14 Michael Chastain <chastain@redhat.com>
14282
14283 * gdb.c++/inherit.exp (do_tests): Change runto statements
14284 from "runto 'foo(void)'" to "runto 'foo'". This makes the
14285 statements demangler agnostic.
14286
cf74b8ca
AC
14287Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
14288
14289 * gdb.threads/pthreads.exp: Unify pass/fail messages for
14290 ``continue to bkpt at common_routine in thread 2'' and ``stopped
14291 before calling common_routine 15 times'' tests.
14292
99f78f56
MC
142932001-02-11 Michael Chastain <chastain@redhat.com>
14294
14295 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
14296 Helps the test script figure out which demangler is in use.
14297 (dm_type_foo_ref): Ditto.
14298 (dm_type_int_star): Ditto.
14299 (dm_type_long_star): Ditto.
14300 (dm_type_unsigned_int): Ditto.
14301 (dm_type_void): Ditto.
14302 (dm_type_void_star): Ditto.
99707966 14303 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
14304 Probe the gdb demangler and set variables to accommodate
14305 formatting differences.
14306 (info_func_regexp): New function. Same as info_func, but
14307 matches against a regexp.
14308 (info_func): Match against a literal string.
14309 (print_addr_2): New function. Match against a literal string,
14310 which can be different from the input to gdb.
14311 (print_addr): Simply call print_addr_2 with the same argument twice.
14312 (test_lookup_operator_functions): Use demangler formatting variables.
14313 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
14314 the tests in the same order as the C++ class declaration.
14315 (test_paddr_operator_functions): Ditto.
14316 (test_paddr_overloaded_functions): Ditto.
14317 (test_paddr_hairy_functions): Use demangler formatting variables.
14318 Add reference to gdb/19 for related tests.
14319 (do_tests): Call probe_demangler.
14320
1de8f023
KB
143212001-01-30 Kevin Buettner <kevinb@redhat.com>
14322
14323 * gdb.c++/templates.cc (printf): Remove unused function definition.
14324
ca3f91ed
MS
143252001-01-26 Felix Lee <flee@redhat.com>
14326
14327 * sid.exp (sid_exit): Pass host, not target, to remote_close.
14328
143292001-01-25 matthew green <mrg@redhat.com>
14330
14331 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
14332 up sid.
14333 (sid_exit): Call `remote_pop_conn' after GDB is gone.
14334
143352001-01-25 matthew green <mrg@redhat.com>
14336
14337 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 14338 Deprecate $sid_spawn_id.
ca3f91ed
MS
14339 (sid_exit): Remove code necessary only for `spawn.'
14340
143412001-01-25 matthew green <mrg@redhat.com>
14342
14343 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
14344
fb18ec4a
MC
143452001-01-28 Michael Chastain <chastain@redhat.com>
14346
14347 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
14348 to call when tests fail. It takes gdb out of the overloaded
14349 function choice menu back to the main prompt, so that the test
14350 program stays synchronized.
14351 (set_bp_overloaded): New proc to collect all the common
14352 code for setting a breakpoint on an overloaded name. Calls
14353 take_gdb_out_of_choice_menu when needed.
14354 (menu_overload1arg): New variable to collect the repeated
14355 instances of the expected menu for an overloaded name. Change
14356 the regular expression to handle changes in g++ type encoding:
14357 "void" can be either "void" or "", and "unsigned int" can be
14358 either "unsigned int" or "unsigned".
14359 (continue_to_bp_overloaded): Change regular expressions to handle
14360 changes in g++ type encoding.
14361 (no proc): Call take_gdb_out_of_choice_menu when needed.
14362 Remove redundant calls to "info break". Accept either "canceled"
14363 or "cancelled". Change regular expressions in "info break"
14364 calls to handle changes in g++ type encoding. Give all tests
14365 unique strings.
14366
9c646a6e
BE
143672001-01-17 Ben Elliston <bje@redhat.com>
14368
14369 * config/sid.exp: New file.
14370
9549d9c1
AC
14371Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
14372
14373 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
14374
dc96c6c7 143752000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
14376
14377 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
14378 Add a RE to accept a non-ascii char if one is ever presented.
14379
b4df4f68
FN
143802000-12-20 Fernando Nasser <fnasser@redhat.com>
14381
297dd0fd 14382 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 14383
dc96c6c7 143842000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 14385
d63a86f8 14386 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
14387 in regexp. One '\' does not suffice on Linux.
14388
4a7bddb6
MC
143892000-12-09 Michael Chastain <chastain@redhat.com>
14390
14391 * gdb.base/break.exp (test_clear_command): Use a marker function
14392 rather than 'main' for the test function. Also move this
14393 test to an execution point where the marker function names are
14394 guaranteed to be bound to functions. (Executing tests after a
14395 'finish' from main runs into name conflicts with local names
14396 in __libc_start_main).
14397
dc96c6c7 143982000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
14399
14400 * gdb.base/finish.exp: New test for gdb's "finish" command.
14401 * gdb.base/return2.exp: New test for gdb's "return" command.
14402 * gdb.base/return2.c: New source file for above.
14403
dc96c6c7 144042000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
14405
14406 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
14407 * gdb.base/miscexprs.exp: Ditto.
14408 * gdb.base/pointers.exp: Ditto.
14409 * gdb.c++/derivation.exp: Ditto.
14410 * gdb.c++/local.exp: Ditto.
14411 * gdb.c++/namespace.exp: Ditto.
14412 * gdb.c++/overload.exp: Ditto.
14413 * gdb.c++/ref-types.exp: Ditto.
14414
dc96c6c7 144152000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
14416
14417 * gdb.base/constvars.exp: Test result of "up" command.
14418 * gdb.base/miscexprs.exp: Ditto.
14419 * gdb.base/pointers.exp: Ditto.
14420 * gdb.base/scope.exp: Ditto.
14421 * gdb.c++/derivation.exp: Ditto.
14422 * gdb.c++/local.exp: Ditto.
14423 * gdb.c++/namespace.exp: Ditto.
14424 * gdb.c++/overload.exp: Ditto.
14425 * gdb.c++/ref-types.exp: Ditto.
14426
44097287
FN
144272000-11-22 Michael Chastain <chastain@redhat.com>
14428
14429 * mips_pro.exp: Accept either "middle -> top -> main" or
14430 "middle -> main" in the backtrace, because gcc can optimize
14431 tail calls to jumps. Remove setup_xfail for the hppa case.
14432 Add a comment with the original warning messages from PR 3016,
14433 which was filed in 1993, to preserve them for posterity.
14434
9d2e1bab
ND
144352000-11-17 Nick Duffek <nsd@redhat.com>
14436
14437 * lib/gdb.exp (gdb_test): Override timeout with board info.
14438
1aca8eb7
ND
144392000-11-17 Nick Duffek <nsd@redhat.com>
14440
14441 * gdb.base/display.exp: Don't kill running stub. Add "again" to
14442 the second kill and detach messages.
14443
93076499
ND
144442000-11-17 Nick Duffek <nsd@redhat.com>
14445
14446 * configure.in: Add AC_EXEEXT.
14447 * configure: Regenerate.
14448 * Makefile.in (just-check): Export EXEEXT.
14449 * lib/gdb.exp ($EXEEXT): Import from environment.
14450 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
14451 expect "maint dump-me" on Cygwin.
14452 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
14453 $EXEEXT.
14454
30e87cd3
ND
144552000-11-17 Nick Duffek <nsd@redhat.com>
14456
14457 * gdb.base/break.exp: Test backtrace and finish from called
14458 function on all platforms, not just HP-UX.
14459
dc96c6c7 144602000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
14461
14462 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
14463 code from gdb_target_monitor, so it can be used independantly
14464 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 14465
dc96c6c7 144662000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
14467
14468 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
14469 * gdb.base/corefile.exp: Expect the message "Program is being
14470 debugged already" when we send the "corefile" command, since
14471 the preceeding gdb_load may have connected gdb to a remote target.
14472 * gdb.base/display.exp: Disable hardware watchpoints if new
14473 board info variable "no_hardware_watchpoints" is true.
14474 Replace single-letter commands with more readable ones.
14475 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
14476 if new board info variable "no_hardware_watchpoints" is true.
14477 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
14478 to see if stdio (printf) testing is possible.
14479 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
14480 board info variable "no_hardware_watchpoints" is true. Use new
14481 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
14482
39124dea
FN
144832000-11-13 Fernando Nasser <fnasser@redhat.com>
14484
14485 From Orjan Friberg <orjanf@axis.com>:
14486 * gdb.base/printcmds.exp: Escape curly braces followed by a number
14487 in array print pattern match.
14488
a9e2e984
FN
144892000-11-09 Fernando Nasser <fnasser@redhat.com>
14490
14491 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
14492 spelling "cancelled" to U.S. spelling "canceled" to match changes
14493 made to gdb.
14494 * gdb.c++/ovldbreak.exp: Ditto.
14495
c7db355b
PS
144962000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
14497
14498 * gdb.base/callfuncs.c (main): Moved to end of file, call
14499 t_double_values to initialize the FPU before inferior calls are made.
14500 * gdb.base/callfuncs.exp: Test for register preservation after calling
14501 inferior functions. Add tests for continuining, finishing and
14502 returning from a stop in a call dummy.
14503
dc96c6c7 145042000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
14505
14506 * gdb.base/commands.exp: Break up long lines, and re-indent.
14507
dc96c6c7 145082000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
14509
14510 * config/gdbserver.exp: Rewritten from the ground up, to make it
14511 compatible with the current dejagnu tree, and to make it work with
14512 the new "gdbserver" in libremote.
14513
dc96c6c7 145142000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
14515
14516 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
14517 * gdb.base/varargs.exp: Skip entire test if no printf support.
14518 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
14519 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
14520
dc96c6c7 145212000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
14522
14523 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
14524 no floating point support.
14525 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
14526 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
14527 * gdb.base/call-rt-st.exp: Ditto.
14528 * gdb.base/call-strs.exp: Ditto.
14529
bac5fc66
JG
145302000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
14531
14532 * gdb.base/sizeof.c: include <stdio.h>.
14533
14534 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
14535 'finish', otherwise uncaptured gdb_prompt would potentially
14536 throw remaining test points out of sync.
bac5fc66 14537
b22a6027
SB
145382000-07-26 Scott Bambrough <scottb@netwinder.org>
14539
14540 * gdb.base/recurse.exp: Run tests for all targets.
14541 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
14542 gnu-oldld case on ARM.
14543 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
14544 for ARM targets.
d63a86f8 14545
d8231941
AG
14546Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
14547
14548 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
14549 * gdb.java/configure: Rebuild.
14550
8caabe69
AG
14551Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
14552
14553 * gdb.java/jv-exp.exp: New file.
14554
9d273ca3
AG
14555Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
14556
14557 * configure: Rebuilt.
14558 * configure.in (configdirs): Add gdb.java.
14559 * gdb.java/jmisc.java: New file.
14560 * gdb.java/jmisc.exp: New file.
14561 * gdb.java/Makefile.in: New file.
14562 * gdb.java/configure: Rebuilt.
14563 * gdb.java/configure.in: New file.
14564 * lib/java.exp: New file.
14565
4f823a66
AC
14566Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
14567
14568 * gdb.base/exprs.exp: Test casts to a pointer including over and
14569 underflow.
14570
2391e11d
AC
14571Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
14572
14573 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
14574 and the compilers sizes.
14575
54602222
ND
145762000-07-09 Nick Duffek <nsd@redhat.com>
14577
14578 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
14579 (use_methods): New function.
14580 (main): Call use_methods().
14581 * gdb.c++/classes.exp (test_method_param_class): New procedure.
14582 (do_tests): Call test_method_param_class.
14583
2bec0572
ND
145842000-07-09 Nick Duffek <nsd@redhat.com>
14585
14586 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
14587 spelling.
14588 (test_enums): New procedure. Move enum tests from end of script
14589 to here. Set breakpoint on function name instead of line number.
14590 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
14591 (enums2): New marker function.
14592 (enums1): New function.
14593 (main): Call enums1(). Move enum tests to enums1().
14594
78492fde
AC
14595Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
14596
14597 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
14598 compile/link program. Update line numbers.
14599 * gdb.asm/d10v.inc: Define ``startup''.
14600 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 14601
49a2cef8
AC
14602Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
14603
14604 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
14605
3e6c8688
EZ
146062000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14607
14608 * gdb.base/maint.exp: Add 'maint print architecture' item to output
14609 of 'help maint print' command.
14610
9ff5cbe9
AC
14611Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
14612
14613 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
14614 they use gdb_expect_list.
14615
17c579bd
AC
14616Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
14617
14618 * gdb.base/commands.exp: Use ``set remote
14619 memory-read-packet-size'' instead of ``set endian big'' to test
14620 long commands.
14621
e6d71bf3
DB
146222000-06-03 Daniel Berlin <dan@cgsoftware.com>
14623
14624 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 14625 g++, and stop skipping them.
e6d71bf3
DB
14626
14627 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
14628 work under g++.
14629
d63a86f8 14630 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
14631 initialization.
14632
dc96c6c7 146332000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
14634
14635 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
14636 the regular expression: accept an (almost) arbitrary sequence of
14637 "frames-invalid" and "breakpoints-invalid" messages both before
14638 and after the "starting" message.
14639
dc96c6c7 146402000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
14641
14642 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 14643
dc96c6c7 146442000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
14645
14646 * gdb.base/annota1.exp (annotate-signal-handler-caller):
14647 Relax the regular expression a little, make it pass on Solaris 8.
14648
8216cda9
KB
146492000-05-12 Kevin Buettner <kevinb@redhat.com>
14650
14651 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 14652 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
14653 Instead, it is permissible for gdb to stop on the line of the
14654 call itself.
14655
1a570b2f
MS
146562000-05-12 Michael Snyder <msnyder@.cygnus.com>
14657
14658 * gdb.base/break.exp (bp on small function, optimized file):
14659 Add a second pass pattern. The behavior differs here between stabs
14660 and dwarf for one-line functions. Stabs preserves two line symbols
14661 (one before the prologue and one after) with the same line number,
14662 but dwarf regards these as duplicates and discards one of them.
14663 Therefore the address after the prologue (where the breakpoint is)
14664 has no exactly matching line symbol, and GDB reports the breakpoint
14665 as if it were in the middle of a line rather than at the beginning.
14666
dc96c6c7 146672000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 14668
d63a86f8 14669 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
14670 rather than "send_gdb" (for consistancy).
14671
7d418785
AC
14672Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
14673
14674 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
14675 * gdb.c++/templates.cc: Properly check for GCC version number.
14676 * lib/compiler.cc: Likewise
14677
dc96c6c7 146782000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 14679
d63a86f8 14680 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
14681 gdb may not stop at the first line of main, due to code motion.
14682
dc96c6c7 146832000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
14684
14685 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
14686 This test depends on parsing the printf output from the target.
14687 Since the sparclet stub doesn't do stdio, this will never work.
14688 * gdb.base/call-rt-st.exp: ditto.
14689 * gdb.base/call-strs: ditto.
14690
dc96c6c7 146912000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
14692
14693 * gdb.base/miscexprs.exp: make sizeof long array test portable.
14694
14695 * gdb.base/ending-run.exp: After connecting to a remote target,
14696 but before running, the target will appear to be in a random
14697 location. Specify both a file and a line for breakpoints.
14698 Also, the function that calls main may be called 'init'
14699 rather than 'start'.
14700
a5a51225
EZ
147012000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14702
14703 * gdb.base/help.exp: Update output for add-symbol-file command.
14704
7930cc7c
FN
147052000-04-10 Fernando Nasser <fnasser@cygnus.com>
14706
14707 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14708 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
14709
23e37ab1
C
147102000-04-07 J.T. Conklin <jtc@redback.com>
14711
e93c542c
C
14712 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
14713
23e37ab1
C
14714 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
14715
591b8fa3
PDM
14716Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
14717
14718 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
14719 values that can be represented exactly.
14720 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
14721 above change, and to not check against the directory part of the source
14722 file name.
14723 (step into print_long_arg_list): Likewise.
14724 (print print_small_structs from print_long_arg_list): Likewise.
14725 (print print_long_arg_list): Likewise.
14726
7a495180
EZ
147272000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14728
30b53638 14729 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 14730
beb998c6
AC
14731Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
14732
14733 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
14734
1c689132
DB
147352000-03-25 Daniel Berlin <dan@cgsoftware.com>
14736
14737 * gdb.base/commands.exp (deprecated_command_test): Add test for
14738 deprecate with no arguments.
14739
c1790a9d
JL
147402000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
14741
14742 * gdb.base/break.exp: Add new test for setting breakpoints on
14743 optimized code so we can test breakpoints work even when function
14744 prologues may be optimized away
14745
003ba290
FN
147462000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
14747
14748 From David Whedon <dwhedon@gordian.com>
a9c64011 14749 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 14750
6837a0a2
DB
147512000-03-22 Daniel Berlin <dan@cgsoftware.com>
14752
14753 * gdb.base/help.exp: Added test for new apropos command.
14754
b9593231
KB
147552000-03-21 Kevin Buettner <kevinb@redhat.com>
14756
14757 * gdb.base/pointers.c (usevar): New function.
14758 (main): Make sure that global variables v_int_pointer2, rptr,
14759 and y are all referenced someplace in the program by calling
14760 usevar() on them. [Some linkers delete symbols which are
14761 never referenced. The space remains, but there's no way to
14762 get a (symbolic) handle on the variable from the debugger.]
14763
751a959b
EZ
147642000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14765
14766 * gdb.base/printcmds.c: Add typedeffed arrays.
14767
14768 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
14769 procedure to test arrays that are typedef'd.
14770
73a93a32
JI
147712000-03-13 James Ingham <jingham@leda.cygnus.com>
14772
14773 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 14774 the library directories.
73a93a32 14775
fb40c209
AC
14776Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
14777
14778 * configure.in (configdirs): Add sub directory gdb.mi.
14779 * configure: Re-generate.
14780
14781 * gdb.mi: New directory.
d63a86f8 14782
ee4dd2c9
AC
147832000-02-25 Scott Bambrough <scottb@netwinder.org>
14784
14785 * gdb.base/long_long.exp: Correct test suite failure when printing
14786 a long long value as a double on ARM platforms.
14787
70f0cc22
JB
147882000-02-16 Jim Blandy <jimb@redhat.com>
14789
14790 * gdb.base/break.exp ("breakpoint line number"): Make sure the
14791 default source file is set properly before running this test.
14792
853819b8
EZ
147932000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14794
14795 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
14796 gdbtk/library directory, not in gdbtcl2.
14797
dfcd3bfb
JM
147982000-02-04 Jim Blandy <jimb@redhat.com>
14799
14800 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
14801 backslash from regexp pattern.
14802
14803 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
14804 procedure. Use it to run all the "continue to bp overloaded"
14805 tests. Note that this changes the names of the tests slightly.
14806 If the breakpoint hit message includes a hex PC value, because
14807 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
14808 from the real source code, still consider that a pass.
14809
14810 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
14811 XFAIL here if the breakpoint message contains a hex address. Note
14812 similar change on 1999-11-02.
14813
14814 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
14815
14816 * gdb.base/ptype.exp: Establish a default source file before
14817 calling get_debug_format.
14818
148192000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
14820
14821 * gdb.base/watchpoint.exp: Remove duplication of test messages.
14822
8b93c638
JM
148232000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
14824
14825 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
14826 of successive stepi commands -- while in the prologue we should see
14827 the function entry bracket.
14828
148292000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
14830
14831 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
14832 reach __change_mode() when stepping through the end of main().
14833
c5394b80
JM
148342000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
14835
14836 * gdb.base/default.exp: Fix expected pattern.
14837 * gdb.base/help.exp: Same.
14838
0d06e24b
JM
148392000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14840
14841 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
14842 Don't use xfail's because that affects only the following test.
d63a86f8 14843
0d06e24b
JM
14844 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
14845 solaris or linux.
14846
14847 * gdb.base/selftest.exp: Update to reflect changes to main.c.
14848
dc96c6c7 148492000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 14850
d63a86f8 14851 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
14852 "A syntax error" rather than "A parse error". Accept both.
14853
148542000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
14855
14856 * gdb.base/default.exp: Remove OS dependent string from "target
14857 remote" test.
14858 * gdb.base/help.exp: Same for "help target remote" test.
14859
c3f6f71d
JM
148602000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14861
14862 From Jim Kingdon <kingdon@redhat.com>:
14863
14864 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
14865 prompt (cleanup rather than necessity, but still might keep output
14866 from spilling to next test).
14867
148682000-01-02 Fred Fish <fnf@cygnus.com>
14869
14870 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
14871 AIX, which defines them in <sys/types.h>.
14872
ed9a39eb 148731999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 14874
ed9a39eb
JM
14875 * gdb.base/default.exp: Match arm* etc instead of arm in "info
14876 float" test.
14877
148781999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 14879
ed9a39eb 14880 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
14881
14882 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
14883 outermost frame disallowed".
14884
148851999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
14886
14887 * gdb.base/setvar.exp: New tests for setting the value of a struct
14888 with a constant list.
14889
148901999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
14891
14892 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
14893 require the user to type a cast before setting the value of a struct.
14894
de57eccd
JM
148951999-12-06 Jim Blandy <jimb@cygnus.com>
14896
14897 * gdb.base/default.exp: Expect the new 'info float' command on
14898 all i386 platforms.
14899
14900 * gdb.threads/linux-dp.exp: Expand our ability to recognize
14901 LinuxThreads libraries that don't support debugging.
14902
c2d11a7d
JM
14903Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
14904
14905 * gdb.base/remote.c: Fill the buffer with truely random data.
14906 Change the buffer type to ``unsigned char'' to simplify size
14907 arithmetic.
14908
14909 * gdb.base/remote.exp: Reduce download numbers by one. Typical
14910 stub only handles 400-1 byte packets. Verify that the download
14911 worked.
14912
149131999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
14914
14915 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
14916 tests, using UNRESOLVED for the untested cases. Also, does not wait
14917 for a timeout if the prompt was received before a recognizable pattern.
14918
149191999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
14920
14921 * lib/gdb.exp (gdb_expect_list): Fix spelling.
14922
149231999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14924
14925 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
14926 watchpoints.
14927
149281999-11-24 Jason Merrill <jason@casey.cygnus.com>
14929
14930 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
14931
14932 * gdb.c++/local.exp: Be more flexible in recognizing local class
14933 name mangling. Don't allow horribly truncated method names.
14934 * gdb.c++/derivation.exp: Expect protected inheritance.
14935 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
14936 * gdb.c++/virtfunc.exp: Likewise.
14937 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
14938 when printing a nested enum.
14939
149401999-11-22 Jim Blandy <jimb@cygnus.com>
14941
14942 * gdb.base/step-test.exp: Properly await GDB's response to setting
14943 a breakpoint on the call to large_struct_by_value.
14944
14945 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
14946 just because we have debug info for the `start' function.
14947
149481999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
14949
14950 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
14951 "Unknown signal" messages, which indicate (on LinuxThreads) that
14952 GDB doesn't know how to debug threads on this system. This is
14953 better than hanging while philosopher 0 dumps chatter into gdb.log.
14954
149551999-11-18 Tom Tromey <tromey@cygnus.com>
14956
14957 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
14958
149591999-11-18 Fred Fish <fnf@cygnus.com>
14960
14961 * gdb.base/coremaker2.c: Add sample program for generating
14962 cores that is more self contained than coremaker.c. Eventually
14963 I'll add more code to this and tie it into the testsuite.
14964
4ce44c66
JM
149651999-11-12 Stan Shebs <shebs@andros.cygnus.com>
14966
14967 * gdb.base/dollar.exp: Remove, now in gdb.hp.
14968
149691999-11-10 Jimmy Guo <guo@cup.hp.com>
14970
14971 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
14972 from $srcdir/lib/.
14973 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
14974 and gdb.c++/.
14975
14976 * gdb.c++/derivation.exp: remove redundant get compiler info code.
14977
d63a86f8 14978 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
14979 'continue with watch' test point.
14980
149811999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
14982
14983 Merged from p2linux-990323-branch:
d63a86f8 14984
4ce44c66
JM
14985 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
14986
11cf8741
JM
14987Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
14988
14989 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
14990 {limit,fixed}''. Test ``set download-write-size''.
14991
14992Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
14993
14994 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
14995 gdb_expect_list.
14996
14997Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
14998
14999 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
15000
150011999-11-03 Mark Salter <msalter@cygnus.com>
15002
15003 * gdb.base/break.exp: Fix "stub continue" pattern.
15004
150051999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
15006
15007 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
15008
150091999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
15010
15011 * gdb.base/display.exp ("finish"): Add timeout clause.
15012
15013 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
15014 plain prompt clause, so this doesn't have to time out in order to
15015 fail.
15016
15017 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
15018 breakpoint hit messages include an address.
15019
15020 * gdb.base/display.exp: Don't forget to escape parens in regular
15021 expressions. Unix regexp notatation sucks.
15022
150231999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15024
15025 * gdb.base/annota1.exp: Test for annotate-signalled: change output
15026 order for 'signalled' message.
15027
5c44784c
JM
150281999-11-01 Stan Shebs <shebs@andros.cygnus.com>
15029
15030 From Jimmy Guo <guo@cup.hp.com>:
15031 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
15032 * gdb.base/annota1.c: Add code for tests to work with.
15033
150341999-10-26 Frank Ch. Eigler <fche@cygnus.com>
15035
15036 * gdb.base/remote.exp: New test for remote downloading settings.
15037 * gdb.base/remote.c: New file with large .data.
15038
917317f4
JM
150391999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
15040
15041 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
15042 for LinuxThreads support, merged from the Code Fusion branch.
15043
15044Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
15045
15046 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
15047 containing exp_continue into a while within an expect. Don't
15048 attempt a start more than three times. Check return value from
15049 gdb_load.
d63a86f8 15050
2df3850c
JM
15051Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
15052
15053 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
15054 a pass case.
15055
2acceee2
JM
150561999-10-01 Kevin Buettner <kevinb@cygnus.com>
15057
15058 * gdb.base/break.c (main): Added a statement that we can step
15059 off of.
15060 * gdb.base/break.exp: Added tests for setting a breakpoint
15061 at an offset and stepping onto a breakpoint.
15062
150631999-10-01 Fred Fish <fnf@cygnus.com>
15064
d63a86f8 15065 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
15066 gdb output.
15067
c2c6d25f
JM
150681999-09-18 Jim Blandy <jimb@cris.red-bean.com>
15069
15070 * gdb.base/break.exp: Code locations are in hex, don't forget!
15071 (For HP-UX.)
15072
150731999-09-17 Stan Shebs <shebs@andros.cygnus.com>
15074
15075 * condbreak.exp: Use break.c as test program.
15076 * condbreak.c: Remove, redundant with break.c.
15077
150781999-09-15 Stan Shebs <shebs@andros.cygnus.com>
15079
15080 * config/monitor.exp (gdb_target_monitor): Disable X- and
15081 Z-packets if the target needs it.
15082
150831999-09-13 James Ingham <jingham@leda.cygnus.com>
15084
15085 * gdb.c++/overload.exp: Added tests for listing overloaded
15086 functions with function pointers in the arg, explicitly calling
15087 out the version you want.
15088
cff3e48b
JM
150891999-09-09 Stan Shebs <shebs@andros.cygnus.com>
15090
15091 * long_long.exp: Add variations of test cases that work for
15092 targets with 16-bit ints and 32-bit doubles.
15093
d4f3574e
SS
150941999-09-08 Stan Shebs <shebs@andros.cygnus.com>
15095
15096 * break.c (main): Compare a possibly-uninitialized argc with an
15097 unlikely value that fits in 16 bits.
15098
150991999-09-07 Stan Shebs <shebs@andros.cygnus.com>
15100
15101 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
15102 0xfeeb, don't want negative numbers if ints are 16 bits.
15103
15104 * lib/gdb.exp (skip_cplus_tests): New proc.
15105 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
15106 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
15107 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
15108 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
15109 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
15110 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
15111 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
15112 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
15113
15114 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
15115
15116Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
15117
15118 * gdb.base/corefile.exp (up): Allow a parameter to appear
15119 in the frame that we're going up to.
15120
15121 From Jim Blandy <jimb@cygnus.com>:
15122
15123 * gdb.base/default.exp (info float): Expect some output now.
15124
15125 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
15126 returning floating-point values to fail on the x86.
15127 * gdb.base/callfwmall.exp (do_function_calls): Same.
15128
15129 * gdb.base/list.exp (test_listsize): Correct expectations for
15130 listing line 1 with listsize 2. Also, listing a single line
15131 works now, as does listing three lines. [Kevin's note: There
15132 were a number of other cases fixed too where the expectations
15133 differed...]
15134
151351999-09-02 Stan Shebs <shebs@andros.cygnus.com>
15136
15137 * gdb.base/selftest.exp: Add case for when version prints as
15138 constant string instead of char pointer.
15139
104c1213
JM
151401999-08-25 Stan Shebs <shebs@andros.cygnus.com>
15141
15142 * gdb.base/ending-run.exp: Add Solaris case for what happens when
15143 stepping out of main.
15144
15145 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
15146 G++ used.
15147
15148 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
15149 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
15150
15151 * gdb.c++/ovldbreak.exp: Update match string in test that
15152 includes a warning of multiple breakpoints.
15153
151541999-08-24 Stan Shebs <shebs@andros.cygnus.com>
15155
15156 * gdb.base/display.exp: Improve precision of step-after-finish
15157 added yesterday.
15158
15159 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
15160 test.
15161
15162 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
15163 configs when using G++, not just hppa*.
15164
151651999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15166
15167 * gdb.base/async.c: New file.
15168 * gdb.base/async.exp: New file.
15169
15170Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
15171
15172 * gdb.base/break.exp: Tweak PA specific tests to properly handle
15173 PA64.
15174
53a5351d
JM
15175Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
15176
104c1213
JM
15177 * gdb.base/display.exp: "finish" can leave us mid-line on many
15178 targets, deal with it. Add a small constant to main, instead of
15179 1000 since main+1000 may not be a valid address in the target.
15180
53a5351d
JM
15181 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
15182 on hpux11.
15183
15184 * gdb.base/attach.exp: Handle another hpux11 error message variant
15185 when attaching to a process that does not exist.
15186
151871999-08-19 J.T. Conklin <jtc@redback.com>
15188
15189 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
15190 characters in 'continue to 1241' test.
15191
151921999-08-17 Stan Shebs <shebs@andros.cygnus.com>
15193
15194 * gdb.base/call-ar-st.exp: Add a shorter match case for the
15195 stop in print_long_arg_list, define and use a whitespace
15196 variable in print_small_structs test, add an XFAIL for Solaris.
15197 * gdb.base/dbx.exp: XFAIL func commands until somebody is
15198 interested enough to fix.
15199
7be570e7
JM
152001999-08-13 Keith Seitz <keiths@cygnus.com>
15201
15202 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
15203 (dbx_gdb_load): Remove. Use gdb_load instead, since that
15204 proc knows about targets other than the natives.
15205 (test_assign): Use "gdb_run_cmd" to "run" the target.
15206 Check that we've actually hit the breakpoint at main.
15207 When we attempt to assign a value to a local variable, check
15208 that the variable is in the current scope, i.e., don't use
15209 a test with an empty result.
15210
15211Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
15212
15213 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
15214 command.
15215
152161999-08-09 Stan Shebs <shebs@andros.cygnus.com>
15217
15218 From Jimmy Guo <guo@cup.hp.com> and others at HP:
15219 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
15220 gdb.compat, gdb.threads-hp.
15221 gdb.hp/configure, gdb.hp/configure.in: New files.
15222 gdb.hp/Makefile.in: Recurse into new subdirs.
15223 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
15224 gdb.hp/gdb.objdbg: New directory, tests for debugging info
15225 in object files.
15226 gdb.hp/tools: New directory, aux tools for HP-specific tests.
15227
96baa820
JM
152281999-08-05 Stan Shebs <shebs@andros.cygnus.com>
15229
15230 * gdb.base/display.exp: Help expect by putting a newline in the
15231 funky printf, remove a bogus p/a test.
15232
152331999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15234
15235 * gdb.base/display.exp: Make sure that when we say 'run', we are
15236 connected to the target. This is necessary when running not
15237 natively.
15238
152391999-08-03 Stan Shebs <shebs@andros.cygnus.com>
15240
15241 * gdb.base/step-test.exp: Removed some extraneous messages.
15242
15243 * gdb.base/long_long.exp: Don't run memory examination tests
15244 on little-endian targets (they will need a different set of
15245 results to match).
15246
152471999-08-02 Stan Shebs <shebs@andros.cygnus.com>
15248
15249 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
15250 until somebody decides to fix GDB.
15251
15252 * gdb.base/long_long.c: Stop compiler complaint by specifying long
15253 constant as "ULL".
15254 * gdb.base/long_long.exp: Loosen x/c test, add partial result
15255 matches for a couple x/2 commands.
15256
a0b3c4fd
JM
152571999-07-30 Stan Shebs <shebs@andros.cygnus.com>
15258
15259 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
15260 by merging in ref-types2 tests.
15261 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
15262
15263 From Jimmy Guo <guo@cup.hp.com> and others at HP:
15264 * gdb.c++/Makefile.in: Add standard actions.
15265 (EXECUTABLES): Rename from PROGS, update list.
15266 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
15267 from gdb.hp.
15268 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
15269 foo and bar locals.
15270 * gdb.c++/anon-union.exp: Fix tests to match.
15271 * gdb.c++/classes.exp: Run if HP compiler used, add extra
15272 expect matches to handle output variations.
15273 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
15274 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
15275 output, add HP alternatives for new and delete prints.
15276 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
15277 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
15278 * gdb.c++/demangle.exp: Use $style when reporting failure.
15279 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
15280 * gdb.c++/inherit.exp: Run if HP compiler used, add some
15281 match alternatives.
15282 * gdb.c++/local.exp: Add match alternatives or xfails for HP
15283 compilers.
15284 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
15285 * gdb.c++/method.exp: Add match alternatives.
15286 * gdb.c++/misc.cc: Add bool types.
15287 * gdb.c++/misc.exp: Add tests for bool types.
15288 * gdb.c++/overload.exp: Add xfails.
15289 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
15290 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
15291 add some more template parameter tests (only for HP currently).
15292 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
15293 * gdb.c++/virtfunc.cc: Add return type and value for main.
15294 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
15295 match alternatives.
d63a86f8 15296
a0b3c4fd
JM
152971999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15298
15299 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
15300
153011999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
15302
15303 * gdb.base/signals.exp: Don't expect getting a backtrace from
15304 within a signal handler to fail on Linux.
15305
153061999-07-29 Stan Shebs <shebs@andros.cygnus.com>
15307
15308 From Jimmy Guo <guo@cup.hp.com> and others at HP:
15309 * lib/gdb.exp: Remove some gratuitious semicolons.
15310 (delete_breakpoints): Increase timeout.
15311 (gdb_expect): Add -notransfer option.
15312 (gdb_test): Use -notransfer option.
15313 (get_compiler_info): Add f77 case.
15314 (get_compiler): New proc, split out from gdb_preprocess, add f77
15315 case.
15316 (gdb_preprocess): Call get_compiler.
15317
15318 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
15319 * gdb.base/attach.exp, gdb.base/display.exp,
15320 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
15321 gdb.base/long_long.exp, gdb.base/printcmds.exp,
15322 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
15323 third arg to gdb_test.
15324 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
15325 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
15326 HP-UX xfails, add others.
15327 * gdb.base/completion.exp: Reflect name change of self-test.
15328 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
15329 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
15330 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
15331 HP failure number.
15332 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
15333 useless HP-UX 10.30 references.
15334 * gdb.base/maint.exp: Loosen matches.
15335 * gdb.base/pointers.c (main): Declare more_code.
15336 * gdb.base/pointers.exp: Match on output of a `next'.
15337 * gdb.base/structs.c: Add prototypes.
15338 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
15339 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
15340
153411999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15342
15343 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
15344 command.
15345
153461999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15347
15348 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
15349 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
15350
15351 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
15352 debug info. Deal with lack of signal hanlder info in stack.
15353
a9c64011 15354 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
15355 * gdb.base/annota1.exp: If printf has debug info, deal with it.
15356
5a2468f5
JM
153571999-07-19 Stan Shebs <shebs@andros.cygnus.com>
15358
15359 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
15360 gdb.base/foll-vfork.exp: Don't run for crosses.
15361
adf40b2e
JM
15362Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
15363
15364 * gdb.base/configure.in: Check for gdbvars.exp instead of
15365 a1-selftest.exp.
15366 * gdb.base/configure: Re-generate.
15367
153681999-07-12 Stan Shebs <shebs@andros.cygnus.com>
15369
15370 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
15371 in trying to run first and name is too long.
15372
15373 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
15374 pointers2.c and pointers2.exp, respectively.
15375 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
15376 doschk happier.
15377
43e526b9
JM
153781999-07-08 Stan Shebs <shebs@andros.cygnus.com>
15379
15380 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
15381 callfuncs2.c and callfuncs2.exp.
15382
15383 * gdb.base/list.exp: Remove mistaken xfails.
15384 * gdb.base/list0.h: Add optional prototypes.
15385
9846de1b
JM
15386Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
15387
a9c64011 15388 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
9846de1b 15389 calling malloc.
a9c64011
AS
15390 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
15391 * ptype.exp: Move test for get_debug_format to before its first
9846de1b
JM
15392 use.
15393
153941999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15395
15396 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
15397 * gdb.base/annota2.cc, annota2.exp: Move from here.
15398 * gdb.c++/annota2.cc, annota2.exp: To here.
15399 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
15400
43ff13b4
JM
15401Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
15402
15403 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
15404 a consistent format.
15405
085dd6e6
JM
154061999-06-25 Stan Shebs <shebs@andros.cygnus.com>
15407
15408 From Jimmy Guo <guo@cup.hp.com> and others at HP:
15409 * lib/gdb.exp (get_compiler_info): Add detection for assorted
15410 HP compilers, also set the globals $true and $false.
15411
15412 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
15413 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
15414 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
15415 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
15416 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
15417 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
15418 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
15419 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
15420 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
15421 whatis.c} Add C++ compatible function definitions and return
15422 types, add includes for library functions.
15423 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
15424 * gdb.base/step-test.c (myglob): Rename from glob.
15425 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
15426 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
15427 files, move here from gdb.hp.
15428 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
15429 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
15430 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
15431 Adjust line numbers in regexps.
15432
15433 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
15434 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
15435 instead of 0/1.
15436
15437 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
15438 foll-vfork.exp: New files, move here from gdb.hp.
15439 * gdb.base/page.exp: New file, test of pagination command.
15440
15441 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
15442 recursion test.
15443 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
15444
15445 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
15446 gdb.base/solib.exp: Fix compiler invocation process.
15447
15448 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
15449 HP-UX 11, turn off overload resolution explicitly.
15450 * gdb.base/commands.exp: Set argument list explicitly, add
15451 watchpoint test.
15452 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
15453 them work.
15454 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
15455 expressions properly.
15456 * gdb.base/corefile.exp: Loosen the match slightly.
15457 * gdb.base/default.exp: Allow "Error accessing memory" message
15458 also.
15459 * gdb.base/display.exp: Skip over x/0 j if PA64.
15460 * gdb.base/funcargs.exp: Add xfails for HP-UX.
15461 * gdb.base/interrupt.exp: Ditto.
15462 * gdb.base/langs.exp: Add symbolic matches governed by compiler
15463 in use.
15464 * gdb.base/list.exp: Add xfails for HP-UX.
15465 * gdb.base/long_long.exp: Refine some of the numeric matches.
15466 * gdb.base/mips_pro.exp: Xfail on HP-UX.
15467 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
15468 * gdb.base/nodebug.exp: Succeed on more varieties of output.
15469 * gdb.base/opaque.exp: Remove some HP-UX xfails.
15470 * gdb.base/ptype.exp: Succeed on more varieties of output.
15471 * gdb.base/scope.exp: Add xfails for HP-UX.
15472 * gdb.base/sect-cmd.exp: Add more cases.
15473 * gdb.base/setvar.exp: Add xfails for HP-UX.
15474 * gdb.base/shlib-call.exp: Loosen some matches slightly.
15475 * gdb.base/signals.exp: Match on void symbolically.
15476 * gdb.base/step-test.exp: Add case for PA64.
15477 * gdb.base/term.exp: Add exit and restart.
15478 * gdb.base/twice.exp: Clean up after self.
15479 * gdb.base/varargs.exp: Disable overload resolution explicitly.
15480 * gdb.base/whatis.exp: Allow more ways to pass tests.
15481
15482 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
15483 no longer useful.
15484
15485Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
15486
15487 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
15488 list of patterns.
15489 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
15490 print_double_array(double_array)", "continuing to breakpoint
15491 1018", "print print_double_array(array_d)" and "continuing to
15492 1034" tests.
d63a86f8 15493
085dd6e6
JM
154941999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
15495
a9c64011 15496 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
15497
154981999-06-24 Stan Shebs <shebs@andros.cygnus.com>
15499
15500 * config/mt-*: Remove, these haven't been used since 1996.
15501
155021999-06-22 Stan Shebs <shebs@andros.cygnus.com>
15503
15504 * gdb.base/call-strs.c, gdb.base/ending-run.c,
15505 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
15506 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
15507
9e0b60a8
JM
155081999-06-18 Stan Shebs <shebs@andros.cygnus.com>
15509
15510 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
15511 simpler match case for the ptype of the big class.
15512
155131999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
15514
15515 * gdb.exp: Fix test for gdb_prompt existence.
15516
155171999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
15518
15519 * gdb.exp (gdb_test): Add fail after calls to perror.
15520
155211999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
15522
15523 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
15524
155251999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
15526
15527 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
15528
0f71a2f6
JM
15529Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
15530
15531 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
15532 malloc() is linked in.
15533
155341999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
15535
15536 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
15537 step at end.
15538
15539 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
15540
155411999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
15542
15543 * gdb.java/jv-print.exp: New file. (Our first Java test!)
15544
cce74817
JM
15545Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
15546
15547 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
15548 * gdb.base/mips_pro.exp: Likewise.
15549
155501999-06-02 Keith Seitz <keiths@cygnus.com>
15551
15552 * gdb.c++/templates.cc: Change all "new" operators to throw
15553 an exception.
15554 * gdb.c++/cplusfuncs.cc: Likewise.
15555
15556 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
15557
15558Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
15559
15560 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
15561 * gdb.base/ending-run.exp: When stepping out of main, accept a
15562 step into an arbitrary assembler file.
cce74817 15563
392a587b
JM
155641999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15565
d63a86f8 15566 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 15567 "breakpoint-invalid" to be printed.
d63a86f8 15568 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
15569 number of "frames-invalid" and "breakpoint-invalid" to be printed.
15570 * gdb.base/annota2.cc: Initialize a.x to 0.
15571
9e086581
JM
155721999-05-17 Keith Seitz <keiths@cygnus.com>
15573
15574 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
15575 when "skip_float_tests" set.
15576 Ditto for "print print_double_array(array_d)", "print print_small_structs",
15577 "print print_ten_doubles", and "step into print_long_arg_list".
15578 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
15579 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
15580 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
15581 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
15582 "skip_float_tests" is set.
15583 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
15584 when "skip_float_tests" set.
d63a86f8 15585
cd0fc7c3
SS
155861999-05-06 Keith Seitz <keiths@cygnus.com>
15587
15588 * gdb.base/annota2.cc: Include stdio.h.
15589
15590Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
15591
15592 * gdb.base/crossload.exp: Remove, this has been disabled ever
15593 since BFD stopped including all targets, and cross-GDB gets
15594 plenty of testing anyway.
15595 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
15596 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
15597 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
15598 * gdb.base/README: Remove, was doc for this.
15599 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
15600 needed.
15601
b83266a0
SS
156021999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15603
15604 * gdb.base/call-ar-st.exp: Fix one regular expression in test
15605 output.
15606
15607 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
15608 * gdb.base/annota2.exp: New file. More annotation tests.
15609 * gdb.base/annota1.c: New file. Source file for annota1.exp.
15610 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
15611
156121999-04-23 Angela Marie Thomas <angela@cygnus.com>
15613
15614 * config/cfdbug.exp: New file.
15615
7a292a7a
SS
156161999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
15617
15618 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
15619 Marcus Daniel's and Dale Hawkins's demangler crashes.
15620
15621 * gdb.c++/demangle.exp (test_gnu_style_demangling,
15622 test_lucid_style_demangling, test_arm_style_demangling,
15623 test_hp_style_demangling): Try Tom Tromey's core-dumping
15624 identifier under each demangling style.
15625
156261999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
15627
15628 * gdb.c++/demangle.exp: Include the current demangling style
15629 in all test names.
15630 (current_demangling_style): New global variable.
15631 (set_demangling_style, test_demangling_core, test_demangling,
15632 test_demangling_exact): New functions.
15633 (test_gnu_style_demangling, test_lucid_style_demangling,
15634 test_arm_style_demangling, test_hp_style_demangling): Use those,
15635 instead of calling gdb_test and gdb_test_exact directly.
15636 (catch_demangling_errors): New function, which reports errors
15637 signalled by the demangling test functions in an orderly way.
15638 (do_tests): Use catch_demangling_errors.
15639
156401999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
15641
15642 * gdb.base/signals.exp (test_handle_all_print): Use () for
15643 grouping in expressions, not {}.
15644
15645 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
15646 initialized yet.
15647
156481999-04-01 Stan Shebs <shebs@andros.cygnus.com>
15649
15650 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
15651 are listed.
15652
156531999-03-26 Stan Shebs <shebs@andros.cygnus.com>
15654
15655 * gdb.stabs/weird.exp: Test for CC being defined before
15656 looking at its value.
15657
156581999-03-25 Stan Shebs <shebs@andros.cygnus.com>
15659
15660 * gdb.base/call-ar-st.exp: Remove stray '#'.
15661 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
15662 "short int" and "long int".
15663 * gdb.c++/overload.cc: Cast the string added in the previous
15664 change, to mollify finicky HP compiler.
15665 * gdb.hp/reg-test.exp (testfile): Fix file name.
15666 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 15667
7a292a7a
SS
15668 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
15669 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
15670 alternate form of enum ptype.
15671
c906108c
SS
156721999-03-23 Stan Shebs <shebs@andros.cygnus.com>
15673
7a292a7a
SS
15674 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
15675 * gdb.hp/*.exp: Change all to run compiler probe only after
15676 passing skip_hp_tests, so as not to waste time on guaranteed
15677 failure.
15678
c906108c
SS
15679 * gdb.c++/overload.cc: Pass string instead of char addr, always
15680 init ccpfoo.
15681 * gdb.c++/templates.cc: Fix syntax error.
15682
7a292a7a
SS
15683Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15684
15685 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 15686 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
15687 command.
15688
156891999-03-18 James Ingham <jingham@cygnus.com>
15690
15691 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
15692
15693 * gdb.c++/method.exp: It was testing an uninitialized int on the
15694 stack and assuming it was positive.
15695
15696 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
15697
15698 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 15699 keep it from killing the rest of the tests.
7a292a7a
SS
15700 Use gdb_continue_to_end.
15701
15702 * gdb.base/sigall.exp: use gdb_continue_to_end.
15703
15704 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
15705
15706 * gdb.base/display.exp: use runto_main, not run.
15707
d63a86f8
RM
15708 * gdb.base/default.exp: Check for the current error message in the
15709 r abbreviation test.
7a292a7a
SS
15710 Add strongarm to the targets that know info float.
15711
d63a86f8 15712 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
15713 run which doesn't work with monitors.
15714
15715 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
15716
15717 * gdb.base/break.exp: use the gdb_continue_to_end proc.
15718
15719 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
15720 program. Traps the case (in Cygmon) when the program never really
15721 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
15722 more places, so I used my name. Sorry Mark...
15723
15724 * config/monitor.exp (gdb_target_monitor): added another
15725 target_info parameter: remotebinarydownload. This will set the
15726 remotebinarydownload flag if this is causing some boards trouble.
15727
157281999-03-18 Mark Salter <msalter@cygnus.com>
15729
15730 * lib/gdb.exp (continue_to_exit): New function.
15731
15732 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
15733 * gdb.base/ending-run.exp: Ditto.
15734 * gdb.base/step-test.exp: Ditto.
15735
157361999-03-16 Stan Shebs <shebs@andros.cygnus.com>
15737
15738 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
15739 (suggested by Art Haas <ahaas@neosoft.com>).
15740
157411999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
15742
15743 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
15744
15745Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
15746
15747 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
15748 descriptions of types (short unsigned int vs unsigned short, etc).
15749
157501999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
15751
15752 * gdb.base/call-strs.exp: Don't assume that `step' will step over
15753 a call to strlen; sometimes we do have sources.
15754
157551999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
15756
15757 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
15758 character, so GDB won't print garbage after its end.
d63a86f8 15759
c906108c
SS
15760 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
15761 breakpoint there instead. Sometimes GCC emits memcpy to handle
15762 the large structures being passed by value, so we step into that
15763 instead of sum_array_print, which obscures what we're really testing.
15764 * gdb.base/step-test.exp: However, we do want a test that notices
15765 the bizarre steps into memcpy, so do that here. Add check for
15766 stepping into function calls that pass large structures by value.
15767 ("Is that a noun clause, or are you just happy to see me?")
15768 Remove all references to specific line numbers.
15769 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
15770 New type and function.
15771 (main): Call large_struct_by_value, passing it a large struct by value.
15772 * lib/gdb.exp (gdb_get_line_number): New function.
15773
15774 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
15775 more portable.
15776
7a292a7a
SS
157771999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
15778
c906108c
SS
15779 * lib/gdb.exp: Doc fixes.
15780
7a292a7a
SS
157811999-03-05 Nick Clifton <nickc@cygnus.com>
15782
d63a86f8 15783 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
15784
157851999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
15786
c906108c
SS
15787 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
15788 commands. They're not germane to this test, and they don't work
15789 that way on remote targets.
15790
3fc11d3e
JM
157911999-03-01 James Ingham <jingham@cygnus.com>
15792
15793 * Changelog entries merged over from gdb development branch.
15794
3fc11d3e
JM
15795 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
15796
15797 * lib/gdb.exp (gdbtk_analyze_results): Generic function
15798 for outputting results of test run.
15799
2d4a1622 15800 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
15801
15802 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 15803
7a292a7a
SS
158041999-02-25 Felix Lee <flee@cygnus.com>
15805
15806 * lib/gdb.exp (debug_format): initialize
15807
c906108c
SS
158081999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
15809
15810 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
15811 * gdb.base/call-rt-st.c: Ditto.
15812
c906108c
SS
158131999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
15814
15815 * gdb.threads/pthreads.exp (horiz): New variable.
15816 (test_startup): Fix regexps that capture thread numbers.
15817
158181999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
15819
15820 * gdb.base/smoke.exp: Disambiguate two test case names (both
15821 called ``print'').
15822
15823Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
15824
15825 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
15826 compilation.
15827
158281999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
15829
15830 * gdb.base/miscexprs.exp: Change patterns to match GDB's
15831 actual output formatting.
15832 * gdb.base/smoke.exp: GDB removes leading 0's.
15833 * gdb.base/volatile.exp: Don't check type of remuneration;
15834 that variable is no longer defined in constvars.c.
15835 * gdb.base/step-test.c (main): Exit with explicit exit code.
15836 * gdb.base/step-test.exp: Remove two nexti checks--they are
15837 not portable.
15838
158391999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
15840
15841 * gdb.base/help.exp ("help delete display"): Fix test to match
15842 gdb's output.
15843
15844 * gdb.base/long_long.c (known_types): Initialize values to zero.
15845 * gdb.base/long_long.exp: Step one more line
15846 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
15847 leading zeros. Explicitly ask for hex formatting. Use
15848 unique test case names.
c906108c
SS
15849
15850Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15851
d63a86f8 15852 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
15853
15854 * gdb.c++/method.exp: Add missing close brace.
15855
158561999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
15857
15858 * gdb.base/maint.exp: Use 'set height 0' to disable page
15859 prompting, not 'set height 400'.
15860
15861 Fix a bunch of timeouts.
15862 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
15863 four separate tests, so expect doesn't take forever to match a ton
15864 of text against a regexp with lots of .* forms.
15865 ("maint print psymbols", "maint print symbols"): Make some of
15866 these greps more selective, so that expect doesn't try to wade
15867 through huge piles of output and time out.
15868
15869 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
15870
15871 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
15872 tests: one which doesn't expect shlib events to be reported, and
15873 another which does, but is XFAIL for all platforms other than
15874 HP/UX.
15875
15876 * gdb.base/break.exp: Teach the test suite that the `catch
15877 fork', `catch vfork', and `catch exec' commands produce error
15878 messages on platforms that don't provide these features.
15879
15880Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
15881
15882 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
15883 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
15884 (shortening names from solib_threshold.exp etc), won't run on
15885 anything but HP-UX for the foreseeable future.
15886 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
15887 reflect move.
15888
15889Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
15890
15891 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
15892 gdb.trace/Makefile.in (clean): Remove all test executables.
15893
15894Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
15895
15896 * gdb.base/shlib-call.exp: add test cases to verify that gdb
15897 successfully re-sets breakpoints in shared libraries.
15898 * gdb.base/shmain.c (main): return 0, don't fall off the end.
15899
15900Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15901
d63a86f8
RM
15902 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
15903 and compiled w/o GCC.
c906108c
SS
15904
15905 * gdb.hp/watch-cmd.exp: ditto.
15906
15907 * gdb.hp/watch-hp.exp: ditto.
15908
15909 * gdb.hp/xdb1.exp: ditto.
15910
15911 * gdb.hp/xdb2.exp: ditto.
15912
15913 * gdb.hp/dbx.exp: ditto.
15914
15915Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
15916
15917 * constvars.c: Remove C++-isms.
15918 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
15919 with GCC.
15920
15921Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
15922
15923 The following changes are part of the HP merge.
15924
15925 * gdb.base/break.exp: new tests to verify that catchpoints for
15926 fork, vfork, and exec don't trigger inappropriately.
15927
15928 * gdb.base/opaque.exp: compile one file at a time, then link.
15929
15930 * gdb.base/signals.exp: be more restrictive about which hppa
15931 systems receive a setup_xfail. new tests.
15932
15933 * gdb.base/solib_threshold.build: new file.
15934 * gdb.base/solib_threshold.exp: new file.
15935 * gdb.base/solib_threshold.link_opts: new file.
15936 * gdb.base/solib_threshold.mk: new file.
15937 * gdb.base/gen_solib_threshold.c: new file.
15938
15939 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
15940 tests. New tests for enums inside classes.
15941
15942 * gdb.c++/compiler.cc: indicate support of template debugging.
15943
15944 * gdb.c++/demangle.exp: run hp style demangling tests.
15945
15946 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
15947 tests.
15948
15949 * gdb.c++/misc.cc: changes to support new tests.
15950
15951 * gdb.c++/templates.cc: changes to support HP's compiler; changes
15952 to support new tests.
15953
15954 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
15955 gcc, then skip these tests.
15956
15957Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
15958
15959 The following files are part of the HP merge; some had longer
15960 names at HP, but have been renamed to be no more than 14
15961 characters in length.
15962
15963 * gdb.hp/ambiguous.cc: new file.
15964 * gdb.hp/ambiguous.exp: new file.
15965 * gdb.hp/attach.exp: new file.
15966 * gdb.hp/attach2.exp: new file.
15967 * gdb.hp/classes-hp.exp: new file.
15968 * gdb.hp/ctti.exp: new file.
15969 * gdb.hp/ctti-add.cc: new file.
15970 * gdb.hp/ctti-add1.cc: new file.
15971 * gdb.hp/ctti-add2.cc: new file.
15972 * gdb.hp/ctti-add3.cc: new file.
15973 * gdb.hp/dbx.exp: new file.
15974 * gdb.hp/exception.cc: new file.
15975 * gdb.hp/exception.exp: new file.
15976 * gdb.hp/foll-exec.c: new file.
15977 * gdb.hp/foll-exec.exp: new file.
15978 * gdb.hp/foll-fork.c: new file.
15979 * gdb.hp/foll-fork.exp: new file.
15980 * gdb.hp/foll-vfork.c: new file.
15981 * gdb.hp/foll-vfork.exp: new file.
15982 * gdb.hp/inherit-hp.exp: new file.
15983 * gdb.hp/more-steps.exp: new file.
15984 * gdb.hp/namespace.cc: new file.
15985 * gdb.hp/namespace.exp: new file.
15986 * gdb.hp/optimize.exp: new file.
15987 * gdb.hp/pxdb.c: new file.
15988 * gdb.hp/pxdb.exp: new file.
15989 * gdb.hp/quicksort.exp: new file.
15990 * gdb.hp/reg-test.exp: new file.
15991 * gdb.hp/reg-test.s: new file.
15992 * gdb.hp/sized-enum.c: new file.
15993 * gdb.hp/sized-enum.exp: new file.
15994 * gdb.hp/start-stop.exp: new file.
15995 * gdb.hp/templ-hp.cc: new file.
15996 * gdb.hp/templ-hp.exp: new file.
15997 * gdb.hp/thr-lib.c: new file.
15998 * gdb.hp/thr-lib.exp: new file.
15999 * gdb.hp/thr-lib.h: new file.
16000 * gdb.hp/thr-liblib.c: new file.
16001 * gdb.hp/virtfun-hp.c: new file.
16002 * gdb.hp/virtfun-hp.exp: new file.
16003 * gdb.hp/watch-cmd.exp: new file.
16004 * gdb.hp/watch-hp.exp: new file.
16005 * gdb.hp/xdb1.exp: new file.
16006 * gdb.hp/xdb2.exp: new file.
16007 * gdb.hp/xdb3.exp: new file.
16008
16009Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
16010
16011 The following files are part of the HP merge; some had longer
16012 names at HP, but have been renamed to be no more than 14
16013 characters in length.
16014
16015 * gdb.base/ss.h: new file.
16016 * gdb.base/call-ar-st.c: new file.
16017 * gdb.base/call-ar-st.exp: new file.
16018 * gdb.base/call-rt-st.c: new file.
16019 * gdb.base/call-rt-st-exp: new file.
16020 * gdb.base/call-strs.exp: new file.
16021 * gdb.base/ena-dis-br.exp: new file.
16022 * gdb.base/environ.exp: new file.
16023 * gdb.base/long_long.exp: new file.
16024 * gdb.base/sect-cmd.exp: new file.
16025 * gdb.base/shlib-cl2.exp: new file.
16026 * gdb.base/smoke.exp: new file.
16027 * gdb.base/so-impl-ld.c: new file.
16028 * gdb.base/so-impl-ld.exp: new file.
16029 * gdb.base/so-indr-cl.c: new file.
16030 * gdb.base/so-indr-cl.exp: new file.
16031 * gdb.base/varargs.exp: new file.
16032 * gdb.base/volatile.exp: new file.
16033 * gdb.base/whatis-exp.exp: new file.
7a292a7a 16034 * gdb.base/display.exp: new file.
c906108c
SS
16035 * gdb.c++/derivation.exp: new file.
16036 * gdb.c++/local.exp: new file.
16037 * gdb.c++/member-ptr.exp: new file.
16038 * gdb.c++/overload.exp: new file.
16039 * gdb.c++/ovldbreak.exp: new file.
16040 * gdb.c++/ref-types.exp: new file.
16041 * gdb.c++/ref-types2.exp: new file.
16042 * gdb.c++/userdef.exp: new file.
d63a86f8 16043
c906108c
SS
16044Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
16045
16046 * gdb.base/default.exp: Reflect wording change in remote.c.
16047
dc96c6c7 16048Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
16049
16050 * gdb.base/help.exp: Update to reflect current text.
16051
16052Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
16053
16054 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
16055 they're stack variables and contain garbage.
16056 * gdb.c++/anon-union.exp: new file.
16057
16058 The following changes were made by David Taylor
16059 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
16060 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
16061 in changes by HP.
16062
16063 * gdb.base/bitops.exp: new file.
16064 * gdb.base/default.exp: change expected messages for catch and
16065 info catch tests to reflect HP merge changes.
16066 * gdb.base/enable-disable-break.exp
16067 * gdb.base/ending-run.c: new file.
16068 * gdb.base/long_long.c: new file.
16069 * gdb.base/maint.exp: new file.
16070 * gdb.base/pointers2.exp: new file.
16071 * gdb.base/shlib-call2.exp: new file.
16072 * gdb.base/solib.exp: new file.
16073 * gdb.base/step-test.c: new file.
16074 * gdb.c++/anon-union.cc: new file.
16075 * gdb.c++/local.cc: new file.
16076 * gdb.c++/member-pointer.cc: new file.
16077 * gdb.c++/method.cc: new file.
16078 * gdb.c++/ref-types.cc: new file.
16079 * gdb.c++/ref-types2.cc: new file.
16080 * gdb.c++/userdef.cc: new file.
d63a86f8 16081
c906108c
SS
16082 * gdb.base/scope.exp: compile one file at a time, then link.
16083 * gdb.base/langs.exp: ditto.
16084 * gdb.base/list.exp: ditto.
d63a86f8 16085
c906108c
SS
16086Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
16087
16088 The following changes were made by David Taylor
16089 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
16090 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
16091 in changes by HP.
d63a86f8 16092
c906108c
SS
16093 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
16094 skip tests. When compiling pass c++ flag to gdb_compile.
16095 * gdb.c++/
d63a86f8 16096
c906108c
SS
16097 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
16098 test for on hppa*-*-hpux*; use args to see if c++ was specified.
16099 (skip_hp_tests): new function.
16100 (gdb_preprocess): new function.
16101
16102 * configure.in (hpdir): decide whether to configure gdb.hp.
16103 * configure: regenerated.
16104
16105 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
16106 to delete on clean.
16107 (EXECUTABLES): update to reflect new additions.
16108 * gdb.base/commands.exp: update message expected.
16109 * gdb.base/default.exp: add copyright notice.
16110 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
16111 * gdb.base/help.exp: update messages to reflect current text.
16112 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
16113 targets for recurse tests.
16114 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
16115 skip this file.
16116
16117 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
16118 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
16119 compilation.
16120 * gdb.c++/misc.exp: ditto.
16121 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
16122 run the tests. tell gdb_compile that it's a c++ compilation.
16123
16124 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 16125
c906108c
SS
16126 * gdb.base/all-bin.exp: new file.
16127 * gdb.base/arithmet.exp: new file.
16128 * gdb.base/assign.exp: new file.
16129 * gdb.base/completion.exp: new file.
16130 * gdb.base/cond-expr.exp: new file.
16131 * gdb.base/condbreak.exp: new file.
16132 * gdb.base/define.exp: new file.
16133 * gdb.base/dollar.exp: new file.
16134 * gdb.base/environment.exp: new file.
16135 * gdb.base/eval-skip.exp: new file.
16136 * gdb.base/jump.exp: new file.
16137 * gdb.base/logical.exp: new file.
16138 * gdb.base/pointers.exp: new file.
16139 * gdb.base/relational.exp: new file.
16140 * gdb.base/section_command.exp: new file.
16141 * gdb.base/whatis-expr.exp: new file.
16142
16143 * gdb.base/all-types.c: new file.
16144 * gdb.base/call-array-struct.c: new file.
16145 * gdb.base/call-return-struct.c: new file.
16146 * gdb.base/call-strings.c: new file.
16147 * gdb.base/callfuncs2.c: new file.
16148 * gdb.base/condbreak.c: new file.
16149 * gdb.base/constvars.c: new file.
16150 * gdb.base/display.c: new file.
16151 * gdb.base/int-type.c: new file.
16152 * gdb.base/jump.c: new file.
16153 * gdb.base/miscexprs.c: new file.
16154 * gdb.base/pointers.c: new file.
16155 * gdb.base/pointers2.c: new file.
16156 * gdb.base/shmain.c: new file.
16157 * gdb.base/shr1.c: new file.
16158 * gdb.base/shr2.c: new file.
16159 * gdb.base/solib.c: new file.
16160 * gdb.base/solib1.c: new file.
16161 * gdb.base/solib2.c: new file.
16162 * gdb.base/varargs.c: new file.
16163 * gdb.c++/derivation.cc: new file.
16164 * gdb.c++/overload.cc: new file.
16165 * gdb.c++/ovldbreak.cc: new file.
16166 * gdb.hp/attach.c: new file.
16167 * gdb.hp/attach2.c: new file.
16168 * gdb.hp/average.c: new file.
16169 * gdb.hp/compiler.c: new file.
16170 * gdb.hp/compiler.cc: new file.
16171 * gdb.hp/execd-program.c: new file.
16172 * gdb.hp/follow-exec.c: new file.
16173 * gdb.hp/follow-fork.c: new file.
16174 * gdb.hp/follow-vfork-and-exec.c: new file.
16175 * gdb.hp/misc-hp.cc: new file.
16176 * gdb.hp/more-steps.c: new file.
16177 * gdb.hp/optimize.c: new file.
16178 * gdb.hp/quicksort.c: new file.
16179 * gdb.hp/run-hp.c: new file.
16180 * gdb.hp/start-stop.c: new file.
16181 * gdb.hp/sum.c: new file.
16182 * gdb.hp/templates-hp.cc: new file.
16183 * gdb.hp/thread-local-in-lib.c: new file.
16184 * gdb.hp/thread-local-in-lib.h: new file.
16185 * gdb.hp/thread-local-in-lib.lib.c: new file.
16186 * gdb.hp/vforked-program.c: new file.
16187 * gdb.hp/virtfunc-hp.cc: new file.
16188 * gdb.hp/watchpoint-hp.c: new file.
16189 * gdb.hp/xdb.c: new file.
16190 * gdb.hp/xdb0.c: new file.
16191 * gdb.hp/xdb0.h: new file.
16192 * gdb.hp/xdb1.c: new file.
16193
16194Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
16195
16196 The following change was made by Edith Epstein
16197 <eepstein@cygnus.com> as part of a project to merge in changes
16198 originally made by HP; HP did not create ChangeLog entries.
16199
16200 * gdb.c++/demangle.exp: changed the expected output for some
16201 ARM-style mangling -- removed second reference to datatype.
16202 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 16203 T1<char>::~T1<char>(void)
c906108c 16204 becomes,
a9c64011
AS
16205 maint demangle __dt__11T1__pt__2_cFv
16206 T1<char>::~T1(void)
c906108c
SS
16207
16208 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 16209
c906108c
SS
16210Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
16211
16212 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
16213 * gdb.trace/backtrace.exp: Likewise.
16214 * gdb.trace/circ.exp: Likewise.
16215 * gdb.trace/collection.exp: Likewise.
16216 * gdb.trace/deltrace.exp: Likewise.
16217 * gdb.trace/infotrace.exp: Likewise.
16218 * gdb.trace/limits.exp: Likewise.
16219 * gdb.trace/packetlen.exp: Likewise.
16220 * gdb.trace/passc-dyn.exp: Likewise.
16221 * gdb.trace/passcount.exp: Likewise.
16222 * gdb.trace/report.exp: Likewise.
16223 * gdb.trace/save-trace.exp: Likewise.
16224 * gdb.trace/tfind.exp: Likewise.
16225 * gdb.trace/tracecmd.exp: Likewise.
16226 * gdb.trace/while-dyn.exp: Likewise.
16227 * gdb.trace/while-stepping.exp: Likewise.
16228
162291998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
16230
16231 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
16232
16233Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
16234
16235 From Brendan Kehoe:
16236 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
16237 int return types.
16238
16239Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
16240
16241 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
16242 remote dos host testing right.
16243
16244Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
16245
16246 * gdb.base/corefile.exp: remove some xfails.
16247
16248Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
16249
16250 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
16251 have different timestamps.
16252
16253Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
16254
16255 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
16256 gdb.base/default.exp: Replace "exec" with "executable".
16257
16258Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
16259
16260 * gdb.base/default.exp: Change else if to elseif from previous
16261 delta.
16262
16263Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
16264
16265 * gdb.base/default.exp: Add brace missing from previous delta.
16266
16267Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
16268
16269 * gdb.base/default.exp: Support test for info float for all
16270 varieties of arm toolchain.
16271
dc96c6c7 16272Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
16273
16274 * gdb.trace/*.exp: remove "remote_download" command.
16275
dc96c6c7 16276Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
16277
16278 * gdb.trace/*.exp: remove -gdwarf from compile.
16279
16280Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
16281
16282 * gdb.trace/configure.in(AC_INIT): typo
16283 * gdb.trace/configure: regenerated
16284
dc96c6c7 16285Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
16286
16287 * config/m68k-emc.exp: New file.
16288 * lib/<emc-support.exp trace-support.exp}: New files.
16289 * configure.in: add new test directory gdb.trace.
16290 * gdb.trace/{configure configure.in Makefile.in}: New files.
16291 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
16292 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
16293 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
16294 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
16295 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
16296 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
16297 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 16298
dc96c6c7 16299Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
16300
16301 * gdb.c++/classes.exp: Change all regular expressions to match
16302 arbitrary combinations of newline/carriage-return, so that they
16303 will work equally well on Unix and Windows.
16304 * gdb.c++/inherit.exp: ditto.
16305 * gdb.c++/virtfunc.exp: ditto.
16306
163071998-08-11 Dawn Perchik <dawn@cygnus.com>
16308
16309 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
16310
c2d11a7d
JM
16311Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
16312
16313 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
16314 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
16315 to use a0-a3/d0-d3 as needed.
16316
16317Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
16318
16319 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
16320 * gdb.disasm/am33.exp: Corresponding changes.
16321
c906108c
SS
163221998-07-11 Felix Lee <flee@cygnus.com>
16323
16324 * gdb.base/callfuncs.exp: add cmp10 test.
16325 * gdb.base/callfuncs.c (cmp10): new function.
16326
16327Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
16328
d63a86f8 16329 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
16330 into two parts to get around a synchronization problem in expect.
16331
3fc11d3e
JM
16332Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
16333
16334 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
16335
16336 * configure.in: Add options for gdbtk testsuite.
16337
16338 * configure: Regenerate.
16339
16340 * gdb.gdbtk: New directory to hold gdbtk tests.
16341
c906108c
SS
16342Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16343
16344 * gdb.fortran/types.exp: Escape brackets in expect patterns
16345 for test_float_literal_types_accepted tests.
16346 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
16347 before run test.
16348
c2d11a7d
JM
16349Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
16350
16351 * am33.exp: Just compile, do not link the testcase.
16352 * am33.s: Add ".am33" pseudoop to force am33 mode.
16353
c906108c
SS
163541998-06-25 Felix Lee <flee@cygnus.com>
16355
16356 * gdb.base/setshow.exp: make sure $pc is sane.
16357
16358 * gdb.stabs/weird.exp: split expect patterns properly.
16359
c2d11a7d
JM
16360Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
16361
16362 * gdb.disasm/am33.s: New disassembler testfile for the am33.
16363 * gdb.disasm/am33.exp: Run it.
16364
dc96c6c7 16365Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
16366
16367 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
16368 match processing (and eliminate spurious timeouts when running).
16369
dc96c6c7 16370Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
16371
16372 * gdb.base/signals.exp (test_handle_all_print): put back Mach
16373 exception test, but conditionalize it on target [mach | gnu].
16374
dc96c6c7 16375Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
16376
16377 * gdb.base/overlays.exp: fixup compile line for linker script.
16378
16379Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
16380
16381 * gdb.fortran/types.exp: don't guess at float size.
16382
16383Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
16384
16385 * gdb.base/exprs.exp: delete test that depends on int size.
16386
16387Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
16388
16389 * config/sim.exp: Removed checks for target triplets.
16390 (gdb_target_sim): Use gdb,target_sim_options.
16391
16392Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
16393
16394 * gdb.base/reread.exp: New file.
16395 * gdb.base/reread1.c: New file.
16396 * gdb.base/reread2.c: New file.
16397
16398Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
16399
16400 * config/sim.exp: Use 'target sim -sparclite' when running
16401 SPARClite programs.
16402
16403Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
16404
16405 * gdb.base/structs2.exp: New file.
16406 * gdb.base/structs2.c: New file.
16407
16408Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
16409
16410 * gdb.asm/common.inc: New file.
16411 * gdb.asm/d10v.inc: New file.
16412 * asm-source.exp: Pass -I's to gas to find .inc files.
16413 Update line numbers in expected output.
16414 * asmsrc1.s: Rewrite.
16415 * asmsrc2.s: Rewrite.
16416 * configure.in: Create arch.inc symlink.
16417 * configure: Regenerate.
16418 * Makefile.in (distclean): Delete arch.inc.
16419
16420Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
16421
16422 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
16423 (t_enum_value2): ditto
16424 (t_enum_value3): ditto
16425 (main): ditto
16426Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16427
16428 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
16429 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
16430 change.
16431 Use gdb_test instead of send_gdb/gdb_expect sequences.
16432
16433Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
16434
16435 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
16436 not void.
16437
16438Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
16439
16440 * gdb.base/branches.c: Code with lots of loops and
16441 subroutines. Used to test gdbs ability to single step through PC
16442 changes, especially to test mips-tdep.c:mips_next_pc
16443
16444Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
16445
16446 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
16447 more rigorous EGCS C++ error checking.
16448
16449Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16450
a9c64011
AS
16451 * gdb.base/help.exp: Clean up `help set args' and `help show args'
16452 tests.
16453 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
16454 function when asleep.
16455 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
16456 for i*86 Linux and SVR4 signal handling problems.
16457 Remove linux xfail for `next to handler in signals_tests_1', fixed
16458 by recent infrun.c change.
16459 Limit backtrace to 10 frames to avoid timeout problems with infinite
16460 stack backtraces.
16461 Adjust expect pattern in `handle all print' test to match Apr 28 1997
16462 target.[ch] change.
c906108c
SS
16463
16464Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
16465
16466 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
16467 for a newline from gdb before continuing.
16468 (default_gdb_exit): Just look for y or n.
16469 (gdb_test): Detect abnormal exit from GDB running on DOS; if
16470 it does, fail the rests of the tests in the file.
16471
16472Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
16473
16474 * config/cygmon.exp: New file.
16475
16476Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
16477
16478 * gdb.base/list.exp: Fix problem with "list default lines around
16479 main" test on remote targets.
16480
16481 * gdb.base/scope.exp: Fix problem with filelocal_bss before
16482 run test on remote targets.
16483
16484Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
16485
16486 * gdb.asm: New directory.
16487 * configure.in: Configure it.
16488 * configure: Regenerate.
16489 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
16490 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
16491
16492Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
16493
16494 * config/mn10300-eval.exp: New file to support MN10300 eval board.
16495
dc96c6c7 16496Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 16497
a9c64011
AS
16498 * gdb.base/overlays (several files): Merge the two overlay
16499 managers into one. Change variables (foox, barx, bazx, grbxx)
16500 back into ints but force them to load in their proper sections.
c906108c
SS
16501
16502Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
16503
16504 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
16505 on-chip insn memory and IMAP1 to upper 128k.
16506 (D10VCopy): Handle memory regions crossing 16k boundaries.
16507 (D10VCopy): Transfer data in 32 bit chunks.
16508
16509Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
16510
16511 * gdb.base/overlays.c (main): Exit normally when result is
16512 correct.
16513
16514 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
16515 map. Include space for printf in .text segment.
16516
16517 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
16518 updated d10v memory VMA/LMA map.
16519 (D10VCopy): Call D10VTranslate.
d63a86f8 16520
c906108c
SS
16521Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
16522
16523 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
16524
16525 * gdb.base/bar.c (barx, bar): Change variable to small array so
16526 that it won't be put into the .sdata - small data -
16527 section. Update reference.
16528 * gdb.base/baz.c (bazx, baz): Ditto.
16529 * gdb.base/foo.c (foox, foo): Ditto.
16530 * gdb.base/grbx.c (grbxx, grbx): Ditto.
16531
16532 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
16533 to be arrays.
d63a86f8 16534
dc96c6c7 16535Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 16536
a9c64011
AS
16537 * gdb.base/overlays.exp: fix up and get working again.
16538 Add tests for backtraces from an overlay function.
d63a86f8 16539
c906108c
SS
16540Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
16541
16542 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
16543 "calling function with watchpoint enabled".
16544
16545Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
16546
16547 * gdb.base/break.exp (test_next_with_recursion): Remove
16548 gdb_suppress_tests for d10v-*-*.
16549 * lib/gdb.exp (gdb_suppress_tests): Disable this function
16550 pending review of whether it is useful or not.
16551
16552Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
16553
16554 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
16555
16556Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
16557
16558 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
16559 * config/dve.exp: New file to support Densan boards.
16560
16561Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
16562
16563 * gdb.base/interrupt.exp: Document problem of simulators, signals,
16564 reads and BSD.
16565
16566Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
16567
16568 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
16569 response.
16570
16571 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
16572
16573Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
16574
16575 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
16576 test.
16577
16578 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
16579 target_sizeof_long and target_bigendian_p.
16580 (structs_by_value, structs_by_reference): Check values according
16581 to targets word size and endianess.
d63a86f8 16582
c906108c
SS
16583Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
16584
16585 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
16586 output.
16587
16588Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
16589
16590 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
16591 Update test of set args help to match source change.
16592
16593Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
16594
16595 * gdb.base/default.exp: Expect help system output to be in
16596 alphabetical order.
16597 * gdb.base/help.exp: Ditto.
16598
16599Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
16600
16601 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
16602 "i*86-pc-linux-gnu*".
16603 * gdb.base/interrupt.exp: Ditto.
16604 * gdb.base/corefile.exp: Ditto.
16605
16606 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
16607 define vxworks when building the testcase.
16608
16609 * gdb.base/ptype.exp: Fix testnames to be unique.
16610 * gdb.base/radix.exp: Ditto.
16611 * gdb.base/term.exp: Ditto.
16612 * gdb.base/whatis.exp: Ditto.
16613 * gdb.c++/classes.exp: Ditto.
16614
16615Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
16616
16617 * gdb.base/callfuncs.exp: Fix indentation.
16618
16619 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
16620 suppress_flag has been set.
16621 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
16622 target feature.
16623
16624Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
16625
16626 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
16627 the testcase.
16628
16629 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
16630 set_debug_traps() and breakpoint().
16631 * gdb.c++/misc.cc (main): Ditto.
16632 * gdb.c++/templates.cc (main): Ditto.
16633 * gdb.c++/virtfunc.cc (main): Ditto.
16634
16635Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
16636
16637 * lib/gdb.exp(gdb_step_for_stub): New function.
16638 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
16639 exists, reload the executable and do a "continue" instead of
16640 doing a jump.
16641 (runto_main): Use gdb_step_for_stub.
d63a86f8 16642
c906108c
SS
16643 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
16644 tests to have unique names.
16645 * gdb.base/callfuncs.exp: Ditto.
16646 * gdb.base/commands.exp: Ditto.
16647 * gdb.base/default.exp: Ditto.
16648 * gdb.base/help.exp: Ditto.
16649 * gdb.base/list.exp: Ditto.
16650 * gdb.base/opaque.exp: Ditto.
16651 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
16652 similar tests.
d63a86f8 16653
c906108c
SS
16654 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
16655 * gdb.c++/cplusfuncs.cc: Ditto.
16656 * gdb.c++/virtfunc.cc: Ditto.
16657
16658 * config/monitor.exp: Keep track of the last file we saw, rather
16659 than trying to get the info from gdb.
16660
16661 * gdb.fortran/types.exp: Move comment to previous line.
16662
16663Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
16664
16665 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
16666 target mode.
16667
16668Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
16669
16670 From Bob Manson:
16671 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
16672 string from GDB when it connects.
16673
16674 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
16675
16676Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
16677
16678 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
16679 if we can't get a debug format from GDB (we may be testing an
16680 older GDB). Use a 10 second timeout when checking for the format.
16681
16682 * gdb.stabs/weird.exp: Fix quoting.
16683
16684 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
16685
16686Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
16687
16688 * config/arm-ice.exp: New file.
16689
16690Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
16691
16692 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
16693 until it has been modified to work with the new testsuite.
16694
99707966 16695 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
16696 testcase won't compile, cause all of the testcases in the file to
16697 fail instead.
16698
16699 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
16700 (gdb_clear_suppressed): New procedure.
16701 (gdb_stop_suppressing_tests): Only clear suppress_flag if
16702 it contains a positive value.
16703
16704Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
16705
16706 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
16707
16708 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
16709
16710Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
16711
16712 * lib/gdb.exp (setup_xfail_format): New function.
16713 (get_debug_format): New function to get debug format.
16714 (debug_format): New global variable to hold last value set
16715 by get_debug_format.
16716 * gdb.base/list.exp: Call get_debug_format and expect some
16717 tests to fail for DWARF 1 and COFF formats.
16718 * gdb.c++/ptype.exp: Ditto.
16719 * gdb.c++/classes.exp: Ditto.
16720 * gdb.c++/cplusfuncs.exp: Ditto.
16721 * gdb.c++/inherit.exp: Ditto.
16722 * gdb.c++/templates.exp: Ditto.
16723 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 16724
c906108c
SS
16725Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
16726
16727 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
16728 host doesn't have a currently-open connection.
16729
16730 * config/sparclet.exp: Cleanups and fixes to make it generic for
16731 any gdb stub target. Handle cases where gdb doesn't respond when
16732 interrupted in a sane fashion.
16733
16734 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
16735 same thing in a totally different way.
16736
16737 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
16738 setting "timeout".
16739 (gdb_start): We set the global gdb_prompt variable in
16740 default_gdb_init now.
16741
16742Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
16743
16744 * gdb.base/printcmds.exp: Fix "check for floating addition"
16745 regexp to accept results within approx +/- .01 of exact value.
16746 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
16747
16748Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
16749
16750 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
16751 properly.
16752 (gdb_expect): Add optional timeout parameter, and add timeout
16753 value to various calls.
16754 (gdb_suppress_tests): Only give one warning message per group.
16755
16756Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
16757
16758 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
16759 global variables. Handle getting a value for $timeout more
16760 gracefully.
16761
16762Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
16763
16764 * lib/gdb.exp: Close connection to remote host if gdb doesn't
16765 initialize.
16766 (default_gdb_init): New procedure; allow gdb_init to be overridden
16767 by a target configuration file.
16768 (gdb_expect): Pass the timeout to remote_expect.
16769
16770 * config/monitor.exp(gdb_load): Fix typo in regexp.
16771
16772Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
16773
16774 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
16775
16776Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
16777
16778 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
16779 here. Call gdb_target_exec before rebooting the target, to make
16780 sure the connection to the target is closed.
16781 (gdb_load): Pass the name of the executable to gdb_target_monitor.
16782 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
16783 Also detect "Timeout reading from remote" error.
16784
16785 * config/gdbserver.exp: Pass the executable being loaded to
16786 gdb_target_monitor. Don't call gdb_file_cmd here; let
16787 gdb_target_monitor do it.
16788
16789 * gdb.disasm/hppa.exp: Don't use exec_output.
16790
16791Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
16792
16793 * gdb.base/list.exp: If we're debugging a non-native target,
16794 try to set the pc register to point to the start of the
16795 program before doing the first list command.
16796
16797 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
16798 test_calls after restarting.
16799
16800 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
16801 reloading.
16802
16803 * gdb.base/watchpoint.exp: Fix typo.
16804
16805 * gdb.base/setshow.exp: Check for use_gdb_stub.
16806
16807 * gdb.base/break.exp: Fix continue until exit test for the gdb
16808 stub case.
16809 * gdb.base/langs.exp: Ditto.
16810
16811 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
16812 gdb_load_offset. If we weren't given a file to load, figure out
16813 what the current file is and use it.
16814
16815 * config/i386-bozo.exp: New file.
16816
16817Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
16818
16819 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
16820 feature.
16821
16822 * config/proelf.exp: New entry.
16823
16824Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
16825
16826 * lib/gdb.exp: Remove spurious .* patterns at the beginning
16827 of regexps.
16828
16829 * gdb.base/watchpoint.exp: Don't run the test_stepping
16830 tests if gdb can't call functions on the target.
16831
16832 * gdb.base/setshow.exp: Don't run the set prompt tests if
16833 the board has gdb_prompt set.
16834
16835Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
16836
16837 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
16838 * gdb.base/commands.exp: Likewise.
16839 * gdb.base/setshow.exp: Likewise.
16840
16841Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
16842
16843 * config/monitor.exp(gdb_start): Look for gdb_prompt target
16844 feature.
16845
16846 * config/i960.exp: New file.
16847
16848Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
16849
16850 * gdb.base/funcargs.exp: Check for gdb,short_int target
16851 feature instead of looking for explicit target triplets.
16852
dc96c6c7 16853Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 16854
d63a86f8 16855 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
16856 "p 123DEADBEEF", to check parse_number.
16857 * top.c: change "to enable to enable" to "to enable" in a couple
16858 of help strings.
16859
16860Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
16861
16862 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
16863 on the mn10300.
d63a86f8 16864
c906108c
SS
16865Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
16866
16867 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
16868 where the test executable is run with explicit args.
16869 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
16870
16871Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
16872
16873 * gdb.base/run.c: Use FAKEARGV to build test executable that
16874 does not require a command line arg, since most simulators
16875 don't currently support passing such an arg into the simulated
16876 program.
16877 * gdb.base/commands.exp: Change tests to insert the proper
16878 value as the arg to the first recursive factorial call. Change
16879 compilation line to define FAKEARGV at compile time.
16880
16881Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
16882
16883 * gdb.base/recurse.exp: Enable these tests for the mn10300.
16884 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
16885 function with watchpoint enabled" test.
16886
16887Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
16888
16889 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
16890 Don't call gdb_test when the command doesn't return to a gdb prompt.
16891
16892 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
16893 "Tests restarted" messages.
16894
16895Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
16896
16897 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
16898
dc96c6c7 16899Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
16900
16901 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
16902 for INFO SYMBOL; add help tests for OVERLAY commands.
16903 * gdb.base/default.exp: add tests for INFO SYMBOL command;
16904 add tests for OVERLAY commands
16905 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
16906 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
16907 * gdb.base/sigall.c: add usestubs code frag
16908 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 16909
c906108c
SS
16910Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
16911
16912 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
16913 failures.
16914 (gdb_stop_suppressing_tests): Note that tests have restarted.
16915
16916Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
16917
16918 * config/h8300.exp: New file.
16919
16920Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
16921
16922 * gdb.base/setshow.exp: Check for the existence of a
16923 feature, not its value.
16924
16925Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
16926
16927 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
16928
16929 * gdb.base/scope.exp: It's now init0(), not init().
16930
16931 * gdb.base/scope0.c: For now, change init() to be init0().
16932
16933 * config/monitor.exp: Use gdb_serial in preference to serial
16934 or netport.
16935
16936 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
16937 and it's not already set.
16938
16939Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
16940
16941 * gdb.base/setshow.exp: Only test the run command if the target
16942 isn't using a stub and if it supports argument passing.
16943
16944Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
16945
16946 * config/udi.exp(gdb_start): Make sure UDICONF is set
16947 properly before starting gdb.
16948
16949Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
16950
16951 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
16952 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
16953 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
16954
16955Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
16956
16957 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
16958 specialized code to reboot the board, use remote_reboot instead.
16959
16960 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
16961
16962 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
16963
16964 * config/monitor.exp: Make sure we disconnect from the target.
16965 Also, try a reboot/reload cycle instead of failing if the
16966 load fails.
16967
16968Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
16969
16970 * gdb.base/default.exp: Don't set match_max.
16971 * gdb.base/help.exp: Ditto.
16972 * gdb.base/list.exp: Ditto.
16973 * gdb.base/signals.exp: Ditto.
16974
16975 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
16976 set, use remote_ld to download the testcase instead of
16977 the GDB loader.
16978
16979Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
16980
16981 * config/vr5000.exp: New file.
16982
16983 * config/monitor.exp(gdb_target_monitor): Add pattern for
16984 "Ending remote" to detect errors in connecting.
16985
16986 * gdb.base/setshow.exp: Add .* within auto language test.
16987
16988 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
16989 target feature.
16990
16991 * config/monitor.exp(gdb_load): Check for a failure when loading,
16992 and reboot the board if necessary.
16993
16994 * gdb.base/setvar.exp(test_set): Handle multiple prints within
16995 a set of tests. Remove print.* from the patterns being checked.
16996
16997Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
16998
16999 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
17000 refer to gdb_spawn_id.
17001
17002 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
17003 longer used.
17004 * config/sparclet.exp: Ditto.
17005 * config/sparclet-old.exp: Ditto.
17006 * config/slite.exp: Ditto.
17007 * config/sim.exp: Ditto.
17008 * gdb.base/funcargs.exp: Ditto.
17009
17010 * lib/gdb.exp:Remove references to gdb_spawn_id.
17011 (gdb_expect): Move to remote.exp.
17012
17013Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
17014
17015 * config/monitor.exp: Detect the "Couldn't establish connection"
17016 message from GDB.
17017
17018Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
17019
17020 * gdb.base/bitfields.exp: Use runto instead of explicit
17021 gdb_run_cmd/gdb_expect sequences.
17022
17023 * gdb.base/break.exp(text_next_with_recursion): Add match for
17024 gdb_expect call.
17025
17026 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
17027 We also need to handle the "A program is being debugged already"
17028 prompt from gdb. Use gdb_test to set the baud rate.
17029
17030 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
17031 to 20000. Really. I mean it.
17032
17033Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
17034
17035 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
17036 fails. If suppress_flag is set, skip perror message about not
17037 being able to send to GDB.
17038 (send_gdb): If suppress_flag is set, don't try to send commands to
17039 GDB.
17040 (gdb_expect): If suppress_flag is set, always fail immediately.
17041 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
17042 (gdb_init): Call gdb_stop_suppressing_tests.
17043 (default_gdb_exit): Ditto.
17044 (default_gdb_start): Ditto.
17045
17046 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
17047 gdb_stop_suppressing_tests as appropriate.
17048 * gdb.base/break.exp: Ditto.
17049 * gdb.base/callfuncs.exp: Ditto.
17050 * gdb.base/commands.exp: Ditto.
17051 * gdb.base/exprs.exp: Ditto.
17052 * gdb.base/funcargs.exp: Ditto.
17053 * gdb.base/list.exp: Ditto.
17054 * gdb.base/recurse.exp: Ditto.
17055 * gdb.base/scope.exp: Ditto.
17056 * gdb.base/structs.exp: Ditto.
17057 * gdb.c++/inherit.exp: Ditto.
17058
17059Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
17060
17061 * config/vr4300.exp: New file.
17062
99707966 17063 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 17064
99707966 17065 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
17066
17067Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
17068
17069 * lib/gdb.exp(gdb_init): New function.
17070
17071 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
17072 for each individual variable set.
17073
17074 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
17075 name.
17076
17077 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
17078
17079 * gdb.base/scope.exp: Use gdb_test.
17080
17081 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
17082 aborting; the testsuite driver will do that for us (see
17083 gdb_finish). Also, use gdb_test in a few more places.
17084
17085Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
17086
17087 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
17088
17089Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
17090
17091 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
17092 and "add_tests" are not at the same address.
17093
17094Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
17095
17096 * gdb.base/ptype.exp: Use gdb_test.
17097
17098Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
17099
17100 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
17101 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
17102 left in. No longer expect them to fail.
17103
17104 * gdb.stabs/*.mt; Deleted, no longer used.
17105 * gdb.stabs/configure.in: Remove references to target makefile
17106 frags.
17107 * gdb.stabs/configure: Rebuilt.
17108
17109 * gdb.disasm/*.mt: Deleted, no longer used.
17110 * gdb.disasm/configure.in: Remove references to target makefile
17111 frags. Use "sh3.s" as the unique filename for this directory.
17112 * gdb.disasm/configure: Rebuilt.
17113
17114 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
17115 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
17116 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
17117
17118Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
17119
17120 * config/udi.exp: Use mondfe,name instead of remote_host.
17121
17122Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
17123
17124 * gdb.base/watchpoint.exp: Don't expect a failure when calling
17125 a function with a watchpoint enabled on the mn10200.
17126
17127 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
17128 before trying to create it!
17129
17130Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
17131
17132 * config/vx.exp: Use hostname instead of netport.
17133
17134 * config/vxworks.exp: New file.
17135
17136 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
17137
17138 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
17139 gdb before assuming everything worked. Send a ^C if a timeout
17140 occurs.
17141
17142 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
17143 $gdb_spawn_id directly.
17144 (gdb_run_cmd): Try _start as well as start. Use the target feature
17145 gdb,start_symbol as the symbol to start from when jumping.
17146
17147Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
17148
17149 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
17150 redundant) test.
17151
17152 * gdb.base/recurse.exp: Relax final value test for 'b' so that
17153 it doesn't lose for 16bit integer systems.
17154
17155Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
17156
17157 * gdb.fortran/types.exp: If the target doesn't support "double"
17158 data types, then expect "real" types to only be 4 bytes.
17159
17160 * gdb.c++/virtfunc.exp: Expect failure for virtual function
17161 call tests if the target doesn't support inferior function calls.
17162
17163 * gdb.base/printcmds.exp: Allow minor deviation in FP values
17164 in printf tests.
17165
17166Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
17167
17168 * gdb.base/help.exp: Disable "help set", "help show", and
17169 "help support". Simplify regexp for "help stack".
17170
17171 * gdb.base/default.exp: Set match_max to 5000 and the timeout
17172 to 60 seconds. Temporarily set match_max to 15000 around the
17173 "info copying" test.
17174
17175 * gdb.base/nodebug.exp: Don't try to do an inferior function
17176 call if the target doesn't support them.
17177 * gdb.base/printcmds.exp: Likewise.
17178 * gdb.base/setvar.exp: Likewise.
17179 * gdb.base/structs.exp: Likewise.
17180 * gdb.c++/templates.exp: Likewise.
17181 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
17182
17183 * gdb.base/recurse.exp: Enable for the mn10200.
17184
17185 * configure.in: Do configure gdb.stabs directory for *-*-elf
17186 targets.
17187 * configure: Rebuilt.
17188
17189 * gdb.base/break.exp: Check for gdb,noresults before testing
17190 exit status and/or results from the target.
17191 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
17192 * lib/gdb.exp: Remove old (now bogus) initialization of
17193 noinferior, noargs, noresults and nosignals.
17194
17195Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
17196
17197 * config/sh.exp: New file.
17198
17199 * config/slite.exp: Try to connect multiple times to the board
17200 before rebooting. Only send a "monitor run" if need_monitor_run
17201 is set.
17202
17203 * gdb.base/break.exp: Don't do the "stub continue" test if
17204 the target has gdb_stub set.
17205
17206 * gdb.base/callfuncs.exp: Increase the timeout.
17207
17208 * gdb.base/interrupt.exp: Don't even try to compile the testcase
17209 if the target has gdb,noinferiorio set.
17210
17211 * gdb.base/list.exp: Increase match_max to 10000 characters.
17212
17213 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
17214
17215 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
17216 target.
17217
17218 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
17219
17220Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
17221
17222 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
17223 trying to delete the copy of gdb. Catch the file delete so we
17224 don't die if the delete fails; also, the file should be copied to
17225 the host, not to the build.
17226
17227Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
17228
17229 * lib/gdb.exp(gdb_test): Surround the result pattern with
17230 parenthesis in case it contains multiple regexps separated
17231 with |.
17232
17233 * gdb.base/watchpoint.exp: Use gdb_test.
17234 * gdb.base/default.exp: Ditto.
17235
17236Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
17237
99707966 17238 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 17239
c906108c
SS
17240 * gdb.base/scope.exp: Use gdb_test.
17241 * gdb.c++/classes.exp: Ditto.
17242 * gdb.c++/inherit.exp: Ditto.
17243
17244Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
17245
17246 * gdb.base/crossload.exp: Don't use execute_anywhere, use
17247 remote_exec instead.
17248 * gdb.base/corefile.exp: Don't be ridiculous.
17249 * gdb.base/*.c: Add missing stub invocations.
17250
17251Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
17252
17253 * config/slite.exp: Miscellaneous fixes.
17254
17255 * lib/gdb.exp: Fix runto.
17256
17257 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
17258 the target.
17259
17260 * gdb.base/watchpoint.exp: Fix regexp.
17261
17262 * lib/gdb.exp(default_gdb_exit): Add a catch to the
17263 close and wait commands, as the descriptor may now be
17264 invalid. Always call "remote_close host".
17265
17266Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
17267
17268 Major rewrite for testsuite revision.
d63a86f8 17269
c906108c
SS
17270 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
17271 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
17272 instead of relying on spawn_id to always contain a valid
17273 spawn id.
17274 (get_compiler_info): New procedure to build the ${binfile}.ci
17275 file, instead of replicating this in N different places.
17276 (gdb_compile): New procedure.
d63a86f8 17277
c906108c
SS
17278 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
17279 appropriate arguments) instead of compile. Use gdb_test in a lot
17280 more places. Use send_gdb instead of send. Always run gdb_start
17281 at the start of a testcase, as this is no longer done magically.
17282
17283 config/*-gdb.exp: Rename without the -gdb suffix.
17284
17285 config/mips.exp: Use remote_close instead of exit_remote_shell.
17286 config/monitor.exp: Use target_info instead of looking at
17287 baud, timeout, etc.
17288 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
17289
17290Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17291
17292 * gdb.c++/templates.exp (test_ptype_of_templates),
17293 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
17294 Update expect patterns for destructors and assignment operators
17295 to match corresponding c-typeprint.c changes.
17296 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
17297 to destructor breakpoint test, GDB should be able to set the
17298 destructor breakpoint without specifying arguments.
17299
17300Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
17301
17302 * gdb.threads/pthreads.exp: Change result for failure to compile due
17303 to lack of pthreads runtime support from an error to simply an
17304 unsupported test, per dejagnu standards.
17305
17306Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17307
17308 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
17309 where GDB exits to reduce pattern match time.
17310 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
17311
17312 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
17313
dc96c6c7 17314Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17315
17316 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
17317 * gdb.base/default.exp: ditto.
17318 * gdb.base/nodebug.exp: ditto.
17319 * gdb.base/printcmds.exp: ditto.
17320 * gdb.base/ptype.exp: ditto.
17321 * gdb.base/setvar.exp: ditto.
17322 * gdb.base/structs.exp: ditto.
17323 * gdb.base/setshow.c: Guard against uninitialized values of argc.
17324
17325Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
17326
17327 * configure, */configure: Rebuild with autoconf 2.12.
17328
17329Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
17330
17331 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
17332 use new i*86-pc-linux*-gnu quads.
17333 * gdb.base/corefile.exp: Ditto.
17334 * gdb.base/signals.exp: Ditto.
17335 * gdb.base/sigall.exp: Ditto.
17336 * gdb.base/interrupt.exp: Ditto.
17337
17338 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
17339 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
17340 RedHat 4.0.
d63a86f8 17341
c906108c
SS
17342 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
17343 linux. This allows the test case to at least compile on latest
17344 linux, but still not run due to missing the threads runtime library.
17345
17346Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17347
17348 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
17349 directory to search gdb directory. Accept and step over conditional
17350 stack alignment code. Consume $prompt in failure cases.
17351 Reset timeout to $oldtimeout instead of some arbitrary value.
17352 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
17353 timeout problems with infinite stack backtraces.
17354 * gdb.base/ptype.exp (ptype struct link, union tu_link):
17355 Accept function parameters for linkfunc member.
17356
17357Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
17358
17359 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
17360 (CXXFLAGS): Remove, unreferenced.
17361 (B_OPTIONS): Add for -B options and add code to initialize with
17362 previous -B options and also add -B option to pick up cross compiled
17363 runtime.
17364 (TARGET_INCLUDES): Add for -I options and add code to initialize when
17365 doing cross compiles.
17366 (target_alias): Declare global.
17367 (xgcc): Set variable to full path of gcc in build tree. Use findfile
17368 to verify that gcc exists in build tree, and if so set CC to that
17369 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 17370
c906108c
SS
17371Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
17372
17373 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
17374 ptype test for anonymous union. Fixup testcase to match
17375 current gcc debug output.
17376
17377Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
17378
17379 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
17380 force argument to an unsigned long type.
17381
17382Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
17383
17384 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
17385 tests and anonymous union print/ptype tests.
17386 * gdb.base/list.exp (test_forward-search): Increase timeout by
17387 5 minutes for the "search extremely long line" case.
17388 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
17389 completely optional and that the pass/fail messages use the command as
17390 the message if that third arg is a null string.
17391 (gdb_test_exact): Arrange that a null string pattern means match a
17392 null string output rather than any output, which might include random
17393 errors.
17394 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
17395 backtrace test.
17396 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
17397 always failing and failure is now exposed by gdb.exp changes.
17398
17399Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
17400
17401 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
17402 weren't being noted.
17403
17404Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17405
17406 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
17407 * gdb.stabs/weird.exp: Remove v_comb xfails.
17408
dc96c6c7 17409Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17410
17411 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 17412 list.exp scope.exp watchpoint.exp]
c906108c 17413 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 17414
dc96c6c7 17415Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17416
17417 * config/monitor.exp: Increase download timeout to 1000 seconds.
17418
dc96c6c7 17419Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17420
17421 * config/m32r.exp: Increase timeout to 120 seconds.
17422
17423Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
17424
17425 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
17426 and accept older ordering as obsolescent gcc or gdb.
17427 * gdb.c++/templates.exp: Ditto.
17428 * gdb.c++/virtfunc.exp: Ditto.
17429
17430Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
17431
17432 * gdb.base/coremaker.c: Add code to mmap some data so we
17433 can check that it ends up in the core file.
17434 * gdb.base/corefile.exp: Add test to read mmapped data
17435 from core file.
17436
dc96c6c7 17437Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17438
17439 * config/m32r.exp: New file.
17440
17441Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
17442
17443 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
17444 that cflags can contains -gstabs, and work correctly for other tests.
17445
dc96c6c7 17446Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17447
17448 * gdb.base/setshow.exp: New file, tests show and set.
17449 * gdb.base/setshow.c: New file, tests show and set.
17450 * gdb.base/help.exp: Add test for help set|show annotate.
17451 * gdb.base/default.exp: Add test for set|show annotate.
17452
17453Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
17454
17455 * testsuite/gdb.base/break.exp: Make backtrace from factorial
17456 errors unique.
17457 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
17458 explicitly.
17459
17460Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
17461
17462 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
17463 and width commands. This is done elsewhere.
17464 * (gdb_start): Don't call gdb_start_sim here. That's already
17465 done in gdb_load. This fixes lots of failures in default.exp.
17466
17467Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
17468
17469 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
17470 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
17471 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
17472 in the same we we treat other failures (since it may be an expected
17473 condition), rather than as an error.
17474 * gdb.base/signals.exp (test_handle_all_print): Revert back to
17475 old test format.
17476
17477Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
17478
17479 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
17480 (distclean maintainer-clean realclean): No need to remove files
17481 twice. Nuke the duplicates.
17482 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 17483 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
17484 Remove config.h along with other config files.
17485
17486Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
17487
17488 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
17489 "p func1 ()" and note that rests of tests are skipped.
17490 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
17491 setup_xfails for "print func2::coremaker_local".
17492 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
17493 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
17494 affected by the previous run test.
17495 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
17496 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
17497 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
17498 "pass int powerset tuple" and "pass modeless int powerset tuple".
17499 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
17500 "real write 4" and "real write 8".
17501 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
17502 setup_xfails for "print vs1 after tuple assign 2",
17503 "print \$i after tuple assign 2", and
17504 "print vs2 after tuple assign 2".
17505 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
17506 meaningful error message and return -1 so the caller can
17507 suppress further tests and avoid a cascade of errors.
d63a86f8 17508
c906108c
SS
17509Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
17510
17511 * gdb.base/a1-selftest.exp: Tweak tests to account for new
17512 format for printing version.
17513 * gdb.base/default.exp: Ditto.
17514 * gdb.base/interrupt.exp: Fix problem with cascade of
17515 errors if child process dies while calling a function.
d63a86f8 17516
c906108c
SS
17517Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
17518
17519 * Makefile.in (VPATH): Add
17520 * Makefile.in (Makefile, config.status): Fix rules so things get
17521 remade when necessary.
17522
17523Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
17524
17525 * Makefile.in (just-check): Add path to sibling expect dir
17526 to environment variable specified by RPATH_ENVVAR.
17527
17528Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
17529
17530 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
17531 (just-check): Add shared library paths for libstdc++, tk,
17532 tcl, bfd, and opcodes to the environment variable specified
17533 in RPATH_ENVVAR.
17534 * configure.in: Add support to recognize --enable-shared flag
17535 and generate correct value for RPATH_ENVVAR.
17536 * configure: Regenerated with autoconf.
17537
17538Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
17539
17540 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
17541 include all osf versions.
17542 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
17543 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
17544 when target is linux. When failing to build pthreads test
17545 executable, give more meaningful message.
17546 * gdb.threads/pthreads.c: Hpux also uses old definition of second
17547 arg for pthread_create.
d63a86f8 17548
c906108c
SS
17549Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
17550
17551 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
17552 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
17553 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
17554 and -lpthreads (everybody else).
17555 (test_startup): Fail gracefully if threads are not supported.
17556 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
17557 "p/c array_index("abcdef",2)" when not gcc compiled.
17558 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
17559 "print func2::coremaker_local" when not gcc compiled.
17560 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
17561 "ptype on opaque struct tagname (statically)",
17562 "ptype on opaque struct tagname (dynamically) 1", and
17563 "ptype on opaque struct tagname (dynamically) 2"
17564 for not compiled with gcc.
17565 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
17566 backtrace when compiled with gcc.
d63a86f8 17567 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
17568 than always return success.
17569
17570Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
17571
17572 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
17573
17574Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
17575
17576 * gdb.base/structs.exp: Undo last change.
17577
17578Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
17579
17580 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
17581 encapsulate all the steps/nexts done during self test, starting
17582 at main, and makes them less sensitive to optimization issues.
17583 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
17584 signal handler" test.
17585 * gdb.threads/pthreads.exp: Only run this for native configs.
17586 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
17587 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
17588 tests.
17589 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
17590 for "runto test_calls(void)" test.
d63a86f8 17591
c906108c
SS
17592Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
17593
17594 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
17595 and don't expect address info in breakpoint confirmations.
17596
17597Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
17598
17599 * gdb.base/list.exp (test_forward_search): Increase timeout
17600 temporarily by 60 seconds for searching extremely long line,
17601 and then reset to old value when done. Increase expect input
17602 buffer to 10000.
17603
17604Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
17605
17606 * gdb.base/list.exp (test_forward_search): Fix to handle very
17607 long source line without overflowing expect's input buffer.
17608
17609Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
17610
17611 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
17612 "buffer_full".
17613
17614 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
17615 "buffer_full".
17616
17617 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
17618 "buffer_full".
17619
17620 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
17621 "buffer_full".
17622
17623Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
17624
17625 * configure.in (configdirs): Add gdb.threads.
17626 * configure: Regenerated with autoconf.
17627 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
17628 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
17629 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 17630
c906108c
SS
17631Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
17632
17633 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
17634
17635Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
17636
17637 * gdb.base/signals.exp (test_handle_all_print): Test separately for
17638 each signal's status in the output of "handle all print".
17639 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
17640 the \r\n sequence that immediately precedes the gdb prompt.
17641 * gdb.base/a1-selftest.exp: Save original timeout and restore
17642 after test.
17643
17644Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
17645
17646 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
17647 symbol.
17648
17649Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
17650
17651 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
17652
17653Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
17654
17655 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
17656 timeout by 60 seconds.
17657
17658Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
17659
17660 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
17661 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
17662 error return.
17663
17664Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
17665
17666 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
17667 gdb initialization, also report how long dejagnu waited. Restore
17668 old timeout before doing error return. Temporarily increase timeout
17669 by 3 minutes to allow for slow startups over heavy NFS use.
17670
17671Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
17672
17673 * lib/gdb.exp: Report timeout value for verbosity level 2.
17674 * config/gdbserver.exp: Ditto.
17675 * config/hppro.exp: Ditto.
17676 * config/mips-gdb.exp: Ditto.
17677 * config/monitor.exp: Ditto.
17678 * config/netware.exp: Ditto.
17679 * config/sim-gdb.exp: Ditto.
17680 * config/slite-gdb.exp: Ditto.
17681 * config/udi-gdb.exp: Ditto.
17682 * config/unix-gdb.exp: Ditto.
17683 * config/vx-gdb.exp: Ditto.
17684 * gdb.base/a1-selftest.exp: Ditto.
17685 * gdb.base/a2-run.exp: Ditto.
17686 * gdb.base/break.exp: Ditto.
17687 * gdb.base/corefile.exp: Ditto.
17688 * gdb.base/list.exp: Ditto.
17689 * gdb.base/recurse.exp: Ditto.
17690 * gdb.base/scope.exp: Ditto.
17691 * gdb.base/signals.exp: Ditto.
17692
17693Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
17694
17695 * gdb.threads/Makefile.in (docdir): Removed.
17696
17697Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
17698
17699 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 17700 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 17701 @srcdir@.
d63a86f8 17702 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
17703 autoconf 2.5 or higher.
17704 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
17705
17706Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
17707
17708 * configure: Regenerated.
17709 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
17710 avoid name clashes with SunOS headers.
17711
17712Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
17713
17714 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
17715
17716Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
17717
17718 * gdb.base/callfuncs.exp: Finish last change -- make sure the
17719 prototype information ends up in the compiler info file.
17720
17721Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
17722
17723 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
17724 attempting to regenerate it. Eliminate use of a temporary file
17725 and just generate the info file directly. Source it immediately,
17726 for consistency of use.
17727 * gdb.base/corefile.exp: Ditto
17728 * gdb.base/exprs.exp: Ditto.
17729 * gdb.base/funcargs.exp: Ditto.
17730 * gdb.base/langs.exp: Ditto.
17731 * gdb.base/list.exp: Ditto.
17732 * gdb.base/mips_pro.exp: Ditto.
17733 * gdb.base/nodebug.exp: Ditto.
17734 * gdb.base/opaque.exp: Ditto.
17735 * gdb.base/ptype.exp: Ditto.
17736 * gdb.base/scope.exp: Ditto.
17737 * gdb.base/setvar.exp: Ditto.
17738 * gdb.base/signals.exp: Ditto.
17739 * gdb.base/whatis.exp: Ditto.
17740 * gdb.c++/templates.exp: Ditto.
17741 * gdb.c++/virtfunc.exp: Ditto.
17742 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
17743 whether or not to add -lstdc++ to the compile command line args.
17744
17745Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17746
17747 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
17748 it got fixed by the recent lookup_minimal_symbol_by_pc change.
17749 Increase timeout, a lot of single stepping might be needed if the
17750 target has no hardware watchpoints.
17751
17752Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
17753
17754 * gdb.base/break.exp: Ignore compiler warnings when compiling
17755 break.c.
17756 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
17757 * gdb.base/default.exp: Add h8300 xfails. Handle messages
17758 from remote-sim.
17759 * gdb.base/exprs.exp: Add h8300 xfails.
17760 * gdb.base/funcargs.exp: Likewise.
17761 * gdb.base/nodebug.exp: Likewise.
17762 * gdb.base/printcmds.exp: Likewise.
17763 * gdb.base/ptype.exp: Likewise.
17764 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
17765 h8300 xfails.
d63a86f8 17766 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
17767 on the h8300.
17768 * gdb.base/funcargs.c: Explicitly make last constant argument to
17769 call_after_alloca_subr an unsigned long type.
17770 * gdb.base/return.c: Include stdio.h.
17771
17772Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
17773
17774 * config/abug.exp: New file for the older Motorola Bug monitor
17775 that runs on the mvme13x series VME boards.
17776 * config/monitor.exp: Use the new config array for target settings
17777 if they exist.
17778
17779Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
17780
17781 * sim-gdb.exp: Make the SH simulator allocate less space when
17782 it is targeted.
17783
17784Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
17785
17786 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
17787 test.
17788
17789Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
17790
17791 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
17792 "rs6000-*-*" for "list function in include file" when gcc compiled.
17793 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
17794 for "p ctable1[120]".
17795 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
17796 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
17797 Remove setup_xfail for "rs6000-*-*" for
17798 "print 'scope0.c'::filelocal before run".
17799 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
17800 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
17801 since some compilers don't allow both options to be given
17802 on the same command line. Create object file and move it.
d63a86f8 17803
c906108c
SS
17804Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
17805
17806 * gdb.base/corefile.exp: Always regenerate the core file, since
17807 we always regenerate the coremaker program. Detect special case
17808 where registers cannot be read from core file.
d63a86f8 17809
c906108c
SS
17810Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
17811
17812 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
17813 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
17814 * gdb.c++/templates.exp: Only match on basename of file since
17815 some formats like xcoff don't encode directory information.
17816 * gdb.stabs/weird.exp: Use the right sed script for powerpc
17817 and rs6000 AIX xcoff targets.
17818 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
17819 * configure: Regenerate.
17820 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
17821 here, rather than in distclean.
d63a86f8 17822
c906108c
SS
17823Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
17824
17825 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
17826 defined, and use it to compile the test case with -O2. The
17827 native compilation still uses no optimization.
17828 * gdb.base/mips_pro.c: Remove inline assembly code since
17829 it is compiled PIC by default, which results in assembler
17830 warnings that make the testsuite think the compilation
17831 was unsuccessful.
17832
17833Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
17834
17835 * gdb.c++/misc.exp: Add note to message for
17836 "print s.a for foo struct" that this is a known gcc 2.7.2
17837 and earlier bug.
17838
17839Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
17840
17841 * gdb.base/break.exp: Fix pattern for matching "Delete all
17842 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
17843 setup_xfail for deleting all breakpoints test. Fix various
17844 timeout messages to include "(timeout)".
17845 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
17846 for "p t_float_values2(3.14159,float_val2)".
17847 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
17848 for "continue to call2g" when gcc compiled.
17849 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
17850 "up to foo in langs.exp", "show language at foo in langs.exp",
17851 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
17852 and "show language at fsub in langs.exp".
17853 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
17854 "list line 1 in include file", "list message for lines past EOF",
17855 "list function in include file", "list list0.h:foo", and
17856 "list filename:function; nonexistant function".
17857 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
17858 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
17859 and "ptype t_char_array" to be for native cc only.
d63a86f8 17860
c906108c
SS
17861Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
17862
d63a86f8 17863 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
17864 setup_xfail for "print coremaker_bss", "print coremaker_ro",
17865 "print func2::coremaker_local", and "backtrace in corefile.exp".
17866
17867Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
17868
17869 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
17870 "bt in signals.exp". This problem only appears when running
17871 the testsuite, and then only intermittently.
17872
17873Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
17874
17875 * gdb.base/return.exp (return_tests): Differentiate between
17876 two tests of continuing.
17877
17878Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
17879
17880 * */Makefile.in (maintainer-clean): Remove config.log.
17881 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
17882 * gdb.c++/Makefile.in (PROGS): Add inherit.
17883 (clean): Remove *.ci.
17884
17885Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
17886
17887 * gdb.c++/misc.cc: Add test code from Mike Stump.
17888 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
17889
17890Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
17891
17892 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
17893 to "alpha-*-osf2*" and add comment.
17894 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
17895 setup_xfail for "step over execarg initialization" and
17896 "step over corearg initialization".
17897 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
17898 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
17899 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
17900 gcc compiled for "print coremaker_bss", "print coremaker_ro",
17901 "print func2::coremaker_local", and "backtrace in corefile.exp".
17902 * gdb.base/signals.exp: Build and source signals.ci.
17903 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
17904 to be for gcc only.
17905 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 17906
c906108c
SS
17907Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17908
17909 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
17910 Feb 3 procfs.c change.
17911
17912Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
17913
17914 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
17915
17916Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
17917
17918 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
17919 from dejagnu's apparent default of 10 seconds, which gives random
17920 results when running the tests over NFS on moderately loaded systems.
17921 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
17922
17923Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
17924
17925 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
17926 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
17927 result reports.
17928
17929Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
17930
17931 * configure.in (CY_AC_PATH_TCLH): Remove.
17932 * configure: Regenerate.
17933
17934Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
17935
17936 * gdb.c++/Makefile.in (clean): Add missing '{'.
17937
17938Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
17939
17940 * lib/gdb.exp: Provide a default value for noinferior.
17941
17942 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
17943 Load libgloss.exp.
17944
17945Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
17946
17947 * gdb.disasm/hppa.exp: Compile directly into an executable, use
17948 the executable, not the .o to run the tests from.
17949
17950Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
17951
17952 * gdb.base/break.exp: Don't test for program exit or exit status
17953 if $noresults if nonzero.
17954 * gdb.base/langs.exp: Likewise.
17955 * gdb.base/watchpoint.exp: Likewise.
17956
17957 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
17958 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
17959 trying to compile the testcase.
17960
17961Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
17962
17963 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
17964 * gdb.base/signals.exp (continue to handler): Likewise.
17965
17966Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
17967
17968 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
17969
17970 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
17971
17972Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
17973
17974 * gdb.base/corefile.exp: Recognize "not found" as failure
17975 when trying to determine if a core file was generated.
17976 If no core file was generate the first time, try again without
17977 the ulimit -c to work around braindamaged shells.
17978
17979Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
17980
17981 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
17982 [] tests with "test" and enclose string in quotes.
17983 * gdb.stabs/configure: Rebuild
d63a86f8 17984
c906108c
SS
17985Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
17986
17987 Changes in sync with expect:
17988 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
17989 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
17990 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
17991 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
17992 argument to AC_REQUIRE.
17993 * configure: Regenerated.
17994
17995Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
17996
17997 * gdb.base/corefile.exp: When generating a core, discard any
17998 error messages about ulimit not found and the "core dumped"
17999 message from the shell that runs the coredumper.
18000
18001Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
18002
18003 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
18004
18005 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
18006 which sed script to run. Expect failure for v_comb test
18007 on PA targets too.
d63a86f8 18008
c906108c
SS
18009Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
18010
18011 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
18012 "print func2::coremaker_local" and for "backtrace in corefile.exp"
18013
18014Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
18015
18016 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
18017 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
18018 "sparc-sun-solaris*" xfails for "p v_comb".
18019 * lib/gdb.exp (default_gdb_start): Fix typo.
18020 * gdb.base/corefile.exp: Allow "Core was generated by ..."
18021 messages to not include the full program name that caused
18022 the core dump since some systems (such as solaris) apparently
18023 truncate this path to about 80 characters.
18024 When generating a core file first try increasing the core file
18025 size limit to unlimited since some systems may default it to
18026 zero, and it is harmless to try it. Move the test for failing
18027 to generate a core file to where it will actually get executed.
18028 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
18029 new gdb result from g++ debug info improvements and make old
18030 pattern obsolescent. Also account for size_t differences
18031 (may be int or long).
18032 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
18033 initialization before function call is placed in the delay slot
18034 and thus appears to be skipped over by commands such as "next".
18035
18036Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
18037
18038 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
18039
18040Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
18041
18042 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
18043 input source file; fix code to compile test to deal with this
18044 convention.
18045 * gdb.c++/*.exp: Likewise.
18046
18047Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
18048
18049 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
18050 "bt in signals.exp".
18051
18052Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
18053
18054 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
18055 "step over execarg initialization" and
18056 "step over corearg initialization".
18057
18058Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
18059
18060 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
18061 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
18062
18063Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
18064
18065 From Rob Savoye (rob@poseidon.cygnus.com)
18066 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
18067 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
18068 configure.in}, gdb.disasm/{Makefile.in, configure.in},
18069 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
18070 configure.in}: Major reworking for autoconfig.
18071 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
18072 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
18073 New files.
18074 * config/unix-gdb.exp: Make GDB global.
18075 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
18076 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
18077 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
18078 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
18079 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
18080 term.exp, twice.exp, watchpoint.exp, whatis.exp},
18081 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
18082 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
18083 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
18084 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
18085 pr-8136.exp, result.exp, string.exp, tuples.exp},
18086 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
18087 to returns as necessary, arrange for test to compile own testcase
18088 executable.
18089 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 18090
c906108c
SS
18091Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
18092
18093 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
18094 clear_xfail at end of test which might not call either pass or fail.
18095 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
18096 "backtrace through signal handler".
18097
18098Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18099
18100 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
18101 continuing from a job control stop signal.
18102 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
18103
18104Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
18105
18106 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
18107 * gdb.base/corefile.exp: Likewise.
18108 * gdb.base/funcargs.exp: Likewise.
18109
18110Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
18111
18112 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
18113 * config/monitor.exp: Add support for setting baud rate.
18114
18115Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
18116
18117 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
18118 i*86-*-linux* xfails for "backtrace through signal handler".
18119 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
18120 "print func2::coremaker_local".
18121 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
18122 alpha-dec-osf2* xfail for
18123 "delete all breakpoints when none".
18124
18125Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
18126
18127 * gdb.base/break.exp: Change test that deletes all breakpoints
18128 when no user breakpoints are installed. A post 4.15 change
18129 causes gdb to no longer prompt in this case.
18130
18131Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
18132
18133 * gdb.base/return.exp (return_tests): Change xfail for test
18134 "correct value returned double test" to stop xfailing at
18135 Solaris 2.5. Apparently the bug has been fixed.
18136
18137Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
18138
18139 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
18140 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
18141
18142Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
18143
18144 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
18145 * gdb.disasm/hppa.s: Corresponding changes.
18146
18147Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
18148
18149 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
18150 makefile fragment.
18151 * config/mt-hpux: Deleted.
18152
18153Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
18154
d63a86f8 18155 * Many files: When warning about suppressed tests due to a
c906108c
SS
18156 nonexistant test binary, avoid incrementing the warning count.
18157
18158Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
18159
18160 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 18161
c906108c
SS
18162Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18163
18164 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
18165 "sparc-*-solaris2*".
18166
18167Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18168
18169 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
18170 Add global and local variables and initialize them.
18171 * gdb.base/corefile.exp: Test correct mapping of corefile sections
18172 by printing variables. Remove rs6000 and powerpc xfails, BFD now
18173 extracts the file name and terminating signal from the core file.
18174 * TODO: Remove note about tests for correct mapping of corefile.
18175 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
18176 from optimizing it away.
18177 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
18178 handles common blocks.
18179
18180Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
18181
18182 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
18183 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
18184
18185Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
18186
18187 * Makefile.in (maintainer-clean): New target, synonym for
18188 realclean.
18189 * gdb.base/Makefile.in (maintainer-clean): Likewise.
18190 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
18191 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
18192 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
18193 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
18194 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
18195
18196Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
18197
18198 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
18199 xfails when not gcc compiled for "print foo::funclocal".
18200 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
18201 "print foo::funclocal at foo",
18202 "print 'scope1.c'::foo::funclocal at foo",
18203 "print foo::funclocal_bss at foo",
18204 "print 'scope1.c'::foo::funclocal_bss at foo",
18205 "print foo::funclocal_ro at foo",
18206 "print 'scope1.c'::foo::funclocal_ro at foo",
18207 "print bar::funclocal at foo" and
18208 "print 'scope1.c'::bar::funclocal at foo".
18209 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
18210 gcc compiled for "print foo::funclocal at bar".
18211 Expand all messages to ensure that they identify that
18212 the test is at bar().
18213 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
18214 gcc compiled for:
18215 "ptype on opaque struct pointer (statically)",
18216 "ptype on opaque struct tagname (statically)",
18217 "ptype on opaque struct pointer (dynamically) 1",
18218 "ptype on opaque struct tagname (dynamically) 1",
18219 "ptype on opaque struct pointer (dynamically) 2" and
18220 "ptype on opaque struct tagname (dynamically) 2
18221 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
18222 gcc compiled for:
18223 "p datalocal"
18224 "whatis datalocal",
18225 "ptype datalocal",
18226 "p bsslocal",
18227 "whatis bsslocal", and
18228 "ptype bsslocal".
18229 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
18230 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
18231 when not gcc compiled.
18232 * gdb.base/funcargs.exp (float_and_integral_args): Add
18233 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
18234 compiled.
18235 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
18236 "backtrace from call6a" when not gcc compiled.
18237 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
18238 "backtrace from call7a" when not gcc compiled.
18239 * gdb.base/callfuncs.exp (do_function_calls):
18240 Add "hppa*-*-hpux*" xfail when not gcc compiled for
18241 "p t_char_array_values(char_array_val2,char_array_val1)",
18242 "p t_char_array_values(char_array_val1,char_array_val2)",
18243 "p t_char_array_values("carray 1","carray 2")",
18244 "p t_char_array_values("carray 1",char_array_val2)",
18245 "p t_char_array_values(char_array_val1,"carray 2")",
18246 "p sum_args(1,{2})",
18247 "p sum_args(2,{2,3})",
18248 "p sum_args(3,{2,3,4})",
18249 "p sum_args(4,{2,3,4,5})"
18250 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
18251 "backtrace in corefile.exp" when not gcc compiled.
18252
18253Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18254
18255 * gdb.base/signals.exp: Rewrite `handle all print' test as
18256 a procedure. Accept blanks or TABs as whitespace, increase
18257 timeout and expect input buffer size for the large output
18258 from the command. Remove "i*86-*-bsdi2.0" xfail.
18259
18260Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18261
18262 * gdb.base/setvar.exp: Add new testcases for truncation when
18263 assigning invalid values to bitfields.
18264
18265Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
18266
d63a86f8 18267 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
18268 mips-sgi-irix* xfail for
18269 "call inferior func with struct - returns char *"
18270 and fix test so that an optional (unsigned char *) cast is
18271 accepted in the result.
18272
18273Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
18274
18275 * gdb.base/funcargs.exp (float_and_integral_args): Remove
18276 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
18277 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
18278 * gdb.base/signals.exp: Remove duplicate "handle all print" test
18279 that accidentally got checked in.
18280
18281Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
18282
d63a86f8 18283 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
18284 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
18285 compiled test.
18286 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
18287 Add mips-sgi-irix5* xfail for not gcc compiled.
18288 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
18289 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
18290 "p top", "whatis top", "p middle", and "whatis middle".
18291 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
18292 "whatis signed char" for not gcc compiled.
18293 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
18294 "set variable signed char=-1 (-1)" and
18295 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
18296 * gdb.base/funcargs.exp (float_and_integral_args):
18297 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
18298 Add mips-sgi-irix* xfail when not gcc compiled for
18299 "continue to call2b".
18300 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
18301 "continue to call2g".
18302 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
18303 "backtrace from call6a"
18304 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
18305 "backtrace from call7k".
18306 Add mips-sgi-irix5* xfail when not gcc compiled for
18307 "backtrace from call7a".
18308 (localvars_after_alloca): Fix gdb_test cmds for
18309 "print * after runto ...".
18310 Remove rs6000-*-* xfails for
18311 "print i after runto localvars_after_alloca" and
18312 "print l after runto localvars_after_alloca"
18313 for all compilers.
18314 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
18315 when not compiled with gcc, for:
18316 "print signed char == (minus)",
18317 "print signed char != (minus)",
18318 "print signed char < (minus)",
18319 "print signed char > (minus)".
18320 * gdb.base/callfuncs.exp (do_function_calls):
18321 Add mips-sgi-irix* xfail, when compiled with native compiler, for
18322 "call inferior func with struct - returns char *".
d63a86f8 18323 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
18324 "correct value returned double test" to include Solaris 2.4.
18325 * gdb.base/funcargs.exp (float_and_integral_args):
18326 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 18327
c906108c
SS
18328Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18329
18330 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
18331 enumeration bitfields if compiling with GNU C.
18332 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
18333 to empty' prompt.
18334
18335Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
18336
18337 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
18338 test for PRO targets.
18339
18340 * gdb.base/funcargs.exp: Avoid ever setting more than 8
18341 breakpoints in the inferior at any given time by making
18342 two groups of breakpoints for call2*, call6* and call7*
18343 tests.
18344
18345Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18346
18347 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
18348 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
18349 from optimizing it away.
18350 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
18351 "call inferior func with struct".
18352
18353Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
18354
18355 * configure.in: Only configure gdb.chill for particular targets.
18356
18357Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
18358
18359 * gdb.base/Makefile.in: Add action to .c.o transformation
18360 rule that generates a .ci file for each .o file and remove
18361 explicit .c.o rules except for callfuncs.o.
18362 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
18363 generates a .ci file for each .o file and remove explicit
18364 .cc.o rules.
18365 (clean): Remove *.tmp *.ci files.
18366 (EXECUTABLES): Remove templ-info.exp.
18367 * gdb.base/compiler.c: New file.
18368 * gdb.c++/compiler.cc: New file
18369 * gdb.base/scope.exp: Source gdb.base/scope.ci.
18370 Change rs6000-*-* xfail for
18371 "print 'scope0.c'::filelocal_ro" and
18372 "print 'scope1.c'::filelocal" and
18373 "print 'scope1.c'::filelocal_bss" and
18374 "print 'scope1.c'::filelocal_ro" and
18375 "print 'scope1.c'::foo::funclocal" and
18376 "print 'scope1.c'::foo::funclocal_ro" and
18377 "print 'scope1.c'::bar::funclocal" and
18378 "print 'scope0.c'::filelocal_ro" and
18379 "print 'scope1.c'::filelocal at foo" and
18380 "print 'scope1.c'::filelocal_bss at foo" and
18381 "print 'scope1.c'::filelocal_ro at foo" and
18382 "print 'scope1.c'::foo::funclocal at foo" and
18383 "print 'scope1.c'::foo::funclocal_bss at foo" and
18384 "print 'scope1.c'::foo::funclocal_ro at foo" and
18385 "print 'scope1.c'::bar::funclocal at foo" and
18386 "print 'scope0.c'::filelocal_ro" and
18387 "print 'scope1.c'::filelocal" and
18388 "print 'scope1.c'::filelocal_bss" and
18389 "print 'scope1.c'::filelocal_ro" and
18390 "print 'scope1.c'::foo::funclocal" and
18391 "print 'scope1.c'::foo::funclocal_bss" and
18392 "print 'scope1.c'::foo::funclocal_ro" and
18393 "print 'scope1.c'::bar::funclocal" and
18394 "print 'scope1.c'::bar::funclocal_bss"
18395 to only be xfail'd when not compiled with gcc.
d63a86f8 18396 Add rs6000-*-* xfail for
c906108c
SS
18397 "print 'scope0.c'::filelocal_bss before run"
18398 when compiled with gcc.
18399 (test_at_main): Add rs6000-*-* xfail for
18400 "print filelocal_ro in test_at_main"
18401 when compiled with gcc.
18402 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
d63a86f8 18403 Add rs6000-*-aix* xfail for
c906108c
SS
18404 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
18405 "ptype t_char_array", not compiled with gcc.
18406 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
18407 xfail for "list foo (in include file)" when gcc compiled.
18408 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
18409 (integral_args): Add rs6000-*-* xfail for
18410 "run to call0a" if not compiled with gcc.
18411 (unsigned_integral_args): Add rs6000-*-* xfail for
18412 "run to call1a" if not compiled with gcc.
18413 (float_and_integral_args): Add rs6000-*-* xfail for
18414 "run to call2a" if not compiled with gcc and for
18415 "continue to call2b" for any compiler.
18416 Add rs6000-*-* xfail to
18417 "print f1 after run to call2a" for gcc compiled.
18418 (discard_and_shuffle): Add rs6000-*-* xfail for
18419 "run to call6a".
18420 (shuffle_round_robin): Add rs6000-*-* xfail for
18421 "backtrace from call7a" if not compiled with gcc.
18422 Add rs6000-*-* xfail for
18423 "backtrace from call7b" if compiled with gcc.
18424 (call_after_alloca): Add rs6000-*-* xfail for
18425 "print c in call_after_alloca" and
18426 "print s in call_after_alloca" and
18427 "backtrace from call_after_alloca_subr"
18428 if not compiled with gcc.
18429 (localvars_in_indirect_call): Add rs6000-*-* xfail for
18430 "print c in localvars_in_indirect_call" and
18431 "print c in localvars_in_indirect_call" and
18432 "backtrace in indirectly called function" and
18433 "stepping into indirectly called function"
18434 if not compiled with gcc.
18435 (localvars_after_alloca): Add rs6000-*-* xfail for
18436 "print c after runto localvars_after_alloca" and
18437 "print s after runto localvars_after_alloca" and
18438 "print i after runto localvars_after_alloca" and
18439 "print l after runto localvars_after_alloca"
18440 for all compilers.
18441 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
18442 than whatis-info.exp.
18443 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
18444 than opaque-info.exp.
18445 Setup rs6000-*-* xfail for
d63a86f8 18446 "ptype on opaque struct pointer (statically)" and
c906108c
SS
18447 "ptype on opaque struct pointer (dynamically)" when
18448 not compiled with gcc.
18449 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
18450 rather than callf-info.exp.
18451 (do_function_calls): Add clear_xfail for rs6000-*-* for
18452 "p t_float_values2(3.14159,float_val2)". Seems to work
18453 fine there, both with xlc and gcc. Need to find out what
18454 it is doing right and fix other platforms.
18455 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
18456 "call inferior func with struct - returns int",
18457 "call inferior func with struct - returns long",
18458 "call inferior func with struct - returns float",
18459 "call inferior func with struct - returns double",
18460 "call inferior func with struct - returns char *",
18461 but only if not gcc compiled (presumes xlc compiled).
18462 Change rs6000-*-* xfails for
18463 "call inferior func with struct - returns char" and
18464 " call inferior func with struct - returns short" to only
18465 xfail if not using gcc.
18466 (clean mostlyclean): Remove *.ci and *.tmp files.
18467 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
18468 than templ-info.exp.
18469 * gdb.base/langs.exp: Source gdb.base/langs.ci.
18470 Add rs6000-*-* xfail for "up to foo in langs.exp"
18471 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
18472 when not gcc compiled.
d63a86f8 18473
c906108c
SS
18474Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
18475
18476 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
18477 * gdb.base/corefile.exp: Likewise.
18478 * gdb.base/list.exp: Likewise.
18479 * gdb.base/scope.exp: Likewise.
18480 * gdb.base/siganls.exp: Likewise.
18481
18482 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
18483 compiler output.
18484 * gdb.base/whatis.exp: Likewise.
18485
18486Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
18487
18488 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
18489 failure (opcode table has been fixed to match reality).
18490
18491Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
18492
18493 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
18494 "call inferior func with struct - returns char",
18495 "call inferior func with struct - returns short"
18496
18497 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
18498 "print 'scope0.c'::filelocal at main",
18499 "print 'scope0.c'::filelocal_bss in test_at_main",
18500 "print 'scope0.c'::filelocal at foo",
18501 "print 'scope0.c'::filelocal_bss in test_at_foo",
18502 "print 'scope0.c'::filelocal at bar",
18503 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 18504
c906108c
SS
18505 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
18506 in source file 1". This bug seems to have been fixed with both
18507 gcc and native cc (was native assembler bug?).
18508
18509Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
18510
18511 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
18512 "backtrace through signal handler" to "i*86-*-sysv4*".
18513 * gdb.base/signals.exp: Add xfail for "'next' behaved as
18514 continue" case. Add "known SVR4 bug" to fail message.
18515 Add "i*86-*-bsdi2.0" xfail for "handle all print".
18516 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
18517 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
18518 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
18519 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
18520 "up to foo in langs.exp", "show language at foo in
18521 langs.exp", "up to cppsub_ in langs.exp", "show
18522 language at cppsub_ in langs.exp", "up to fsub in
18523 langs.exp", and "show language at fsub in langs.exp".
18524 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
18525 "bactrace in corefile.exp".
18526 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
18527 "call inferior function with struct - returns float" and
18528 "call inferior function with struct - returns double".
d63a86f8 18529
c906108c
SS
18530Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
18531
18532 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
18533 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
18534 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
18535 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
18536
18537Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
18538
18539 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
18540 (or overriden) "CHILL" macro rather then bare "gcc".
18541 Also look for ../../gcc/xgcc since that is what we will
18542 actually need, not "Makefile". Remove following assignment
18543 of CHILL to CHILL_FOR_TARGET because that results in
18544 recursive definition.
18545
18546Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
18547
18548 * gdb.base/corefile.exp: Change xfail for backtrace in
18549 corefile.exp from linuxaout to all linux.
18550 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
18551 cases where we miss the breakpoint at the signal handler
18552 for some reason. Setup xfail for linuxoldld/linuxaout and
18553 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
18554 hitting SIGURG breakpoint.
18555 * gdb.base/signals.exp: Setup xfail for "next" acting like
18556 continue to add linuxoldld. Setup xfail for all linux for
18557 "next to handler in signals_tests_1", "backtrace in
18558 signals_tests_1", "continue to func1", "pass SIGUSR1",
18559 and continue to handler".
18560
18561Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
18562
18563 * Update all FSF addresses except those in COPYING* files.
18564
18565Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
18566
18567 * gdb.base/a2-run.exp: Change messages to be more explicit about
18568 the status of args, and quote binfile in results.
18569
18570Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
18571
18572 * gdb.base/callfuncs.exp: Add tests for passing structs to
18573 inferior functions and return various types.
18574 * gdb.base/callfuncs.c: Add functions to receive a struct
18575 and return a member of the struct, in various types.
18576
18577Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18578
18579 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
18580
18581Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
18582
18583 * config/vxworks29k.exp: New file, sources vxworks.exp.
18584
18585Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
18586
18587 * config/gdbremote.exp: New file. Testing framework using
18588 gdbserver.
18589
18590Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
18591
18592 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
18593 "call function when asleep" and "send end of file".
18594 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
18595 for "backtrace in corefile.exp".
18596 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
18597 for "backtrace through signal handler".
18598 * gdb.base/corefile.exp: Make sure we actually generate a core file
18599 before trying the core tests. Some systems allow the user to suppress
18600 generation of core files and default to that (linux for example).
18601 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
18602 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
18603
18604Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
18605
18606 * gdb.threads: New directory with some crude multi-threaded
18607 gdb tests (step.exp and step2.exp).
18608 * config/mt-lynx (STEP_EXECUTABLE): Define.
18609 (THREADFLAGS): Define.
18610
18611Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
18612
18613 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
18614
18615 * gdb.base/signals.exp: Disable whole file for lynx until
18616 further notice.
18617
18618 * gdb.base/signals.exp: xfail test where "next" acts like
18619 "continue" for lynx.
18620
18621 * gdb.base/interrupt.exp: xfail test for calling function while
18622 inferior is asleep for lynx.
18623
18624 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
18625 than one cr-lf after each command.
18626
18627Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18628
18629 * configure.in: Reinstate setting of stabsdirs variable, fix
18630 typo in setting up configdirs for native builds.
18631
18632 * gdb.base/return.exp: Fix typo in return double test.
18633 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
18634 compiler from optimizing them away.
18635
18636Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
18637
18638 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
18639 sequences to be echo'd by gdb when using gdb_test.
18640 * gdb.chill/chexp.exp: Likewise.
18641 * gdb.fortran/exprs.exp: Likewise
18642
18643Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
18644
18645 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
18646 after the inferior gdb has started.
18647
18648 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
18649 after each command.
18650 * gdb.base/funcargs.exp: Likewise.
18651 * gdb.base/gdbvars.exp: Likewise.
18652 * gdb.base/interrupt.exp: Likewise.
18653 * gdb.base/list.exp: Likewise.
18654 * gdb.base/watchpoint.exp: Likewise.
18655 * gdb.c++/demangle.exp: Likewise.
18656 * gdb.c++/inherit.exp: Likewise.
18657 * gdb.chill/chexp.exp: Likewise.
18658 * gdb.fortran/exprs.exp: Likewise.
18659
18660 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
18661 test if we can't handle IO to/from the inferior.
18662
18663 * gdb.c++/misc.exp: Always check for a program already being
18664 started after sending a "run" command to gdb.
18665
18666 * gdb.base/twice.exp: Start with a fresh gdb.
18667
18668 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
18669 only depend on gdb's expression code, not the chill runtime.
18670
18671 * gdb.base/return.c: Put return values into variables so we
18672 can have gdb print them rather than depending on the program
18673 to print them.
18674 * gdb.base/return.exp: Corresponding changes.
18675
18676 * lib/gdb.exp: Provide default value for noinferiorio.
18677 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
18678 the inferior.
18679
18680 * gdb.base/break.exp: Always check for a program already being
18681 started after sending a "run" command to gdb.
18682 (text_next_with_recursion): Don't check the output from the
18683 program's printf statement. Instead just make sure the program
18684 exited.
18685
18686 * gdb.base/commands.exp: Protect tests which need arguments with
18687 $noargs conditionals.
18688
18689Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18690
18691 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
18692 of structure member arrays to match gdb/valops.c:value_addr change.
18693
18694Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
18695
18696 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
18697 cases.
18698
18699Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
18700
18701 * configure.in (configdirs): Remove gdb.chill from default list
18702 of subdirs and then add it back in only if doing a native build.
18703 The current chill compiler does not yet work in any cross build.
18704 * Revert all signal changes from Jul 6.
18705 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
18706 for sh-hms targets, allowing these tests to link, with no other
18707 changes. Testing is suppressed by setting "nosignals" in site.exp.
18708
18709Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
18710
18711 * configure.in (signaldirs): Define and add to configdirs for all
18712 targets except some specific ones that are known to not support signals.
18713 Also clean up formatting.
18714 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
18715 (signals, sigall): Remove rules to build.
18716 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
18717 Moved to new gdb.signals directory.
18718 * gdb.signals: New test directory.
18719 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
18720 signals.c signals.exp}: New or moved files.
18721
18722Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
18723
18724 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
18725
18726Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
18727
18728 * gdb.base/return.exp: Xfail `return double' test failure
18729 on at least Solaris 2.3 and handle future/past versions on
18730 a case by case basis as appropriate. Also update message
18731 to include i*86 failures.
18732
18733Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18734
18735 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
18736
18737 * lib/gdb.exp: Fix comment which erroneously identified
18738 gdb_file_cmd as gdb_load (the 19 May change was in fact to
18739 gdb_file_cmd not gdb_load).
18740 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
18741
18742 * gdb.base/setvar.exp: Make test names consistent between pass and
18743 fail cases. Use gdb_test more.
18744
18745Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18746
18747 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
18748
18749Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18750
18751 * gdb.base/help.exp: Fix expected help string for `show commands'.
18752
18753Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
18754
18755 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
18756
18757 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
18758 of a text section.
18759
18760Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
18761
18762 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
18763 that loop eventually terminates. Fix Connection refused logic so
18764 that testsuite will expire nicely.
18765
18766Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
18767
18768 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
18769 config/rom68k.exp: New tcl glue for the appropriate monitors.
18770 These all just end up calling monitor.exp.
18771 * config/monitor.exp (gdb_target_monitor): Handle `Connection
18772 refused' by retrying. Cleanup some timeout issues.
18773 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
18774 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
18775 callers don't have to set/restore global timeout variable.
18776
18777 * The following set of changes centralizes management of the global
18778 timeout variable. This way, it can be set in one target dependent
18779 place instead of dozens of places scattered throughout the test suite.
18780 If you need to lengthen a timeout, then you should either set timeout
18781 in one of the config/{target}.exp files, or multiply it by a factor.
18782 Setting it to an absolute value is always going to lose for some
18783 targets.
18784 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
18785 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
18786 * gdb.base/funcargs.exp: Don't set timeout.
18787 * gdb.base/list.exp (test_forward_search): Only use local timeout.
18788 * gdb.base/printcmds.exp (test_print_string_constants
18789 test_print_array_constants): Don't set timeout.
18790 * gdb.base/ptype.exp: Don't set timeout.
18791 * gdb.base/recurse.exp: Don't set timeout.
18792 * gdb.base/return.exp: Don't set timeout.
18793 * gdb.base/watchpoint.exp: Don't set timeout.
18794 * gdb.c++/classes.exp (do_tests): Don't set timeout.
18795 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
18796
18797Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
18798
18799 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
18800
18801Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18802
18803 * lib/gdb.exp: Disable chill tests for irix5.
18804
18805Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18806
18807 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
18808 each test pass or fail.
18809
18810Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18811
18812 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
18813 xlc not gcc.
18814
18815Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
18816
18817 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
18818
18819Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
18820
18821 * config/est.exp: Fix copyright and comments. Remove dead code.
18822 Use targetname, serialport and baud variables instead of fixed
18823 constants.
18824 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
18825 * config/cpu32bug.exp: New file to support cpu32bug monitors.
18826
18827Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18828
18829 * gdb.base/watchpoint.exp: Don't run
18830 test_watchpoint_triggered_in_syscall for sunos.
18831
18832Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18833
18834 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
18835 they don't seem to exist. Do include stdio.h.
18836
18837Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18838
18839 * gdb.base/a1-selftest.exp: Add alpha xfail.
18840
18841Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18842
18843 * gdb.base/watchpoint.c (main): Prompt before calling read().
18844 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
18845 Revise accordingly. Remove cruft about sending "123" several
18846 times, until it gets noticed. Clean up the "print buf[0]" stuff
18847 so that it passes or fails, and waits for prompts in the usual way.
18848
18849Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18850
18851 * gdb.base/recurse.exp: Fix comment.
18852
18853 * TODO: Remove item about printing variables in nodebug.exp. Add
18854 item about enabling tests which are only run on some targets.
18855
18856 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
18857 fail, make test names unique, use new gdb_test convention
18858 regarding pattern, use gdb_test more, etc.).
18859
18860 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
18861 fail, make test names unique, etc.).
18862
18863Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18864
18865 * gdb.base/nodebug.c: Change return type of top and middle to
18866 short.
18867 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
18868 are fixed by the recent mdebugread.c changes. Allow `short ()'
18869 as type for top and middle.
18870
18871Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18872
18873 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
18874 nearly as I can tell, the whole thing was an accident in Stu's
18875 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
18876 to replace a send/expect pair with gdb_test, but ended up only
18877 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
18878 of 30 Mar 1995 took care of it, but left this vestigial comment
18879 which I am now nuking.
18880
18881Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18882
18883 * gdb.base/break.exp: Look for different line number for
18884 breakpoint at main depending on usestubs.
18885
18886Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18887
18888 * gdb.base/list.exp: Adjust some alternate expect patterns to
18889 match recent list0.c change. Add alternate expect pattern for
18890 output from `list default lines around main' for optimizing
18891 compilers.
18892
18893Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18894
18895 * lib/gdb.exp: If nosignals is not set, set it to 0.
18896
18897Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
18898
18899 * config/slite-gdb.exp: Responds to load symbol table prompt.
18900 * gdb.base/break.exp: Adjust line number, fix rerun.
18901 * gdb.base/langs0.c: Add #ifdef usestubs.
18902
18903Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
18904
18905 * gdb.base/list.exp: Adjust line contents after adding new lines in
18906 list0.c. Also fix a syntax error.
18907
18908 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
18909 * gdb.base/break.exp: ditto.
18910 * gdb.base/list.exp: ditto.
18911 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
18912 * gdb.base/run.c: ditto.
18913 * gdb.base/list0.c: ditto.
18914 * gdb.base/funcargs.c: ditto.
18915
18916Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
18917
18918 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
18919 $targetname, $serialport and $baud instead of hardwired variables.
18920 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
18921 target doesn't support signals.
18922
18923Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
18924
18925 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
18926
18927Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18928
18929 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
18930 Don't rely on the value of an auto variable before it has been
18931 initialized. Use gdb_test more.
18932
18933Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18934
18935 * lib/gdb.exp (default_gdb_version): A version number must start
18936 with a digit, but other than that contains all characters up to
18937 the first whitespace character.
18938
18939Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18940
18941 * gdb.base/commands.exp (breakpoint_command_test): New tests.
18942
18943Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18944
18945 * gdb.c++/*.exp: Warn if executable does not exist. The original
18946 reason for skipping the warning was that configure.in sometimes
18947 intentionally skipped building the executables but the tcl code
18948 had no way of knowing. That (a) was always bogus with respect to
18949 error handling, (b) is no longer true (right now there is no way
18950 to skip C++ tests).
18951
18952 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
18953
18954Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18955
18956 * gdb.base/list.exp: Add expect patterns for output from
18957 SunPRO compiled executables.
18958 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
18959 types.
18960
18961Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18962
18963 * gdb.base/break.exp (test_next_with_recursion): Accept any line
18964 number (we are already testing that the correct source line text
18965 gets printed).
18966
18967 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
18968 that is what is intended, but something needed to be done to get
18969 sunos4 native working again.
18970
18971 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
18972
18973 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
18974 apparently went with a (very) old xfail.
18975
18976Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
18977
18978 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
18979 runto_main is a proc in gdb.exp that will do 'step' for target use
18980 stubs.
18981 * gdb.base/exprs.exp: ditto.
18982 * gdb.base/interrupt.exp: ditto.
18983 * gdb.base/opaque.exp: ditto.
18984 * gdb.base/printcmds.exp: ditto.
18985 * gdb.base/ptype.exp: ditto.
18986 * gdb.base/scope.exp: ditto.
18987 * gdb.base/setvar.exp: ditto.
18988 * gdb.base/signals.exp: ditto.
18989 * gdb.base/twice.exp: ditto.
18990 * gdb.c++/classes.exp: ditto.
18991 * gdb.c++/inherit.exp: ditto.
18992 * gdb.c++/templates.exp: ditto.
18993 * gdb.base/break.exp: no run and hit main for stubs. Change line
18994 numbers for breakpoints and info breakpoint.
18995 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
18996 breakpoint().
18997 * gdb.base/callfuncs.c: ditto.
18998 * gdb.base/exprs: ditto.
18999 * gdb.base/interrupt.c: ditto.
19000 * gdb.base/opaque0.c: ditto.
19001 * gdb.base/printcmds.c: ditto.
19002 * gdb.base/ptype.c: ditto.
19003 * gdb.base/scope0.c: ditto.
19004 * gdb.base/setvar.c: ditto.
19005 * gdb.base/signals.c: ditto.
19006 * gdb.base/twice.c: ditto.
19007 * gdb.c++/misc.cc: ditto.
19008 * gdb.c++/templates.cc: ditto.
19009
19010Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19011
19012 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
19013
19014 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
19015 somewhere between `read' and `main.c'. I'm pretty sure the
19016 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
19017 and it isn't particularly useful.
19018
19019 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
19020
19021Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19022
19023 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
19024
19025Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
19026
19027 * config/mt-slite: add LIBS and -nostdlib.
19028 * config/slite-gdb.exp: add this new file to support sparclite target.
19029
19030Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
19031
19032 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
19033
19034 * gdb.base/a2-run.exp: Change argument to istarget from
19035 "*-*-vxworks" to "*-*-vxworks*".
19036 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
19037
19038Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
19039
19040 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
19041 will not runto main but do a 'step' to step out of breakpoint().
19042 * config/mt-slite: add -Dusestubs.
19043
19044Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19045
19046 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
19047 instead of just @.
19048
19049 * gdb.base/signals.exp: Add test for "handle all print".
19050 * TODO: Remove "handle all print". Also remove item about
19051 checking copyright date (I don't like the idea of a spurious FAIL
19052 based on when we run the tests).
19053
19054 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
19055 for SunOS4 (reason for failure not investigated). Remove
19056 redundant test for $binfile.
19057
19058 * gdb.base/nodebug.c (array_index): Call malloc.
19059
19060 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
19061
19062Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
19063
19064 * gdb.base/recurse.exp: Update gdb_test invocation to use new
19065 conventions and slightly simplify the matching regexp.
19066
19067Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19068
19069 * gdb.base/break.exp: Update gdb_test invocation to use new
19070 convention.
19071
19072 * lib/gdb.exp: If noargs is not set, set it to 0.
19073
19074 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
19075 tests unique.
19076
19077 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
19078
19079Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19080
19081 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
19082 one argument of type "<non-float parameter>".
19083
19084Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
19085
19086 * config/rom68k.exp: New file to support Motorola IDP board.
19087 * gdb.base/a2-run.exp: Skip this file if noargs is set.
19088 * gdb.base/break.c: Change things around so that this program
19089 doesn't depend upon args. This is necessary to make remote
19090 targets work (in general, they can't take args).
19091 * gdb.base/break.exp: Don't try to send args to program. Don't
19092 expect output. Also, replace lots of code with gdb_test.
19093
19094Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19095
19096 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
19097 printing of '\'' (which is what the comment says we are testing,
19098 even though we were not), not '''.
19099 (test_integer_literals_rejected): Test that printing ''' is an error.
19100
19101 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
19102 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
19103 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
19104 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
19105 Use gdb_test not test_print_accept.
19106 * lib/gdb.exp: Remove test_print_accept.
19107
19108 * gdb.base/signals.exp (signal_tests_1): Make pass message
19109 consistent with fail message.
19110
19111 * gdb.base/whatis.exp: Remove xfails for printing char vs.
19112 unsigned char; the bug (PR 1821) is fixed.
19113
19114 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
19115
19116 * gdb.base/scope.exp (test_at_localscopes): Call pass for
19117 successful tests--makes xfailing them work right.
19118
19119Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19120
19121 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
19122 only \r\n, not .*. The test can pass .* as the last thing in
19123 $pattern if that is what it wants. In addition to providing this
19124 flexibility, this change should speed up pattern matching in cases
19125 where the pattern already ended with .* (there were a number of
19126 them). This change also helps catch bad patterns--in the old
19127 scheme the typo "char \*" instead of "char \\*" would pass. Now
19128 it is caught.
19129 * Many .exp files: Update callers.
19130
19131 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
19132 clearer and does not spuriously match multiple ('s. Likewise for
19133 ) and *.
19134
19135 * gdb.base/nodebug.exp: Test ability to call a function and pass
19136 it a string (even with no debugging info).
19137
19138 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
19139 "p '\'", which is the same as "p ''" once tcl gets done with
19140 quoting, to "p '\\'", which I suspect is what is intended (one
19141 backslash gets sent to GDB).
19142
19143 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
19144
19145Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19146
19147 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
19148 1817) was fixed literally years ago.
19149
19150Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19151
19152 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
19153 test, it causes stepping out of call_after_alloca_subr with
19154 optimizing compilers.
19155 (localvars_in_indirect_call): Consume GDB prompt if `finish'
19156 fails.
19157
19158 * gdb.c++/templates.exp: Source templ-info.exp only if
19159 the templates executable exists.
19160
19161 * gdb.c++/misc.cc (class Contains_static_instance,
19162 class Contains_nested_static_instance),
19163 gdb.c++/classes.exp (test_static_members): Test printing of
19164 a class that contains a static instance of the class.
19165
19166Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19167
19168 * gdb.base/langs2.c (cppsub_): Don't prototype.
19169 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
19170 only, I believe).
19171
19172Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19173
19174 * lib/gdb.exp (skip_chill_tests): New procedure.
19175
19176 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
19177
19178Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
19179
19180 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
19181 each expect pattern. Cuts runtime from 12 to about 4 seconds.
19182
19183Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19184
19185 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
19186
19187 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
19188 disassemble 8, not 16, instructions for part 4.
19189
19190 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
19191 support the latter anymore.
19192
19193 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
19194 -DNO_PROTOTYPES.
19195 * gdb.base/callfuncs.c: Control use of prototypes based on
19196 NO_PROTOTYPES, not __STDC__.
19197 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
19198 t_float_values2 tests if prototypes in use.
19199
19200 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
19201 t_double_values): When checking differences against DELTA, check
19202 that difference is within the range (-DELTA,DELTA), not just
19203 (-infinity,DELTA).
19204
19205Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
19206
19207 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
19208 'file' command firts, then 'target', then 'load', this is due to gdb
19209 target set up.
19210 * config/mips-gdb.exp: Fix a couple regular exp bugs.
19211
19212Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
19213
19214 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
19215 FP load/store variants.
19216 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
19217
19218Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
19219
19220 * gdb.base/term.exp: Do not give a warning if not native, it is
19221 not an abnormal condition.
19222
19223Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
19224
19225 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
19226 t_char_array".
19227
19228Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
19229
19230 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
19231 are getting the version number.
19232
19233 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
19234 if not native, it is not an abnormal condition.
19235
19236Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19237
19238 * lib/gdb.exp: Just use "file exists", rather than undocumented
19239 dejagnu procedure "findfile".
19240
19241Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19242
19243 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
19244 (LDFLAGS): Set to -Xlinker -Ur.
19245
19246 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
19247 Removed, these values are set by lib/gdb.exp.
19248
19249 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
19250
19251Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19252
19253 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
19254 of replicating gdb startup code.
19255
19256 * config/mt-vxworks (LDFLAGS): Set to -r.
19257 (CFLAGS_FOR_TARGET): Removed.
19258
19259 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
19260 (gdb) and gdb for vxworks uses (vxgdb).
19261
19262 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
19263 executable is not in the tree and host != target, use sed and
19264 program_transform_name to determine the gdb name used by the
19265 target.
19266
19267 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
19268 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
19269
19270Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19271
19272 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
19273 floats, chars, and shorts where there are ANSI-style function
19274 definitions.
19275
19276 * gdb.base/langs.exp, gdb.base/langs*: New test.
19277 * gdb.base/Makefile.in: Build it.
19278 * TODO: Remove item about checking that C names don't get C++
19279 demangling applied; this test tests it.
19280
19281Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19282
19283 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
19284 went with the const70 xfail. The xfail went away a year ago.
19285
19286 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
19287
19288 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
19289 for hp300.
19290
19291 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
19292
19293 * gdb.base/a1-selftest.exp: Don't run on hp300.
19294
19295Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19296
19297 * Makefile.in (site.exp): Set host_alias and target_alias as well
19298 as host_triplet and target_triplet.
19299
19300Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19301
19302 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
19303
19304 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
19305 places as other ecoff systems).
19306
19307 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
19308 ultrix.
19309
19310Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19311
19312 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
19313 remove them.
19314 * gdb.base/nodebug.exp: Accept "function" in addition to "text
19315 variable and "variable" in addition to "data variable".
19316 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
19317
19318 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
19319 2.
19320 * gdb.base/list1.c (long_line): Add additional statement at start
19321 of function.
19322 * gdb.base/list.exp (test_forward_search): Update line number to
19323 reflect new statement.
19324
19325Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19326
19327 * gdb.base/signals.exp: Reinitialize searched source directories
19328 after gdb_start call.
19329
19330Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
19331
19332 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
19333 * gdb.stabs/Makefile.in: Likewise.
19334
19335 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
19336 change. Instead split the tests into smaller pieces.
19337 * gdb.disasm/hppa.s: Corresponding changes.
19338
19339Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19340
19341 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
19342 Quote ^C when passing it to stty. For some shells ^ is a pipe.
19343
19344 * gdb.base/funcargs.exp: Modify many tests so that every test
19345 either passes or fails. Make some test names unique.
19346
19347Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19348
19349 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
19350 Call stty to set interrupt character.
19351
19352 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
19353 for HP assembler versus GNU assembler based on actual behavior of
19354 $(CC), rather than assuming that $(AS) is always the GNU assembler.
19355
19356 * TODO: Suggest a few more stepping tests.
19357
19358Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
19359
19360 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
19361 restart GDB for h8300 after a continue.
19362 (return): Add pattern to match a29k-udi behavior.
19363 * gdb.base/nodebug.exp: Remove obsolete comment.
19364 * gdb.base/regs.exp: New file, testing of register displays.
19365 * gdb.base/return.exp: Fix typo in reference to $objdir.
19366 * gdb.base/whatis.exp: Always start with a fresh GDB.
19367
19368Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19369
19370 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
19371 higher, these tests generate a lot of output.
19372
19373Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19374
19375 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
19376 code following the catch silently ignored some errors; without the
19377 catch they should be thrown like any other tcl error. Also, the
19378 catch used "" instead of {} which meant all the callers who wanted
19379 to include one of the characters "[]$ had to quote it an extra time.
19380 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
19381 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
19382 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
19383 Remove extra quoting.
19384
19385Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
19386
19387 * gdb.base/commands.exp: Make test names unique; every test either
19388 passes or fails. Update some comments.
19389
19390 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
19391
19392Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19393
19394 The following fixes a FAIL caused by the fact that the alpha stabs
19395 configuration didn't use the ".if alpha" code in weird.def.
19396 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
19397 bit pointer, so the 32 bit version works even on the alpha.
19398 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
19399 Remove the stuff which allowed us to have separate versions for
19400 alpha and everything else.
19401
19402 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
19403 regexp which "info func operator\[\](" is supposed to match. Fix
19404 string to send to GDB. Note that GDB still doesn't work right. Add a
19405 new test for "info func .perator\[\](" which GDB does handle correctly.
19406
19407 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
19408
19409Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19410
19411 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
19412 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
19413 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
19414 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
19415 it makes the tests harder to understand and confuses test-o-matic.
19416 The preferred style is that each test provides a PASS or a FAIL,
19417 and has a unique message (e.g. "continue #54" not just "continue")
19418 which is the same for the pass and the fail.
19419 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
19420 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
19421 to lib/gdb.exp.
19422 * gdb.base/printcmds.exp: Use test_print_accept. Remove
19423 prt_accept which was basically the same thing. Likewise for
19424 test_print_reject and prt_reject.
19425 * lib/gdb.exp (test_print_reject): Add some more error message
19426 patterns to match from the former printcmds.exp (prt_reject).
19427 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
19428 One defect of the passcount stuff is that some of it failed to
19429 report XPASS where appropriate.
19430 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
19431 stuff before and after arg in expected pattern.
19432 (test_paddr_operator_functions): Re-do test without print_addr_of;
19433 this is the only test which seems to want extra stuff there.
19434
19435Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19436
19437 * gdb.base/nodebug.exp: Update new tests to reflect improved
19438 wording of gdb output.
19439
19440 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
19441 and "ptype" work on variables in files compiled without -g.
19442 Replaces commented out "maint print msymbol" tests.
19443
19444Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19445
19446 * gdb.base/setvar.c (dummy): Call malloc.
19447
19448 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
19449 losing with the irix4 sed.
19450
19451 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
19452 ALRM" on irix4.
19453
19454Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19455
19456 * TODO: Remove items about corefile.exp testing new exec-file and
19457 backtrace; both are now done. Add items about printing enums.
19458
19459Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19460
19461 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
19462 "get signal $thissig" test fails.
19463
19464 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
19465
19466Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19467
19468 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
19469 compiler warning with dec alpha compiler.
19470
19471 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
19472 extra \n from gdb_test call (this explains why the prompt test
19473 that I removed yesterday was there).
19474 (user_defined_command_test): Remove extra \n and prompt test.
19475
19476 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
19477 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
19478 doesn't exist.
19479 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
19480 Also remove alpha workaround, which turns out to be because
19481 SIGABRT == SIGLOST.
19482
19483 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
19484
19485 * gdb.base/help.exp: Don't test "help show".
19486
19487Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19488
19489 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
19490 "set print address" is on.
19491 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
19492 pass prompt to gdb_test; gdb_test already looks for the prompt.
19493
19494 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
19495
19496 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
19497 was a vestige of the manual TESTSTRATEGY, and the purpose of it
19498 was to make sure that gdb can read a core file. But (a) the "read
19499 the corefile" part didn't make it to a1-selftest.exp, we just
19500 delete the corefile after creating it, and (b) we test reading
19501 corefiles in corefile.exp anyway. Also, this test left around a
19502 xgdb process on Solaris.
19503
19504 * gdb.base/corefile.exp: Also test backtrace.
19505
19506Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
19507
19508 * gdb.base/commands.exp: Test a simple user defined command with
19509 arguments and if/while statements; verify the full user command is
19510 printed by "show user".
19511
19512 * gdb.base/commands.exp: Test if/while commands as part of a
19513 breakpoint command list; verify they appear in breakpoint
19514 information.
19515
19516Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19517
19518 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
19519 than by dividing by zero.
19520
19521Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
19522
19523 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
19524 performing an inferior call with watchpoints enabled.
19525 * gdb.base/watchpoint.c (main): Delete second unnecessary read
19526 call.
19527
19528Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19529
19530 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
19531 of "file" command.
19532
19533 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
19534 Add additional pattern for when "int operator int(void);" appears
19535 in a different order.
19536
19537Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19538
19539 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
19540
19541 * gdb.base/help.exp: Replace most of docstrings for "info signals"
19542 and "signal" with ".*".
19543
19544Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19545
19546 * TODO: Add note about "handle all nostop".
19547
19548 * gdb.base/{sigall.c, sigall.exp}: New test.
19549 * gdb.base/Makefile.in: Add it.
19550
19551Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
19552
19553 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
19554 when invoking GDB, suppresses any windowing interface.
19555
19556Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
19557
19558 * config/sim-gdb: New file, simulator testing support.
19559
19560Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
19561
19562 * gdb.base/interrupt.exp: Test calling func1 twice.
19563
19564Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
19565
19566 * gdb.base/list.exp (test_forward_search): Set timeout higher
19567 when we'll be getting lots of output from gdb.
19568
19569 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
19570 "init_malloc" to after the expect statement. Run it if that
19571 regexp is taken, but also for two others which happen if source
19572 cannot be found.
19573
19574Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19575
19576 * gdb.base/printcmds.exp: New test, for printing register before
19577 program is running.
19578
19579Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19580
19581 * gdb.base/list.exp: Correct some alternate expect patterns
19582 to reflect changes in list1.c.
19583
19584Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19585
19586 * TODO: Add item regarding large frames.
19587
19588 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
19589
19590 * TODO: Remove item about enabling return.exp; it
19591 is enabled. Suggest a few more "return" tests.
19592
19593Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19594
19595 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
19596 anonymous unions.
19597
19598Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19599
19600 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
19601 and pr-5646.o, so "make" is the same as "make all", not "make
19602 pr-4975.o".
19603
19604Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
19605
19606 * gdb.base/list.exp: Adjust expectations to reflect changes in
19607 list1.c.
19608 (test_forward_search): New test proc.
19609 * gdb.base/list1.c (long_line): New function, has long source line.
19610
19611Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
19612
19613 * gdb.base/a1-selftest.exp: Change initial stepping to know about
19614 additional line of code that was added.
19615
19616Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
19617
19618 * gdb.disasm/hppa.s: Break the large branching tests into smaller
19619 tests so as not to overflow expect's input buffers.
19620 * gdb.disasm/hppa.exp: Corresponding changes.
19621
19622Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19623
19624 Beginnings of template debugging tests.
19625 * gdb.c++/templ-info.cc: New file to test for template
19626 debugging capability of the compiler.
19627 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
19628 templ-info.cc.
19629 * gdb.c++/templates.cc: Add explicit template instantiations
19630 to enable compiling with -fno-implicit-templates. Add destructor
19631 and 'value' method to T5 class for template tests.
19632 * gdb.c++/templates.exp: Add testcases for printing of template
19633 types, setting breakpoints on template methods and calling a
d63a86f8 19634 template method.
c906108c
SS
19635
19636Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
19637
19638 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
19639 branch target since some assemblers (gas-2.5) may emit a
19640 relocation for the branch instead of resolving it in the
19641 assembler.
19642
19643Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19644
19645 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
19646 through signal handler.
19647
19648Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19649
19650 * configure.in (*-*-netware): Use config/mt-netware.
19651
19652 * config/mt-netware: New file.
19653 * config/mt-i386-netware: Removed, separate configs for different
19654 netware architectures are no longer needed now that we have
19655 --with-headers.
19656
19657Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19658
19659 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
19660 by the recent changes to use ANSI C arithmetic conversions.
19661
19662Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19663
19664 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
19665 bug involving using inferior_pid to figure out whether to select a
19666 frame.
19667
19668Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
19669
19670 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
19671 match the current disassembler output.
19672
19673Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
19674
19675 * gdb.fortran/exprs.exp: Expect VOID instead of void.
19676 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
19677 types, expect "int" as type of integer values (for now).
19678
19679Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
19680
19681 * gdb.base/commands.exp: New tests for if/while commands.
19682
19683Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
19684
19685 * lib/gdb.exp (runto): Replace sub-pattern for hex value
19686 by .*, since hex values have different syntax in Chill mode.
19687
19688Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19689
19690 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
19691 linefeed from expect pattern for repeated types with indices > 9.
19692
19693Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
19694
19695 First part of Fortran test suite.
19696 * gdb.fortran: New directory.
19697 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
19698
19699Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19700
19701 * gdb.base/default.exp: Update expect pattern for load command
19702 without arguments.
19703
19704Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
19705
19706 * configure.in: Change i386 to i[345]86.
19707 * gdb.base/configure.in: Likewise.
19708 * gdb.c++/configure.in: Likewise.
19709 * gdb.chill/configure.in: Likewise.
19710
19711Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
19712
19713 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
19714 patterns, since that is not a valid context for comments.
19715
19716Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
19717
19718 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
19719 repeated types and repeated types with indices > 9.
19720
19721Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
19722
19723 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
19724 2417; old bug has been fixed.
19725
19726Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
19727
19728 * gdb.base/interrupt.exp: When trying to wake up the inferior,
19729 send the newline ourselves instead of assuming gdb_test will do
19730 so when passed an empty input string.
19731
19732 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
19733 stabs testcode.
19734
19735Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19736
19737 * lib/gdb.exp (gdb_test): Don't send anything if the first
19738 argument is an empty string. This makes cases where we want to
19739 match output that is already in expect's buffers (for example,
19740 matching a breakpoint after gdb_run_cmd has been called) work
19741 reliably.
19742
19743Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19744
19745 * config/netware.exp: New file.
19746
19747Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19748
19749 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
19750 the -B and -L prefixes so we can find the debugging stub.
19751
19752 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
19753 there and we are using the gcc from the tree.
19754
19755 * gdb.base/types.c: Removed.
19756
19757 * gdb.base/configure.in: Look for makefile fragments in ../config.
19758 Recognize i386-*-netware.
19759 * gdb.c++/configure.in: Likewise.
19760
19761Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19762
19763 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
19764 the correct TCL syntax.
19765
19766Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19767
19768 * gdb.base/opaque.exp: use runto instead of messing around with
19769 breakpoints. Simplify by using gdb_test.
19770
19771 * gdb.base/bitfields.exp: restart between tests on netware targets
19772 because breakpoints aren't relocated after target death. Run
19773 processes to completion.
19774
19775 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
19776
19777Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
19778
19779 * Makefile.in: Remove extra tabs that confuse some versions
19780 of "make". Use the newly built gdb to test with by default,
19781 rather than the first one in the tester's search path.
19782
19783Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
19784
19785 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
19786
19787 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
19788 condition help.
19789
19790Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19791
19792 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
19793
19794 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
19795 running.
19796 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
19797 * gdb.base/funcargs.exp: Likewise.
19798
19799 * gdb.base/bitfields.exp: Simplify by using gdb_test.
19800 * gdb.base/funcargs.exp: Likewise.
19801
19802 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
19803 message is "".
19804
19805Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19806
19807 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
19808 return,signals,twice}.exp: Handle non-existant binaries
19809 consistantly.
19810
19811 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
19812 * gdb.base/Makefile.in: Don't try to generate a core dump, we
19813 might testing a cross development system.
19814
19815Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19816
19817 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
19818 runtest script is relative to ${srcdir}, not ${rootdir}.
19819
19820Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
19821
19822 * gdb.base/signals.exp: Allow for optionality of breakpoint
19823 address.
19824
19825Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19826
19827 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
19828
19829Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19830
19831 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
19832 for size_t definition.
19833 * gdb.c++/templates.cc: Likewise
19834
19835 * config/mt-i386-netware: New file.
19836
19837 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
19838 defined.
19839
19840 * gdb.base/Makefile.in: Added support for systems that name core
19841 files by appending "core" to the program name.
19842 * gdb.base/a1-selftest.exp: Likewise.
19843
19844Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19845
19846 * gdb.base/return.exp: Add comment and message for `return double'
19847 test failure on Sparc Solaris.
19848
19849Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
19850
19851 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
19852
19853Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19854
19855 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
19856 from optimizing them away.
19857 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
19858 patterns to include default constructors and assignment operators,
19859 to match gcc versions beyond 2.5.8. Accept any cplus demangling
19860 character in the output of the virtual base pointer.
19861
19862Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19863
19864 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
19865 expression match in print_addr_of to avoid unintented matches.
19866 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
19867 versions up to 2.5.8.
19868
19869Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19870
19871 * gdb.base/list.exp: Tweak alternate pattern for listing of an
19872 included file to run under newer versions of expect.
19873 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
19874 consecutive >'s in templates to accomodate recent cplus-dem.c change.
19875 Remove xfail for the virtual table of BDDHookV.
19876
19877Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
19878
19879 * lib/gdb.exp (string_to_regexp): Set a default result.
19880 (default_gdb_start): Fix misleading message.
19881
19882Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
19883
19884 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
19885 Remove all CC, etc definitions.
19886 * config/mt-hpux: New file.
19887 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
19888 (CFLAGS, LDFLAGS): Define.
19889 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
19890
19891 * Makefile.in (site.exp): Don't insert host_os, etc.
19892 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
19893 (distclean): Check existence of subdir.
19894 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
19895 * gdb.base/Makefile.in: General cleanup and simplification.
19896 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
19897 to build executables. Use default rule to build .o files.
19898 (EXPECT, RUNTEST, CC): Fix relative pathname.
19899 (site.exp): Don't insert host_os, etc.
19900 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
19901 and/or SIGUSR1 defined.
19902 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
19903 * gdb.c++/Makefile.in: General cleanup and simplification.
19904 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
19905 (CFLAGS): Remove.
19906 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
19907
19908Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
19909
19910 * gdb.base/recurse.exp: Misc changes to get tests running again
19911 after Kung's changes to the watchpoint code.
19912 * gdb.base/watchpoint.exp: Likewise.
19913
19914Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
19915
19916 * lib/gdb.exp (string_to_regexp): Convert {\} also.
19917
19918Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
19919
19920 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
19921 * lib/gdb.exp (default_gdb_start): Define.
19922 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
19923 gdb.base/funcargs.exp, gdb.base/opaque.exp,
19924 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
19925 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
19926 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
19927 Don't call gdb_target_udi in between tests.
19928
19929Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19930
19931 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
19932 (which was basically just a local version of the same thing). In
19933 addition to avoiding duplication, gdb_test_exact is faster.
19934 * lib/gdb.exp (gdb_test_exact): Fix typo.
19935
19936 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
19937 don't give an error.
19938
19939 * gdb.base/term.exp: Call delete_breakpoints before starting.
19940
19941 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
19942 (t10): Add comment.
19943
19944Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
19945
19946 Reorganization of the GDB Test Suite.
19947
19948 * gdb.base: New directory, contains all the basic tests.
19949 * gdb.c++: New directory, tests specific to C++.
19950 * gdb.chill: New directory, tests specific to Chill.
19951 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
19952 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
19953 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
19954 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
19955 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
19956 t30-31 to chill).
19957 * */gdbme.*: Rename to match appropriate expect scripts.
19958 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
19959 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
19960 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
19961 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
19962 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
19963 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
19964 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
19965 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
19966 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
19967 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
19968 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
19969 gdb.c++/virtfunc.cc: New names of C++ files.
19970 * gdb.chill/chillvars.ch: New name of Chill file.
19971 * gdb.base/configure.in, gdb.c++/configure.in,
19972 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
19973 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
19974 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
19975 * configure.in (configdirs): Update to reflect directory changes.
19976 (target_abbrev): No longer define for any configuration.
19977 * Makefile.in: Cosmetic improvements to header comments.
19978
19979Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
19980
19981 Various changes to gdb.t31:
19982
19983 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
19984 * gdbme.ch: Make all key-words and predefineds be upper-case.
19985 * chillvars.exp: Expect key-words and predefinds in upper-case.
19986
19987 * chillvars.exp: Use gdb_test_exact many places.
19988 Change expected output for arrays (which now includes index labels).
19989
19990 * pr-5020.exp, gdme.ch (module PR_5020):
19991 New test, for PR-5020.
19992
19993Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
19994
19995 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
19996 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
19997
19998Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
19999
20000 * Makefile.in: Fix bit-rot in definitions of CHILL,
20001 CHILL_FOR_TARGET and Chill_LIB.
20002 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
20003 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
20004 CHILL, and CHILL_LIB.
20005
20006Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
20007
20008 * Revert the previous changes. Please see Rob's directory
20009 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
20010
20011Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
20012
20013 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
20014 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
20015 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
20016 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
20017 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
20018 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
20019 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
20020 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
20021 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
20022 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
20023 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
20024 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
20025 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
20026 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
20027 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
20028 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
20029 changes from 94Q1.
20030
20031Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
20032
20033 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
20034 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
20035 Rob's new testing fragments.
20036
20037Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
20038
20039 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 20040 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
20041
20042Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
20043
20044 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
20045 version also, match on casted version strings, and match on
20046 gdb startup case where the line numbers might be messed up.
20047
20048Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
20049
20050 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 20051 (CFLAGS): Delete it from here.
c906108c
SS
20052
20053Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
20054
20055 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
20056
20057Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
20058
20059 * Makefile.in (RUNTEST): Default to just "runtest".
20060
20061Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20062
20063 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
20064 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
20065 the code has been restructured.
20066
20067Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20068
20069 * gdb.t00/default.exp (set write): Allow any number of \r and/or
20070 \n, not just one of each.
20071
20072 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
20073 /bin/cc gives a warning if you do.
20074
20075Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
20076
d63a86f8 20077 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
20078 __t10ListS_link1ZUiRCUiPT0
20079
20080Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20081
20082 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
20083 on local variables in recursive functions.
20084
20085 * gdb.t07/Makefile.in: Build the new test.
20086
20087Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20088
20089 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
20090 directly. Instead compare the return values from actual calls.
20091
20092Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
20093
20094 * Makefile.in (check): Set TCL_LIBRARY for runtest.
20095
20096Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20097
20098 * From Peter Schauer with minor modifications.
a9c64011
AS
20099 * gdb.t15/return.exp (return_tests): Handle targets where "return"
20100 stops in mid-line in the caller. Add xfail for returning a float
20101 value on X86 targets.
c906108c
SS
20102
20103Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20104
20105 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
20106 to avoid expect lossage.
20107 (fmem_LRbug_tests): Likewise.
20108 * gdb.disasm/hppa.s: Corresponding changes.
20109
20110 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
20111 conditions to work with latest dejagnu/expect.
20112
20113 * gdb.t15/funcargs.exp (finish from indirect call): No longer
20114 expected to fail on the PA.
20115 (backtrace in call with trampolines): Explicitly require main
20116 to be frame #1 (no trampolines should show up in backtrace).
20117
20118 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
20119 "continue -expect".
20120 * gdb.t06/break.exp: Likewise.
20121 * gdb.t07/watchpoint.exp: Likewise.
20122 * gdb.t13/bitfields.exp: Likewise.
20123 * gdb.t15/{funcargs,return}.exp: Likewise.
20124 * gdb.stabs/weird.exp: Likewise.
20125 * config/{mips,udi}-gdb.exp: Likewise.
20126
20127 * hppa.sed: Enclose comments within a sed command to avoid
20128 losing with the old OSF1 sed.
20129
20130Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20131
20132 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
20133 sequent dynix.
20134 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
20135 * gdb.t15/funcargs.exp: Conditionally step again to really
20136 finish from marker_call_with_trampolines. Handle the case where
20137 the first step from within call_with_trampolines already steps
20138 us back to main.
20139 * gdb.t15/gdbme.c: Add comment to closing brace of
20140 call_with_trampolines for funcargs.exp.
20141
20142Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20143
d63a86f8 20144 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
20145 Fix typo(s).
20146
20147Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20148
20149 * gdb.t07/gdbme.c: More code for watchpoint testing.
20150
20151 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
20152 "Hardware watchpoint" throughout file.
20153 (test_watchpoint_triggered_in_syscall): New test.
20154 (test_complex_watchpoint): New test.
20155
20156Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20157
20158 * gdbme.c (call_with_trampolines): New function to try and step
20159 into. Tests trampoline problems on the PA.
20160
20161 * funcargs.exp (localvars_in_indirect_call): No longer expect
20162 stepping into indirect call to fail on PAs.
20163 (test_stepping_over_trampolines): New test.
20164
20165Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20166
20167 * TODO: Add suggestions for static member function tests, and
20168 completion tests.
20169
20170Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20171
20172 * TODO: Add suggestions for "p/a" tests.
20173
20174 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
20175 (default_gdb_exit): Replace all the hair with sending "quit" to
20176 the process with a simple close.
20177
20178Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20179
20180 * TODO: Add suggestions for shared library tests.
20181
20182Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20183
20184 * TODO: Add suggestions for x/s tests.
20185
20186Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20187
20188 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
20189 "enable once", and "enable breakpoints once" with ".*".
20190
20191Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20192
20193 * TODO: Add suggestions about structure passing tests.
20194
20195Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20196
20197 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
20198 the primary1 test, use work around if __GNUC__ < 2.
20199 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
20200 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
20201 Test for bad output rather than waiting for timeout. Issue
20202 second continue only if first continue failed.
20203
20204Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
20205
20206 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
20207 operator[] test with gdb_test because the old code didn't seem to
20208 be getting the quoting right with the new dejagnu.
20209
20210Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
20211
20212 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
20213 one from the path.
20214 * Makefile.in: Use a fresh expect if there is one, use runtest
20215 from the src tree if there is one.
d63a86f8 20216
c906108c
SS
20217Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
20218
20219 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
20220 next over recursive call. Revise the tests from that point on
20221 (which had been skipped) to match GDB's actual (correct) output.
20222
20223 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
20224 with next over a breakpoint whose condition is false.
20225
20226 * gdb.t00/help.exp: Comment out "help set print" tests just like
20227 (and for same reason as) "help set" test.
20228
20229Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20230
20231 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
20232 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
20233
20234Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20235
20236 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
20237 necessary gdb_target_udi.
20238
20239 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
20240
20241 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
20242 1838 and 2417; they are fixed.
20243
20244 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
20245 gdb.t03/ptype.exp (ptype structure, ptype union):
20246 Remove xfails; the test is looser than when the xfails were added.
20247
20248 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
20249 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
20250
20251 * gdb.t01/run.exp: Only run shell test if isnative.
20252
20253 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
20254 since "run" automatically loads if necessary. Call gdb_target_udi
20255 after the "file" since "file" kills any execution target.
20256
20257 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
20258 GDB. GDB doesn't work that way (not anymore at least) on UDI.
20259 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
20260 argument for UDI.
20261
20262Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
20263
20264 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
20265
20266 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
20267
20268Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20269
20270 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
20271 properly quoting regexps. This makes the second argument to
20272 demangle a fixed string, which matches the callers, instead of a
20273 shell-style pattern which is what the previous implementation
20274 used. Update some of the callers.
20275
20276Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20277
20278 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
20279 (comib_nullified_tests): Fix typo.
20280 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
20281 strings. No longer expected to fail.
20282
20283 * gdb.disasm/hppa.s (addib_tests): Fix typo.
20284 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
20285 strings. No longer expected to fail.
20286
20287 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
20288 string. No longer expected to fail.
20289
20290Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20291
20292 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
20293 No longer expected to fail.
20294
20295 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
20296 string. No longer expected to fail.
20297
20298Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20299
20300 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
20301 only in the names (I probably got most of them). I was even
20302 generous with some which differed in underscores in names, and
20303 probably missed a few, and I *still* was able to remove almost a
20304 third of the file with almost no impact on testsuite coverage.
20305
20306Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20307
20308 * gdb.t00/default.exp: Match udi_attach error message as well as
20309 the one from child_attach.
20310
20311 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
20312
20313 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
20314
20315 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
20316 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
20317
20318 * Move test with enums and partial symbols back to
20319 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
20320 Reverts the change of 26 May 93. Per today's change to
20321 stabs.texinfo, the behavior that weird.exp was expecting was
20322 unreasonable; what is important is that the compiler+gdb get
20323 things right, which happens with a recent gcc. Also fix the test
20324 to deal with native compilers which put out the stab gdb can't
20325 deal with.
20326
20327Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20328
20329 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
20330 in the names. The main thing these accomplish is to slow things down.
20331 Many more such duplicates surely remain.
20332
20333 * gdb.t00/help.exp: Comment out "help support" test just like
20334 (and for same reason as) "help set" test.
20335
20336Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
20337
20338 * gdb.t06/break.exp: Remove setup_xfails for
20339 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
20340 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
20341 about known bug in gcc to include up through 2.5.8.
20342 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
20343 well as "_vb$".
20344 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
20345 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
20346 with latest gcc and gdb.
20347 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
20348 well as "_vb$".
20349
20350Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20351
20352 * configure.in (hppa*-*-*): Also configure and build stabs-only
20353 tests.
20354
20355Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20356
20357 * gdb.t10/hppa.mt: A makefile fragment for the PA.
20358 * gdb.t10/configure.in (hppa*-*-*): Use it.
20359
20360Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20361
20362 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
20363
20364Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20365
20366 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
20367 versions prior to 1.13.5.
20368
20369Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20370
20371 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
20372 the prompt is at the start of a line.
20373
20374Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20375
20376 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
20377 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
20378 in the copr tests now.
20379 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
20380 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
20381 expected to fail.
20382
20383Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
20384
20385 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
20386 gdb.t31/chillvars.exp, lib/gdb.exp:
20387 Tweak to run under either version of expect.
20388 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
20389 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
20390 * gdb.t11/list.exp: Remove extraneous whitespace.
20391
20392Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20393
20394 * gdb.t16/printcmds.exp (test_print_strings): Accept
20395 "(unsigned char *) " before the string.
20396
20397 * TODO: Add notes about printing of fancy types and GDB expressions.
20398
20399Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
20400
20401 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
20402 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 20403 if doing mips-idt-ecoff.
c906108c
SS
20404
20405Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
20406
20407 * Most .exp files: Tweak to run under either version of expect.
20408
20409Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20410
20411 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
20412 xfails; I'm not sure why they are failing, but not because of PR 1806.
20413
20414Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
20415
20416 * config/unix-gdb.exp: Remove gdb_unload cause it's already
20417 defined in lib/gdb.exp.
20418
20419Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20420
20421 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
20422 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
20423 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
20424 have to be typeless.
20425
20426Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20427
20428 * TODO: Add suggestion for copyright year test.
20429
20430Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
20431
20432 * configure.in (*-*-lynxos*): Add stabs tests.
20433
20434Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
20435
20436 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
20437 so insert a tab before any assembler directive in column zero.
20438
20439 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
20440 stores.
20441 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
20442 stores.
20443 (fpu_short_memory_tests): Likewise.
20444
20445Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20446
20447 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
20448 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
20449 .stabs directives in comments.
20450
20451Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20452
20453 * TODO: New file, describing tests we could write.
20454 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
20455
20456Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20457
20458 * gdb.t06/signals.exp: Add kludge to force re-sync.
20459
20460 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
20461 to xgdb instead of gdb, get out of gdb.
20462
20463Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
20464
20465 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
20466 for info.
20467
20468Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
20469
20470 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
20471 * gdb.stabs/configure.in (hppa*-*-*): Use it.
20472 * gdb.stabs/hppa.sed: New sed script for the PA.
20473
20474Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20475
20476 * gdb.stabs: Re-write weird.def and configuration to use sed
20477 instead of cpp. sed is portable and POSIX; cpp is neither.
20478
20479Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20480
20481 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
20482
20483Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20484
20485 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
20486
20487Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20488
20489 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
20490 "_vb$".
20491 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
20492 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
20493
20494Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20495
20496 * lib/gdb.exp: Comment out code which depends on non-existent
20497 `transform' procedure.
20498
20499Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
20500
20501 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
20502 * lib/gdb.exp: Transform tool name.
20503 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
20504 1.1's new error handling system.
20505
20506Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20507
20508 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
20509
20510Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20511
20512 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
20513 They made pattern matching so slow that timeouts happened on
20514 heavily loaded systems. Now any output from "show print" which
20515 gets us back to the GDB prompt is a PASS.
20516
20517Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
20518
20519 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
20520
20521Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20522
20523 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
20524
20525 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
20526 It is not from PR 3220.
20527
20528Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20529
20530 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
20531 just started failing because they depended on the order the
20532 subcommands are presented, or exact docstring text. This kind of
20533 test is a pain and has minimal benefit.
20534
20535Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20536
20537 * gdb.t09/corefile.exp: At end of test, use "core" command with
20538 no arguments.
20539
20540Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
20541
20542 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
20543 17}/Makefile.in: Make it possible to run the testsuite with Sun
20544 make and CC = cross gcc by adding explicit build rules for .o
20545 files.
20546
20547Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20548
20549 * gdb.t15/funcargs.exp: Don't put comments on same line as
20550 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 20551
c906108c
SS
20552Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20553
20554 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
20555
20556Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
20557
20558 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
20559 * gdb.t20/inherit.exp: remove three dumplicate entries.
20560
20561Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20562
20563 * gdb.t06/break.exp: For "next over recursive call", fail on any
20564 incorrect output, not just on "factorial (value=2)".
20565
20566Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20567
20568 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
20569 working now. Add an xfail if accesing a bss variable causes
20570 a memory error if the target is not yet run.
20571
20572Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20573
20574 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
20575 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
20576 name of __st* demangling (2 strings). Did Kung really get the
20577 more than 95 others right without testing them?
20578
20579Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
20580
20581 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
20582
20583Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
20584
20585 * configure.in (configdirs): Add gdb.disasm
20586 * gdb.disasm: New directory for GDB disassembler tests.
20587 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
20588
20589Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20590
20591 * gdb.t00/help.exp: Don't test "help set".
20592
20593 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
20594 from within expect statements. None of these happen anymore and
20595 they cause regressions to be silently unnoticed.
20596
20597 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
20598 messages) about known failures with gcc cygnus-2.4.5-930417.
20599
20600 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
20601 comp-info.exp so it gets built if it doesn't exist.
20602
20603 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
20604 it is no longer used.
20605 * gdb.t13/comp-info.c: Removed.
20606
20607Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
20608
20609 * gdb.t06/signals.exp: Add xfail for sun3.
20610
20611Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20612
20613 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
20614 relevant because ^C doesn't get sent but failure can be reproduced
20615 interactively).
20616
20617Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20618
20619 * gdb.stabs/alpha.mt: New configuration file for alpha.
20620 * gdb.stabs/configure.in: Use it.
20621 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
20622 sharing with alpha.mt, redefine long to word via preprocessor.
20623 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
20624 for alpha.
20625 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
20626 native cc.
20627 * gdb.t00/teststrategy.exp: Change expect string so that we
20628 consume the `(xgdb)' from the command echo and from the gdb prompt.
20629 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
20630 gdb currently compares all values as long, so this failure probably
20631 applies to any configuration where LONGEST is bigger than a target int.
20632 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
20633 with gcc.
20634 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
20635 to handle opaque pointers, gcc is.
20636 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
20637 as first argument. Include <sys/types.h> and change all operator
20638 new definitions to use size_t.
20639 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
20640 now that we use size_t.
20641
20642Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20643
a9c64011 20644 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 20645 a long or float array cast all array members to the same type.
a9c64011 20646 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 20647 with 64 bit longs.
a9c64011 20648 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 20649 on alpha.
a9c64011 20650 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
20651
20652Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20653
20654 * gdb.t24 (demangle.exp): Constructors of templates have names like
20655 vector<int>::vector(int) not vector<int>::vector<int>(int). See
20656 section 14.6 of the ARM.
20657
20658 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
20659 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
20660 accomplish little and slow down the testsuite.
20661
20662 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
20663 Accept spaces various places.
20664
20665Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20666
20667 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
20668 with watchpoint enabled.
20669
20670 * Makefile.in: Remove definition of CC and remove the second
20671 definition of CXX (the "CXX = gcc" one remains). These definitions
20672 were causing backquotes to be expanded within backquotes, which
20673 doesn't work.
20674
20675Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
20676
20677 * gdb.t17/callfuncs.exp: Add "return 0" to end.
20678
20679Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20680
a9c64011
AS
20681 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
20682 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
20683 by mips cc and contains no stabs entries.
20684
20685Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
20686
20687 * config/vx-gdb.exp: Use fake device to load files rather than
20688 NFS.
20689 * lib/gdb.exp: New proc to do "file" command.
20690 * config/unix-gdb.exp: Use new "file" proc.
20691
20692Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
20693
20694 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
20695 Rework board rebooting slightly.
20696 (gdb_exit): Don't exit from the remote shell; there isn't one.
20697 * gdb.stabs/weird.exp: If a program is being debugged already,
20698 kill it.
20699 * gdb.t04/setvar.exp: Stop and restart gdb.
20700 * gdb.t05/expr.exp: Likewise.
20701 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
20702 restart gdb and reload the program.
20703 * gdb.t08/opaque.exp: Likewise.
20704 * gdb.t12/scope.exp: Likewise.
20705 * gdb.t13/bitfields.exp: Likewise.
20706 * gdb.t15/funcargs.exp: Likewise.
20707 * gdb.t20/classes.exp: Likewise.
20708 * gdb.t03/ptype.exp: Increase timeout.
20709 * gdb.t16/printcmds.exp (test_print_string_constants,
20710 test_print_array_constants): Likewise.
20711 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
20712 * gdb.t20/classes.exp (do_tests): Likewise.
20713 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
20714
20715Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
20716
20717 * gdb.stabs: Renamed *wierd* to *weird*.
20718
20719Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
20720
20721 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
20722 for timeout. Add "known gcc 2.4.5 bug" to failure message.
20723
20724Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
20725
20726 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
20727 (do_tests): Remove xfail for whatis on one_var and two_var.
20728
20729Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
20730
20731 * Makefile.in: Made cross building work better by adding
20732 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
20733
20734Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20735
20736 * gdb.t15/{return.c,return.exp,Makefile.in}:
20737 New test, currently commented out.
20738
20739Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
20740
20741 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
20742 still running and removes the leftover named socket so GDb can do
20743 clean restarts.
20744
20745Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
20746
20747 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
20748 console, not GDB.
20749 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
20750 cross testing works better with "make check"
20751 * config/unix-gdb: Use default procedures for exit and version.
20752 * config/vx-gdb.exp: Cleaned up and massaged back to working order
20753 with the newest VxWorks.
20754
20755Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20756
20757 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
20758 old form.
20759
20760 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
20761 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
20762
20763 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
20764
20765 * config/unix-gdb.exp: Remove this version of gdb_exit
20766 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
20767 Rob says he'll look at it when he gets back to testing boards.
20768
20769Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
20770
20771 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
20772 an expected fail for certain ptype commands.
20773
20774 * gdb.t20/classes.exp: Update expected results of "ptype class
20775 Base1" to account for the constructor that now appears in the type.
20776
20777Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
20778
20779 * configure.in (configdirs): Restore gdb.t04, which mysteriously
20780 disappeared from list.
20781 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
20782 "alldone" proc with call to cleanup and exit.
20783 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
20784 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
20785 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
20786 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
20787 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
20788 "alldone" proc with simple returns that suppress remaining
20789 tests. The alldone proc went away many months ago.
20790
20791Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20792
20793 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
20794
20795 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
20796
20797Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20798
20799 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
20800 as vax gdb will display them.
20801
20802Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20803
20804 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
20805 optimizers.
20806
20807 * scope.exp: Change "bad value for localval" messages so each one
20808 is unique.
20809
20810 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
20811 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
20812
20813 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
20814
20815Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20816
20817 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
20818 doesn't exist (due to optimization).
20819
20820Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20821
20822 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
20823 contains \r because the filename is long.
20824
20825 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
20826 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
20827
20828Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20829
20830 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
20831 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
20832 Ultrix.
20833 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
20834 int tests.
20835 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
20836
20837Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
20838
20839 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
20840
20841 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 20842 to match does not match the passing case but still matches the
c906108c
SS
20843 failing case.
20844
20845Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20846
20847 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
20848
20849Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
20850
20851 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
20852 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
20853 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
20854 Remove various versions of gdb_exit.
20855 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
20856 gdb_exit.
20857 * config/unix-gdb.exp: gdb_exit remains here, and should override
20858 the generic version, since it's doing a lot of wierd stuff that
20859 the other versions aren't. FIXME, fold it in, or abandon this
20860 version.
20861
20862Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20863
20864 * gdb.t24/demangle.exp: Add tests for PR 3220.
20865
20866Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20867
20868 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
20869
20870Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
20871
20872 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
20873 "i386-*-*". Works for i486 as well.
20874
20875 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
20876 bug, and expand domain of xfail to all SVR4 systems, since the
20877 actual problem is likely to be in generic SVR4 /proc support.
20878
20879Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20880
20881 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
20882
20883Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
20884
20885 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
20886 xfails for other systems. Match a missing 'Continuing.' as an
20887 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
20888
20889 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
20890 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
20891 Only issue warning for missing executables if -all option is used.
20892
20893 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
20894 file if -all option is used. It's like an unpredictable XFAIL.
20895
20896Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20897
20898 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
20899 for dynamically linked binaries.
20900
20901 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
20902
20903Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20904
20905 * gdb.t20/inherit.exp: Change message for "print tagless struct"
20906 to state that this is a known bug in old versions of g++.
20907
20908Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20909
20910 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
20911 while waiting for `Continuing'.
20912
20913Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
20914
20915 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
20916 in text, data, and bss.
20917 * gdb.t10/nodebug.c: Add local and global test variables for
20918 initialized and uninitialized data.
20919
20920Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20921
20922 * config/unix-gdb.exp (gdb_exit): Add "wait".
20923
20924Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20925
20926 * gdb.t06/signals.exp: xfail the continue from the handler for all
20927 targets.
20928
20929 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
20930 function with watchpoints enabled, the i386 call dummy starts with
20931 a call.
20932
20933 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
20934 386 bsd names its corefiles.
20935
20936Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
20937
20938 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
20939 compilers don't grok it.
20940 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
20941 with small octal ints rather than character constants, which
20942 are signed and might not fit if first promoted to int.
20943
20944Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
20945
20946 * gdb.t09/Makefile.in (clean): Remove corefile.
20947
20948Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20949
20950 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
20951
20952Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20953 and Jim Kingdon (kingdon@cygnus.com)
20954
20955 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
20956 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
20957 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
20958
20959Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20960
20961 * gdb.t17/interrupt.exp: Add xfail for hppa.
20962
20963Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20964
20965 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
20966 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
20967 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
20968 to determine signed-ness of bitfields and use the result to setup
20969 the xfail.
20970 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
20971 * gdb.t15/funcargs.exp: Use them to step until the second indirect
20972 call line is reached if necessary.
20973
20974Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20975
20976 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
20977
20978Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20979
20980 * gdb.t06/break.exp: Also test `clear' command.
20981
20982Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
20983
20984 * gdb.t00/teststrategy.exp: Remove extra quote.
20985
20986 * gdb.t07/watchpoint.exp: Change xfail for calling function with
20987 watchpoint enabled to be for all non-68k machines.
20988
20989 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
20990
20991Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20992
20993 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
20994 targets use aout.mt instead of ecoff.mt as gas understands
20995 standard aout format.
20996
20997Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
20998
20999 * lib/gdb.exp (runto): Don't insist that function we are running to
21000 was compiled with -g.
21001
21002 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
21003
21004 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
21005 to get back into the read system call.
21006 Accept leading newline in case where we woke it up.
21007
21008Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21009
21010 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
21011 to make the stabs test work on ecoff systems using gcc and -with-stabs.
21012 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
21013 enable ecoff configuration.
21014
21015Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21016
21017 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
21018
21019Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21020
21021 * gdb.t16/printcmds.exp: Add another printf test.
21022
21023Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
21024
21025 * configure.in: If configured -with-stabs on any target, add
21026 stabsdirs to configdirs.
21027
21028Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21029
21030 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
21031 fun" so pattern does not match the command itself.
21032
21033Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21034
21035 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
21036
21037Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21038
21039 * gdb.t17/interrupt.exp: Test for more things.
21040
21041Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21042
21043 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
21044 compiler arranges the code and line numbers.
21045
21046 * gdb.t17/interrupt.exp: Don't send \n after ^C.
21047
21048Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21049
21050 * gdb.t00/help.exp: Increase expect input buffer size.
21051
21052Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21053
21054 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
21055
21056 * gdb.t07/watchpoint.exp: Add xfail for hppa.
21057
21058 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
21059
21060 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
21061 [0-9]*, not just [0-9].
21062
21063Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21064
21065 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
21066
21067 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
21068
21069Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21070
21071 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
21072
21073Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21074
21075 * gdb.t06/signals.c: Add xfails for sun3.
21076
21077 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
21078
21079 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
21080 test_stepping tests.
21081
21082Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21083
21084 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
21085
21086 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
21087
21088 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
21089 rather than actually putting it through cpp twice.
21090
21091 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
21092
21093Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
21094
21095 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
21096 no longer needed.
21097
21098Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21099
21100 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
21101
21102 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
21103 C++ features prints as "struct", make it a pass, not an xfail.
21104
21105Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21106
21107 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
21108 Don't require VA to print as "class" rather than "struct".
21109
21110Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
21111
21112 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
21113
21114Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21115
21116 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
21117
21118Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21119
21120 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
21121 order.
21122
21123Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21124
21125 * gdb.t16/printcmds.exp: Add printf tests.
21126
21127 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
21128
21129 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
21130
21131Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
21132
21133 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
21134 pass counts, to counteract any existing or future setup_xfails.
21135
21136Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21137
21138 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
21139 {BEGIN,END}_COMMON for common block instead of STAB.
21140 * gdb.stabs/wierd.exp: Add xfail for rs6000.
21141
21142 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
21143 intp_var should be N_GSYM not N_LSYM.
21144 wierd-aout.S: Use a label for the value of the N_SO.
21145 wierd.def: Remove all backslashes.
21146 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
21147
21148Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21149
21150 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
21151 get the expected next to inheritance3.
21152
21153Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21154
21155 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
21156 now that gcc-2.4 gets it right.
21157
21158Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21159
21160 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
21161
21162 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
21163 generating comp-info.exp which works for cross-compilation.
21164
21165Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
21166
21167 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
21168 "*-*-sysv4.*".
21169
21170Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
21171
21172 * gdb.t01/run.exp: Start with a fresh gdb.
21173 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
21174 SVR4.x.
21175
21176Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
21177
21178 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
21179 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
21180 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
21181 Makefile.in (distclean, realclean): Remove gdbme.c from list of
21182 things to remove.
21183
21184Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
21185
21186 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
21187 test cases from bug reports.
21188
21189Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
21190
21191 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
21192 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
21193 avoid spurious xfails.
21194 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
21195 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
21196 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
21197
21198Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
21199
21200 * gdb.t00/teststrategy.exp: Rework to provide more useful
21201 description of each test, fix problem with systems that define
21202 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
21203 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
21204 results for "next over recursive call" so timeouts aren't taken
21205 by error.
21206
21207Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
21208
21209 * gdb.t12/scope.exp: Test printing of variables before run.
21210
21211 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
21212 printed in wrong order due to sorting.
21213
21214Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
21215
21216 * gdb.t00/teststrategy.exp: Fix expected results for printing
21217 user entered string constant. Is array of char, prints with no
21218 address.
21219
21220 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
21221 commands.
21222 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
21223 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
21224 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
21225 of struct of char arrays.
21226 * gdb.t00/radix.exp: New tests for radix commands.
21227
21228Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
21229
21230 * gdb.t16/printcmd.exp: Print a variable before running program
21231 (with xfail for AIX).
21232
21233Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
21234
21235 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
21236
21237 * gdb.t16/printcmd.exp: Don't print variables before running program.
21238
21239 * gdb.t06/break.exp: Don't require envp argument to main.
21240
21241 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
21242
21243 * gdb.t02/whatis.exp, gdb.t11/list.exp:
21244 Add xfails for rs6000.
21245
21246 * gdb.t02/whatis.exp: Change other tests not to re-test something
21247 we already tested.
21248
21249 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
21250 each type used has a variable of that type.
21251
21252Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
21253
21254 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
21255
21256Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
21257
21258 * configure.in: change srctrigger to be a file, not a directory
21259
21260Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
21261
21262 * configure.in (mips-idt-ecoff*): Added trailing '*'.
21263
21264 * gdb.t11/list.exp: Fixed a couple of typos.
21265
21266Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
21267
21268 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
21269 is fixed and PR is closed.
21270 * gdb.t16 (gdbme.c): Add simple test string variable.
21271 * gdb.t16 (printcmds.exp): Add tests with simple test string
21272 variable, primarily for boundaries on "set print elements".
21273
21274Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
21275
21276 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
21277 Make leading 0's optional and don't expect a tab in the middle
21278 of the number.
21279
21280 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
21281
21282 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
21283 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
21284 don't end command passed to gdb_test with newline.
21285
21286 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
21287 signed keyword away, don't expect signed bitfields to be signed.
21288
21289 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
21290 printing with only as many 1's as are in the field as well as printing
21291 with 32 1's (see comment).
21292
21293Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
21294
21295 * gdb.t00/default.exp: Start with a fresh gdb.
21296 * configure.in (configdirs): Remove gdb.t31 until the chill
21297 compiler works again. It no longer is able to find chillrt0
21298 since it isn't in libchill.a anymore.
21299 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
21300 wierd.o, make more modular.
21301 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
21302 spurious newlines that caused problems.
21303
21304Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21305
21306 * Move test with enums and partial symbols from gdb.t03/ptype.exp
21307 to gdb.stabs/wierd.exp since GCC has worked around the bug.
21308 gdb.stabs/wierd.{exp,def}: Many new tests.
21309
21310 * gdb.t00/default.exp: update info line for new message.
21311
21312 * gdb.t02/{whatis.exp,gdbme.c}:
21313 Test that "char *" doesn't print as "caddr_t".
21314
21315Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21316
21317 * gdb.t00/help.exp: Use .* in place of some help messages which
21318 just changed.
21319 gdb.t00/default.exp: Update "info frame" test for new message.
21320 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
21321 Remove some xfails
21322
21323Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21324
21325 * gdb.t03/{gdbme.c,ptype.exp}:
21326 Add tests for typedef'd struct and union without tags.
21327 Also check "whatis" on a variable of a typedef'd enum without a tag.
21328
21329 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
21330 PRMS 1823; the bug still exists but isn't reproduced by this test
21331 anymore), and remove rs6000 XFAIL (the bug is fixed).
21332
21333 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
21334 duplicated from whatis.exp. For those that are left, accept
21335 "long", "long int", or "int" for long variables (whatis.exp already
21336 has an XFAIL for "int", so no need to fail it here).
21337
21338 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
21339 Deal with GCC's names for types now that GDB uses the compiler's names.
21340
21341 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
21342 setup_xfail's for sunos4. If we #defined the signed keyword away,
21343 don't expect GDB to know that char it is signed.
21344
21345 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
21346
21347Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
21348
21349 * configure.in (configdirs): Add gdb.t24 for C++ tests that
21350 should work on any system, regardless of debugging format.
21351 * gdb.t21/demangle.exp: Move to gdb.t24.
21352 * gdb.t24/demangle.exp: Move from gdb.t21.
21353 * gdb.t24/{Makefile.in, configure.in}: New files.
21354
21355Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21356
21357 * configure.in: Do gdb.stabs and C++ tests only for stabs.
21358 * gdb.stabs: New directory.
21359
21360Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21361
21362 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
21363 not just "Quit anyway?".
21364
21365Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
21366
21367 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
21368 that all setup_xfails are immediately followed by clear_xfails.
21369
21370Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
21371
21372 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
21373 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
21374 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
21375 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
21376 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
21377 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
21378 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
21379 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
21380 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
21381 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
21382 gdb.t31/chillvars.exp, lib/gdb.exp:
21383 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
21384 bug-gdb@prep.ai.mit.edu.
21385
21386Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
21387
21388 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
21389 with 0.0, not integer 0.
21390
21391Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
21392
21393 * gdb.t06/break.exp: Update for "Kill the program" message change.
21394
21395Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
21396
21397 * Makefile.in (GDBFLAGS): Set to -nx.
21398 * Makefile.in (site.exp): Use GDBFLAGS.
21399
21400Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
21401
21402 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
21403 Makefiles.
21404 (check): depend on just-check.
21405 (just-check): added so that tests can be run without a noop
21406 build pass.
21407
21408Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
21409
21410 Switch to using configure's configdirs.
21411 * Makefile.in (Makefile): add configure.in dependency.
21412 (SUBDIRS): removed redundant assignment.
21413 * configure.in: switch subdirs assignment to configdirs.
21414 * gdb.t*/configure.in: new files.
21415
21416Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
21417
21418 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
21419 works.
21420
21421Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
21422
21423 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
21424 in explicit rules. Apparently this is not supported by some makes.
21425
21426Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
21427
21428 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
21429
21430Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21431
21432 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
21433 disappeared.
21434
21435Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
21436
21437 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
21438
21439Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
21440
21441 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
21442 watchpoint problem that is now fixed.
21443 * gdb.t30/chexp.exp: Remove setup_xfail for printing
21444 uninitialized convenience variables.
21445 * gdb.t31/chillvars.exp: Fix expected patterns for printing
21446 structures.
21447
21448Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21449
21450 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
21451 which causes expect to get out of sync with gdb on long output
21452 from help set.
21453 * gdb.t09/corefile.exp: Make expected pattern for core file
21454 failing signal and frame output format less sun specific.
21455
21456Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
21457
21458 * gdb.t31/chillvars.exp: Add and remove initial dummy
21459 breakpoint, so that symbol table is forced in.
21460 (Needed at least on Sunos4, though it seems not SVR4.)
21461 * gdb.t31/chillvars.exp: Update for changed output format.
21462
21463Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
21464
a9c64011 21465 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
21466
21467Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
21468
21469 * Makefile.in: Added --srcdir when invoking runtest, removed the
21470 need for a local config file. (optional now)
21471
21472Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
21473
21474 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
21475 failure count used to force early termination. Add some more
21476 expected failures for gnu style demangling.
21477
21478Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21479
21480 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
21481 pmi variable from gdb.t20/gdbme to get optimized away.
21482 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
21483 Check for written corefile upon timeout _and_ eof.
21484
21485Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21486
21487 * config/unix-gdb.exp: Add missing return 0.
21488
21489Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21490
21491 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
21492 test termination.
21493
21494Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
21495
21496 * configure.in (subdirs): Put back gdb.t17 which mysteriously
21497 disappeared.
21498
21499Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
21500
21501 * gdb.t10/crossload.exp: Disable the i860-elf test until such
21502 time as i860 support works.
21503
d63a86f8 21504 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
21505 "backtrace 100\r" rather than just "backtrace\r", to match last
21506 change.
21507
21508Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
21509
21510 * config/udi-gdb.exp (gdb_exit): Remove close command.
21511 (gdb_target_udi): New procedure to set the UDI target.
21512 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
21513 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
21514 Added waits for prompts after several question responses. Added
21515 some more responses used by a29k-amd-udi-gdb.
21516 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
21517 pass different arguments, restart UDI connection after program
21518 completion.
21519 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
21520 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
21521 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
21522 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
21523 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
21524 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
21525 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
21526 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
21527 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
21528 after program completion.
21529 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
21530 compiled with a SELECT_VECS setting.
21531 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
21532 infinite recursion.
21533
21534 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
21535 Added checks for COFF results, and made them expected failures for
21536 all targets. It would be better to make them expected failures
21537 for COFF targets only.
21538
21539Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
21540
21541 * Makefile.in: add null dvi target, don't bother to recurse
21542 through test directories for info and install-info; rename
21543 $(datadir) to be dejagnu instead of deja-gnu
21544
21545Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
21546
21547 * gdb.t31/gdbme.ch: Re-enable code that previously caused
21548 compiler to coredump.
21549 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
21550 code.
21551
21552Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
21553
21554 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
21555 coredump.
21556 * gdb.t31/chillvars.exp: Comment out tests that depend on that
21557 code.
21558
21559Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
21560
21561 * gdb.t03/ptype.exp: tests for return code from gdb_test.
21562 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
21563 which in a shell. Deletes xgdb when done.
21564 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
21565 Tests the return from the "set height" or "set width" commands.
21566 Added a few return codes where needed.
21567
21568Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
21569
21570 * Makefile.in (SUBDIRS): Add gdb.t17.
21571 * configure.in (subdirs): Add gdb.t17.
21572 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
21573 files to test gdb's calling of functions in the inferior with
21574 the correct arguments and gdb's ability to retrieve any
21575 result returned.
21576
21577Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
21578
21579 * config/unix-gdb.exp (gdb_exit): Remove close commands that
21580 may be called after gdb goes away. Previous versions of expect
21581 needed these to avoid file descriptor leaks, but they cause
21582 errors with the current revision of expect.
21583 * gdb.t00/gdbvars.exp: Use -re on expected output after
21584 setting sevenbit-strings.
21585 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
21586 to set sevenbit-strings consistent across tests.
21587 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
21588 set sevenbit-strings consistent across tests.
21589
21590Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
21591
21592 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
21593 expected output to match current "expect" expectations.
21594
21595Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
21596
21597 * gdb.t00/default.exp: Change expected output for default "source"
21598 command, to match new gdb behavior which requires a filename to
21599 source.
21600
21601Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
21602
21603 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
21604 expected fail for i486-*-* that misses the marker2 function.
21605 * gdb.t10/crossload.exp (bfddefault): Allow successful
21606 recognition of a format to pass even if no symbols are found.
21607 Explicitly catch failures where the format is not recognized
21608 or is ambiguous, and add the reason to the fail message.
21609 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
21610 the cause is and invalid target and add reason to failure message.
21611 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
21612 elf32-i386, elf32-sparc, and elf32-i860.
21613 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
21614 Set up expected failure for 'filename'::variable scope resolution,
21615 which is now apparently broken on all targets.
21616 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
21617 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
21618 gdb.t23/templates.exp: Change failure for missing binfile into
21619 just a warning.
21620 gdb.t21/demangle.exp: Change all cfront references to 'arm'
21621 references.
21622
21623Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
21624
21625 * gdb.t00/default.exp: Add expected output for default "source"
21626 command, to match new gdb behavior.
21627 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
21628
21629Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
21630
21631 * config/*-gdb.exp: returns an error, rather than exiting on
21632 internal errors.
21633
21634Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
21635
21636 * gdb.t03/gdbme.c: Add pointer to struct variable.
21637 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
21638 referencing struct members.
21639
21640Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
21641
21642 * configure.in (mips-idt-ecoff): New target.
21643 * config/mips-gdb.exp: New file for remote board using MIPS remote
21644 debugging protocol.
21645
21646 * Redid configuration scheme. Removed gdb.t*/configure.in.
21647 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
21648 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
21649 distclean targets. Built executables via .o files. Adjusted
21650 tests to account for source files in $(srcdir) rather than
21651 $(objdir).
21652 * lib/gdb.exp (runto): Don't expect () after the function name,
21653 because it may have arguments.
21654
21655Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
21656
21657 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
21658 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
21659 expected failures for mips-idt-* and mips-sgi-*.
21660 * gdb.t00/default.exp (attach): Kill process if requested.
21661 * gdb.t00/help.exp (help target core, help target): Accept a gdb
21662 that does not read core files.
21663 * gdb.t01/run.exp: Removed checks for exit status code.
21664 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
21665 it is linked in.
21666 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
21667 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
21668 appropriate, rather than doing it by hand.
21669 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
21670 execution.
21671 * gdb.t10/crossload.exp: Kill existing program if needed.
21672 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
21673 appropriate, rather than doing it by hand. Always increase
21674 timeout for this test, not just for VxWorks.
21675
21676Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
21677
21678 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
21679 of Chill STRUCT types and STRUCT values.
21680 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
21681 than "char".
21682 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 21683 struct2): New struct definitions and initializations to test
c906108c
SS
21684 simple Chill STRUCT types.
21685
21686Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
21687
21688 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
21689 the null byte at the end of strings.
21690 * gdb.t00/default.exp: Make show version insensitive to copyright
21691 date.
21692 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
21693 to avoid dependencies on target char signedness.
21694 * gdb.t16/printcmds.exp: Update expected results for explicitly
21695 unsigned char.
21696 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
21697 now work.
21698 * gdb.t21/demangle.exp: Add many more patterns for template
21699 demangling, most of them being expected failures.
21700 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
21701 string we are matching for, to match on the whole string.
21702 * gdb.t21/demangle.exp: Add many new test strings to demangle,
21703 and fix a whole bunch that had incorrect expected output but were
21704 passing anyway because of the bug in "proc demangle".
21705 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
21706 type.
21707 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
21708
21709Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
21710
a9c64011
AS
21711 * gdb/testsuite: made modifications to testcases, etc., to allow
21712 them to work properly given the reorganization of deja-gnu and the
21713 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
21714
21715Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
21716
21717 * gdb/testsuite: Initial creation of gdb/testsuite.
21718 Migrated dejagnu testcases and support files for testing nm to
21719 gdb/testsuite from deja-gnu. These files were moved "as is"
21720 with no modifications. This migration is part of a major overhaul
21721 of dejagnu. The modifications to these testcases, etc., which
21722 will allow them to work with the new version of dejagnu will be
21723 made in a future update.
48efe704 21724
8d8cb839 21725 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 21726\f
8d8cb839
EZ
21727;; Local Variables:
21728;; mode: change-log
21729;; left-margin: 8
21730;; fill-column: 74
21731;; version-control: never
21732;; End:
902f2ccb
MC
21733
21734 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 21735 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
21736 Copying and distribution of this file, with or without modification,
21737 are permitted provided the copyright notice and this notice are preserved.