gdb/
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
4 (main) <rtti_data>: New.
5 * gdb.cp/virtbase.exp (print rtti_data): New.
6
7 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8 Joel Brobecker <brobecker@adacore.com>
9
10 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
11
12 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13
14 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
15
16 2010-06-28 Doug Evans <dje@google.com>
17
18 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
19
20 2010-06-27 Doug Evans <dje@google.com>
21
22 * gdb.cp/m-static.exp: Update expected test output.
23
24 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
25
26 * gdb.gdb/selftest.exp: Adjust expected message for
27 capturing start-up runtime.
28
29 2010-06-25 Tom Tromey <tromey@redhat.com>
30
31 PR python/10808:
32 * gdb.python/python.exp: Add new tests.
33
34 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
35
36 * gdb.cp/operator.cc: Created an import loop.
37 * gdb.cp/operator.exp: Added testcase for import loop.
38
39 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
40
41 Test PR python/11407.
42 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
43 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
44 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
45 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
46 executable_nofb and executable_fb. New variables srcsfile, objsfile,
47 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
48 binfile. Call gdb_compile with clean_restart twice.
49 (func_nofb print, func_nofb backtrace, func_loopfb print)
50 (func_loopfb backtrace): New.
51
52 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
53
54 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
55 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
56 by a hand made one.
57 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
58 i?86 requirement. Remove variables srcfile and binfile. New variable
59 sources, executable_nofb and executable_fb. Call prepare_for_testing.
60
61 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
62
63 * gdb.cell/dwarfaddr.exp: New file.
64 * gdb.cell/dwarfaddr.S: New file.
65
66 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
67
68 Test PR 9436.
69 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
70
71 2010-06-24 Hui Zhu <teawater@gmail.com>
72
73 * gdb.base/eval.exp: New file.
74
75 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
76
77 * gdb.cell/fork.exp: New file.
78 * gdb.cell/fork.c: Likewise.
79 * gdb.cell/fork-spu.c: Likewise.
80
81 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
82
83 * lib/gdb.exp (banned_variables_traced): New global variable.
84 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
85 (gdb_init): Use `trace add variable' instead of obsolete
86 `trace variable'.
87
88 2010-06-21 Doug Evans <dje@google.com>
89
90 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
91
92 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
93
94 * gdb.arch/spu-ls.exp: New file.
95 * gdb.arch/spu-ls.c: Likewise.
96
97 2010-06-18 Stan Shebs <stan@codesourcery.com>
98
99 * gdb.threads/thread-specific.exp: Add tests of $_thread.
100
101 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
102
103 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
104 * gdb.base/watch-cond.exp: Likewise.
105 * gdb.python/py-breakpoint.exp: Likewise.
106
107 2010-06-18 Pedro Alves <pedro@codesourcery.com>
108
109 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
110 clean_restart, make sure every test has a distinct message, and
111 that messages don't include the executable' full path.
112
113 2010-06-17 Doug Evans <dje@google.com>
114
115 * gdb.arch/i386-size.exp: Updated expected output for
116 DISASSEMBLY_OMIT_FNAME.
117
118 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
119 Sergio Durigan Junior <sergiodj@redhat.com>
120
121 * gdb.base/watch-notconst.c: New file.
122 * gdb.base/watch-notconst.S: New file.
123 * gdb.base/watch-notconst2.c: New file.
124 * gdb.base/watch-notconst2.S: New file.
125 * gdb.base/watch-notconst.exp: New file.
126 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
127 (func4): Add operations on `global_ptr_ptr'.
128 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
129 routine to test watchpoints created with a constant expression.
130 (test_inaccessible_watchpoint): Include tests for watchpoints
131 created with a constant expression.
132
133 2010-06-14 Kevin Buettner <kevinb@redhat.com>
134
135 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
136 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
137 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
138 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
139 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
140 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
141 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
142 of `_start'.
143
144 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
145
146 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
147 not supported on the target.
148 * gdb.mi/mi-nonstop-exit.exp: Likewise.
149 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
150 * gdb.mi/mi-nsintrall.exp: Likewise.
151 * gdb.mi/mi-nsmoribund.exp: Likewise.
152 * gdb.mi/mi-nsthrexec.exp: Likewise.
153
154 2010-06-11 Stan Shebs <stan@codesourcery.com>
155
156 * gdb.base/permissions.exp: New file.
157
158 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
159
160 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
161 does not support ELF executable class.
162
163 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
164
165 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
166
167 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
168
169 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
170 (runto): Catch "The target does not support running in non-stop mode.".
171
172 2010-06-11 Michael Snyder <msnyder@vmware.com>
173
174 * gdb.base/setshow.exp (set language asm): Don't use
175 gdb_test_no_output, fails on some targets.
176
177 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
178
179 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
180 * gdb.cp/pr9167.exp: Likewise.
181
182 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
183
184 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
185
186 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
187
188 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
189
190 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
191
192 * gdb.base/charset.c (main): Make sure malloc gets linked in.
193
194 2010-06-11 Tom Tromey <tromey@redhat.com>
195
196 PR gdb/9977, PR exp/11636::
197 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
198 (pieces_test_f6): Update expected output.
199
200 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
201
202 * gdb.base/moribund-step.exp: New.
203
204 2010-06-08 Michael Snyder <msnyder@vmware.com>
205
206 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
207 * gdb.ada/boolean_expr.exp:
208 * gdb.ada/frame_args.exp: Ditto.
209 * gdb.ada/lang_switch.exp: Ditto.
210 * gdb.ada/ptype_arith_binop.exp: Ditto.
211 * gdb.ada/ref_param.exp: Ditto.
212 * gdb.ada/type_coercion.exp:Ditto.
213
214 * gdb.asm/asm-source.exp: Ditto.
215
216 * gdb.base/attach.exp: Ditto.
217 * gdb.base/bitfields2.exp: Ditto.
218 * gdb.base/call-signal-resume.exp: Ditto.
219 * gdb.base/callfuncs.exp: Ditto.
220 * gdb.base/commands.exp: Ditto.
221 * gdb.base/dbx.exp: Ditto.
222 * gdb.base/default.exp: Ditto.
223 * gdb.base/dump.exp: Ditto.
224 * gdb.base/exprs.exp: Ditto.
225 * gdb.base/freebpcmd.exp: Ditto.
226 * gdb.base/interrupt.exp: Ditto.
227 * gdb.base/list.exp: Ditto.
228 * gdb.base/long_long.exp: Ditto.
229 * gdb.base/maint.exp: Ditto.
230 * gdb.base/ptype.exp: Ditto.
231 * gdb.base/return.exp: Ditto.
232 * gdb.base/setshow.exp: Ditto.
233 * gdb.base/sigbpt.exp: Ditto.
234 * gdb.base/sigrepeat.exp: Ditto.
235
236 * gdb.cp/classes.exp: Ditto.
237
238 * gdb.dwarf2/dw2-restore.exp: Ditto.
239
240 * gdb.gdb/selftest.exp: Ditto.
241
242 * gdb.multi/base.exp: Ditto.
243 * gdb.multi/bkpt-multi-exec.exp: Ditto.
244
245 * gdb.python/py-block.exp: Ditto.
246 * gdb.python/py-prettyprint.exp: Ditto.
247 * gdb.python/py-template.exp: Ditto.
248
249 * gdb.server/ext-attach.exp: Ditto.
250 * gdb.server/ext-run.exp: Ditto.
251 * gdb.server/server-mon.exp: Ditto.
252
253 * gdb.threads/fork-thread-pending.exp: Ditto.
254 * gdb.threads/hand-call-in-threads.exp: Ditto.
255 * gdb.threads/interrupted-hand-call.exp: Ditto.
256 * gdb.threads/linux-dp.exp: Ditto.
257 * gdb.threads/manythreads.exp: Ditto.
258 * gdb.threads/print-threads.exp: Ditto.
259 * gdb.threads/pthreads.exp: Ditto.
260 * gdb.threads/schedlock.exp: Ditto.
261 * gdb.threads/thread-unwindonsignal.exp: Ditto.
262 * gdb.threads/threadapply.exp: Ditto.
263
264 2010-06-08 Michael Snyder <msnyder@vmware.com>
265
266 * gdb.ada/exec_changed.exp:
267 Use ".*" instead of "" as wildcard regexp.
268
269 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
270 * gdb.base/call-ar-st.exp: Ditto.
271 * gdb.base/checkpoint.exp: Ditto.
272 * gdb.base/default.exp: Ditto.
273 * gdb.base/dump.exp: Ditto.
274 * gdb.base/ending-run.exp: Ditto.
275 * gdb.base/fileio.exp: Ditto.
276 * gdb.base/miscexprs.exp: Ditto.
277 * gdb.base/pointers.exp: Ditto.
278 * gdb.base/readline.exp: Ditto.
279 * gdb.base/reread.exp: Ditto.
280 * gdb.base/restore.exp: Ditto.
281 * gdb.base/shlib-call.exp: Ditto.
282 * gdb.base/valgrind-db-attach.exp: Ditto.
283 * gdb.base/volatile.exp: Ditto.
284 * gdb.base/watchpoints.exp: Ditto.
285
286 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
287
288 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
289 * gdb.python/py-value.exp: Ditto.
290
291 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
292 * gdb.trace/circ.exp: Ditto.
293 * gdb.trace/collection.exp: Ditto.
294 * gdb.trace/packetlen.exp: Ditto.
295 * gdb.trace/passc-dyn.exp: Ditto.
296 * gdb.trace/report.exp: Ditto.
297 * gdb.trace/tfile.exp: Ditto.
298 * gdb.trace/tfind.exp: Ditto.
299 * gdb.trace/while-dyn.exp: Ditto.
300
301 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
302
303 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
304
305 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
306
307 Test PR 10640.
308 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
309
310 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
311
312 * gdb.cp/koenig.exp: Test for ADL operators.
313 * gdb.cp/koenig.cc: Added ADL operators.
314 * gdb.cp/operator.exp: New test.
315 * gdb.cp/operator.cc: New test.
316
317 2010-06-04 Michael Snyder <msnyder@vmware.com>
318
319 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
320 * gdb.base/pending.exp: Ditto.
321
322 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
323
324 2010-06-04 Doug Evans <dje@google.com>
325
326 * gdb.python/py-prettyprint.exp: Add new test for enabled and
327 disabled printers.
328 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
329 (enable_lookup_function): New function.
330
331 2010-06-04 Tom Tromey <tromey@redhat.com>
332
333 * gdb.python/py-value.exp (test_value_hash): Don't test equality
334 of hash and id.
335
336 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
337
338 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
339 newline.
340 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
341 (empty verbose non-noisy clear, empty verbose noisy clear)
342 (empty non-verbose noisy clear): Likewise.
343
344 2010-06-03 Michael Snyder <msnyder@vmware.com>
345
346 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
347 * gdb.base/display.exp: Ditto.
348 * gdb.base/find.exp: Ditto.
349 * gdb.base/ifelse.exp: Ditto.
350 * gdb.base/multi-forks.exp: Ditto.
351 * gdb.base/recurse.exp: Ditto.
352 * gdb.base/setshow.exp: Ditto.
353 * gdb.base/value-double-free.exp: Ditto.
354 * gdb.base/watch-vfork.exp: Ditto.
355 * gdb.base/watch_thread_num.exp: Ditto.
356 * gdb.base/watchpoint-solib.exp: Ditto.
357 * gdb.base/watchpoint.exp: Ditto.
358 * gdb.base/watchpoints.exp: Ditto.
359
360 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
361 * gdb.cp/overload.exp: Ditto.
362 * gdb.cp/virtfunc.exp: Ditto.
363
364 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
365
366 * gdb.reverse/watch-precsave.exp:
367 Replace gdb_test with gdb_test_no_output.
368
369 * gdb.threads/attach-into-signal.exp:
370 Replace gdb_test with gdb_test_no_output.
371 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
372 * gdb.threads/watchthreads.exp: Ditto.
373 * gdb.threads/watchthreads2.exp: Ditto.
374
375 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
376 * gdb.trace/tfind.exp: Ditto.
377
378 2010-06-03 Joel Brobecker <brobecker@adacore.com>
379
380 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
381 successful test if message is the empty string.
382
383 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
384
385 * gdb.fortran/module.exp (stopped language detection): New test.
386
387 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
388
389 Support DW_TAG_module as separate namespaces.
390 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
391 gdb.fortran/library-module-lib.f90: New.
392 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
393 (print i): Remove.
394 (continue to breakpoint: i-is-1, print var_i value 1)
395 (continue to breakpoint: i-is-2, print var_i value 2)
396 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
397 (print var_d, print var_i value 14, ptype modmany, complete `modm)
398 (complete `modmany, complete `modmany`, complete `modmany`var)
399 (show language, setting breakpoint at module): New tests.
400 * gdb.fortran/module.f90 (module mod): Remove.
401 (module mod1, module mod2, module modmany, subroutine sub1)
402 (subroutine sub2, program module): New.
403
404 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
405
406 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
407 (print value of rUC, print value of rI, print value of UI): ... here.
408 * gdb.cp/anon-union.exp (pass): Rename to ...
409 (print z 2): ... here.
410
411 2010-06-02 Michael Snyder <msnyder@vmware.com>
412
413 * gdb.trace/actions.exp: Use gdb_test_no_output.
414 * gdb.trace/circ.exp: Ditto.
415 * gdb.trace/packetlen.exp: Ditto.
416 * gdb.trace/save-trace.exp: Ditto.
417 * gdb.trace/tracecmd.exp: Ditto.
418 * gdb.trace/tsv.exp: Ditto.
419
420 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
421 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
422 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
423 * gdb.threads/manythreads.exp: Ditto.
424 * gdb.threads/print-threads.exp: Ditto.
425 * gdb.threads/pthreads.exp: Ditto.
426 * gdb.threads/schedlock.exp: Ditto.
427 * gdb.threads/staticthreads.exp: Ditto.
428 * gdb.threads/thread-specific.exp: Ditto.
429 * gdb.threads/thread-unwindonsignal.exp: Ditto.
430 * gdb.threads/threadapply.exp: Ditto.
431 * gdb.threads/watchthreads.exp: Ditto.
432 * gdb.threads/watchthreads2.exp: Ditto.
433
434 * gdb.python/py-block.exp: Use gdb_test_no_output.
435 * gdb.python/py-prettyprint.exp: Ditto.
436 * gdb.python/py-template.exp: Ditto.
437 * gdb.python/py-value.exp: Ditto.
438
439 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
440 * gdb.reverse/watch-reverse.exp: Ditto.
441
442 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
443 * gdb.server/ext-run.exp: Ditto.
444
445 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
446 * gdb.dwarf2/dw2-compressed.exp: Ditto.
447 * gdb.dwarf2/dw2-intercu.exp: Ditto.
448 * gdb.dwarf2/dw2-intermix.exp: Ditto.
449 * gdb.dwarf2/dw2-producer.exp: Ditto.
450 * gdb.dwarf2/mac-fileno.exp: Ditto.
451
452 * gdb.gdb/observer.exp: Use gdb_test_no_output.
453 * gdb.gdb/selftest.exp: Ditto.
454
455 * gdb.multi/base.exp: Use gdb_test_no_output.
456
457 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
458
459 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
460
461 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
462
463 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
464
465 * gdb.cp/class2.exp: Use gdb_test_no_output.
466 * gdb.cp/classes.exp: Ditto.
467 * gdb.cp/extern-c.exp: Ditto.
468 * gdb.cp/inherit.exp: Ditto.
469 * gdb.cp/maint.exp: Ditto.
470 * gdb.cp/mb-inline.exp: Ditto.
471 * gdb.cp/mb-templates.exp: Ditto.
472 * gdb.cp/method2.exp: Ditto.
473 * gdb.cp/misc.exp: Ditto.
474 * gdb.cp/ovldbreak.exp: Ditto.
475 * gdb.cp/punctuator.exp: Ditto.
476 * gdb.cp/templates.exp: Ditto.
477 * gdb.cp/virtbase.exp: Ditto.
478
479 * gdb.threads/attach-stopped.exp:
480 Replace uses of send_gdb / gdb_expect.
481 * gdb.threads/attachstop-mt.exp:
482 Replace uses of send_gdb / gdb_expect.
483 * gdb.threads/gcore-thread.exp:
484 Replace uses of send_gdb / gdb_expect.
485 * gdb.threads/hand-call-in-threads.exp:
486 Replace uses of send_gdb / gdb_expect.
487 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
488 * gdb.threads/print-threads.exp:
489 Replace uses of send_gdb / gdb_expect.
490 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
491 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
492 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
493
494 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
495 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
496 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
497 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
498 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
499 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
500 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
501 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
502 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
503 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
504 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
505
506 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
507
508 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
509
510 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
511
512 * gdb.cp/koenig.exp: Added new test case.
513 * gdb.cp/koenig.cc: Ditto.
514
515 2010-06-01 Michael Snyder <msnyder@vmware.com>
516
517 * gdb.base/arithmet.exp: Use gdb_test_no_output.
518 * gdb.base/arrayidx.exp: Ditto.
519 * gdb.base/attach.exp: Ditto.
520 * gdb.base/auxv.exp: Ditto.
521 * gdb.base/bigcre.exp: Ditto.
522 * gdb.base/break-always.exp: Ditto.
523 * gdb.base/break-interp.exp: Ditto.
524 * gdb.base/break.exp: Ditto.
525 * gdb.base/breakpoint-shadow.exp: Ditto.
526 * gdb.base/call-ar-st.exp: Ditto.
527 * gdb.base/call-sc.exp: Ditto.
528 * gdb.base/call-signal-resume.exp: Ditto.
529 * gdb.base/callfuncs.exp: Ditto.
530 * gdb.base/catch-syscall.exp: Ditto.
531 * gdb.base/charset.exp: Ditto.
532 * gdb.base/code-expr.exp: Ditto.
533 * gdb.base/commands.exp: Ditto.
534 * gdb.base/cond-expr.exp: Ditto.
535 * gdb.base/condbreak.exp: Ditto.
536 * gdb.base/cursal.exp: Ditto.
537 * gdb.base/cvexpr.exp: Ditto.
538 * gdb.base/default.exp: Ditto.
539 * gdb.base/del.exp: Ditto.
540 * gdb.base/detach.exp: Ditto.
541 * gdb.base/display.exp: Ditto.
542 * gdb.base/ena-dis-br.exp: Ditto.
543 * gdb.base/eval-skip.exp: Ditto.
544 * gdb.base/foll-fork.exp: Ditto.
545 * gdb.base/foll-vfork.exp: Ditto.
546 * gdb.base/frame-args.exp: Ditto.
547 * gdb.base/funcargs.exp: Ditto.
548 * gdb.base/gcore-buffer-overflow.exp: Ditto.
549 * gdb.base/gdbvars.exp: Ditto.
550 * gdb.base/help.exp: Ditto.
551 * gdb.base/ifelse.exp: Ditto.
552 * gdb.base/included.exp: Ditto.
553 * gdb.base/list.exp: Ditto.
554 * gdb.base/macscp.exp: Ditto.
555 * gdb.base/maint.exp: Ditto.
556 * gdb.base/multi-fork.exp: Ditto.
557 * gdb.base/overlays.exp: Ditto.
558 * gdb.base/page.exp: Ditto.
559 * gdb.base/pending.exp: Ditto.
560 * gdb.base/pointers.exp: Ditto.
561 * gdb.base/pr11022.exp: Ditto.
562 * gdb.base/prelink.exp: Ditto.
563 * gdb.base/printcmds.exp: Ditto.
564 * gdb.base/psymtab.exp: Ditto.
565 * gdb.base/randomize.exp: Ditto.
566 * gdb.base/relational.exp: Ditto.
567 * gdb.base/relocate.exp: Ditto.
568 * gdb.base/remote.exp: Ditto.
569 * gdb.base/sepdebug.exp: Ditto.
570 * gdb.base/set-lang-auto.exp: Ditto.
571 * gdb.base/setshow.exp: Ditto.
572 * gdb.base/setvar.exp: Ditto.
573 * gdb.base/signals.exp: Ditto.
574 * gdb.base/signull.exp: Ditto.
575 * gdb.base/sigstep.exp: Ditto.
576 * gdb.base/sizeof.exp: Ditto.
577 * gdb.base/solib-disc.exp: Ditto.
578 * gdb.base/store.exp: Ditto.
579 * gdb.base/structs.exp: Ditto.
580 * gdb.base/structs2.exp: Ditto.
581 * gdb.base/subst.exp: Ditto.
582 * gdb.base/term.exp: Ditto.
583 * gdb.base/trace-commands.exp: Ditto.
584 * gdb.base/unwindonsignal.exp: Ditto.
585 * gdb.base/valgrind-db-attach.exp: Ditto.
586 * gdb.base/varargs.exp: Ditto.
587 * gdb.base/watch-cond.exp: Ditto.
588 * gdb.base/watch_thread_num.exp: Ditto.
589 * gdb.base/watchpoint-cond-gone.exp: Ditto.
590 * gdb.base/watchpoint.exp: Ditto.
591 * gdb.base/whatis-exp.exp: Ditto.
592
593 2010-06-01 Michael Snyder <msnyder@vmware.com>
594
595 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
596 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
597 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
598 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
599 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
600 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
601 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
602 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
603 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
604 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
605 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
606 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
607 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
608 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
609 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
610
611 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
612
613 * gdb.base/commands.exp (begin commands on watch): Remove excessive
614 trailing newline.
615 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
616 * gdb.java/jmisc.exp (p *args\n): Rename to ...
617 (p *args): ... here and remove excessive trailing newline.
618
619 2010-05-31 Joel Brobecker <brobecker@adacore.com>
620
621 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
622
623 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
624
625 Accept the new Linux kernel "t (tracing stop)" string.
626 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
627 Update comment.
628 (state_wait) <T (tracing stop)>: New.
629 (main): Update the state_wait expect string.
630
631 2010-05-28 Pedro Alves <pedro@codesourcery.com>
632
633 * limits.c, limits.exp: Delete files.
634 * Makefile.in (clean mostlyclean): Adjust.
635 * tracecmd.exp: Adjust.
636
637 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
638
639 * gdb.base/tui-layout.exp: New.
640
641 2010-05-28 Michael Snyder <msnyder@vmware.com>
642
643 * gdb.reverse/break-precsave.exp:
644 Replace uses of send_gdb / gdb_expect.
645 * gdb.reverse/break-reverse.exp:
646 Replace uses of send_gdb / gdb_expect.
647 * gdb.reverse/consecutive-precsave.exp:
648 Replace uses of send_gdb / gdb_expect.
649 * gdb.reverse/consecutive-reverse.exp:
650 Replace uses of send_gdb / gdb_expect.
651 * gdb.reverse/finish-precsave.exp:
652 Replace uses of send_gdb / gdb_expect.
653 * gdb.reverse/finish-reverse.exp:
654 Replace uses of send_gdb / gdb_expect.
655 * gdb.reverse/i386-precsave.exp:
656 Replace uses of send_gdb / gdb_expect.
657 * gdb.reverse/i386-reverse.exp:
658 Replace uses of send_gdb / gdb_expect.
659 * gdb.reverse/i386-sse-reverse.exp:
660 Replace uses of send_gdb / gdb_expect.
661 * gdb.reverse/i387-env-reverse.exp:
662 Replace uses of send_gdb / gdb_expect.
663 * gdb.reverse/i387-stack-reverse.exp:
664 Replace uses of send_gdb / gdb_expect.
665 * gdb.reverse/machinestate-precsave.exp:
666 Replace uses of send_gdb / gdb_expect.
667 * gdb.reverse/machinestate.exp:
668 Replace uses of send_gdb / gdb_expect.
669 * gdb.reverse/sigall-precsave.exp:
670 Replace uses of send_gdb / gdb_expect.
671 * gdb.reverse/sigall-reverse.exp:
672 Replace uses of send_gdb / gdb_expect.
673 * gdb.reverse/solib-precsave.exp:
674 Replace uses of send_gdb / gdb_expect.
675 * gdb.reverse/solib-reverse.exp:
676 Replace uses of send_gdb / gdb_expect.
677 * gdb.reverse/step-precsave.exp:
678 Replace uses of send_gdb / gdb_expect.
679 * gdb.reverse/step-reverse.exp:
680 Replace uses of send_gdb / gdb_expect.
681 * gdb.reverse/until-precsave.exp:
682 Replace uses of send_gdb / gdb_expect.
683 * gdb.reverse/until-reverse.exp:
684 Replace uses of send_gdb / gdb_expect.
685 * gdb.reverse/watch-precsave.exp:
686 Replace uses of send_gdb / gdb_expect.
687 * gdb.reverse/watch-reverse.exp:
688 Replace uses of send_gdb / gdb_expect.
689
690 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
691
692 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
693 excessive newline.
694
695 2010-05-27 Michael Snyder <msnyder@vmware.com>
696
697 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
698 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
699 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
700 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
701 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
702 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
703 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
704 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
705 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
706 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
707 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
708 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
709 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
710 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
711 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
712 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
713 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
714 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
715 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
716
717 2010-05-26 Michael Snyder <msnyder@vmware.com>
718
719 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
720 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
721
722 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
723 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
724 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
725
726 * gdb.reverse/consecutive-reverse.exp:
727 Replace uses of send_gdb / gdb_expect.
728 * gdb.reverse/consecutive-precsave.exp:
729 Replace uses of send_gdb / gdb_expect.
730
731 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
732 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
733 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
734 * gdb.mi/mi-ns-stale-regcache.exp:
735 Replace uses of send_gdb / gdb_expect.
736 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
737 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
738 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
739 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
740 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
741 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
742 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
743 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
744 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
745
746 2010-05-26 Michael Snyder <msnyder@vmware.com>
747
748 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
749
750 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
751
752 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
753 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
754 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
755 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
756 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
757 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
758 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
759 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
760 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
761
762 2010-05-25 Tom Tromey <tromey@redhat.com>
763
764 * gdb.base/macscp.exp: Add missing space after setup_kfail.
765
766 2010-05-25 Tom Tromey <tromey@redhat.com>
767
768 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
769 argument order.
770 * gdb.base/macscp.exp: Fix setup_kfail argument order.
771 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
772 order.
773 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
774 order.
775 * gdb.base/call-sc.exp (setup_kfails): Remove.
776 (setup_compiler_kfails): Remove.
777 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
778 argument order.
779 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
780 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
781 (advancei): Fix setup_kfail argument order.
782 * gdb.base/radix.exp: Fix setup_kfail argument order.
783 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
784 order.
785 * gdb.base/structs.exp (setup_kfails): Remove.
786 (setup_compiler_kfails): Fix setup_kfail argument order.
787 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
788 order.
789 * gdb.java/jmain.exp: Fix setup_kfail argument order.
790 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
791 setup_kfail argument order.
792 * gdb.cp/overload.exp: Fix setup_kfail argument order.
793
794 2010-05-25 Tom Tromey <tromey@redhat.com>
795
796 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
797
798 2010-05-25 Michael Snyder <msnyder@vmware.com>
799
800 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
801 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
802 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
803 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
804 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
805 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
806 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
807 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
808 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
809 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
810 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
811 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
812 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
813 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
814 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
815 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
816 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
817 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
818 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
819 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
820 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
821 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
822 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
823 * gdb.base/default.exp: Replace send_gdb with gdb_test.
824 * gdb.base/define.exp: Replace send_gdb with gdb_test.
825 * gdb.base/display.exp: Replace send_gdb with gdb_test.
826 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
827 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
828 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
829 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
830 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
831 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
832 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
833 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
834 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
835 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
836 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
837 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
838 * gdb.base/help.exp: Replace send_gdb with gdb_test.
839 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
840 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
841 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
842 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
843 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
844 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
845 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
846 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
847 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
848
849 2010-05-25 Doug Evans <dje@google.com>
850
851 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
852 gdb.string_to_argv.
853
854 2010-05-21 Tom Tromey <tromey@redhat.com>
855
856 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
857 Call it.
858 * gdb.dwarf2/pieces.S: Update.
859 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
860
861 2010-05-21 Tom Tromey <tromey@redhat.com>
862
863 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
864 Call it.
865 * gdb.dwarf2/pieces.c (struct C): New.
866 (f6): New function.
867 * gdb.dwarf2/pieces.S: Replace.
868
869 2010-05-21 Tom Tromey <tromey@redhat.com>
870
871 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
872 Call it.
873
874 2010-05-21 Tom Tromey <tromey@redhat.com>
875
876 * gdb.dwarf2.pieces.exp: New file.
877 * gdb.dwarf2.pieces.S: New file.
878 * gdb.dwarf2.pieces.c: New file.
879
880 2010-05-20 Pedro Alves <pedro@codesourcery.com>
881 Joel Brobecker <brobecker@adacore.com>
882
883 * lib/gdb.exp (gdb_test_no_output): New function.
884 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
885 when testing commands that should produce no output.
886
887 2010-05-17 Joel Brobecker <brobecker@adacore.com>
888
889 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
890 parameter that we want to watch being a constant.
891
892 2010-05-17 Joel Brobecker <brobecker@adacore.com>
893
894 * gdb.ada/cond_lang: New testcase.
895
896 2010-05-17 Joel Brobecker <brobecker@adacore.com>
897
898 * lib/gdb.exp (banned_variables): New variable/constant.
899 (gdb_init): Add write trace on variables listed in banned_variables.
900 (gdb_finish): Remove write traces on variables listed in
901 banned_variables.
902
903 2010-05-17 Joel Brobecker <brobecker@adacore.com>
904
905 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
906 * gdb.cp/koenig.exp: Likewise.
907
908 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
909
910 PR python/11482
911
912 * gdb.python/py-value.exp (test_value_hash): New function.
913
914 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
915
916 PR exp/11530.
917 * gdb.base/gdb11530.c: New file.
918 * gdb.base/gdb11530.exp: New file.
919
920 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
921
922 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
923 * gdb.dwarf2/dw2-modula2-self-type.S: New.
924
925 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
926
927 * gdb.cp/koenig.exp: New test.
928 * gdb.cp/koenig.cc: New test program.
929
930 2010-05-05 Joel Brobecker <brobecker@adacore.com>
931
932 Remove the use of prms_id and bug_id throughout the testsuite.
933
934 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
935
936 PR exp/11349.
937 * testsuite/gdb.cp/ref-types.exp: Add test to examine
938 use a reference local variable.
939
940 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
941
942 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
943 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
944 variable different_dir. Move debugfile into a full directory pathname
945 under DIFFERENT_DIR.
946 * lib/gdb.exp (separate_debug_filename): Remove.
947 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
948 variable debug_dir and mkdir of it. Update function comments.
949
950 2010-04-29 Pedro Alves <pedro@codesourcery.com>
951
952 PR gdb/11557
953
954 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
955 files.
956
957 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
958
959 * gdb.python/py-param.exp: New File.
960
961 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
962
963 * gdb.base/default.exp: Fix "set language" test.
964
965 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
966
967 PR breakpoints/11531.
968 * gdb.base/gdb11531.c: New file.
969 * gdb.base/gdb11531.exp: New file.
970
971 2010-04-26 Tom Tromey <tromey@redhat.com>
972
973 * gdb.base/completion.exp: Add tests for completion and deprecated
974 commands.
975
976 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
977
978 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
979 (print /x char_array): Escape curly brackets.
980
981 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
982
983 Fix deadlock on looped list of loaded shared objects.
984 * gdb.base/solib-corrupted.exp: New.
985
986 2010-04-23 Doug Evans <dje@google.com>
987
988 * gdb.python/py-section-script.c: New file.
989 * gdb.python/py-section-script.exp: New file.
990 * gdb.python/py-section-script.py: New file.
991
992 2010-04-20 Chris Moller <cmoller@redhat.com>
993
994 PR 10179
995
996 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
997 * gdb.base/pr10179-a.c:
998 * gdb.base/pr10179-b.c:
999 * gdb.base/pr10179.exp: New files.
1000
1001 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1002
1003 Fix crashes on dangling display expressions.
1004 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
1005 is SEP.
1006 (lib_flags): Remove the "debug" keyword.
1007 (libsepdebug): New variable for iterating new loop.
1008 (save_pf_prefix): New variable wrapping the loop.
1009 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
1010 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
1011
1012 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
1013
1014 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
1015
1016 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
1017
1018 PR stabs/11479.
1019 * gdb.stabs/gdb11479.exp: New file.
1020 * gdb.stabs/gdb11479.c: New file.
1021
1022 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
1023
1024 * gdb.base/charset.c (Strin16, String32): New variables.
1025 * gdb.base/charset.exp (gdb_test): Test correct display
1026 of 16 or 32 bit strings.
1027
1028 2010-04-21 Chris Moller <cmoller@redhat.com>
1029
1030 PR 9167
1031 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
1032 * gdb.cp/pr9167.cc: New file.
1033 * gdb.cp/pr9167.exp: New file.
1034
1035
1036 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
1037
1038 PR pascal/11492.
1039 * gdb.pascal/gdb11492.pas: New file.
1040 * gdb.pascal/gdb11492.exp: New file.
1041
1042 2010-04-20 Joel Brobecker <brobecker@adacore.com>
1043
1044 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
1045
1046 2010-04-20 Joel Brobecker <brobecker@adacore.com>
1047
1048 * gdb.ada/dyn_loc: New testcase.
1049
1050 2010-04-20 Chris Moller <cmoller@redhat.com>
1051
1052 PR 10867
1053
1054 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
1055 * gdb.cp/pr10687.cc: New file.
1056 * gdb.cp/pr10687.exp: New file.
1057
1058
1059 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1060 Sergio Durigan Junior <sergiodj@redhat.com>
1061
1062 * gdb.fortran/logical.exp: New testcase.
1063 * gdb.fortran/logical.f90: New file.
1064
1065 2010-04-19 Doug Evans <dje@google.com>
1066
1067 * gdb.base/help.exp (help source): Update expected output.
1068
1069 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1070
1071 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
1072 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
1073 gdb_exit and return.
1074 (executable): New variable.
1075 (binfile): Use it.
1076
1077 2010-04-19 Pedro Alves <pedro@codesourcery.com>
1078
1079 PR breakpoints/8554.
1080
1081 * gdb.trace/save-trace.exp: Adjust.
1082
1083 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
1084
1085 PR corefiles/11511
1086 * gdb.arch/system-gcore.exp: New.
1087 * gdb.arch/gcore.c: Likewise.
1088
1089 2010-04-15 Doug Evans <dje@google.com>
1090
1091 * gdb.python/py-progspace.c: New file.
1092 * gdb.python/py-progspace.exp: New file.
1093
1094 * gdb.base/source.exp: Add tests for "source -s".
1095
1096 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
1097
1098 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
1099 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
1100 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
1101 * gdb.python/py-mi.exp: New test for to_string returning None.
1102
1103 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
1104
1105 * gdb.python/py-breakpoint.c: Make result global.
1106
1107 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1108
1109 Fix non-GNU make compatibility.
1110 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
1111
1112 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
1113
1114 * gdb.python/py-breakpoint.exp: New File.
1115 * gdb.python/py-breakpoint.C: Ditto.
1116
1117 2010-04-08 Stan Shebs <stan@codesourcery.com>
1118
1119 * gdb.trace/actions.exp: Clear default-collect.
1120 * gdb.trace/save-trace.exp: Clear default-collect.
1121
1122 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
1123
1124 * gdb.python/py-value: Add null string variable.
1125 (test_lazy_string): Test zero length, NULL address lazy
1126 strings.
1127
1128 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
1129
1130 * gdb.arch/i386-avx.c: New.
1131 * gdb.arch/i386-avx.exp: Likewise.
1132
1133 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
1134
1135 2010-04-06 Doug Evans <dje@google.com>
1136
1137 * gdb.base/source-test.gdb: New file.
1138 * gdb.base/source.exp: Test source -v.
1139
1140 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1141
1142 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
1143
1144 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
1145
1146 * gdb.stabs/aout.sed: Convert all backslash to double backslash
1147 within one line, unless it is followed by a double quote.
1148 * gdb.stabs/hppa.sed: Idem.
1149 * gdb.stabs/weird.def: Add char and String constants
1150 * gdb.stabs/weird.exp: Check for correct parsing of
1151 chhar and string constants.
1152 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
1153 in .stabs to .stabx substitution.
1154
1155 2010-04-05 Stan Shebs <stan@codesourcery.com>
1156
1157 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
1158 constant global.
1159 * gdb.trace/tfile.exp: Try to print them.
1160
1161 2010-04-04 Stan Shebs <stan@codesourcery.com>
1162
1163 * gdb.base/completion.exp: Update for new "info watchpoints".
1164 * gdb.base/default.exp: Ditto.
1165 * gdb.base/help.exp: Ditto.
1166 * gdb.base/watchpoint.exp: Ditto.
1167 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
1168
1169 2010-04-04 Stan Shebs <stan@codesourcery.com>
1170
1171 * gdb.trace/tfile.exp: Sharpen tfind test.
1172
1173 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1174
1175 * gdb.base/break-entry.exp: New.
1176
1177 2010-04-02 Hui Zhu <teawater@gmail.com>
1178 Michael Snyder <msnyder@vmware.com>
1179
1180 * gdb.reverse/i386-sse-reverse.exp: New file.
1181 * gdb.reverse/i386-sse-reverse.c: New file.
1182
1183 2010-04-02 Pedro Alves <pedro@codesourcery.com>
1184
1185 * gdb.trace/tfind.exp: Adjust expected disassembly output.
1186
1187 2010-04-01 Stan Shebs <stan@codesourcery.com>
1188
1189 * gdb.trace/actions.exp: Tweak expected output.
1190 * gdb.trace/while-stepping.exp: Tweak expected output.
1191
1192 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
1193
1194 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
1195
1196 2010-04-01 Pedro Alves <pedro@codesourcery.com>
1197
1198 * gdb.base/commands.exp: Adjust.
1199 * gdb.cp/extern-c.exp: Adjust.
1200
1201 2010-04-01 Pedro Alves <pedro@codesourcery.com>
1202
1203 * gdb.trace/collection.c (local_test_func): Define a local struct,
1204 and instanciate it.
1205
1206 2010-04-01 Pedro Alves <pedro@codesourcery.com>
1207
1208 * gdb.trace/collection.exp (gdb_collect_args_test)
1209 (gdb_collect_argarray_test): XFAIL the tests that assume the
1210 argarray argument's elements are collected.
1211
1212 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
1213
1214 * gdb.dwarf2/dw2-bad-parameter-type.exp,
1215 gdb.dwarf2/dw2-bad-parameter-type.S: New.
1216
1217 2010-03-31 Stan Shebs <stan@codesourcery.com>
1218
1219 * gdb.trace/save-trace.exp: Test save/restore of default-collect
1220 and tracepoint conditionals.
1221 (gdb_verify_tracepoints): Delete unused return.
1222
1223 2010-03-26 Keith Seitz <keiths@redhat.com>
1224
1225 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
1226 appear in the output before main.
1227 Remove KFAIL for gdb/2215 aka bz 9320.
1228
1229 2010-03-30 Doug Evans <dje@google.com>
1230
1231 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
1232 by dejagnu.
1233 * gdb.arch/amd64-dword.exp: Ditto.
1234
1235 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
1236 match.
1237 (break printf): Ditto.
1238
1239 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
1240
1241 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
1242 gcc < 4.4.
1243 * gdb.cp/shadow.exp: Ditto.
1244
1245 2010-03-29 Pedro Alves <pedro@codesourcery.com>
1246
1247 * gdb.trace/collection.exp (run_trace_experiment): Make sure
1248 "tstart" is silent.
1249
1250 2010-03-29 Pedro Alves <pedro@codesourcery.com>
1251
1252 * gdb.trace/collection.exp (executable): New.
1253 (binfile): Use it.
1254 (fpreg, spreg, pcreg): New.
1255 (test_register): Use gdb_test_multiple. Pass /x to print.
1256 (prepare_for_trace_test): New.
1257 (run_trace_experiment): Use "continue", not gdb_run_cmd.
1258 (gdb_collect_args_test, gdb_collect_argstruct_test)
1259 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
1260 prepare_for_trace_test.
1261 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
1262 fpreg, spreg and pcreg.
1263 (gdb_collect_expression_test, gdb_collect_globals_test): Use
1264 prepare_for_trace_test.
1265 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
1266 try to detect tracing support here. Don't set breakpoints at
1267 `begin' or `end' here.
1268 <global scope>: Use clean_restart. Run to main before checking
1269 for tracing support. Check for for tracing support here.
1270
1271 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1272
1273 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
1274 " as $displacement" to "seen displacement message".
1275
1276 2010-03-28 Pedro Alves <pedro@codesourcery.com>
1277
1278 * gdb.trace/while-dyn.exp (executable): New variable.
1279 (binfile): Use it.
1280 (test_while_stepping): New function. Move most tests here. Call
1281 it once for each of the while-stepping, stepping and ws aliases.
1282
1283 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1284
1285 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
1286 that do not provide the tagless_struct type name at all.
1287 (test_print_anon_union): Do not check value of uninitialized
1288 union member. Do not use cp_test_ptype_class, so we can accept
1289 "long" as well as "long int".
1290
1291 2010-03-26 Pedro Alves <pedro@codesourcery.com>
1292
1293 * gdb.trace/tfile.c (tohex, bin2hex): New.
1294 (write_error_trace_file): Hexify error description.
1295
1296 2010-03-25 Stan Shebs <stan@codesourcery.com>
1297
1298 * gdb.trace/tfile.c: Generate an additional trace file, improve
1299 portability.
1300 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
1301 files in a better way.
1302
1303 2010-03-25 Keith Seitz <keiths@redhat.com>
1304
1305 * gdb.java/jprint.exp: XFAIL printing of static class members
1306 because of GCC debuginfo problem.
1307
1308 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1309
1310 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
1311
1312 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
1313
1314 * gdb.base/completion.exp: Allow long instead of long int.
1315 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
1316 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
1317 variable p.
1318 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
1319 * gdb.base/pointers.exp: Allow long instead of long int.
1320 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
1321 * gdb.base/step-line.exp: Allow a directory before the source file name.
1322
1323 2010-03-24 Tom Tromey <tromey@redhat.com>
1324
1325 PR breakpoints/9352:
1326 * gdb.base/default.exp: Update.
1327 * gdb.base/commands.exp: Update.
1328 * gdb.cp/extern-c.exp: Test setting commands on multiple
1329 breakpoints at once.
1330
1331 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
1332
1333 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
1334 if gdb,nosignals.
1335 * gdb.base/watchpoints.c: Do not include unnecessary headers.
1336 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
1337 exited".
1338
1339 2010-03-24 Stan Shebs <stan@codesourcery.com>
1340
1341 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
1342
1343 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
1344
1345 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
1346 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
1347 argument. Handle "short" and "long".
1348 (Top level): Pass overprototyped output for old_fptr and xptr.
1349
1350 2010-03-23 Pedro Alves <pedro@codesourcery.com>
1351
1352 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
1353 format strings and add casts to avoid compiler warnings.
1354
1355 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
1356
1357 * lib/trace-support.exp (gdb_trace_setactions):
1358 Don't expect whitespace after ">" prompt.
1359 * gdb.trace/actions.exp: Adjust for output changes.
1360 * gdb.trace/while-stepping.exp: Likewise.
1361
1362 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1363
1364 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
1365 and r157645).
1366
1367 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1368
1369 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
1370 New.
1371
1372 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
1373
1374 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
1375 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
1376
1377 2010-03-19 Stan Shebs <stan@codesourcery.com>
1378
1379 * gdb.trace/ax.exp: New file.
1380
1381 2010-03-19 Doug Evans <dje@google.com>
1382
1383 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
1384 output from gcc.
1385
1386 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
1387 named /usr/sbin/prelink<foo>.
1388
1389 2010-03-18 Stan Shebs <stan@codesourcery.com>
1390
1391 * gdb.trace/circ.exp: Test circular-trace-buffer.
1392 * gdb.trace/tfile.exp: Update tstatus test.
1393
1394 2010-03-18 Joel Brobecker <brobecker@adacore.com>
1395
1396 * gdb.dwarf2/dw2-anonymous-func.S: New file.
1397 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
1398
1399 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1400
1401 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
1402
1403 2010-03-18 Pedro Alves <pedro@codesourcery.com>
1404
1405 * gdb.base/default.exp: Adjust the expected output of the finish
1406 and until commands when the inferior is not being run.
1407
1408 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
1409
1410 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
1411 * gdb.cp/nsusing.exp: Ditto.
1412
1413 2010-03-15 Tom Tromey <tromey@redhat.com>
1414
1415 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
1416 * gdb.cp/userdef.cc (operator==): New function.
1417 (main): New locals mem1, mem2.
1418
1419 2010-03-15 Jie Zhang <jie@codesourcery.com>
1420
1421 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
1422 Declare and use new loadtimeout variable.
1423
1424 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
1425
1426 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
1427 Use gdb_load later.
1428
1429 2010-03-14 Pedro Alves <pedro@codesourcery.com>
1430
1431 * gdb.base/solib-disc.c (main): Make format of fprintf a string
1432 literal. Add missing endlines to prints to stderr.
1433
1434 2010-03-12 Tom Tromey <tromey@redhat.com>
1435
1436 PR c++/9708:
1437 * gdb.cp/m-static.exp: Add regression test.
1438 * gdb.cp/m-static.cc (method): New method.
1439 (main): Call it.
1440
1441 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
1442
1443 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
1444 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
1445
1446 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
1447
1448 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
1449
1450 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
1451
1452 * lib/gdb.exp (skip_stl_tests): New.
1453 (gdb_compile): Symbian needs -ldl.
1454 (shlib_target_file): New.
1455 (shlib_symbol_file): New.
1456 (gdb_load_shlibs): Use shlib_target_file.
1457 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
1458 * gdb.cp/exception.exp: Use skip_stl_tests.
1459 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
1460 * gdb.cp/try_catch.exp: Use skip_stl_tests.
1461 * gdb.cp/mb-templates.exp: Ditto.
1462 * gdb.base/commands.exp: Relax regexes.
1463 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
1464 shlib_target_file and shlib_symbol_file.
1465 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
1466 sections.
1467 * gdb.base/ending-run.exp: Accept E32Main for symbian.
1468 * gdb.base/solib-disc.exp: Use
1469 shlib_target_file and shlib_symbol_file.
1470 * gdb.base/unload.exp: Don't skip on symbian. Use
1471 shlib_target_file and shlib_symbol_file.
1472 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
1473
1474 2010-03-12 Pedro Alves <pedro@codesourcery.com>
1475
1476 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
1477 * gdb.trace/report.exp: Adjust for x86 and x86_64.
1478 Issue a tfind end before looking for a tracepoint frame.
1479 * gdb.trace/tfind.exp: Adjust tstatus output.
1480 Adjust disassembly output.
1481 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
1482
1483 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1484
1485 * gdb.base/break-interp.exp: Create new displacement parameter value
1486 for the test_ld calls.
1487 (reach): New parameter displacement, verify its content. New push of
1488 pf_prefix "reach-$func:". Import global expect_out.
1489 (test_core): New parameter displacement, verify its content. New push
1490 of pf_prefix "core:". New command "set verbose on". Import global
1491 expect_out.
1492 (test_attach): New parameter displacement, verify its content. New
1493 push of pf_prefix "attach:". New command "set verbose on". Import
1494 global expect_out.
1495 (test_ld): New parameter displacement, pass it to the reach, test_core
1496 and test_attach calls and verify its content in the "ld.so exit" test.
1497 * gdb.base/prelink.exp: Remove gdb_exit and final return.
1498 (prelink): Update expected text, use gdb_test.
1499
1500 2010-03-10 Doug Evans <dje@google.com>
1501
1502 * gdb.base/checkpoint.exp: Fix comment.
1503 Lengthen timeout while doing >600 checkpoints test.
1504 Rename duplicate "kill all one" test to keep test names unique.
1505
1506 2010-03-10 Pedro Alves <pedro@codesourcery.com>
1507
1508 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
1509
1510 2010-03-08 Keith Seitz <keiths@redhat.com>
1511
1512 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
1513 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
1514 (dm_type_long): New function.
1515 (dm_type_unsigned_short): New function.
1516 (dm_type_unsigned_long): New function.
1517 (myint): New typedef.
1518 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
1519 long, unsigned shor and long, operator char*, and typedef.
1520 (test_lookup_operator_functions): Add operator char* test.
1521 (test_paddr_operator_functions): Likewise.
1522 (test_paddr_overloaded_functions): Use probe values for
1523 short, long, and unsigned short and long.
1524 (test_paddr_hairy_functions): If the demangler probe detected
1525 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
1526 demangler.
1527 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
1528 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
1529 and "print null_pmf".
1530 Add test "ptype a.*pmf".
1531 * gdb.cp/overload.exp: Allow optional "int" to appear with
1532 "short" and "long".
1533 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
1534 long expect value for men_overload1arg.
1535 Allow "int" to appear with "short" and "long".
1536 When testing "info break", add argument for main (void).
1537 Also allow "int" to appear with "short" and "long".
1538 Ditto with "unsigned" and "long long".
1539 * gdb.java/jmain.exp: Do not enclose methods names in single
1540 quotes.
1541 * gdb.java/jmisc.exp: Likewise.
1542 * gdb.java/jprint.exp: Likewise.
1543 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
1544
1545 From Jan Kratochvil <jan.kratochvil@redhat.com>:
1546 * gdb.cp/exception.exp (backtrace after first throw)
1547 (backtrace after second throw): Allow a namespace before __cxa_throw.
1548 (backtrace after first catch, backtrace after second catch): Allow
1549 a namespace before __cxa_begin_catch.
1550
1551 * gdb.cp/cpexprs.exp: New file.
1552 * gdb.cp/cpexprs.cc: New file.
1553
1554 From Daniel Jacobowitz <dan@codesourcery.com>
1555 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
1556 to use string_to_regexp.
1557 (ctor, dtor): New functions. Use them to match constructor
1558 and destructor function types.
1559 (Top level): Use runto_main.
1560
1561 2010-03-05 Tom Tromey <tromey@redhat.com>
1562
1563 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
1564 gdb.target_charset.
1565 (pp_ns.to_string): Likewise.
1566
1567 2010-03-04 Keith Seitz <keiths@redhat.com>
1568
1569 * gdb.cp/overload.exp: Test that the filename portion of a linespec
1570 can be quoted. Test that both the filename and function/line
1571 portions can be quoted at the same time.
1572
1573 2010-03-04 Pedro Alves <pedro@codesourcery.com>
1574
1575 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
1576
1577 2010-03-03 Doug Evans <dje@google.com>
1578
1579 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
1580 libc contains libpthread.
1581
1582 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
1583 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
1584 of gdb_compile. Add another pattern to match android backtrace.
1585
1586 2010-03-03 Tom Tromey <tromey@redhat.com>
1587
1588 PR gdb/11345:
1589 * gdb.base/printcmds.exp (test_printf): Add test.
1590
1591 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
1592
1593 * gdb.arch/amd64-byte.exp: New.
1594 * gdb.arch/amd64-dword.exp: Likewise.
1595 * gdb.arch/amd64-pseudo.c: Likewise.
1596 * gdb.arch/amd64-word.exp: Likewise.
1597 * gdb.arch/i386-byte.exp: Likewise.
1598 * gdb.arch/i386-pseudo.c: Likewise.
1599 * gdb.arch/i386-word.exp: Likewise.
1600
1601 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
1602
1603 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
1604 types. Add structreg, bitfields, and flags registers.
1605 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
1606 registers.
1607
1608 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
1609
1610 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
1611 (load_description): Set architecture if defined.
1612
1613 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
1614
1615 * gdb.python/py-frame.exp: Add read_var block tests.
1616 * gdb.python/py-frame.c (block): New function.
1617
1618 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1619 Daniel Jacobowitz <dan@codesourcery.com>
1620
1621 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
1622
1623 2010-02-25 David S. Miller <davem@davemloft.net>
1624
1625 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
1626 fix logic for setting all_syscalls_numbers.
1627
1628 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
1629
1630 * Makefile.in: Add py-block and py-symbol.
1631 * gdb.python/py-symbol.exp: New File.
1632 * gdb.python/py-symtab.exp: New File.
1633 * gdb.python/py-block.exp: New File.
1634 * gdb.python/py-symbol.c: New File.
1635 * gdb.python/py-block.c: New File.
1636
1637 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
1638
1639 PR python/11314
1640 * lib/gdb.exp (skip_python_tests): New function.
1641 * gdb.python/py-cmd.exp: Use skip_python_tests.
1642 * gdb.python/py-frame.exp: Likewise.
1643 * gdb.python/py-function.exp: Likewise.
1644 * gdb.python/py-prettyprint.exp: Likewise.
1645 * gdb.python/py-template.exp: Likewise.
1646 * gdb.python/py-type.exp: Likewise.
1647 * gdb.python/py-value.exp: Likewise.
1648
1649 2010-02-22 Pedro Alves <pedro@codesourcery.com>
1650
1651 PR9605
1652
1653 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
1654
1655 2010-02-19 Tom Tromey <tromey@redhat.com>
1656
1657 PR c++/8693, PR c++/9496:
1658 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
1659 regression tests.
1660
1661 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1662
1663 Fix compatibility with m68k as.
1664 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
1665 Use only /* comments */.
1666
1667 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1668
1669 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
1670 * configure: Regenerate.
1671
1672 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
1673
1674 * gdb.python/py-type.exp: Check for Python support.
1675
1676 2010-02-17 Pedro Alves <pedro@codesourcery.com>
1677
1678 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
1679 `regsub' syntax available.
1680
1681 2010-02-17 Pedro Alves <pedro@codesourcery.com>
1682
1683 * gdb.base/shmain.c (main): Remove printf call.
1684 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
1685 * gdb.base/unload.c (main): Make format of fprintf a string
1686 literal. Add missing endlines to prints to stderr.
1687 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
1688
1689 2010-02-17 Tom Tromey <tromey@redhat.com>
1690
1691 * gdb.java/jprint.java (jprint.props): New field.
1692 * gdb.java/jprint.exp (set_lang_java): Add regression test.
1693
1694 2010-02-17 Pedro Alves <pedro@codesourcery.com>
1695
1696 * gdb.base/charset.exp: Don't assume new `regsub' syntax
1697 available.
1698
1699 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1700
1701 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
1702 creation to support remote host testing.
1703
1704 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1705
1706 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
1707 Recognize "command not found".
1708
1709 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1710
1711 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
1712 single-stepping.
1713
1714 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1715
1716 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
1717 if arguments are not supported.
1718
1719 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1720
1721 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
1722 be const or non-const.
1723
1724 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1725
1726 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
1727 mi_send_resuming_command to send -exec-continue.
1728
1729 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1730
1731 * gdb.base/list.exp (test_list_filename_and_function): Add test
1732 with single quotes.
1733 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
1734 matching.
1735 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
1736 Add KFAIL'd tests for PR gdb/11289.
1737
1738 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1739
1740 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
1741
1742 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1743
1744 * gdb.base/comp-dir/subdir/dummy.txt: New file.
1745 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
1746 a temporary directory.
1747
1748 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
1749
1750 * gdb.base/charset.exp: Use a single regular expression to match
1751 show host-charset and show target-charset output.
1752
1753 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1754
1755 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
1756 "Illegal process-id" expect string more exact.
1757 (attach to digits-starting nonsense is prohibited): New.
1758
1759 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1760
1761 * gdb.base/prelink.exp (set verbose on): New.
1762
1763 2010-02-12 Tomas Holmberg <th@virtutech.com>
1764
1765 * mi-reverse.exp: New file. Test for reverse option to the
1766 following MI commands: exec-continue, exec-finish, exec-next,
1767 exec-step, exec-next-instruction, exec-step-instruction.
1768
1769 2010-02-09 Joel Brobecker <brobecker@adacore.com>
1770
1771 * gdb.ada/ptype_tagged_param: New testcase.
1772
1773 2010-02-08 Tom Tromey <tromey@redhat.com>
1774
1775 PR c++/8017:
1776 * gdb.cp/overload.exp: Add tests.
1777 * gdb.cp/overload.cc (struct K): New.
1778 (namespace N): New.
1779 (main): Call new functions.
1780 (K::staticoverload): Define.
1781
1782 Mon Feb 8 13:18:22 2010 Chris Moller <moller@mollerware.com>
1783
1784 PR gdb/10728
1785 * gdb.cp/pr10728-x.h: New file.
1786 * gdb.cp/pr10728-x.cc: New file.
1787 * gdb.cp/pr10728-y.cc: New file.
1788 * gdb.cp/pr10728.exp: New file.
1789 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
1790
1791 Mon Feb 8 12:54:54 2010 Chris Moller <moller@mollerware.com>
1792
1793 PR gdb/9067
1794 * gdb.cp/pr9067.exp: New
1795 * gdb.cp/pr9067.cc: New
1796 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
1797
1798 2010-02-08 Joel Brobecker <brobecker@adacore.com>
1799
1800 * lib/gdb.exp (gdb_test_timeout): New global variable.
1801 Set it to timeout if not already set.
1802 (gdb_init): Reset the value of timeout to gdb_test_timeout.
1803
1804 2010-02-05 Doug Evans <dje@google.com>
1805
1806 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
1807 user.
1808
1809 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
1810
1811 PR c++/7935:
1812 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
1813
1814 2010-02-04 Tom Tromey <tromey@redhat.com>
1815
1816 * gdb.cp/virtbase.exp: Make test case names unique.
1817
1818 2010-02-02 Tom Tromey <tromey@redhat.com>
1819
1820 * gdb.cp/virtbase.exp: Add regression tests.
1821 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
1822 (main): Instantiate RHC.
1823
1824 2010-02-02 Tom Tromey <tromey@redhat.com>
1825
1826 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
1827 type-printing change.
1828
1829 2010-02-02 Tom Tromey <tromey@redhat.com>
1830
1831 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
1832 * gdb.cp/virtbase.cc: New file.
1833 * gdb.cp/virtbase.exp: New file.
1834 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
1835
1836 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1837
1838 PR libc/11214:
1839 * gdb.threads/current-lwp-dead.c: Include features.h.
1840 (HAS_NOMMU): New.
1841 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
1842
1843 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1844
1845 * gdb.base/symbol-without-target_section.exp,
1846 gdb.base/symbol-without-target_section.c: New.
1847
1848 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
1849
1850 * gdb.base/bigcore.exp: Reset increased timeout.
1851 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
1852
1853 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
1854
1855 * gdb.base/gcore.exp (capture_command_output): Use
1856 gdb_test_multiple.
1857
1858 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
1859
1860 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
1861 * gdb.arch/thumb2-it.exp (test_it_break): New function.
1862 (Top level): Call it.
1863
1864 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
1865
1866 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
1867
1868 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
1869
1870 * gdb.base/call-strs.exp, gdb.base/default.exp,
1871 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
1872 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
1873 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
1874 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
1875 gdb.base/watchpoint-solib.exp: Save and restore timeout.
1876 * gdb.base/ending-run.exp: Correct restore of timeout.
1877 * gdb.base/page.exp: Remove unnecessary timeout setting.
1878
1879 2010-01-29 Joel Brobecker <brobecker@adacore.com>
1880
1881 * gdb.ada/rec_return: New testcase.
1882
1883 2010-01-29 Joel Brobecker <brobecker@adacore.com>
1884
1885 * gdb.ada/call_pn: New testcase.
1886
1887 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
1888
1889 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
1890 (Top level): Use it to resume.
1891 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
1892 the Thumb mode displaced stepping error as unsupported.
1893
1894 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
1895
1896 * gdb.cp/nsusing.exp: Added more tests.
1897 * gdb.cp/nsrecurs.exp: Ditto.
1898 * gdb.cp/nsusing.cc: Added test functions.
1899 * gdb.cp/nsrecurs.cc: Ditto.
1900
1901 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1902
1903 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
1904 absolute directory pathnames in gdb.sum file.
1905
1906 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
1907
1908 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
1909 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
1910
1911 2010-01-26 Tom Tromey <tromey@redhat.com>
1912
1913 PR exp/7643:
1914 * gdb.base/printcmds.exp (test_print_string_constants): Remove
1915 setup_kfail.
1916
1917 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
1918
1919 * gdb.cp/nsrecurs.exp: New test.
1920 * gdb.cp/nsrecurs.cc: New test program.
1921 * gdb.cp/nsstress.exp: New test.
1922 * gdb.cp/nsstress.cc: New test program.
1923 * gdb.cp/nsdecl.exp: New test.
1924 * gdb.cp/nsdecl.cc: New test program.
1925
1926 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
1927
1928 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
1929 imported into file scope.
1930 Marked test as xfail.
1931 * gdb.cp/namespace-using.cc (marker5): New function.
1932 * gdb.cp/shadow.exp: New test.
1933 * gdb.cp/shadow.cc: New test program.
1934 * gdb.cp/nsimport.exp: New test.
1935 * gdb.cp/nsimport.cc: New test program.
1936
1937 2010-01-25 Tom Tromey <tromey@redhat.com>
1938
1939 PR gdb/11049:
1940 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
1941 with "set print null-stop on".
1942
1943 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1944
1945 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
1946 Adjust it for DISASSEMBLY_OMIT_FNAME.
1947
1948 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1949
1950 PR symtab/11199:
1951 * gdb.dwarf2/member-ptr-forwardref.exp,
1952 gdb.dwarf2/member-ptr-forwardref.S: New.
1953
1954 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1955
1956 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
1957 (thread1_func): Protect thread1_tid with thread1_tid_cond by
1958 thread1_tid_mutex. Remove gdbstop_mutex handling.
1959 (thread2_func): Protect thread2_tid with thread2_tid_cond by
1960 thread2_tid_mutex. Remove gdbstop_mutex handling.
1961 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
1962 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
1963 pthread_cond_wait conditionalizations by while loops.
1964
1965 2010-01-20 Tom Tromey <tromey@redhat.com>
1966
1967 PR backtrace/10770:
1968 * gdb.dwarf2/pr10770.exp: New file.
1969 * gdb.dwarf2/pr10770.c: New file.
1970 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
1971
1972 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
1973
1974 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
1975 that target was removed, and the test always runs native anyway.
1976
1977 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1978
1979 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
1980 gdb.base/watchpoint-cond-gone-stripped.c: New.
1981
1982 2010-01-19 Tom Tromey <tromey@redhat.com>
1983
1984 PR c++/8000:
1985 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
1986 existing tests.
1987 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
1988 (main): Use AAA::SomeEnum.
1989
1990 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1991
1992 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
1993 (test_ignore_count): Declare line_callme_body global.
1994 (run to breakpoint with ignore count): Use line_callme_body.
1995 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
1996 (set line_main_hello, set line_main_return): Reindent.
1997 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
1998 New.
1999 (continue to callee4): Use line_callee4_body.
2000 (check *stopped from CLI command): Use line_callee4_next.
2001 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
2002 (set line_main_hello, set line_main_return): Reindent.
2003 (set line_callee4_head, set line_callee4_body): New.
2004 (continue to callee4): Use line_callee4_body.
2005
2006 2010-01-18 Tom Tromey <tromey@redhat.com>
2007
2008 PR c++/9680:
2009 * gdb.cp/casts.cc: Add new classes and variables.
2010 * gdb.cp/casts.exp: Test new operators.
2011
2012 2010-01-18 Tom Tromey <tromey@redhat.com>
2013 Thiago Jung Bauermann <bauerman@br.ibm.com>
2014
2015 * gdb.python/source2.py: New file.
2016 * gdb.python/source1: New file.
2017 * gdb.python/python.exp: Test "source" command.
2018
2019 2010-01-15 Stan Shebs <stan@codesourcery.com>
2020
2021 * gdb.trace/tfile.c: New file.
2022 * gdb.trace/tfile.exp: New file.
2023
2024 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2025
2026 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
2027
2028 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2029
2030 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
2031
2032 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2033
2034 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
2035 (libfunc): New parameter action. Implement also selectable "sleep".
2036 * gdb.base/break-interp-main.c: Include assert.h.
2037 (libfunc): New parameter action.
2038 (main): New parameters argc and argv. Assert argc. Pass argv.
2039 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
2040 (test_attach): New proc.
2041 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
2042 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
2043
2044 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2045
2046 * gdb.base/break-interp.exp (test_core): New proc.
2047 (test_ld): Call it.
2048
2049 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2050
2051 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
2052 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
2053 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
2054 and gdb_compile_shlib. Use new -Wl compiler options.
2055 (dl bt, main bt): New tests.
2056
2057 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2058
2059 Support PIEs with no symfile_objfile.
2060 * gdb.base/break-interp.exp: New argument at the test_ld calls.
2061 (test_ld): New parameter trynosym.
2062 (test_ld <$trynosym>): New block.
2063
2064 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2065
2066 * gdb.base/break-interp.exp: New file.
2067
2068 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
2069
2070 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
2071 * gdb.python/py-prettyprint.py (pp_ls): New printer.
2072 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
2073 test.
2074 * gdb.python/py-prettyprint.c: Define lazystring test structure.
2075 * gdb.python/py-mi.exp: Add lazy string test.
2076
2077 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
2078
2079 * lib/mi-support.exp (mi_check_thread_states): Handle
2080 core number in thread listing.
2081
2082 2010-01-12 Joel Brobecker <brobecker@adacore.com>
2083
2084 * gdb.base/maint.exp: Adjust the expected output for the
2085 "maint print type" test. Use gdb_test_multiple instead of
2086 gdb_sent/gdb_expect.
2087
2088 2010-01-11 Doug Evans <dje@google.com>
2089
2090 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
2091 from gdbserver_download. All callers updated.
2092
2093 * gdb.server/ext-run.exp: "info os processes" requires xml support.
2094
2095 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2096
2097 Implement binary numbers parsing.
2098 * gdb.base/printcmds.exp (test_integer_literals_accepted)
2099 (test_integer_literals_rejected): New binary tests.
2100
2101 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2102
2103 * gdb.cell/configure: Regenerate.
2104
2105 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2106
2107 * gdb.base/corefile.exp: Move the core finding block out and call it as
2108 core_find, new variable $corefile, replace corefile by $corefile and
2109 [file tail $corefile] for usage vs. test names resp.
2110 * lib/gdb.exp (core_find): Move it as a new function here. New
2111 parameter binfile and deletefiles. New variable $destcore. Pre-delete
2112 $destcore. Return "" on error.
2113
2114 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2115
2116 Workaround PR binutils/10802.
2117 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
2118 (twice).
2119
2120 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
2121
2122 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
2123
2124 2010-01-08 Joel Brobecker <brobecker@adacore.com>
2125
2126 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
2127 call, to avoid interruption.
2128
2129 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2130
2131 * gdb.stabs/weird.def (args93): New.
2132
2133 2010-01-07 Doug Evans <dje@google.com>
2134
2135 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
2136
2137 2010-01-07 Tom Tromey <tromey@redhat.com>
2138
2139 * gdb.base/source.exp: Use correct line number.
2140
2141 2010-01-05 Stan Shebs <stan@codesourcery.com>
2142
2143 * gdb.trace/tracecmd.exp: Test ftrace.
2144
2145 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2146
2147 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
2148
2149 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2150
2151 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
2152 "uint_for_mi_testing".
2153
2154 2010-01-01 Joel Brobecker <brobecker@adacore.com>
2155
2156 Test indented comment in file being sourced.
2157 * gdb.base/commands.exp: Test indented comment in file being sourced.
2158
2159 2010-01-01 Joel Brobecker <brobecker@adacore.com>
2160
2161 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
2162 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
2163 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
2164 notice.
2165
2166 2010-01-01 Joel Brobecker <brobecker@adacore.com>
2167
2168 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
2169 notice.
2170
2171 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2172
2173 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
2174 missing $after_stopped and comma (,) expectation.
2175
2176 2009-12-31 Stan Shebs <stan@codesourcery.com>
2177
2178 * gdb.trace/actions.exp: Test teval action.
2179
2180 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
2181
2182 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
2183 (top level): Call test_watchpoint_in_big_blob.
2184 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
2185 watchpoints.
2186 (func3): Write to buf.
2187
2188 2009-12-29 Stan Shebs <stan@codesourcery.com>
2189
2190 * gdb.trace/actions.exp: Test default-collect.
2191
2192 2009-12-28 Stan Shebs <stan@codesourcery.com>
2193
2194 * gdb.trace/tsv.exp: New file.
2195 * gdb.base/completion.exp: Update ambiguous info output.
2196
2197 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
2198
2199 * gdb.base/find.c (main): Reference search buffers.
2200 * gdb.base/included.c (main): Reference integer.
2201 * gdb.base/ptype.c (charfoo): Declare.
2202 (intfoo): Call charfoo.
2203 * gdb.base/scope0.c (useitp): New function.
2204 (usestatics): Use useitp.
2205 (useit): Add a type for val.
2206 * gdb.base/scope1.c (useit1): Take a pointer argument.
2207 (usestatics1): Update calls to useit1.
2208 * gdb.cp/call-c.cc: Declare foo.
2209 (main): Call foo.
2210 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
2211 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
2212 (main): Call C::ensureRefs and ensureOtherRefs.
2213 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
2214 variables.
2215 (ensureOtherRefs): New function.
2216 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
2217 * gdb.cp/templates.cc (main): Call t5i.value.
2218
2219 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2220
2221 Fix compatibility with G++-4.5.
2222 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
2223 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
2224 (uncaught return): Remove.
2225
2226 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2227 Phil Muldoon <pmuldoon@redhat.com>
2228
2229 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
2230 (bp_location13, bp_location14, bp_location17, bp_location18)
2231 (marker3_proto, marker4_proto): New variables.
2232 (breakpoint info): Update output.
2233 (run until breakpoint at marker3, run until breakpoint at marker4): New
2234 tests.
2235
2236 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2237
2238 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
2239 Replace the printf call of Y by provided "y-set-1" label. New block
2240 for the second shared library.
2241 * gdb.base/unload.exp: Compile also the second library, call
2242 gdb_load_shlibs also for it. Use now gdb_breakpoint.
2243 (single pending breakpoint info): Rename to ...
2244 (pending breakpoint info before run): ... this extended test.
2245 (libfile2, libname2, libsrcfile2, libsrc2)
2246 (lib_sl2): New variables.
2247 (exec_opts): Set also SHLIB_NAME2.
2248 (pending breakpoint info on first run at shrfunc1)
2249 (pending breakpoint info on second run at shrfunc1)
2250 (pending breakpoint info on second run at shrfunc2)
2251 (print y from libfile, print y from libfile2): New tests.
2252 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
2253 * gdb.base/unloadshr2.c: New.
2254
2255 2009-12-22 Hui Zhu <teawater@gmail.com>
2256
2257 * gdb.reverse/sigall-reverse.exp: Adjust.
2258
2259 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
2260
2261 PR gdb/10884
2262
2263 * gdb.mi/var-cmd.c (do_bitfield_tests): New
2264 (main): Call do_bitfield_tests.
2265 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
2266
2267 2009-12-20 Joel Brobecker <brobecker@adacore.com>
2268
2269 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
2270 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
2271 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
2272 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
2273 gdb.modula2/unbounded1.c: Update copyright header.
2274
2275 2009-12-10 Chris Moller <moller@mollerware.com>
2276
2277 PR gdb/9399
2278 * gdb.cp/virtfunc2.exp: New tests
2279 * gdb.cp/virtfunc2.cc: New tests
2280 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
2281
2282 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
2283
2284 * gdb.reverse/i387-env-reverse.c: New file.
2285 * gdb.reverse/i387-env-reverse.exp: New file.
2286 * gdb.reverse/i387-stack-reverse.c: New file.
2287 * gdb.reverse/i387-stack-reverse.exp: New file.
2288
2289 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
2290
2291 * gdb.python/py-type.exp (test_range): New test.
2292
2293 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
2294
2295 PR python/10805
2296
2297 * gdb.python/py-type.exp: New file.
2298 * gdb.python/py-type.c: New file.
2299 * Makefile.in: Add py-type.
2300
2301 2009-12-03 Tom Tromey <tromey@redhat.com>
2302
2303 * gdb.python/py-value.exp (test_parse_and_eval): New
2304 function.
2305
2306 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
2307
2308 PR gdb/11022
2309
2310 * gdb.base/pr11022.exp: New test.
2311 * gdb.base/pr11022.c: New test.
2312
2313 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2314
2315 Fix spurious false FAILs.
2316 * gdb.base/structs.c (chartest): New.
2317 (main): Fill-in chartest.
2318 * gdb.base/structs.exp (anychar_re, first): New.
2319 (start_structs_test): Import global anychar_re and first.
2320 New gdb_test call "set print elements 300; ${testfile}"
2321 (start_structs_test <$first>): New block.
2322 (any): Import global anychar_re. New variable ac. Use ${ac}.
2323
2324 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2325
2326 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
2327
2328 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2329
2330 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
2331 Force $srcfile file.
2332 * gdb.base/foll-fork.c (callee): Comment out the printf call.
2333
2334 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2335
2336 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
2337 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
2338 * gdb.threads/watchthreads-reorder.exp: Likewise.
2339
2340 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
2341
2342 PR gdb/8704
2343
2344 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
2345 "if", and "thread". Correct matching in the previous test.
2346
2347 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
2348
2349 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
2350
2351 2009-11-23 Michael Snyder <msnyder@vmware.com>
2352
2353 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
2354 * gdb.reverse-watch-precsave.exp: Ditto.
2355
2356 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
2357
2358 * gdb.asm/asm-source.exp: Adjust.
2359 * gdb.base/help.exp: Adjust.
2360
2361 2009-11-22 Pedro Alves <pedro@codesourcery.com>
2362
2363 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
2364 (do_syscall_tests_without_xml): Set data-directory to
2365 /the/path/to/nowhere.
2366
2367 2009-11-21 Pedro Alves <pedro@codesourcery.com>
2368
2369 * gdb.threads/local-watch-wrong-thread.c,
2370 gdb.threads/local-watch-wrong-thread.exp: New files.
2371
2372 2009-11-21 Pedro Alves <pedro@codesourcery.com>
2373
2374 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
2375 assume new `regsub' syntax available.
2376
2377 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2378
2379 * gdb.base/watchpoint-hw-hit-once.exp,
2380 gdb.base/watchpoint-hw-hit-once.c: New.
2381
2382 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2383
2384 * gdb.threads/watchthreads-reorder.exp,
2385 gdb.threads/watchthreads-reorder.c: New.
2386
2387 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
2388
2389 * gdb.xml/tdesc-regs.exp: Use for m68k.
2390
2391 2009-11-15 Pedro Alves <pedro@codesourcery.com>
2392
2393 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
2394
2395 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
2396
2397 * lib/gdb.exp (current_target_name): New procedure.
2398 (gdb_wrapper_target): New variable.
2399 (gdb_wrapper_init): Set gdb_wrapper_target.
2400 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
2401 wrapper.
2402
2403 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
2404
2405 * gdb.base/remote.exp: Delete the slowest load test.
2406 Do not load with fixed packet sizes.
2407
2408 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
2409
2410 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
2411
2412 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
2413
2414 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
2415 srcfile when setting a breakpoint.
2416
2417 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
2418
2419 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
2420 macros.
2421
2422 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
2423
2424 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
2425 to be in memory.
2426 * gdb.base/display.c (force_mem): New.
2427 (do_loops): Use it. Add breakpoint comments.
2428 (do_vars): Add a breakpoint comment.
2429 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
2430 line numbers.
2431
2432 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
2433
2434 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
2435 instead of a bare "run".
2436
2437 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2438
2439 * gdb.python/py-prettyprint.exp: Adjust.
2440
2441 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
2442
2443 * lib/cell.exp (skip_cell_tests): Clean up test files before
2444 returning.
2445
2446 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
2447
2448 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
2449 and the breakpoint menu. Do not call perror if a prompt is seen.
2450 Consume the following GDB prompt.
2451 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
2452 * gdb.cp/namespace.exp: Use gdb_test.
2453 * gdb.cp/templates.exp: Use gdb_test.
2454 (test_template_breakpoints): Use gdb_test_multiple.
2455
2456 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
2457
2458 * gdb.base/break1.c (struct some_struct, values): Move earlier.
2459 (marker4): Reference values.
2460
2461 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
2462
2463 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
2464 is missing.
2465
2466 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
2467
2468 * gdb.base/break.c (need_malloc): New.
2469 * gdb.base/constvars.c (main): Reference crass and crisp.
2470 * gdb.base/gdb1821.c (main): Reference bar.
2471 * gdb.cp/gdb1355.cc (main): Reference s1.
2472 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
2473 (main): Call them.
2474 * gdb.cp/hang2.cc (dummy2): Define.
2475 * gdb.cp/hang3.cc (dummy3): Define.
2476 * gdb.cp/m-data.cc (main): Reference shadow.
2477
2478 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
2479 Nathan Froyd <froydnj@codesourcery.com>
2480
2481 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
2482 remote host.
2483
2484 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
2485
2486 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
2487 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
2488 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2489 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2490 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2491 * gdb.dwarf2/dw2-producer.exp: Likewise.
2492 * gdb.dwarf2/mac-fileno.exp: Likewise.
2493 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
2494 py-prettyprint.py to the remote host.
2495 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
2496
2497 2009-11-11 Keith Seitz <keiths@redhat.com>
2498
2499 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
2500 use it instead of "Foo".
2501 * gdb.cp/classes.exp (do_tests): Add a test to access
2502 a method through a typedef'd class name.
2503
2504 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
2505
2506 * gdb.base/long_long.exp: Permit leading zeros on floating-point
2507 exponents.
2508 * gdb.base/pointers.exp: Likewise.
2509 * gdb.cp/ref-types.exp: Likewise.
2510
2511 2009-11-11 Keith Seitz <keiths@redhat.com>
2512
2513 * gdb.cp/cplusfuncs.cc (class foo): Add operators
2514 new[] and delete[].
2515 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
2516 "void".
2517 (probe_demangler): Remove all single-quoting of
2518 method and variable names.
2519 (info_func_regexp): Remove the word "void" from any
2520 occurrence of "(void)".
2521 (print_addr_2): Remove all single-quoting of
2522 method names.
2523 (print_addr_2_kfail): Likewise.
2524 (print_addr): Single-quote C function names before
2525 passing to print_addr_2.
2526 (test_paddr_operator_functions): Remove single-quoting
2527 for method names.
2528 Add tests for operator new[] and operator delete[].
2529
2530 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2531
2532 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
2533
2534 2009-11-09 Keith Seitz <keiths@redhat.com>
2535
2536 * gdb.cp/overload.exp: Add tests for resolving overloaded
2537 methods in expression parsing/evaluation.
2538
2539 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
2540
2541 * lib/gdb.exp (default_gdb_version): Use --version instead of
2542 --command.
2543
2544 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
2545
2546 * lib/gdb.exp (gdb_compile_test): New.
2547 (skip_ada_tests, skip_java_tests): New.
2548 (gdb_compile): Use gdb_compile_test for f77.
2549 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
2550 * lib/java.exp (compile_java_from_source): Remove runtests check,
2551 use gdb_compile_test to record result.
2552 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
2553 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
2554 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
2555 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
2556 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
2557 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
2558 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
2559 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
2560 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
2561 adjust gdb_compile invocations.
2562
2563 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2564
2565 * Makefile.in (abs_builddir): New.
2566 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
2567 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
2568 `$(abs_builddir)/site.exp'.
2569
2570 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
2571
2572 * config/m68k-emc.exp, lib/emc-support.exp,
2573 gdb.trace/gdb_c_test.c: Delete.
2574 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
2575 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
2576 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2577 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
2578 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2579 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
2580 casing for m68k-*-elf.
2581
2582 2009-11-03 Pedro Alves <pedro@codesourcery.com>
2583
2584 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
2585 * gdb.arch/i386-prologue.exp: Likewise.
2586 * gdb.arch/i386-unwind.exp: Likewise.
2587
2588 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
2589
2590 * lib/gdb.exp (gdb_expect): Fix timeout typo.
2591
2592 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
2593
2594 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
2595
2596 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
2597
2598 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
2599
2600 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2601
2602 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
2603
2604 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2605
2606 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
2607 * gdb.base/sepdebug2.c: New file.
2608
2609 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
2610
2611 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
2612 the modified warnings for catch syscall. Verify if GDB was compiled
2613 with support for lib expat, and choose which tests to run depending
2614 on this.
2615
2616 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
2617
2618 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
2619 that composite commands are parsed OK. And also test
2620 that breakpoint commands do work.
2621
2622 2009-10-23 Michael Snyder <msnyder@vmware.com>
2623
2624 gdb.reverse/consecutive-precsave.exp: Change expect pattern
2625 to allow for new disassembly style.
2626
2627 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2628
2629 * gdb.asm/asm-source.exp: Adjust.
2630
2631 2009-10-22 Michael Snyder <msnyder@vmware.com>
2632
2633 * gdb.reverse/break-precsave.exp: New test.
2634 * gdb.reverse/consecutive-precsave.exp: Ditto.
2635 * gdb.reverse/finish-precsave.exp: Ditto.
2636 * gdb.reverse/i386-precsave.exp: Ditto.
2637 * gdb.reverse/machinestate-precsave.exp: Ditto.
2638 * gdb.reverse/sigall-precsave.exp: Ditto.
2639 * gdb.reverse/solilb-precsave.exp: Ditto.
2640 * gdb.reverse/step-precsave.exp: Ditto.
2641 * gdb.reverse/until-precsave.exp: Ditto.
2642 * gdb.reverse/watch-precsave.exp: Ditto.
2643
2644 2009-10-22 Michael Snyder <msnyder@vmware.com>
2645
2646 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
2647 for gdb_expect. Adjust one test's expect strings for the new
2648 format of disassemble.
2649 * gdb.reverse/finish-reverse.exp: Delete 'return'.
2650 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
2651 gdb_test_multiple.
2652 * gdb.reverse/step-reverse.exp: Delete 'return'.
2653 * gdb.reverse/until-reverse.exp: Delete blank lines.
2654 * gdb.reverse/watch-reverse.exp: Delete blank lines.
2655
2656 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
2657
2658 * gdb.base/consecutive.exp: Adjust.
2659 * gdb.base/display.exp: Likewise.
2660 * gdb.base/pc-fp.exp: Likewise.
2661 * gdb.base/sigbpt.exp: Likewise.
2662
2663 2009-10-19 Michael Snyder <msnyder@vmware.com>
2664
2665 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
2666 * gdb.reverse/finish-reverse.c: Ditto.
2667 * gdb.reverse/sigall-reverse.c: Ditto.
2668 * gdb.reverse/solib-reverse.c: Ditto.
2669 * gdb.reverse/step-reverse.c: Ditto.
2670 * gdb.reverse/watch-reverse.c: Ditto.
2671
2672 2009-10-19 Pedro Alves <pedro@codesourcery.com>
2673 Stan Shebs <stan@codesourcery.com>
2674
2675 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
2676 * gdb.base/foll-exec.exp: Adjust to expect a process id before
2677 "Executing new program".
2678 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
2679 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
2680 left listed after having been killed.
2681 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
2682 * gdb.base/maint.exp: Adjust test.
2683
2684 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
2685 * gdb.multi/Makefile.in: New.
2686 * gdb.multi/base.exp: New.
2687 * gdb.multi/goodbye.c: New.
2688 * gdb.multi/hangout.c: New.
2689 * gdb.multi/hello.c: New.
2690 * gdb.multi/bkpt-multi-exec.c: New.
2691 * gdb.multi/bkpt-multi-exec.exp: New.
2692 * gdb.multi/crashme.c: New.
2693
2694 2009-10-13 Tristan Gingold <gingold@adacore.com>
2695
2696 * gdb.base/sepdebug.exp: Check debug info are found.
2697
2698 2009-10-08 Pedro Alves <pedro@codesourcery.com>
2699
2700 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
2701 bits.
2702
2703 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2704
2705 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
2706
2707 2009-10-07 Joel Brobecker <brobecker@adacore.com>
2708
2709 * gdb.base/watchpoints.c: Add copyright header. Reformat one
2710 of the comments.
2711
2712 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
2713
2714 * gdb.base/annota1.exp: Remove obsolete match_max increase.
2715 * gdb.base/annota3.exp: Idem.
2716 * gdb.base/maint.exp: Idem.
2717
2718 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
2719
2720 * lib/gdb.exp (default_gdb_init): Set current value of match_max
2721 to default.
2722
2723 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
2724
2725 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
2726 mingw and cygwin targets.
2727
2728 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
2729 Pedro Alves <pedro@codesourcery.com>
2730
2731 * lib/gdb.exp (gdb_compile): Avoid adding
2732 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
2733
2734 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
2735
2736 * gdb.base/shr1.c: Use %p in format string.
2737 * gdb.base/unload.c: Avoid warning in fprintf.
2738 * gdb.base/watchpoint-solib.c: Idem.
2739
2740 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
2741
2742 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
2743 long type.
2744 (test_unlink): Correct printf string.
2745 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
2746 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
2747
2748 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2749
2750 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
2751 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
2752 * gdb.arch/ia64-breakpoint-shadow.S: New file.
2753
2754 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2755
2756 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
2757 * gdb.objc/nondebug.exp: Likewise.
2758
2759 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2760
2761 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
2762 target_info setting.
2763
2764 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
2765 that detect new threads during "info threads".
2766
2767 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2768
2769 * gdb.threads/manythreads.c (main): Increase thread stack size
2770 to 2*PTHREAD_STACK_MIN.
2771 * gdb.threads/multi-create.c (main): Likewise.
2772 (create_function): Likewise.
2773
2774 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2775
2776 * gdb.base/dump.exp: Pass difference of pointer types instead
2777 of integer types as offset to restore in intarr3.srec case.
2778
2779 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2780
2781 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
2782
2783 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2784
2785 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
2786
2787 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
2788
2789 New test for two watchpoints, with disabling of
2790 the first inserted.
2791 * testsuite/gdb.base/watchpoints.c: New file.
2792 * testsuite/gdb.base/watchpoints.exp: New file.
2793
2794 2009-09-25 Tom Tromey <tromey@redhat.com>
2795
2796 * gdb.base/charset.exp: Test utf-16 strings with Python.
2797
2798 2009-09-25 Tom Tromey <tromey@redhat.com>
2799
2800 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
2801 UCS-4.
2802 * gdb.base/charset.c (utf_32_string): Rename.
2803 (init_utf32): Rename.
2804 (main): Update.
2805
2806 2009-09-22 Tom Tromey <tromey@redhat.com>
2807
2808 * gdb.python/py-function.exp: Add regression tests.
2809
2810 2009-09-21 Keith Seitz <keiths@redhat.com>
2811
2812 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
2813 with invalid operator.
2814
2815 2009-09-21 Keith Seitz <keiths@redhat.com>
2816
2817 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
2818 and destructor using typedef name of class.
2819 * gdb.cp/classes.cc (class Base1): Add a destructor.
2820 (base1): New typedef.
2821 (use_methods): Instanitate an object of type base1.
2822 * gdb.cp/templates.exp (test_template_typedef): New procedure.
2823 (do_tests): Call test_template_typedef.
2824 * gdb.cp/templates.cc (Baz::~Baz): New method.
2825 (intBazOne): New typedef.
2826 (main): Instantiate intBazOne.
2827
2828 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
2829
2830 PR python/10633
2831
2832 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
2833 Function.
2834 (run_lang_tests): Add print elements test.
2835
2836 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
2837
2838 * gdb.python/py-value.exp (test_subscript_regression): New
2839 function. Test for invalid subscripts.
2840 * gdb.python/py-value.c (main): Add test array, and pointer to it.
2841 (ptr_ref): New function.
2842
2843 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
2844
2845 * gdb.base/default.exp: Fix "show convenience".
2846
2847 2009-09-15 Tom Tromey <tromey@redhat.com>
2848
2849 * lib/mi-support.exp (mi_create_varobj): Update.
2850 (mi_create_floating_varobj): Likewise.
2851 (mi_create_dynamic_varobj): New proc.
2852 (mi_varobj_update): Update.
2853 (mi_varobj_update_with_type_change): Likewise.
2854 (mi_varobj_update_kv_helper): New proc.
2855 (mi_varobj_update_dynamic_helper): Rewrite.
2856 (mi_varobj_update_dynamic): New proc.
2857 (mi_list_varobj_children): Update.
2858 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
2859 * gdb.python/python-prettyprint.py (pp_outer): New class.
2860 (pp_nullstr): Likewise.
2861 (lookup_function): Register new printers.
2862 * gdb.python/python-prettyprint.c (struct substruct): New type.
2863 (struct outerstruct): Likewise.
2864 (substruct_test): New function.
2865 (struct nullstr): New type.
2866 (string_1, string_2): New globals.
2867 (main): Add new tests.
2868 * gdb.python/python-mi.exp: Added regression tests.
2869 * gdb.mi/mi2-var-display.exp: Update.
2870 * gdb.mi/mi2-var-cmd.exp: Update.
2871 * gdb.mi/mi2-var-child.exp: Update.
2872 * gdb.mi/mi2-var-block.exp: Update.
2873 * gdb.mi/mi-var-invalidate.exp: Update.
2874 * gdb.mi/mi-var-display.exp: Update.
2875 * gdb.mi/mi-var-cmd.exp: Update.
2876 * gdb.mi/mi-var-child.exp: Update.
2877 * gdb.mi/mi-var-block.exp: Update.
2878 * gdb.mi/mi-break.exp: Update.
2879 * gdb.mi/gdb701.exp: Update.
2880
2881 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
2882
2883 * Makefile.in: Inclusion of catch-syscall object.
2884 * gdb.base/catch-syscall.c: New file.
2885 * gdb.base/catch-syscall.exp: New file.
2886
2887 2009-09-12 Michael Snyder <msnyder@vmware.com>
2888
2889 * gdb.reverse/step-reverse.exp: Explicitly check for targets
2890 that can support reverse debuggnig.
2891
2892 2009-09-11 Tom Tromey <tromey@redhat.com>
2893
2894 * gdb.dwarf2/valop.S: New file.
2895 * gdb.dwarf2/valop.exp: New file.
2896
2897 2009-09-11 Mark Kettenis <kettenis@gnu.org>
2898
2899 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
2900
2901 2009-09-10 Doug Evans <dje@google.com>
2902
2903 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
2904 Add $gdb_prompt to second breakpoint regexp.
2905
2906 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
2907
2908 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
2909 names, add missing ones.
2910 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
2911 * gdb.python/py-frame.c: Rename from python-frame.c.
2912 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
2913 testfile name.
2914 * gdb.python/py-function.exp: Rename from python-function.exp.
2915 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
2916 testfile name.
2917 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
2918 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
2919 Adjust testfile name.
2920 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
2921 * gdb.python/py-template.cc: Rename from python-template.cc.
2922 * gdb.python/py-template.exp: Rename from python-template.exp.
2923 Adjust testfile name.
2924 * gdb.python/py-value.c: Rename from python-value.c.
2925 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
2926 testfile name.
2927
2928 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2929
2930 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
2931 $bpt2address.
2932 (Second breakpoint address is valid on ia64)
2933 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
2934
2935 2009-09-03 Joseph Myers <joseph@codesourcery.com>
2936
2937 * gdb.base/ending-run.exp: Restrict regular expression matching
2938 line number to require closing brace following.
2939
2940 2009-09-03 Doug Evans <dje@google.com>
2941
2942 * gdb.base/store.exp (check_set): Fix typo in expected value message.
2943
2944 2009-09-02 Tom Tromey <tromey@redhat.com>
2945
2946 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
2947
2948 2009-09-02 Tom Tromey <tromey@redhat.com>
2949
2950 * gdb.dwarf2/callframecfa.exp: New file.
2951 * gdb.dwarf2/callframecfa.S: New file.
2952
2953 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2954
2955 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
2956 gdb.base/solib-overlap-main.c: New.
2957
2958 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
2959
2960 PR gdb/10565
2961
2962 * gdb.base/bitfields.c (struct container, container): New.
2963 (main): Initialize it and call break5.
2964 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
2965
2966 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2967
2968 Support constant DW_AT_data_member_location by GCC PR debug/40659.
2969 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
2970
2971 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2972
2973 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
2974
2975 2009-08-26 Michael Snyder <msnyder@vmware.com>
2976
2977 * gdb.base/i386-reverse.c: New file.
2978 * gdb.base/i386-reverse.exp: New file.
2979 * gdb.base/Makefile.in: Add new files to be removed.
2980
2981 2009-08-26 Joseph Myers <joseph@codesourcery.com>
2982
2983 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
2984 environment-pwd for remote host.
2985 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
2986
2987 2009-08-24 Keith Seitz <keiths@redhat.com>
2988
2989 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
2990 Add two new C++ completer tests which limit the output to a
2991 given class.
2992
2993 2009-08-24 Michael Snyder <msnyder@vmware.com>
2994
2995 * gdb.base/del.exp: Fix typo in comment.
2996 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
2997
2998 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2999
3000 * configure: Regenerate.
3001 * gdb.hp/configure: Likewise.
3002 * gdb.hp/gdb.aCC/configure: Likewise.
3003 * gdb.hp/gdb.base-hp/configure: Likewise.
3004 * gdb.hp/gdb.compat/configure: Likewise.
3005 * gdb.hp/gdb.defects/configure: Likewise.
3006 * gdb.hp/gdb.objdbg/configure: Likewise.
3007 * gdb.stabs/configure: Likewise.
3008
3009 2009-08-19 Doug Evans <dje@google.com>
3010
3011 * gdb.base/gdbvars.c: New file.
3012 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
3013
3014 2009-08-14 Pedro Alves <pedro@codesourcery.com>
3015
3016 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
3017 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
3018
3019 2009-08-13 Pedro Alves <pedro@codesourcery.com>
3020
3021 * gdb.base/default.exp: Adjust "set language test": it's now an
3022 enum command. Larger help string moved to "help set language".
3023 * gdb.base/help.exp: Adjust "help set language" expected output,
3024 now lists all known languages.
3025
3026 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
3027
3028 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
3029 all frame arguments.
3030 * gdb.arch/altivec-regs.exp: Likewise.
3031
3032 2009-08-07 Tom Tromey <tromey@redhat.com>
3033
3034 * gdb.base/setshow.exp: Add tests for changes to set language, set
3035 check range, and set check type.
3036
3037 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
3038
3039 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
3040 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
3041 Call it.
3042
3043 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3044
3045 * configure.ac: Run gdb.cell tests when appropriate.
3046 * configure: Regenerate.
3047 * lib/cell.exp: New file.
3048 * gdb.cell: New directory.
3049 * gdb.cell/configure.ac: New file.
3050 * gdb.cell/configure: New file.
3051 * gdb.cell/Makefile.in: New file.
3052 * gdb.cell/arch.exp: New file.
3053 * gdb.cell/break.c: New file.
3054 * gdb.cell/break.exp: New file.
3055 * gdb.cell/break-spu.c: New file.
3056 * gdb.cell/bt.c: New file.
3057 * gdb.cell/bt2-spu.c: New file.
3058 * gdb.cell/bt-spu.c: New file.
3059 * gdb.cell/bt.exp: New file.
3060 * gdb.cell/coremaker.c: New file.
3061 * gdb.cell/coremaker-spu.c: New file.
3062 * gdb.cell/core.exp: New file.
3063 * gdb.cell/gcore.exp: New file.
3064 * gdb.cell/data.c: New file.
3065 * gdb.cell/data.exp: New file.
3066 * gdb.cell/data-spu.c: New file.
3067 * gdb.cell/ea-cache.exp: New file.
3068 * gdb.cell/ea-cache.c: New file.
3069 * gdb.cell/ea-cache-spu.c: New file.
3070 * gdb.cell/ea-standalone.c: New file.
3071 * gdb.cell/ea-standalone.exp: New file.
3072 * gdb.cell/ea-test.c: New file.
3073 * gdb.cell/ea-test.exp: New file.
3074 * gdb.cell/f-regs.exp: New file.
3075 * gdb.cell/mem-access.c: New file.
3076 * gdb.cell/mem-access.exp: New file.
3077 * gdb.cell/mem-access-spu.c: New file.
3078 * gdb.cell/ptype.exp: New file.
3079 * gdb.cell/registers.exp: New file.
3080 * gdb.cell/size.c: New file.
3081 * gdb.cell/sizeof.exp: New file.
3082 * gdb.cell/size-spu.c: New file.
3083 * gdb.cell/solib.exp: New file.
3084 * gdb.cell/solib-symbol.exp: New file.
3085
3086 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3087
3088 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
3089
3090 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
3091
3092 * gdb.base/float.exp: Handle VFP registers.
3093
3094 2009-07-14 Michael Snyder <msnyder@vmware.com>
3095
3096 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
3097 to bring gdb to the beginning of the calling line.
3098
3099 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
3100 confusing the i386 epilogue unwinder.
3101
3102 2009-07-14 Stan Shebs <stan@codesourcery.com>
3103
3104 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
3105
3106 2009-07-14 Michael Snyder <msnyder@vmware.com>
3107
3108 * gdb.reverse/step-reverse.exp (stepi into function call):
3109 Call instruction may not be first instruction in the line.
3110 (reverse stepi from a function call): Used wrong line number.
3111
3112 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3113
3114 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
3115
3116 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3117
3118 Fix gdb.base/macscp.exp when using custom inputrc.
3119 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
3120 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
3121 env(TERM) set.
3122 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
3123 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
3124
3125 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3126
3127 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
3128 * gdb.base/annota1.exp (thread_test): Import global $testfile.
3129 Change the compilation target to match the testcase name.
3130 * gdb.base/sect-cmd.exp: Change the compilation target to match the
3131 testcase name.
3132 * a2-run.exp: Use for setup prepare_for_testing. Change the
3133 compilation target to match the testcase name.
3134 * gdb.base/commands.exp: Likewise.
3135 * gdb.base/finish.exp: Likewise.
3136 * gdb.base/float.exp: Likewise.
3137 * gdb.base/info-target.exp: Likewise.
3138 * gdb.base/relational.exp: Likewise.
3139 * gdb.base/term.exp: Likewise.
3140 * gdb.base/until.exp: Likewise.
3141 * gdb.base/volatile.exp: Likewise.
3142 * gdb.base/whatis-exp.exp: Likewise.
3143
3144 2009-07-11 Hui Zhu <teawater@gmail.com>
3145
3146 * gdb.base/help.exp (disassemble): Update expected help text.
3147
3148 2009-07-09 Tom Tromey <tromey@redhat.com>
3149
3150 * lib/gdb.exp: Handle TRANSCRIPT.
3151 (remote_spawn, remote_close, send_gdb): New procs.
3152
3153 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
3154
3155 * gdb.python/python-prettyprint.c: Add counted null string
3156 structure.
3157 * gdb.python/python-prettyprint.exp: Print null string. Test for
3158 embedded nulls.
3159 * gdb.python/python-prettyprint.py (pp_ns): New Function.
3160 * gdb.python/python-value.exp (test_value_in_inferior): Add
3161 variable length string fetch tests.
3162 * gdb.python/python-value.c (main): Add strings for string fetch tests.
3163
3164 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3165
3166 * gdb.base/dump.exp (inaccessible memory is reported): New test.
3167
3168 2009-07-07 Tom Tromey <tromey@redhat.com>
3169
3170 * gdb.base/call-rt-st.exp: Update for change to escape output.
3171 * gdb.base/callfuncs.exp: Likewise.
3172 * gdb.base/charset.exp: Likewise.
3173 * gdb.base/constvars.exp: Likewise.
3174 * gdb.base/long_long.exp: Likewise.
3175 * gdb.base/pointers.exp: Likewise.
3176 * gdb.base/printcmds.exp: Likewise.
3177 * gdb.base/setvar.exp: Likewise.
3178 * gdb.base/store.exp: Likewise.
3179 * gdb.cp/ref-types.exp: Likewise.
3180 * gdb.mi/mi-var-child.exp: Likewise.
3181 * gdb.mi/mi-var-display.exp: Likewise.
3182 * gdb.mi/mi2-var-display.exp: Likewise.
3183 * gdb.base/charset.exp: Test octal escape sequence length.
3184 Update for change to escape output.
3185
3186 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3187
3188 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
3189
3190 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
3191
3192 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
3193
3194 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3195
3196 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
3197 gdbserver increasing $portnum if "Can't bind address" has been seen.
3198
3199 2009-07-05 Pedro Alves <pedro@codesourcery.com>
3200
3201 * gdb.base/ending-run.exp: Add "step out of main" pattern for
3202 mingw32ce.
3203
3204 2009-07-05 Pedro Alves <pedro@codesourcery.com>
3205
3206 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
3207 VFP format.
3208
3209 2009-07-02 Pedro Alves <pedro@codesourcery.com>
3210
3211 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
3212 linux. Adjust to use "inferior", "info inferiors", "detach
3213 inferior" and "kill inferior" instead of "restart", "info fork",
3214 "detach fork" and "delete fork".
3215 * gdb.base/ending-run.exp: Spell out "info".
3216 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
3217 the "kill" command.
3218
3219 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3220
3221 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
3222 change to prefix TLS offset in hex with 0x.
3223
3224 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3225
3226 * gdb.base/default.exp: Update test case for "x" changes.
3227
3228 2009-07-01 Tristan Gingold <gingold@adacore.com>
3229
3230 * gdb.base/bigcore.exp: Make darwin untested.
3231
3232 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3233
3234 * gdb.base/completion.exp (directory completion): Create the directory.
3235 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
3236 escapeuniquesub.
3237 (directory completion 2): Expect now ${escapeuniquesub}.
3238 (Glob remaining of directory test): Remove one excessive newline.
3239 Expect the real output.
3240
3241 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3242
3243 Fix `make check//%' target after `make check' has been ran.
3244 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
3245 a mkdir call.
3246 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
3247 (%/.dir): Remove.
3248
3249 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3250
3251 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
3252 the expected result record.
3253
3254 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3255
3256 Remove racy FAILs relying just on the timeouts.
3257 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
3258 (annotation_level 2): Remove racy FAILs.
3259
3260 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
3261
3262 gdb/10275
3263 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
3264
3265 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
3266
3267 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
3268
3269 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
3270
3271 * gdb.mi/mi-stack.exp: Testing symbolic options
3272 to -stack-list-locals and -stack-list-arguments.
3273
3274 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3275
3276 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
3277
3278 2009-06-29 Tom Tromey <tromey@redhat.com>
3279
3280 * dg-extract-results.sh: New file.
3281 * Makefile.in (FORCE_PARALLEL): New variable.
3282 (CHECK_TARGET): New conditional variable.
3283 (check): Use CHECK_TARGET.
3284 (DO_RUNTEST): New variable.
3285 (check-single): New target.
3286 (TEST_DIRS): New variable.
3287 (TEST_TARGETS): Likewise.
3288 (check-parallel): New target.
3289 (check-gdb.%): New pattern.
3290 (BASE1_FILES): New variable.
3291 (BASE2_FILES): Likewise.
3292 (check-gdb.base%): New pattern.
3293 (%/.dir): New pattern.
3294 * configure: Rebuild.
3295 * aclocal.m4 (AM_CONDITIONAL): New defun.
3296 * configure.ac: Check whether user is using GNU make.
3297 (GMAKE): New conditional.
3298
3299 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
3300
3301 * gdb.cp/namespace-nested-import.cc: New test.
3302 * gdb.cp/namespace-nested-import.exp: New test.
3303
3304 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
3305
3306 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
3307 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
3308 * gdb.opt/Makefile.in (EXECUTABLES): Update.
3309 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
3310 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
3311 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
3312 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
3313 gdb.opt/inline-markers.c: New files.
3314 * lib/gdb.exp (skip_inline_frame_tests): New function.
3315 (skip_inline_var_tests): New function.
3316
3317 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
3318
3319 * gdb.cp/exception.exp: Don't require $hex before inner frame in
3320 backtrace.
3321
3322 2009-06-27 Michael Snyder <msnyder@vmware.com>
3323
3324 * gdb.reverse: New directory.
3325 * gdb.reverse/break-reverse.c: New test.
3326 * gdb.reverse/break-reverse.exp: New test.
3327 * gdb.reverse/consecutive-reverse.c: New test.
3328 * gdb.reverse/consecutive-reverse.exp: New test.
3329 * gdb.reverse/finish-reverse.c: New test.
3330 * gdb.reverse/finish-reverse.exp: New test.
3331 * gdb.reverse/machinestate.c: New test.
3332 * gdb.reverse/ms1.c: New test.
3333 * gdb.reverse/machinestate.exp: New test.
3334 * gdb.reverse/Makefile.in: New file.
3335 * gdb.reverse/shr2.c: New test.
3336 * gdb.reverse/solib-reverse.c: New test.
3337 * gdb.reverse/solib-reverse.exp: New test.
3338 * gdb.reverse/step-reverse.c: New test.
3339 * gdb.reverse/step-reverse.exp: New test.
3340 * gdb.reverse/until-reverse.c: New test.
3341 * gdb.reverse/ur1.c: New test.
3342 * gdb.reverse/until-reverse.exp: New test.
3343 * gdb.reverse/watch-reverse.c: New test.
3344 * gdb.reverse/watch-reverse.exp: New test.
3345 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
3346 * configure: Regenerate.
3347
3348 2009-06-26 Doug Evans <dje@google.com>
3349
3350 * gdb.base/psymtab.exp: Turn off pending breakpoints.
3351
3352 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
3353
3354 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
3355 windows problem for 'file delete $binfile'.
3356
3357 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
3358
3359 * gdb.cp/namespace-using.exp: New test.
3360 * gdb.cp/namespace-using.cc: New test.
3361
3362 2009-05-20 Joel Brobecker <brobecker@adacore.com>
3363
3364 * gdb.ada/variant_record_packed_array: New testcase.
3365
3366 2009-06-23 Tom Tromey <tromey@redhat.com>
3367
3368 * gdb.base/charset.exp (test_combination): Regression test.
3369 * gdb.base/charset.c (my_wchar_t): New typedef.
3370 (myvar): New global.
3371 (main): Set myvar.
3372
3373 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
3374
3375 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
3376 target.
3377
3378 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3379
3380 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
3381
3382 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3383
3384 * gdb.mi/gdb680.exp: Update test for error message.
3385
3386 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3387
3388 * gdb.base/annota1.exp: Allow multiple occurrences of the
3389 frames-invalid annotation.
3390 * gdb.cp/annota2.exp: Likewise.
3391
3392 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
3393
3394 * gdb.cp/gdb2495.cc: New file.
3395 * gdb.cp/gdb2495.exp: New file.
3396
3397 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3398
3399 Report error on GDB crash during runto.
3400 * lib/gdb.exp (runto <eof>): New.
3401
3402 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
3403
3404 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
3405 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
3406 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
3407 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
3408 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
3409 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
3410 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
3411 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
3412 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
3413 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
3414 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
3415 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
3416 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
3417 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
3418 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
3419 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
3420 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
3421 gdb.server/server-mon.exp, gdb.server/server-run.exp,
3422 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3423 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3424 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
3425 gdb.trace/passcount.exp, gdb.trace/report.exp,
3426 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
3427 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
3428 gdb.trace/while-stepping.exp: Use a unique name for the compiled
3429 executable.
3430
3431 2009-06-07 Pedro Alves <pedro@codesourcery.com>
3432
3433 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
3434 defined before referencing it.
3435
3436 2009-06-03 Doug Evans <dje@google.com>
3437
3438 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
3439 * gdb.arch/i386-see.c: Ditto.
3440
3441 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
3442
3443 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
3444 (check_macro): Return 1 if undefined.
3445 If first test fails, check if macro debug information is available,
3446 and report unsupported test if no macro information is found.
3447
3448 2009-05-29 Doug Evans <dje@google.com>
3449
3450 * gdb.threads/hand-call-in-threads.exp: New.
3451 * gdb.threads/hand-call-in-threads.c: New.
3452
3453 2009-05-29 Michael Snyder <msnyder@vmware.com>
3454
3455 * gdb.base/break-always.exp: Change "1" to "on".
3456 Add confirmation check.
3457
3458 2009-05-28 Pedro Alves <pedro@codesourcery.com>
3459
3460 * gdb.threads/threxit-hop-specific.c: New.
3461 * gdb.threads/threxit-hop-specific.exp: New.
3462 * gdb.threads/thread-execl.c: New.
3463 * gdb.threads/thread-execl.exp: New.
3464
3465 2009-05-27 Tom Tromey <tromey@redhat.com>
3466 Thiago Jung Bauermann <bauerman@br.ibm.com>
3467
3468 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
3469 (mi_child_regexp): Likewise.
3470 (mi_list_varobj_children_range): Likewise.
3471 (mi_get_features): Likewise.
3472 (mi_list_varobj_children): Rewrite.
3473 * gdb.python/python-mi.exp: New file.
3474
3475 2009-05-27 Tom Tromey <tromey@redhat.com>
3476 Thiago Jung Bauermann <bauerman@br.ibm.com>
3477 Phil Muldoon <pmuldoon@redhat.com>
3478 Paul Pluzhnikov <ppluzhnikov@google.com>
3479
3480 * gdb.python/python-prettyprint.exp: New file.
3481 * gdb.python/python-prettyprint.c: New file.
3482 * gdb.python/python-prettyprint.py: New file.
3483 * gdb.base/display.exp: print/r is now valid.
3484
3485 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
3486 Tom Tromey <tromey@redhat.com>
3487 Pedro Alves <pedro@codesourcery.com>
3488 Paul Pluzhnikov <ppluzhnikov@google.com>
3489
3490 * gdb.python/python-template.exp: New file.
3491 * gdb.python/python-template.cc: New file.
3492 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
3493 tests.
3494 * gdb.python/python-value.exp (py_objfile_tests): New proc.
3495 Call it.
3496 (test_value_after_death): New proc.
3497 * gdb.python/python-value.c (PTR): New typedef.
3498 (main): New variable 'x'.
3499
3500 2009-05-27 Tom Tromey <tromey@redhat.com>
3501
3502 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
3503 tests.
3504 * gdb.python/python-value.exp (py_objfile_tests): New proc.
3505 Call it.
3506
3507 2009-05-27 Pedro Alves <pedro@codesourcery.com>
3508
3509 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
3510
3511 2009-05-24 Pedro Alves <pedro@codesourcery.com>
3512
3513 * gdb.threads/fork-thread-pending.c: New.
3514 * gdb.threads/fork-thread-pending.exp: New.
3515
3516 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3517
3518 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
3519 * gdb.dwarf2/dw2-strp.S (a_string2): New.
3520
3521 2009-05-18 Jon Beniston <jon@beniston.com>
3522
3523 * gdb.asm/asm-source.exp: Add lm32 target.
3524
3525 2009-05-17 Pedro Alves <pedro@codesourcery.com>
3526
3527 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
3528 `gdb_get_line_number'. Call `callee' in both parent and child.
3529 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
3530 `gdb_get_line_number' instead of hardcoding line numbers.
3531 (catch_fork_unpatch_child): New procedure to test detaching
3532 breakpoints from child fork.
3533 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
3534 hardcoding line numbers.
3535 (do_fork_tests): Run `catch_fork_unpatch_child'.
3536
3537 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
3538
3539 * gdb.mi/mi-cmd-var.exp: Check that when varobj
3540 of structure type enters or leaves the scope, it
3541 is reported by -var-update.
3542
3543 2009-05-11 Doug Evans <dje@sebabeach.org>
3544
3545 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
3546 * gdb.threads/pending-step.c (main): Fix off-by-one error.
3547 * gdb.threads/schedlock.c (main): Fix off-by-one error.
3548
3549 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3550
3551 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
3552
3553 2009-04-30 Doug Evans <dje@google.com>
3554
3555 * gdb.threads/watchthreads2.exp: New testcase.
3556 * gdb.threads/watchthreads2.c: New testcase.
3557
3558 2009-04-29 Doug Evans <dje@google.com>
3559
3560 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
3561 * gdb.cp/mb-ctor.cc: Ditto.
3562 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
3563 * gdb.cp/mb-inline.h (multi_line_foo): New function.
3564 * gdb.cp/mb-inline1.cc: Call it.
3565 * gdb.cp/mb-inline2.cc: Ditto.
3566 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
3567 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
3568
3569 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3570
3571 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
3572 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
3573 Replace all uses of `decimal' by `nonzero'.
3574 (info macro FROM_COMMANDLINE): New test.
3575
3576 2009-04-27 Tom Tromey <tromey@redhat.com>
3577
3578 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
3579
3580 2009-04-27 Doug Evans <dje@google.com>
3581
3582 * gdb.threads/watchthreads.c (main): Initialize args before starting
3583 the threads. Plus formatting cleanup.
3584 * gdb.threads/watchthreads.exp: Avoid errant failures due to
3585 biased scheduling of one thread.
3586
3587 2009-04-27 Jerome Guitton <guitton@adacore.com>
3588
3589 * gdb.cp/templates.cc (GetMax): New template.
3590 (main): Declare two instances of GetMax.
3591 * gdb.cp/templates.exp: Add new test.
3592
3593 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3594
3595 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
3596
3597 2009-04-22 Joseph Myers <joseph@codesourcery.com>
3598
3599 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
3600
3601 2009-04-15 Tom Tromey <tromey@redhat.com>
3602
3603 * gdb.base/charset.exp: Add regression test.
3604
3605 2009-04-14 Joel Brobecker <brobecker@adacore.com>
3606
3607 * gdb.base/exe-lock.exp: New testcase.
3608
3609 2009-04-13 Tom Tromey <tromey@redhat.com>
3610
3611 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
3612 operator on Frame.
3613
3614 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3615
3616 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
3617 * gdb.server/ext-attach.exp: Likewise.
3618
3619 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
3620
3621 Eliminate some sleep usage.
3622
3623 * gdb.mi/basics.c (do_nothing): New.
3624 (main): Use do_nothing instead of printf, so that
3625 not to introduce race condition between output of
3626 inferiour and output of gdb. Do not use sleep as it
3627 is not generally available on embedded targets.
3628
3629 2009-04-02 Pedro Alves <pedro@codesourcery.com>
3630
3631 * gdb.server/ext-attach.exp: Expect an optional process id after
3632 "Detached from remote process".
3633
3634 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3635
3636 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
3637 gdb.dwarf2/dw2-unresolved.exp: New.
3638
3639 2009-04-02 Pedro Alves <pedro@codesourcery.com>
3640
3641 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
3642 mi_run_to_main.
3643
3644 2009-04-02 Pedro Alves <pedro@codesourcery.com>
3645
3646 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
3647 mi_run_to_main. Skip thread exit test on remote targets.
3648 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
3649 mi_run_to_main.
3650 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
3651 mi_run_to_main.
3652 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
3653 when expecting ^connected. Detect when the target doesn't support
3654 non-stop mode.
3655 (mi_run_cmd): Detect if non-stop mode was requested by isn't
3656 supported. Return -1 on error, 0 on success.
3657 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
3658 (mi_runto): Return mi_runto_helper's result explicitly.
3659
3660 2009-04-01 Pedro Alves <pedro@codesourcery.com>
3661
3662 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
3663
3664 2009-04-01 Tom Tromey <tromey@redhat.com>
3665
3666 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
3667 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
3668 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
3669 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
3670
3671 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
3672 Jan Kratochvil <jan.kratochvil@redhat.com>
3673
3674 PR gdb/931
3675 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
3676 output.
3677 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
3678 for gdb/931.
3679 * dw2-strp.S (DW_AT_language): Change to C++.
3680 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
3681
3682 2009-03-31 Joel Brobecker <brobecker@adacore.com>
3683
3684 * gdb.ada/tasks: New testcase.
3685
3686 2009-03-30 Stan Shebs <stan@codesourcery.com>
3687
3688 * gdb.trace/actions.exp: Update to match new info trace format.
3689 * gdb.trace/deltrace.exp: Ditto.
3690 * gdb.trace/infotrace.exp: Ditto.
3691 * gdb.trace/passcount.exp: Ditto.
3692 * gdb.trace/save-trace.exp: Ditto.
3693 * gdb.trace/while-stepping.exp: Ditto.
3694 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
3695
3696 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
3697
3698 * gdb.python/python-frame.c: New file.
3699 * gdb.python/python-frame.exp: New file.
3700
3701 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
3702
3703 * gdb.python/python-value.exp: Add tests for the address
3704 attribute.
3705
3706 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
3707
3708 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
3709
3710 2009-03-26 Doug Evans <dje@google.com>
3711
3712 * gdb.mi/mi-nonstop-exit.exp: New file.
3713 * gdb.mi/non-stop-exit.c: New file.
3714
3715 2009-03-26 Tom Tromey <tromey@redhat.com>
3716
3717 Update for change to prologue skipping:
3718 * gdb.mi/mi2-simplerun.exp: Update.
3719 * gdb.mi/mi2-break.exp: Update.
3720 * gdb.mi/mi-simplerun.exp: Update.
3721 * gdb.mi/mi-break.exp: Update.
3722 * gdb.base/ending-run.exp: Update.
3723
3724 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
3725
3726 * gdb.python/python-value.exp (test_value_in_inferior): Test
3727 gdb.Value.is_optimized_out attribute.
3728
3729 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3730
3731 * gdb.dwarf2/dw2-noloc-main.c: New file.
3732 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
3733 (.text): Remove.
3734 (.data): New.
3735 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
3736 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
3737 (DW_TAG_subprogram func_cu1, noloc): Remove.
3738 (main): New.
3739 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
3740 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
3741 (file_symbols): New procedure.
3742
3743 2009-03-25 Tom Tromey <tromey@redhat.com>
3744
3745 * gdb.base/charset.exp (valid_target_charset): New proc.
3746 Use it to skip tests on invalid charsets.
3747
3748 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
3749
3750 * gdb.base/completion.exp: Add a test for directory completion.
3751
3752 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3753
3754 Fix a racy FAIL.
3755 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
3756 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
3757
3758 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
3759
3760 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
3761 * gdb.python/python-function.exp: Add test for function returning
3762 a GDB value.
3763
3764 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
3765
3766 * gdb.python/python-function.exp: New file.
3767
3768 2009-03-20 Tom Tromey <tromey@redhat.com>
3769
3770 * gdb.base/store.exp: Update for change to escape output.
3771 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
3772 to escape output.
3773 * gdb.base/pointers.exp: Update for change to escape output.
3774 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
3775 to escape output.
3776 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
3777 escape output.
3778 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
3779 to escape output.
3780 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
3781 escape output.
3782 * gdb.base/setvar.exp: Update for change to escape output.
3783 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
3784 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
3785 to escape output.
3786 (test_print_string_constants): Likewise.
3787 * gdb.base/charset.exp (valid_host_charset): Check size of
3788 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
3789 cases. Handle "auto"-related output.
3790 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
3791 (uvar, Uvar): New globals.
3792
3793 2009-03-19 Jerome Guitton <guitton@adacore.com>
3794
3795 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
3796 deltas.
3797 * gdb.ada/fixed_points.exp: Ditto.
3798
3799 2009-03-18 Pedro Alves <pedro@codesourcery.com>
3800
3801 * return-nodebug.c: Don't include stdio.h.
3802 (init): Delete.
3803 (func): Delete definition and provide extern declaration.
3804 (t): New.
3805 (main): Don't call printf. Call func and store its result in t.
3806 * return-nodebug1.c: New.
3807 * return-nodebug.exp: Don't expect stdio output. Instead, print
3808 the global variable t. Drop printf formatters and cast types from
3809 foreach loop. Don't use prepare_for_testing. Compile
3810 return-nodebug.c and return-nodebug1.c in separate steps. Don't
3811 define FORMAT or CAST.
3812
3813 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3814
3815 * gdb.base/solib-display.exp: Disable test for remote targers.
3816
3817 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3818
3819 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
3820
3821 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3822
3823 Fix a racy FAIL.
3824 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
3825 code from `follow parent, print pids'.
3826 (`follow child, print pids', `follow parent, print pids'): Call it.
3827 Replace `gdb_test "break..."' by gdb_breakpoint.
3828
3829 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
3830
3831 * gdb.mi/mi-cli.exp: Adjust for output difference in
3832 sync and async modes.
3833
3834 2009-03-12 Joel Brobecker <brobecker@adacore.com>
3835
3836 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
3837 that was checked in by mistake. Remove loading of ada.exp, since
3838 this is not necessary in this case.
3839
3840 2009-03-12 Joel Brobecker <brobecker@adacore.com>
3841
3842 * gdb.ada/ptype_arith_binop.exp: New testcase.
3843
3844 2009-03-12 Joel Brobecker <brobecker@adacore.com>
3845
3846 * gdb.ada/mod_from_name: New testcase.
3847
3848 2009-03-12 Joel Brobecker <brobecker@adacore.com>
3849
3850 * gdb.ada/tick_last_segv: New testcase.
3851
3852 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
3853
3854 * gdb.mi/mi-cli.exp: Remove debug print.
3855
3856 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
3857
3858 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
3859 include the token in ^running and frame info in *stopped.
3860
3861 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3862
3863 * solib-display.exp: New file.
3864 * solib-display-main.c: New file.
3865 * solib-display-lib.c: New file.
3866
3867 2009-03-05 Pedro Alves <pedro@codesourcery.com>
3868
3869 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
3870
3871 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3872
3873 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
3874 (list_and_check_macro): Use more specific test name.
3875 (next to definition): Make the test names unique.
3876
3877 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
3878
3879 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3880
3881 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
3882
3883 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
3884 notifications.
3885 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
3886 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
3887 * lib/mi-support.exp (library_loaded_re): New.
3888 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
3889
3890 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
3891
3892 * gdb.gdb/observer.exp: Use test_notification observer, not
3893 normal_stop, everywhere.
3894 (test_normal_stop_notifications): Rename to...
3895 (test_notifications): ...this.
3896 (test_observer_normal_stop): Rename to...
3897 (test_observer): ...this.
3898
3899 2009-02-16 Doug Evans <dje@google.com>
3900
3901 * gdb.arch/amd64-disp-step.S (test_int3): New test.
3902 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
3903 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
3904 (test_prefixed_syscall,test_int3): New tests.
3905 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
3906 (test_prefixed_syscall,test_int3): New tests.
3907
3908 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
3909
3910 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
3911 (mi_expect_interrupt): Likewise.
3912 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
3913 response.
3914
3915 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
3916
3917 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
3918 * gdb.base/pc-fp.exp (get_valueofx): Remove.
3919 Replace calls to get_valueofx by get_hexadecimal_valueof.
3920
3921 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
3922
3923 * lib/gdb.exp (get_valueof): Accept anything as a return value.
3924 (get_integer_valueof): New procedure.
3925 (get_sizeof): Use new get_integer_value_of.
3926 * gdb.base/sizeof.exp: Replace all uses of get_valueof
3927 by get_integer_valueof.
3928
3929 2009-02-13 Tom Tromey <tromey@redhat.com>
3930
3931 * gdb.base/remote.exp (get_sizeof): Remove.
3932 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
3933 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
3934 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
3935 * lib/gdb.exp (get_valueof): Move from long_long.exp.
3936 (get_sizeof): Likewise.
3937
3938 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3939
3940 PR fortran/9806
3941 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
3942
3943 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3944
3945 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
3946
3947 2009-02-06 Pedro Alves <pedro@codesourcery.com>
3948
3949 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
3950
3951 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
3952
3953 * gdb.python/python-cmd.exp: New file.
3954
3955 2009-02-06 Tristan Gingold <gingold@adacore.com>
3956
3957 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
3958
3959 2009-02-05 Tristan Gingold <gingold@adacore.com>
3960
3961 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
3962 pointer is dereferenced and use this signal name in regexp.
3963 * gdb.base/signull.exp: Ditto.
3964 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
3965 * gdb.base/signull.c (main): Ditto.
3966
3967 2009-02-04 Tom Tromey <tromey@redhat.com>
3968 Thiago Jung Bauermann <bauerman@br.ibm.com>
3969
3970 * gdb.python/python-value.exp: Use `gdb.history' instead of
3971 `gdb.value_from_history'.
3972 (test_value_numeric_ops): Add test for conversion of enum constant.
3973 * gdb.python/python-value.c (enum e): New type.
3974 (evalue): New global.
3975 (main): Use argv.
3976
3977 2009-02-04 Jerome Guitton <guitton@adacore.com>
3978
3979 * gdb.ada/uninitialized_vars: New test program.
3980 * gdb.ada/uninitialized_vars.exp: New testcase.
3981
3982 2009-02-02 Tom Tromey <tromey@redhat.com>
3983
3984 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
3985 * gdb.cp/pr2489.cc: Rename...
3986 * gdb.cp/pr9594.cc: ... to this.
3987
3988 2009-02-02 Tom Tromey <tromey@redhat.com>
3989
3990 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
3991 * gdb.cp/pr2489.cc: New file.
3992 * gdb.cp/cpcompletion.exp: New file.
3993
3994 2009-02-02 Tom Tromey <tromey@redhat.com>
3995
3996 PR exp/9059:
3997 * gdb.cp/call-c.exp: Add regression test.
3998 * gdb.cp/call-c.cc (FooHandle): New typedef.
3999 (main): New variable 'handle'.
4000
4001 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
4002
4003 * lib/mi-support.exp (et_mi_thread_list)
4004 (check_mi_and_console_threads): Adjust for current thread in
4005 -thread-list-ids output.
4006
4007 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
4008
4009 * gdb.mi/mi-break.exp (test_disabled_creation): New.
4010 Call it.
4011
4012 2009-01-28 Doug Evans <dje@google.com>
4013
4014 * gdb.arch/amd64-disp-step.S: New file.
4015 * gdb.arch/amd64-disp-step.exp: New file.
4016 * gdb.arch/i386-disp-step.S: New file.
4017 * gdb.arch/i386-disp-step.exp: New file.
4018
4019 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
4020
4021 * gdb.base/find.exp: Set newline variable
4022 using quotes instead of braces to fix cygwin failures.
4023
4024 2009-01-23 Pedro Alves <pedro@codesourcery.com>
4025
4026 * gdb.base/radix.exp: Add tests to ensure that that set
4027 input-radix 0 and set output-radix 0 are really rejected.
4028
4029 2009-01-23 Pedro Alves <pedro@codesourcery.com>
4030
4031 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
4032 copyright years.
4033
4034 2009-01-23 Pedro Alves <pedro@codesourcery.com>
4035
4036 PR gdb/9664:
4037 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
4038
4039 2009-01-22 Pedro Alves <pedro@codesourcery.com>
4040
4041 PR c++/9631:
4042 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
4043
4044 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
4045
4046 * gdb.server/file-transfer.exp: Use EXEEXT variable for
4047 binfile definition to fix Windows OS failure.
4048
4049 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
4050
4051 PR gdb/9346
4052 * gdb.base/interrupt.c (sigint_handler): New.
4053 (main): Install a SIGINT handler if SIGNALS is defined. Exit
4054 on error.
4055 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
4056 Test "signal SIGINT".
4057
4058 2009-01-19 Doug Evans <dje@google.com>
4059
4060 * gdb.base/break.exp: Update expected gdb output.
4061 * gdb.base/sepdebug.exp: Ditto.
4062 * gdb.mi/mi-syn-frame.exp: Ditto.
4063 * gdb.mi/mi2-syn-frame.exp: Ditto.
4064 * gdb.base/call-signal-resume.exp: New file.
4065 * gdb.base/call-signals.c: New file.
4066 * gdb.base/unwindonsignal.exp: New file.
4067 * gdb.base/unwindonsignal.c: New file.
4068 * gdb.threads/interrupted-hand-call.exp: New file.
4069 * gdb.threads/interrupted-hand-call.c: New file.
4070 * gdb.threads/thread-unwindonsignal.exp: New file.
4071
4072 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
4073
4074 * gdb.base/define.exp: Test defining and hooking prefix commands.
4075 * gdb.python/python.exp: Update test for "show user" output.
4076
4077 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4078
4079 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
4080 now the output exactly, using less wildcards. Expect also the output
4081 of gfortran-4.3. Update for the f-valprint.c modification from
4082 2008-04-22.
4083 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
4084 Remove gdb_test test names where matching the command.
4085
4086 2009-01-01 Pedro Alves <pedro@codesourcery.com>
4087
4088 PR breakpoints/9681:
4089 * gdb.base/watchpoint.exp: Add regression test.
4090
4091 2008-12-31 Pedro Alves <pedro@codesourcery.com>
4092
4093 * gdb.threads/attach-into-signal.exp: Don't use
4094 gdb_suppress_entire_file.
4095 * gdb.threads/attach-stopped.exp: Ditto.
4096 * gdb.threads/attachstop-mt.exp: Ditto.
4097
4098 2008-12-31 Pedro Alves <pedro@codesourcery.com>
4099
4100 PR gdb/8812:
4101 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
4102
4103 2008-12-29 Pedro Alves <pedro@codesourcery.com>
4104
4105 PR gdb/7536:
4106 * gdb.base/radix.exp: Add tests to ensure invalid input radices
4107 and unsupported output radices are really rejected.
4108
4109 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4110
4111 * gdb.cp/punctuator.exp: Backslash the '$' signs.
4112
4113 2008-12-22 Tom Tromey <tromey@redhat.com>
4114
4115 * gdb.cp/punctuator.exp: New file.
4116
4117 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4118
4119 * gdb.base/completion.exp (Completing non-existing component): New test.
4120
4121 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4122
4123 Fix for PR gdb/8648.
4124 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
4125 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
4126 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
4127 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
4128
4129 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4130
4131 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
4132
4133 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
4134
4135 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
4136 compiler actually generate code at the expected line number.
4137
4138 2008-12-15 Jie Zhang <jie.zhang@analog.com>
4139
4140 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
4141
4142 2008-12-12 Tom Tromey <tromey@redhat.com>
4143
4144 * gdb.base/commands.exp (redefine_hook_test): New proc.
4145 Call it.
4146
4147 2008-12-11 Tom Tromey <tromey@redhat.com>
4148
4149 * gdb.base/macscp.exp: New regression test.
4150
4151 2008-12-11 Tom Tromey <tromey@redhat.com>
4152
4153 * gdb.base/macscp.exp: Print "address.addr".
4154 * gdb.base/macscp1.c (struct outer): New struct.
4155 (address): New global.
4156
4157 2008-12-09 Tom Tromey <tromey@redhat.com>
4158
4159 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
4160 Call it.
4161
4162 2008-12-04 Doug Evans <dje@google.com>
4163
4164 * gdb.server/ext-run.exp: Relax regexp for init program.
4165
4166 2008-12-03 Tristan Gingold <gingold@adacore.com>
4167
4168 * gdb.base/macscp.exp: Generate an object file during compilation
4169 to work around Darwin dsymutil limitations.
4170
4171 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4172
4173 Test resolving external references to TLS variables.
4174 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
4175 FILE2_THREAD_LOCAL.
4176 (testfile2, srcfile2): New variables.
4177 * gdb.threads/tls.c (file2_thread_local)
4178 (function_referencing_file2_thread_local): New.
4179 * gdb.threads/tls2.c: New file.
4180
4181 2008-11-28 Joel Brobecker <brobecker@adacore.com>
4182
4183 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
4184 rather than integer, as integer might not be big enough when
4185 on 64bit targets.
4186
4187 2008-11-27 Jerome Guitton <guitton@adacore.com>
4188
4189 * gdb.cp/formatted-ref.exp: Add equality test.
4190 * gdb.ada/formatted_ref.exp: Ditto.
4191
4192 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4193
4194 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
4195 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
4196
4197 2008-11-20 Andreas Schwab <schwab@suse.de>
4198
4199 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
4200 matching syscall entry point.
4201 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
4202 (tcatch_vfork_then_child_follow): Likewise. Finish through
4203 vfork even if we stopped at the syscall trampoline.
4204
4205 2008-11-20 Doug Evans <dje@google.com>
4206
4207 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
4208
4209 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
4210
4211 * gdb.arch/ppc-dfp.exp: New file.
4212 * gdb.arch/ppc-dfp.c: New file.
4213
4214 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4215
4216 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
4217
4218 2008-11-17 Doug Evans <dje@google.com>
4219
4220 * gdb.mi/mi-syn-frame.exp: Update expected output.
4221 * gdb.mi/mi2-syn-frame.exp: Update expected output.
4222
4223 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
4224
4225 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
4226 "thread N" results in =thread-selected.
4227 * lib/mi-support (mi_run_cmd, mi_expect_stop)
4228 (mi_send_resuming_command_raw): Be prepared for
4229 =thread-selected.
4230
4231 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
4232
4233 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
4234 * lib/mi-support.exp: Likewise.
4235
4236 2008-11-16 Joel Brobecker <brobecker@adacore.com>
4237
4238 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
4239 commands from the expected output for "help catch".
4240
4241 2008-11-15 Joel Brobecker <brobecker@adacore.com>
4242
4243 * gdb.ada/int_deref.exp: New testcase.
4244
4245 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
4246
4247 * gdb.mi/gdb2549.exp: New file.
4248
4249 2008-11-11 Doug Evans <dje@google.com>
4250
4251 * gdb.base/callexit.exp: New file.
4252 * gdb.base/callexit.c: New file.
4253
4254 2008-11-10 Doug Evans <dje@google.com>
4255
4256 * lib/gdb.exp (GDBFLAGS): Move -nx ...
4257 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
4258 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
4259 (default_gdb_start,default_gdb_exit): Ditto.
4260 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
4261 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
4262 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
4263 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
4264 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
4265 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
4266
4267 2008-11-03 Andreas Schwab <schwab@suse.de>
4268
4269 * gdb.base/hashline2.exp: Fix typo.
4270 * gdb.base/hashline3.exp: Likewise.
4271
4272 2008-10-30 Tom Tromey <tromey@redhat.com>
4273
4274 * gdb.base/pointers.exp: Add test.
4275 * gdb.base/pointers.c (k, S): New typedefs.
4276 (instance): New global.
4277
4278 2008-10-30 Andreas Schwab <schwab@suse.de>
4279
4280 * gdb.base/args.exp: Add tests for newlines.
4281
4282 2008-10-30 Joel Brobecker <brobecker@adacore.com>
4283
4284 gdb.base/foll-exec.exp: Update the expected output of a couple
4285 of "info breakpoints" tests.
4286
4287 2008-10-28 Tom Tromey <tromey@redhat.com>
4288
4289 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
4290
4291 2008-10-24 Pedro Alves <pedro@codesourcery.com>
4292
4293 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
4294 gdb_start_cmd.
4295 Use runto_main before any test that requires execution.
4296
4297 2008-10-23 Pedro Alves <pedro@codesourcery.com>
4298
4299 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
4300 instead of SIGINT.
4301
4302 2008-10-22 Joel Brobecker <brobecker@adacore.com>
4303
4304 * gdb.base/completion.exp: Update expected output following
4305 the addition of the "info tasks" command.
4306
4307 2008-10-22 Tom Tromey <tromey@redhat.com>
4308
4309 * gdb.base/exprs.exp (test_expr): Add test for string
4310 concatenation.
4311
4312 2008-10-19 Pedro Alves <pedro@codesourcery.com>
4313
4314 * configure.ac: Output gdb.python/Makefile.
4315 * configure: Regenerate.
4316 * gdb.python/Makefile.in: New.
4317
4318 2008-10-16 Joel Brobecker <brobecker@adacore.com>
4319
4320 * gdb.base/foll-fork.exp: Adjust the expected output to match
4321 the new description for fork/vfork catchpoints in the "info
4322 breakpoints" output.
4323
4324 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4325
4326 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
4327
4328 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
4329
4330 * gdb.python/python-value.c: New file.
4331 * gdb.python/python-value.exp: New file.
4332
4333 2008-10-15 Pedro Alves <pedro@codesourcery.com>
4334
4335 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
4336
4337 2008-10-15 Denis Pilat <denis.pilat@st.com>
4338
4339 * gdb.cp/mb-ctor.exp: Fix a typo.
4340
4341 2008-10-09 Tom Tromey <tromey@redhat.com>
4342
4343 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
4344 'fprintf' and 'stderr'.
4345
4346 2008-10-07 Joel Brobecker <brobecker@adacore.com>
4347
4348 * gdb.ada/ref_tick_size.exp: New testcase.
4349
4350 2008-10-06 Doug Evans <dje@google.com>
4351
4352 * gdb.dwarf2/dw2-cu-size.exp: New file.
4353 * gdb.dwarf2/dw2-cu-size.S: New file.
4354
4355 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
4356 .Ltype_int for clarity.
4357
4358 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
4359
4360 PR gdb/2384:
4361 * gdb.cp/gdb2384.exp: Extended to test more cases.
4362 * gdb.cp/gdb2384.cc: Likewise.
4363 * gdb.cp/gdb2384-base.h: Likewise.
4364 * gdb.cp/gdb2384-base.cc: Likewise.
4365
4366 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4367
4368 * gdb.base/maint.exp (maint print type): Remove printing
4369 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
4370
4371 2008-09-30 Tom Tromey <tromey@redhat.com>
4372
4373 * gdb.base/macscp.exp: Add completion tests.
4374 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
4375 (TWENTY_THREE): Likewise.
4376 (FORTY_EIGHT): Likewise.
4377
4378 2008-09-30 Tom Tromey <tromey@redhat.com>
4379
4380 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
4381 everywhere.
4382 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
4383
4384 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4385
4386 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
4387 testcase is derived from. Fix racy dependency on an expected PID
4388 number. No longer support the testcase on Linux kernel 2.4.x.
4389
4390 2008-09-27 Tom Tromey <tromey@redhat.com>
4391
4392 * gdb.base/macscp.exp: Add tests for stringification, splicing,
4393 and varargs.
4394
4395 2008-09-22 Pedro Alves <pedro@codesourcery.com>
4396
4397 * lib/mi-support.exp (mi_expect_interrupt): New.
4398 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
4399 from gdb.mi/mi-nonstop.exp.
4400 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
4401 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
4402 lib/mi-support.exp.
4403 Use mi_check_thread_states throughout. Avoid ".*" and do not
4404 require an anchor after -exec-run.
4405
4406 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
4407
4408 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
4409 stop is pending. Avoid ".*" when two stops are pending.
4410 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
4411 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
4412 newlines in fullnames.
4413 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
4414 (mi_expect_stop): Update comments. Only anchor in sync mode.
4415 Do not match newlines.
4416 (mi_send_resuming_command_raw): Always return status.
4417 (mi_get_stop_line): Do not match more than one line by accident.
4418 Only anchor in sync mode.
4419 (mi_run_inline_test): If -exec-next fails, give up.
4420
4421 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4422
4423 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
4424 on SPU.
4425
4426 2008-09-10 Joel Brobecker <brobecker@adacore.com>
4427
4428 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
4429
4430 2008-09-10 Joel Brobecker <brobecker@adacore.com>
4431
4432 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
4433 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
4434 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
4435 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
4436 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
4437 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
4438 gdb.ada/interface.exp, gdb.ada/null_array.exp,
4439 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
4440 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
4441 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
4442 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
4443 Include the "= " sequence in the expected output of print tests.
4444
4445 2008-09-10 Joel Brobecker <brobecker@adacore.com>
4446
4447 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
4448 description for boolean types.
4449
4450 2008-09-09 Pedro Alves <pedro@codesourcery.com>
4451
4452 * gdb.base/hook-stop-continue.c: New.
4453 * gdb.base/hook-stop-continue.exp: New.
4454
4455 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4456
4457 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
4458
4459 2008-09-08 Jerome Guitton <guitton@adacore.com>
4460
4461 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
4462 (stack_check_probe_2, stack_check_probe_loop_1)
4463 (stack_check_probe_loop_2): New functions.
4464 (main): Add call to these new functions.
4465 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
4466 functions, check that the breakpoint is inserted at the appropriate
4467 location.
4468 (insert_breakpoint): Slightly refine this procedure so that it can
4469 be called several times in the test.
4470
4471 2008-09-08 Jerome Guitton <guitton@adacore.com>
4472
4473 * gdb.base/stack-checking.c: New file.
4474 * gdb.base/stack-checking.exp: New file.
4475
4476 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
4477
4478 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
4479 * gdb.arch/altivec-regs.exp: Likewise.
4480 * gdb.arch/vsx-regs.exp: Likewise.
4481
4482 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
4483
4484 * gdb.arch/ppc-fp.exp: New file.
4485 * gdb.arch/ppc-fp.c: New file.
4486
4487 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4488
4489 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
4490 lest gcc-4.3.1 optimizes the whole thing away.
4491
4492 2008-09-04 Michael Snyder <msnyder@vmware.com>
4493
4494 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
4495 as "at" (for non-debug functions such as _start).
4496
4497 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4498
4499 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
4500 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
4501 software watchpoints.
4502 * gdb.base/watch_thread_num.exp: Likewise.
4503
4504 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
4505
4506 * gdb.arch/i386-bp_permanent.exp: New test.
4507
4508 2008-08-24 Tom Tromey <tromey@redhat.com>
4509
4510 * gdb.base/maint.exp: Update "maint print type".
4511
4512 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
4513
4514 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
4515 support. Adjust the order of "*running" notifications.
4516 * gdb.mi/non-stop.c: Don't cast from int to void* and
4517 back.
4518
4519 2008-08-20 Mark Kettenis <kettenis@gnu.org>
4520
4521 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
4522 expect to find it in the "info frame" output.
4523
4524 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
4525
4526 * gdb.base/interp.exp: Always consume both prompts.
4527
4528 2008-08-20 Pedro Alves <pedro@codesourcery.com>
4529
4530 * gdb.base/pending.exp: Test pending breakpoints without symbols
4531 loaded.
4532
4533 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
4534
4535 * lib/mi-support.exp (mi_expect_stop): Produce
4536 more details on failures.
4537 * gdb.mi/mi-nonstop.exp: New.
4538 * gdb.mi/non-stop.c: New.
4539
4540 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
4541
4542 * gdb.mi/mi-async.exp: Use 'set target-async'.
4543 * lib/mi-support.exp: Use 'set/show target-async'.
4544
4545 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
4546
4547 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
4548
4549 2008-08-17 Tom Tromey <tromey@redhat.com>
4550
4551 * gdb.base/help.exp (help catch): Rewrite.
4552
4553 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
4554
4555 * gdb.base/define.exp: Test indented command documentation.
4556 * gdb.python/python.exp: Test indented multi-line command.
4557
4558 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
4559
4560 * testsuite/gdb.arch/vsx-regs.c: New source file.
4561 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
4562 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
4563
4564 2008-08-14 Tom Tromey <tromey@redhat.com>
4565
4566 * gdb.base/macscp.exp: Add regression test for "macro define" or
4567 "macro undef" with no arguments.
4568
4569 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4570
4571 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
4572
4573 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4574
4575 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
4576
4577 2008-08-06 Tom Tromey <tromey@redhat.com>
4578
4579 * gdb.python/python.exp: New file.
4580
4581 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4582
4583 Fix for PR gdb/1543.
4584 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
4585 $LOCATION.
4586 (location): New variable.
4587 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
4588 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
4589 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
4590 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
4591 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
4592 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
4593 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
4594 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
4595 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
4596 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
4597 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
4598 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
4599 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
4600 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
4601 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4602 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
4603 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
4604 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
4605 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
4606 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4607 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
4608 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
4609 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
4610 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
4611 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
4612 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
4613 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
4614 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
4615 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
4616 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
4617 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
4618 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
4619 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
4620 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
4621 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
4622 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
4623 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
4624 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4625 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
4626 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
4627 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
4628 gdb.base/type-opaque.exp, gdb.base/until.exp,
4629 gdb.base/value-double-free.c, gdb.base/varargs.exp,
4630 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
4631 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
4632 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
4633 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
4634 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
4635 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
4636 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
4637 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
4638 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
4639 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
4640 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
4641 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
4642 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
4643 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
4644 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
4645 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4646 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
4647 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
4648 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
4649 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
4650 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
4651 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
4652 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
4653 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
4654 gdb.pascal/types.exp, gdb.stabs/weird.exp,
4655 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
4656 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
4657 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
4658 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
4659 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
4660 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
4661 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4662 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4663 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4664 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4665 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4666 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4667 lib/mi-support.exp, lib/trace-support.exp: Remove reference
4668 to bug-gdb@prep.ai.mit.edu .
4669
4670 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
4671
4672 * lib/mi-support.exp (mi_load_shlibs): New.
4673 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
4674
4675 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
4676
4677 * lib/mi-support.exp (get_mi_thread_list)
4678 (check_mi_and_console_threads): New, moved from ...
4679 * gdb.mi/mi-pthread.exp: ...here.
4680 * gdb.mi/gdb669.exp (get_mi_thread_list)
4681 (check_mi_and_console_threads): Delete.
4682 * gdb.mi/mi2-pthread.exp: Likewise.
4683
4684 2008-07-28 Tom Tromey <tromey@redhat.com>
4685
4686 * Makefile.in (just-check): Remove. Move body to...
4687 (check): ... here.
4688
4689 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
4690
4691 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
4692 Add a test for duplicated SIGINTs.
4693
4694 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
4695
4696 * gdb.threads/schedlock.exp (get_args): Update to work for any
4697 value of NUM.
4698 (Top level): Report the number of threads that did not resume.
4699
4700 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
4701
4702 * gdb.dwarf2/dw2-compressed.S: Also define __start.
4703
4704 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
4705
4706 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
4707 non-MI prompt.
4708
4709 2008-07-26 Tom Tromey <tromey@redhat.com>
4710
4711 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
4712 (function_struct, function_struct_ptr): New globals.
4713 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
4714 function pointer in a struct.
4715
4716 2008-07-26 Tom Tromey <tromey@redhat.com>
4717
4718 * gdb.base/macscp.exp: Add test for macro lexing bug.
4719
4720 2008-07-18 Tom Tromey <tromey@redhat.com>
4721
4722 * gdb.base/macscp.exp: Add macro tests.
4723
4724 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4725
4726 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
4727
4728 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4729
4730 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
4731
4732 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
4733
4734 * gdb.cp/class2.exp: fix for failure on spu-elf
4735
4736 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4737
4738 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
4739
4740 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4741
4742 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
4743
4744 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
4745
4746 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
4747
4748 2008-07-11 Kevin Buettner <kevinb@redhat.com>
4749
4750 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
4751 of regexp to account for changes made to GDB in the printing of
4752 byte vectors.
4753
4754 2008-07-11 Tom Tromey <tromey@redhat.com>
4755
4756 * gdb.base/completion.exp: Add 'help' completion test.
4757
4758 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4759
4760 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
4761
4762 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4763
4764 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
4765
4766 2008-07-09 Pedro Alves <pedro@codesourcery.com>
4767
4768 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
4769
4770 2008-07-09 Pedro Alves <pedro@codesourcery.com>
4771
4772 * gdb.base/fullname.exp: Restore pwd if compiling failed.
4773
4774 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4775
4776 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
4777
4778 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
4779
4780 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
4781 previous commit. Add a comment.
4782
4783 2008-06-28 Pedro Alves <pedro@codesourcery.com>
4784
4785 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
4786
4787 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
4788
4789 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
4790
4791 2008-06-27 Pedro Alves <pedro@codesourcery.com>
4792
4793 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
4794 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
4795 compiling an executable, link in an object that forces unbuffered
4796 output.
4797 * lib/set_unbuffered_mode.c: New file.
4798
4799 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4800
4801 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
4802
4803 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
4804
4805 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
4806 mi_expect_stop.
4807 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
4808 Demand that *running is output.
4809 (detect_async): Perform checking every time.
4810 (mi_send_resuming_command): Extract everything into...
4811 (mi_send_resuming_command_raw): ...this.
4812 (mi_expect_stop): Don't accept any output before *stopped.
4813
4814 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
4815
4816 Robustify mi-simplerun.
4817 * gdb.mi/basics.c (main): Add a call to sleep.
4818 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
4819 * gdb.mi/mi2-cli.exp: Likewise.
4820 * gdb.mi/mi-break.exp: Likewise.
4821
4822 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
4823
4824 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
4825
4826 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
4827
4828 * gdb.mi/mi-console.exp: Adjust.
4829 * gdb.mi/mi-syn-frame.exp: Adjust.
4830 * gdb.mi/mi2-console.exp: Adjust.
4831 * gdb.mi/mi2-syn-frame.exp: Adjust.
4832 * lib/mi-support.exp (mi_run_cmd): Adjust.
4833 (mi_send_resuming_command): Adjust.
4834
4835 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
4836
4837 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
4838 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
4839 testing of stopped.
4840 * gdb.mi/mi2-syn-frame.exp: Likewise.
4841 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
4842 (async, detect_async): New.
4843 (mi_expect_stop, mi_continue_to_line): Adjust expectation
4844 depending on if we're running in sync or async mode.
4845
4846 2008-06-09 Tom Tromey <tromey@redhat.com>
4847
4848 * gdb.base/completion.exp: New tests for field name completion
4849 with spaces, and field name completion with '->'.
4850
4851 2008-06-06 Tom Tromey <tromey@redhat.com>
4852
4853 * gdb.base/break1.c (struct some_struct): New struct.
4854 (values): New global.
4855 * gdb.base/completion.exp: Add field name completion test.
4856
4857 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4858
4859 * gdb.cp/call-c.exp: Test for incorrect handling of reference
4860 to pointer.
4861 * gdb.cp/call-c.cc: Likewise.
4862
4863 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
4864
4865 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
4866 annotation.
4867
4868 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4869 Pedro Alves <pedro@codesourcery.com>
4870
4871 * gdb.threads/execl.c, gdb.threads/execl1.c,
4872 gdb.threads/execl.exp: New tests.
4873
4874 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
4875 Daniel Jacobowitz <dan@codesourcery.com>
4876
4877 * gdb.cp/exception.exp: Activate test, make it work with pending
4878 catchpoints.
4879
4880 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4881
4882 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
4883
4884 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
4885
4886 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
4887 now printed.
4888 * gdb.mi/mi2-var-cmd.exp: Likewise.
4889
4890 2008-05-27 Andreas Schwab <schwab@suse.de>
4891
4892 * gdb.base/frame-args.exp: Handle arguments that are optimized
4893 out.
4894
4895 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
4896
4897 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
4898 quiet for ppc32 and group options into a single variable.
4899
4900 2008-05-23 Joel Brobecker <brobecker@adacore.com>
4901
4902 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
4903 of zero-size elements.
4904 * gdb.ada/null_array.exp: Test printing this new array.
4905
4906 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4907
4908 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
4909
4910 2008-05-21 Joel Brobecker <brobecker@adacore.com>
4911
4912 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
4913 of the "finish" command.
4914
4915 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
4916
4917 * gdb.base/annota1.exp: Test for new annotation.
4918
4919 2008-05-16 Pedro Alves <pedro@codesourcery.com>
4920
4921 * gdb.base/fixsection.exp: New file.
4922 * gdb.base/fixsection0.c: New file.
4923 * gdb.base/fixsection1.c: New file.
4924
4925 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4926
4927 * gdb.base/annota1.exp: Accept printf@... in place of printf.
4928 * gdb.base/annota3.exp: Likewise.
4929
4930 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
4931
4932 * gdb.base/watch_thread_num.exp: Don't run tests that require
4933 watchpoints if the target doesn't support them.
4934
4935 2008-05-12 Doug Evans <dje@google.com>
4936
4937 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
4938
4939 2008-05-09 Joel Brobecker <brobecker@adacore.com>
4940
4941 * gdb.ada/assign_1.exp: New testcase.
4942
4943 2008-05-09 Doug Evans <dje@google.com>
4944
4945 * gdb.base/find.exp: New file.
4946 * gdb.base/find.c: New file.
4947
4948 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
4949
4950 * gdb.base/commands.exp (watchpoint_command_test): Handle
4951 gdb,no_hardware_watchpoints.
4952 * gdb.base/float.exp: Allow ARM targets without floating point.
4953 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
4954
4955 2008-05-06 Jerome Guitton <guitton@adacore.com>
4956 Joel Brobecker <brobecker@adacore.com>
4957
4958 * gdb.ada/lang_switch: New test program.
4959 * gdb.ada/lang_switch.exp: New testcase.
4960
4961 2008-05-05 Doug Evans <dje@google.com>
4962
4963 * gdb.base/help.exp (disassemble): Update expected help text.
4964
4965 2008-05-04 Pedro Alves <pedro@codesourcery.com>
4966
4967 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
4968
4969 2008-05-04 Pedro Alves <pedro@codesourcery.com>
4970
4971 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
4972 different times.
4973
4974 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4975
4976 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
4977 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
4978 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
4979 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
4980
4981 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
4982
4983 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
4984 notification to appear.
4985
4986 2008-05-04 Daniel Jacobowitz <dan@debian.org>
4987
4988 * gdb.base/fullname.c: New file.
4989 * gdb.base/fullname.exp: New file.
4990 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
4991
4992 2008-05-03 Pedro Alves <pedro@codesourcery.com>
4993
4994 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
4995 expressions with macros.
4996
4997 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4998
4999 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
5000
5001 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
5002
5003 * gdb.base/completion.exp: Handle lack of other symbols beginning
5004 with "a".
5005
5006 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
5007
5008 2008-05-02 Jim Blandy <jimb@codesourcery.com>
5009
5010 * gdb.asm/asmsrc1.s: Add scratch space.
5011
5012 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5013 Daniel Jacobowitz <dan@codesourcery.com>
5014
5015 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
5016 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
5017 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
5018
5019 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
5020
5021 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
5022
5023 2008-05-01 Joel Brobecker <brobecker@adacore.com>
5024
5025 * gdb.base/info-target.exp: New testcase.
5026
5027 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
5028
5029 * gdb.cp/hang.exp: Use .cc instead of .C.
5030 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
5031 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
5032
5033 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
5034
5035 * gdb.base/gdb1250.exp: Remove perror.
5036 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
5037
5038 2008-04-30 Pedro Alves <pedro@codesourcery.com>
5039
5040 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
5041 .2byte.
5042
5043 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
5044
5045 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
5046 (maybe_kfail): New.
5047
5048 2008-04-25 Pedro Alves <pedro@codesourcery.com>
5049
5050 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
5051
5052 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
5053
5054 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
5055 * gdb.mi/mi2-syn-frame.exp: Likewise.
5056 * lib/mi-support.exp: Likewise.
5057
5058 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
5059
5060 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
5061 to specify regexp for the location to stop at.
5062 * gdb.base/break-always.c: New.
5063 * gdb.base/break-always.exp: New.
5064
5065 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
5066
5067 * lib/mi-support.exp (mi_runto_helper): Adjust
5068 for the original-location field.
5069 (mi_create_breakpoint, mi_list_breakpoints): New.
5070 * gdb.mi/mi-break.exp: Adjust.
5071 * gdb.mi/mi2-break.exp: Adjust.
5072 * gdb.mi/mi-pending.exp: Adjust.
5073 * gdb.mi/mi-simplerun.exp: Adjust.
5074 * gdb.mi/mi2-simplerun.exp: Adjust.
5075 * gdb.mi/mi-syn-frame.exp: Adjust.
5076 * gdb.mi/mi2-syn-frame.exp: Adjust.
5077 * gdb.mi/mi-until.exp: Adjust.
5078 * gdb.mi/mi2-until.exp: Adjust.
5079 * gdb.mi/mi-var-display.exp: Adjust.
5080 * gdb.mi/mi2-var-display.exp: Adjust.
5081 * gdb.mi/mi-watch.exp: Adjust.
5082 * gdb.mi/mi2-watch.exp: Adjust.
5083
5084 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
5085
5086 * aclocal.m4: Add override.m4.
5087 * configure: Regenerate.
5088
5089 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
5090
5091 * gdb.mi/var-cmd.c (do_at_tests): Verify that
5092 '-var-update --all-values' reports new value even the type
5093 of a variable object has changed.
5094
5095 2008-04-18 Craig Silverstein <csilvers@google.com>
5096
5097 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
5098 files.
5099
5100 2008-04-18 Joel Brobecker <brobecker@adacore.com>
5101
5102 * gdb.ada/atomic_enum: New test program.
5103 * gdb.ada/atomic_enum.exp: New testcase.
5104
5105 2008-04-17 Doug Evans <dje@google.com>
5106
5107 * gdb.opt/Makefile.in: Fix whitespace.
5108
5109 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
5110
5111 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
5112
5113 2008-04-17 Doug Evans <dje@google.com>
5114
5115 * gdb.base/hashline1.exp: New testcase.
5116 * gdb.base/hashline2.exp: New testcase.
5117 * gdb.base/hashline2.exp: New testcase.
5118
5119 2008-04-17 Pedro Alves <pedro@codesourcery.com>
5120
5121 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
5122
5123 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
5124
5125 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
5126 temporary breakpoint to match "Temporary breakpoint".
5127 * gdb.base/break.exp (delete_breakpoints): Likewise.
5128 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
5129 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
5130 * gdb.base/display.exp: Likewise.
5131 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
5132 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
5133 * gdb.base/restore.exp (restore_tests): Likewise.
5134 * gdb.base/sepdebug.exp: Likewise.
5135 * gdb.base/watchpoint.exp: Likewise.
5136 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
5137 * gdb.mi/mi-pending.exp: Likewise.
5138 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
5139 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
5140 * gdb.mi/mi-var-cmd.exp: Likewise.
5141 * gdb.mi/mi-var-display.exp: Likewise.
5142 * gdb.mi/mi2-cli.exp: Likewise.
5143 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
5144 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
5145 * gdb.mi/mi2-var-display.exp: Likewise.
5146 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
5147 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
5148 new "disp" field.
5149 (mi_expect_stop): Move after_reason argument to be really after
5150 reason. This is to support fix for PR2424.
5151
5152 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5153
5154 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
5155
5156 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
5157
5158 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
5159 field. Add more floating varobj tests.
5160 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
5161 field.
5162 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
5163 (main): Call do_at_tests.
5164 * lib/mi-support.exp (mi_create_floating_varobj)
5165 (mi_varobj_update_with_type_change): New.
5166
5167 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
5168
5169 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
5170 option of -var-evaluate-expression.
5171 * gdb.mi/mi2-var-display.exp: Likewise.
5172
5173 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
5174
5175 Introduce test setup helpers.
5176 * lib/gdb.exp (build_executable, clean_restart)
5177 (prepare_for_testing): New.
5178 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
5179 * gdb.base/return.exp: Likewise.
5180 * gdb.base/ending-run.exp: Likewise.
5181
5182 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
5183
5184 * gdb.mi/mi-async.exp: New test for asynchronous Machine
5185 Interface (MI) responses.
5186
5187 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
5188
5189 * gdb.cp/breakpoint.cc: New code to test conditions involving
5190 member variables.
5191 * gdb.cp/breakpoint.exp: Test condition involving member
5192 variables.
5193
5194 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
5195
5196 * lib/mi-support.exp (mi_expect_stop): New.
5197 (mi_run_cmd): Change the
5198 token. Use mi_send_resuming_command, use
5199 mi_expect_stop.
5200 (mi_execute_to_helper): Rename to mi_execute_to.
5201 (mi_send_resuming_command): Add more error patterns.
5202 (mi_wait_for_stop): Renamed to...
5203 (mi_get_stop_line): ...this.
5204 (mi_run_inline_test): Adjust.
5205
5206 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
5207 * gdb.mi/mi-console.exp: Likewise.
5208 * gdb.mi/mi-pending.exp: Likewise.
5209 * gdb.mi/mi-simplerun.exp: Likewise.
5210 * gdb.mi/mi-stack.exp: Likewise.
5211 * gdb.mi/mi-stepi.exp: Likewise.
5212 * gdb.mi/mi-syn-frame.exp: Add comment.
5213 * gdb.mi/mi-until.exp: Likewise.
5214 * gdb.mi/mi-var-display.exp: Likewise.
5215 * gdb.mi/mi-watch.exp: Likewise.
5216 * gdb.mi/mi2-cli.exp: Likewise.
5217 * gdb.mi/mi2-console.exp: Likewise.
5218 * gdb.mi/mi2-simplerun.exp: Likewise.
5219 * gdb.mi/mi2-stack.exp: Likewise.
5220 * gdb.mi/mi2-stepi.exp: Likewise.
5221 * gdb.mi/mi2-until.exp: Likewise.
5222 * gdb.mi/mi2-var-display.exp: Likewise.
5223 * gdb.mi/mi2-watch.exp: Likewise.
5224
5225 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5226
5227 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
5228
5229 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
5230
5231 2008-04-04 Pedro Alves <pedro@codesourcery.com>
5232
5233 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
5234 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
5235 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
5236 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
5237 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
5238 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
5239 expect an mi error duplicated in stderr.
5240
5241 2008-04-03 Joel Brobecker <brobecker@adacore.com>
5242
5243 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
5244 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
5245 Add a couple of tests that verify the behavior when the new setting
5246 is set to "cancel" and "all".
5247 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
5248 "ask" before we start the testing.
5249
5250 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
5251
5252 * gdb.cp/casts.cc: Add class reference variables.
5253 * gdb.cp/casts.exp: New test cases for up/down casting references.
5254
5255 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
5256
5257 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
5258 instead of beginning to make an extra test pass.
5259 * gdb.mi/mi2-var-display.exp: Likewise.
5260
5261 2008-03-31 Maciej W. Rozycki <macro@mips.com>
5262
5263 * gdb.base/break.exp: Mark failures as such. Fix formatting.
5264
5265 2008-03-31 Markus Deuling <deuling@de.ibm.com>
5266 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5267
5268 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
5269 value. Add xfail for older kernels.
5270
5271 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
5272
5273 Bring mi-support in line with gdb.exp.
5274 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
5275 (mi_gdb_start): New function.
5276
5277 2008-03-28 Maciej W. Rozycki <macro@mips.com>
5278
5279 * gdb.mi/mi-var-cmd.exp: Fix a typo.
5280
5281 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
5282
5283 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
5284 * gdb.mi/mi2-var-display.exp: Likewise.
5285
5286 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
5287
5288 * lib/mi-support.exp (mi_create_varobj_checked): New.
5289 (mi_list_varobj_children): Allow to check for a
5290 value.
5291 (mi_list_array_varobj_children): New.
5292
5293 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
5294 and mi_list_varobj_children, as opposed to hardcoding
5295 expected strings.
5296 * gdb.mi/gdb701.exp: Likewise.
5297 * gdb.mi/gdb792.exp: Likewise.
5298 * gdb.mi/mi-var-block.exp: Likewise.
5299 * gdb.mi/mi-var-cmd.exp: Likewise.
5300 * gdb.mi/mi-var-invalidate.exp: Likewise.
5301 * gdb.mi/mi2-var-block.exp: Likewise.
5302 * gdb.mi/mi2-var-child.exp: Likewise.
5303 * gdb.mi/mi2-var-cmd.exp: Likewise.
5304 * gdb.mi/mi2-var-display.exp: Likewise.
5305
5306 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5307
5308 Fix random false FAILs on i386.
5309 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
5310
5311 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
5312
5313 PR gdb/544
5314 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
5315
5316 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
5317
5318 PR gdb/544
5319 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
5320
5321 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
5322
5323 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
5324 fixed PR gdb/544.
5325
5326 2008-03-21 Pedro Alves <pedro@codesourcery.com>
5327
5328 * gdb.threads/fork-child-threads.exp: Test next over fork.
5329
5330 2008-03-21 Chris Demetriou <cgd@google.com>
5331
5332 * gdb.base/break.exp (rbreak junk): New test for rbreak
5333 "Junk at end of arguments" issue.
5334
5335 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
5336
5337 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
5338 *& to work on created array elements.
5339 (Top level): Test print $pc with a file. Test string operations
5340 without a target.
5341 * gdb.base/ptype.exp: Do not expect *& to work on created array
5342 elements.
5343
5344 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
5345
5346 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5347 gdb.threads/staticthreads.exp: Update exit query.
5348
5349 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
5350
5351 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
5352
5353 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
5354
5355 * gdb.base/watchpoint.c (global_ptr, func4): New.
5356 (main): Call func4.
5357 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
5358 (test_inaccessible_watchpoint): New.
5359
5360 2008-02-29 Maciej W. Rozycki <macro@mips.com>
5361
5362 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
5363 select the largest.
5364
5365 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
5366
5367 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
5368 frames-invalid annotations.
5369
5370 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
5371
5372 * gdb.base/assign.exp: avoid same output for different tests.
5373
5374 2008-02-27 Doug Evans <dje@google.com>
5375
5376 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
5377 for bug 1738.
5378 (breakpoint_to_handler_entry): Ditto.
5379
5380 2008-02-27 Joel Brobecker <brobecker@adacore.com>
5381
5382 * gdb.base/ending-run.exp: Use the first line of code inside
5383 function body to test breakpoints.
5384 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
5385 location where the breakpoint is inserted when using the line
5386 where a function is declared. Fix typo in the description of
5387 one of the tests.
5388 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
5389
5390 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
5391
5392 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
5393 tests.
5394
5395 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
5396
5397 * gdb.base/args.exp: avoid same output for tests
5398 with single quotes.
5399
5400 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
5401
5402 * gdb.base/annota1.exp: Adjust for 'info break'
5403 format changes.
5404 * gdb.base/annota3.exp: Likewise.
5405 * gdb.base/break.exp: Likewise.
5406 * gdb.base/condbreak.exp: Likewise.
5407 * gdb.base/pending.exp: Likewise.
5408 * gdb.base/sepdebug.exp: Likewise.
5409 * gdb.base/unload.exp: Likewise.
5410 * gdb.cp/ovldbreak.exp: Likewise.
5411 * gdb.mi/mi-pending.exp: Likewise.
5412
5413 2008-02-07 Doug Evans <dje@google.com>
5414
5415 * gdb.cp/mb-inline.exp: New.
5416 * gdb.cp/mb-inline.h: New.
5417 * gdb.cp/mb-inline1.cc: New.
5418 * gdb.cp/mb-inline2.cc: New.
5419
5420 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
5421
5422 * gdb.pascal/floats.pas: New test program.
5423 * gdb.pascal/floats.exp: New testcase.
5424
5425 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
5426
5427 * gdb.base/callfuncs.c (t_float_many_args): New function.
5428 (t_double_many_args): New function.
5429 * gdb.base/callfuncs.exp: Add tests for exceeding float
5430 and double parameters passed through the stack.
5431
5432 2008-02-05 Joel Brobecker <brobecker@adacore.com>
5433
5434 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
5435 gdb.ada/complete/foo.adb: New files.
5436 * gdb.ada/complete.exp: New testcase.
5437
5438 2008-02-03 Doug Evans <dje@google.com>
5439
5440 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
5441
5442 * gdb.cp/gdb2384.exp: New file.
5443 * gdb.cp/gdb2384.cc: New file.
5444 * gdb.cp/gdb2384-base.h: New file.
5445 * gdb.cp/gdb2384-base.cc: New file.
5446
5447 2008-02-02 Doug Evans <dje@google.com>
5448
5449 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
5450
5451 2007-02-01 Joel Brobecker <brobecker@adacore.com>
5452
5453 * gdb.ada/sym_print_name: New test program.
5454 * gdb.ada/sym_print_name.exp: New testcase.
5455
5456 2007-02-01 Joel Brobecker <brobecker@adacore.com>
5457
5458 * gdb.ada/nested/hello.adb: New file.
5459 * gdb.ada/nested.exp: New testcase.
5460 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
5461
5462 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
5463
5464 * gdb.mi/basic.c (return_1): New function.
5465 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
5466 don't cause future evaluations of function to report
5467 creation of internal breakpoints.
5468
5469 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
5470
5471 * gdb.mi/mi-break.exp (test_error): New.
5472 Call it.
5473
5474 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
5475
5476 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
5477 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
5478
5479 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
5480
5481 * gdb.pascal/integers.pas: New test program.
5482 * gdb.pascal/integers.exp: New testcase.
5483
5484 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
5485
5486 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
5487
5488 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
5489
5490 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
5491 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
5492
5493 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
5494
5495 * gdb.ada/formatted_ref: New test program.
5496 * gdb.ada/formatted_ref.exp: New testcase.
5497
5498 * gdb.cp/formatted-ref.cc: New file.
5499 * gdb.cp/formatted-ref.exp: New testcase.
5500
5501 2008-01-30 Joel Brobecker <brobecker@adacore.com>
5502
5503 * gdb.base/ptype.exp: Add testing of "ptype $pc".
5504
5505 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
5506
5507 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
5508 (test_file_list_exec_source_file): Update to new macro-info field.
5509
5510 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
5511
5512 * gdb.ada/exprs: New test program.
5513 * gdb.ada/exprs.exp: New testcase.
5514
5515 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5516
5517 * dfp-test.c (DELTA, DELTA_B): New definitions.
5518 (double_val1, double_val2, double_val3, double_val4, double_val5,
5519 double_val6, double_val7, double_val8, double_val9, double_val10,
5520 double_val11, double_val12, double_val13, double_val14, dec32_val1,
5521 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
5522 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
5523 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
5524 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
5525 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
5526 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
5527 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
5528 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
5529 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
5530 dec128_val16): New global variables.
5531 (decimal_dec128_align): New function.
5532 (decimal_mixed): Likewise.
5533 (decimal_many_args_dec32): Likewise.
5534 (decimal_many_args_dec64): Likewise.
5535 (decimal_many_args_dec128): Likewise.
5536 (decimal_many_args_mixed): Likewise.
5537 * dfp-test.exp: Add tests calling new inferior functions.
5538
5539 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
5540
5541 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
5542 gdb.server/ext-run.exp: New files.
5543 * lib/gdbserver-support.exp (gdbserver_download): New.
5544 (gdbserver_start): New. Update gdbserver expected
5545 output.
5546 (gdbserver_spawn): Use them.
5547 (gdbserver_start_extended): New.
5548
5549 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
5550
5551 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
5552 Run on GNU/Linux.
5553 (do_exec_tests): Check for systems which do not support catchpoints.
5554 Do not match START.
5555 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
5556 Run on GNU/Linux. Enable verbose output.
5557 (check_fork_catchpoints): New.
5558 (explicit_fork_child_follow, catch_fork_child_follow)
5559 (tcatch_fork_parent_follow): Update expected messages.
5560 (do_fork_tests): Use check_fork_catchpoints.
5561 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
5562 Run on GNU/Linux. Enable verbose output.
5563 (check_vfork_catchpoints): New.
5564 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
5565 expected messages.
5566 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
5567
5568 2008-01-29 Jim Blandy <jimb@red-bean.com>
5569
5570 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
5571 host' errors.
5572 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
5573
5574 2008-01-29 Jim Blandy <jimb@red-bean.com>
5575
5576 * gdb.threads/sigthread.c: Use barriers to ensure that
5577 child_thread and child_thread_two are always initialized before we
5578 start to use them.
5579
5580 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
5581
5582 * gdb.base/watchpoint-solib.exp: New.
5583 * gdb.base/watchpoint-solib.c: New.
5584 * gdb.base/watchpoint-solib-shr.c: New.
5585
5586 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
5587
5588 * gdb.base/gdb1056.exp: Add unsigned integer test.
5589
5590 2008-01-28 Doug Evans <dje@google.com>
5591
5592 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
5593
5594 2008-01-27 Jim Blandy <jimb@codesourcery.com>
5595
5596 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
5597
5598 * gdb.base/expand-psymtabs.exp: Doc fix.
5599
5600 2008-01-26 Mark Kettenis <kettenis@gnu.org>
5601
5602 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
5603
5604 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
5605
5606 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5607 -var-set-format.
5608
5609 2008-01-23 Chris Demetriou <cgd@google.com>
5610
5611 * gdb.threads/thread_events.c: New testcase source file.
5612 * gdb.threads/thread_events.exp: New testcase expect file.
5613
5614 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
5615
5616 * lib/gdb.exp: Add the variable octal.
5617
5618 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
5619 -var-set-format.
5620
5621 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
5622 Vladimir Prus <vladimir@codesourcery.com>
5623
5624 * gdb.base/float.exp: Allow missing floating point for m68k and
5625 PowerPC.
5626
5627 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
5628
5629 * gdb.mi/basics.c: Setup for testing breakpoints
5630 ignore count.
5631 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
5632 * gdb.mi/mi-cli.exp: Adjust.
5633 * gdb.mi/mi2-cli.exp: Adjust.
5634
5635 2008-01-17 Pedro Alves <pedro@codesourcery.com>
5636
5637 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
5638 and 'dummy_ptr' integer pointer. Initialize struct_declarations
5639 with dummy_ptr's address.
5640 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
5641 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
5642 all targets.
5643 * gdb.mi/mi2-var-child.exp: Likewise.
5644
5645 2008-01-09 Joel Brobecker <brobecker@adacore.com>
5646
5647 * gdb.ada/null_array: New test program.
5648 * gdb.ada/null_array.exp: New testcase.
5649
5650 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
5651
5652 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
5653 with required float modifiers.
5654
5655 2008-01-08 Joel Brobecker <brobecker@adacore.com>
5656
5657 * gdb.ada/funcall_param: New test program.
5658 * gdb.ada/funcall_param.exp: New testcase.
5659
5660 2008-01-08 Joel Brobecker <brobecker@adacore.com>
5661
5662 * gdb.ada/arrayparam: New test program.
5663 * gdb.ada/arrayparam.exp: New testcase.
5664
5665 2008-01-08 Joel Brobecker <brobecker@adacore.com>
5666
5667 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
5668 landed. Should also fix random failures in the test following it.
5669
5670 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
5671
5672 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
5673 for expressions with decimal float values.
5674 (test_dfp_conversions): New function to test casts to and from
5675 decimal float types.
5676 Call test_dfp_conversions.
5677 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
5678 elements.
5679 (main): Initialize ds.float4 and ds.double8 elements.
5680 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
5681 string to new error message.
5682 (d64_set_tests): Likewise.
5683 (d128_set_tests): Likewise.
5684 Add tests for expressions with decimal float variables. Add tests for
5685 conversions to and from decimal float types.
5686
5687 2008-01-05 Joel Brobecker <brobecker@adacore.com>
5688
5689 * gdb.ada/packed_tagged/comp_bug.adb: New file.
5690 * gdb.ada/packed_tagged.exp: New testcase.
5691
5692 2008-01-04 Joel Brobecker <brobecker@adacore.com>
5693
5694 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
5695 gdb.ada/homonym/homonym_main.adb: New files.
5696 * gdb.ada/homonym.exp: New testcase.
5697
5698 2008-01-04 Joel Brobecker <brobecker@adacore.com>
5699
5700 * gdb.ada/packed_array.exp: Add testing of references to
5701 a packed array.
5702
5703 2008-01-04 Joel Brobecker <brobecker@adacore.com>
5704
5705 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
5706 New files.
5707 * gdb.ada/type_coercion.exp: New testcase.
5708
5709 2008-01-04 Joel Brobecker <brobecker@adacore.com>
5710
5711 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
5712 gdb.ada/tagged/foo.adb: New file.
5713 * gdb.ada/tagged.exp: New testcase.
5714
5715 2008-01-04 Joel Brobecker <brobecker@adacore.com>
5716
5717 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
5718 gdb.ada/ptype_field/foo.adb: New files.
5719 * gdb.ada/ptype_field.exp: New testcase.
5720
5721 2008-01-03 Joel Brobecker <brobecker@adacore.com>
5722
5723 * gdb.ada/print_pc.exp: New testcase.
5724
5725 2008-01-03 Joel Brobecker <brobecker@adacore.com>
5726
5727 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
5728 gdb.ada/taft_type/p.adb: New files.
5729 * gdb.ada/taft_type.exp: New testcase.
5730
5731 2008-01-03 Joel Brobecker <brobecker@adacore.com>
5732
5733 * gdb.ada/array_bounds/bar.adb: New file.
5734 * gdb.ada/array_bounds.exp: New testcase.
5735
5736 2008-01-03 Joel Brobecker <brobecker@adacore.com>
5737
5738 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
5739 gdb.ada/arrayptr/foo.adb: New files.
5740 * gdb.ada/arrayptr.exp: New testcase.
5741
5742 2008-01-03 Joel Brobecker <brobecker@adacore.com>
5743
5744 * gdb.base/set-lang-auto.exp: New testcase.
5745
5746 2008-01-03 Joel Brobecker <brobecker@adacore.com>
5747
5748 * gdb.ada/fun_addr/foo.adb: New file.
5749 * gdb.ada/fun_addr.exp: New testcase.
5750
5751 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5752
5753 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
5754 New files
5755
5756 2008-01-02 Joel Brobecker <brobecker@adacore.com>
5757
5758 * array_subscript_addr/p.adb: New file.
5759 * array_subscript_addr.exp: New testcase.
5760
5761 2008-01-02 Joel Brobecker <brobecker@adacore.com>
5762
5763 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
5764 New files.
5765 * gdb.ada/str_cmp_ref.exp: New testcase.
5766
5767 2008-01-01 Joel Brobecker <brobecker@adacore.com>
5768
5769 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
5770 gdb.ada/fun_in_declare/foo.adb: New files.
5771 * gdb.ada/fun_in_declare.exp: New testcase.
5772
5773 2008-01-01 Joel Brobecker <brobecker@adacore.com>
5774
5775 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
5776 gdb.ada/ref_param/pck.ads: New files.
5777 * gdb.ada/ref_param.exp: New testcase.
5778
5779 2008-01-01 Joel Brobecker <brobecker@adacore.com>
5780
5781 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
5782 gdb.ada/interface/foo.adb: New files.
5783 * gdb.ada/interface.exp: New testcase.
5784
5785 2007-12-31 Jim Blandy <jimb@codesourcery.com>
5786
5787 * gdb.base/multi-forks.exp: Consume all output from child
5788 processes before proceeding to next test.
5789
5790 2007-12-29 Jim Blandy <jimb@codesourcery.com>
5791
5792 * configure: Regenerated.
5793
5794 2007-12-27 Joel Brobecker <brobecker@adacore.com>
5795
5796 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
5797 gdb.ada/fixed_cmp/fixed.adb: New files.
5798 * gdb.ada/fixed_cmp.exp: New testcase.
5799
5800 2007-12-27 Joel Brobecker <brobecker@adacore.com>
5801
5802 * gdb.ada/boolean_expr.exp: New testcase.
5803
5804 2007-12-26 Jim Blandy <jimb@codesourcery.com>
5805
5806 * gdb.base/multi-forks.exp: Doc fix.
5807
5808 2007-12-26 Joel Brobecker <brobecker@adacore.com>
5809
5810 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
5811 * gdb.ada/char_param.exp: Do not compile our test program with
5812 -gnata, this is unnecessary.
5813 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
5814
5815 2007-12-24 Joel Brobecker <brobecker@adacore.com>
5816
5817 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
5818 gdb.ada/print_chars/foo.adb: New files.
5819 * gdb.ada/print_chars.exp: New testcase.
5820
5821 2007-12-24 Joel Brobecker <brobecker@adacore.com>
5822
5823 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
5824 gdb.ada/char_param/foo.adb: New files.
5825 * gdb.ada/char_param.exp: New testcase.
5826
5827 2007-12-22 Jim Blandy <jimb@codesourcery.com>
5828
5829 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
5830 hard-coding source line numbers into the test.
5831 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
5832 gdb_get_line_number to find.
5833
5834 2007-12-22 Joel Brobecker <brobecker@adacore.com>
5835
5836 * gdb.base/ptype.c (highest): New struct type.
5837 (the_highest): New variable of that type.
5838 (main): Add dummy assignment to a field of variable the_highest.
5839 * gdb.base/ptype.exp: Test type printing of our new variable.
5840
5841 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
5842
5843 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
5844 and record first explicitly generated thread number.
5845 Use that thread number for thread specific watchpoint test.
5846 Add iteration number to repetitive tests.
5847
5848 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
5849 Jim Blandy <jimb@codesourcery.com>
5850
5851 * gdb.base/expand-psymtabs.c: New testcase
5852 source file.
5853 * gdb.base/expand-psymtabs.exp: New testcase
5854 expect file.
5855
5856 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
5857
5858 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
5859 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
5860
5861 2007-12-17 Joel Brobecker <brobecker@adacore.com>
5862
5863 * gdb.ada/frame_args/foo.adb: New file.
5864 * gdb.ada/frame_args/pck.ads: New file.
5865 * gdb.ada/frame_args/pck.adb: New file.
5866 * gdb.ada/frame_args.exp: New testcase.
5867
5868 2007-12-17 Joel Brobecker <brobecker@adacore.com>
5869
5870 * gdb.base/frame-args.c: New file.
5871 * gdb.base/frame-args.exp: New testcase.
5872
5873 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
5874 Joseph Myers <joseph@codesourcery.com>
5875
5876 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
5877
5878 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
5879
5880 * gdb.mi/mi-pending.exp: New.
5881 * gdb.mi/mi-pending.c: New.
5882 * gdb.mi/mi-pendshr.c: New.
5883
5884 2007-12-06 Jim Blandy <jimb@codesourcery.com>
5885
5886 * gdb.base/default.exp: Update expected output for 'info catch'.
5887
5888 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5889
5890 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
5891 must be set to binary.
5892
5893 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
5894
5895 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
5896
5897 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
5898
5899 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
5900 gdb.mi/mi-file-transfer.exp: New.
5901
5902 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5903
5904 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
5905
5906 2007-11-22 Maciej W. Rozycki <macro@mips.com>
5907
5908 * gdb.trace/backtrace.exp: Fix a typo.
5909 * gdb.trace/circ.exp: Likewise.
5910 * gdb.trace/collection.exp: Likewise.
5911 * gdb.trace/limits.exp: Likewise.
5912 * gdb.trace/report.exp: Likewise.
5913 * gdb.trace/tfind.exp: Likewise.
5914 * gdb.trace/while-dyn.exp: Likewise.
5915
5916 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
5917
5918 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
5919 objects of pointers that can't be dereferenced are now
5920 "noneditable".
5921
5922 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5923
5924 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
5925 (target_cpu): Remove.
5926
5927 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
5928
5929 * gdb.base/ending-run.exp: Expect the list of cleared
5930 breakpoint to come in natural order, not the reversed one.
5931
5932 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
5933
5934 * gdb.mi/mi-var-child.c (do_child_deletion): New.
5935 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
5936
5937 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
5938
5939 * gdb.base/printcmds.exp: New function
5940 test_printf_with_dfp.
5941
5942 2007-11-02 Doug Evans <dje@google.com>
5943
5944 * gdb.disasm/t01_mov.s: Remove carriage returns.
5945 * gdb.disasm/t02_mova.s: Ditto.
5946 * gdb.disasm/t03_add.s: Ditto.
5947 * gdb.disasm/t04_sub.s: Ditto.
5948 * gdb.disasm/t05_cmp.s: Ditto.
5949 * gdb.disasm/t06_ari2.s: Ditto.
5950 * gdb.disasm/t07_ari3.s: Ditto.
5951 * gdb.disasm/t08_or.s: Ditto.
5952 * gdb.disasm/t09_xor.s: Ditto.
5953 * gdb.disasm/t10_and.s: Ditto.
5954 * gdb.disasm/t11_logs.s: Ditto.
5955 * gdb.disasm/t12_bit.s: Ditto.
5956 * gdb.disasm/t13_otr.s: Ditto.
5957
5958 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5959
5960 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
5961
5962 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5963
5964 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
5965 provide DFP support.
5966
5967 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
5968
5969 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
5970 Test "set powerpc vector-abi". Skip auto-detection tests for old
5971 toolchains.
5972
5973 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
5974
5975 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
5976 with [string compare].
5977
5978 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
5979
5980 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
5981 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
5982
5983 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
5984
5985 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
5986 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
5987 * gdb.opt/Makefile.in: New makefile.
5988 * Makefile.in: Create new directory "gdb.opt".
5989 * configure.ac: Add "gdb.opt" directory.
5990 * configure: Regenerated.
5991
5992 2007-10-25 Doug Evans <dje@google.com>
5993
5994 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
5995 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
5996
5997 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
5998 Thiago Jung Bauermann <bauerman@br.ibm.com>
5999
6000 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
6001 Floating Point expressions.
6002 * gdb.base/dfp-test.exp: new file adding tests for Decimal
6003 Floating Point variables.
6004 * gdb.base/dfp-test.c: new file containing program with Decimal
6005 Floating variables, used by gdb.base/dfp-test.exp.
6006
6007 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
6008
6009 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
6010
6011 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6012
6013 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
6014 compiling test case with GCC.
6015 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
6016
6017 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6018
6019 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
6020 format changes.
6021
6022 2007-10-18 Michael Snyder <msnyder@specifix.com>
6023
6024 * gdb.base/dbx.exp: Add missing "-re " operator.
6025
6026 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
6027
6028 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
6029 * configure.ac: Removed trailing spaces after backslash.
6030 * gdb.modula2: New directory.
6031 * gdb.modula2/Makefile.in: New file.
6032 * gdb.modula2/unbounded-array.exp: New file.
6033 * gdb.modula2/unbounded1.c: New file.
6034
6035 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
6036
6037 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
6038
6039 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
6040
6041 * gdb.base/sigstep.c (main): Add checks for
6042 return values for setitimer call.
6043 Call setitimer again with itimer = ITIMER_REAL
6044 if first call to setitimer fails.
6045
6046 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
6047
6048 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
6049 of $timeout.
6050
6051 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
6052
6053 * gdb.server/server-run.exp: Test for dynamic linker symbols.
6054
6055 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
6056
6057 * lib/gdb.exp (gdb_run_cmd): Move comment outside
6058 of gdb_expect call, to avoid interruption.
6059
6060 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
6061
6062 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
6063 (v_unsigned_long_long, v_long_long_array)
6064 (v_signed_long_long_array, v_unsigned_long_long_array)
6065 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
6066 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
6067 [!NO_LONG_LONG]: New.
6068 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
6069 v_long_long_member.
6070
6071 (v_long_long_func, v_signed_long_long_func)
6072 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
6073 (main) [!NO_LONG_LONG]: Initialize long long variants.
6074
6075 * gdb.base/whatis.exp: If board file requests no_long_long, build
6076 test with NO_LONG_LONG defined. Test long long, signed long long,
6077 and unsigned long long variants but only if board file doesn't
6078 disable it.
6079
6080 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
6081 Daniel Jacobowitz <dan@codesourcery.com>
6082
6083 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
6084 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
6085 * configure: Regenerated.
6086 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
6087 gdb.pascal/types.exp, lib/pascal.exp: New files.
6088
6089 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
6090
6091 * gdb.cp/classes.exp (do_tests): Always step to the line after the
6092 call.
6093 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
6094 to return to the call.
6095 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
6096 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
6097 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
6098 * gdb.mi/mi-until.exp (test_until): Likewise.
6099 * gdb.mi/mi2-until.exp (test_until): Likewise.
6100
6101 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
6102
6103 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
6104 two-char array.
6105 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
6106
6107 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
6108
6109 * gdb.threads/watchthreads.c (thread_function): Sleep between
6110 iterations.
6111 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
6112 at once for S/390. Generate matching fails and passes.
6113
6114 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
6115
6116 * gdb.mi/var-cmd.c (do_children_tests): Initialize
6117 the 'struct_declarations' variable to zeros.
6118
6119 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
6120
6121 * gdb.cp/mb-ctor.cc: New.
6122 * gdb.cp/mb-ctor.exp: New.
6123 * gdb.cp/mb-templates.cc: New.
6124 * gdb.cp/mb-templates.exp: New.
6125
6126 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
6127
6128 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
6129
6130 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
6131
6132 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
6133 targets.
6134 * configure: Regenerate.
6135
6136 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
6137
6138 * gdb.base/annota1.exp: Adjust for 'info break'
6139 format changes.
6140 * gdb.base/annota3.exp: Likewise.
6141 * gdb.base/break.exp: Likewise.
6142 * gdb.base/condbreak.exp: Likewise.
6143 * gdb.base/pending.exp: Likewise.
6144 * gdb.base/sepdebug.exp: Likewise.
6145 * gdb.base/unload.exp: Likewise.
6146 * gdb.base/ovldbreak.exp: Likewise.
6147
6148 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
6149
6150 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
6151 messages.
6152 * gdb.base/chng-syms.exp: Likewise.
6153 * gdb.base/unload.exp: Likewise.
6154
6155 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
6156
6157 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
6158
6159 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
6160
6161 * schedlock.c (NUM): Change to 1.
6162 (main): Use args[0] for the main thread.
6163 * schedlock.exp: Only expect two threads. Only issue one pass or fail
6164 regardless of the number of threads.
6165
6166 2007-09-14 Maciej W. Rozycki <macro@mips.com>
6167
6168 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
6169 type down.
6170 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
6171 test.
6172 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
6173 watchpoint type down.
6174 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
6175 test.
6176
6177 2007-09-14 Maciej W. Rozycki <macro@mips.com>
6178
6179 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
6180 Move all the tests here and run them twice, once using software
6181 watchpoints and once using hardware watchpoints.
6182 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
6183
6184 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
6185
6186 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
6187 test.
6188
6189 2007-09-10 Mark Kettenis <kettenis@gnu.org>
6190
6191 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
6192 build-id.
6193
6194 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
6195 know about $ORIGIN. Calculate output dir from $dest instead of
6196 using ${objdir}/{$subdir}.
6197
6198 2007-09-09 Mark Kettenis <kettenis@gnu.org>
6199
6200 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
6201 gcore, before continuing with the test.
6202
6203 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
6204
6205 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
6206 * gdb.mi/mi-watch.exp: Likewise.
6207
6208 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
6209 Jim Blandy <jimb@codesourcery.com>
6210
6211 * gdb.arch/i386-sse.exp: Do not expect character constants.
6212 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
6213 * gdb.base/display.exp: Allow print/s.
6214 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
6215 and unsigned char array changes.
6216
6217 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
6218
6219 * gdb.base/display.exp: Add tests for printf %p.
6220
6221 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
6222
6223 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
6224 the dll name to unicode.
6225
6226 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6227
6228 * gdb.base/default.exp (show version): Update the version text.
6229 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
6230
6231 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6232
6233 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
6234 New files.
6235
6236 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6237
6238 * lib/gdb.exp (build_id_debug_filename_get): New function.
6239 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
6240 Remove the generate DEBUG file for the future testcase runs.
6241 New testcase for the NT_GNU_BUILD_ID retrieval.
6242 Move the final testing step to ...
6243 (test_different_dir): ... a new function.
6244 New parameter XFAIL to XFAIL all the tests performed.
6245 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
6246 New parameter TYPE to PF_PREFIX all the tests performed.
6247
6248 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
6249
6250 * gdb.mi/mi-var-cp.cc (path_expression): New
6251 function.
6252 * gdb.mi/mi-var-cp.exp: Run path exression tests.
6253
6254 2007-08-27 Markus Deuling <deuling@de.ibm.com>
6255
6256 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
6257 to fit into SPU Local Store memory.
6258
6259 2007-08-23 Joel Brobecker <brobecker@adacore.com>
6260
6261 * gdb.base/default.exp: Adjust the expected output of "info
6262 warranty" after the switch to GPLv3.
6263
6264 2007-08-23 Joel Brobecker <brobecker@adacore.com>
6265
6266 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
6267 to 30000 (from 20000).
6268
6269 2007-08-23 Joel Brobecker <brobecker@adacore.com>
6270
6271 Switch the license of all .exp files to GPLv3.
6272 Switch the license of all .f and .f90 files to GPLv3.
6273 Switch the license of all .s and .S files to GPLv3.
6274
6275 2007-08-23 Joel Brobecker <brobecker@adacore.com>
6276
6277 * configure.ac: Switch license to GPLv3.
6278
6279 2007-08-23 Joel Brobecker <brobecker@adacore.com>
6280
6281 Switch the licensing to GPLv3 for all .ads and .adb files.
6282
6283 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
6284
6285 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
6286 and t_int_double.
6287 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
6288
6289 2007-08-17 Joel Brobecker <brobecker@adacore.com>
6290
6291 * gdb.base/step-line.c: Switch license to GPL version 3, and
6292 update copyright year.
6293 * gdb.base/step-line.inp: Likewise.
6294
6295 2007-08-17 Joel Brobecker <brobecker@adacore.com>
6296
6297 * gdb.base/gdb1555.exp: Make expected output immune to formatting
6298 changes inside gdb1555.c.
6299 * gdb.base/pending.exp: Likewise.
6300
6301 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
6302
6303 * config/default.exp: New file.
6304
6305 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
6306
6307 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
6308 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
6309
6310 2007-07-30 Maciej W. Rozycki <macro@mips.com>
6311
6312 * gdb.base/dump.exp: Force the correct endianness for binary
6313 formats not carrying this information.
6314
6315 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6316
6317 * gdb.threads/staticthreads.exp: Match .*sem_post.
6318
6319 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6320
6321 * gdb.base/readline.exp (operate_and_get_next): Match the final
6322 prompt.
6323
6324 2007-07-23 Kevin Buettner <kevinb@redhat.com>
6325
6326 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
6327 to restarting SID.
6328
6329 2007-07-18 Kevin Buettner <kevinb@redhat.com>
6330
6331 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
6332 prior to `gdb_start'.
6333
6334 2007-07-18 Kevin Buettner <kevinb@redhat.com>
6335
6336 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
6337 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
6338 Remove call to gdb_unload.
6339
6340 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
6341 Daniel Jacobowitz <dan@codesourcery.com>
6342
6343 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
6344 for __WIN32__.
6345 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
6346 * gdb.base/unload.exp: Use shared library test routines.
6347
6348 2007-07-03 Markus Deuling <deuling@de.ibm.com>
6349
6350 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
6351 * gdb.base/solib-symbol-lib.c: Likewise.
6352 * gdb.base/solib-symbol-main.c: Likewise.
6353
6354 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
6355
6356 * config/gdbserver.exp (gdb_reconnect): New.
6357 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
6358 gdb.base/solib-disc.exp: New files.
6359 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
6360 remote debugging".
6361 (gdb_compile): Add shlib_load flag.
6362 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
6363 port.
6364 (gdbserver_reconnect): New.
6365
6366 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
6367 Daniel Jacobowitz <dan@codesourcery.com>
6368
6369 * gdb.base/annota3.exp: Test for if construct.
6370
6371 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
6372
6373 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
6374
6375 2007-06-21 Chris Dearman <chris@mips.com>
6376 Maciej W. Rozycki <macro@mips.com>
6377
6378 * gdb.base/display.exp: Allow a newline after display/i.
6379 * gdb.base/pc-fp.exp: Likewise.
6380 * gdb.base/sigbpt.exp: Likewise.
6381
6382 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
6383
6384 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
6385 required features to be included.
6386
6387 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
6388
6389 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
6390 in info threads output.
6391
6392 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6393 Markus Deuling <deuling@de.ibm.com>
6394
6395 * gdb.arch/spu-info.exp: New testcase.
6396 * gdb.arch/spu-info.c: New file.
6397
6398 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
6399
6400 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
6401 tpcs_offset. Restore lr after the call.
6402 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
6403
6404 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
6405
6406 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
6407 (gdbserver_run): Kill any running gdbserver.
6408 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
6409
6410 2007-05-17 Maciej W. Rozycki <macro@mips.com>
6411
6412 * gdb.base/sigbpt.exp: Preset segv_addr.
6413
6414 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
6415
6416 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
6417 (gdb_compile_shlib): Likewise.
6418 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
6419 (default_gdb_init): Clear cleanfiles.
6420 (gdb_finish): Delete recorded cleanfiles.
6421 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
6422
6423 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
6424 Do not use isnative.
6425 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
6426 gdb.base/so-impl-ld.exp: Likewise.
6427 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
6428 * gdb.base/unload.exp: Likewise. Do not pass empty option to
6429 gdb_compile.
6430
6431 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
6432
6433 * config/unknown.exp: Remove.
6434
6435 2007-05-15 Markus Deuling <deuling@de.ibm.com>
6436
6437 * gdb.base/info-proc.exp: Check is_remote.
6438
6439 2007-05-14 Markus Deuling <deuling@de.ibm.com>
6440
6441 * gdb.base/gcore.exp: Initialize variable core_supported.
6442
6443 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
6444
6445 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
6446
6447 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
6448
6449 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
6450 * gdb.threads/print-threads.exp (test_all_threads): Allow
6451 negative and hexadecimal thread IDs.
6452
6453 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
6454
6455 * gdb.java/jprint.java (public): Avoid invalid call to static
6456 method.
6457
6458 2007-05-14 Denis Pilat <denis.pilat@st.com>
6459
6460 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
6461 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
6462 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
6463 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
6464 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
6465
6466 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6467
6468 * gdb.base/overlays.exp: Add support for targets with only code
6469 overlay support, not data overlay. Support spu-*-* target in
6470 this mode.
6471 * gdb.base/ovlymgr.c: Provide stubs for spu target.
6472 * gdb.base/spu.ld: New file.
6473
6474 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
6475
6476 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
6477
6478 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
6479
6480 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
6481
6482 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
6483
6484 * gdb.java/jmain.exp: Handle demangled names with and without method
6485 signatures.
6486
6487 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
6488
6489 * gdb.mi/mi-syn-frame.c (main, foo, bar)
6490 (have_a_very_merry_interrupt): Remove calls to puts.
6491 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
6492 inferior output.
6493 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
6494 test names.
6495
6496 2007-04-29 Markus Deuling <deuling@de.ibm.com>
6497 Daniel Jacobowitz <dan@codesourcery.com>
6498
6499 * gdb.base/auxv.exp (core_works): Also check is_remote.
6500 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
6501
6502 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
6503
6504 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
6505 message, not the undefined 'module' variable.
6506 * gdb.base/siginfo.exp: Likewise.
6507 * gdb.base/sigstep.exp: Likewise.
6508 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
6509 serialport.
6510 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
6511
6512 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
6513
6514 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
6515 target sim fails. Return 0 otherwise.
6516 (gdb_load): Return prematurely if gdb_target_sim fails.
6517
6518 2007-04-16 Denis Pilat <denis.pilat@st.com>
6519
6520 * gdb.base/setshow.exp: Reset height after having set it to 100.
6521
6522 2007-04-16 Denis Pilat <denis.pilat@st.com>
6523
6524 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
6525
6526 2007-04-16 Denis Pilat <denis.pilat@st.com>
6527
6528 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
6529
6530 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
6531
6532 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
6533 tests. Run the frozen varobjs test.
6534 * gdb.mi/var-cmd.c (do_frozen_tests): New.
6535 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
6536
6537 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6538
6539 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
6540 gdb.base/type-opaque.exp: New files.
6541
6542 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
6543
6544 * gdb.mi/mi-var-child.c
6545 (do_children_tests): User char[2] instead of
6546 char so that automatic printing of pointers to char
6547 don't give unpredicable result.
6548 * gdb.mi/var-cmd.c (do_locals_test): Initialize
6549 local variables.
6550 * gdb.mi/mi-var-child.exp: Step to right line
6551 of do_children_tests.
6552 * gdb.mi/mi2-var-child.exp: Likewise.
6553 * gdb.mi/mi-var-cmd.exp: Step to right line of
6554 do_locals_tests.
6555 (do_children_tests): User char[2] instead of
6556 char so that automatic printing of pointers to char
6557 don't give unpredicable result.
6558 * gdb.mi/mi2-var-cmd.exp: Likewise.
6559 * lib/mi-support.exp (mi_continue_to_line):
6560 Pass test name to mi_wait_for_stop.
6561
6562 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
6563
6564 * gdb.asm/asm-source.exp: Remove d10v case.
6565 * lib/gdb.exp (skip_cplus_tests): Likewise.
6566 * gdb.asm/d10v.inc: Deleted.
6567
6568 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
6569
6570 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
6571
6572 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
6573
6574 * config/netware.exp: Delete file.
6575
6576 2007-03-29 Joel Brobecker <brobecker@adacore.com>
6577
6578 * gdb.dwarf2/dw2-noloc.S: New file.
6579 * gdb.dwarf2/dw2-noloc.exp: New file.
6580
6581 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
6582
6583 * gdb.cp/method2.cc: New test.
6584 * gdb.cp/method2.exp: New test.
6585 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
6586
6587 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
6588
6589 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
6590
6591 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
6592
6593 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
6594
6595 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
6596
6597 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
6598 (gdb_load): Delete, replace with...
6599 (gdb_reload): ...this.
6600 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
6601 * gdb.server/server-mon.exp: Likewise.
6602 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
6603 (gdb_start_cmd): New.
6604 (gdb_file_cmd): Save the last loaded file.
6605 (gdb_reload): New.
6606 (gdb_gnu_strip_debug): Use transform.
6607 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
6608 support here. Use new $last_loaded_file. Check mtime.
6609 (gdb_target_cmd): Handle ObjC failure case.
6610 (infer_host_exec): Delete.
6611 (gdbserver_load): Rename to...
6612 (gdbserver_run): ...this. Simplify.
6613 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
6614 (mi_gdb_load): Move most contents to a new function...
6615 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
6616 (mi_run_cmd): Use mi_gdb_target_load.
6617 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
6618 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
6619 Use gdb_run_cmd.
6620 * gdb.base/charsign.exp: Remove incorrect comment.
6621 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
6622 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
6623 gdb.base/start.exp: Use gdb_start_cmd.
6624
6625 2007-03-23 Nigel Stephens <nigel@mips.com>
6626 Maciej W. Rozycki <macro@mips.com>
6627
6628 * gdb.base/sigbpt.exp: Fix the message when skipping test.
6629 * gdb.base/signull.exp: Similarly.
6630
6631 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6632
6633 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
6634 messages available to test cases (like chng-sym.exp).
6635
6636 2007-03-14 Andreas Schwab <schwab@suse.de>
6637
6638 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
6639 format changes.
6640
6641 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
6642
6643 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
6644 (optimized_1): New.
6645 (main): Call optimized_1.
6646 (gdb2029): Correct typos. Call gdb2029_marker.
6647 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
6648 for gdb2029.
6649
6650 2007-03-12 Mark Kettenis <kettenis@gnu.org>
6651
6652 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
6653 as tabs. Remove redundant test pattern.
6654
6655 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6656
6657 * gdb.base/long_long.exp: Accept optional symbol name in <...>
6658 for /a format output.
6659
6660 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
6661
6662 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
6663 collect output incrementally.
6664
6665 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6666
6667 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
6668 for -var-create lpcharacter test.
6669 * gdb.mi/mi2-var-cmd.exp: Likewise.
6670
6671 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6672
6673 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
6674 pass on targets where address zero is readable.
6675
6676 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6677
6678 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
6679 just a single architecture.
6680
6681 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6682
6683 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
6684 (fetch_all_registers): New function, uses gdb_test_multiple and
6685 exp_continue to fetch inferior output line-by-line.
6686 Replace all uses of do_get_all_registers by fetch_all_registers.
6687
6688 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6689
6690 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
6691 in target_info.
6692
6693 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
6694
6695 * gdb.threads/manythreads.exp: Use $message string for
6696 consistancy; add a default (timeout) case.
6697
6698 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
6699
6700 * gdb.base/watchpoint.exp: Fix truncated comment.
6701
6702 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
6703
6704 * Makefile.in: Remove spurious single-quotes from sed command.
6705
6706 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
6707
6708 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
6709 func.
6710 * gdb.mi/mi2-var-cmd.exp: Likewise.
6711
6712 2007-02-27 Joel Brobecker <brobecker@adacore.com>
6713
6714 * gdb.dwarf2/dw2-producer.S: New file.
6715 * gdb.dwarf2/dw2-producer.exp: New testcase.
6716
6717 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
6718
6719 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
6720 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
6721 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
6722 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
6723 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
6724 Revert tests to use mi_gdb_test and include value field in output
6725 of -var-create.
6726
6727 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
6728
6729 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
6730
6731 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
6732
6733 * gdb.base/maint.exp: Remove full paths from test names.
6734 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
6735 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
6736
6737 2007-02-27 Joel Brobecker <brobecker@adacore.com>
6738
6739 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
6740
6741 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
6742
6743 * gdb.server/server-mon.exp: New test.
6744
6745 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
6746
6747 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
6748
6749 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
6750
6751 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
6752 register capitalization.
6753
6754 2007-02-13 Denis Pilat <denis.pilat@st.com>
6755
6756 * gdb.mi/mi-var-invalidate.exp: New file.
6757
6758 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
6759
6760 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
6761
6762 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
6763
6764 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
6765
6766 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
6767
6768 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
6769 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
6770
6771 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
6772
6773 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
6774 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
6775 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
6776 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
6777 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
6778 * gdb.mi/gdb792.exp, lib/mi-support.exp:
6779 Update tests to include value field in output of -var-create.
6780
6781 2007-02-08 Andreas Schwab <schwab@suse.de>
6782
6783 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
6784
6785 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
6786
6787 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
6788 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
6789
6790 2007-02-02 Denis Pilat <denis.pilat@st.com>
6791
6792 * gdb.threads/threadapply.exp: check that frame is not changed by
6793 the thread apply all command.
6794
6795 2007-01-31 Andreas Schwab <schwab@suse.de>
6796
6797 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
6798
6799 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
6800 in the dwarf sections.
6801 * gdb.dwarf2/mac-fileno.S: Likewise.
6802
6803 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
6804 bspstore register on ia64.
6805
6806 2007-01-29 Andreas Schwab <schwab@suse.de>
6807
6808 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
6809 "frame-begin" annotation.
6810
6811 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
6812 number of "frames-invalid" annotations.
6813
6814 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
6815
6816 * gdb.base/commands.exp: Call if_commands_test.
6817 (gdb_test_no_prompt, if_commands_test): New.
6818
6819 2007-01-28 Mark Kettenis <kettenis@gnu.org>
6820
6821 * gdb.threads/sigthread.c (NSIGS): Make bigger.
6822
6823 2007-01-27 Andreas Schwab <schwab@suse.de>
6824
6825 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
6826 .short/.int/.quad in the dwarf sections.
6827 * gdb.dwarf2/dw2-intercu.S: Likewise.
6828 * gdb.dwarf2/dw2-intermix.S: Likewise.
6829
6830 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6831
6832 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
6833 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
6834 array.
6835 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
6836 * gdb.base/setvar.exp: Likewise.
6837
6838 2007-01-26 Andreas Schwab <schwab@suse.de>
6839
6840 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
6841 test.
6842
6843 * gdb.base/multi-forks.exp ("restart $i"): Also match
6844 __kernel_syscall_via_break.
6845
6846 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
6847
6848 * lib/mi-support.exp (mi_delete_varobj): New.
6849 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
6850 testcase.
6851 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
6852 (main): Call the above.
6853 (reference_update_test, base_in_reference_test)
6854 (reference_to_pointer): Delete the created varobjs.
6855
6856 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
6857
6858 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
6859 * configure: Regenerated.
6860 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
6861 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
6862 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
6863 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
6864 * lib/gdb.exp (gdb_skip_xml_test): New function.
6865
6866 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
6867
6868 * gdb.base/sigrepeat.exp: Correct error message.
6869
6870 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6871 Daniel Jacobowitz <dan@codesourcery.com>
6872
6873 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
6874 gdb.arch/i386-gnu-cfi-asm.S: New files.
6875
6876 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6877
6878 * lib/gdb.exp: Abort on missing `site.exp'.
6879
6880 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6881 Daniel Jacobowitz <dan@codesourcery.com>
6882
6883 * gdb.base/included.c, gdb.base/included.exp,
6884 gdb.base/included.h: New files.
6885
6886 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6887
6888 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
6889 (maximize_rlimit): Reduce limits on 64-bit systems.
6890
6891 2007-01-19 Mark Kettenis <kettenis@gnu.org>
6892
6893 From Marcus Deuling <deuling@de.ibm.com>:
6894 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
6895 every case.
6896
6897 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
6898
6899 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
6900 (test_path_specification): Use objdir instead of srcdir to always
6901 get an absolute filename.
6902
6903 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
6904
6905 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
6906
6907 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
6908
6909 * gdb.mi/mi-var-cp.cc (reference_update_tests):
6910 Make sure the variable we're using is in scope.
6911 (reference_to_pointer): Likewise.
6912
6913 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
6914
6915 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
6916 has no debug information.
6917
6918 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
6919
6920 * gdb.base/annota1.exp: Remove extra send_gdb.
6921
6922 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6923
6924 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
6925
6926 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6927
6928 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
6929
6930 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
6931 Daniel Jacobowitz <dan@codesourcery.com>
6932
6933 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
6934 lcharacter or linteger change. Correct duplicated test name.
6935 * gdb.mi/mi2-var-cmd.exp: Likewise.
6936
6937 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
6938
6939 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
6940
6941 2007-01-05 Joel Brobecker <brobecker@adacore.com>
6942
6943 * gdb.base/nofield.c: New file.
6944 * gdb.base/nofield.exp: New testcase.
6945
6946 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
6947
6948 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
6949
6950 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
6951 test.
6952
6953 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
6954
6955 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
6956
6957 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
6958
6959 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
6960 when continuing.
6961
6962 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
6963
6964 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
6965 Expect ".exe" extension.
6966
6967 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
6968
6969 * gdb.base/charset.exp: Add explicit filename to break.
6970 * gdb.base/dbx.exp: Add explicit filename to breaks.
6971
6972 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
6973
6974 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
6975 * gdb.mi/mi2-file.exp: Likewise.
6976
6977 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
6978
6979 Implement specification of MI tests as comments
6980 in C and C++ sources.
6981 * lib/mi-support.exp (mi_autotest_data): New variable.
6982 (mi_autotest_source): New variable.
6983 (count_newlines, mi_prepare_inline_tests)
6984 (mi_get_inline_test, mi_continue_to_line)
6985 (mi_run_inline_test, mi_tbreak)
6986 (mi_send_resuming_command, mi_wait_for_stop): New functions.
6987 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
6988 Run inline tests.
6989 * gdb.mi/mi-var-cp.cc: Define tests here.
6990
6991 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
6992
6993 Simplify usage of mi_continue_to.
6994 * lib/mi-support.exp (mi_runto_helper): Renamed
6995 from mi_runto, added new parameter 'run_or_continue'.
6996 (mi_runto): Use mi_runto_helper.
6997 (mi_continue_to): Accept just function name as parameter.
6998 Use mi_runto_helper.
6999 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
7000 * gdb.mi/mi2-var-cmd.exp: Likewise.
7001
7002 2006-01-04 Joel Brobecker <brobecker@adacore.com>
7003
7004 Make this testcase a bit more realistic. The current code
7005 is too simplistic, and allows the compiler to optimize out
7006 some of the entities we need for this testcase.
7007 * gdb.ada/null_record/bar.ads (Void_Star): New type.
7008 (Do_Nothing): Add extra parameter.
7009 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
7010 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
7011 by using a variable of type Void_Star.
7012
7013 2006-01-04 Joel Brobecker <brobecker@adacore.com>
7014
7015 * gdb.ada/catch_ex/foo.adb: New file.
7016 * gdb.ada/catch_ex.exp: New testcase.
7017
7018 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
7019
7020 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
7021 pass --image-base to linker.
7022
7023 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7024 Daniel Jacobowitz <dan@codesourcery.com>
7025
7026 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
7027 secondary prompts.
7028
7029 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
7030
7031 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
7032 output. Test the types of members and member pointers.
7033 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
7034 gdb/2092.
7035 * gdb.cp/member-ptr.exp: Search for a comment instead of a
7036 statement. Enable for GCC. Update expected output for some tests
7037 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
7038 layout.
7039 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
7040 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
7041 (Diamond::vget_base): New.
7042 (main): Add new tests.
7043 * gdb.cp/printmethod.exp: Update expected output for member functions.
7044 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
7045 print pEe->D::vg().
7046
7047 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
7048
7049 * gdb.threads/tls.exp: Allow stops in sem_post.
7050
7051 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
7052
7053 * gdb.base/annota1.exp: Allow .*printf in backtraces.
7054 * gdb.base/annota3.exp: Likewise.
7055 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
7056 again (instead of timing out).
7057 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
7058 GCC bug 26475.
7059 * gdb.java/jmisc.exp: Adjust to work with method signatures including
7060 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
7061 test from jmisc1.exp.
7062 * gdb.java/jmisc1.exp: Delete.
7063 * gdb.java/jprint.exp: Adjust to work with method signatures including
7064 return types.
7065 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
7066 * gdb.threads/linux-dp.exp: Don't be confused by program output.
7067 * lib/java.exp (compile_java_from_source): Pass the correct type
7068 to target_compile.
7069
7070 2006-12-31 Joel Brobecker <brobecker@adacore.com>
7071
7072 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
7073 (stack_align_edx): New function.
7074 (stack_align_eax): New function.
7075 (main): Add calls to stack_align_edx and stack_align_eax.
7076 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
7077 Add testing for the cases where the register used during a stack
7078 realignment is edx. Same for eax.
7079
7080 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
7081
7082 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
7083 and generic PE targets.
7084
7085 2006-12-29 Joel Brobecker <brobecker@adacore.com>
7086
7087 * gdb.ada/array_return.exp: Update copyright date list.
7088
7089 2006-12-27 Joel Brobecker <brobecker@adacore.com>
7090
7091 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
7092 (Create_Small_Float_Vector): New function.
7093 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
7094 function body.
7095 * gdb.ada/array_return/p.adb: Use new type and function from
7096 package Pck.
7097 * gdb.ada/array_return.exp: Add a test verifying that GDB is
7098 able to print the value returned by a function returning an
7099 array of float.
7100
7101 2006-12-20 Joel Brobecker <brobecker@adacore.com>
7102
7103 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
7104 The associated tests should be PASSing.
7105
7106 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
7107
7108 Test for base in references.
7109 * gdb.mi/mi-var-cp.cc: Add test code.
7110 * gdb.mi/mi-var-cp.exp: Test for bases in references.
7111 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
7112 * gdb.mi/mi2-watch.exp: Likewise.
7113 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
7114 (mi_list_varobj_children): New function.
7115
7116 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
7117
7118 * lib/mi-support.exp
7119 (mi_runto): Accept "()" after function name.
7120 (mi_create_varobj): New function.
7121 (mi_varobj_update): New function.
7122 (mi_Check_varobj_value): New function.
7123 * gdb.mi/mi-var-cp.exp: New file.
7124 * gdb.mi/mi-var-cp.cc: New file.
7125
7126 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
7127
7128 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
7129 gdb.base/weaklib2.c: New files.
7130
7131 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
7132
7133 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
7134 info. Adjust test names.
7135
7136 * gdb.base/break.c (main): Move position of malloc.
7137 * gdb.base/break.exp: Revert mistaken checkin.
7138
7139 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
7140
7141 * gdb.mi/mi-var-cmd.exp: Check -var-update after
7142 assignement of arrays and function pointers.
7143 * gdb.mi/var-cmd.c: Add declaration necessary for above
7144 tests.
7145
7146 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
7147
7148 * gdb.base/break.c (main): Call malloc.
7149
7150 * gdb.threads/linux-dp.exp: Read thread table before and after
7151 creating each philosopher and verify it.
7152
7153 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
7154 Paul Brook <paul@codesourcery.com>
7155 Daniel Jacobowitz <dan@codesourcery.com>
7156
7157 * gdb.base/ending-run.exp: Flatten expect script stepping out of
7158 main to remove duplication. Add start function of the form
7159 '_*start[1-9]*'. Add RVDS start function.
7160
7161 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
7162
7163 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
7164
7165 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7166
7167 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
7168 * gdb.asm/spu.inc: New file.
7169 * gdb.base/term.exp: Disable if [target_info exists noargs].
7170 * gdb.gdb/complaints.exp: Disable if ![isnative].
7171 * gdb.gdb/selftest.exp: Likewise.
7172 * gdb.gdb/observer.exp: Likewise.
7173 * gdb.gdb/xfullpath.exp: Likewise.
7174 * gdb.base/attach.exp: Disable on SPU target.
7175 * gdb.cp/bs145503.exp: Likewise.
7176 * gdb.cp/exception.exp: Likewise.
7177 * gdb.cp/userdef.exp: Likewise.
7178
7179 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
7180
7181 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
7182
7183 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
7184
7185 * gdb.base/completion.exp: Fix completion tests for
7186 'info' and 'info '.
7187 * gdb.base/help.exp (help_test_raw, test_class_help)
7188 (test_prefix_command_help): Move...
7189 * lib/gdb.exp: Here.
7190 * gdb.base/main.exp: Adjust.
7191 * gdb.cp/maint.exp: Adjust.
7192 * gdb.trace/tracecmd.exp: Use test_help_class.
7193
7194 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
7195
7196 * gdb.stabs/weird.exp (print_weird_var): Use
7197 gdb_test_multiple instead of gdb_expect.
7198
7199 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
7200
7201 * gdb.base/help.exp (help_test_raw): New.
7202 (test_class_help): New.
7203 (test_prefix_command_help): New.
7204 Adjust testcases.
7205
7206 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
7207
7208 * gdb.base/constvars.c (main): Write to crass and crips, so that
7209 they are allocated by the compiler.
7210
7211 2006-10-27 Andreas Schwab <schwab@suse.de>
7212
7213 * gdb.base/multi-forks.exp: Use "detach fork" instead of
7214 "detach-fork".
7215
7216 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
7217
7218 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
7219 of patterns.
7220
7221 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
7222
7223 * gdb.base/sepdebug.exp: Remove debug format test.
7224 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
7225 Handle no-symtab.
7226 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
7227
7228 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
7229
7230 * gdb.threads/manythreads.c (thread_function, main): Don't cast
7231 int to pointer or pointer to int.
7232 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
7233
7234 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
7235
7236 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
7237
7238 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7239
7240 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
7241
7242 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
7243
7244 PR c++/2116
7245 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
7246
7247 2006-10-06 Joel Brobecker <brobecker@adacore.com>
7248
7249 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
7250 the corresponding bug has been fixed in GDB (PR/2018).
7251
7252 2006-10-06 Joel Brobecker <brobecker@adacore.com>
7253
7254 * gdb.base/subst.exp: New testcase.
7255
7256 2006-10-06 Joel Brobecker <brobecker@adacore.com>
7257
7258 * gdb.ada/array_return/pck.ads: Add copyright notice.
7259 * gdb.ada/array_return/pck.adb: Likewise.
7260 * gdb.ada/array_return/p.adb: Likewise.
7261 * gdb.ada/exec_changed/first.adb: Likewise.
7262 * gdb.ada/exec_changed/second.adb: Likewise.
7263
7264 2006-10-06 Joel Brobecker <brobecker@adacore.com>
7265
7266 * gdb.ada/watch_arg/watch.adb: New file.
7267 * gdb.ada/watch_arg.exp: New testcase.
7268
7269 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
7270
7271 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
7272 via string_to_regexp.
7273 * gdb.mi/mi2-basics.exp: Likewise.
7274
7275 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7276
7277 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
7278 Remove unused / obsolete files.
7279
7280 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
7281
7282 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
7283
7284 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
7285
7286 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
7287 HIGH_FRAME argument to -stack-list-arguments can be larger than
7288 the number of frames.
7289
7290 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
7291
7292 * gdb.base/args.c (main): Add breakpoint marker.
7293 * gdb.base/args.exp: Use args_test for tests. Add new tests which
7294 really test empty arguments.
7295 (args_load): Delete.
7296 (args_test): New.
7297
7298 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
7299
7300 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
7301 check for one file.
7302
7303 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
7304
7305 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
7306 HIGH_FRAME argument to -stack-list-locals can be larger than
7307 the number of frames.
7308
7309 2006-08-18 Fred Fish <fnf@specifix.com>
7310
7311 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
7312 '$' in front of skip_vmx_tests_saved when setting that.
7313
7314 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
7315
7316 * gdb.base/trace-commands.exp: New file.
7317
7318 2006-08-10 Joel Brobecker <brobecker@adacore.com>
7319 Daniel Jacobowitz <dan@codesourcery.com>
7320
7321 * gdb.base/step-bt.exp: Make hexadecimal address optional in
7322 expected output of the backtrace commands.
7323
7324 2006-08-09 Joel Brobecker <brobecker@adacore.com>
7325
7326 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
7327 untested followed by return combination.
7328 * gdb.arch/altivec-regs.exp: Likewise.
7329 * gdb.arch/e500-abi.exp: Likewise.
7330 * gdb.arch/e500-regs.exp: Likewise.
7331 * gdb.arch/gdb1291.exp: Likewise.
7332 * gdb.arch/gdb1431.exp: Likewise.
7333 * gdb.arch/gdb1558.exp: Likewise.
7334 * gdb.arch/i386-prologue.exp: Likewise.
7335 * gdb.arch/i386-unwind.exp: Likewise.
7336 * gdb.asm/asm-source.exp: Likewise.
7337 * gdb.base/a2-run.exp: Likewise.
7338 * gdb.base/advance.exp: Likewise.
7339 * gdb.base/all-bin.exp: Likewise.
7340 * gdb.base/annota1.exp: Likewise.
7341 * gdb.base/annota3.exp: Likewise.
7342 * gdb.base/args.exp: Likewise.
7343 * gdb.base/arithmet.exp: Likewise.
7344 * gdb.base/assign.exp: Likewise.
7345 * gdb.base/async.exp: Likewise.
7346 * gdb.base/attach.exp: Likewise.
7347 * gdb.base/bang.exp: Likewise.
7348 * gdb.base/bigcore.exp: Likewise.
7349 * gdb.base/bitfields.exp: Likewise.
7350 * gdb.base/bitfields2.exp: Likewise.
7351 * gdb.base/break.exp: Likewise.
7352 * gdb.base/call-sc.exp: Likewise.
7353 * gdb.base/call-strs.exp: Likewise.
7354 * gdb.base/callfuncs.exp: Likewise.
7355 * gdb.base/checkpoint.exp: Likewise.
7356 * gdb.base/chng-syms.exp: Likewise.
7357 * gdb.base/code-expr.exp: Likewise.
7358 * gdb.base/commands.exp: Likewise.
7359 * gdb.base/completion.exp: Likewise.
7360 * gdb.base/cond-expr.exp: Likewise.
7361 * gdb.base/condbreak.exp: Likewise.
7362 * gdb.base/consecutive.exp: Likewise.
7363 * gdb.base/constvars.exp: Likewise.
7364 * gdb.base/corefile.exp: Likewise.
7365 * gdb.base/cvexpr.exp: Likewise.
7366 * gdb.base/dbx.exp: Likewise.
7367 * gdb.base/define.exp: Likewise.
7368 * gdb.base/detach.exp: Likewise.
7369 * gdb.base/display.exp: Likewise.
7370 * gdb.base/dump.exp: Likewise.
7371 * gdb.base/ena-dis-br.exp: Likewise.
7372 * gdb.base/ending-run.exp: Likewise.
7373 * gdb.base/environ.exp: Likewise.
7374 * gdb.base/eval-skip.exp: Likewise.
7375 * gdb.base/exprs.exp: Likewise.
7376 * gdb.base/fileio.exp: Likewise.
7377 * gdb.base/finish.exp: Likewise.
7378 * gdb.base/float.exp: Likewise.
7379 * gdb.base/foll-exec.exp: Likewise.
7380 * gdb.base/foll-fork.exp: Likewise.
7381 * gdb.base/foll-vfork.exp: Likewise.
7382 * gdb.base/freebpcmd.exp: Likewise.
7383 * gdb.base/funcargs.exp: Likewise.
7384 * gdb.base/gcore.exp: Likewise.
7385 * gdb.base/gdb1090.exp: Likewise.
7386 * gdb.base/gdb1250.exp: Likewise.
7387 * gdb.base/huge.exp: Likewise.
7388 * gdb.base/info-proc.exp: Likewise.
7389 * gdb.base/interrupt.exp: Likewise.
7390 * gdb.base/jump.exp: Likewise.
7391 * gdb.base/langs.exp: Likewise.
7392 * gdb.base/lineinc.exp: Likewise.
7393 * gdb.base/list.exp: Likewise.
7394 * gdb.base/logical.exp: Likewise.
7395 * gdb.base/long_long.exp: Likewise.
7396 * gdb.base/macscp.exp: Likewise.
7397 * gdb.base/maint.exp: Likewise.
7398 * gdb.base/mips_pro.exp: Likewise.
7399 * gdb.base/miscexprs.exp: Likewise.
7400 * gdb.base/multi-forks.exp: Likewise.
7401 * gdb.base/opaque.exp: Likewise.
7402 * gdb.base/overlays.exp: Likewise.
7403 * gdb.base/pc-fp.exp: Likewise.
7404 * gdb.base/pointers.exp: Likewise.
7405 * gdb.base/printcmds.exp: Likewise.
7406 * gdb.base/psymtab.exp: Likewise.
7407 * gdb.base/ptype.exp: Likewise.
7408 * gdb.base/recurse.exp: Likewise.
7409 * gdb.base/relational.exp: Likewise.
7410 * gdb.base/relocate.exp: Likewise.
7411 * gdb.base/remote.exp: Likewise.
7412 * gdb.base/reread.exp: Likewise.
7413 * gdb.base/restore.exp: Likewise.
7414 * gdb.base/return.exp: Likewise.
7415 * gdb.base/return2.exp: Likewise.
7416 * gdb.base/scope.exp: Likewise.
7417 * gdb.base/sect-cmd.exp: Likewise.
7418 * gdb.base/sep.exp: Likewise.
7419 * gdb.base/sepdebug.exp: Likewise.
7420 * gdb.base/setshow.exp: Likewise.
7421 * gdb.base/setvar.exp: Likewise.
7422 * gdb.base/sigall.exp: Likewise.
7423 * gdb.base/sigbpt.exp: Likewise.
7424 * gdb.base/signals.exp: Likewise.
7425 * gdb.base/signull.exp: Likewise.
7426 * gdb.base/sizeof.exp: Likewise.
7427 * gdb.base/solib.exp: Likewise.
7428 * gdb.base/step-line.exp: Likewise.
7429 * gdb.base/step-test.exp: Likewise.
7430 * gdb.base/structs.exp: Likewise.
7431 * gdb.base/structs2.exp: Likewise.
7432 * gdb.base/term.exp: Likewise.
7433 * gdb.base/twice.exp: Likewise.
7434 * gdb.base/until.exp: Likewise.
7435 * gdb.base/varargs.exp: Likewise.
7436 * gdb.base/volatile.exp: Likewise.
7437 * gdb.base/watchpoint.exp: Likewise.
7438 * gdb.base/whatis-exp.exp: Likewise.
7439 * gdb.base/whatis.exp: Likewise.
7440 * gdb.cp/ambiguous.exp: Likewise.
7441 * gdb.cp/annota2.exp: Likewise.
7442 * gdb.cp/annota3.exp: Likewise.
7443 * gdb.cp/bool.exp: Likewise.
7444 * gdb.cp/breakpoint.exp: Likewise.
7445 * gdb.cp/casts.exp: Likewise.
7446 * gdb.cp/class2.exp: Likewise.
7447 * gdb.cp/classes.exp: Likewise.
7448 * gdb.cp/cplusfuncs.exp: Likewise.
7449 * gdb.cp/ctti.exp: Likewise.
7450 * gdb.cp/derivation.exp: Likewise.
7451 * gdb.cp/exception.exp: Likewise.
7452 * gdb.cp/gdb1355.exp: Likewise.
7453 * gdb.cp/hang.exp: Likewise.
7454 * gdb.cp/inherit.exp: Likewise.
7455 * gdb.cp/local.exp: Likewise.
7456 * gdb.cp/m-data.exp: Likewise.
7457 * gdb.cp/m-static.exp: Likewise.
7458 * gdb.cp/member-ptr.exp: Likewise.
7459 * gdb.cp/method.exp: Likewise.
7460 * gdb.cp/misc.exp: Likewise.
7461 * gdb.cp/namespace.exp: Likewise.
7462 * gdb.cp/overload.exp: Likewise.
7463 * gdb.cp/ovldbreak.exp: Likewise.
7464 * gdb.cp/pr-1023.exp: Likewise.
7465 * gdb.cp/pr-1210.exp: Likewise.
7466 * gdb.cp/pr-574.exp: Likewise.
7467 * gdb.cp/printmethod.exp: Likewise.
7468 * gdb.cp/psmang.exp: Likewise.
7469 * gdb.cp/ref-params.exp: Likewise.
7470 * gdb.cp/ref-types.exp: Likewise.
7471 * gdb.cp/rtti.exp: Likewise.
7472 * gdb.cp/templates.exp: Likewise.
7473 * gdb.cp/try_catch.exp: Likewise.
7474 * gdb.cp/userdef.exp: Likewise.
7475 * gdb.cp/virtfunc.exp: Likewise.
7476 * gdb.disasm/am33.exp: Likewise.
7477 * gdb.disasm/h8300s.exp: Likewise.
7478 * gdb.disasm/mn10300.exp: Likewise.
7479 * gdb.disasm/sh3.exp: Likewise.
7480 * gdb.disasm/t01_mov.exp: Likewise.
7481 * gdb.disasm/t02_mova.exp: Likewise.
7482 * gdb.disasm/t03_add.exp: Likewise.
7483 * gdb.disasm/t04_sub.exp: Likewise.
7484 * gdb.disasm/t05_cmp.exp: Likewise.
7485 * gdb.disasm/t06_ari2.exp: Likewise.
7486 * gdb.disasm/t07_ari3.exp: Likewise.
7487 * gdb.disasm/t08_or.exp: Likewise.
7488 * gdb.disasm/t09_xor.exp: Likewise.
7489 * gdb.disasm/t10_and.exp: Likewise.
7490 * gdb.disasm/t11_logs.exp: Likewise.
7491 * gdb.disasm/t12_bit.exp: Likewise.
7492 * gdb.disasm/t13_otr.exp: Likewise.
7493 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
7494 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
7495 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
7496 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
7497 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
7498 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
7499 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
7500 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
7501 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
7502 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
7503 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
7504 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
7505 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
7506 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
7507 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
7508 * gdb.mi/gdb701.exp: Likewise.
7509 * gdb.mi/gdb792.exp: Likewise.
7510 * gdb.mi/mi-basics.exp: Likewise.
7511 * gdb.mi/mi-break.exp: Likewise.
7512 * gdb.mi/mi-cli.exp: Likewise.
7513 * gdb.mi/mi-console.exp: Likewise.
7514 * gdb.mi/mi-disassemble.exp: Likewise.
7515 * gdb.mi/mi-eval.exp: Likewise.
7516 * gdb.mi/mi-file.exp: Likewise.
7517 * gdb.mi/mi-read-memory.exp: Likewise.
7518 * gdb.mi/mi-regs.exp: Likewise.
7519 * gdb.mi/mi-return.exp: Likewise.
7520 * gdb.mi/mi-simplerun.exp: Likewise.
7521 * gdb.mi/mi-stack.exp: Likewise.
7522 * gdb.mi/mi-stepi.exp: Likewise.
7523 * gdb.mi/mi-syn-frame.exp: Likewise.
7524 * gdb.mi/mi-until.exp: Likewise.
7525 * gdb.mi/mi-var-block.exp: Likewise.
7526 * gdb.mi/mi-var-child.exp: Likewise.
7527 * gdb.mi/mi-var-cmd.exp: Likewise.
7528 * gdb.mi/mi-var-display.exp: Likewise.
7529 * gdb.mi/mi-watch.exp: Likewise.
7530 * gdb.mi/mi2-basics.exp: Likewise.
7531 * gdb.mi/mi2-break.exp: Likewise.
7532 * gdb.mi/mi2-cli.exp: Likewise.
7533 * gdb.mi/mi2-console.exp: Likewise.
7534 * gdb.mi/mi2-disassemble.exp: Likewise.
7535 * gdb.mi/mi2-eval.exp: Likewise.
7536 * gdb.mi/mi2-file.exp: Likewise.
7537 * gdb.mi/mi2-read-memory.exp: Likewise.
7538 * gdb.mi/mi2-regs.exp: Likewise.
7539 * gdb.mi/mi2-return.exp: Likewise.
7540 * gdb.mi/mi2-simplerun.exp: Likewise.
7541 * gdb.mi/mi2-stack.exp: Likewise.
7542 * gdb.mi/mi2-stepi.exp: Likewise.
7543 * gdb.mi/mi2-syn-frame.exp: Likewise.
7544 * gdb.mi/mi2-until.exp: Likewise.
7545 * gdb.mi/mi2-var-block.exp: Likewise.
7546 * gdb.mi/mi2-var-child.exp: Likewise.
7547 * gdb.mi/mi2-var-cmd.exp: Likewise.
7548 * gdb.mi/mi2-var-display.exp: Likewise.
7549 * gdb.mi/mi2-watch.exp: Likewise.
7550 * gdb.stabs/exclfwd.exp: Likewise.
7551 * gdb.stabs/weird.exp: Likewise.
7552 * gdb.threads/gcore-thread.exp: Likewise.
7553 * gdb.trace/actions.exp: Likewise.
7554 * gdb.trace/backtrace.exp: Likewise.
7555 * gdb.trace/circ.exp: Likewise.
7556 * gdb.trace/collection.exp: Likewise.
7557 * gdb.trace/deltrace.exp: Likewise.
7558 * gdb.trace/infotrace.exp: Likewise.
7559 * gdb.trace/limits.exp: Likewise.
7560 * gdb.trace/packetlen.exp: Likewise.
7561 * gdb.trace/passc-dyn.exp: Likewise.
7562 * gdb.trace/passcount.exp: Likewise.
7563 * gdb.trace/report.exp: Likewise.
7564 * gdb.trace/save-trace.exp: Likewise.
7565 * gdb.trace/tfind.exp: Likewise.
7566 * gdb.trace/tracecmd.exp: Likewise.
7567 * gdb.trace/while-dyn.exp: Likewise.
7568 * gdb.trace/while-stepping.exp: Likewise.
7569
7570 2006-08-08 Joel Brobecker <brobecker@adacore.com>
7571
7572 * gdb.base/step-bt.c: New file.
7573 * gdb.base/step-bt.exp: New testcase.
7574
7575 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
7576
7577 * config/monitor.exp (gdb_load): Remove support for obsolete
7578 download-write-size.
7579 * gdb.base/remote.exp: Likewise. Update all callers of
7580 gdb_timed_load.
7581
7582 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
7583
7584 * cursal.exp: Pass binfile to gdb_load.
7585
7586 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
7587
7588 * gdb.base/cursal.exp: Add "" to gdb_load call.
7589
7590 2006-07-29 Mark Kettenis <kettenis@gnu.org>
7591
7592 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
7593 NetBSD/ELF targets.
7594
7595 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
7596
7597 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
7598 operator*.
7599
7600 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
7601
7602 * gdb.base/completion.exp: Update for change in "file" behavior.
7603 * gdb.stabs/weird.exp: Likewise.
7604 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
7605 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
7606
7607 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
7608
7609 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
7610 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
7611
7612 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
7613
7614 * gdb.base/default.exp: Update source command error message.
7615 * gdb.base/help.exp: Update 'help source' message.
7616
7617 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
7618
7619 * gdb.cp/bs15503.exp: Update comment for no longer crashing
7620 test.
7621
7622 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
7623
7624 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
7625
7626 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
7627
7628 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
7629
7630 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
7631
7632 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
7633
7634 2006-07-17 Mark Kettenis <kettenis@gnu.org>
7635
7636 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
7637 *-*-openbsd* from targets for wich we expect ARM FPA floating
7638 point format.
7639
7640 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
7641
7642 * gdb.cp/annota3.exp: Expect frame-begin annotation.
7643
7644 2006-07-17 Mark Kettenis <kettenis@gnu.org>
7645
7646 * gdb.base/annota3.exp: Expect frame-begin annotation.
7647
7648 2006-07-14 Joel Brobecker <brobecker@adacore.com>
7649
7650 * gdb.base/help.exp: Adjust "help unset" test to accept
7651 any list of unset commands.
7652
7653 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
7654 Daniel Jacobowitz <dan@codesourcery.com>
7655
7656 * gdb.cp/ref-params.exp: New test.
7657 * gdb.cp/ref-params.cc: New source file.
7658 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
7659
7660 2006-07-08 Mark Kettenis <kettenis@gnu.org>
7661
7662 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
7663 spaces/tabs in regular expressions since they might not be there.
7664
7665 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
7666
7667 * gdb.base/ifelse.exp: New file.
7668
7669 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
7670
7671 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
7672 line.
7673 * gdb.base/huge.exp: Loop over compilation to find a size that
7674 is acceptable.
7675 * gdb.base/remote.exp: Correct expected strings.
7676 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
7677
7678 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
7679
7680 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
7681
7682 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
7683
7684 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
7685 native.
7686
7687 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
7688
7689 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
7690 enable stabs testing.
7691
7692 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
7693
7694 * gdb.base/auxv.exp: Intercept undefined command messages before
7695 gdb_test_multiple does.
7696
7697 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
7698
7699 * Makefile.in (host_alias): Remove.
7700 (target_alias): Use @target_noncanonical@.
7701 (site.exp): Don't set host_alias.
7702 * aclocal.m4: Remove contents. Include acx.m4.
7703 * configure: Regenerated.
7704 * configure.ac: Use ACX_NONCANONICAL_TARGET.
7705
7706 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
7707
7708 * lib/gdb.exp (gdb_load_cmd): New.
7709
7710 * gdb.base/fileio.c: Add system(NULL) test.
7711 * gdb.base/fileio.exp: Check it.
7712
7713 * gdb.base/break.c: Add 10a breakpoint at }
7714 * gdb.base/break.exp: Add test for breakpoint at }
7715 * gdb.cp/anon-union.cc: Add code at end of function.
7716 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
7717 * gdb.mi/var-cmd.c: Add code at end of function.
7718 * gdb.mi/mi-var-display.exp: Adjust end of next.
7719 * gdb.mi/mi2-var-display.exp: Likewise.
7720 * gdb.base/fileio.c: Add stop function and insert calls at
7721 stopping places.
7722 * gdb.base/fileio.exp: Breakpoint stop function and remove
7723 explicit line number references.
7724
7725 2006-05-19 Joel Brobecker <brobecker@adacore.com>
7726
7727 * gdb.base/del.exp (test_delete_alias): New function.
7728 Now check that both "del" and "d" work as aliases for "delete".
7729
7730 2006-05-18 Fred Fish <fnf@specifix.com>
7731
7732 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
7733 required. Check for spurious output after program exits normally.
7734
7735 2006-05-17 Fred Fish <fnf@specifix.com>
7736
7737 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
7738 gdb_load, so it works in the simulator.
7739
7740 2006-05-11 Fred Fish <fnf@specifix.com>
7741
7742 * gdb.base/bang.exp: Ignore unexpected output between the
7743 "program exited normally" and the gdb prompt, as many other
7744 tests do.
7745
7746 2006-05-07 Mark Kettenis <kettenis@gnu.org>
7747
7748 * gdb.base/help.exp: Make "delete checkpoint" part option for
7749 "help d" and "help delete" tests.
7750
7751 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7752
7753 * gdb.mi/mi-basics.exp: Add missing serial number to
7754 expected output in some mi_gdb_test statements.
7755 * gdb.mi/mi2-basics.exp: Likewise.
7756
7757 2006-05-05 Joel Brobecker <brobecker@adacore.com>
7758
7759 * gdb.base/del.c: New file.
7760 * gdb.base/del.exp: New testcase.
7761
7762 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
7763
7764 * gdb.base/break.exp: Do not assume a breakpoint on
7765 main will actually be in $srcfile when optimizing.
7766 * gdb.base/savedregs.exp: Do not require that the dummy
7767 frame location match up to a symbol and source file location.
7768 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
7769 will get printed without a mi_cmd_data_list_register_values prefix.
7770 (*-data-list-register-*): Correct regular expressions to expect the new
7771 pseudo d? floating point registers.
7772 * gdb.mi/mi2-regs.exp: Likewise.
7773
7774 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
7775
7776 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
7777 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
7778 is allocated by the compiler.
7779 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
7780 anons, e, anone to force their allocation by the compiler.
7781
7782 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
7783
7784 * gdb.base/help.exp: Update expected text for help d and
7785 help delete.
7786
7787 2006-05-02 Mark Kettenis <kettenis@gnu.org>
7788
7789 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
7790 NetBSD/ELF targets.
7791
7792 2006-04-30 Mark Kettenis <kettenis@gnu.org>
7793
7794 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
7795 single-step breakpoint fails; make this a KFAIL on
7796 sparc*-*-openbsd*.
7797 * gdb.base/siginfo.exp: Likewise.
7798 * gdb.base/sigstep.exp (advance, advancei): Likewise.
7799
7800 2006-04-26 Michael Snyder <msnyder@redhat.com>
7801
7802 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
7803 which may have to consume output from other forks.
7804 Add tests to make sure that "delete fork" succeeded.
7805
7806 2006-04-20 Michael Snyder <msnyder@redhat.com>
7807
7808 * 2006-03-22 Jim Blandy <jimb@redhat.com>
7809 Add support for the Renesas M32C and M16C.
7810
7811 * gdb.asm/asm-source.exp: Add m32c target.
7812 * gdb.asm/m32c.inc: Support for m32c target.
7813
7814 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
7815
7816 * gdb.base/commands.exp (recursive_source_test): New test.
7817
7818 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
7819
7820 * gdb.base/float.exp: Add pattern for sparc targets.
7821
7822 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
7823
7824 * gdb.base/commands.exp (stray_arg0_test): New test.
7825
7826 2006-03-30 Paul Brook <paul@codesourcery.com>
7827
7828 * gdb.mi/mi-until.exp: kfail broken until command.
7829 * gdb.mi/mi2-until.exp: Ditto.
7830
7831 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
7832
7833 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
7834
7835 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
7836
7837 * gdb.base/prelink.exp: Anchor tested-for regular expression
7838 on gdb prompt.
7839
7840 2006-03-07 Paul Brook <paul@codesourcery.com>
7841
7842 * gdb.base/assign.exp: Correct fail message.
7843
7844 2006-03-07 Paul Brook <paul@codesourcery.com>
7845
7846 * lib/compiler.c: Extract armcc version number.
7847 * lib/compiler.cc: Ditto.
7848
7849 2006-03-07 Paul Brook <paul@codesourcery.com>
7850
7851 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
7852 additional_flags=-w.
7853 * gdb.arch/altivec-regs.exp: Ditto.
7854 * gdb.arch/e500-abi.exp: Ditto.
7855 * gdb.arch/e500-regs.exp: Ditto.
7856 * gdb.base/all-bin.exp: Ditto.
7857 * gdb.base/annota1.exp: Ditto.
7858 * gdb.base/annota3.exp: Ditto.
7859 * gdb.base/args.exp: Ditto.
7860 * gdb.base/arithmet.exp: Ditto.
7861 * gdb.base/assign.exp: Ditto.
7862 * gdb.base/async.exp: Ditto.
7863 * gdb.base/bang.exp: Ditto.
7864 * gdb.base/break.exp: Ditto.
7865 * gdb.base/call-rt-st.exp: Ditto.
7866 * gdb.base/completion.exp: Ditto.
7867 * gdb.base/cond-expr.exp: Ditto.
7868 * gdb.base/condbreak.exp: Ditto.
7869 * gdb.base/consecutive.exp: Ditto.
7870 * gdb.base/define.exp: Ditto.
7871 * gdb.base/display.exp: Ditto.
7872 * gdb.base/ena-dis-br.exp: Ditto.
7873 * gdb.base/environ.exp: Ditto.
7874 * gdb.base/eval-skip.exp: Ditto.
7875 * gdb.base/info-proc.exp: Ditto.
7876 * gdb.base/jump.exp: Ditto.
7877 * gdb.base/logical.exp: Ditto.
7878 * gdb.base/long_long.exp: Ditto.
7879 * gdb.base/maint.exp: Ditto.
7880 * gdb.base/miscexprs.exp: Ditto.
7881 * gdb.base/pc-fp.exp: Ditto.
7882 * gdb.base/pointers.exp: Ditto.
7883 * gdb.base/relational.exp: Ditto.
7884 * gdb.base/reread.exp: Ditto.
7885 * gdb.base/sect-cmd.exp: Ditto.
7886 * gdb.base/sep.exp: Ditto.
7887 * gdb.base/sepdebug.exp: Ditto.
7888 * gdb.base/until.exp: Ditto.
7889 * gdb.base/whatis-exp.exp: Ditto.
7890 * gdb.cp/annota2.exp: Ditto.
7891 * gdb.cp/annota3.exp: Ditto.
7892 * gdb.trace/actions.exp: Ditto.
7893 * gdb.trace/backtrace.exp: Ditto.
7894 * gdb.trace/circ.exp: Ditto.
7895 * gdb.trace/collection.exp: Ditto.
7896 * gdb.trace/deltrace.exp: Ditto.
7897 * gdb.trace/infotrace.exp: Ditto.
7898 * gdb.trace/limits.exp: Ditto.
7899 * gdb.trace/packetlen.exp: Ditto.
7900 * gdb.trace/passc-dyn.exp: Ditto.
7901 * gdb.trace/passcount.exp: Ditto.
7902 * gdb.trace/report.exp: Ditto.
7903 * gdb.trace/save-trace.exp: Ditto.
7904 * gdb.trace/tfind.exp: Ditto.
7905 * gdb.trace/tracecmd.exp: Ditto.
7906 * gdb.trace/while-dyn.exp: Ditto.
7907 * gdb.trace/while-stepping.exp: Ditto.
7908 * lib/gdb.exp: Ditto.
7909 (gdb_compile): Handle nowarning option.
7910
7911 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
7912
7913 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
7914 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
7915 Rename executable to prelinkt. Don't re-prelink if we didn't
7916 get a core file. Test prelink -u exit status to tell whether
7917 prelinking failed. Use gdb_test_multiple.
7918
7919 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
7920
7921 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
7922 (do_tests): Call it.
7923
7924 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
7925
7926 * gdb.base/prelink.exp: New test.
7927 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
7928
7929 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
7930
7931 * gdb.fortran/derived-type.f90: New file.
7932 * gdb.fortran/derived-type.exp: New testcase.
7933
7934 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
7935
7936 * gdb.base/default.exp: Allow ';' as a directory separator.
7937
7938 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
7939
7940 * gdb.base/help.exp (help add-symbol-file): Update.
7941
7942 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
7943
7944 * gdb.base/help.exp (help load): Update expected results.
7945
7946 2006-02-19 Fred Fish <fnf@specifix.com>
7947
7948 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
7949 specifix hex value as part of results.
7950 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
7951
7952 2006-02-16 Fred Fish <fnf@specifix.com>
7953
7954 * gdb.base/whatis.c: Define variables using typedefs char_addr,
7955 ushort_addr, and slong_addr, so the typedefs are not optimized
7956 away.
7957 * gdb.base/whatis.exp: Add tests using type name for struct type,
7958 union type, enum type, and typedef.
7959
7960 2006-02-13 Mark Kettenis <kettenis@gnu.org>
7961
7962 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
7963
7964 2006-02-13 Jim Blandy <jimb@redhat.com>
7965
7966 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
7967 case where it takes two "next" commands to skip past the init
7968 call.
7969
7970 2006-02-12 Fred Fish <fnf@specifix.com>
7971
7972 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
7973 to handle cases where it takes two "next" commands to skip
7974 past the init call.
7975
7976 2006-02-07 Joel Brobecker <brobecker@adacore.com>
7977
7978 * gdb.ada/array_return.exp: Mark the last test as expected to fail
7979 on hppa32 targets.
7980
7981 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
7982
7983 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
7984 field.
7985
7986 2006-01-29 Mark Kettenis <kettenis@gnu.org>
7987
7988 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
7989
7990 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
7991
7992 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
7993 files.
7994
7995 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
7996
7997 * gdb.cp/maint.exp: Set complaints to a positive value.
7998
7999 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
8000
8001 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
8002 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
8003 function name.
8004
8005 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
8006
8007 * gdb.base/checkpoint.c: Update copyright notice. Include
8008 <stdlib.h>.
8009
8010 2006-01-04 Jim Blandy <jimb@redhat.com>
8011
8012 * gdb.asm/asm-source.exp: Independently provide default values for
8013 asm-flags and debug-flags. Use 'string equal' to do the
8014 comparison, not the implicit expr's '==' operator. Remove
8015 now-unneeded assignments to asm-flags. In h8300 case, place
8016 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
8017
8018 2006-01-04 Michael Snyder <msnyder@redhat.com>
8019
8020 * gdb.base/checkpoint.c: New file.
8021 * gdb.base/checkpoint.exp: New file.
8022 * gdb.base/multi-fork.c: New file.
8023 * gdb.base/multi-fork.exp: New file.
8024 * gdb.base/pi.txt: New file (data for checkpoint.c test).
8025
8026 2006-01-04 Fred Fish <fnf@specifix.com>
8027
8028 * gdb.base/ptype.c (foo): Add typedef.
8029 (intfoo): Add function.
8030 * gdb.base/ptype1.c: New file.
8031 * gdb.base/ptype.exp: Handle compilation and linking with two
8032 source files. Test that proper type for "foo" is found based
8033 on source context rather than first match found in symtabs.
8034
8035 2005-12-28 Mark Kettenis <kettenis@gnu.org>
8036
8037 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
8038 * gdb.asm/openbsd.inc: Indent commands.
8039
8040 2005-12-26 Mark Kettenis <kettenis@gnu.org>
8041
8042 * gdb.base/freebpcmd.exp: Increase timeout.
8043
8044 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
8045
8046 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
8047
8048 * gdb.base/default.exp: Update check for "show version".
8049
8050 2005-12-09 Randolph Chung <tausq@debian.org>
8051
8052 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
8053 * gdb.asm/pa64.inc: New file.
8054
8055 2005-12-09 Randolph Chung <tausq@debian.org>
8056
8057 * gdb.asm/common.inc: Indent commands.
8058 * gdb.asm/asmsrc1.s: Likewise.
8059 * gdb.asm/asmsrc2.s: Likewise.
8060
8061 2005-12-09 Randolph Chung <tausq@debian.org>
8062
8063 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
8064 (get_addr_of_sym): Remove duplicate print.
8065 (gen_core): xfail hppa*-*-hpux*, update expected output.
8066 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
8067 * gdb.arch/pa64-nullify.s: New file.
8068
8069 2005-12-09 Randolph Chung <tausq@debian.org>
8070
8071 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
8072
8073 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
8074
8075 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
8076 code generation for these functions.
8077 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
8078 error message.
8079
8080 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
8081
8082 * gdb.base/help.exp (help b, help br, help bre, help brea)
8083 (help break): Update the expected message.
8084
8085 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
8086
8087 * gdb.asm/m68hc11.inc: Setup the data section.
8088 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
8089 script for this test.
8090 (m6812-*-*): Likewise.
8091
8092 2005-11-09 Randolph Chung <tausq@debian.org>
8093
8094 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
8095
8096 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
8097
8098 * gdb.base/break.exp: Fix a comment typo.
8099
8100 2005-11-03 Jim Blandy <jimb@redhat.com>
8101
8102 Checked in by Elena Zannoni <ezannoni@redhat.com>
8103
8104 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
8105
8106 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
8107
8108 * gdb.arch/gdb1558.c: Include stdio.h.
8109
8110 2005-10-31 Mark Kettenis <kettenis@gnu.org>
8111
8112 * gdb.asm/asm-source.exp: Use -e instead of --entry.
8113
8114 2005-10-31 Mark Kettenis <kettenis@gnu.org>
8115
8116 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
8117
8118 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
8119
8120 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
8121 vscr" tests to better match output.
8122
8123 2005-10-12 Jim Blandy <jimb@redhat.com>
8124
8125 * gdb.base/structs.exp (any): New function.
8126 (test_struct_returns): Don't make any assumptions at all about
8127 what value the function returns when GDB can't set the return
8128 value.
8129
8130 2005-10-09 Joel Brobecker <brobecker@adacore.com>
8131
8132 * gdb.ada/arrayidx/p.adb: New file.
8133 * gdb.ada/arrayidx.exp: New testcase
8134
8135 2005-10-09 Joel Brobecker <brobecker@adacore.com>
8136
8137 * gdb.ada/array_return/pck.ads: New file.
8138 * gdb.ada/array_return/pck.adb: New file.
8139 * gdb.ada/array_return/p.adb: New file.
8140 * gdb.ada/array_return.exp: New testcase.
8141
8142 2005-10-03 Joel Brobecker <brobecker@adacore.com>
8143
8144 * gdb.base/arrayidx.c: New file.
8145 * gdb.base/arrayidx.exp: New testcase.
8146
8147 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
8148
8149 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
8150 frames-invalid and breakpoints-invalid are no longer generated
8151 with level 3 so don't expect them in the output.
8152
8153 2005-09-27 Bob Rossi <bob@brasko.net>
8154
8155 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
8156 from test. Escape the | in mi_gdb_test call.
8157 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
8158 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
8159 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
8160 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
8161 expected regex's in mi_gdb_test calls.
8162 * lib/mi-support.exp: Remove arbitrary .* from tests.
8163 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
8164 Fully anchor GDB/MI expected results in mi_gdb_test.
8165 * lib/gdb.exp (string_to_regexp): Escape the ] character.
8166 * gdb.base/sizeof.exp: Remove escape character. Correct test.
8167
8168 2005-09-26 Paul Brook <paul@codesourcery.com>
8169
8170 * long_long.exp: Exclude eabi targets from arm FPA float format test.
8171
8172 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
8173
8174 * bfp-test.c: New file.
8175 * bfp-test.exp: New testcase.
8176
8177 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
8178
8179 * gdb.fortran/subarray.exp: New testcase to test the evaluation
8180 of subarray and substring variable.
8181 * gdb.fortran/subarray.f: New source file for the test of subarray
8182 and substring variable evaluation.
8183 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
8184 of string constant.
8185
8186 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
8187
8188 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
8189 copyright dates.
8190
8191 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
8192
8193 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
8194 powerpc altivec' test with an almost identical 'info vector' test.
8195
8196 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
8197
8198 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
8199 vscr" tests to match output.
8200
8201 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
8202
8203 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
8204 output.
8205
8206 2005-09-11 Bob Rossi <bob@brasko.net>
8207
8208 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
8209 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
8210 commands that return an MI output command and an asyncronous MI output
8211 command.
8212 * gdb.mi/mi-console.exp: Ditto.
8213
8214 2005-09-11 Bob Rossi <bob@brasko.net>
8215
8216 * gdb.mi/mi-var-child.c: Include <string.h>.
8217
8218 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
8219
8220 * killed.exp: Correct gdb_expect syntax.
8221
8222 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
8223
8224 * lib/mi-support.exp (mi_gdb_load): Fix typo.
8225
8226 2005-08-02 Bob Rossi <bob@brasko.net>
8227
8228 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
8229 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
8230 Change tests to inferior-tty-set/show.
8231 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
8232 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
8233 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
8234 inferior. Use mi_gdb_test to get GDB and Inferior output.
8235 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
8236 descriptor.
8237 (mi_inferior_tty_name): Add inferior PTY file name.
8238 (mi_gdb_start): Add INFERIOR_PTY parameter.
8239 (mi_gdb_test): Add IPATTERN parameter.
8240
8241 2005-08-02 Bob Rossi <bob@brasko.net>
8242
8243 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
8244 parameter to mi_gdb_test.
8245 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
8246
8247 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8248
8249 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
8250 struct_declarations.
8251 * gdb.mi/mi-var-child.exp: Step over the initialization of
8252 struct_declarations.
8253
8254 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8255
8256 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
8257 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
8258 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
8259 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
8260 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
8261 file.
8262
8263 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
8264
8265 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
8266 (do_children_tests): Assign values to the extra elements.
8267
8268 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
8269 them for tests for "-var-update --no-values" and
8270 "-var-update --all-values".
8271 Add test for "-var-list-children --simple-values".
8272
8273 * gdb.mi/basics.c (callee4): Add integer array D[3]...
8274
8275 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
8276 "-stack-list-locals --simple-values" Improve doc strings and
8277 comments.
8278
8279 2005-07-18 Mark Kettenis <kettenis@gnu.org>
8280
8281 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
8282 *-*-openbsd*.
8283 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
8284
8285 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
8286 sigaltsatck'.
8287
8288 2005-07-14 Bob Rossi <bob@brasko.net>
8289
8290 * gdb.base/default.exp (tty): Changed output of command.
8291 * gdb.base/help.exp (help tty): Ditto.
8292
8293 2005-07-12 Mark Kettenis <kettenis@gnu.org>
8294
8295 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
8296
8297 2005-07-10 Mark Kettenis <kettenis@gnu.org>
8298
8299 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
8300 -stack-select-frame without arguments.
8301 (test_stack_frame_listing): Add test for newly implemented command
8302 -stack-info-frame.
8303
8304 2005-07-06 Bob Rossi <bob@brasko.net>
8305
8306 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
8307 command.
8308 (Copyright): Update copyright.
8309
8310 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
8311
8312 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
8313 tests to evaluate exponentiation expression.
8314
8315 2005-06-29 Andreas Schwab <schwab@suse.de>
8316
8317 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
8318 main to avoid warnings.
8319
8320 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
8321
8322 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
8323
8324 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
8325 -stack-select-frame without arguments.
8326 (test_stack_frame_listing): Add test for newly implemented command
8327 -stack-info-frame.
8328
8329 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
8330
8331 * gdb.fortran/array-element.f: New file.
8332 * gdb.fortran/array-element.exp: New testcase.
8333
8334 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8335
8336 * gdb.base/bigcore.exp: Correct checks for systems which can
8337 not dump a large core file.
8338
8339 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8340
8341 * gdb.base/relocate.c: Add a copyright notice.
8342 (dummy): Remove.
8343 * gdb.base/relocate.exp: Test printing the values of variables
8344 from a relocatable file.
8345
8346 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
8347
8348 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
8349 excess MI output after an error.
8350
8351 2005-05-29 Joel Brobecker <brobecker@adacore.com>
8352
8353 * gdb.arch/alpha-step.c: New file.
8354 * gdb.arch/alpha-step.exp: New testcase.
8355
8356 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
8357 Dennis Brueni <dennis@slickedit.com>
8358
8359 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
8360 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
8361 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
8362 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
8363 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
8364 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
8365 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
8366
8367 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
8368 Wu Zhou <woodzltc@cn.ibm.com>
8369
8370 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
8371 IBM's xlc compiler.
8372 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
8373 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
8374
8375 2005-05-13 Jim Blandy <jimb@redhat.com>
8376
8377 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
8378 calling gdb_suppress_entire_file.
8379 * gdb.base/charset.exp: Same.
8380 * gdb.base/call-rt-st.exp: Same.
8381
8382 2005-05-05 Bob Rossi <bob_rossi@cox.net>
8383
8384 * lib/gdb.exp (fullname_syntax): Added global regex.
8385 (fullname_syntax_POSIX): Ditto.
8386 (fullname_syntax_UNC): Ditto.
8387 (fullname_syntax_DOS_CASE): Ditto.
8388 (fullname_syntax_DOS): Ditto.
8389 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
8390 fullname_syntax variable to scope and use it.
8391 (test_file_list_exec_source_files): Ditto.
8392 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
8393
8394 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
8395
8396 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
8397
8398 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
8399
8400 * lib/gdb.exp (skip_altivec_tests): New function, based on
8401 check_vmx_hw_available from the GCC testsuite.
8402 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
8403 * lib/gdb.arch/altivec-regs.exp: Likewise.
8404
8405 2005-05-02 Jim Blandy <jimb@redhat.com>
8406
8407 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
8408 calling gdb_suppress_entire_file.
8409
8410 2005-04-30 Randolph Chung <tausq@debian.org>
8411
8412 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
8413 Slightly relax "sem_post" name checking.
8414
8415 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
8416
8417 * gdb.base/unload.exp: Use new shared library infrastructure.
8418
8419 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
8420
8421 * gdb.base/so-impl-ld.exp: Use new shared library
8422 infrastructure.
8423
8424 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
8425
8426 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
8427 * gdb.asm/h8300.inc: New file.
8428
8429 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
8430
8431 * gdb.base/shlib-call.exp: Change to use new shared library
8432 infrastructure.
8433
8434 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
8435
8436 * gdb.base/pending.exp: Change to use new shared library
8437 infrastructure.
8438
8439 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
8440
8441 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
8442 use test_compiler_info instead of gcc_compiled, and update copyright.
8443
8444 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
8445
8446 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
8447 shared objects being adjusted and update copyright years.
8448
8449 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
8450
8451 * ChangeLog: Correct some 2003-01-13 dates.
8452 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
8453 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
8454 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
8455 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
8456 gdb.trace/tfind.exp: Update copyright years.
8457
8458 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
8459 Daniel Jacobowitz <dan@codesourcery.com>
8460
8461 * lib/gdb.exp (gdb_compile): Handle shlib=.
8462 (gdb_compile_shlib): New function.
8463
8464 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
8465
8466 * lib/gdb.exp (test_compiler_info): Give argument a default value.
8467
8468 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
8469
8470 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
8471 gdb.server.
8472 * configure.ac: Likewise.
8473 * configure: Regenerated.
8474 * gdb.gdbserver/Makefile.in: Moved to...
8475 * gdb.server/Makefile.in: ... here.
8476 * gdb.gdbserver/server.c: Moved to...
8477 * gdb.server/server.c: ... here.
8478 * gdb.gdbserver/server-run.exp: Moved to...
8479 * gdb.server/server-run.exp: ... here.
8480
8481 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
8482
8483 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
8484 * configure.ac: Create gdb.gdbserver/Makefile.
8485 * configure: Regenerated.
8486 * lib/gdbserver-support.exp: New file, derived from
8487 config/gdbserver.exp.
8488 * config/gdbserver.exp: Use gdbserver-support.exp.
8489 * gdb.gdbserver/Makefile.in: New file.
8490 * gdb.gdbserver/server.c: New file.
8491 * gdb.gdbserver/server-run.exp: New file.
8492
8493 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
8494
8495 * lib/gdb.exp (test_compiler_info): Return compiler_info
8496 if no arguments are given.
8497
8498 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
8499
8500 * gdb.arch/altivec-abi.exp: Check for compiler and set
8501 use altivec' flag accordingly.
8502 * gdb.arch/altivec-regs.exp: Likewise.
8503
8504 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
8505
8506 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
8507
8508 2005-03-27 Andreas Schwab <schwab@suse.de>
8509
8510 * gdb.base/bigcore.c (main): Add missing mode argument in open
8511 call.
8512
8513 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
8514
8515 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
8516 downloads.
8517 * config/gdbserver.exp (gdb_load): Likewise.
8518
8519 2005-03-14 Paul Brook <paul@codesourcery.com>
8520
8521 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
8522 targets.
8523
8524 2005-03-09 Joel Brobecker <brobecker@adacore.com>
8525
8526 * gdb.dwarf2/dup-psym.S: New file.
8527 * gdb.dwarf2/dup-psym.exp: New testcase.
8528
8529 2005-03-09 Joel Brobecker <brobecker@adacore.com>
8530
8531 * gdb.ada/exec_changed/first.adb: New file.
8532 * gdb.ada/exec_changed/second.adb: New file.
8533 * gdb.ada/exec_changed.exp: New testcase.
8534
8535 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
8536
8537 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
8538 (A2): New class.
8539 (main): Test operator+.
8540 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
8541 breakpoint test.
8542
8543 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
8544 * gdb.base/signull.exp: Disable if gdb,nosignals.
8545 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
8546 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
8547 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
8548 * gdb.mi/mi2-console.exp: Likewise.
8549 * gdb.trace/collection.exp (run_trace_experiment): Consume the
8550 continue output at start.
8551 (gdb_collect_locals_test): Robustify regexp.
8552 * gdb.trace/passc-dyn.exp: Fix comment typo.
8553 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
8554
8555 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
8556
8557 * gdb.asm/asm-source.exp: Add iq2000 case.
8558 * gdb.asm/iq2000.inc: New file.
8559
8560 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
8561
8562 * gdb.base/command.exp: Change hardcoded value to regular expression.
8563 * gdb.base/float.exp: Add powerpc to the list of targets checked.
8564
8565 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
8566
8567 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
8568 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
8569 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
8570 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
8571 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
8572
8573 2005-03-05 Mark Kettenis <kettenis@gnu.org>
8574
8575 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
8576 changes.
8577
8578 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
8579
8580 * lib/compiler.c: Add test for IBM's xlc compiler.
8581 * lib/compiler.cc: Likewise.
8582
8583 2004-02-24 Joel Brobecker <brobecker@adacore.com>
8584
8585 * gdb.ada/fixed_points.exp: Create compilation object directory
8586 before running the test.
8587 * gdb.ada/null_record.exp: Likewise.
8588 * gdb.ada/packed_array.exp: Likewise.
8589 * gdb.ada/start.exp: Likewise.
8590
8591 2005-02-15 Joel Brobecker <brobecker@adacore.com>
8592
8593 * gdb.ada/packed_array/pa.adb: New file.
8594 * gdb.ada/packed_array.exp: New testcase.
8595
8596 2005-02-10 Mark Kettenis <kettenis@gnu.org>
8597
8598 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
8599 files.
8600
8601 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
8602 on *-*-openbsd*. Correctly match whitespace in regukar
8603 expressions.
8604
8605 2005-02-10 Daniel Jacobowitz <dan@debian.org>
8606
8607 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
8608 PR exp/1821
8609 * gdb.base/gdb1821.c: New test file.
8610 * gdb.base/gdb1821.exp: New test file.
8611
8612 2005-02-09 Joel Brobecker <brobecker@adacore.com>
8613
8614 * gdb.base/start.c: New file.
8615 * gdb.base/start.exp: New testcase.
8616
8617 2005-02-09 Joel Brobecker <brobecker@adacore.com>
8618
8619 * gdb.ada/start/dummy.adb: New file.
8620 * gdb.ada/start.exp: New testcase.
8621
8622 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
8623
8624 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
8625 for printing symbols and statistics.
8626 Add test for using relative pathnames in "maint print msymbols" test.
8627 Mark "maint info sections DATA" XFAIL on Cygwin.
8628 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
8629 tests.
8630
8631 2005-02-09 Andreas Schwab <schwab@suse.de>
8632
8633 Committed by Andrew Cagney <cagney@gnu.org>
8634 * gdb.base/remotetimeout.exp: New file.
8635
8636 2005-02-07 Mark Kettenis <kettenis@gnu.org>
8637
8638 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
8639
8640 2005-02-03 Joel Brobecker <brobecker@adacore.com>
8641
8642 * gdb.ada/gnat_ada.gpr: New file.
8643 * gdb.ada/gnat_ada.gin: Delete, no longer used.
8644 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
8645 * configure.ac: No longer generate gnat_ada.gpr.
8646 * configure: Regenerate.
8647 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
8648 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
8649 * gdb.ada/null_record/bar.ads: Likewise.
8650 * gdb.ada/null_record/bar.adb: Likewise.
8651 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
8652 * gdb.ada/null_record.exp (testdir): New variable.
8653 (testfile): executable is now in testdir subdirectory.
8654 (srcfile): Use full path to the main compilation unit.
8655 * gdb.ada/fixed_points.exp: Same changes as above.
8656
8657 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
8658
8659 * gdb.base/interp.exp: New test.
8660
8661 2005-01-24 Andrew Cagney <cagney@gnu.org>
8662
8663 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
8664
8665 2005-01-19 Andrew Cagney <cagney@gnu.org>
8666
8667 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
8668 configure.ac not configure.in.
8669
8670 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
8671 of powerpc*-*-*.
8672 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
8673 * gdb.base/list.exp (test_list_function)
8674 (test_list_filename_and_function): Ditto.
8675 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
8676
8677 2005-01-16 Andrew Cagney <cagney@gnu.org>
8678
8679 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
8680
8681 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
8682
8683 2005-01-14 Andrew Cagney <cagney@gnu.org>
8684
8685 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
8686 * gdb.mi/mi2-var-cmd.exp: Ditto.
8687
8688 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
8689
8690 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
8691
8692 2005-01-07 Andrew Cagney <cagney@gnu.org>
8693
8694 * configure.ac: Rename configure.in, require autoconf 2.59.
8695 * configure: Re-generate.
8696 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
8697 * gdb.stabs/configure: Re-generate.
8698 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
8699 * gdb.hp/configure: Re-generate.
8700 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
8701 autoconf 2.59.
8702 * gdb.hp/gdb.objdbg/configure: Re-generate.
8703 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
8704 autoconf 2.59.
8705 * gdb.hp/gdb.defects/configure: Re-generate.
8706 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
8707 autoconf 2.59.
8708 * gdb.hp/gdb.compat/configure: Re-generate.
8709 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
8710 autoconf 2.59.
8711 * gdb.hp/gdb.base-hp/configure: Re-generate.
8712 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
8713 autoconf 2.59.
8714 * gdb.hp/gdb.aCC/configure: Re-generate.
8715
8716 2004-12-15 Jim Blandy <jimb@redhat.com>
8717
8718 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
8719 under NPTL when there is debugging info available for libpthread.
8720
8721 2004-12-13 Jerome Guitton <guitton@gnat.com>
8722
8723 * gdb.ada/fixed_points.c: New file.
8724 * gdb.ada/fixed_points.exp: New file.
8725
8726 2004-12-03 Randolph Chung <tausq@debian.org>
8727
8728 * gdb.arch/pa-nullify.exp: New file.
8729 * gdb.arch/pa-nullify.s: New file.
8730
8731 2004-11-30 Randolph Chung <tausq@debian.org>
8732
8733 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
8734 instead of "tbug". Fix regexp to work properly with gdb_test.
8735
8736 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
8737
8738 * gdb.base/bitfields2.exp: New test.
8739 * gdb.base/bitfields2.c: New file.
8740
8741 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
8742
8743 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
8744
8745 2004-11-16 Randolph Chung <tausq@debian.org>
8746
8747 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
8748
8749 2004-11-14 Daniel Jacobowitz <dan@debian.org>
8750
8751 * gdb.threads/threadapply.exp: Correct "macro details" test.
8752
8753 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
8754
8755 * gdb.threads/threadapply.exp: New test.
8756 * gdb.threads/threadapply.c: New file.
8757
8758 2004-11-07 Mark Kettenis <kettenis@gnu.org>
8759
8760 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
8761 frames.
8762
8763 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
8764
8765 * gdb.base/cursal.exp: New file.
8766 * gdb.base/cursal.c: New file.
8767
8768 2004-11-03 Andrew Cagney <cagney@gnu.org>
8769
8770 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
8771
8772 2004-10-30 Mark Kettenis <kettenis@gnu.org>
8773
8774 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
8775 NetBSD/ELF targets.
8776
8777 2004-10-29 Joel Brobecker <brobecker@gnat.com>
8778
8779 * gdb.threads/bp_in_thread.c: New file, copied from
8780 pthread_cond_wait.c.
8781 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
8782 file, rather than reusing the .c file from another testcase.
8783
8784 2004-10-20 Joel Brobecker <brobecker@gnat.com>
8785
8786 * gdb.ada/null_record.exp: Check where we stopped after
8787 sending the start command, instead of where the associated
8788 temporary breakpoint was inserted.
8789
8790 2004-10-14 Andrew Cagney <cagney@gnu.org>
8791
8792 * gdb.mi/gdb701.c (main): Return 0.
8793
8794 2004-10-13 Daniel Jacobowitz <dan@debian.org>
8795
8796 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
8797
8798 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
8799
8800 * gdb.threads/schedlock.c: Add comment markers to use to find
8801 line numbers.
8802 * gdb.threads/schedlock.exp: Adjust regex to handle the new
8803 comments.
8804 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
8805 breakpoint lines.
8806
8807 2004-10-12 Daniel Jacobowitz <dan@debian.org>
8808
8809 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
8810
8811 2004-10-12 Daniel Jacobowitz <dan@debian.org>
8812
8813 * configure.in: Add gdb.dwarf2.
8814 * configure: Regenerated.
8815 * Makefile.in: Add gdb.dwarf2.
8816 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
8817 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
8818 gdb.dwarf2/file1.txt: New files.
8819
8820 2004-10-11 Orjan Friberg <orjanf@axis.com>
8821
8822 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
8823 of "run", since the latter doesn't work with remote targets. Adjust
8824 the breakpoint numbering accordingly.
8825 * gdb.threads/pthread_cond_wait.exp: Ditto.
8826
8827 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
8828
8829 * gdb.base/overlays.exp: Update copyright years.
8830
8831 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
8832
8833 * gdb.base/overlays.exp: Disable if target is Linux.
8834
8835 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
8836
8837 * config/gdbserver.exp (gdb_load): Use right filename on remote.
8838
8839 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
8840
8841 * gdb.asm/asm-source.exp: Add m32r-linux target.
8842 * gdb.asm/m32r-linux.inc: New file.
8843
8844 2004-09-24 Andrew Cagney <cagney@redhat.com>
8845 David Anderson <anderson@redhat.com>
8846
8847 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
8848 command fails, assume things will work.
8849 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
8850 (_GNU_SOURCE): Define.
8851 (print_unsigned, print_hex): Change parameter to "long long".
8852 (print_byte_count): New function, use to print byte counts.
8853 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
8854 O_LARGEFILE.
8855 (main): Compute an upper bound on a corefile in max_core_size.
8856 Limit memory chunk size to max_core_size. Limit total memory
8857 allocated to max_core_size.
8858
8859 2004-09-23 Andrew Cagney <cagney@gnu.org>
8860
8861 * gdb.base/bigcore.exp: Replace the code that creates a corefile
8862 from a separate process with code that creates a corefile by
8863 making the inferior dump core.
8864
8865 2004-09-23 Mark Kettenis <kettenis@gnu.org>
8866
8867 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
8868 block.
8869
8870 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
8871
8872 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
8873 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
8874 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
8875 Likewise.
8876
8877 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
8878
8879 * gdb.java/jprint.exp: New test case for java inferior call.
8880 * gdb.java/jprint.java: Ditto.
8881
8882 2004-09-15 Joel Brobecker <brobecker@gnat.com>
8883
8884 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
8885
8886 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
8887
8888 * gdb.threads/killed.c: Include <stdlib.h>.
8889 * gdb.threads/pthreads.c: Likewise.
8890
8891 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
8892
8893 * gdb.threads/killed.c: Add copyright notice.
8894
8895 2004-09-10 Jason Molenda (jmolenda@apple.com)
8896
8897 * gdb.base/define.exp: Two new tests to verify zero space chars
8898 after 'if' and 'while' commands in a user-defined command is correctly
8899 parsed.
8900
8901 2004-09-08 Andrew Cagney <cagney@gnu.org>
8902
8903 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
8904 delivery test with duplicate at end of file.
8905
8906 2004-09-06 Mark Kettenis <kettenis@jive.nl>
8907
8908 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
8909
8910 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
8911
8912 * config/hppro.exp: Removed.
8913
8914 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
8915
8916 * config/sparclet.exp: Removed.
8917
8918 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
8919
8920 * config/udi.exp: Removed.
8921
8922 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
8923
8924 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
8925 of "exp_continue".
8926 (advancei): Likewise.
8927
8928 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
8929
8930 * gdb.base/unload.exp: Fix so messages aren't duplicated.
8931
8932 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
8933
8934 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
8935 to check for nodebug in executable.
8936 * gdb.gdb/observer.exp (setup_test): Likewise.
8937 * gdb.gdb/selftest.exp (test_with_self): Likewise.
8938 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
8939
8940 2004-09-01 Andrew Cagney <cagney@gnu.org>
8941
8942 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
8943 files.
8944
8945 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
8946
8947 * gdb.base/unload.exp: Fix expected warning message to match
8948 latest format.
8949
8950 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
8951
8952 * gdb.base/call-rt-st.exp: Fix typos.
8953
8954 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
8955
8956 * gdb.threads/thread_check.exp: New testcase.
8957 * gdb.threads/thread_check.c: New testcase.
8958
8959 2004-08-31 Andrew Cagney <cagney@gnu.org>
8960
8961 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
8962 (skip_to_handler_entry): New procedures. Test stepping into a
8963 handler when the breakpoint is at the handler's entry point.
8964
8965 2004-08-30 Andrew Cagney <cagney@gnu.org>
8966
8967 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
8968 gdb/1757.
8969
8970 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
8971
8972 With code from Manoj Iyer <manjo@austin.ibm.com>:
8973 * lib/gdb.exp (gdb_file_cmd): Return more information in the
8974 return value. Add an arm for "no debugging symbols found".
8975 Change a stray "error" to "perror".
8976 (gdb_run_cmd): Adapt to new return value.
8977 * gdb.base/remote.exp: Adapt to new return value.
8978 * gdb.gdb/complaints.exp: Likewise.
8979 * gdb.gdb/observer.exp: Likewise.
8980 * gdb.gdb/selftest.exp: Likewise.
8981 * gdb.gdb/xfullpath.exp: Likewise.
8982
8983 2004-08-27 Joel Brobecker <brobecker@gnat.com>
8984
8985 * gdb.threads/bp_in_thread.exp: New testcase.
8986
8987 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
8988
8989 Fix PR testsuite/1735.
8990 * gdb.threads/schedlock.c (thread_function): Add a cast
8991 to suppress a gcc warning.
8992 * gdb.threads/thread-specific.c (thread_function): Likewise.
8993
8994 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
8995
8996 * gdb.base/unload.c: Include <stdlib.h>.
8997
8998 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
8999
9000 From Paul Gilliam <pgilliam@us.ibm.com>:
9001 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
9002 synchronized after the "return".
9003
9004 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
9005
9006 * gdb.mi/basics.c: Include <stdio.h>.
9007 * gdb.mi/pthreads.c: Include <stdlib.h>.
9008 * gdb.mi/var-cmd.c: Include <stdlib.h>.
9009
9010 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
9011
9012 * gdb.threads/schedlock.c: Add copyright notice.
9013
9014 2004-08-25 Andrew Cagney <cagney@gnu.org>
9015
9016 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
9017 (skip_over_handler, breakpoint_over_hander): New test procedures.
9018 (advance, advancei): Add a proper prefix, do not use
9019 rerun_to_main.
9020 * gdb.base/sigstep.c (main): Change to use an infinite loop.
9021
9022 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
9023
9024 * gdb.mi/basics.c: Add copyright notice.
9025 * gdb.mi/var-cmd.c: Add copyright notice.
9026
9027 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
9028
9029 * lib/gdb.exp: Remove signed_keyword_not_used.
9030 * lib/compiler.c: Likewise.
9031 * lib/compiler.cc: Likewise.
9032
9033 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
9034
9035 * gdb.base/whatis.c: Remove conditional disabling of "signed".
9036 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
9037
9038 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
9039
9040 * gdb.base/whatis.c: Add copyright notice.
9041
9042 2004-08-20 Mark Kettenis <kettenis@gnu.org>
9043
9044 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
9045 it to skip the breakpoints encoded in the inline assembly.
9046
9047 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
9048
9049 * Makefile.in: Add gdb.fortran.
9050
9051 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
9052
9053 * gdb.base/call-sc.exp (test_scalar_returns):
9054 Fix cut-and-paste glitch in "Make fun return now".
9055
9056 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
9057
9058 * configure.in: Add gdb.fortran.
9059 * configure: Regenerate.
9060 * gdb.fortran/Makefile.in: New file.
9061 * lib/gdb.exp (skip_fortran_tests): New procedure.
9062
9063 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
9064
9065 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
9066 reference to bug-gnu@prep.ai.mit.edu.
9067 * gdb.mi/mi-var-child.exp: Likewise.
9068 * gdb.mi/mi-var-cmd.exp: Likewise.
9069 * gdb.mi/mi-var-display.exp: Likewise.
9070 * gdb.mi/mi2-var-block.exp: Likewise.
9071 * gdb.mi/mi2-var-child.exp: Likewise.
9072 * gdb.mi/mi2-var-cmd.exp: Likewise.
9073 * gdb.mi/mi2-var-display.exp: Likewise.
9074
9075 2004-08-15 Mark Kettenis <kettenis@gnu.org>
9076
9077 * gdb.base/unload.c (main): Make local variable msg const.
9078
9079 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
9080
9081 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
9082 to bug-gnu@prep.ai.mit.edu.
9083 * gdb.mi/mi-disassemble.exp: Likewise.
9084 * gdb.mi/mi-eval.exp: Likewise.
9085 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
9086 default line number.
9087 * gdb.mi/mi-return.exp: Likewise.
9088 * gdb.mi/mi-simplerun.exp: Likewise.
9089 * gdb.mi/mi-stack.exp: Likewise.
9090 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
9091 number with explicit range test.
9092 * gdb.mi/mi-watch.exp: Likewise.
9093 * gdb.mi/mi2-break.exp: Likewise.
9094 * gdb.mi/mi2-cli.exp: Likewise.
9095 * gdb.mi/mi2-disassemble.exp: Likewise.
9096 * gdb.mi/mi2-eval.exp: Likewise.
9097 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
9098 default line number.
9099 * gdb.mi/mi2-return.exp: Likewise.
9100 * gdb.mi/mi2-simplerun.exp: Likewise.
9101 * gdb.mi/mi2-stack.exp: Likewise.
9102 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
9103 number with explicit range test.
9104 * gdb.mi/mi2-watch.exp: Likewise.
9105
9106 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
9107
9108 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
9109 * gdb.cp/m-static.exp: Likewise.
9110 * gdb.cp/rtti.exp: Likewise.
9111
9112 2004-08-14 Mark Kettenis <kettenis@gnu.org>
9113
9114 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
9115
9116 2004-08-14 Eli Zaretskii <eliz@gnu.org>
9117
9118 * ChangeLog: Prefix Local Variables with semi-colons and indent
9119 the reference to older ChangeLog files, to fix fontification in
9120 Emacs.
9121
9122 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
9123
9124 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
9125 * gdb.mi/mi2-break.exp: Likewise.
9126
9127 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
9128
9129 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
9130
9131 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
9132
9133 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
9134
9135 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
9136
9137 * gdb.cp/classes.exp: Remove unused declarations. Just let
9138 test names default instead of providing special names. Remove
9139 extraneous demangler test.
9140
9141 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
9142
9143 * gdb.base/unload.exp: New test for breakpoints in dynamically
9144 loaded libraries.
9145 * gdb.base/unload.c: Ditto.
9146 * gdb.base/unloadshr.c: Ditto.
9147
9148 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
9149
9150 * gdb.cp/classes.exp (test_ptype_class_objects): Call
9151 cp_test_ptype_class.
9152 (test_enums): Likewise.
9153
9154 2004-08-10 Andrew Cagney <cagney@gnu.org>
9155
9156 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
9157 files.
9158
9159 2004-08-10 Andrew Cagney <cagney@gnu.org>
9160
9161 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
9162 init_malloc call.
9163
9164 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
9165
9166 * ChangeLog: Add copyright notice. The notice is copied
9167 from emacs 21.3 top level ChangeLog.
9168
9169 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
9170
9171 * lib/cp-support.exp: New file.
9172 * lib/cp-support.exp (cp_test_type_class): New function.
9173 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
9174 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
9175 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
9176 cp_test_ptype_class.
9177
9178 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
9179
9180 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
9181 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
9182 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
9183 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
9184 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
9185 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
9186 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
9187 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
9188 gdb.mi/mi2-watch.exp: Update copyright years.
9189
9190 2004-08-09 Mark Kettenis <kettenis@gnu.org>
9191
9192 * gdb.base/sigaltstack.exp: Provide proper anchoring.
9193
9194 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
9195
9196 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
9197 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
9198 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
9199 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9200 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
9201 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
9202 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
9203 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
9204 gdb.mi/mi-watch.exp: Update copyright years.
9205
9206 2004-08-08 Daniel Jacobowitz <dan@debian.org>
9207
9208 PR gdb/1738
9209 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
9210 from a breakpoint with a pending signal.
9211
9212 2004-08-08 Daniel Jacobowitz <dan@debian.org>
9213
9214 PR gdb/1736
9215 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
9216 * gdb.base/sigaltstack.exp (finish_test): Consume output until
9217 the prompt.
9218 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
9219
9220 2004-08-08 Daniel Jacobowitz <dan@debian.org>
9221
9222 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
9223
9224 2004-08-08 Daniel Jacobowitz <dan@debian.org>
9225
9226 PR gdb/1736
9227 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
9228 for i?86-*-linux*.
9229
9230 2004-08-08 Daniel Jacobowitz <dan@debian.org>
9231
9232 * gdb.arch/i386-prologue.exp: Compile without debug information.
9233
9234 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
9235
9236 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
9237 rather than asking gdb to search.
9238
9239 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
9240
9241 * gdb.base/gcore.c: Include <string.h>.
9242
9243 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
9244
9245 * gdb.base/gcore.c: Add copyright notice.
9246
9247 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
9248
9249 * gdb.base/freebpcmd.c: Include <stdio.h>.
9250 * gdb.base/long_long.c: Include <string.h>.
9251 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
9252 * gdb.base/siginfo.c: Include <string.h>.
9253 * gdb.base/sigstep.c: Include <string.h>.
9254
9255 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9256
9257 * gdb.base/complex.c: Include <stdlib.h>.
9258
9259 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9260
9261 * gdb.base/complex.c: Add copyright notice.
9262
9263 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9264
9265 * gdb.base/charset.c: Include <stdlib.h>.
9266
9267 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9268
9269 * gdb.base/auxv.c: Include <stdlib.h>.
9270
9271 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9272
9273 * gdb.base/auxv.c: Add copyright notice.
9274
9275 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
9276
9277 * gdb.base/coremaker.c: Add copyright notice.
9278 * gdb.base/coremaker2.c: Add copyright notice.
9279
9280 2004-08-04 Andrew Cagney <cagney@gnu.org>
9281
9282 * gdb.base/store.exp: Update copyright.
9283 (check_set, up_set, check_struct, up_struct): Add a prefix to test
9284 names, do not import gdb_prompt.
9285
9286 2004-08-01 Andrew Cagney <cagney@gnu.org>
9287
9288 Fix PR testsuite/1729.
9289 * gdb.base/dump.exp: Add test name to callers of capture_value, do
9290 not use capture_value with value 4.
9291 (capture_value): Add optional test name parameter.
9292 (test_reload_saved_value, test_restore_saved_value): Use $msg as
9293 the prefix, pass to capture_value.
9294
9295 2004-08-01 Mark Kettenis <kettenis@gnu.org>
9296
9297 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
9298 * gdb.arch/i386-prologue.c (standard): New prototype and function.
9299 (main): Call new function.
9300
9301 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
9302
9303 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
9304
9305 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
9306
9307 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
9308
9309 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
9310
9311 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9312 Accept more values of vtbl pointer. Remove some messages
9313 about "obsolete gcc or gdb".
9314
9315 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
9316
9317 * gdb.cp/classes.exp: Accept more varieties of ptype output.
9318
9319 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
9320
9321 * gdb.base/asm-source.exp: Properly convert target board
9322 debug flags from gcc format to binutils format.
9323
9324 2004-07-28 Mark Kettenis <kettenis@gnu.org>
9325
9326 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
9327 gdb1718". PR backtrace/1718 partially fixed.
9328
9329 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
9330
9331 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
9332
9333 2004-07-26 Nick Clifton <nickc@redhat.com>
9334
9335 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
9336 good default value for a specific architecture is available then
9337 set it to that value. Otherwise default to the -gstabs switch.
9338 Remove the -g... switches from the asm-flags variable. Allow the
9339 target board info to override the value if it wants to. Pass the
9340 switch on the assembler command line.
9341
9342 2004-07-23 Mark Kettenis <kettenis@gnu.org>
9343
9344 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
9345 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
9346 (main): Call new function.
9347
9348 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
9349
9350 Test for PR exp/1715.
9351 * gdb.base/radix.exp: Refactor common procedures. Make all
9352 test names unique. Change XFAIL to KFAIL.
9353
9354 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
9355
9356 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
9357 * gdb.ada/gnat_ada.gin: ... to here.
9358 * configure.in: Use gnat_ada.gin.
9359 * configure: Regenerate.
9360
9361 2004-07-20 Andrew Cagney <cagney@gnu.org>
9362
9363 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
9364 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
9365 XFAILs. Clean up test messages and comments. Check backtraces.
9366 Delete re-sync code.
9367
9368 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
9369
9370 Fix PR cli/740.
9371 * gdb.base/annota1.exp: Honor gdb,nosignals.
9372 * gdb.base/annota3.exp: Likewise.
9373
9374 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
9375
9376 * lib/java.exp: Update copyright notice.
9377
9378 2004-07-19 Andrew Cagney <cagney@gnu.org>
9379
9380 * gdb.base/selftest.exp: Copy file from here ...
9381 * gdb.gdb/selftest.exp: ... to here.
9382
9383 2004-07-16 Andrew Cagney <cagney@redhat.com>
9384
9385 * lib/insight-support.exp: Delete file.
9386 * lib/java.exp (java_init): Fix copyright.
9387
9388 2004-07-16 Andrew Cagney <cagney@gnu.org>
9389
9390 * gdb.base/restore.c: Append "prologue" to comments marking the a
9391 function's prologue.
9392 * gdb.base/restore.exp: Update copyright, re-indent.
9393 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
9394 callerN" prefix where needed. Update patterns that match a
9395 function's prologue.
9396
9397 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
9398
9399 * gdb.base/restore.c: Add copyright notice.
9400
9401 2004-07-16 Andrew Cagney <cagney@gnu.org>
9402
9403 * gdb.base/logical.exp: Update copyright.
9404 (evaluate): New procedure. Use to re-implement tests using
9405 several tables.
9406
9407 2004-07-14 Martin Hunt <hunt@redhat.com>
9408
9409 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
9410 which fixes some problems where init.tcl was not found.
9411
9412 2004-07-13 Andrew Cagney <cagney@gnu.org>
9413
9414 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
9415 (check_sizeof, check_valueof): Do not include the output in the
9416 test name. Use gdb_test.
9417 (get_valueof): Use gdb_test_multiple.
9418
9419 * gdb.base/step-test.exp: Update copyright. Use
9420 gdb_test_multiple. Ensure that test names do not include
9421 architecture dependent output.
9422
9423 * gdb.gdb/observer.exp: Update copyright.
9424 (setup_test): Use gdb_test_multiple.
9425 (attach_first_observer, attach_second_observer)
9426 (attach_third_observer, detach_first_observer)
9427 (detach_second_observer, detach_third_observer)
9428 (reset_counters, check_counters): Make $message a prefix.
9429 (test_normal_stop_notifications): Add "args" parameter - a list of
9430 init functions to be called. Make $message a prefix,
9431 (test_observer_normal_stop): Change the message prefixes so that
9432 they are unique, pass the attach / detach procedures to
9433 test_normal_stop_notifications.
9434
9435 * gdb.base/signull.exp (test_segv): Prefix all tests with
9436 "${name}". Clean up test messages.
9437
9438 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
9439
9440 * gdb.base/ena-dis-br.exp: Update copyright.
9441 (break_at): New function. Replace send_gdb with gdb_test,
9442 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
9443 ignore count, not stopped at bpt", with KFAIL.
9444
9445 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
9446
9447 * gdb.base/attach.exp: Remove cleanupfile handling.
9448
9449 2004-07-12 Andrew Cagney <cagney@gnu.org>
9450
9451 * gdb.base/annota1.exp: Cleanup corefile test name.
9452 * gdb.base/annota3.exp: Ditto.
9453
9454 2004-07-12 Andrew Cagney <cagney@gnu.org>
9455
9456 * gdb.base/signals.exp: Clean up copyright, re-indent.
9457
9458 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
9459 gdb_test and gdb_test_multiple.
9460
9461 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
9462
9463 * gdb.java/jmain.exp: Fix expected line number for main to
9464 break at. Set XFAIL for break at main test since gcj does not
9465 provide line number info for first statement in main.
9466
9467 2004-07-08 Andrew Cagney <cagney@gnu.org>
9468
9469 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
9470
9471 * gdb.base/sigbpt.exp: Make the common part of each test name a
9472 prefix instead of suffix.
9473
9474 2004-07-07 Bob Rossi <bob_rossi@cox.net>
9475
9476 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
9477 test from test_tbreak_creation_and_listing to
9478 test_file_list_exec_source_file
9479 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
9480 Changed name of test from test_tbreak_creation_and_listing to
9481 test_file_list_exec_source_file
9482
9483 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
9484
9485 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
9486 the jmisc() constructor instead of <init>.
9487 * gdb.java/jmisc1.exp: Ditto.
9488
9489 2004-07-07 Andrew Cagney <cagney@gnu.org>
9490
9491 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
9492 corrupting the PC.
9493
9494 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
9495
9496 * gdb.cp/templates.exp: Accept whitespace change in demangler
9497 output.
9498
9499 2004-07-06 Andrew Cagney <cagney@gnu.org>
9500
9501 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
9502
9503 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
9504
9505 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
9506 * lib/compiler.cc: Likewise.
9507
9508 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
9509
9510 * lib/compiler.cc: Work around string preprocessing problem
9511 with old hp c++ compiler.
9512 * lib/compiler.c: Likewise.
9513
9514 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
9515
9516 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
9517 directives to conditionalize symbol prefixing.
9518 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
9519 additional_flags handling. Add underscore prefix for Cygwin.
9520 * gdb.arch/i386-unwind.c: Use preprocessor directives to
9521 conditionalize symbol prefixing.
9522 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
9523 additional_flags handling. Add underscore prefix for Cygwin.
9524
9525 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
9526
9527 * gdb.base/bigcore.exp: Skip test on Cygwin.
9528
9529 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
9530
9531 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
9532 formats for "info register". Use gdb_test_multiple. Fix
9533 the "invalid register" test.
9534
9535 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
9536
9537 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
9538 PID for Cygwin. Add Cygwin specific strings to check for in some
9539 tests.
9540 (do_attach_tests): Add a test for user interaction when attaching
9541 to a process with no matching symbol table already loaded.
9542
9543 2004-06-26 Andrew Cagney <cagney@gnu.org>
9544
9545 Test PR java/1567 and PR java/1565.
9546 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
9547 * gdb.java/jmisc2.exp: Delete file.
9548
9549 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
9550
9551 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
9552
9553 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
9554
9555 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
9556 attach process.
9557
9558 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
9559
9560 * gdb.cp/pr-1553.exp: Remove.
9561
9562 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
9563
9564 * gdb.cp/pr-1553.cc: Remove.
9565 * gdb.cp/pr-1553.exp: Disable this test.
9566
9567 2004-06-20 Jim Blandy <jimb@redhat.com>
9568
9569 Fix PR testsuite/1680.
9570 * gdb.arch/i386-sse.exp: Properly quote curly braces in
9571 regular expressions.
9572
9573 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
9574
9575 Fix PR testsuite/1679.
9576 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
9577 Issue an UNSUPPORTED result instead.
9578
9579 2004-06-18 Jim Blandy <jimb@redhat.com>
9580
9581 * gdb.base/charset.exp: Only send a control-C if we see a new
9582 prompt and incomplete command.
9583
9584 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
9585
9586 * gdb.cp/pr-574.cc: Add copyright notice.
9587
9588 2004-06-17 Jim Blandy <jimb@redhat.com>
9589
9590 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
9591 cases where the regexp has no groups; this grabs random text from
9592 the previous test suite, whatever that was.
9593
9594 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
9595
9596 * gdb.cp/printmethod.cc: Add copyright notice.
9597
9598 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
9599
9600 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
9601
9602 2004-06-16 Andrew Cagney <cagney@gnu.org>
9603
9604 * gdb.base/signull.c: Update copyright. Include <string.h>.
9605 (bowler): Replace data_pointer with data_read
9606 and data_write cases. Add code_descriptor case.
9607 (zero, desc): New array and pointer.
9608 (data, code): Change to simple pointers.
9609 * gdb.base/signull.exp: Fix probe pattern matching a function
9610 descriptor SIGSEGV. Replace data_pointer with data_read and
9611 data_write tests.
9612
9613 2004-06-16 Andrew Cagney <cagney@gnu.org>
9614
9615 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
9616
9617 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
9618
9619 * gdb.base/long_long.c: Add copyright notice.
9620
9621 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
9622
9623 * gdb.base/long_long.exp: Remove reference to
9624 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
9625 to gdb_breakpoint and gdb_continue_to_breakpoint.
9626
9627 2004-06-14 Jim Blandy <jimb@redhat.com>
9628
9629 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
9630 endian case.
9631
9632 2004-06-14 Andrew Cagney <cagney@gnu.org>
9633
9634 * gdb.base/gcore.exp (capture_command_output): Delete the always
9635 passing tests containing inferior values.
9636 * gdb.base/ending-run.exp: Do not include the breakpoint address
9637 in the test message. Update copyright.
9638 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
9639 size in the test name, use gdb_test_multiple. Update copyright.
9640
9641 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
9642
9643 * gdb.cp/ref-types.cc: Add copyright notice.
9644
9645 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
9646
9647 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
9648 hp_aCC_compiler.
9649 * lib/compiler.cc: Likewise.
9650 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
9651 'set' commands. Log diagnostics for other lines. Set
9652 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
9653
9654 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
9655
9656 * gdb.cp/try_catch.cc: Add copyright notice.
9657
9658 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
9659
9660 * gdb.cp/userdef.cc: Add copyright notice.
9661
9662 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
9663
9664 * gdb.cp/virtfunc.cc: Add copyright notice.
9665
9666 2004-06-11 Randolph Chung <tausq@debian.org>
9667
9668 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
9669 problem.
9670
9671 2004-06-10 Andrew Cagney <cagney@gnu.org>
9672
9673 * lib/compiler.cc, lib/compiler.c: Append either
9674 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
9675 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
9676 instead of gcc-3-3.
9677
9678 2004-06-09 Andrew Cagney <cagney@gnu.org>
9679
9680 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
9681 gdb/1455, bug is specific to "long long" and "double".
9682
9683 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
9684 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
9685 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
9686 fixed.
9687
9688 2004-06-09 Andrew Cagney <cagney@gnu.org>
9689
9690 * gdb.base/structs.exp (test_struct_returns): Replace
9691 "return_value_unknown" and "finish_value_unknown" by
9692 "return_value_known" and "finish_value_known". Instead of
9693 "return_value_unknown" iff "finish_value_unknown", check
9694 "return_value_known" implies "finish_value_known".
9695
9696 2004-06-08 Martin Hunt <hunt@redhat.com>
9697
9698 * gdb.base/float.exp: Add pattern for mips targets.
9699
9700 2004-06-08 Randolph Chung <tausq@debian.org>
9701
9702 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
9703 message for unknown architectures more clear.
9704
9705 2004-06-08 Joel Brobecker <brobecker@gnat.com>
9706
9707 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
9708 start the execution of the program.
9709
9710 2004-06-07 Jim Blandy <jimb@redhat.com>
9711
9712 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
9713 * gdb.arch/i386-cpuid.h: New helper file.
9714
9715 2004-06-07 Randolph Chung <tausq@debian.org>
9716
9717 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
9718 has started.
9719
9720 2004-06-04 Roland McGrath <roland@redhat.com>
9721
9722 Fix PR gdb/1647.
9723 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
9724 differently to be robust to output buffering differences.
9725
9726 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
9727
9728 * gdb.threads/pthreads.exp: Update copyright years.
9729 (check_control_c): Change asynchronous 'after' to synchronous.
9730
9731 2004-06-04 Roland McGrath <roland@redhat.com>
9732
9733 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
9734 next gdb prompt.
9735
9736 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
9737
9738 Fix PR gdb/1636.
9739 * gdb.threads/manythreads.exp: Change asynchronous 'after'
9740 calls to synchronous.
9741
9742 2004-05-26 Jim Blandy <jimb@redhat.com>
9743
9744 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
9745
9746 2004-05-24 Randolph Chung <tausq@debian.org>
9747
9748 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
9749 * gdb.asm/pa.inc: New file.
9750
9751 2004-05-22 Mark Kettenis <kettenis@gnu.org>
9752
9753 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
9754
9755 2004-05-21 Joel Brobecker <brobecker@gnat.com>
9756 Daniel Jacobowitz <drow@mvista.com>
9757
9758 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
9759 GDB prompt.
9760
9761 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9762
9763 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
9764 setjmp/longjmp. Use sigaction instead of signal.
9765
9766 2004-05-19 J. Brobecker <brobecker@gnat.com>
9767 Michael Snyder <msnyder@redhat.com>
9768
9769 * gdb.threads/pthread_cond_wait.c: New file.
9770 * gdb.threads/pthread_cond_wait.exp: New testcase.
9771
9772 2004-05-13 Andrew Cagney <cagney@redhat.com>
9773
9774 * gdb.base/signull.exp, gdb.base/signull.c: New files.
9775 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
9776
9777 2004-05-11 Andrew Cagney <cagney@redhat.com>
9778
9779 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
9780 fixed but revealed gdb/1639.
9781
9782 2004-05-10 Andrew Cagney <cagney@redhat.com>
9783
9784 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
9785 func1" and "next to 2nd alarm", kernel bug avoided.
9786
9787 2004-05-10 Daniel Jacobowitz <dan@debian.org>
9788
9789 PR external/1568
9790 * gdb.base/bigcore.exp: Check the size of the dumped core file.
9791 XFAIL if it is smaller than bytes_allocated.
9792 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
9793 (main): Make chunks_allocated unsigned. Correct comment.
9794
9795 2004-05-07 Joel Brobecker <brobecker@gnat.com>
9796
9797 * gdb.arch/powerpc-aix-prologue.c: New file.
9798 * gdb.arch/powerpc-aix-prologue.exp: New file.
9799
9800 2004-05-07 Jim Blandy <jimb@redhat.com>
9801
9802 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
9803 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
9804
9805 2004-05-06 Joel Brobecker <brobecker@gnat.com>
9806
9807 * gdb.base/sep.exp: No longer setup_kfail when the program was
9808 built with dwarf2.
9809
9810 2004-05-05 Jim Ingham <jingham@apple.com>
9811
9812 * gdb.base/pending.exp: Make sure pending breakpoints
9813 preserve the ignore count.
9814
9815 2004-04-27 Jerome Guitton <guitton@gnat.com>
9816
9817 * i386-prologue.exp: Add testcase for jump instruction as first
9818 instruction of the real code.
9819 * i386-prologue.c (jump_at_beginning): New function.
9820
9821 2004-04-28 Mark Kettenis <kettenis@gnu.org>
9822
9823 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
9824 x86_64-*-*.
9825
9826 2004-04-28 Mark Kettenis <kettenis@gnu.org>
9827
9828 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
9829 i*86-*-*.
9830
9831 2004-04-25 Mark Kettenis <kettenis@gnu.org>
9832
9833 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
9834 expression that checks the return type.
9835
9836 2004-04-23 Andrew Cagney <cagney@redhat.com>
9837
9838 * gdb.base/call-sc.exp: New test of scalar call/return values.
9839 * gdb.base/call-sc.c: Ditto.
9840
9841 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9842
9843 * gdb.threads/manythreads.c: Reduce thread stack size.
9844
9845 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
9846
9847 * gdb.threads/manythreads.c: Add copyright notice.
9848
9849 2004-04-23 Andrew Cagney <cagney@redhat.com>
9850
9851 * gdb.base/siginfo.exp: Better handle step out of signal.
9852 * gdb.base/sigstep.exp: Ditto.
9853
9854 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
9855 Daniel Jacobowitz <drow@mvista.com>
9856
9857 * gdb.threads/manythreads.c: New testcase.
9858 * gdb.threads/manythreads.exp: Ditto.
9859
9860 2004-04-22 Jim Blandy <jimb@redhat.com>
9861
9862 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
9863 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
9864
9865 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
9866
9867 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
9868
9869 2004-04-21 Andrew Cagney <cagney@redhat.com>
9870
9871 * gdb.base/sigstep.c: New file.
9872 * gdb.base/sigstep.exp: New file.
9873
9874 2004-04-16 Joel Brobecker <brobecker@gnat.com>
9875
9876 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
9877 call to observer_notify_normal_stop.
9878
9879 2004-04-15 Andrew Cagney <cagney@redhat.com>
9880
9881 * gdb.base/siginfo.c: New file.
9882 * gdb.base/siginfo.exp: New file.
9883
9884 2004-04-12 J. Brobecker <brobecker@gnat.com>
9885
9886 * gdb.base/sep.exp: Fix typo in comment.
9887
9888 2004-04-12 J. Brobecker <brobecker@gnat.com>
9889
9890 * gdb.base/sep.c: New file.
9891 * gdb.base/sep-proc.c: New file.
9892 * gdb.base/sep.exp: New testcase.
9893
9894 2004-04-09 Mark Kettenis <kettenis@gnu.org>
9895
9896 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
9897 support.
9898
9899 2004-04-05 Andrew Cagney <cagney@redhat.com>
9900
9901 * gdb.base/sigaltstack.c: New file.
9902 * gdb.base/sigaltstack.exp: New file.
9903
9904 2004-04-04 Joel Brobecker <brobecker@gnat.com>
9905
9906 * gdb.base/foll-fork.exp: Update the expected output for
9907 "help set follow-fork-mode", to match a change that was made
9908 to the help of this variable on 2004-01-13.
9909
9910 2004-04-01 Joel Brobecker <brobecker@gnat.com>
9911
9912 * lib/ada.exp: Add copyright notice.
9913 * bar.ads: Likewise.
9914 * bar.adb: Likewise.
9915 * null_record.adb: Likewise.
9916 * null_record.exp: Likewise.
9917 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
9918
9919 2004-04-01 Joel Brobecker <brobecker@gnat.com>
9920
9921 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
9922 * configure: Regenerate.
9923
9924 2004-04-01 Joel Brobecker <brobecker@gnat.com>
9925
9926 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
9927 to build the application. Remove the message printed when in
9928 verbose mode, redundant with the UNSUPPORTED message above.
9929
9930 2004-03-31 Joel Brobecker <brobecker@gnat.com>
9931
9932 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
9933 * gdb.ada (null_record.exp): New testcase.
9934
9935 2004-03-31 Joel Brobecker <brobecker@gnat.com>
9936
9937 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
9938
9939 2004-03-31 Joel Brobecker <brobecker@gnat.com>
9940
9941 * gdb.ada: New subdirectory.
9942 * gdb.ada/Makefile.in: New file.
9943 * gdb.ada/gnat_ada.gpr.in: New file.
9944
9945 2004-03-31 Joel Brobecker <brobecker@gnat.com>
9946
9947 * lib/ada.exp: New file.
9948
9949 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
9950
9951 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
9952 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
9953
9954 2004-03-22 Andrew Cagney <cagney@redhat.com>
9955
9956 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
9957 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
9958 Problem identified by Ulrich Weigand.
9959
9960 2004-03-17 David Carlton <carlton@kealia.com>
9961
9962 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
9963 PR c++/826.
9964
9965 2004-03-16 Roland McGrath <roland@redhat.com>
9966
9967 * gdb.base/auxv.exp: New file.
9968 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
9969
9970 2004-03-12 David Carlton <carlton@kealia.com>
9971
9972 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
9973 * gdb.cp/pr-1553.cc: Ditto.
9974 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
9975 pass branch.
9976
9977 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
9978
9979 * gdb.cp/templates.exp: Accept more template types.
9980
9981 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
9982
9983 From Corinna Vinschen with modifications.
9984 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
9985 local variable obj_with_enum.
9986 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
9987 results with obj_with_enum.
9988
9989 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
9990
9991 * gdb.cp/classes.cc: New file, copied from misc.cc.
9992 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
9993
9994 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
9995
9996 * gdb.cp/misc.cc: Add copyright notice.
9997
9998 2004-03-05 David Carlton <carlton@kealia.com>
9999
10000 * gdb.cp/rtti.exp: Add 'print *obj3' test.
10001 * gdb.cp/rtti.h: Update copyright.
10002 (namespace n2::n3): New.
10003 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
10004 (n2::n3::func3): New.
10005 (main): Call n2::n3::func3.
10006 * gdb.cp/rtti2.cc: Update copyright.
10007 (n2::create3): New.
10008
10009 2004-03-04 Mark Kettenis <kettenis@gnu.org>
10010
10011 * gdb.asm/openbsd.inc: Fix typo.
10012
10013 2004-03-03 Fred Fish <fnf@redhat.com>
10014
10015 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
10016 "val" instead of unused "size". Update copyright year.
10017
10018 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
10019
10020 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
10021 to use unsigned char.
10022 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
10023 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
10024
10025 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
10026
10027 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
10028 line of output.
10029
10030 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
10031
10032 * gdb.base/relocate.c (dummy): Initialize.
10033
10034 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
10035
10036 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
10037 a breakpoint at exit.
10038
10039 2004-02-27 Fred Fish <fnf@redhat.com>
10040
10041 * gdb.base/chng-syms.exp: Add expect condition to match failing
10042 case that isn't a timeout.
10043
10044 2004-02-27 Andrew Cagney <cagney@redhat.com>
10045
10046 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
10047 support.
10048
10049 2004-02-26 Fred Fish <fnf@redhat.com>
10050
10051 * gdb.arch/gdb1431.c: Remove.
10052 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
10053 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
10054 of "until" incorrectly.
10055
10056 2004-02-26 J. Brobecker <brobecker@gnat.com>
10057
10058 * gdb.cp/class2.cc (empty): New class.
10059 (refer): New function.
10060 (main): Declare an object of type empty and use it.
10061 * gdb.cp/class2.exp: Print the value of an object of type empty.
10062
10063 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
10064
10065 * gdb.base/langs.exp: Update query string to match the
10066 new nquery format used for pending breakpoints.
10067
10068 2004-02-26 Andrew Cagney <cagney@redhat.com>
10069
10070 Fix PR i18n/1570.
10071 * gdb.base/charset.c: Update copyright notice.
10072 (main, init_string): Remove the escape character '\e' tests.
10073 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
10074 * gdb.base/charset.exp (valid_host_charset): Ditto.
10075 * gdb.base/setvar.exp: Ditto.
10076
10077 2004-02-24 Andrew Cagney <cagney@redhat.com>
10078
10079 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
10080 mmapped data in core file" PASS and FAIL messages consistent.
10081
10082 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
10083 setting a breakpoint. Work around PR java/1565.
10084
10085 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
10086
10087 * lib/gdb.exp (gdb_breakpoint): Update query string to match
10088 new nquery format.
10089 * gdb.base/pending.exp: Ditto.
10090
10091 2004-02-22 Mark Kettenis <kettenis@gnu.org>
10092
10093 * configure.in: Run stabs tests on *BSD.
10094 * configure: Regenerated.
10095
10096 2004-02-21 Mark Kettenis <kettenis@gnu.org>
10097
10098 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
10099
10100 2004-02-20 Fred Fish <fnf@redhat.com>
10101
10102 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
10103 blank in test for "returns short", for consistency with other
10104 "returns xxx" tests. Update copyright year.
10105
10106 2004-02-19 Fred Fish <fnf@redhat.com>
10107
10108 New testcase for PR breakpoint/1558.
10109 * gdb.arch/gdb1558.exp: New file.
10110 * gdb.arch/gdb1558.c: New file.
10111
10112 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
10113
10114 * gdb.base/nodebug.exp: Fix typo.
10115
10116 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10117
10118 Committed by Jim Blandy <jimb@redhat.com>.
10119
10120 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
10121
10122 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
10123
10124 * gdb.base/float.exp: Support s390*-*-* targets.
10125
10126 2004-02-17 Adam Fedor <fedor@gnu.org>
10127
10128 * gdb.base/gdb1555.exp: New file.
10129 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
10130
10131 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
10132
10133 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
10134
10135 2004-02-16 Fred Fish <fnf@redhat.com>
10136
10137 * gdb.arch/gdb1291.c: Remove
10138 * gdb.arch/gdb1291.s: New test input file.
10139 * gdb.arch/gdb1291.exp: Expand test to check case that should not
10140 fail. Test for correct result, known incorrect result, other
10141 failures and timeouts.
10142
10143 2004-02-16 Andrew Cagney <cagney@redhat.com>
10144
10145 * gdb.base/bigcore.exp: New file.
10146 * gdb.base/bigcore.c: New file.
10147
10148 2004-02-13 Andrew Cagney <cagney@redhat.com>
10149
10150 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
10151 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
10152 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
10153 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
10154 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
10155 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
10156 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
10157 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
10158 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
10159 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
10160
10161 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
10162
10163 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
10164 executed is an alloc instruction.
10165
10166 2004-02-11 David Carlton <carlton@kealia.com>
10167
10168 * gdb.cp/breakpoint.exp: New.
10169 * gdb.cp/breakpoint.cc: New.
10170
10171 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
10172
10173 Partial fix for PR gdb/1543.
10174 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
10175 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
10176 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
10177 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
10178 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
10179 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
10180 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
10181 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
10182 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
10183 to bug-gdb@prep.ai.mit.edu .
10184 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
10185 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
10186 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
10187 Likewise.
10188
10189 2004-02-10 Andrew Cagney <cagney@redhat.com>
10190
10191 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
10192 using gdb_internal_error_resync.
10193
10194 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
10195
10196 * gdb.threads/thread-specific.exp: Stop early if no threads are
10197 found.
10198
10199 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
10200
10201 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
10202
10203 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
10204
10205 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
10206 breakpoints.
10207
10208 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
10209
10210 * config/sim.exp (gdb_load): Handle $arg == "".
10211 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
10212 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
10213
10214 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
10215
10216 * gdb.base/maint.exp: Update test to reflect
10217 obstack changes.
10218
10219 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
10220
10221 * gdb.base/pendshr.c (pendfunc): New function that calls
10222 pendfunc1.
10223 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
10224
10225 2004-02-04 Fred Fish <fnf@redhat.com>
10226
10227 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
10228 function symbols and update copyright years.
10229 * gdb.arch/gdb1291.c: Ditto.
10230
10231 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
10232
10233 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
10234
10235 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
10236
10237 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
10238
10239 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
10240
10241 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
10242
10243 2004-02-02 Fred Fish <fnf@redhat.com>
10244
10245 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
10246 remote targets. Update copyright years.
10247
10248 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
10249
10250 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
10251 support.
10252 * gdb.base/langs.exp: Fix test which attempts to create
10253 breakpoint on non-existent function to handle new pending
10254 support.
10255 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
10256 a breakpoint.
10257 * gdb.base/pending.exp: New test.
10258 * gdb.base/pending.c: New file.
10259 * gdb.base/pendshr.c: Ditto.
10260
10261 2004-02-02 David Carlton <carlton@kealia.com>
10262
10263 * gdb.cp/overload.exp: Add overloadNamespace tests.
10264 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
10265 (overloadNamespace, XXX): New.
10266 (main): Call XXX::marker2.
10267
10268 2004-02-01 Fred Fish <fnf@redhat.com>
10269
10270 * gdb.base/dump.exp: Use runto_main instead of "runto main".
10271 * gdb.base/finish.exp: Ditto.
10272 * gdb.base/gcore.exp: Ditto.
10273 * gdb.base/huge.exp: Ditto.
10274 * gdb.base/info-proc.exp: Ditto.
10275 * gdb.base/return2.exp: Ditto.
10276 * gdb.threads/gcore-thread.exp: Ditto.
10277
10278 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
10279
10280 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
10281
10282 2004-02-01 Mark Kettenis <kettenis@gnu.org>
10283
10284 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
10285 that opening the file succeeds on OpenBSD.
10286
10287 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
10288
10289 * gdb.threads/thread-specific.c: New file.
10290 * gdb.threads/threads-specific.exp: New test script.
10291 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
10292 to expect_out.
10293
10294 2004-02-01 Mark Kettenis <kettenis@gnu.org>
10295
10296 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
10297 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
10298 only on the "print_small_structs from print_long_arg_list" test.
10299
10300 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
10301
10302 * gdb.base/completion.exp: Kill a stray backslash.
10303
10304 From Jim Ingham <jingham@apple.com>:
10305 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
10306 agrees with the result from sending a tab.
10307
10308 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
10309
10310 * gdb.base/chng-syms.exp: Remove stray newline.
10311
10312 2004-01-31 Mark Kettenis <kettenis@gnu.org>
10313
10314 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
10315 *-*-openbsd*.
10316 * gdb.asm/openbsd.inc: New file.
10317
10318 2004-01-30 Mark Kettenis <kettenis@gnu.org>
10319
10320 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
10321 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
10322 *-*solaris2*. Remove commented out default settings for
10323 asm-flags. Replace gdb_compile with target_link.
10324
10325 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
10326
10327 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
10328 for all tests. Remove old hp-ux and cygnus xfail cases.
10329
10330 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
10331
10332 * gdb.base/chng-syms.exp: New file.
10333 * gdb.base/chng-syms.c: New file.
10334
10335 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
10336
10337 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
10338 Provide arms for current output in all my configurations.
10339
10340 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
10341
10342 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
10343 * lib/compiler.cc: Likewise.
10344 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
10345 get the right preprocessor. Eval the output directly. Remove
10346 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
10347 hp_f77_compiler and hp_f90_compiler completely.
10348 (gdb_preprocess): Delete.
10349 (get_compiler): Delete.
10350
10351 2004-01-24 Mark Kettenis <kettenis@gnu.org>
10352
10353 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
10354 <string.h>.
10355
10356 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
10357
10358 * gdb.mi/mi-stack.exp: Update copyright.
10359
10360 2004-01-23 David Carlton <carlton@kealia.com>
10361
10362 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
10363 test for cp_lookup_transparent_type.
10364 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
10365 call them.
10366
10367 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
10368
10369 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
10370 after -var-update.
10371
10372 2004-01-23 David Carlton <carlton@kealia.com>
10373
10374 * gdb.cp/namespace.cc (C::ensureRefs): New.
10375 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
10376
10377 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
10378
10379 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
10380 case "-stack-list-locals 2".
10381 * gdb.mi/mi-var-child.exp: Test for case
10382 "-var-list-children --all-values NAME".
10383
10384 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
10385
10386 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
10387
10388 2004-01-18 Mark Kettenis <kettenis@gnu.org>
10389
10390 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
10391 used with gdb_test_multiple.
10392
10393 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
10394 read at address 0. This fixes PR testsuite/1504.
10395
10396 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
10397
10398 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
10399 Remove downloading, guessing the host executable, the calls to
10400 gdb_file_cmd and gdb_target_cmd, and "load" support.
10401 (infer_host_exec): New function broken out from gdb_load.
10402 (gdb_load): New wrapper for gdbserver_gdb_load.
10403 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
10404 gdb_target_cmd. Use -target-select.
10405 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
10406 Download binaries to the host. Clear last_mi_remote_file when
10407 we load a new binary.
10408 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
10409 call gdbserver_gdb_load and mi_gdb_target_cmd.
10410
10411 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
10412
10413 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
10414 type patterns.
10415
10416 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
10417
10418 * gdb.cp/templates.exp: Fix typo in test name of
10419 "print Foo<volatile char*>::foo".
10420
10421 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
10422
10423 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
10424
10425 2004-01-16 Ben Elliston <bje@wasabisystems.com>
10426
10427 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
10428 (clean mostlyclean): Remove empty rm.
10429
10430 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
10431
10432 * gdb.base/setvar.exp: Add copyright years.
10433
10434 2004-01-14 David Carlton <carlton@bactrian.org>
10435
10436 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
10437 PR c++/1511 and update coment.
10438 * gdb.cp/templates.exp: Update patterns to match current output.
10439 If changes involve something other than whitespace, KFAIL
10440 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
10441
10442 2004-01-14 David Carlton <carlton@kealia.com>
10443
10444 * gdb.cp/namespace.exp: Add tests involving classes defined within
10445 namespaces.
10446 * gdb.cp/namespace.cc (C::CClass): New.
10447 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
10448
10449 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
10450
10451 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
10452 what debug info we have. Print a better message if something goes
10453 wrong while producing the separate debug info file.
10454
10455 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
10456
10457 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
10458
10459 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
10460
10461 * gdb.base/callfuncs.c: Add copyright notice.
10462
10463 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
10464
10465 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
10466 inheritance. PR gdb/1498, PR gcc/13539.
10467
10468 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
10469
10470 * gdb.threads/gcore-thread.exp: Prefix name of binary with
10471 test specific name.
10472 * gdb.mi/gdb669.exp: Ditto.
10473 * gdb.mi/mi-pthreads.exp: Ditto.
10474 * gdb.mi/mi1-pthreads.exp: Ditto.
10475 * gdb.mi/mi2-pthreads.exp: Ditto.
10476
10477 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
10478
10479 * gdb.cp/member-ptr.cc: Add copyright notice.
10480
10481 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
10482
10483 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
10484 some patterns for recent versions of gcc and hpacc. Delete
10485 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
10486 Delete tests that access a NULL pointer-to-member-data. This
10487 script is still disabled for gcc.
10488
10489 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
10490
10491 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
10492 escaped correctly.
10493
10494 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
10495
10496 * gdb.base/sepdebug.exp: New file.
10497 * gdb.base/sepdebug.c: New file.
10498 * lib/gdb.exp (separate_debug_filename): New procedure.
10499 (gdb_gnu_strip_debug): New procedure.
10500
10501 2004-01-12 Andrew Cagney <cagney@redhat.com>
10502
10503 * gdb.mi/ChangeLog: Delete file. Renamed to ...
10504 * gdb.mi/ChangeLog-1999-2003: New file.
10505
10506 2004-01-12 Andrew Cagney <cagney@redhat.com>
10507
10508 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
10509 "Renaming a directory to a non-empty directory returns ENOTEMPTY
10510 or EEXIST", treat EBUSY as an XFAIL.
10511
10512 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
10513
10514 * gdb.base/scope.exp: Remove obsolete setup_xfail for
10515 hp_cc_compiler.
10516
10517 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
10518
10519 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
10520 decorations.
10521
10522 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
10523
10524 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
10525 and "(aCC)" decorations. Remove obsolete doco about old
10526 test results.
10527
10528 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
10529
10530 * gdb.cp/exception.exp: Fix typo in doco.
10531
10532 2004-01-09 Mark Kettenis <kettenis@gnu.org>
10533
10534 * gdb.base/gdb1476.exp: Fix typo.
10535
10536 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
10537
10538 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
10539 file.
10540
10541 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
10542
10543 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
10544 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
10545 Use gdb_compile. Remove restriction on gcc. Add some patterns
10546 for recent version of gdb. Delete second half, which was a copy
10547 of the first half with different build flags. This test is
10548 still disabled because it is still not ready for production.
10549
10550 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
10551
10552 * gdb.cp/exception.cc: Add copyright notice.
10553 * gdb.cp/exception.exp: Add a notice that this file is broken
10554 because of line number changes caused by addition of copyright
10555 notice.
10556
10557 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
10558
10559 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
10560 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
10561
10562 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
10563
10564 * gdb.cp/classes.exp: Accept gnu abi 2.
10565 * gdb.cp/derivation.exp: Likewise.
10566 * gdb.cp/overload.exp: Likewise.
10567 * gdb.cp/virtfunc.exp: Likewise.
10568
10569 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
10570
10571 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
10572 semicolon after end of function.
10573
10574 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10575
10576 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
10577 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
10578 boilerplate code for compiling and running the program under
10579 test. Add some string method tests.
10580
10581 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10582
10583 * gdb.cp/bs15503.cc: Add copyright notice.
10584 * gdb.cp/bs15503.exp: Adjust line number.
10585
10586 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10587
10588 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
10589 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
10590
10591 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10592
10593 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
10594 hp_cc_compiler.
10595
10596 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10597
10598 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
10599 * gdb.cp/ctti.exp: Use the marker instead of "next".
10600 With gcc, run further before bailing.
10601
10602 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10603
10604 * gdb.cp/cttiadd.cc: Add copyright notice.
10605 * gdb.cp/cttiadd1.cc: Likewise.
10606 * gdb.cp/cttiadd2.cc: Likewise.
10607 * gdb.cp/cttiadd3.cc: Likewise.
10608
10609 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10610
10611 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
10612 Use gdb_test, gdb_test_multiple. Use floating-point values that
10613 have exact representations in IEEE-ish formats.
10614
10615 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10616
10617 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
10618 compilers. Delete duplicate call to get_compiler_info.
10619 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
10620 * gdb.base/volatile.exp: Likewise.
10621
10622 2004-01-07 Mark Kettenis <kettenis@gnu.org>
10623
10624 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
10625 memory at address 0.
10626
10627 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
10628
10629 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
10630 to test for hp-ux assembler. Fix copyright years.
10631
10632 2004-01-07 Andrew Cagney <cagney@redhat.com>
10633
10634 * gdb.base/fileio.c (strerrno): Add "EBUSY".
10635
10636 2004-01-07 Andrew Cagney <cagney@redhat.com>
10637
10638 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
10639 when creating the read-only file. From analysis by Roland McGrath
10640 and Elena Zannoni.
10641
10642 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
10643
10644 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
10645
10646 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
10647
10648 * gdb.base/cvexpr.c: Be type-safe with function pointers and
10649 data pointers.
10650
10651 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
10652
10653 * gdb.cp/m-static.exp: Compile one source file at a time.
10654 Delete unused call to get_compiler_info.
10655
10656 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
10657
10658 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
10659 * gdb.base/call-rt-st.exp: Likewise.
10660 * gdb.base/nodebug.exp: Likewise.
10661 * gdb.base/volatile.exp: Likewise.
10662 * gdb.cp/ref-types.exp: Likewise.
10663 * gdb.cp/templates.exp: Likewise.
10664
10665 2004-01-05 Mark Kettenis <kettenis@gnu.org>
10666
10667 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
10668
10669 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
10670
10671 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
10672 hppa*-hp-hpux*.
10673
10674 2004-01-04 Mark Kettenis <kettenis@gnu.org>
10675
10676 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
10677 x86_64-*-*.
10678
10679 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
10680 sparc64-*-* and sparc*-solaris2*.
10681
10682 2004-01-04 Mark Kettenis <kettenis@gnu.org>
10683
10684 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
10685 return ${tests}" test. The ${tests} already mentions the
10686 filename.
10687
10688 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
10689
10690 * gdb.cp/local.exp: Accept gcc abi 2.
10691
10692 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
10693
10694 * gdb.cp/templates.exp: Accept gcc abi 2.
10695
10696 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
10697
10698 * lib/compiler.cc: Remove supports_template_debugging.
10699 * gdb.cp/templates.exp: Do not test supports_template_debugging.
10700
10701 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
10702
10703 * gdb.cp/namespace.exp: Accept gcc abi 2.
10704
10705 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
10706
10707 * gdb.cp/method.exp: Accept gcc abi 2.
10708
10709 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
10710
10711 * gdb.cp/classes.exp: Generate identical results as old version.
10712 * gdb.cp/derivation.exp: Likewise.
10713 * gdb.cp/overload.exp: Likewise.
10714 * gdb.cp/virtfunc.exp: Likewise.
10715
10716 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
10717
10718 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
10719 mysterious bug with sourceware version of expect.
10720
10721 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
10722
10723 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
10724 current versions of gcc, including gcc abi 2. Remove gratuitous
10725 restart of test program. Use gdb_test_multiple and gdb_test for
10726 all tests. Add patterns to xfail missing "const" in "const char *"
10727 and kfail PR gdb/1155.
10728
10729 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
10730
10731 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
10732 current versions of gcc, including gcc abi 2. Remove gratuitous
10733 restart of test program. Use gdb_test_multiple and gdb_test for
10734 all tests. Add patterns to kfail PR gdb/1498.
10735
10736 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
10737
10738 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
10739 current versions of gcc, including gcc abi 2. Use "breakpoint"
10740 and "continue" instead of restarting the target program. Use
10741 gdb_test_multiple and gdb_test for all tests.
10742
10743 2004-01-01 Mark Kettenis <kettenis@gnu.org>
10744
10745 * gdb.asm/asm-source.exp: Update copyright year. Link statically
10746 for *-*-solaris2*.
10747
10748 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
10749
10750 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
10751 current versions of gcc, including gcc abi 2. Use "breakpoint"
10752 and "continue" instead of restarting the target program several
10753 times. Use gdb_test_multiple and gdb_test for all tests.
10754
10755 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
10756
10757 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
10758 source files.
10759
10760 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
10761
10762 * gdb.base/environ.exp: Handle compiling test case from multiple
10763 source files.
10764
10765 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
10766
10767 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
10768
10769 2003-12-17 Jim Blandy <jimb@redhat.com>
10770
10771 * gdb.base/freebpcmd.c: Add copyright notice.
10772
10773 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
10774
10775 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
10776
10777 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
10778
10779 2003-12-13 Jim Blandy <jimb@redhat.com>
10780
10781 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
10782
10783 2003-12-12 Kevin Buettner <kevinb@redhat.com>
10784
10785 * gdb.asm/frv.inc: New file.
10786 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
10787
10788 2003-12-09 Fred Fish <fnf@redhat.com>
10789
10790 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
10791 functions to break1.c and leave prototypes behind. Add more
10792 "set breakpoint NN here" comments.
10793 * gdb.base/break1.c: New file.
10794
10795 * gdb.base/break.exp: Handle compiling test case from multiple
10796 source files and change source file references as needed.
10797 * gdb.base/completion.exp: Ditto.
10798 * gdb.base/condbreak.exp: Ditto.
10799 * gdb.base/define.exp: Ditto.
10800 * gdb.base/ena-dis-br.exp: Ditto.
10801 * gdb.base/info-proc.exp: Ditto.
10802 * gdb.base/maint.exp: Ditto.
10803 * gdb.base/until.exp: Ditto.
10804
10805 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
10806 hardcoded line numbers.
10807 * gdb.base/define.exp: Ditto.
10808 * gdb.base/ena-dis-br.exp: Ditto.
10809 * gdb.base/maint.exp: Ditto.
10810 * gdb.base/until.exp: Ditto.
10811
10812 * gdb.base/completion.exp: Use "break1" for completion tests since
10813 "break" is no longer a unique prefix.
10814
10815 2003-12-06 Andrew Cagney <cagney@redhat.com>
10816
10817 * gdb.base/structs.exp (test_struct_returns): When applicable, set
10818 "return_value_unimplemented". When an unimplemented struct return
10819 architecture, report incorrect values as a KFAIL
10820
10821 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
10822
10823 * gdb.cp/rtti.exp: Accept new wording of warning from
10824 cp_lookup_rtti_type.
10825
10826 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
10827
10828 Partial fix for PR testsuite/1456.
10829 * gdb.base/scope.exp (test_at_main): Replace references to
10830 gcc_compiled with calls to test_compiler_info.
10831 (test_at_foo): Likewise.
10832 (test_at_bar): Likewise.
10833
10834 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
10835
10836 Partial fix for PR testsuite/1456.
10837 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
10838 to test_compiler_info.
10839
10840 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
10841
10842 * gdb.base/so-impl-ld.exp: Update copyright notice.
10843
10844 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
10845
10846 Partial fix for PR testsuite/1456.
10847 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
10848 to test_compiler_info.
10849
10850 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
10851
10852 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
10853 from current versions of gdb. Clean up regular expressions.
10854 Delete redundant timeout case.
10855
10856 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
10857
10858 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
10859 from current versions of gdb. Clean up regular expressions.
10860 Delete redundant timeout case.
10861
10862 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
10863
10864 Partial fix for PR testsuite/1456.
10865 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
10866 gcc_compiled with call to test_compiler_info.
10867
10868 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
10869
10870 Partial fix for PR testsuite/1456.
10871 * gdb.base/list.exp (test_list_function): Delete unused declaration
10872 of gcc_compiled.
10873
10874 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
10875
10876 Partial fix for PR testsuite/1456.
10877 * gdb.base/complex.exp: Replace reference to gcc_compiled with
10878 call to test_compiler_info.
10879
10880 2003-11-29 Mark Kettenis <kettenis@gnu.org>
10881
10882 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
10883 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
10884 it to create the appropriate note.inc.
10885 * gdb.asm/asmsrc1.s: Include "note.inc".
10886 * gdb.asm/netbsd.inc: New file.
10887 * gdb.asm/empty.inc: New file.
10888
10889 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
10890
10891 Partial fix for PR testsuite/1456.
10892 * gdb.base/constvars.exp: Replace references to gcc_compiled with
10893 calls to test_compiler_info.
10894
10895 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
10896
10897 Partial fix for PR testsuite/1456.
10898 * gdb.base/volatile.exp: Replace references to gcc_compiled with
10899 calls to test_compiler_info.
10900
10901 2003-11-27 Mark Kettenis <kettenis@gnu.org>
10902
10903 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
10904 pattern for the KFAILs.
10905
10906 2003-11-25 Adam Fedor <fedor@gnu.org>
10907
10908 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
10909 * gdb.objc/objcdecode.m: New file.
10910
10911 2003-11-25 Adam Fedor <fedor@gnu.org>
10912
10913 * gdb.objc/nondebug.exp: Test for PR objc/1236.
10914 * gdb.objc/nondebug.m: New file.
10915
10916 2003-11-26 Ben Elliston <bje@wasabisystems.com>
10917
10918 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
10919 NetBSD as it does on FreeBSD. Modelled on a similar change by
10920 Mark Kettenis on 2003-05-30.
10921 (link-flags): Set to "--entry _start" regardless of target.
10922 Special linker flags are to be appended to $link-flags.
10923 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
10924
10925 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
10926
10927 * gdb.cp/method.exp: Accept output of new demangler.
10928
10929 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
10930
10931 * gdb/class2.exp: New file.
10932 * gdb/class2.cc: New file.
10933
10934 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
10935
10936 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
10937 of new demangler.
10938
10939 2003-11-23 Mark Kettenis <kettenis@gnu.org>
10940
10941 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
10942 of gdb_test "run".
10943
10944 2003-11-23 Mark Kettenis <kettenis@gnu.org>
10945
10946 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
10947 "continue" into "run".
10948
10949 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
10950
10951 Partial fix for PR testsuite/1456.
10952 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
10953 call to test_compiler_info.
10954 * gdb.cp/ctti.exp: Likewise.
10955 * gdb.cp/derivation.exp: Likewise.
10956 * gdb.cp/member-ptr.exp: Likewise.
10957 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
10958 reference to gcc_compiled.
10959
10960 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
10961
10962 Fix PR testsuite/1463.
10963 * gdb.base/structs.exp (start_structs_test): Call
10964 get_debug_format before using the debug format.
10965
10966 2003-11-22 Andrew Cagney <cagney@redhat.com>
10967
10968 * lib/gdb.exp (gdb_test_multiple): Add simple example.
10969 * gdb.base/structs.exp: Use gdb_test_multiple.
10970
10971 2003-11-20 Andrew Cagney <cagney@redhat.com>
10972
10973 * gdb.base/structs.exp: Handle and recover from internal errors.
10974 Replace "foo${n}" with "foo<n>" in test messages.
10975
10976 * gdb.base/structs.exp: Update copyright. Rewrite.
10977 * gdb.base/structs.c: Update copyright. Rewrite.
10978
10979 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
10980 resync count exceeded.
10981
10982 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
10983 from the internal error.
10984 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
10985 Original from Jim Blandy.
10986 (gdb_test_multiple): Use gdb_internal_error_resync.
10987
10988 2003-11-19 Andrew Cagney <cagney@redhat.com>
10989
10990 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
10991 KFAIL.
10992
10993 2003-11-17 Mark Kettenis <kettenis@gnu.org>
10994
10995 New testcase for PR backtrace/1435.
10996 * gdb.arch/i386-unwind.exp: New file.
10997 * gdb.arch/i386-unwind.c: New file.
10998
10999 2003-11-17 Andrew Cagney <cagney@redhat.com>
11000
11001 * lib/gdb.exp (compiler_info): New global.
11002 (test_compiler_info): New function.
11003 (get_compiler_info): Set compiler_info.
11004 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
11005 "compiler_info" to gcc-<major>-<minor>.
11006
11007 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
11008
11009 * gdb.trace/configure: Remove.
11010
11011 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
11012
11013 * gdb.base/break.c: Add comments to aid finding line numbers for
11014 breakpoints.
11015 * gdb.base/break.exp: Remove all references to explicit line
11016 numbers.
11017
11018 2003-11-11 Nick Clifton <nickc@redhat.com>
11019
11020 * gdb.base/shreloc.exp: Do not run for targets which do not
11021 support shared objects.
11022
11023 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
11024
11025 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
11026 Don't run tests if nofileio flag is given.
11027
11028 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
11029
11030 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
11031 as well as 'Watchpoint'.
11032
11033 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
11034
11035 Reported by Jim Ingham <jingham@apple.com>:
11036 * gdb.base/annota1.exp: Match at least one occurrence of the
11037 signal handler annotation.
11038
11039 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
11040
11041 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
11042 as well as 'Watchpoint'.
11043
11044 2003-11-05 Michael Chastain <mec@shout.net>
11045
11046 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
11047
11048 2003-11-03 Kris Warkentin <kewarken@qnx.com>
11049
11050 * gdb.arch/gdb1291.c: New test file.
11051 * gdb.arch/gdb1291.exp: New test script.
11052 * gdb.arch/gdb1431.c: New test file.
11053 * gdb.arch/gdb1431.exp: New test script.
11054
11055 2003-10-22 Michael Chastain <mec@shout.net>
11056
11057 * gdb.mi/pthreads.c: Add copyright notice.
11058
11059 2003-10-22 Michael Chastain <mec@shout.net>
11060
11061 * gdb.threads/pthreads.c: Add copyright notice.
11062
11063 2003-10-20 Michael Chastain <mec@shout.net>
11064
11065 * gdb.base/gdb1056.exp: New test script.
11066
11067 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
11068
11069 * gdb.threads/killed.exp: Use gdb_run_cmd.
11070
11071 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
11072
11073 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
11074 create a core file.
11075 * gdb.threads/gcore-thread.exp: Likewise.
11076
11077 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
11078
11079 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
11080 type, based on char type.
11081 (struct bit_flags_short_t): New bitfield type, based on short type.
11082 (init_bit_flags_char): New fuction.
11083 (init_bit_flags_short): Ditto.
11084 (print_bit_flags_char): Ditto.
11085 (print_bit_flags_short): Ditto.
11086 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
11087
11088 2003-10-11 Michael Chastain <mec@shout.net>
11089
11090 * gdb.base/call-rt-st.exp: Update copyright year.
11091
11092 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
11093
11094 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
11095 * gdb.disasm/sh3.s: Ditto.
11096
11097 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
11098
11099 * gdb.threads/switch-threads.exp: New test.
11100 * gdb.threads/switch-threads.c: New source file.
11101
11102 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
11103
11104 * gdb.base/ending-run.exp: Add sh specific case.
11105
11106 2003-10-06 Andrew Cagney <cagney@redhat.com>
11107
11108 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
11109 * gdb.disasm/mn10200.exp: Delete obsolete file.
11110
11111 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
11112
11113 * ChangeLog: Correct an entry command.exp -> commands.exp.
11114 * gdb.base/commands.exp (bp_deleted_in_command_test)
11115 (temporary_breakpoint_commands): Check noargs.
11116
11117 2003-09-25 David Carlton <carlton@kealia.com>
11118
11119 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
11120 of some print tests, where appropriate. Add tests for C::D::cd,
11121 E::ce, F::cXfX, G::XgX.
11122 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
11123
11124 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
11125
11126 * lib/java.exp (java_init): Import target_alias before using it.
11127
11128 2003-09-25 David Carlton <carlton@kealia.com>
11129
11130 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
11131
11132 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
11133
11134 * gdb.base/selftest.exp: Accomodate more instruction reordering
11135 weirdness.
11136
11137 2003-09-17 Michael Chastain <mec@shout.net>
11138
11139 * gdb.cp/gdb1355.exp: New file.
11140 * gdb.cp/gdb1355.c: New file.
11141
11142 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
11143
11144 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
11145 * gdb.asm/sh.inc: New file.
11146
11147 2003-09-11 David Carlton <carlton@kealia.com>
11148
11149 * gdb.cp/namespace.exp: Add tests for namespace types.
11150 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
11151 (test_namespace): New.
11152
11153 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
11154
11155 * gdb.base/relocate.exp: Handle new gdb output at startup.
11156 * gdb.stabs/weird.exp: Ditto.
11157
11158 2003-09-08 Michael Chastain <mec@shout.net>
11159
11160 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
11161
11162 2003-09-07 Michael Chastain <mec@shout.net>
11163
11164 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
11165 'parse error'.
11166
11167 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
11168
11169 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
11170
11171 2003-08-30 Michael Chastain <mec@shout.net>
11172
11173 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
11174 * gdb.gdb/observer.exp: Ditto.
11175 * gdb.gdb/xfullpath.exp: Ditto.
11176
11177 2003-08-29 Mark Kettenis <kettenis@gnu.org>
11178
11179 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
11180 *-*-*bsd*.
11181
11182 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
11183
11184 * gdb.base/dump.exp: Skip for ia64.
11185
11186 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
11187
11188 * gdb.asm/asm-source.exp: Add ia64 support.
11189 * gdb.asm/ia64.inc: New file.
11190
11191 2003-08-22 Michael Chastain <mec@shout.net>
11192
11193 * gdb.cp: New directory.
11194 * gdb.cp/*: Copy from gdb.c++/*.
11195 * gdb.c++/*: Remove.
11196 * Makefile.in: Change gdb.c++ to gdb.cp.
11197 * configure.in: Ditto.
11198 * configure: Regnerate.
11199
11200 2003-08-18 Mark Kettenis <kettenis@gnu.org>
11201
11202 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
11203 * gdb.arch/i386-prologue.c (gdb1338): Add function.
11204
11205 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
11206
11207 * mi-var-display.exp (-var-list-children weird): Accept function
11208 pointers with argument types.
11209 * mi1-var-display.exp (-var-list-children weird): Likewise.
11210 * mi2-var-display.exp (-var-list-children weird): Likewise.
11211
11212 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
11213
11214 * gdb.base/annota3.exp: Add missing newline.
11215
11216 2003-08-06 Michael Chastain <mec@shout.net>
11217
11218 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
11219
11220 2003-08-12 Michael Snyder <msnyder@redhat.com>
11221
11222 * gdb.base/float.exp: Add test for SH.
11223
11224 2003-08-10 Mark Kettenis <kettenis@gnu.org>
11225
11226 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
11227
11228 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
11229
11230 * gdb.base/completion.exp: Remove reduntant completion test
11231 on filename.
11232
11233 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
11234
11235 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
11236 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
11237 gdb.trace/save-trace.exp: Make sure that full pathnames are
11238 escaped correctly.
11239
11240 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
11241
11242 * configure.in: Don't generate config.h from config.hin.
11243 * configure: Regenerate.
11244 * config.hin: Remove file.
11245 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
11246 * gdb.threads/pthreads.c: Ditto.
11247
11248 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
11249
11250 From Kei Sakamoto <sakamoto.kei@renesas.com>:
11251 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
11252 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
11253 Replace ld24 with seth/add3.
11254
11255 2003-08-02 Andrew Cagney <cagney@redhat.com>
11256
11257 * gdb.base/annota3.exp: New file.
11258 * gdb.base/annota3.c: New file.
11259 * gdb.c++/annota3.exp: New file.
11260 * gdb.c++/annota3.cc: New file.
11261
11262 2003-07-29 Michael Chastain <mec@shout.net>
11263
11264 * gdb.threads/tls.c (spin): Check errno only if sem_wait
11265 actually failed.
11266 (do_pass): Likewise.
11267 * gdb.threads/tls.exp: Always initialize no_of_threads.
11268
11269 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
11270
11271 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
11272 pattern.
11273 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
11274 * gdb.threads/tls.exp: Recognize one case of the host library not
11275 supporting TLS.
11276
11277 2003-07-27 Andrew Cagney <cagney@redhat.com>
11278
11279 * gdb.base/fileio.exp: Use SH when running commands using
11280 remote_exec.
11281
11282 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
11283
11284 From Kei Sakamoto <sakamoto.kei@renesas.com>:
11285 * gdb.base/relocate.c (dummy): New padding array.
11286
11287 2003-07-22 Michael Snyder <msnyder@redhat.com>
11288
11289 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
11290
11291 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
11292 patterns to be more general, accepting old and new output.
11293 Some output chars (such as '+') also must be quoted.
11294 Some addresses are displayed numerically instead of
11295 symbolically.
11296
11297 2003-07-23 Michael Snyder <msnyder@redhat.com>
11298
11299 * gdb.base/return2.exp: Don't test long-long return.
11300
11301 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
11302 * gdb.disasm/t01_mov.exp: Ditto.
11303 * gdb.disasm/t02_mova.s: Ditto.
11304 * gdb.disasm/t02_mova.exp: Ditto.
11305 * gdb.disasm/t03_add.s: Ditto.
11306 * gdb.disasm/t03_add.exp: Ditto.
11307 * gdb.disasm/t04_sub.s: Ditto.
11308 * gdb.disasm/t04_sub.exp: Ditto.
11309 * gdb.disasm/t05_cmp.s: Ditto.
11310 * gdb.disasm/t05_cmp.exp: Ditto.
11311 * gdb.disasm/t06_ari2.s: Ditto.
11312 * gdb.disasm/t06_ari2.exp: Ditto.
11313 * gdb.disasm/t07_ari3.s: Ditto.
11314 * gdb.disasm/t07_ari3.exp: Ditto.
11315 * gdb.disasm/t08_or.s: Ditto.
11316 * gdb.disasm/t08_or.exp: Ditto.
11317 * gdb.disasm/t09_xor.s: Ditto.
11318 * gdb.disasm/t09_xor.exp: Ditto.
11319 * gdb.disasm/t10_and.s: Ditto.
11320 * gdb.disasm/t10_and.exp: Ditto.
11321 * gdb.disasm/t11_logs.s: Ditto.
11322 * gdb.disasm/t11_logs.exp: Ditto.
11323 * gdb.disasm/t12_bit.s: Ditto.
11324 * gdb.disasm/t12_bit.exp: Ditto.
11325 * gdb.disasm/t13_otr.s: Ditto.
11326 * gdb.disasm/t13_otr.exp: Ditto.
11327
11328 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
11329
11330 * gdb.threads/tls.exp :Add kfail for 'info address' case.
11331
11332 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
11333
11334 * gdb.threads/tls.c : New file.
11335 * gdb.threads/tls.exp : New file.
11336 * gdb.threads/tls-main.c : New file.
11337 * gdb.threads/tls-shared.c : New file.
11338 * gdb.threads/tls-shared.exp : New file.
11339
11340 2003-07-22 Andreas Schwab <schwab@suse.de>
11341
11342 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
11343
11344 2003-07-20 Andreas Schwab <schwab@suse.de>
11345
11346 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
11347 due to insn reordering.
11348
11349 2003-07-15 Andrew Cagney <cagney@redhat.com>
11350
11351 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
11352
11353 2003-07-15 Michael Chastain <mec@shout.net>
11354
11355 * gdb.base/gdb1250.exp: New file.
11356 * gdb.base/gdb1250.c: New file.
11357
11358 2003-07-09 Michal Ludvig <mludvig@suse.cz>
11359
11360 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
11361 expansion of size_t to 'unsigned long', not only to 'unsigned'.
11362
11363 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
11364
11365 * gdb.threads/tls.c: New file.
11366 * gdb.threads/tls.exp: New file.
11367 * gdb.threads/tls-main.c: New file.
11368 * gdb.threads/tls-shared.c: New file.
11369 * gdb.threads/tls-shared.exp: New file.
11370
11371 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
11372
11373 * gdb.base/annota1.exp: Make sure that we properly escape the
11374 full path of the source file. Xfail more permissive patterns,
11375 due to a compiler debug info problem.
11376
11377 2003-07-07 Andreas Schwab <schwab@suse.de>
11378
11379 * gdb.asm/m68k.inc: New file.
11380 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
11381
11382 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
11383 arguments"): Also match negative number.
11384
11385 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
11386
11387 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
11388
11389 * gdb.base/store.c (charest): New typedef.
11390 (add_char): Rename to add_charest, update.
11391 (wack_char): Rename to wack_charest, update types. Return l + r
11392 to keep r live across the call.
11393 (wack_short, wack_int, wack_long, wack_longest, wack_float)
11394 (wack_double, wack_doublest): Return l + r to keep r live across
11395 the call.
11396 * gdb.base/store.exp: Accomodate store.c changes.
11397
11398 2003-06-30 David Carlton <carlton@kealia.com>
11399
11400 * gdb.c++/maint.exp (test_invalid_name): New.
11401 (test_first_component): Add tests for invalid names.
11402
11403 2003-06-29 Michael Chastain <mec@shout.net>
11404
11405 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
11406 output of '<VTT for class>' for virtual base classes.
11407
11408 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
11409
11410 * gdb.base/completion.exp: Tab-complete "complet" instead of
11411 "compl".
11412 * gdb.base/complex.exp, gdb.base/complex.c: New files.
11413
11414 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
11415
11416 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
11417 * gdb.base/volatile.exp: Likewise.
11418
11419 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
11420
11421 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
11422 gdb/1265.
11423
11424 2003-06-28 Michael Chastain <mec@shout.net>
11425 Daniel Jacobowitz <drow@mvista.com>
11426
11427 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
11428 initial line count of 'captured_main' from 26 to 32.
11429 (test_with_self): Allow xmalloc call to be interleaved with the
11430 preceding two lines.
11431
11432 2003-06-24 Joel Brobecker <brobecker@gnat.com>
11433
11434 * gdb.base/bang.exp: New testcase.
11435
11436 2003-06-23 Joel Brobecker <brobecker@gnat.com>
11437
11438 * gdb.base/langs.exp: Add some tests for the "minimal" language
11439 support.
11440
11441 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
11442
11443 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
11444 the testcase.
11445
11446 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
11447
11448 * gdb.base/relocate.exp: Test add-symbol-file with a variable
11449 offset.
11450
11451 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
11452
11453 * gdb.c++/pr-1210.cc: New file.
11454 * gdb.c++/pr-1210.exp: New file.
11455
11456 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
11457
11458 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
11459 000-exec-continue.
11460
11461 2003-06-15 Mark Kettenis <kettenis@gnu.org>
11462
11463 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
11464 on *-*-*bsd* instead of *-*-freebsd*.
11465
11466 2003-06-14 Andrew Cagney <cagney@redhat.com>
11467
11468 * gdb.base/store.exp: Test longest and doublest. Test all
11469 parameters. Weaken return statement match.
11470 * gdb.base/store.c: Add longest and doublest - aka long long and
11471 long double functions. Put all parameters into local register
11472 variables. Use negative values.
11473
11474 2003-06-14 Andrew Cagney <cagney@redhat.com>
11475
11476 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
11477 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
11478 exit status.
11479 * gdb.base/fileio.exp: Disable target when nointerrupts and
11480 noinferiorio, instead of limiting it to remote. Use remote_exec
11481 instead of system.
11482
11483 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
11484
11485 * gdb.base/float.exp: Add ia64 support.
11486
11487 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
11488
11489 * gdb.base/fileio.exp: Run only on remote targets.
11490
11491 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
11492
11493 * gdb.base/fileio.c: New file, testing File-I/O.
11494 * gdb.base/fileio.exp: Ditto.
11495
11496 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
11497
11498 * gdb.base/shreloc.exp: New file, check symbol values obtained from
11499 shared objects after relocation at load time (gdb PR/1132).
11500 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
11501 as above, part of the shared object relocation test.
11502
11503 2003-06-08 Mark Kettenis <kettenis@gnu.org>
11504
11505 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
11506 fully filled history list.
11507 * gdb.base/gdb_history: New file.
11508
11509 * gdb.base/signals.exp: XFAIL "continue to func1" on
11510 i*86-*-freebsd*.
11511
11512 * gdb.base/attach.exp: When trying to attach to a nonexistent
11513 process, make it possible to specify the PID based on the target,
11514 and do so for *-*-freebsd*.
11515
11516 2003-06-02 Richard Henderson <rth@redhat.com>
11517
11518 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
11519
11520 2003-06-02 Richard Henderson <rth@redhat.com>
11521
11522 * gdb.base/selftest.exp: Next over lim_at_start initialization.
11523
11524 2003-06-02 Richard Henderson <rth@redhat.com>
11525
11526 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
11527
11528 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
11529
11530 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
11531 of globalvar.
11532
11533 2003-06-01 Mark Kettenis <kettenis@gnu.org>
11534
11535 * gdb.asm/asm-source.exp: Check for memory read errors in
11536 disassembler test on *BSD too.
11537
11538 2003-06-01 Richard Henderson <rth@redhat.com>
11539
11540 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
11541 for .frame.
11542 (gdbasm_call): Lose ldgp.
11543 (gdbasm_startup): Add frame information.
11544 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
11545
11546 2003-05-31 Mark Kettenis <kettenis@gnu.org>
11547
11548 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
11549 i?86-*-*.
11550
11551 2003-05-30 Mark Kettenis <kettenis@gnu.org>
11552
11553 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
11554 FreeBSD.
11555
11556 2003-05-29 Richard Henderson <rth@redhat.com>
11557
11558 * gdb.asm/alpha.inc: New file.
11559 * gdb.asm/asm-source.exp: Use it.
11560
11561 2003-05-29 Jim Blandy <jimb@redhat.com>
11562
11563 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
11564 'core.PID'.
11565
11566 2003-05-22 Jim Blandy <jimb@redhat.com>
11567
11568 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
11569 backtrace.
11570
11571 2003-05-20 David Carlton <carlton@math.stanford.edu>
11572
11573 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
11574 this time.
11575
11576 2003-05-19 David Carlton <carlton@bactrian.org>
11577
11578 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
11579 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
11580
11581 2003-05-19 David Carlton <carlton@bactrian.org>
11582
11583 * gdb.c++/namespace.exp: Add namespace scope and anonymous
11584 namespace tests.
11585 Bump copyright date.
11586 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
11587 (main): Call C::D::marker2.
11588 * gdb.c++/namespace1.cc: New file.
11589
11590 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
11591
11592 Roland McGrath <roland@redhat.com>
11593 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
11594 there is no manager thread.
11595
11596 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
11597
11598 * gdb.threads/schedlock.exp: Remove assumption that all threads
11599 will run in a particular small time slice. Also ensure we break
11600 in one of the child threads rather than the main thread.
11601
11602 2003-05-07 Jim Blandy <jimb@redhat.com>
11603
11604 Add support for assembly source testing on the s390x.
11605 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
11606 architecture.
11607 * gdb.asm/s390x.inc: New file.
11608
11609 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
11610 succession of 'if' statements.
11611
11612 2003-05-05 Andrew Cagney <cagney@redhat.com>
11613
11614 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
11615
11616 2003-05-05 Andrew Cagney <cagney@redhat.com>
11617
11618 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
11619 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
11620
11621 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
11622
11623 * gdb.base/charset.exp: Update based on new behavior of set/show
11624 charset commands.
11625
11626 2003-05-01 Andrew Cagney <cagney@redhat.com>
11627
11628 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
11629 variable do not give memory errors.
11630
11631 2003-04-30 Adam Fedor <fedor@gnu.org>
11632
11633 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
11634 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
11635 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
11636 gdb.objc/basicclass.m: : New files
11637
11638 * lib/gdb.exp (gdb_compile_objc): New procedure.
11639
11640 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
11641
11642 * gdb.base/signals.exp: Make backtrace tests more specific.
11643
11644 2003-04-23 David Carlton <carlton@bactrian.org>
11645
11646 * gdb.c++/maint.exp (test_first_component): Add tests for
11647 'operator' in more locations.
11648
11649 2003-04-16 Kevin Buettner <kevinb@redhat.com>
11650
11651 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
11652
11653 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
11654
11655 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
11656 func marke' instead. Update test name.
11657
11658 2003-04-15 David Carlton <carlton@math.stanford.edu>
11659
11660 * gdb.c++/maint.exp: New file.
11661
11662 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
11663
11664 * gdb.threads/schedlock.c: Change type of thread function argument
11665 to long, to avoid warnings on 64-bit platforms.
11666
11667 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
11668
11669 * gdb.base/attach.exp: Add new message from ptrace in case of
11670 attaching to nonexistent process.
11671
11672 2003-04-11 Jim Blandy <jimb@redhat.com>
11673
11674 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
11675 gdb.c++/userdef.cc: Place comments on the lines to which the
11676 marker function might return.
11677 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
11678 gdb.c++/userdef.exp: Look for those comments to check that we've
11679 returned to the right place, instead of checking line numbers.
11680
11681 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
11682
11683 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
11684 match on sourcefile name, instead of directory name.
11685
11686 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
11687
11688 * gdb.base/completion.exp: Use string_to_regexp to match the
11689 working directory name.
11690
11691 2003-04-09 Jim Blandy <jimb@redhat.com>
11692
11693 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
11694 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
11695 after an inferior function call, report the failure, but allow the
11696 test to continue.
11697
11698 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
11699
11700 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
11701 with -DPROTOTYPES.
11702
11703 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
11704
11705 * gdb.base/break.exp: Revert last patch.
11706
11707 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
11708
11709 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
11710 with -DPROTOTYPES.
11711
11712 2003-04-02 Andrew Cagney <cagney@redhat.com>
11713
11714 * gdb.base/callfuncs.exp: Make "print add" messages unique.
11715 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
11716 matching directories by the name breakpoint.
11717 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
11718 Make "continue to marker1" consistent.
11719 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
11720 message consistent.
11721 * lib/gdb.exp: Put "the program is no longer running", and "the
11722 program exited" in parenthesis.
11723 * lib/mi-support.exp: Ditto.
11724
11725 2003-04-02 Bob Rossi <bob_rossi@cox.net>
11726
11727 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
11728
11729 2003-03-29 Andrew Cagney <cagney@redhat.com>
11730
11731 * gdb.base/sizeof.c (main): Print the value of '\377'.
11732 * gdb.base/sizeof.exp: Check the sign of '\377'.
11733
11734 2003-03-27 Michael Chastain <mec@shout.net>
11735
11736 * gdb.base/gdb1090.exp: New file.
11737 * gdb.base/gdb1090.cc: New file.
11738
11739 2003-03-27 J. Brobecker <brobecker@gnat.com>
11740
11741 * gdb.gdb/observer.exp: New regression test.
11742
11743 2003-03-27 Michael Chastain <mec@shout.net>
11744
11745 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
11746 * gdb.base/ptype.exp: Likewise.
11747
11748 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
11749
11750 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
11751
11752 2003-03-26 Michael Chastain <mec@shout.net>
11753
11754 * gdb.base/ptype.exp: Actually use some typedef'd types.
11755
11756 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
11757
11758 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
11759 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
11760
11761 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
11762
11763 * gdb.base/default.exp: Fix regular expression.
11764
11765 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
11766
11767 * gdb.base/args.exp: Fix regular expression.
11768
11769 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
11770
11771 * gdb.base/help.exp: Allow Win32 child process.
11772
11773 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
11774
11775 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
11776 when stepping out of main().
11777
11778 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
11779
11780 * gdb.base/default.exp: Check for win32 specific message when calling
11781 "run" without executable.
11782
11783 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
11784
11785 * gdb.base/args.exp: Expect .exe in output.
11786
11787 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
11788
11789 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
11790 Cygwin native.
11791
11792 2003-03-17 Andrew Cagney <cagney@redhat.com>
11793
11794 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
11795 vector registes.
11796 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
11797 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
11798
11799 2003-03-17 David Carlton <carlton@math.stanford.edu>
11800
11801 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
11802 test, for PR breakpoints/38.
11803 Call test_watchpoint_and_breakpoint.
11804 * gdb.base/watchpoint.c (func3): New function.
11805 (main): Call func3.
11806
11807 2003-03-04 David Carlton <carlton@math.stanford.edu>
11808
11809 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
11810 Garply<Garply<char> >:: garply".
11811 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
11812 with respect to PR c++/1111; note also PR c++/1113.
11813 (test_template_breakpoints): KFAIL "constructor breakpoint" with
11814 respect to PR c++/1062.
11815 KFAIL "destructor breakpoint" with respect to PR c++/1112.
11816
11817 2003-03-03 David Carlton <carlton@math.stanford.edu>
11818
11819 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
11820 with respect to PR c++/57.
11821 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
11822 c++/826.
11823 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
11824 respect to PR c++/57.
11825
11826 2003-03-03 David Carlton <carlton@math.stanford.edu>
11827
11828 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
11829 respect to PR c++/33 into FAILs.
11830
11831 2003-03-03 Michael Chastain <mec@shout.net>
11832
11833 * configure.in: Update copyright years.
11834
11835 2003-03-03 Michael Chastain <mec@shout.net>
11836
11837 * Makefile.in: Update copyright years.
11838
11839 2003-02-28 David Carlton <carlton@math.stanford.edu>
11840
11841 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
11842 print class instead of struct and/or superfluous protection
11843 specifiers, as long as the resulting output is equivalent to the
11844 source code.
11845 Delete FIXME from end of messages on tests that don't need
11846 fixing.
11847
11848 2003-02-28 David Carlton <carlton@math.stanford.edu>
11849
11850 * gdb.c++/templates.exp (do_tests): Allow const in the two
11851 Foo<volatile char *>::foo tests.
11852
11853 2003-02-27 Michael Snyder <msnyder@redhat.com>
11854
11855 * gdb.base/restore.c (main): Return zero, so exit code
11856 will be consistant.
11857
11858 2003-02-26 David Carlton <carlton@math.stanford.edu>
11859
11860 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
11861 char *>::foo" test with respect to PR c++/33. Create a new test
11862 which is identical to that one except that it doesn't put the
11863 space between the "char" and the "*"; KFAIL it, too.
11864
11865 2003-02-26 David Carlton <carlton@math.stanford.edu>
11866
11867 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
11868 template types into either PASSes or KFAILs (corresponding to PR
11869 c++/57). Tweak indentation. Update copyright.
11870
11871 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
11872
11873 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
11874
11875 2003-02-13 Michael Chastain <mec@shout.net>
11876
11877 * gdb.base/exprs.exp: Remove i960 remnants.
11878 * gdb.base/funcargs.exp: Likewise.
11879 * gdb.base/list.exp: Likewise.
11880 * gdb.base/ptype.exp: Likewise.
11881
11882 2003-02-14 David Carlton <carlton@math.stanford.edu>
11883
11884 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
11885 pEe->D::vg()" from XFAIL to KFAIL.
11886
11887 2003-02-13 Jason Molenda (jmolenda@apple.com)
11888
11889 * gdb.base/maint.exp: Update maint print statistics regexp to include
11890 new entries.
11891
11892 2003-02-13 Michael Chastain <mec@shout.net>
11893
11894 * gdb.c++/inherit.exp: Remove call to get_debug_format.
11895
11896 2003-02-12 Michael Chastain <mec@shout.net>
11897
11898 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
11899 * gdb.c++/inherit.exp: Likewise.
11900 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
11901 * gdb.c++/templates.exp: Likewise.
11902 * gdb.c++/virtfunc.exp: Likewise.
11903
11904 2003-02-06 Jason Molenda (jason-cl@molenda.com)
11905
11906 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
11907 why the code is written that way.
11908
11909 2003-02-05 Michael Chastain <mec@shout.net>
11910
11911 * gdb.base/dump.exp: Add missing copyright line.
11912
11913 2003-02-05 Jason Molenda (jason-cl@molenda.com)
11914
11915 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
11916 at the beginning so the breakpoint doesn't get set on the loop.
11917
11918 2003-02-05 Michael Chastain <mec@shout.net>
11919
11920 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
11921 output for configurations with gcc 2.95.3.
11922
11923 2003-02-05 Keith Seitz <keiths@redhat.com>
11924 Andrew Cagney <ac131313@redhat.com>
11925
11926 * gdb.mi/mi-cli.exp: New file.
11927
11928 2003-02-04 Michael Chastain <mec@shout.net>
11929
11930 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
11931 Call perror and then continue.
11932
11933 2003-02-03 Michael Chastain <mec@shout.net>
11934
11935 * gdb.c++/pr-1023.cc: New file.
11936 * gdb.c++/pr-1023.exp: New file.
11937
11938 2003-02-05 Jim Blandy <jimb@redhat.com>
11939
11940 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
11941 it's local to foobar. Check for it there, and check that it's not
11942 present in main.
11943 * gdb.c++/local.cc (marker2): New function.
11944 (foobar): Call marker1.
11945 (main): Call marker2 instead of marker1.
11946
11947 2003-02-04 Andrew Cagney <ac131313@redhat.com>
11948
11949 * gdb.disasm/mn10200.exp: Obsolete file.
11950 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
11951 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
11952 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
11953
11954 2003-02-04 David Carlton <carlton@math.stanford.edu>
11955
11956 * gdb.c++/overload.exp: Test intToChar(1).
11957 * gdb.c++/overload.cc (intToChar): New.
11958 (main): Call intToChar.
11959
11960 2003-02-03 David Carlton <carlton@math.stanford.edu>
11961
11962 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
11963 'might_kfail' arg.
11964 KFAIL some of the continue_to_bp_overloaded calls, according to
11965 PR c++/1025.
11966
11967 2003-02-01 Michael Chastain <mec@shout.net>
11968
11969 * gdb.base/advance.c (marker1): New marker function.
11970 * gdb.base/advance.exp: When the 'advance' command lands on the
11971 return breakpoint, it can legitimately stop on either the
11972 current line or the next line. Accommodate both outcomes.
11973 * gdb.base/until.exp: Likewise.
11974
11975 2003-02-02 Andrew Cagney <ac131313@redhat.com>
11976
11977 2002-11-10 Jason Molenda (jason-cl@molenda.com):
11978 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
11979 now a list, not a tuple.
11980 * gdb.mi/mi-var-display.exp: Ditto.
11981 * gdb.mi/gdb792.exp: Ditto.
11982
11983 2003-02-01 Andrew Cagney <ac131313@redhat.com>
11984
11985 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
11986 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
11987 stack backtraces.
11988 * gdb.mi/mi-syn-frame.c: Part of same.
11989
11990 2003-02-01 Mark Kettenis <kettenis@gnu.org>
11991
11992 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
11993 gdb.mi/mi1-pthreads.exp: Return instead of calling
11994 gdb_suppress_entire_file.
11995
11996 2003-02-01 Mark Salter <msalter@redhat.com>
11997
11998 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
11999
12000 2003-01-31 Mark Salter <msalter@redhat.com>
12001
12002 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
12003 Support empty arg.
12004
12005 2003-01-30 Michael Chastain <mec@shout.net>
12006
12007 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
12008 This was a workaround for a UTF-8 bug in readline 4.3. The bug
12009 has been fixed in gdb/readline on 2003-01-09.
12010
12011 2003-01-29 Michael Snyder <msnyder@redhat.com>
12012
12013 * gdb.base/maint.exp: Allow for leading underscore in symbol.
12014 * gdb.base/display.exp: Allow for leading underscore in symbol.
12015 * gdb.base/args.exp: Skip if target does not support args passing.
12016
12017 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
12018
12019 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
12020 gdb_test. Accept a list of expect arguments as the third
12021 parameter.
12022 (gdb_test): Use it.
12023
12024 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
12025
12026 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
12027 allow for different test tree configurations. Update some
12028 tescases accordingly.
12029 * gdb.arch/altivec-regs.exp: Ditto.
12030 * gdb.asm/asm-source.exp: Ditto.
12031 * gdb.base/advance.exp: Ditto.
12032 * gdb.base/display.exp: Ditto.
12033 * gdb.base/long_long.exp: Ditto.
12034 * gdb.base/mips_pro.exp: Ditto.
12035 * gdb.base/overlays.exp: Ditto.
12036 * gdb.base/relocate.exp: Ditto.
12037 * gdb.base/setshow.exp: Ditto.
12038 * gdb.base/step-line.exp: Ditto.
12039 * gdb.base/step-test.exp: Ditto.
12040 * gdb.base/until.exp: Ditto.
12041 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
12042
12043 2003-01-17 David Carlton <carlton@math.stanford.edu>
12044
12045 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
12046 corresponding to PR c++/945.
12047 Update copyright.
12048
12049 2003-01-17 David Carlton <carlton@math.stanford.edu>
12050
12051 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
12052 corresponding to PR c++/68.
12053
12054 2003-01-17 David Carlton <carlton@math.stanford.edu>
12055
12056 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
12057 (test_paddr_hairy_functions): Call print_addr_2_kfail for
12058 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
12059
12060 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
12061
12062 * gdb.base/break.exp: Fix change of default location, because of
12063 removal of until tests.
12064 * gdb.base/help.exp: Update test for new 'until' help message.
12065 Add test for help on 'advance'.
12066 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
12067
12068 2003-01-15 Mark Kettenis <kettenis@gnu.org>
12069
12070 * gdb.base/default.exp: Adapt "info float" test for recent changes
12071 to that command. Add test for "info vector".
12072 * gdb.base/float.exp: New file. Add test for "info float" that
12073 resembles the old test in gdb.base/default.exp.
12074
12075 2003-01-15 David Carlton <carlton@math.stanford.edu>
12076
12077 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
12078
12079 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
12080
12081 * gdb.base/break.exp: Move the tests of until command from here...
12082 * gdb.base/until.exp: ... to here. New file. Add other tests.
12083 * gdb.base/advance.c: New file.
12084 * gdb.base/advance.exp: New file.
12085
12086 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
12087
12088 * gdb.base/args.c: New file.
12089 * gdb.base/args.exp: New file.
12090
12091 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
12092
12093 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
12094
12095 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
12096
12097 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
12098
12099 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
12100
12101 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
12102 dates.
12103
12104 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
12105
12106 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
12107
12108 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
12109
12110 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
12111 (ptype &*"foo").
12112 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
12113
12114 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
12115
12116 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
12117 * gdb.mi/mi1-console.exp: Likewise.
12118
12119 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
12120
12121 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
12122 * gdb.mi/mi1-console.exp: Likewise.
12123
12124 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
12125
12126 * gdb.c++/overload.exp: Remove some fixed XFAILs.
12127
12128 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
12129
12130 * gdb.base/detach.exp: New test.
12131
12132 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
12133
12134 * Makefile.in (ALL_SUBDIRS): New variable.
12135 (subdirs, clean, distclean): Use it.
12136 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
12137 regenerating Makefile, since it is generated from the top level.
12138 * gdb.asm/Makefile.in: Likewise.
12139 * gdb.base/Makefile.in: Likewise.
12140 * gdb.c++/Makefile.in: Likewise.
12141 * gdb.disasm/Makefile.in: Likewise.
12142 * gdb.java/Makefile.in: Likewise.
12143 * gdb.mi/Makefile.in: Likewise.
12144 * gdb.threads/Makefile.in: Likewise.
12145 * gdb.trace/Makefile.in: Likewise.
12146
12147 2003-01-09 David Carlton <carlton@math.stanford.edu>
12148
12149 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
12150 Add copyright year 2003.
12151
12152 2003-01-06 Michael Chastain <mec@shout.net>
12153
12154 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
12155 When selecting a thread, 'line' and 'file' are optional.
12156 * gdb.mi/mi1-pthreads.exp: Likewise.
12157
12158 2003-01-06 Andreas Schwab <schwab@suse.de>
12159
12160 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
12161 failures.
12162
12163 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
12164
12165 Fix PR gdb/844
12166 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
12167 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
12168
12169 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
12170 instead of calling gdb_suppress_entire_file.
12171 * gdb.threads/print-threads.exp: Likewise.
12172 * gdb.threads/schedlock.exp: Likewise.
12173
12174 * gdb.threads/killed.exp: Return instead of calling
12175 gdb_suppress_entire_file.
12176 * gdb.threads/linux-dp.exp: Likewise.
12177 * gdb.threads/pthreads.exp: Likewise.
12178
12179 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
12180
12181 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
12182 stabs.
12183 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
12184 * gdb.base/whatis.exp: Always allow (void) after function names.
12185
12186 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
12187
12188 * gdb.c++/casts.exp: Correct regexp.
12189
12190 2003-01-04 Mark Kettenis <kettenis@gnu.org>
12191
12192 * configure.in: Call AC_CONFIG_HEADER. Don't call
12193 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
12194 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
12195 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
12196 aforementioned directories in the AC_OUPUT call.
12197 * config.hin: New file.
12198 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
12199 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
12200 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
12201 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
12202 pass -I$objdir instead of -I$objdir/$subdir in compilation.
12203 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
12204 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
12205 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
12206 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
12207 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
12208 gdb.threads/configure.in, gdb.threads/configure,
12209 gdb.threads/config.in, gdb.trace/configure.in,
12210 gdb.trace/configure: Removed.
12211
12212 2003-01-03 Michael Chastain <mec@shout.net>
12213
12214 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
12215 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
12216
12217 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
12218
12219 * gdb.base/store.exp: Fix regular expressions.
12220
12221 2002-12-28 Mark Kettenis <kettenis@gnu.org>
12222
12223 * configure.in: Rewrite.
12224 * configure: Regenerated.
12225
12226 2003-01-03 David Carlton <carlton@math.stanford.edu>
12227
12228 * gdb.base/psymtab.exp: New file.
12229 * gdb.base/psymtab1.c: Ditto.
12230 * gdb.base/psymtab2.c: Ditto.
12231
12232 2002-12-23 Adam Fedor <fedor@gnu.org>
12233
12234 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
12235
12236 2002-12-23 David Carlton <carlton@math.stanford.edu>
12237
12238 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
12239 and current_directory initialization.
12240
12241 2002-12-22 Jim Blandy <jimb@redhat.com>
12242
12243 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
12244 rather than as part of the output file name.
12245
12246 * gdb.base/attach.exp: There's no need to copy the test program to
12247 /tmp; that was only ever necessary on HP/UX, and this test is
12248 entirely disabled there anyway.
12249
12250 2002-12-21 Jim Blandy <jimb@redhat.com>
12251
12252 * gdb.c++/psmang.exp: Doc fix.
12253
12254 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
12255 test.
12256
12257 2002-12-20 David Carlton <carlton@math.stanford.edu>
12258
12259 * gdb.c++/annota2.exp: KFAIL annotate-quit.
12260
12261 2002-12-18 Michael Chastain <mec@shout.net>
12262
12263 * gdb.c++/annota2.exp: Add copyright year 2002.
12264
12265 2002-12-17 David Carlton <carlton@math.stanford.edu>
12266
12267 * gdb.c++/try_catch.cc: Add marker comments.
12268 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
12269 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
12270 * gdb.c++/m-static.cc: Ditto.
12271 * gdb.c++/m-static1.cc: Ditto.
12272 * gdb.c++/try_catch.cc: Ditto.
12273
12274 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
12275
12276 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
12277 to see whether we are using the new -environment-directory
12278 command which resets via -r or the old version of the command
12279 which may prompt the user. Part of fix for gdb/741.
12280
12281 2002-12-13 Andrew Cagney <ac131313@redhat.com>
12282
12283 * gdb.fortran/types.exp: Update obsolete comment.
12284 * gdb.fortran/exprs.exp: Ditto.
12285 * lib/gdb.exp: Delete obsolete code.
12286 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
12287 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
12288 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
12289 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
12290 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
12291 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
12292 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
12293 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
12294 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
12295 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
12296 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
12297 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
12298 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
12299 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
12300 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
12301 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
12302 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
12303 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
12304 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
12305 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
12306 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
12307 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
12308 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
12309 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
12310 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
12311 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
12312 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
12313 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
12314 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
12315 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
12316 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
12317 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
12318 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
12319 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
12320 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
12321 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
12322 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
12323
12324 2002-12-11 David Carlton <carlton@math.stanford.edu>
12325
12326 * gdb.c++/m-data.exp: Add test for members that shadow global
12327 variables: see PR gdb/804.
12328 * gdb.c++/m-data.cc: Ditto.
12329
12330 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
12331
12332 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
12333
12334 2002-12-06 David Carlton <carlton@math.stanford.edu>
12335
12336 * gdb.base/store.c: Don't declare functions static.
12337
12338 2002-12-04 Andrew Cagney <ac131313@redhat.com>
12339
12340 * gdb.base/store.exp, gdb.base/store.c: New files.
12341
12342 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
12343
12344 * gdb.base/selftest.exp: Update for current gdb.
12345
12346 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
12347
12348 * gdb.base/maint.exp: Only dump symbols from one source file
12349 or objfile.
12350
12351 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
12352
12353 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
12354 function call.
12355
12356 2002-11-25 Jim Blandy <jimb@redhat.com>
12357
12358 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
12359 function appearing in error message.
12360
12361 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
12362
12363 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
12364
12365 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
12366
12367 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
12368 for mi1 and current mi is in correct format. New mi startup message
12369 should be in mi console format. This is part of fix for PR gdb/604.
12370
12371 2002-09-18 Fernando Nasser <fnasser@redhat.com>
12372
12373 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
12374 which explicitly prints the zero offset as "+0".
12375
12376 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
12377
12378 * gdb.threads/schedlock.c (args): Make unsigned.
12379
12380 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
12381
12382 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
12383 numbers. Allow "foo2|selected stack frame".
12384 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
12385 * gdb.asm/asmsrc2.s: Likewise.
12386 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
12387 comments.
12388 * gdb.asm/mips.inc: New file.
12389
12390 2002-10-18 Adam Fedor <fedor@gnu.org>
12391
12392 * gdb.base/default.exp: Update expected output to include 'ObjC'.
12393 * gdb.base/help.exp: Likewise.
12394
12395 2002-10-17 Kevin Buettner <kevinb@redhat.com>
12396
12397 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
12398 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
12399
12400 2002-10-02 Jim Blandy <jimb@redhat.com>
12401
12402 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
12403
12404 2002-10-01 Andrew Cagney <ac131313@redhat.com>
12405
12406 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
12407 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
12408 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
12409 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
12410 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
12411 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
12412 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
12413
12414 2002-09-29 Andrew Cagney <ac131313@redhat.com>
12415
12416 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
12417 * mi0-disassemble.exp, mi0-eval.exp: Delete.
12418 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
12419 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
12420 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
12421 * mi0-var-block.exp, mi0-var-child.exp: Delete.
12422 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
12423
12424 2002-09-27 Kevin Buettner <kevinb@redhat.com>
12425
12426 * gdb.base/annota1.exp (info break): Make directory components of
12427 path optional since not all compilers emit this debug information.
12428
12429 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
12430 step ends up stepping out of the function instead of stopping on
12431 the epilogue.
12432
12433 2002-09-26 Keith Seitz <keiths@redhat.com>
12434
12435 * lib/insight-support.exp (gdbtk_start): Figure out where
12436 the insight executable is based on where gdb is. Use this
12437 executable to start insight instead of gdb.
12438
12439 2002-09-25 Andrew Cagney <cagney@redhat.com>
12440
12441 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
12442
12443 2002-09-24 Andrew Cagney <ac131313@redhat.com>
12444
12445 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
12446 test_isolated_complaints.
12447 (test_empty_complaint): New function.
12448 (test_empty_complaints): New function. Check no output when no
12449 complaints.
12450
12451 2002-09-19 Jim Blandy <jimb@redhat.com>
12452
12453 * gdb.base/charset.exp, gdb.base/charset.c: New files.
12454
12455 2002-09-19 Andrew Cagney <ac131313@redhat.com>
12456
12457 * gdb.gdb/complaints.exp: New file.
12458
12459 2002-09-18 Andrew Cagney <ac131313@redhat.com>
12460
12461 * gdb.base/maint.exp: Check `help maint internal-warning'.
12462
12463 2002-09-18 David Carlton <carlton@math.stanford.edu>
12464
12465 * gdb.c++/m-static.exp: Remove breakpoints depending on line
12466 numbers, and replace them by a single breakpoint after the
12467 constructors are all finished.
12468 Add test 4.
12469 * gdb.c++/m-static.cc: Add test 4.
12470 * gdb.c++/m-static.h: New file.
12471 * gdb.c++/m-static1.cc: New file.
12472
12473 * gdb.c++/printmethod.exp: New file.
12474 * gdb.c++/printmethod.cc: New file.
12475
12476 * gdb.c++/pr-574.exp: New file.
12477 * gdb.c++/pr-574.cc: New file.
12478
12479 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
12480
12481 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
12482 embedded targets which never actually exit.
12483
12484 2002-09-18 Fernando Nasser <fnasser@redhat.com>
12485
12486 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
12487 "don't step after run" as unresolved or unsupported, instead of xfail.
12488
12489 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
12490
12491 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
12492 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
12493 Add newline to expected string in "step out of main (status wrapper)"
12494 case.
12495
12496 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
12497
12498 * lib/gdb.exp (rerun_to_main): Allow restarting application.
12499 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
12500
12501 2002-09-17 Tom Tromey <tromey@redhat.com>
12502
12503 * gdb.base/printcmds.exp (test_print_string_constants): Expect
12504 \000, not \0, in double-quoted string.
12505
12506 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
12507
12508 * gdb.base/commands.exp: Don't expect a "Program exited normally"
12509 string after running the commands execution on breakpoint tests.
12510
12511 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
12512
12513 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
12514
12515 2002-09-12 Joel Brobecker <brobecker@gnat.com>
12516
12517 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
12518
12519 2002-09-10 Keith Seitz <keiths@redhat.com>
12520
12521 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
12522 runto proc.
12523 (mi_run_to_main): Use mi_runto.
12524 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
12525
12526 2002-09-10 Keith Seitz <keiths@redhat.com>
12527
12528 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
12529 regexp for stopping at main. Could have multiple event notifications.
12530 Don't assume that main was declared with no parameters.
12531 (mi_next): Use mi_step_to.
12532 (mi_step): Use mi_next_to.
12533
12534 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
12535
12536 * gdb.base/default.exp: Fix expected string in `info float' test.
12537
12538 2002-09-09 Ben Elliston <bje@redhat.com>
12539
12540 * config/mips.exp: Update comments.
12541 * config/mips-idt.exp: Likewise.
12542 * config/nind.exp: Likewise.
12543 * config/slite.exp: Likewise.
12544 * config/sparclet.exp: Likewise.
12545 * config/udi.exp: Likewise.
12546 * config/vx.exp: Likewise.
12547 * config/vxworks29k.exp: Likewise.
12548
12549 2002-09-05 Jim Blandy <jimb@redhat.com>
12550
12551 * gdb.threads/killed.exp: Fix test failure message.
12552
12553 2002-09-04 Keith Seitz <keiths@redhat.com>
12554
12555 * lib/mi-support.exp: Update copyright.
12556 (mi_gdb_test): Increase the priority of the expected pattern
12557 so that it matches gdb_test.
12558
12559 2002-09-03 Keith Seitz <keiths@redhat.com>
12560
12561 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
12562 Use integer comparison instead of string comparison for testing
12563 whether binary was built.
12564
12565 2002-09-03 Jim Blandy <jimb@redhat.com>
12566
12567 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
12568
12569 2002-08-29 Jim Blandy <jimb@redhat.com>
12570
12571 * gdb.threads/pthreads.exp: Move the portable thread compilation
12572 code into a function in lib/gdb.exp, and call that from here.
12573 * lib/gdb.exp (gdb_compile_pthreads): New function.
12574
12575 2002-08-29 Keith Seitz <keiths@redhat.com>
12576
12577 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
12578 expect_out so that callers can get at it.
12579
12580 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
12581
12582 * gdb.threads/print-threads.c: New file.
12583 * gdb.threads/print-threads.exp: New file.
12584 * gdb.threads/schedlock.c: New file.
12585 * gdb.threads/schedlock.exp: New file.
12586
12587 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
12588
12589 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
12590 not altivec.c.
12591
12592 2002-08-17 Mark Kettenis <kettenis@gnu.org>
12593
12594 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
12595 targets. The problem should be fixed now.
12596
12597 2002-08-15 Mark Kettenis <kettenis@gnu.org>
12598
12599 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
12600 2002-07-24 change that removes final dots from error messages.
12601
12602 2002-08-13 Tom Tromey <tromey@redhat.com>
12603
12604 * gdb.base/readline.exp: New file.
12605
12606 2002-08-01 Andrew Cagney <ac131313@redhat.com>
12607
12608 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
12609 supress message.
12610
12611 2002-08-01 Andrew Cagney <cagney@redhat.com>
12612
12613 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
12614 CHILL_FOR_TARGET and CHILL_LIB.
12615 * configure.in (configdirs): Remove gdb.chill.
12616 * configure: Regenerate.
12617 * lib/gdb.exp: Obsolete references to chill.
12618 * gdb.fortran/types.exp: Ditto.
12619 * gdb.fortran/exprs.exp: Ditto.
12620
12621 2002-07-30 Kevin Buettner <kevinb@redhat.com>
12622
12623 * gdb.base/shlib-call.exp (additional_flags): Conditionally
12624 set Irix-specific compile and link flags.
12625
12626 2002-07-29 Kevin Buettner <kevinb@redhat.com>
12627
12628 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
12629 source files. The ``-o'' option doesn't work with the ``-E'' option
12630 when using the Irix compiler.
12631
12632 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
12633
12634 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
12635 Improve support for reusing an exec file. Copy exec file
12636 to target, and run gdbserver on the target instead of on the host.
12637
12638 2002-07-18 Jim Blandy <jimb@redhat.com>
12639
12640 * gdb.base/ending-run.exp: Don't expect to see the program end in
12641 some orderly fashion when we're running on a real stand-alone
12642 board.
12643
12644 * gdb.base/interrupt.exp: Correct logic for skipping tests on
12645 targets that don't support interrupts.
12646
12647 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
12648
12649 * gdb.base/attach.exp: Add patterns to match output from /proc-based
12650 systems.
12651 Move comments in expect statements to inside the actions, so that they
12652 don't get matched against.
12653
12654 2002-07-10 Mark Kettenis <kettenis@gnu.org>
12655
12656 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
12657 function when asleep" test.
12658
12659 2002-07-10 Andrew Cagney <ac131313@redhat.com>
12660
12661 * gdb.base/page.exp: Rewrite to handle problems with very long
12662 `info set' output. Update copyright.
12663
12664 2002-06-26 Andrew Cagney <ac131313@redhat.com>
12665
12666 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
12667 gdb.threads-hp.
12668 * gdb.hp/configure: Regenerate.
12669 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
12670 * gdb.hp/gdb.threads-hp/configure: Delete file.
12671 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
12672
12673 2002-06-22 Andrew Cagney <ac131313@redhat.com>
12674
12675 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
12676 setlocale, bindtextdomain and textdomain.
12677
12678 2002-06-11 Jim Blandy <jimb@redhat.com>
12679
12680 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
12681 preprocessor macro information is present.
12682
12683 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
12684 tests.
12685
12686 2002-06-06 Michael Snyder <msnyder@redhat.com>
12687
12688 * gdb.base/overlays.exp: Record addresses of overlay
12689 functions in TCL variables rather than in GDB variables,
12690 to avoid having GDB convert them to pointers (with loss
12691 of information).
12692
12693 * gdb.base/d10v.ld: Merge in several years worth of
12694 default linker script changes.
12695 * gdb.base/long_long.exp: Add check for sizeof (long double).
12696
12697 2002-06-06 Michal Ludvig <mludvig@suse.cz>
12698
12699 * gdb.asm/asm-source.exp: Add x86-64 target.
12700 * gdb.asm/x86_64.inc: New.
12701
12702 2002-05-30 Michael Chastain <mec@shout.net>
12703
12704 From Benjamin Kosnik <bkoz@redhat.com>:
12705 * gdb.c++/m-static.cc: New file.
12706 * gdb.c++/m-static.exp: New file.
12707
12708 2002-05-28 Michael Snyder <msnyder@redhat.com>
12709
12710 * gdb.base/call-ar-st.exp: Allow for reduced floating point
12711 precision.
12712
12713 2002-05-27 Michael Chastain <mec@shout.net>
12714
12715 From Benjamin Kosnik <bkoz@redhat.com>:
12716 * gdb.c++/m-data.cc: New file.
12717 * gdb.c++/m-data.exp: New file.
12718
12719 2002-05-27 Michael Chastain <mec@shout.net>
12720
12721 From Benjamin Kosnik <bkoz@redhat.com>:
12722 * gdb.c++/try_catch.cc: New file.
12723 * gdb.c++/try_catch.exp: New file.
12724
12725 2002-05-27 Michael Chastain <mec@shout.net>
12726
12727 * gdb.c++/local.exp: Accept more nested types in output.
12728
12729 2002-05-26 Michael Chastain <mec@shout.net>
12730
12731 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
12732
12733 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
12734
12735 * lib/gdb.exp (gdb_wrapper_init): Just because
12736 gdb_wrapper_file exists, this does not mean that the file
12737 should not be rebuilt. That is what gdb_wrapper_initialized
12738 is for.
12739 (default_gdb_init): Reset gdb_wrapper_initialized.
12740
12741 2002-05-23 Michael Snyder <msnyder@redhat.com>
12742
12743 * gdb.base/all-bin.exp: Revise previous patch by just reducing
12744 the precision of the floating point test results.
12745 * gdb.base/call-rt-st.exp: Ditto.
12746
12747 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
12748 * gdb.base/call-rt-st.exp: Ditto.
12749
12750 2002-05-19 Michael Chastain <mec@shout.net>
12751
12752 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
12753
12754 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
12755
12756 * configure.in (configdirs): Add gdb.arch.
12757 * configure: Regenerate.
12758
12759 2002-05-17 Jim Blandy <jimb@redhat.com>
12760
12761 * gdb.base/completion.exp: Recognize the more detailed error
12762 messages produced by the macro expander's lexical analyzer.
12763
12764 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
12765
12766 * gdb.arch/altivec-abi.c: New file.
12767 * gdb.arch/altivec-abi.exp: New file.
12768 * gdb.arch/altivec-regs.c: New file.
12769 * gdb.arch/altivec-regs.exp: New file.
12770
12771 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
12772
12773 * gdb.base/maint.exp (maint print type): Update for new type
12774 structure.
12775
12776 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
12777
12778 * gdb.arch: New directory.
12779 * gdb.arch/configure.in: New file.
12780 * gdb.arch/configure: New file.
12781 * gdb.arch/Makefile.in: New file.
12782
12783 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
12784
12785 * gdb.asm/asm-source.exp: Add v850 as supported target.
12786 * gdb.asm/v850.inc: New file.
12787
12788 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
12789
12790 * gdb.c++/annota2.exp (annotate-quit): Add comment.
12791
12792 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
12793
12794 * gdb.base/break.exp: Check 'break "marker2"'.
12795
12796 2002-05-10 Michael Snyder <msnyder@redhat.com>
12797
12798 * gdb.base/long_long.exp: Fix typo.
12799
12800 2002-05-10 Jim Blandy <jimb@redhat.com>
12801
12802 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
12803 a bug.
12804
12805 * gdb.base/printcmds.exp (test_integer_literals_rejected):
12806 Recognize more detailed error message produced by the macro
12807 expander's lexical analyzer.
12808 * lib/gdb.exp (test_print_reject): Same.
12809
12810 2002-05-09 Mark Kettenis <kettenis@gnu.org>
12811
12812 * gdb.c++/method.exp: Fix typo.
12813
12814 2002-05-08 Michael Snyder <msnyder@redhat.com>
12815
12816 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
12817 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
12818 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
12819 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
12820 Add iftarget clause for strongarm.
12821
12822 2002-05-06 Michael Snyder <msnyder@redhat.com>
12823
12824 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
12825 (gdb_continue_to_end): Accept output from status wrapper.
12826 * gdb.base/ending-run.exp: Add case for output from status wrapper.
12827 Clean up fail messages to match pass messages.
12828
12829 Enable the "needs_status_wrapper" testsuite feature.
12830 * lib/gdb.exp (gdb_wrapper_init): New procedure.
12831 (gdb_compile): Conditionally call gdb_wrapper_init.
12832 * gdb.base/a2-run.exp: Recognize output from status wrapper.
12833 * gdb.c++/method.exp: Recognize output from status wrapper.
12834
12835 2002-05-06 Ben Elliston <bje@redhat.com>
12836 From Graydon Hoare <graydon@redhat.com>
12837
12838 * config/sid.exp: Include support for "rawsid" protocol.
12839
12840 2002-05-03 Jim Blandy <jimb@redhat.com>
12841
12842 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
12843 * gdb.c++/hang3.C: New file.
12844
12845 2002-05-04 Andrew Cagney <ac131313@redhat.com>
12846
12847 * gdb.base/default.exp: Remove obsolete code.
12848 * gdb.c++/misc.exp: Ditto. Update copyright.
12849 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
12850 * gdb.base/whatis.exp: Ditto. Update copyright.
12851 * gdb.base/scope.exp: Ditto. Update copyright.
12852 * gdb.base/ptype.exp: Ditto. Update copyright.
12853 * gdb.base/printcmds.exp: Ditto. Update copyright.
12854 * gdb.base/opaque.exp: Ditto. Update copyright.
12855 * gdb.base/list.exp: Ditto.
12856 * gdb.base/funcargs.exp: Ditto. Update copyright.
12857 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
12858 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
12859 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
12860 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
12861 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
12862 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
12863
12864 2002-05-02 Michael Snyder <msnyder@redhat.com>
12865
12866 * gdb.base/watchpoint.exp: Add xscale target.
12867 * gdb.base/long_long.exp: Add xscale target.
12868 * gdb.base/default.exp: Add xscale target.
12869
12870 2002-05-01 Jim Blandy <jimb@redhat.com>
12871
12872 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
12873 gdb.c++/hang.exp: New test.
12874
12875 2002-05-01 Fred Fish <fnf@redhat.com>
12876
12877 * gdb.base/completion.exp: Handle completions of "./Make" for
12878 more than one completion possibility, as is the case when we
12879 build and test in the source tree.
12880
12881 2002-04-29 Anthony Green <green@redhat.com>
12882
12883 * gdb.java/jmisc1.exp: New file.
12884 * gdb.java/jmisc2.exp: New file.
12885
12886 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
12887
12888 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
12889
12890 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
12891
12892 * gdb.base/help.exp: Change 'help status' to allow for target
12893 dependent output differences.
12894
12895 2002-04-22 Michael Chastain <mec@shout.net>
12896
12897 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
12898
12899 2002-04-22 Michael Chastain <mec@shout.net>
12900
12901 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
12902
12903 2002-04-17 David S. Miller <davem@redhat.com>
12904
12905 * gdb.asm/sparc64.inc: New file.
12906 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
12907
12908 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
12909
12910 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
12911 instruction file directly into the build tree. Clean up at end of
12912 test.
12913
12914 2002-04-18 David S. Miller <davem@redhat.com>
12915
12916 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
12917 handle 64-bit platforms correctly.
12918 * gdb.base/maint.exp: Likewise.
12919
12920 2002-04-18 Kevin Buettner <kevinb@redhat.com>
12921
12922 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
12923 ``-fpic'' when compiling files comprising a shared library, but
12924 it does need additional linker flags in order to find shared
12925 libraries at run time.
12926
12927 2002-04-18 Kevin Buettner <kevinb@redhat.com>
12928
12929 * gdb.base/cvexpr.c (use): New function.
12930 (main): Invoke use() on all global variables to prevent
12931 some linkers from deleting these otherwise unused symbols.
12932
12933 2002-04-17 Michael Chastain <mec@shout.net>
12934 From David S. Miller <davem@redhat.com>
12935
12936 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
12937 handle 64-bit platforms correctly.
12938
12939 2002-04-12 Michael Snyder <msnyder@redhat.com>
12940 From Jim Blandy <jimb@redhat.com>
12941 * gdb.base/foo.c (foox): Remove section attribute; the linker
12942 script can handle this instead.
12943 * gdb.base/bar.c (barx): Same.
12944 * gdb.base/baz.c (bazx): Same.
12945 * gdb.base/grbx.c (grbxx): Same.
12946
12947 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
12948 manager doesn't automatically unmap overlays unnecessarily.
12949
12950 2002-04-10 Martin M. Hunt <hunt@redhat.com>
12951
12952 * gdb.base/ending-run.exp: Fix pattern for Mips targets
12953 stepping out of main.
12954
12955 2002-04-09 Michael Chastain <mec@shout.net>
12956
12957 * gdb.c++/local.cc (main): Move call to marker1() inside nested
12958 scope so that the nested scope tests will make sense.
12959 * gdb.c++/local.exp: Write patterns that actually work with gcc
12960 (the HP patterns "were never known to work with gcc").
12961 Keep the old aCC patterns too.
12962
12963 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
12964
12965 * gdb.base/attach.exp: Correct target board test.
12966
12967 2002-04-08 Michael Chastain <mec@shout.net>
12968
12969 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
12970 in a const method. Add some xfail and fail cases for configurations
12971 that do not emit the "const ...".
12972
12973 2002-04-07 Michael Chastain <mec@shout.net>
12974
12975 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
12976 Accept "A * const" and "const A * const" as type of "this".
12977 Fix spelling of getFunky throughout. Make messages uniform.
12978
12979 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
12980
12981 Work around for PR gdb/285:
12982 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
12983
12984 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
12985
12986 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
12987 instructions file at run time instead of configure time.
12988 Sometimes we run the test in a directory that is not the one we
12989 configured in.
12990 * gdb.asm/configure.in: Delete creation of symlink.
12991 * gdb.asm/configure: Regenerate.
12992
12993 2002-04-05 J. Brobecker <brobecker@gnat.com>
12994
12995 * gdb.gdb/xfullpath.exp: New test, to exercise the new
12996 xfullpath () function.
12997
12998 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
12999
13000 * gdb.asm/Makefile.in: Correct dependencies.
13001
13002 * gdb.asm/powerpc.inc: New file.
13003 * gdb.asm/asm-source.exp: Add PowerPC.
13004 * gdb.asm/configure.in: Likewise.
13005 * gdb.asm/configure: Regenerated.
13006
13007 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
13008
13009 * gdb.base/relocate.exp: New file.
13010 * gdb.base/relocate.c: New file.
13011
13012 2002-04-04 Fred Fish <fnf@redhat.com>
13013
13014 * gdb.base/step-test.exp: Update comment regarding stopping in
13015 memcpy/bcopy calls inserted as part of the compiler runtime.
13016
13017 2002-04-04 Michael Snyder <msnyder@redhat.com>
13018
13019 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
13020
13021 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
13022
13023 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
13024 (gdb_expect): Remove $notransfer hack.
13025
13026 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
13027
13028 * gdb.c++/classes.exp ("calling method for small class"): Match
13029 updated register output.
13030
13031 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
13032
13033 Fix PR gdb/452
13034 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
13035 when finished. Make gdb_file_cmd send "exec-file" when
13036 appropriate.
13037
13038 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
13039
13040 * gdb.base/attach.exp: Remove extra setup_xfail.
13041
13042 2002-03-26 Michael Snyder <msnyder@redhat.com>
13043
13044 * gdb.base/default.exp: Add tests for dump, append, and restore.
13045 * gdb.base/help.exp: Add tests for dump, append, and restore.
13046 * gdb.base/dump.exp: New file, test dump, append and restore.
13047 * gdb.base/dump.c: New file.
13048
13049 2002-03-27 Michael Snyder <msnyder@redhat.com>
13050
13051 * gdb.base/help.exp: Modify expect strings to reflect
13052 clean-ups in help messages.
13053
13054 2002-03-26 Fred Fish <fnf@redhat.com>
13055
13056 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
13057 have debugging info for those functions and the compiler uses them
13058 internally to copy structs around.
13059
13060 2002-03-26 Fred Fish <fnf@redhat.com>
13061
13062 * gdb.base/list.exp: Revert the change made yesterday and add note
13063 about why we don't list the default lines for remote targets.
13064
13065 2002-03-25 Michael Snyder <msnyder@redhat.com>
13066
13067 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
13068
13069 2002-03-25 Fred Fish <fnf@redhat.com>
13070
13071 * gdb.base/list.exp: This test works on remote targets so remove
13072 the short circuit for remote targets. Update copyright.
13073
13074 2002-03-25 Fred Fish <fnf@redhat.com>
13075
13076 * gdb.base/attach.exp: Fix logic error that was suppressing this
13077 test for all non hppa*-*-hpux* targets, instead of the hp target.
13078 Move comments closer to the suppression point. Also now need to
13079 check that we are running natively.
13080
13081 2002-03-22 Michael Snyder <msnyder@redhat.com>
13082
13083 * gdb.base/default.exp: Add test for gcore. Update copyright.
13084 * gdb.base/help.exp: Add test for gcore. Update copyright.
13085
13086 2002-03-06 Fred Fish <fnf@redhat.com>
13087
13088 * gdb.base/funcargs.c: Remove extraneous ';' character.
13089 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
13090
13091 2002-03-04 Michael Chastain <mec@shout.net>
13092
13093 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
13094 accommodate gcc v3 function signature.
13095 * gdb.mi/mi0-var-cmd-exp: Ditto.
13096
13097 2002-02-24 Andrew Cagney <ac131313@redhat.com>
13098
13099 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
13100 ``GNU/Linux'' or ``Linux kernel''
13101 * testsuite/gdb.threads/pthreads.c: Ditto.
13102
13103 2002-02-24 Michael Chastain <mec@shout.net>
13104
13105 * gdb.threads/pthreads.c (thread1): Add a return statement.
13106 (thread2): Likewise.
13107 (foo): Likewise.
13108
13109 2002-02-23 Michael Chastain <mec@shout.net>
13110
13111 * gdb.threads/linux-dp.c (philosopher): Add a return statement
13112 to placate gcc.
13113
13114 2002-02-23 Michael Chastain <mec@shout.net>
13115
13116 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
13117 test "ptype bint". The test passes on all my stabs configurations.
13118
13119 2002-02-21 Jim Blandy <jimb@redhat.com>
13120
13121 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
13122 filename at a time, and watch for the ones we want to see.
13123
13124 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
13125 types of pointers to prototyped functions.
13126
13127 2002-02-20 Andrew Cagney <ac131313@redhat.com>
13128
13129 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
13130 signed, unsigned and straight char.
13131 (padding_char, padding_short, padding_int, padding_long,
13132 padding_long_long, padding_float, padding_double,
13133 padding_long_double): New global variables.
13134 (fill, fill_structs): New functions.
13135
13136 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
13137 for correctly sized writes. Update copyright.
13138 (get_valueof): New procedure.
13139 (get_sizeof): Call get_valueof.
13140 (check_valueof): New procedure.
13141 (check_padding): New procedure.
13142
13143 2002-02-20 Michael Chastain <mec@shout.net>
13144
13145 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
13146 to setup_xfail. Document some of the remaining calls.
13147
13148 2002-02-18 Michael Chastain <mec@shout.net>
13149
13150 * gdb.c++/userdef.exp: Update copyright year.
13151
13152 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
13153
13154 * gdb.c++/userdef.exp: Test overloaded operators properly.
13155 Remove xfails.
13156
13157 2002-02-14 Michael Snyder <msnyder@redhat.com>
13158
13159 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
13160
13161 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
13162
13163 * gdb.base/a2-run.exp: Check for a remote target properly.
13164 * gdb.base/annota1.exp: Likewise.
13165 * gdb.base/list.exp: Likewise.
13166 * gdb.base/reread.exp: Likewise.
13167 * gdb.base/scope.exp: Likewise.
13168 * gdb.base/shlib-call.exp: Likewise.
13169 * gdb.base/term.exp: Likewise.
13170 * gdb.c++/annota2.exp: Likewise.
13171
13172 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
13173
13174 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
13175
13176 2002-02-10 Michael Chastain <mec@shout.net>
13177
13178 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
13179 (call_after_alloca): Ditto.
13180
13181 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
13182
13183 * gdb.base/ending-run.exp: Guard "cont" test with
13184 gdb_skip_stdio_test.
13185
13186 2002-02-06 Jim Blandy <jimb@redhat.com>
13187
13188 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
13189 from here...
13190 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
13191 To here. Disable this test on non-HP platforms. Add big comment.
13192
13193 2002-02-04 Michael Snyder <msnyder@redhat.com>
13194
13195 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
13196 other than d10v and m32r.
13197
13198 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
13199
13200 * gdb.base/default.exp: Rewrite test patterns to reduce time
13201 taken to match them.
13202
13203 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
13204
13205 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
13206 Allow a start function above main.
13207 * gdb.threads/linux-dp.exp: Fix copyright date.
13208
13209 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
13210
13211 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
13212 (check_philosopher_stack): Check for manager thread before checking
13213 for a just-starting thread.
13214
13215 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
13216
13217 From Neil Booth <neil@daikokuya.demon.co.uk>:
13218 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
13219 warnings.
13220
13221 2002-01-21 Fred Fish <fnf@redhat.com>
13222
13223 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
13224 not caller.
13225
13226 2002-01-21 Jim Blandy <jimb@redhat.com>
13227
13228 * gdb.base/reread.exp: Check that GDB properly re-reads the
13229 executable file when it changes while no inferior is running.
13230
13231 2002-01-21 Fred Fish <fnf@redhat.com>
13232
13233 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
13234 optionally accept the "shlib events" variation.
13235
13236 2002-01-21 Jim Blandy <jimb@redhat.com>
13237
13238 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
13239 call `fflush' after every `printf', so that the output is produced
13240 at predictable points, regardless of whatever buffering does (or
13241 doesn't) take place.
13242 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
13243 at different points.
13244
13245 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
13246
13247 * gdb.c++/inherit.exp: Update copyright years.
13248 * gdb.c++/method.exp: Likewise.
13249
13250 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
13251
13252 * gdb.c++/classes.exp: Update for improved v3 support and skipping
13253 artificial methods/arguments.
13254 * gdb.c++/derivation.exp: Likewise.
13255 * gdb.c++/inherit.exp: Likewise.
13256 * gdb.c++/method.exp: Likewise.
13257 * gdb.c++/virtfunc.exp: Likewise.
13258
13259 2002-01-18 Andrew Cagney <ac131313@redhat.com>
13260
13261 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
13262 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
13263 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
13264 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
13265 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
13266 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
13267
13268 2002-01-17 Jim Blandy <jimb@redhat.com>
13269
13270 * gdb.asm/asm-source.exp (info symbol): Take another shot at
13271 anchoring the pattern matching the entry point symbol's name.
13272
13273 2002-01-17 Andrew Cagney <ac131313@redhat.com>
13274
13275 * gdb.base/maint.exp: Update ``maint internal-error'' to match
13276 continue/quit query. Update copyright.
13277
13278 2002-01-14 Michael Snyder <msnyder@redhat.com>
13279
13280 * gdb.base/gcore.exp: Remove extra debugging output.
13281
13282 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
13283
13284 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
13285 for slightly dubious v2 mangled string.
13286
13287 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
13288
13289 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
13290
13291 2002-01-10 Jason Merrill <jason@redhat.com>
13292
13293 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
13294
13295 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
13296 constructors.
13297 * gdb.c++/derivation.exp: Likewise.
13298 * gdb.c++/templates.exp: Likewise.
13299 * gdb.c++/virtfunc.exp: Likewise.
13300
13301 2002-01-10 Michael Snyder <msnyder@redhat.com>
13302
13303 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
13304
13305 2002-01-08 Michael Snyder <msnyder@redhat.com>
13306
13307 * gdb.base/gcore.exp: New test for generate-core-file command.
13308 * gdb.base/gcore.c: Testcase for above.
13309 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
13310
13311 2002-01-08 Jason Merrill <jason@redhat.com>
13312
13313 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
13314
13315 2002-01-07 Fred Fish <fnf@redhat.com>
13316
13317 * gdb.c++/overload.exp: Remove unconditional xfails for:
13318 print foo_instance1.overloadargs(1)
13319 print foo_instance1.overloadargs(1, 2)
13320 print foo_instance1.overloadargs(1, 2, 3)
13321 print foo_instance1.overloadargs(1, 2, 3, 4)
13322 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
13323 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
13324 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
13325 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
13326 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
13327 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
13328 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
13329 print foo_instance1.overload1arg()
13330 print foo_instance1.overload1arg((char)arg2)
13331 print foo_instance1.overload1arg((signed char)arg3)
13332 print foo_instance1.overload1arg((unsigned char)arg4)
13333 print foo_instance1.overload1arg((int)arg7)
13334 print foo_instance1.overload1arg((unsigned int)arg8)
13335 print foo_instance1.overload1arg((float)arg11)
13336 print foo_instance1.overload1arg((double)arg12)
13337
13338 2002-01-07 Michael Snyder <msnyder@redhat.com>
13339
13340 * gdb.base/huge.exp: New test. Print a very large target data object.
13341 (skip_huge_test): New test variable. Define if you want to skip this
13342 test. The test reads an 8 megabyte data object from the target, so it
13343 might be very time consuming on remote targets with a slow connection.
13344 * gdb.base/huge.c: New file. Test case for above.
13345
13346 2002-01-07 Fred Fish <fnf@redhat.com>
13347
13348 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
13349 g_instance.bfoo, and g_instance.cfoo.
13350
13351 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
13352
13353 * gdb.base/break.c (multi_line_if_conditional): New function.
13354 (multi_ilne_while_conditional): Likewise.
13355 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
13356 IF or WHILE condition puts the breakpoint at the start of
13357 the condition.
13358
13359 * gdb.base/selftest.exp (backtrace through signal handler): Remove
13360 hppa*-*-hpux* expected failure.
13361 * gdb.base/structs.exp (do_function_calls): Similarly.
13362
13363 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
13364 watchpoints.
13365
13366 2002-01-06 Andrew Cagney <ac131313@redhat.com>
13367
13368 Fix PR gdb/66.
13369 * gdb.base/structs.exp: Replace skip for a29k with skip for
13370 gdb,cannot_call_functions.
13371 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
13372 * gdb.base/callfuncs.exp: Ditto.
13373 * gdb.base/call-rt-st.exp: Ditto.
13374 * gdb.base/call-strs.exp: Ditto.
13375 * gdb.base/callfwmall.exp: Ditto.
13376 * gdb.base/scope.exp: Obsolete xfail a29k.
13377 * gdb.c++/misc.exp: Ditto.
13378 * gdb.c++/cplusfuncs.exp: Ditto.
13379 * gdb.base/ptype.exp: Ditto.
13380 * gdb.base/printcmds.exp: Ditto.
13381 * gdb.base/opaque.exp: Ditto.
13382 * gdb.base/list.exp: Ditto.
13383 * gdb.base/funcargs.exp: Ditto.
13384 * gdb.base/default.exp: Ditto.
13385
13386 2002-01-04 Michael Snyder <msnyder@redhat.com>
13387
13388 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
13389 * gdb.base/maint.exp: Add tests for maint info sections options.
13390
13391 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
13392
13393 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
13394
13395 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
13396
13397 * gdb.asm/arm.inc: New file.
13398 * gdb.asm/asm-source.exp: Add arm targets.
13399 * gdb.asm/configure.in: Ditto.
13400 * gdb.asm/configure: Recreated from configure.in.
13401
13402 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
13403
13404 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
13405 with HP's compiler.
13406 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
13407 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
13408 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
13409 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
13410
13411 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
13412 either HP's compilers or GCC.
13413
13414 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
13415 a SIGBUS or SIGSEGV.
13416
13417 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
13418
13419 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
13420 can be compiled with either HP's compiler or GCC.
13421
13422 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
13423 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
13424 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
13425
13426 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
13427 to match current gdb output. Update due to using auto-solib-limit
13428 for limiting instead of overloading auto-solib-add.
13429 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
13430 test program.
13431
13432 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
13433 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
13434 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
13435 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
13436 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
13437 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
13438 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
13439 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
13440 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
13441 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
13442 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
13443 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
13444 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
13445
13446 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
13447 a SIGTRAP to the inferior.
13448
13449 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
13450
13451 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
13452 Substitute call to target_link by call to gdb_compile.
13453
13454 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
13455
13456 * gdb.base/break.exp: Fix HP specific search string when testing
13457 backtracing in a called function.
13458
13459 * gdb.base/constvars.exp: Only set lang to C++ if we're
13460 compiling the test with HP's compilers.
13461 * gdb.base/volatile.exp: Similarly.
13462
13463 2001-12-19 Jim Blandy <jimb@redhat.com>
13464
13465 * gdb.base/printcmds.exp: Expect the null character to be printed
13466 as '\0', and the '\013' to be printed as '\v'.
13467 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
13468 * gdb.base/setvar.exp: Same.
13469
13470 2001-12-17 Jim Blandy <jimb@redhat.com>
13471
13472 * gdb.base/completion.exp: Rather than completing very long
13473 filenames, which can make the readline library produce output we
13474 don't recognize, cd to the directory first, and then complete
13475 using nice, short relative paths.
13476
13477 * gdb.base/completion.exp: On some systems, there is, in fact, a
13478 variable named `b' in scope, since GDB treats all static
13479 variables as being in scope. So use `no_var_named_this'
13480 instead of `b'.
13481
13482 * gdb.base/corefile.exp: Recognize the message saying that GDB
13483 can't find the core file's registers as a failure.
13484
13485 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
13486
13487 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
13488 test expect string more specific.
13489
13490 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
13491
13492 * gdb.asm/asm-source.exp: Add support for xstormy16.
13493 * gdb.asm/configure.in: Ditto.
13494 * gdb.asm/configure: Rebuild.
13495 * gdb.asm/xstormy16.inc: New file.
13496
13497 2001-12-10 Fred Fish <fnf@redhat.com>
13498
13499 * gdb.base/maint.exp: Update to match changes in type dumping code.
13500
13501 2001-12-10 Jim Blandy <jimb@redhat.com>
13502
13503 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
13504 matching the entry point symbol's name at the beginning of the
13505 line.
13506
13507 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
13508
13509 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
13510 gdb.c++/inherit.exp, gdb.c++/method.exp,
13511 gdb.c++/namespace.exp, gdb.c++/templates.exp,
13512 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
13513 and class layout support.
13514
13515 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
13516
13517 * gdb.c++/classes.exp: Add test for static member function.
13518 * gdb.c++/misc.cc: Add class with static member function.
13519
13520 2001-12-07 Jim Blandy <jimb@redhat.com>
13521
13522 If GDB says it can't find the struct the function returned, report
13523 those tests as `unsupported'.
13524 * gdb.base/call-rt-st.exp (print_struct_call): New function.
13525 Rewrite subsequent tests to use it.
13526
13527 If GDB says it can't find the struct the function returned, report
13528 those tests as `unsupported'.
13529 * gdb.base/structs.exp (call_struct_func): New function.
13530 (do_function_calls): Use call_struct_func to call the functions
13531 returning structs.
13532
13533 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
13534 whether functions are prototyped or not, so we can't possibly pass
13535 arguments to t_float_values2 properly.
13536
13537 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
13538 value of `timeout' for targets other than the mips*tx39-*.
13539
13540 2001-12-06 Michael Snyder <msnyder@redhat.com>
13541
13542 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
13543 and detect whether the start symbol has a leading underscore.
13544
13545 2001-12-04 Jim Blandy <jimb@redhat.com>
13546
13547 * gdb.base/completion.exp: Clarify indentation.
13548
13549 2001-12-03 Jim Blandy <jimb@redhat.com>
13550
13551 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
13552 variables on the S/390, not `.word'.
13553
13554 2001-11-30 Jim Blandy <jimb@redhat.com>
13555
13556 Add assembly-source tests for s390-ibm-linux.
13557 * gdb.asm/s390.inc: New file.
13558 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
13559 the S/390 architecture.
13560 * gdb.asm/configure: Regenerated.
13561
13562 2001-11-30 Michael Snyder <msnyder@redhat.com>
13563
13564 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
13565 next, info source, info sources, info line, global and static
13566 variables, and static functions.
13567 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
13568 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
13569 * gdb.asm/asmsrc1.s: Add a static function and some variables.
13570 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
13571 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
13572 (gdbasm_leave): Restore frame pointer.
13573 (gdbasm_startup): Copy stack set-up from crt0.S.
13574
13575 2001-11-26 Fernando Nasser <fnasser@redhat.com>
13576
13577 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
13578 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
13579 to a local (non-static) variable. Copy tstruct.a to a static buffer
13580 and return a pointer to that buffer.
13581 * gdb.base/callfwmall.c (t_structs_a): Ditto.
13582
13583 2001-11-24 Mark Kettenis <kettenis@gnu.org>
13584
13585 * gdb.asm/configure.in: Fix recognition of ix86 target.
13586 * gdb.asm/configure: Regenerate.
13587
13588 2001-11-21 Michael Snyder <msnyder@redhat.com>
13589
13590 * gdb.asm/sparc.inc: New file.
13591 * gdb.asm/asm-source.exp: Recognize sparc target.
13592 * gdb.asm/configure.in: Recognize sparc target.
13593 * gdb.asm/configure: Regenerate.
13594
13595 2001-11-21 Michael Snyder <msnyder@redhat.com>
13596
13597 * gdb.asm/m32r.inc: New file.
13598 * gdb.asm/asm-source.exp: Recognize m32r target.
13599 * gdb.asm/configure.in: Recognize m32r target.
13600 * gdb.asm/configure: Regenerate.
13601
13602 2001-11-20 Michael Snyder <msnyder@redhat.com>
13603
13604 * gdb.asm/i386.inc: New file.
13605 * gdb.asm/asm-source.exp: Recognize ix86 target.
13606 * gdb.asm/configure.in: Recognize ix86 target.
13607 * gdb.asm/configure: Regenerate.
13608
13609 * gdb.c++/namespace.exp: Fix quotes in output messages.
13610
13611 2001-11-14 Michael Snyder <msnyder@redhat.com>
13612
13613 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
13614 qualifier in a type cast expression, to designate an address
13615 in the instruction space (Harvard architecture).
13616
13617 2001-11-13 Michael Snyder <msnyder@redhat.com>
13618
13619 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
13620 Tests for expressions using 'const' and 'volatile'.
13621
13622 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
13623
13624 * gdb.asm/asm-sources.exp: Allow defining linker flags.
13625
13626 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
13627
13628 * lib/mi-support.exp (mi_run_to_helper): Move comments
13629 outside of gdb_expect.
13630
13631 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
13632
13633 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
13634 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
13635 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
13636 mi0_run_to): New functions.
13637 * gdb.mi/mi-simplerun.exp: Use them.
13638 * gdb.mi/mi0-simplerun.exp: Likewise.
13639 * gdb.mi/mi-var-cmd.exp: Likewise.
13640 * gdb.mi/mi0-var-cmd.exp: Likewise.
13641
13642 2001-11-10 Andrew Cagney <ac131313@redhat.com>
13643
13644 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
13645 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
13646
13647 2001-11-09 Andrew Cagney <ac131313@redhat.com>
13648
13649 * gdb.base/restore.exp: Include $expected value in restored test
13650 message.
13651
13652 2001-11-09 Andrew Cagney <ac131313@redhat.com>
13653
13654 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
13655 implemented.
13656
13657 2001-11-08 Michael Snyder <msnyder@redhat.com>
13658
13659 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
13660 Add pass/fail message for stop at breakpoint in call dummy function.
13661
13662 2001-11-07 Michael Snyder <msnyder@redhat.com>
13663
13664 * gdb.c++/templates.exp (test_template_breakpoints):
13665 If we get an overload menu, but it does not match what
13666 we expect, we still need to issue the "cancel" command.
13667 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
13668 making the whitespace optional. Argument for "new" may be
13669 "unsigned" as well as "unsigned int/long".
13670 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
13671 making the whitespace optional. Also replace "(void) with
13672 "((void|)), making the keyword "void" optional.
13673 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
13674 making the whitespace optional. Also replace "(void) with
13675 "((void|)), making the keyword "void" optional.
13676 * gdb.base/callfuncs.c (t_float_values): This function must
13677 _not_ be prototyped, and the following function (t_float_values2)
13678 must be prototyped (if the compiler supports it), so that GDB
13679 can be tested against both cases. Usually one case involves
13680 promotion of float to double, while the other does not.
13681 * gdb.base/callfwmall.c: Ditto.
13682 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
13683 includes a stack frame for "start".
13684
13685 2001-11-05 Jim Blandy <jimb@redhat.com>
13686
13687 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
13688 pointers are 32 bits long, and that offsets of relocs are always
13689 stored in the data (REL-style), and not in the reloc entry itself
13690 (RELA-style).
13691 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
13692 stabs.
13693
13694 2001-11-01 Michael Snyder <msnyder@redhat.com>
13695
13696 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
13697 and regular expression operators by using quoting.
13698
13699 2001-10-31 Michael Snyder <msnyder@redhat.com>
13700
13701 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
13702 depending on what the symbol table contains.
13703 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
13704 the output of the ptype command. Similarly, accept both "const &"
13705 and "const&".
13706
13707 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
13708
13709 * gdb.base/miscexprs.c (main): Add usage of preprocessor
13710 symbol `STORAGE' to allow to choose the storage class of
13711 the local datastructures.
13712 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
13713 compiler directive.
13714
13715 2001-10-30 Michael Snyder <msnyder@redhat.com>
13716
13717 * gdb.base/jump.exp: Allow it to run for all targets.
13718
13719 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
13720
13721 * gdb.base/call-ar-st.c (print_double_array): Match for loop
13722 with new double_array size.
13723 (main): Change storage class of all local variables to static.
13724 Reduce size of double_array to 9.
13725 * gdb.base/call-ar-st.exp: Increase timeout value.
13726 Change expected output for double array to match new size in
13727 call-ar-st.c.
13728
13729 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
13730
13731 * gdb.base/ending-run.exp: Create identical output when passing
13732 `step to end of run' case. Add regular expression branch satisfying
13733 Stormy16 target.
13734
13735 2001-10-28 Mark Kettenis <kettenis@gnu.org>
13736
13737 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
13738 that we catch the expected failure under Linux/x86.
13739
13740 2001-10-29 Orjan Friberg <orjanf@axis.com>
13741
13742 * gdb.base/setvar.exp: Escape curly braces.
13743 * gdb.stabs/weird.exp: Ditto.
13744
13745 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
13746
13747 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
13748 * gdm.mi/mi0-hack-cli.exp: Likewise.
13749
13750 2001-10-25 Andrew Cagney <ac131313@redhat.com>
13751
13752 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
13753 messages.
13754
13755 2001-10-21 Andrew Cagney <ac131313@redhat.com>
13756
13757 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
13758 checking MI enabled.
13759
13760 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
13761
13762 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
13763
13764 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
13765
13766 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
13767 if gdb child process crashes, just signal an error.
13768
13769 2001-10-02 Jim Blandy <jimb@redhat.com>
13770
13771 * lib/gdb.exp (test_xfail_format): Simplify.
13772
13773 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
13774 front of the variable name `format'. Simplify `if'.
13775
13776 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
13777
13778 * gdb.threads/pthreads.exp: Wait for output and delay
13779 before sending ^C.
13780
13781 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
13782
13783 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
13784 some incorrect output instead of timing out.
13785 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
13786
13787 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
13788
13789 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
13790 check to allow additional `int'.
13791
13792 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
13793
13794 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
13795 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
13796
13797 2001-09-27 Michael Snyder <msnyder@redhat.com>
13798
13799 * lib/gdb.exp (test_debug_format): New proc.
13800 (setup_xfail_format): Use new proc test_debug_format.
13801 * gdb.base/constvars.exp (local_compiler_xfail_check): New
13802 proc; use new service proc test_debug_format.
13803 Replace all other "gcc_compiled" tests with this test.
13804 * gdb.base/volatile.exp (local_compiler_xfail_check): New
13805 proc; use new service proc test_debug_format.
13806 Replace all other "gcc_compiled" tests with this test.
13807
13808 2001-09-27 Michael Snyder <msnyder@redhat.com>
13809
13810 * gdb.base/cvexpr.exp: New file.
13811 * gdb.base/cvexpr.c: New file
13812 Test for expressions using const and volatile keywords.
13813
13814 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
13815
13816 * gdb.base/constvars.exp: Check for different orders of keywords
13817 and additional "int" strings in output.
13818
13819 2001-09-22 Andrew Cagney <ac131313@redhat.com>
13820
13821 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
13822 responses from "help maint".
13823
13824 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
13825
13826 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
13827 to localhost:NNN instead of :NNN, in case Xvfb is listening
13828 only on TCP.
13829
13830 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
13831
13832 * gdb.base/recurse.exp: When checking leaving the watchpoint
13833 scope, recognize when gdb is in function's epilogue and pass.
13834
13835 2001-09-18 Keith Seitz <keiths@redhat.com>
13836
13837 * lib/insight-support.exp (_gdbtk_export_target_info): Add
13838 support for running tests against sid targets.
13839 (gdbtk_done): Ditto.
13840
13841 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
13842
13843 * gdb.base/ending-run.c (main): Set stdout buffersize
13844 to the same reasonable value for any target.
13845 * gdb.base/ending-run.exp: Add a regular expression
13846 to make testsuite happy on Sanyo Stormy16 target.
13847
13848 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
13849
13850 * gdb.base/display.c (do_loops): Add float variable `f'.
13851 Increment f in loop.
13852 * gdb.base/display.exp: Increment timeout by 60 seconds.
13853 Change float display test to use variable `f'.
13854
13855 2001-09-17 Jim Blandy <jimb@redhat.com>
13856
13857 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
13858 overflowing the limited breakpoint tables on some ROM monitors
13859 (like the ROM68K).
13860
13861 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
13862
13863 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
13864 the "-ac" (disable access control) flag.
13865
13866 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
13867
13868 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
13869 ints.
13870
13871 2001-08-30 Keith Seitz <keiths@redhat.com>
13872
13873 * lib/gdb.exp: Move all insight-related functionality into
13874 separate file.
13875 * lib/insight-support.exp: New file.
13876
13877 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
13878
13879 * config/sid.exp (sid_start): Never set sid verbosity; disable
13880 expect_background {} that consumed its stdout; tolerate </dev/null.
13881 Attempt to set endianness override in "sid" protocol mode. Cleanup.
13882
13883 2001-08-18 Andrew Cagney <ac131313@redhat.com>
13884
13885 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
13886 CLI jump command to start it.
13887 (mi_run_to_main): Fail immediatly when unexpected output.
13888
13889 2001-08-18 Andrew Cagney <ac131313@redhat.com>
13890
13891 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
13892 beginning of function. Fix PR gdb/191.
13893
13894 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
13895
13896 * config/sid.exp (sid_start): Don't warn if we cannot figure out
13897 what to force sid endianness to.
13898
13899 2001-08-15 Keith Seitz <keiths@redhat.com>
13900
13901 * lib/gdb.exp (gdbtk_start): Don't set environment
13902 variables for TCL_LIBRARY and friends. Insight will
13903 now figure these out for itself.
13904
13905 2001-08-02 Michael Snyder <msnyder@redhat.com>
13906
13907 * gdb.base/completion.exp: Remove the symbol "a64l" from
13908 the expect string; this is target-specific, and not related
13909 to what is being tested.
13910
13911 2001-08-02 Dave Brolley <brolley@redhat.com>
13912
13913 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
13914
13915 2001-07-25 Michael Snyder <msnyder@redhat.com>
13916
13917 * gdb.base/consecutive.exp: New file. Test stepping over
13918 breakpoints on consecutive instructions.
13919 * gdb.base/consecutive.c: New file.
13920
13921 * gdb.base/call-rt-st.exp: Use double-backslash to quote
13922 curly braces in regular expressions.
13923
13924 2001-07-25 Michael Snyder <msnyder@redhat.com>
13925
13926 * gdb.base/ending-run.exp: Accept "Program exited normally" as
13927 legitimate output from stepping out of main.
13928
13929 2001-07-22 Keith Seitz <keiths@redhat.com>
13930
13931 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
13932 the empty string, do not run the tests.
13933
13934 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13935
13936 * gdb.base/long_long.exp: Detect size of pointer. Take into
13937 account 2-byte pointers when testing for p/a results.
13938
13939 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13940
13941 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
13942 and defined to 1K for m68hc11.
13943 (random_data): Reduce table to 1K for embedded platforms (68hc11).
13944 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
13945 (sizeof_random_data): New variable to tell the size of the data table;
13946 don't test past this size; always run to main.
13947
13948 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13949
13950 * gdb.base/return2.exp: return of long long and double fails for
13951 68HC11; don't execute these tests on that platform.
13952 * gdb.base/return.exp: Return of a double fails for 68hc11.
13953
13954 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
13955
13956 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
13957 tests that print a float.
13958 * call-rt-st.exp: Likewise.
13959
13960 2001-07-12 Mark Kettenis <kettenis@gnu.org>
13961
13962 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
13963 running this test on Linux.
13964
13965 2001-06-24 Michael Chastain <chastain@redhat.com>
13966
13967 * gdb.base/arithmet.exp: Remove some tests to make all test names
13968 unique.
13969
13970 2001-07-03 Michael Snyder <msnyder@redhat.com>
13971
13972 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
13973 the output of the ptype command.
13974
13975 2001-07-02 Michael Snyder <msnyder@redhat.com>
13976
13977 * gdb.base/completion.exp: Don't assume that break.c is the only
13978 source file that may contain functions named "marker".
13979 * gdb.base/corefile.exp: Quote the curly braces in regexp.
13980
13981 2001-06-28 Andrew Cagney <ac131313@redhat.com>
13982
13983 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
13984 of files to delete.
13985
13986 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
13987 * gdb.disasm/h8300s.exp: New file.
13988 gdb.disasm/h8300s.s: Likewise.
13989
13990 2001-06-27 Andrew Cagney <ac131313@redhat.com>
13991
13992 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
13993 empty breakpoint tables.
13994
13995 2001-06-25 Andrew Cagney <ac131313@redhat.com>
13996
13997 * lib/mi-support.exp: Update args=... part of stop-reason
13998 patterns. Accept either a list or a tuple.
13999
14000 2001-06-23 Andrew Cagney <ac131313@redhat.com>
14001
14002 * lib/mi-support.exp: Remove local emacs variable defining
14003 change-log-default-name.
14004
14005 2001-06-22 Michael Chastain <chastain@redhat.com>
14006
14007 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
14008 This is operationally compatible with the previous version.
14009
14010 2001-06-13 Jim Blandy <jimb@redhat.com>
14011
14012 * lib/gdb.exp (gdb_test): Doc fix.
14013
14014 2001-06-10 Michael Chastain <chastain@redhat.com>
14015
14016 * gdb.base/exprs.exp: Remove a duplicate test.
14017
14018 2001-06-06 Jim Blandy <jimb@redhat.com>
14019
14020 * gdb.base/return2.exp (main): Use values to test float and double
14021 returns that are not NaN's, to avoid being confused by IEEE
14022 comparison rules.
14023
14024 2001-06-04 Michael Snyder <msnyder@redhat.com>
14025
14026 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
14027 non-zero if control_c fails. Terminate the test on failure,
14028 rather than wait for 12 more tests to time out.
14029
14030 2001-06-06 Jim Blandy <jimb@redhat.com>
14031
14032 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
14033 Don't forget to match the GDB prompt.
14034
14035 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
14036
14037 2001-06-04 Jim Blandy <jimb@redhat.com>
14038
14039 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
14040 command.
14041
14042 2001-05-31 Kevin Buettner <kevinb@redhat.com>
14043
14044 * gdb.base/annota1.exp (info break): Match four or more spaces
14045 after "Address".
14046
14047 2001-05-31 Michael Chastain <chastain@redhat.com>
14048
14049 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
14050 (dm_type_int_star): Likewise.
14051 (dm_type_long_star): Likewise.
14052 (dm_type_void_star): Likewise.
14053
14054 2001-05-29 Kevin Buettner <kevinb@redhat.com>
14055
14056 * gdb.base/completion.exp (INPUTRC): Set this environment variable
14057 to a known value in order to get consistent results regardless
14058 of the setting of INPUTRC or the presence or contents of .inputrc.
14059
14060 2001-05-24 Michael Snyder <msnyder@redhat.com>
14061
14062 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
14063 Don't require that the main thread and the manager thread are the
14064 first in the list.
14065
14066 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
14067 debugging. If test fails, issue an "unsupported" not a "fail".
14068
14069 2001-05-24 Jim Blandy <jimb@redhat.com>
14070
14071 Don't assume that short is shorter than int.
14072 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
14073 assume that shorts are smaller than ints. On a 16-bit machine,
14074 this isn't true.
14075 ("print unsigned char == (~0)"): Add test that verifies that ~0,
14076 an int, is not equal to ~0 stored in an unsigned char. This tests
14077 the same thing that the previous test meant to, but works on
14078 16-bit machines, too.
14079 ("print unsigned char != (~0)"): Same test, complemented.
14080
14081 2001-05-24 Michael Snyder <msnyder@redhat.com>
14082
14083 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
14084 test for (full_coverage == 0). This makes the test run faster,
14085 and prevents dejagnu getting out of step.
14086
14087 2001-05-23 Kevin Buettner <kevinb@redhat.com>
14088
14089 * gdb.base/finish.exp (finish_void): Revise pattern for
14090 stopping on the call statement to not permit stopping at
14091 the start of the instructions comprising the call sequence.
14092
14093 2001-05-19 Michael Chastain <chastain@redhat.com>
14094
14095 * gdb.base/callfuncs.exp: Make all test names unique.
14096 * gdb.base/commands.exp: Make all test names unique.
14097 * gdb.base/condbreak.exp: Make all test names unique.
14098 * gdb.base/dbx.exp: Make all test names unique.
14099 * gdb.base/default.exp: Make all test names unique.
14100 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
14101 and TIMEOUT messages to their corresponding PASS message.
14102 * gdb.base/ending-run.exp: Make all test names unique.
14103 * gdb.base/long_long.exp: Remove duplicate test.
14104
14105 2001-05-21 Kevin Buettner <kevinb@redhat.com>
14106
14107 * gdb.base/finish.exp (finish_void): Allow "finish" command to
14108 stop on the call statement as well as the statement after the
14109 call.
14110
14111 2001-05-21 Michael Snyder <msnyder@redhat.com>
14112
14113 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
14114
14115 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
14116
14117 * gdb.base/completion.exp: Revamp test. Make it execute on all
14118 platforms.
14119
14120 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
14121
14122 * config/gdbserver.exp (gdb_load): Handle the case
14123 in which the arguments to gdbserver are given in the
14124 baseboard configuration file.
14125 Also handle the case in which the server needs to do a
14126 load.
14127
14128 2001-05-07 Keith Seitz <keiths@cygnus.com>
14129
14130 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
14131 set up the display for testing.
14132 (gdbtk_start): Convert all paths to paths that tcl will like.
14133 Export target information to environment.
14134 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
14135 necessary.
14136 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
14137 (to_tcl_path): New proc to convert a given pathname into
14138 a path acceptible as an argument to a tcl command.
14139 (_gdbtk_export_target_info): New proc to export target info
14140 into the environment for gdbtk testing.
14141 (gdbtk_done): New proc to signal end-of-test.
14142
14143 2001-05-06 Jim Blandy <jimb@redhat.com>
14144
14145 * restore.c: Make the code of caller0 correspond to its comment.
14146
14147 2001-05-03 Michael Snyder <msnyder@redhat.com>
14148
14149 * config/sid.exp (gdb_target_sid): Check for error messages.
14150 On error or timeout, don't make expect exit (which will terminate
14151 all subsequent tests); instead just make gdb exit.
14152 (gdb_load): Check for error messages. On error or timeout,
14153 return a negative value.
14154
14155 2001-04-24 Jim Blandy <jimb@redhat.com>
14156
14157 * gdb.c++/templates.exp: If we see the prompt for the overload
14158 list, but we haven't recognized any of the longer patterns,
14159 arrange for this test to fail, not hang.
14160
14161 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
14162 variations.
14163
14164 2001-04-22 Michael Chastain <chastain@redhat.com>
14165
14166 * gdb.c++/local.exp: Use the 'runto' library function.
14167 * gdb.c++/namespace.exp: Likewise.
14168 * gdb.c++/overload.exp: Likewise.
14169
14170 2001-03-26 Kevin Buettner <kevinb@redhat.com>
14171
14172 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
14173 * gdb.base/step-line.exp: New file. Test step/next in presence of
14174 #line directives.
14175 * gdb.base/step-line.c: New file. Test program for the above.
14176 * gdb.base/step-line.inp: New file. We pretend that this file has
14177 been transformed by some other tool into step-line.c.
14178
14179 2001-03-21 Jim Blandy <jimb@redhat.com>
14180
14181 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
14182 unmangled operator names.
14183
14184 2001-03-20 Jim Blandy <jimb@redhat.com>
14185
14186 * gdb.threads/linux-dp.exp: Recognize an additional message
14187 generated by GDB when it doesn't understand how to debug threads
14188 on the target system.
14189
14190 2001-03-19 Andrew Cagney <ac131313@redhat.com>
14191
14192 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
14193
14194 2001-03-12 Michael Chastain <chastain@redhat.com>
14195
14196 * gdb.c++/derivation.exp: Use the 'runto' library function.
14197
14198 2001-03-12 Michael Chastain <chastain@redhat.com>
14199
14200 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
14201
14202 2001-02-24 Michael Chastain <chastain@redhat.com>
14203
14204 * gdb.c++/ref-types.exp: Change handwritten code to library
14205 function 'runto'.
14206
14207 2001-03-16 Orjan Friberg <orjanf@axis.com>
14208
14209 * gdb.base/signals.exp: Set count to 0 explicitly.
14210
14211 2001-03-15 Mark Salter <msalter@redhat.com>
14212
14213 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
14214 (gdb_target_monitor): Add check of gdb_target_cmd return value.
14215 (gdb_load): Add support for additional target_info: gdb_download_size
14216 and gdb_load_timeout.
14217
14218 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
14219
14220 * gdb.base/annota1.exp: Move test of isnative to earlier in the
14221 file -- to prevent failing when the compile fails but we have no
14222 intention of running the tests anyway.
14223
14224 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
14225 tests if set.
14226
14227 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
14228 integers.
14229
14230 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
14231 * gdb.c++/namespace.exp: Ditto.
14232
14233 2001-03-07 Orjan Friberg <orjanf@axis.com>
14234
14235 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
14236 * gdb.base/pointers.exp: Relax pattern match of decimals.
14237
14238 2001-03-06 Kevin Buettner <kevinb@redhat.com>
14239
14240 * Makefile.in, config/abug.exp, config/cfdbug.exp,
14241 config/cpu32bug.exp, config/dve.exp, config/est.exp,
14242 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
14243 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
14244 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
14245 config/sh.exp, config/sid.exp, config/slite.exp,
14246 config/sparclet.exp, config/udi.exp, config/unknown.exp,
14247 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
14248 config/vxworks.exp, config/vxworks29k.exp,
14249 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
14250 gdb.base/all-bin.exp, gdb.base/annota1.exp,
14251 gdb.base/arithmet.exp, gdb.base/assign.exp,
14252 gdb.base/async.exp, gdb.base/attach.exp,
14253 gdb.base/bitfields.exp, gdb.base/bitops.exp,
14254 gdb.base/break.exp, gdb.base/call-ar-st.exp,
14255 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
14256 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
14257 gdb.base/commands.exp, gdb.base/completion.exp,
14258 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
14259 gdb.base/constvars.exp, gdb.base/corefile.exp,
14260 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
14261 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
14262 gdb.base/ending-run.exp, gdb.base/environ.exp,
14263 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
14264 gdb.base/finish.exp, gdb.base/foll-exec.exp,
14265 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
14266 gdb.base/funcargs.exp, gdb.base/help.exp,
14267 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
14268 gdb.base/logical.exp, gdb.base/long_long.exp,
14269 gdb.base/maint.exp, gdb.base/mips_pro.exp,
14270 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
14271 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
14272 gdb.base/pointers.exp, gdb.base/printcmds.exp,
14273 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
14274 gdb.base/regs.exp, gdb.base/relational.exp,
14275 gdb.base/remote.exp, gdb.base/reread.exp,
14276 gdb.base/restore.exp, gdb.base/return2.exp,
14277 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
14278 gdb.base/selftest.exp, gdb.base/setshow.exp,
14279 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
14280 gdb.base/sigall.exp, gdb.base/signals.exp,
14281 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
14282 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
14283 gdb.base/step-test.exp, gdb.base/structs.c,
14284 gdb.base/structs.exp, gdb.base/structs2.exp,
14285 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
14286 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
14287 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
14288 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
14289 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
14290 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
14291 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
14292 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
14293 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
14294 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
14295 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
14296 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
14297 gdb.fortran/types.exp, gdb.java/jmisc.exp,
14298 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
14299 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
14300 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
14301 gdb.trace/circ.exp, gdb.trace/collection.exp,
14302 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
14303 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
14304 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
14305 gdb.trace/report.exp, gdb.trace/save-trace.exp,
14306 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
14307 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
14308 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
14309 notices.
14310
14311 2001-02-27 Michael Snyder <msnyder@cygnus.com>
14312
14313 * gdb.base/varargs.c (find_max_double): Fix printf format string:
14314 first arg is int not float.
14315
14316 2001-02-22 Michael Snyder <msnyder@cygnus.com>
14317
14318 * gdb.base/reread.exp: Unsupported for non-native targets;
14319 doesn't work for remote debugging.
14320
14321 2001-02-19 Fernando Nasser <fnasser@redhat.com>
14322
14323 From Drew Moseley <dmoseley@redhat.com>
14324 * gdb.base/ending-run.exp: Properly handle the BSP state when
14325 stepping past the end of main.
14326
14327 2001-02-19 John Moore <jmoore@redhat.com>
14328
14329 * gdb.base/commands.exp (infrun_breakpoint_command_test):
14330 Converted HPUX fix for non-expected items following multiple
14331 step commands into general solution for all platforms.
14332
14333 2001-02-18 Michael Chastain <chastain@redhat.com>
14334
14335 * gdb.c++/classes.exp (do_tests): Change runto statements
14336 from "runto 'foo(void)'" to "runto 'foo'". This makes the
14337 statements demangler agnostic.
14338 * gdb.c++/virtfunc.exp (do_tests): Likewise.
14339 (gdb_virtfunc_restart): Likewise.
14340
14341 2001-02-14 Michael Chastain <chastain@redhat.com>
14342
14343 * gdb.c++/inherit.exp (do_tests): Change runto statements
14344 from "runto 'foo(void)'" to "runto 'foo'". This makes the
14345 statements demangler agnostic.
14346
14347 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
14348
14349 * gdb.threads/pthreads.exp: Unify pass/fail messages for
14350 ``continue to bkpt at common_routine in thread 2'' and ``stopped
14351 before calling common_routine 15 times'' tests.
14352
14353 2001-02-11 Michael Chastain <chastain@redhat.com>
14354
14355 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
14356 Helps the test script figure out which demangler is in use.
14357 (dm_type_foo_ref): Ditto.
14358 (dm_type_int_star): Ditto.
14359 (dm_type_long_star): Ditto.
14360 (dm_type_unsigned_int): Ditto.
14361 (dm_type_void): Ditto.
14362 (dm_type_void_star): Ditto.
14363 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
14364 Probe the gdb demangler and set variables to accommodate
14365 formatting differences.
14366 (info_func_regexp): New function. Same as info_func, but
14367 matches against a regexp.
14368 (info_func): Match against a literal string.
14369 (print_addr_2): New function. Match against a literal string,
14370 which can be different from the input to gdb.
14371 (print_addr): Simply call print_addr_2 with the same argument twice.
14372 (test_lookup_operator_functions): Use demangler formatting variables.
14373 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
14374 the tests in the same order as the C++ class declaration.
14375 (test_paddr_operator_functions): Ditto.
14376 (test_paddr_overloaded_functions): Ditto.
14377 (test_paddr_hairy_functions): Use demangler formatting variables.
14378 Add reference to gdb/19 for related tests.
14379 (do_tests): Call probe_demangler.
14380
14381 2001-01-30 Kevin Buettner <kevinb@redhat.com>
14382
14383 * gdb.c++/templates.cc (printf): Remove unused function definition.
14384
14385 2001-01-26 Felix Lee <flee@redhat.com>
14386
14387 * sid.exp (sid_exit): Pass host, not target, to remote_close.
14388
14389 2001-01-25 matthew green <mrg@redhat.com>
14390
14391 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
14392 up sid.
14393 (sid_exit): Call `remote_pop_conn' after GDB is gone.
14394
14395 2001-01-25 matthew green <mrg@redhat.com>
14396
14397 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
14398 Deprecate $sid_spawn_id.
14399 (sid_exit): Remove code necessary only for `spawn.'
14400
14401 2001-01-25 matthew green <mrg@redhat.com>
14402
14403 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
14404
14405 2001-01-28 Michael Chastain <chastain@redhat.com>
14406
14407 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
14408 to call when tests fail. It takes gdb out of the overloaded
14409 function choice menu back to the main prompt, so that the test
14410 program stays synchronized.
14411 (set_bp_overloaded): New proc to collect all the common
14412 code for setting a breakpoint on an overloaded name. Calls
14413 take_gdb_out_of_choice_menu when needed.
14414 (menu_overload1arg): New variable to collect the repeated
14415 instances of the expected menu for an overloaded name. Change
14416 the regular expression to handle changes in g++ type encoding:
14417 "void" can be either "void" or "", and "unsigned int" can be
14418 either "unsigned int" or "unsigned".
14419 (continue_to_bp_overloaded): Change regular expressions to handle
14420 changes in g++ type encoding.
14421 (no proc): Call take_gdb_out_of_choice_menu when needed.
14422 Remove redundant calls to "info break". Accept either "canceled"
14423 or "cancelled". Change regular expressions in "info break"
14424 calls to handle changes in g++ type encoding. Give all tests
14425 unique strings.
14426
14427 2001-01-17 Ben Elliston <bje@redhat.com>
14428
14429 * config/sid.exp: New file.
14430
14431 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
14432
14433 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
14434
14435 2000-12-21 Michael Snyder <msnyder@cygnus.com>
14436
14437 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
14438 Add a RE to accept a non-ascii char if one is ever presented.
14439
14440 2000-12-20 Fernando Nasser <fnasser@redhat.com>
14441
14442 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
14443
14444 2000-12-18 Michael Snyder <msnyder@cygnus.com>
14445
14446 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
14447 in regexp. One '\' does not suffice on Linux.
14448
14449 2000-12-09 Michael Chastain <chastain@redhat.com>
14450
14451 * gdb.base/break.exp (test_clear_command): Use a marker function
14452 rather than 'main' for the test function. Also move this
14453 test to an execution point where the marker function names are
14454 guaranteed to be bound to functions. (Executing tests after a
14455 'finish' from main runs into name conflicts with local names
14456 in __libc_start_main).
14457
14458 2000-12-07 Michael Snyder <msnyder@cygnus.com>
14459
14460 * gdb.base/finish.exp: New test for gdb's "finish" command.
14461 * gdb.base/return2.exp: New test for gdb's "return" command.
14462 * gdb.base/return2.c: New source file for above.
14463
14464 2000-12-05 Michael Snyder <msnyder@cygnus.com>
14465
14466 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
14467 * gdb.base/miscexprs.exp: Ditto.
14468 * gdb.base/pointers.exp: Ditto.
14469 * gdb.c++/derivation.exp: Ditto.
14470 * gdb.c++/local.exp: Ditto.
14471 * gdb.c++/namespace.exp: Ditto.
14472 * gdb.c++/overload.exp: Ditto.
14473 * gdb.c++/ref-types.exp: Ditto.
14474
14475 2000-12-05 Michael Snyder <msnyder@cygnus.com>
14476
14477 * gdb.base/constvars.exp: Test result of "up" command.
14478 * gdb.base/miscexprs.exp: Ditto.
14479 * gdb.base/pointers.exp: Ditto.
14480 * gdb.base/scope.exp: Ditto.
14481 * gdb.c++/derivation.exp: Ditto.
14482 * gdb.c++/local.exp: Ditto.
14483 * gdb.c++/namespace.exp: Ditto.
14484 * gdb.c++/overload.exp: Ditto.
14485 * gdb.c++/ref-types.exp: Ditto.
14486
14487 2000-11-22 Michael Chastain <chastain@redhat.com>
14488
14489 * mips_pro.exp: Accept either "middle -> top -> main" or
14490 "middle -> main" in the backtrace, because gcc can optimize
14491 tail calls to jumps. Remove setup_xfail for the hppa case.
14492 Add a comment with the original warning messages from PR 3016,
14493 which was filed in 1993, to preserve them for posterity.
14494
14495 2000-11-17 Nick Duffek <nsd@redhat.com>
14496
14497 * lib/gdb.exp (gdb_test): Override timeout with board info.
14498
14499 2000-11-17 Nick Duffek <nsd@redhat.com>
14500
14501 * gdb.base/display.exp: Don't kill running stub. Add "again" to
14502 the second kill and detach messages.
14503
14504 2000-11-17 Nick Duffek <nsd@redhat.com>
14505
14506 * configure.in: Add AC_EXEEXT.
14507 * configure: Regenerate.
14508 * Makefile.in (just-check): Export EXEEXT.
14509 * lib/gdb.exp ($EXEEXT): Import from environment.
14510 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
14511 expect "maint dump-me" on Cygwin.
14512 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
14513 $EXEEXT.
14514
14515 2000-11-17 Nick Duffek <nsd@redhat.com>
14516
14517 * gdb.base/break.exp: Test backtrace and finish from called
14518 function on all platforms, not just HP-UX.
14519
14520 2000-11-03 Michael Snyder <msnyder@cygnus.com>
14521
14522 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
14523 code from gdb_target_monitor, so it can be used independantly
14524 for gdbserver. Also comment out an unnecessary PUTS.
14525
14526 2000-11-03 Michael Snyder <msnyder@cygnus.com>
14527
14528 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
14529 * gdb.base/corefile.exp: Expect the message "Program is being
14530 debugged already" when we send the "corefile" command, since
14531 the preceeding gdb_load may have connected gdb to a remote target.
14532 * gdb.base/display.exp: Disable hardware watchpoints if new
14533 board info variable "no_hardware_watchpoints" is true.
14534 Replace single-letter commands with more readable ones.
14535 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
14536 if new board info variable "no_hardware_watchpoints" is true.
14537 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
14538 to see if stdio (printf) testing is possible.
14539 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
14540 board info variable "no_hardware_watchpoints" is true. Use new
14541 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
14542
14543 2000-11-13 Fernando Nasser <fnasser@redhat.com>
14544
14545 From Orjan Friberg <orjanf@axis.com>:
14546 * gdb.base/printcmds.exp: Escape curly braces followed by a number
14547 in array print pattern match.
14548
14549 2000-11-09 Fernando Nasser <fnasser@redhat.com>
14550
14551 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
14552 spelling "cancelled" to U.S. spelling "canceled" to match changes
14553 made to gdb.
14554 * gdb.c++/ovldbreak.exp: Ditto.
14555
14556 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
14557
14558 * gdb.base/callfuncs.c (main): Moved to end of file, call
14559 t_double_values to initialize the FPU before inferior calls are made.
14560 * gdb.base/callfuncs.exp: Test for register preservation after calling
14561 inferior functions. Add tests for continuining, finishing and
14562 returning from a stop in a call dummy.
14563
14564 2000-10-24 Michael Snyder <msnyder@cygnus.com>
14565
14566 * gdb.base/commands.exp: Break up long lines, and re-indent.
14567
14568 2000-10-19 Michael Snyder <msnyder@cygnus.com>
14569
14570 * config/gdbserver.exp: Rewritten from the ground up, to make it
14571 compatible with the current dejagnu tree, and to make it work with
14572 the new "gdbserver" in libremote.
14573
14574 2000-10-16 Michael Snyder <msnyder@cygnus.com>
14575
14576 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
14577 * gdb.base/varargs.exp: Skip entire test if no printf support.
14578 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
14579 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
14580
14581 2000-10-13 Michael Snyder <msnyder@cygnus.com>
14582
14583 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
14584 no floating point support.
14585 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
14586 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
14587 * gdb.base/call-rt-st.exp: Ditto.
14588 * gdb.base/call-strs.exp: Ditto.
14589
14590 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
14591
14592 * gdb.base/sizeof.c: include <stdio.h>.
14593
14594 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
14595 'finish', otherwise uncaptured gdb_prompt would potentially
14596 throw remaining test points out of sync.
14597
14598 2000-07-26 Scott Bambrough <scottb@netwinder.org>
14599
14600 * gdb.base/recurse.exp: Run tests for all targets.
14601 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
14602 gnu-oldld case on ARM.
14603 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
14604 for ARM targets.
14605
14606 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
14607
14608 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
14609 * gdb.java/configure: Rebuild.
14610
14611 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
14612
14613 * gdb.java/jv-exp.exp: New file.
14614
14615 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
14616
14617 * configure: Rebuilt.
14618 * configure.in (configdirs): Add gdb.java.
14619 * gdb.java/jmisc.java: New file.
14620 * gdb.java/jmisc.exp: New file.
14621 * gdb.java/Makefile.in: New file.
14622 * gdb.java/configure: Rebuilt.
14623 * gdb.java/configure.in: New file.
14624 * lib/java.exp: New file.
14625
14626 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
14627
14628 * gdb.base/exprs.exp: Test casts to a pointer including over and
14629 underflow.
14630
14631 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
14632
14633 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
14634 and the compilers sizes.
14635
14636 2000-07-09 Nick Duffek <nsd@redhat.com>
14637
14638 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
14639 (use_methods): New function.
14640 (main): Call use_methods().
14641 * gdb.c++/classes.exp (test_method_param_class): New procedure.
14642 (do_tests): Call test_method_param_class.
14643
14644 2000-07-09 Nick Duffek <nsd@redhat.com>
14645
14646 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
14647 spelling.
14648 (test_enums): New procedure. Move enum tests from end of script
14649 to here. Set breakpoint on function name instead of line number.
14650 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
14651 (enums2): New marker function.
14652 (enums1): New function.
14653 (main): Call enums1(). Move enum tests to enums1().
14654
14655 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
14656
14657 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
14658 compile/link program. Update line numbers.
14659 * gdb.asm/d10v.inc: Define ``startup''.
14660 * gdb.asm/asmsrc1.s: Add definition of _start.
14661
14662 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
14663
14664 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
14665
14666 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14667
14668 * gdb.base/maint.exp: Add 'maint print architecture' item to output
14669 of 'help maint print' command.
14670
14671 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
14672
14673 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
14674 they use gdb_expect_list.
14675
14676 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
14677
14678 * gdb.base/commands.exp: Use ``set remote
14679 memory-read-packet-size'' instead of ``set endian big'' to test
14680 long commands.
14681
14682 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
14683
14684 * gdb.c++/templates.exp (do_tests): Make all of these work under
14685 g++, and stop skipping them.
14686
14687 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
14688 work under g++.
14689
14690 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
14691 initialization.
14692
14693 2000-06-02 Michael Snyder <msnyder@cygnus.com>
14694
14695 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
14696 the regular expression: accept an (almost) arbitrary sequence of
14697 "frames-invalid" and "breakpoints-invalid" messages both before
14698 and after the "starting" message.
14699
14700 2000-06-02 Michael Snyder <msnyder@cygnus.com>
14701
14702 * gdb.c++/local.exp: This test has never been known to work with g++.
14703
14704 2000-05-18 Michael Snyder <msnyder@cygnus.com>
14705
14706 * gdb.base/annota1.exp (annotate-signal-handler-caller):
14707 Relax the regular expression a little, make it pass on Solaris 8.
14708
14709 2000-05-12 Kevin Buettner <kevinb@redhat.com>
14710
14711 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
14712 a call, do not require that gdb stop on the line after the call.
14713 Instead, it is permissible for gdb to stop on the line of the
14714 call itself.
14715
14716 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
14717
14718 * gdb.base/break.exp (bp on small function, optimized file):
14719 Add a second pass pattern. The behavior differs here between stabs
14720 and dwarf for one-line functions. Stabs preserves two line symbols
14721 (one before the prologue and one after) with the same line number,
14722 but dwarf regards these as duplicates and discards one of them.
14723 Therefore the address after the prologue (where the breakpoint is)
14724 has no exactly matching line symbol, and GDB reports the breakpoint
14725 as if it were in the middle of a line rather than at the beginning.
14726
14727 2000-05-08 Michael Snyder <msnyder@cygnus.com>
14728
14729 * gdb.base/interrupt.exp: Make "pass" message say "send"
14730 rather than "send_gdb" (for consistancy).
14731
14732 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
14733
14734 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
14735 * gdb.c++/templates.cc: Properly check for GCC version number.
14736 * lib/compiler.cc: Likewise
14737
14738 2000-04-28 Michael Snyder <msnyder@cygnus.com>
14739
14740 * gdb.base/break.exp: When compiled with -O2 optimization,
14741 gdb may not stop at the first line of main, due to code motion.
14742
14743 2000-04-26 Michael Snyder <msnyder@cygnus.com>
14744
14745 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
14746 This test depends on parsing the printf output from the target.
14747 Since the sparclet stub doesn't do stdio, this will never work.
14748 * gdb.base/call-rt-st.exp: ditto.
14749 * gdb.base/call-strs: ditto.
14750
14751 2000-04-24 Michael Snyder <msnyder@cygnus.com>
14752
14753 * gdb.base/miscexprs.exp: make sizeof long array test portable.
14754
14755 * gdb.base/ending-run.exp: After connecting to a remote target,
14756 but before running, the target will appear to be in a random
14757 location. Specify both a file and a line for breakpoints.
14758 Also, the function that calls main may be called 'init'
14759 rather than 'start'.
14760
14761 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14762
14763 * gdb.base/help.exp: Update output for add-symbol-file command.
14764
14765 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
14766
14767 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14768 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
14769
14770 2000-04-07 J.T. Conklin <jtc@redback.com>
14771
14772 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
14773
14774 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
14775
14776 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
14777
14778 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
14779 values that can be represented exactly.
14780 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
14781 above change, and to not check against the directory part of the source
14782 file name.
14783 (step into print_long_arg_list): Likewise.
14784 (print print_small_structs from print_long_arg_list): Likewise.
14785 (print print_long_arg_list): Likewise.
14786
14787 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14788
14789 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
14790
14791 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
14792
14793 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
14794
14795 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
14796
14797 * gdb.base/commands.exp (deprecated_command_test): Add test for
14798 deprecate with no arguments.
14799
14800 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
14801
14802 * gdb.base/break.exp: Add new test for setting breakpoints on
14803 optimized code so we can test breakpoints work even when function
14804 prologues may be optimized away
14805
14806 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
14807
14808 From David Whedon <dwhedon@gordian.com>
14809 * gdb.base/commands.exp : Added command deprecator tests.
14810
14811 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
14812
14813 * gdb.base/help.exp: Added test for new apropos command.
14814
14815 2000-03-21 Kevin Buettner <kevinb@redhat.com>
14816
14817 * gdb.base/pointers.c (usevar): New function.
14818 (main): Make sure that global variables v_int_pointer2, rptr,
14819 and y are all referenced someplace in the program by calling
14820 usevar() on them. [Some linkers delete symbols which are
14821 never referenced. The space remains, but there's no way to
14822 get a (symbolic) handle on the variable from the debugger.]
14823
14824 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14825
14826 * gdb.base/printcmds.c: Add typedeffed arrays.
14827
14828 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
14829 procedure to test arrays that are typedef'd.
14830
14831 2000-03-13 James Ingham <jingham@leda.cygnus.com>
14832
14833 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
14834 the library directories.
14835
14836 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
14837
14838 * configure.in (configdirs): Add sub directory gdb.mi.
14839 * configure: Re-generate.
14840
14841 * gdb.mi: New directory.
14842
14843 2000-02-25 Scott Bambrough <scottb@netwinder.org>
14844
14845 * gdb.base/long_long.exp: Correct test suite failure when printing
14846 a long long value as a double on ARM platforms.
14847
14848 2000-02-16 Jim Blandy <jimb@redhat.com>
14849
14850 * gdb.base/break.exp ("breakpoint line number"): Make sure the
14851 default source file is set properly before running this test.
14852
14853 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14854
14855 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
14856 gdbtk/library directory, not in gdbtcl2.
14857
14858 2000-02-04 Jim Blandy <jimb@redhat.com>
14859
14860 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
14861 backslash from regexp pattern.
14862
14863 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
14864 procedure. Use it to run all the "continue to bp overloaded"
14865 tests. Note that this changes the names of the tests slightly.
14866 If the breakpoint hit message includes a hex PC value, because
14867 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
14868 from the real source code, still consider that a pass.
14869
14870 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
14871 XFAIL here if the breakpoint message contains a hex address. Note
14872 similar change on 1999-11-02.
14873
14874 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
14875
14876 * gdb.base/ptype.exp: Establish a default source file before
14877 calling get_debug_format.
14878
14879 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
14880
14881 * gdb.base/watchpoint.exp: Remove duplication of test messages.
14882
14883 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
14884
14885 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
14886 of successive stepi commands -- while in the prologue we should see
14887 the function entry bracket.
14888
14889 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
14890
14891 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
14892 reach __change_mode() when stepping through the end of main().
14893
14894 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
14895
14896 * gdb.base/default.exp: Fix expected pattern.
14897 * gdb.base/help.exp: Same.
14898
14899 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14900
14901 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
14902 Don't use xfail's because that affects only the following test.
14903
14904 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
14905 solaris or linux.
14906
14907 * gdb.base/selftest.exp: Update to reflect changes to main.c.
14908
14909 2000-01-07 Michael Snyder <msnyder@cygnus.com>
14910
14911 * gdb.base/display.exp: Some yacc parsers like to say
14912 "A syntax error" rather than "A parse error". Accept both.
14913
14914 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
14915
14916 * gdb.base/default.exp: Remove OS dependent string from "target
14917 remote" test.
14918 * gdb.base/help.exp: Same for "help target remote" test.
14919
14920 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14921
14922 From Jim Kingdon <kingdon@redhat.com>:
14923
14924 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
14925 prompt (cleanup rather than necessity, but still might keep output
14926 from spilling to next test).
14927
14928 2000-01-02 Fred Fish <fnf@cygnus.com>
14929
14930 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
14931 AIX, which defines them in <sys/types.h>.
14932
14933 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
14934
14935 * gdb.base/default.exp: Match arm* etc instead of arm in "info
14936 float" test.
14937
14938 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
14939
14940 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
14941
14942 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
14943 outermost frame disallowed".
14944
14945 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
14946
14947 * gdb.base/setvar.exp: New tests for setting the value of a struct
14948 with a constant list.
14949
14950 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
14951
14952 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
14953 require the user to type a cast before setting the value of a struct.
14954
14955 1999-12-06 Jim Blandy <jimb@cygnus.com>
14956
14957 * gdb.base/default.exp: Expect the new 'info float' command on
14958 all i386 platforms.
14959
14960 * gdb.threads/linux-dp.exp: Expand our ability to recognize
14961 LinuxThreads libraries that don't support debugging.
14962
14963 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
14964
14965 * gdb.base/remote.c: Fill the buffer with truely random data.
14966 Change the buffer type to ``unsigned char'' to simplify size
14967 arithmetic.
14968
14969 * gdb.base/remote.exp: Reduce download numbers by one. Typical
14970 stub only handles 400-1 byte packets. Verify that the download
14971 worked.
14972
14973 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
14974
14975 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
14976 tests, using UNRESOLVED for the untested cases. Also, does not wait
14977 for a timeout if the prompt was received before a recognizable pattern.
14978
14979 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
14980
14981 * lib/gdb.exp (gdb_expect_list): Fix spelling.
14982
14983 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14984
14985 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
14986 watchpoints.
14987
14988 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
14989
14990 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
14991
14992 * gdb.c++/local.exp: Be more flexible in recognizing local class
14993 name mangling. Don't allow horribly truncated method names.
14994 * gdb.c++/derivation.exp: Expect protected inheritance.
14995 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
14996 * gdb.c++/virtfunc.exp: Likewise.
14997 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
14998 when printing a nested enum.
14999
15000 1999-11-22 Jim Blandy <jimb@cygnus.com>
15001
15002 * gdb.base/step-test.exp: Properly await GDB's response to setting
15003 a breakpoint on the call to large_struct_by_value.
15004
15005 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
15006 just because we have debug info for the `start' function.
15007
15008 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
15009
15010 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
15011 "Unknown signal" messages, which indicate (on LinuxThreads) that
15012 GDB doesn't know how to debug threads on this system. This is
15013 better than hanging while philosopher 0 dumps chatter into gdb.log.
15014
15015 1999-11-18 Tom Tromey <tromey@cygnus.com>
15016
15017 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
15018
15019 1999-11-18 Fred Fish <fnf@cygnus.com>
15020
15021 * gdb.base/coremaker2.c: Add sample program for generating
15022 cores that is more self contained than coremaker.c. Eventually
15023 I'll add more code to this and tie it into the testsuite.
15024
15025 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
15026
15027 * gdb.base/dollar.exp: Remove, now in gdb.hp.
15028
15029 1999-11-10 Jimmy Guo <guo@cup.hp.com>
15030
15031 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
15032 from $srcdir/lib/.
15033 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
15034 and gdb.c++/.
15035
15036 * gdb.c++/derivation.exp: remove redundant get compiler info code.
15037
15038 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
15039 'continue with watch' test point.
15040
15041 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
15042
15043 Merged from p2linux-990323-branch:
15044
15045 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
15046
15047 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
15048
15049 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
15050 {limit,fixed}''. Test ``set download-write-size''.
15051
15052 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
15053
15054 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
15055 gdb_expect_list.
15056
15057 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
15058
15059 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
15060
15061 1999-11-03 Mark Salter <msalter@cygnus.com>
15062
15063 * gdb.base/break.exp: Fix "stub continue" pattern.
15064
15065 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
15066
15067 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
15068
15069 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
15070
15071 * gdb.base/display.exp ("finish"): Add timeout clause.
15072
15073 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
15074 plain prompt clause, so this doesn't have to time out in order to
15075 fail.
15076
15077 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
15078 breakpoint hit messages include an address.
15079
15080 * gdb.base/display.exp: Don't forget to escape parens in regular
15081 expressions. Unix regexp notatation sucks.
15082
15083 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15084
15085 * gdb.base/annota1.exp: Test for annotate-signalled: change output
15086 order for 'signalled' message.
15087
15088 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
15089
15090 From Jimmy Guo <guo@cup.hp.com>:
15091 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
15092 * gdb.base/annota1.c: Add code for tests to work with.
15093
15094 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
15095
15096 * gdb.base/remote.exp: New test for remote downloading settings.
15097 * gdb.base/remote.c: New file with large .data.
15098
15099 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
15100
15101 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
15102 for LinuxThreads support, merged from the Code Fusion branch.
15103
15104 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
15105
15106 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
15107 containing exp_continue into a while within an expect. Don't
15108 attempt a start more than three times. Check return value from
15109 gdb_load.
15110
15111 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
15112
15113 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
15114 a pass case.
15115
15116 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
15117
15118 * gdb.base/break.c (main): Added a statement that we can step
15119 off of.
15120 * gdb.base/break.exp: Added tests for setting a breakpoint
15121 at an offset and stepping onto a breakpoint.
15122
15123 1999-10-01 Fred Fish <fnf@cygnus.com>
15124
15125 * gdb.base/help.exp (help add-symbol-file): Update to match current
15126 gdb output.
15127
15128 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
15129
15130 * gdb.base/break.exp: Code locations are in hex, don't forget!
15131 (For HP-UX.)
15132
15133 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
15134
15135 * condbreak.exp: Use break.c as test program.
15136 * condbreak.c: Remove, redundant with break.c.
15137
15138 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
15139
15140 * config/monitor.exp (gdb_target_monitor): Disable X- and
15141 Z-packets if the target needs it.
15142
15143 1999-09-13 James Ingham <jingham@leda.cygnus.com>
15144
15145 * gdb.c++/overload.exp: Added tests for listing overloaded
15146 functions with function pointers in the arg, explicitly calling
15147 out the version you want.
15148
15149 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
15150
15151 * long_long.exp: Add variations of test cases that work for
15152 targets with 16-bit ints and 32-bit doubles.
15153
15154 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
15155
15156 * break.c (main): Compare a possibly-uninitialized argc with an
15157 unlikely value that fits in 16 bits.
15158
15159 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
15160
15161 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
15162 0xfeeb, don't want negative numbers if ints are 16 bits.
15163
15164 * lib/gdb.exp (skip_cplus_tests): New proc.
15165 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
15166 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
15167 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
15168 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
15169 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
15170 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
15171 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
15172 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
15173
15174 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
15175
15176 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
15177
15178 * gdb.base/corefile.exp (up): Allow a parameter to appear
15179 in the frame that we're going up to.
15180
15181 From Jim Blandy <jimb@cygnus.com>:
15182
15183 * gdb.base/default.exp (info float): Expect some output now.
15184
15185 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
15186 returning floating-point values to fail on the x86.
15187 * gdb.base/callfwmall.exp (do_function_calls): Same.
15188
15189 * gdb.base/list.exp (test_listsize): Correct expectations for
15190 listing line 1 with listsize 2. Also, listing a single line
15191 works now, as does listing three lines. [Kevin's note: There
15192 were a number of other cases fixed too where the expectations
15193 differed...]
15194
15195 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
15196
15197 * gdb.base/selftest.exp: Add case for when version prints as
15198 constant string instead of char pointer.
15199
15200 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
15201
15202 * gdb.base/ending-run.exp: Add Solaris case for what happens when
15203 stepping out of main.
15204
15205 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
15206 G++ used.
15207
15208 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
15209 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
15210
15211 * gdb.c++/ovldbreak.exp: Update match string in test that
15212 includes a warning of multiple breakpoints.
15213
15214 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
15215
15216 * gdb.base/display.exp: Improve precision of step-after-finish
15217 added yesterday.
15218
15219 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
15220 test.
15221
15222 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
15223 configs when using G++, not just hppa*.
15224
15225 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15226
15227 * gdb.base/async.c: New file.
15228 * gdb.base/async.exp: New file.
15229
15230 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
15231
15232 * gdb.base/break.exp: Tweak PA specific tests to properly handle
15233 PA64.
15234
15235 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
15236
15237 * gdb.base/display.exp: "finish" can leave us mid-line on many
15238 targets, deal with it. Add a small constant to main, instead of
15239 1000 since main+1000 may not be a valid address in the target.
15240
15241 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
15242 on hpux11.
15243
15244 * gdb.base/attach.exp: Handle another hpux11 error message variant
15245 when attaching to a process that does not exist.
15246
15247 1999-08-19 J.T. Conklin <jtc@redback.com>
15248
15249 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
15250 characters in 'continue to 1241' test.
15251
15252 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
15253
15254 * gdb.base/call-ar-st.exp: Add a shorter match case for the
15255 stop in print_long_arg_list, define and use a whitespace
15256 variable in print_small_structs test, add an XFAIL for Solaris.
15257 * gdb.base/dbx.exp: XFAIL func commands until somebody is
15258 interested enough to fix.
15259
15260 1999-08-13 Keith Seitz <keiths@cygnus.com>
15261
15262 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
15263 (dbx_gdb_load): Remove. Use gdb_load instead, since that
15264 proc knows about targets other than the natives.
15265 (test_assign): Use "gdb_run_cmd" to "run" the target.
15266 Check that we've actually hit the breakpoint at main.
15267 When we attempt to assign a value to a local variable, check
15268 that the variable is in the current scope, i.e., don't use
15269 a test with an empty result.
15270
15271 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
15272
15273 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
15274 command.
15275
15276 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
15277
15278 From Jimmy Guo <guo@cup.hp.com> and others at HP:
15279 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
15280 gdb.compat, gdb.threads-hp.
15281 gdb.hp/configure, gdb.hp/configure.in: New files.
15282 gdb.hp/Makefile.in: Recurse into new subdirs.
15283 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
15284 gdb.hp/gdb.objdbg: New directory, tests for debugging info
15285 in object files.
15286 gdb.hp/tools: New directory, aux tools for HP-specific tests.
15287
15288 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
15289
15290 * gdb.base/display.exp: Help expect by putting a newline in the
15291 funky printf, remove a bogus p/a test.
15292
15293 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15294
15295 * gdb.base/display.exp: Make sure that when we say 'run', we are
15296 connected to the target. This is necessary when running not
15297 natively.
15298
15299 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
15300
15301 * gdb.base/step-test.exp: Removed some extraneous messages.
15302
15303 * gdb.base/long_long.exp: Don't run memory examination tests
15304 on little-endian targets (they will need a different set of
15305 results to match).
15306
15307 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
15308
15309 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
15310 until somebody decides to fix GDB.
15311
15312 * gdb.base/long_long.c: Stop compiler complaint by specifying long
15313 constant as "ULL".
15314 * gdb.base/long_long.exp: Loosen x/c test, add partial result
15315 matches for a couple x/2 commands.
15316
15317 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
15318
15319 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
15320 by merging in ref-types2 tests.
15321 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
15322
15323 From Jimmy Guo <guo@cup.hp.com> and others at HP:
15324 * gdb.c++/Makefile.in: Add standard actions.
15325 (EXECUTABLES): Rename from PROGS, update list.
15326 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
15327 from gdb.hp.
15328 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
15329 foo and bar locals.
15330 * gdb.c++/anon-union.exp: Fix tests to match.
15331 * gdb.c++/classes.exp: Run if HP compiler used, add extra
15332 expect matches to handle output variations.
15333 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
15334 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
15335 output, add HP alternatives for new and delete prints.
15336 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
15337 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
15338 * gdb.c++/demangle.exp: Use $style when reporting failure.
15339 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
15340 * gdb.c++/inherit.exp: Run if HP compiler used, add some
15341 match alternatives.
15342 * gdb.c++/local.exp: Add match alternatives or xfails for HP
15343 compilers.
15344 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
15345 * gdb.c++/method.exp: Add match alternatives.
15346 * gdb.c++/misc.cc: Add bool types.
15347 * gdb.c++/misc.exp: Add tests for bool types.
15348 * gdb.c++/overload.exp: Add xfails.
15349 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
15350 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
15351 add some more template parameter tests (only for HP currently).
15352 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
15353 * gdb.c++/virtfunc.cc: Add return type and value for main.
15354 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
15355 match alternatives.
15356
15357 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15358
15359 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
15360
15361 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
15362
15363 * gdb.base/signals.exp: Don't expect getting a backtrace from
15364 within a signal handler to fail on Linux.
15365
15366 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
15367
15368 From Jimmy Guo <guo@cup.hp.com> and others at HP:
15369 * lib/gdb.exp: Remove some gratuitious semicolons.
15370 (delete_breakpoints): Increase timeout.
15371 (gdb_expect): Add -notransfer option.
15372 (gdb_test): Use -notransfer option.
15373 (get_compiler_info): Add f77 case.
15374 (get_compiler): New proc, split out from gdb_preprocess, add f77
15375 case.
15376 (gdb_preprocess): Call get_compiler.
15377
15378 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
15379 * gdb.base/attach.exp, gdb.base/display.exp,
15380 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
15381 gdb.base/long_long.exp, gdb.base/printcmds.exp,
15382 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
15383 third arg to gdb_test.
15384 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
15385 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
15386 HP-UX xfails, add others.
15387 * gdb.base/completion.exp: Reflect name change of self-test.
15388 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
15389 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
15390 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
15391 HP failure number.
15392 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
15393 useless HP-UX 10.30 references.
15394 * gdb.base/maint.exp: Loosen matches.
15395 * gdb.base/pointers.c (main): Declare more_code.
15396 * gdb.base/pointers.exp: Match on output of a `next'.
15397 * gdb.base/structs.c: Add prototypes.
15398 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
15399 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
15400
15401 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15402
15403 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
15404 command.
15405
15406 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15407
15408 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
15409 Fix run to main failures. Watchpoint can be hardware watchpoint.
15410
15411 * gdb.base/annota1.exp: Clean up some more, in case printf has
15412 debug info. Deal with lack of signal hanlder info in stack.
15413
15414 From Jim Kingdon <kingdon@redhat.com>:
15415 * gdb.base/annota1.exp: If printf has debug info, deal with it.
15416
15417 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
15418
15419 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
15420 gdb.base/foll-vfork.exp: Don't run for crosses.
15421
15422 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
15423
15424 * gdb.base/configure.in: Check for gdbvars.exp instead of
15425 a1-selftest.exp.
15426 * gdb.base/configure: Re-generate.
15427
15428 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
15429
15430 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
15431 in trying to run first and name is too long.
15432
15433 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
15434 pointers2.c and pointers2.exp, respectively.
15435 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
15436 doschk happier.
15437
15438 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
15439
15440 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
15441 callfuncs2.c and callfuncs2.exp.
15442
15443 * gdb.base/list.exp: Remove mistaken xfails.
15444 * gdb.base/list0.h: Add optional prototypes.
15445
15446 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
15447
15448 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
15449 calling malloc.
15450 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
15451 * ptype.exp: Move test for get_debug_format to before its first
15452 use.
15453
15454 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15455
15456 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
15457 * gdb.base/annota2.cc, annota2.exp: Move from here.
15458 * gdb.c++/annota2.cc, annota2.exp: To here.
15459 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
15460
15461 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
15462
15463 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
15464 a consistent format.
15465
15466 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
15467
15468 From Jimmy Guo <guo@cup.hp.com> and others at HP:
15469 * lib/gdb.exp (get_compiler_info): Add detection for assorted
15470 HP compilers, also set the globals $true and $false.
15471
15472 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
15473 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
15474 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
15475 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
15476 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
15477 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
15478 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
15479 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
15480 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
15481 whatis.c} Add C++ compatible function definitions and return
15482 types, add includes for library functions.
15483 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
15484 * gdb.base/step-test.c (myglob): Rename from glob.
15485 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
15486 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
15487 files, move here from gdb.hp.
15488 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
15489 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
15490 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
15491 Adjust line numbers in regexps.
15492
15493 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
15494 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
15495 instead of 0/1.
15496
15497 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
15498 foll-vfork.exp: New files, move here from gdb.hp.
15499 * gdb.base/page.exp: New file, test of pagination command.
15500
15501 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
15502 recursion test.
15503 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
15504
15505 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
15506 gdb.base/solib.exp: Fix compiler invocation process.
15507
15508 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
15509 HP-UX 11, turn off overload resolution explicitly.
15510 * gdb.base/commands.exp: Set argument list explicitly, add
15511 watchpoint test.
15512 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
15513 them work.
15514 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
15515 expressions properly.
15516 * gdb.base/corefile.exp: Loosen the match slightly.
15517 * gdb.base/default.exp: Allow "Error accessing memory" message
15518 also.
15519 * gdb.base/display.exp: Skip over x/0 j if PA64.
15520 * gdb.base/funcargs.exp: Add xfails for HP-UX.
15521 * gdb.base/interrupt.exp: Ditto.
15522 * gdb.base/langs.exp: Add symbolic matches governed by compiler
15523 in use.
15524 * gdb.base/list.exp: Add xfails for HP-UX.
15525 * gdb.base/long_long.exp: Refine some of the numeric matches.
15526 * gdb.base/mips_pro.exp: Xfail on HP-UX.
15527 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
15528 * gdb.base/nodebug.exp: Succeed on more varieties of output.
15529 * gdb.base/opaque.exp: Remove some HP-UX xfails.
15530 * gdb.base/ptype.exp: Succeed on more varieties of output.
15531 * gdb.base/scope.exp: Add xfails for HP-UX.
15532 * gdb.base/sect-cmd.exp: Add more cases.
15533 * gdb.base/setvar.exp: Add xfails for HP-UX.
15534 * gdb.base/shlib-call.exp: Loosen some matches slightly.
15535 * gdb.base/signals.exp: Match on void symbolically.
15536 * gdb.base/step-test.exp: Add case for PA64.
15537 * gdb.base/term.exp: Add exit and restart.
15538 * gdb.base/twice.exp: Clean up after self.
15539 * gdb.base/varargs.exp: Disable overload resolution explicitly.
15540 * gdb.base/whatis.exp: Allow more ways to pass tests.
15541
15542 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
15543 no longer useful.
15544
15545 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
15546
15547 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
15548 list of patterns.
15549 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
15550 print_double_array(double_array)", "continuing to breakpoint
15551 1018", "print print_double_array(array_d)" and "continuing to
15552 1034" tests.
15553
15554 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
15555
15556 * Makefile.in: Add empty html and install-html targets.
15557
15558 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
15559
15560 * config/mt-*: Remove, these haven't been used since 1996.
15561
15562 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
15563
15564 * gdb.base/call-strs.c, gdb.base/ending-run.c,
15565 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
15566 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
15567
15568 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
15569
15570 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
15571 simpler match case for the ptype of the big class.
15572
15573 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
15574
15575 * gdb.exp: Fix test for gdb_prompt existence.
15576
15577 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
15578
15579 * gdb.exp (gdb_test): Add fail after calls to perror.
15580
15581 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
15582
15583 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
15584
15585 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
15586
15587 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
15588
15589 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
15590
15591 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
15592 malloc() is linked in.
15593
15594 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
15595
15596 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
15597 step at end.
15598
15599 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
15600
15601 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
15602
15603 * gdb.java/jv-print.exp: New file. (Our first Java test!)
15604
15605 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
15606
15607 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
15608 * gdb.base/mips_pro.exp: Likewise.
15609
15610 1999-06-02 Keith Seitz <keiths@cygnus.com>
15611
15612 * gdb.c++/templates.cc: Change all "new" operators to throw
15613 an exception.
15614 * gdb.c++/cplusfuncs.cc: Likewise.
15615
15616 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
15617
15618 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
15619
15620 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
15621 * gdb.base/ending-run.exp: When stepping out of main, accept a
15622 step into an arbitrary assembler file.
15623
15624 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15625
15626 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
15627 "breakpoint-invalid" to be printed.
15628 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
15629 number of "frames-invalid" and "breakpoint-invalid" to be printed.
15630 * gdb.base/annota2.cc: Initialize a.x to 0.
15631
15632 1999-05-17 Keith Seitz <keiths@cygnus.com>
15633
15634 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
15635 when "skip_float_tests" set.
15636 Ditto for "print print_double_array(array_d)", "print print_small_structs",
15637 "print print_ten_doubles", and "step into print_long_arg_list".
15638 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
15639 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
15640 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
15641 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
15642 "skip_float_tests" is set.
15643 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
15644 when "skip_float_tests" set.
15645
15646 1999-05-06 Keith Seitz <keiths@cygnus.com>
15647
15648 * gdb.base/annota2.cc: Include stdio.h.
15649
15650 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
15651
15652 * gdb.base/crossload.exp: Remove, this has been disabled ever
15653 since BFD stopped including all targets, and cross-GDB gets
15654 plenty of testing anyway.
15655 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
15656 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
15657 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
15658 * gdb.base/README: Remove, was doc for this.
15659 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
15660 needed.
15661
15662 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15663
15664 * gdb.base/call-ar-st.exp: Fix one regular expression in test
15665 output.
15666
15667 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
15668 * gdb.base/annota2.exp: New file. More annotation tests.
15669 * gdb.base/annota1.c: New file. Source file for annota1.exp.
15670 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
15671
15672 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
15673
15674 * config/cfdbug.exp: New file.
15675
15676 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
15677
15678 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
15679 Marcus Daniel's and Dale Hawkins's demangler crashes.
15680
15681 * gdb.c++/demangle.exp (test_gnu_style_demangling,
15682 test_lucid_style_demangling, test_arm_style_demangling,
15683 test_hp_style_demangling): Try Tom Tromey's core-dumping
15684 identifier under each demangling style.
15685
15686 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
15687
15688 * gdb.c++/demangle.exp: Include the current demangling style
15689 in all test names.
15690 (current_demangling_style): New global variable.
15691 (set_demangling_style, test_demangling_core, test_demangling,
15692 test_demangling_exact): New functions.
15693 (test_gnu_style_demangling, test_lucid_style_demangling,
15694 test_arm_style_demangling, test_hp_style_demangling): Use those,
15695 instead of calling gdb_test and gdb_test_exact directly.
15696 (catch_demangling_errors): New function, which reports errors
15697 signalled by the demangling test functions in an orderly way.
15698 (do_tests): Use catch_demangling_errors.
15699
15700 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
15701
15702 * gdb.base/signals.exp (test_handle_all_print): Use () for
15703 grouping in expressions, not {}.
15704
15705 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
15706 initialized yet.
15707
15708 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
15709
15710 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
15711 are listed.
15712
15713 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
15714
15715 * gdb.stabs/weird.exp: Test for CC being defined before
15716 looking at its value.
15717
15718 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
15719
15720 * gdb.base/call-ar-st.exp: Remove stray '#'.
15721 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
15722 "short int" and "long int".
15723 * gdb.c++/overload.cc: Cast the string added in the previous
15724 change, to mollify finicky HP compiler.
15725 * gdb.hp/reg-test.exp (testfile): Fix file name.
15726 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
15727
15728 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
15729 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
15730 alternate form of enum ptype.
15731
15732 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
15733
15734 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
15735 * gdb.hp/*.exp: Change all to run compiler probe only after
15736 passing skip_hp_tests, so as not to waste time on guaranteed
15737 failure.
15738
15739 * gdb.c++/overload.cc: Pass string instead of char addr, always
15740 init ccpfoo.
15741 * gdb.c++/templates.cc: Fix syntax error.
15742
15743 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15744
15745 * gdb.base/commands.exp: Add test for correct position of '>'
15746 when issuing the 'commands' command after a 'while' or 'if'
15747 command.
15748
15749 1999-03-18 James Ingham <jingham@cygnus.com>
15750
15751 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
15752
15753 * gdb.c++/method.exp: It was testing an uninitialized int on the
15754 stack and assuming it was positive.
15755
15756 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
15757
15758 * gdb.base/step-test.exp: Catch a case where finish is broken and
15759 keep it from killing the rest of the tests.
15760 Use gdb_continue_to_end.
15761
15762 * gdb.base/sigall.exp: use gdb_continue_to_end.
15763
15764 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
15765
15766 * gdb.base/display.exp: use runto_main, not run.
15767
15768 * gdb.base/default.exp: Check for the current error message in the
15769 r abbreviation test.
15770 Add strongarm to the targets that know info float.
15771
15772 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
15773 run which doesn't work with monitors.
15774
15775 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
15776
15777 * gdb.base/break.exp: use the gdb_continue_to_end proc.
15778
15779 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
15780 program. Traps the case (in Cygmon) when the program never really
15781 exits. Same as Mark's continue_to_exit, but I had put it in a lot
15782 more places, so I used my name. Sorry Mark...
15783
15784 * config/monitor.exp (gdb_target_monitor): added another
15785 target_info parameter: remotebinarydownload. This will set the
15786 remotebinarydownload flag if this is causing some boards trouble.
15787
15788 1999-03-18 Mark Salter <msalter@cygnus.com>
15789
15790 * lib/gdb.exp (continue_to_exit): New function.
15791
15792 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
15793 * gdb.base/ending-run.exp: Ditto.
15794 * gdb.base/step-test.exp: Ditto.
15795
15796 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
15797
15798 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
15799 (suggested by Art Haas <ahaas@neosoft.com>).
15800
15801 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
15802
15803 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
15804
15805 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
15806
15807 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
15808 descriptions of types (short unsigned int vs unsigned short, etc).
15809
15810 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
15811
15812 * gdb.base/call-strs.exp: Don't assume that `step' will step over
15813 a call to strlen; sometimes we do have sources.
15814
15815 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
15816
15817 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
15818 character, so GDB won't print garbage after its end.
15819
15820 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
15821 breakpoint there instead. Sometimes GCC emits memcpy to handle
15822 the large structures being passed by value, so we step into that
15823 instead of sum_array_print, which obscures what we're really testing.
15824 * gdb.base/step-test.exp: However, we do want a test that notices
15825 the bizarre steps into memcpy, so do that here. Add check for
15826 stepping into function calls that pass large structures by value.
15827 ("Is that a noun clause, or are you just happy to see me?")
15828 Remove all references to specific line numbers.
15829 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
15830 New type and function.
15831 (main): Call large_struct_by_value, passing it a large struct by value.
15832 * lib/gdb.exp (gdb_get_line_number): New function.
15833
15834 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
15835 more portable.
15836
15837 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
15838
15839 * lib/gdb.exp: Doc fixes.
15840
15841 1999-03-05 Nick Clifton <nickc@cygnus.com>
15842
15843 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
15844
15845 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
15846
15847 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
15848 commands. They're not germane to this test, and they don't work
15849 that way on remote targets.
15850
15851 1999-03-01 James Ingham <jingham@cygnus.com>
15852
15853 * Changelog entries merged over from gdb development branch.
15854
15855 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
15856
15857 * lib/gdb.exp (gdbtk_analyze_results): Generic function
15858 for outputting results of test run.
15859
15860 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
15861
15862 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
15863
15864 1999-02-25 Felix Lee <flee@cygnus.com>
15865
15866 * lib/gdb.exp (debug_format): initialize
15867
15868 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
15869
15870 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
15871 * gdb.base/call-rt-st.c: Ditto.
15872
15873 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
15874
15875 * gdb.threads/pthreads.exp (horiz): New variable.
15876 (test_startup): Fix regexps that capture thread numbers.
15877
15878 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
15879
15880 * gdb.base/smoke.exp: Disambiguate two test case names (both
15881 called ``print'').
15882
15883 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
15884
15885 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
15886 compilation.
15887
15888 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
15889
15890 * gdb.base/miscexprs.exp: Change patterns to match GDB's
15891 actual output formatting.
15892 * gdb.base/smoke.exp: GDB removes leading 0's.
15893 * gdb.base/volatile.exp: Don't check type of remuneration;
15894 that variable is no longer defined in constvars.c.
15895 * gdb.base/step-test.c (main): Exit with explicit exit code.
15896 * gdb.base/step-test.exp: Remove two nexti checks--they are
15897 not portable.
15898
15899 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
15900
15901 * gdb.base/help.exp ("help delete display"): Fix test to match
15902 gdb's output.
15903
15904 * gdb.base/long_long.c (known_types): Initialize values to zero.
15905 * gdb.base/long_long.exp: Step one more line
15906 so 'dec' is initialized in "get to known place". GDB removes
15907 leading zeros. Explicitly ask for hex formatting. Use
15908 unique test case names.
15909
15910 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15911
15912 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
15913
15914 * gdb.c++/method.exp: Add missing close brace.
15915
15916 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
15917
15918 * gdb.base/maint.exp: Use 'set height 0' to disable page
15919 prompting, not 'set height 400'.
15920
15921 Fix a bunch of timeouts.
15922 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
15923 four separate tests, so expect doesn't take forever to match a ton
15924 of text against a regexp with lots of .* forms.
15925 ("maint print psymbols", "maint print symbols"): Make some of
15926 these greps more selective, so that expect doesn't try to wade
15927 through huge piles of output and time out.
15928
15929 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
15930
15931 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
15932 tests: one which doesn't expect shlib events to be reported, and
15933 another which does, but is XFAIL for all platforms other than
15934 HP/UX.
15935
15936 * gdb.base/break.exp: Teach the test suite that the `catch
15937 fork', `catch vfork', and `catch exec' commands produce error
15938 messages on platforms that don't provide these features.
15939
15940 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
15941
15942 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
15943 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
15944 (shortening names from solib_threshold.exp etc), won't run on
15945 anything but HP-UX for the foreseeable future.
15946 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
15947 reflect move.
15948
15949 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
15950
15951 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
15952 gdb.trace/Makefile.in (clean): Remove all test executables.
15953
15954 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
15955
15956 * gdb.base/shlib-call.exp: add test cases to verify that gdb
15957 successfully re-sets breakpoints in shared libraries.
15958 * gdb.base/shmain.c (main): return 0, don't fall off the end.
15959
15960 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15961
15962 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
15963 and compiled w/o GCC.
15964
15965 * gdb.hp/watch-cmd.exp: ditto.
15966
15967 * gdb.hp/watch-hp.exp: ditto.
15968
15969 * gdb.hp/xdb1.exp: ditto.
15970
15971 * gdb.hp/xdb2.exp: ditto.
15972
15973 * gdb.hp/dbx.exp: ditto.
15974
15975 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
15976
15977 * constvars.c: Remove C++-isms.
15978 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
15979 with GCC.
15980
15981 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
15982
15983 The following changes are part of the HP merge.
15984
15985 * gdb.base/break.exp: new tests to verify that catchpoints for
15986 fork, vfork, and exec don't trigger inappropriately.
15987
15988 * gdb.base/opaque.exp: compile one file at a time, then link.
15989
15990 * gdb.base/signals.exp: be more restrictive about which hppa
15991 systems receive a setup_xfail. new tests.
15992
15993 * gdb.base/solib_threshold.build: new file.
15994 * gdb.base/solib_threshold.exp: new file.
15995 * gdb.base/solib_threshold.link_opts: new file.
15996 * gdb.base/solib_threshold.mk: new file.
15997 * gdb.base/gen_solib_threshold.c: new file.
15998
15999 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
16000 tests. New tests for enums inside classes.
16001
16002 * gdb.c++/compiler.cc: indicate support of template debugging.
16003
16004 * gdb.c++/demangle.exp: run hp style demangling tests.
16005
16006 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
16007 tests.
16008
16009 * gdb.c++/misc.cc: changes to support new tests.
16010
16011 * gdb.c++/templates.cc: changes to support HP's compiler; changes
16012 to support new tests.
16013
16014 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
16015 gcc, then skip these tests.
16016
16017 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
16018
16019 The following files are part of the HP merge; some had longer
16020 names at HP, but have been renamed to be no more than 14
16021 characters in length.
16022
16023 * gdb.hp/ambiguous.cc: new file.
16024 * gdb.hp/ambiguous.exp: new file.
16025 * gdb.hp/attach.exp: new file.
16026 * gdb.hp/attach2.exp: new file.
16027 * gdb.hp/classes-hp.exp: new file.
16028 * gdb.hp/ctti.exp: new file.
16029 * gdb.hp/ctti-add.cc: new file.
16030 * gdb.hp/ctti-add1.cc: new file.
16031 * gdb.hp/ctti-add2.cc: new file.
16032 * gdb.hp/ctti-add3.cc: new file.
16033 * gdb.hp/dbx.exp: new file.
16034 * gdb.hp/exception.cc: new file.
16035 * gdb.hp/exception.exp: new file.
16036 * gdb.hp/foll-exec.c: new file.
16037 * gdb.hp/foll-exec.exp: new file.
16038 * gdb.hp/foll-fork.c: new file.
16039 * gdb.hp/foll-fork.exp: new file.
16040 * gdb.hp/foll-vfork.c: new file.
16041 * gdb.hp/foll-vfork.exp: new file.
16042 * gdb.hp/inherit-hp.exp: new file.
16043 * gdb.hp/more-steps.exp: new file.
16044 * gdb.hp/namespace.cc: new file.
16045 * gdb.hp/namespace.exp: new file.
16046 * gdb.hp/optimize.exp: new file.
16047 * gdb.hp/pxdb.c: new file.
16048 * gdb.hp/pxdb.exp: new file.
16049 * gdb.hp/quicksort.exp: new file.
16050 * gdb.hp/reg-test.exp: new file.
16051 * gdb.hp/reg-test.s: new file.
16052 * gdb.hp/sized-enum.c: new file.
16053 * gdb.hp/sized-enum.exp: new file.
16054 * gdb.hp/start-stop.exp: new file.
16055 * gdb.hp/templ-hp.cc: new file.
16056 * gdb.hp/templ-hp.exp: new file.
16057 * gdb.hp/thr-lib.c: new file.
16058 * gdb.hp/thr-lib.exp: new file.
16059 * gdb.hp/thr-lib.h: new file.
16060 * gdb.hp/thr-liblib.c: new file.
16061 * gdb.hp/virtfun-hp.c: new file.
16062 * gdb.hp/virtfun-hp.exp: new file.
16063 * gdb.hp/watch-cmd.exp: new file.
16064 * gdb.hp/watch-hp.exp: new file.
16065 * gdb.hp/xdb1.exp: new file.
16066 * gdb.hp/xdb2.exp: new file.
16067 * gdb.hp/xdb3.exp: new file.
16068
16069 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
16070
16071 The following files are part of the HP merge; some had longer
16072 names at HP, but have been renamed to be no more than 14
16073 characters in length.
16074
16075 * gdb.base/ss.h: new file.
16076 * gdb.base/call-ar-st.c: new file.
16077 * gdb.base/call-ar-st.exp: new file.
16078 * gdb.base/call-rt-st.c: new file.
16079 * gdb.base/call-rt-st-exp: new file.
16080 * gdb.base/call-strs.exp: new file.
16081 * gdb.base/ena-dis-br.exp: new file.
16082 * gdb.base/environ.exp: new file.
16083 * gdb.base/long_long.exp: new file.
16084 * gdb.base/sect-cmd.exp: new file.
16085 * gdb.base/shlib-cl2.exp: new file.
16086 * gdb.base/smoke.exp: new file.
16087 * gdb.base/so-impl-ld.c: new file.
16088 * gdb.base/so-impl-ld.exp: new file.
16089 * gdb.base/so-indr-cl.c: new file.
16090 * gdb.base/so-indr-cl.exp: new file.
16091 * gdb.base/varargs.exp: new file.
16092 * gdb.base/volatile.exp: new file.
16093 * gdb.base/whatis-exp.exp: new file.
16094 * gdb.base/display.exp: new file.
16095 * gdb.c++/derivation.exp: new file.
16096 * gdb.c++/local.exp: new file.
16097 * gdb.c++/member-ptr.exp: new file.
16098 * gdb.c++/overload.exp: new file.
16099 * gdb.c++/ovldbreak.exp: new file.
16100 * gdb.c++/ref-types.exp: new file.
16101 * gdb.c++/ref-types2.exp: new file.
16102 * gdb.c++/userdef.exp: new file.
16103
16104 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
16105
16106 * gdb.base/default.exp: Reflect wording change in remote.c.
16107
16108 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
16109
16110 * gdb.base/help.exp: Update to reflect current text.
16111
16112 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
16113
16114 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
16115 they're stack variables and contain garbage.
16116 * gdb.c++/anon-union.exp: new file.
16117
16118 The following changes were made by David Taylor
16119 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
16120 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
16121 in changes by HP.
16122
16123 * gdb.base/bitops.exp: new file.
16124 * gdb.base/default.exp: change expected messages for catch and
16125 info catch tests to reflect HP merge changes.
16126 * gdb.base/enable-disable-break.exp
16127 * gdb.base/ending-run.c: new file.
16128 * gdb.base/long_long.c: new file.
16129 * gdb.base/maint.exp: new file.
16130 * gdb.base/pointers2.exp: new file.
16131 * gdb.base/shlib-call2.exp: new file.
16132 * gdb.base/solib.exp: new file.
16133 * gdb.base/step-test.c: new file.
16134 * gdb.c++/anon-union.cc: new file.
16135 * gdb.c++/local.cc: new file.
16136 * gdb.c++/member-pointer.cc: new file.
16137 * gdb.c++/method.cc: new file.
16138 * gdb.c++/ref-types.cc: new file.
16139 * gdb.c++/ref-types2.cc: new file.
16140 * gdb.c++/userdef.cc: new file.
16141
16142 * gdb.base/scope.exp: compile one file at a time, then link.
16143 * gdb.base/langs.exp: ditto.
16144 * gdb.base/list.exp: ditto.
16145
16146 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
16147
16148 The following changes were made by David Taylor
16149 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
16150 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
16151 in changes by HP.
16152
16153 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
16154 skip tests. When compiling pass c++ flag to gdb_compile.
16155 * gdb.c++/
16156
16157 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
16158 test for on hppa*-*-hpux*; use args to see if c++ was specified.
16159 (skip_hp_tests): new function.
16160 (gdb_preprocess): new function.
16161
16162 * configure.in (hpdir): decide whether to configure gdb.hp.
16163 * configure: regenerated.
16164
16165 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
16166 to delete on clean.
16167 (EXECUTABLES): update to reflect new additions.
16168 * gdb.base/commands.exp: update message expected.
16169 * gdb.base/default.exp: add copyright notice.
16170 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
16171 * gdb.base/help.exp: update messages to reflect current text.
16172 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
16173 targets for recurse tests.
16174 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
16175 skip this file.
16176
16177 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
16178 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
16179 compilation.
16180 * gdb.c++/misc.exp: ditto.
16181 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
16182 run the tests. tell gdb_compile that it's a c++ compilation.
16183
16184 * gdb.threads/pthreads.exp: fix typo in message.
16185
16186 * gdb.base/all-bin.exp: new file.
16187 * gdb.base/arithmet.exp: new file.
16188 * gdb.base/assign.exp: new file.
16189 * gdb.base/completion.exp: new file.
16190 * gdb.base/cond-expr.exp: new file.
16191 * gdb.base/condbreak.exp: new file.
16192 * gdb.base/define.exp: new file.
16193 * gdb.base/dollar.exp: new file.
16194 * gdb.base/environment.exp: new file.
16195 * gdb.base/eval-skip.exp: new file.
16196 * gdb.base/jump.exp: new file.
16197 * gdb.base/logical.exp: new file.
16198 * gdb.base/pointers.exp: new file.
16199 * gdb.base/relational.exp: new file.
16200 * gdb.base/section_command.exp: new file.
16201 * gdb.base/whatis-expr.exp: new file.
16202
16203 * gdb.base/all-types.c: new file.
16204 * gdb.base/call-array-struct.c: new file.
16205 * gdb.base/call-return-struct.c: new file.
16206 * gdb.base/call-strings.c: new file.
16207 * gdb.base/callfuncs2.c: new file.
16208 * gdb.base/condbreak.c: new file.
16209 * gdb.base/constvars.c: new file.
16210 * gdb.base/display.c: new file.
16211 * gdb.base/int-type.c: new file.
16212 * gdb.base/jump.c: new file.
16213 * gdb.base/miscexprs.c: new file.
16214 * gdb.base/pointers.c: new file.
16215 * gdb.base/pointers2.c: new file.
16216 * gdb.base/shmain.c: new file.
16217 * gdb.base/shr1.c: new file.
16218 * gdb.base/shr2.c: new file.
16219 * gdb.base/solib.c: new file.
16220 * gdb.base/solib1.c: new file.
16221 * gdb.base/solib2.c: new file.
16222 * gdb.base/varargs.c: new file.
16223 * gdb.c++/derivation.cc: new file.
16224 * gdb.c++/overload.cc: new file.
16225 * gdb.c++/ovldbreak.cc: new file.
16226 * gdb.hp/attach.c: new file.
16227 * gdb.hp/attach2.c: new file.
16228 * gdb.hp/average.c: new file.
16229 * gdb.hp/compiler.c: new file.
16230 * gdb.hp/compiler.cc: new file.
16231 * gdb.hp/execd-program.c: new file.
16232 * gdb.hp/follow-exec.c: new file.
16233 * gdb.hp/follow-fork.c: new file.
16234 * gdb.hp/follow-vfork-and-exec.c: new file.
16235 * gdb.hp/misc-hp.cc: new file.
16236 * gdb.hp/more-steps.c: new file.
16237 * gdb.hp/optimize.c: new file.
16238 * gdb.hp/quicksort.c: new file.
16239 * gdb.hp/run-hp.c: new file.
16240 * gdb.hp/start-stop.c: new file.
16241 * gdb.hp/sum.c: new file.
16242 * gdb.hp/templates-hp.cc: new file.
16243 * gdb.hp/thread-local-in-lib.c: new file.
16244 * gdb.hp/thread-local-in-lib.h: new file.
16245 * gdb.hp/thread-local-in-lib.lib.c: new file.
16246 * gdb.hp/vforked-program.c: new file.
16247 * gdb.hp/virtfunc-hp.cc: new file.
16248 * gdb.hp/watchpoint-hp.c: new file.
16249 * gdb.hp/xdb.c: new file.
16250 * gdb.hp/xdb0.c: new file.
16251 * gdb.hp/xdb0.h: new file.
16252 * gdb.hp/xdb1.c: new file.
16253
16254 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
16255
16256 The following change was made by Edith Epstein
16257 <eepstein@cygnus.com> as part of a project to merge in changes
16258 originally made by HP; HP did not create ChangeLog entries.
16259
16260 * gdb.c++/demangle.exp: changed the expected output for some
16261 ARM-style mangling -- removed second reference to datatype.
16262 For example, maint demangle __dt__11T1__pt__2_cFv
16263 T1<char>::~T1<char>(void)
16264 becomes,
16265 maint demangle __dt__11T1__pt__2_cFv
16266 T1<char>::~T1(void)
16267
16268 (test_hp_style_demangling): new hp specific demangling test cases.
16269
16270 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
16271
16272 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
16273 * gdb.trace/backtrace.exp: Likewise.
16274 * gdb.trace/circ.exp: Likewise.
16275 * gdb.trace/collection.exp: Likewise.
16276 * gdb.trace/deltrace.exp: Likewise.
16277 * gdb.trace/infotrace.exp: Likewise.
16278 * gdb.trace/limits.exp: Likewise.
16279 * gdb.trace/packetlen.exp: Likewise.
16280 * gdb.trace/passc-dyn.exp: Likewise.
16281 * gdb.trace/passcount.exp: Likewise.
16282 * gdb.trace/report.exp: Likewise.
16283 * gdb.trace/save-trace.exp: Likewise.
16284 * gdb.trace/tfind.exp: Likewise.
16285 * gdb.trace/tracecmd.exp: Likewise.
16286 * gdb.trace/while-dyn.exp: Likewise.
16287 * gdb.trace/while-stepping.exp: Likewise.
16288
16289 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
16290
16291 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
16292
16293 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
16294
16295 From Brendan Kehoe:
16296 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
16297 int return types.
16298
16299 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
16300
16301 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
16302 remote dos host testing right.
16303
16304 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
16305
16306 * gdb.base/corefile.exp: remove some xfails.
16307
16308 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
16309
16310 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
16311 have different timestamps.
16312
16313 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
16314
16315 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
16316 gdb.base/default.exp: Replace "exec" with "executable".
16317
16318 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
16319
16320 * gdb.base/default.exp: Change else if to elseif from previous
16321 delta.
16322
16323 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
16324
16325 * gdb.base/default.exp: Add brace missing from previous delta.
16326
16327 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
16328
16329 * gdb.base/default.exp: Support test for info float for all
16330 varieties of arm toolchain.
16331
16332 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
16333
16334 * gdb.trace/*.exp: remove "remote_download" command.
16335
16336 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
16337
16338 * gdb.trace/*.exp: remove -gdwarf from compile.
16339
16340 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
16341
16342 * gdb.trace/configure.in(AC_INIT): typo
16343 * gdb.trace/configure: regenerated
16344
16345 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
16346
16347 * config/m68k-emc.exp: New file.
16348 * lib/<emc-support.exp trace-support.exp}: New files.
16349 * configure.in: add new test directory gdb.trace.
16350 * gdb.trace/{configure configure.in Makefile.in}: New files.
16351 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
16352 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
16353 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
16354 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
16355 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
16356 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
16357 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
16358
16359 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
16360
16361 * gdb.c++/classes.exp: Change all regular expressions to match
16362 arbitrary combinations of newline/carriage-return, so that they
16363 will work equally well on Unix and Windows.
16364 * gdb.c++/inherit.exp: ditto.
16365 * gdb.c++/virtfunc.exp: ditto.
16366
16367 1998-08-11 Dawn Perchik <dawn@cygnus.com>
16368
16369 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
16370
16371 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
16372
16373 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
16374 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
16375 to use a0-a3/d0-d3 as needed.
16376
16377 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
16378
16379 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
16380 * gdb.disasm/am33.exp: Corresponding changes.
16381
16382 1998-07-11 Felix Lee <flee@cygnus.com>
16383
16384 * gdb.base/callfuncs.exp: add cmp10 test.
16385 * gdb.base/callfuncs.c (cmp10): new function.
16386
16387 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
16388
16389 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
16390 into two parts to get around a synchronization problem in expect.
16391
16392 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
16393
16394 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
16395
16396 * configure.in: Add options for gdbtk testsuite.
16397
16398 * configure: Regenerate.
16399
16400 * gdb.gdbtk: New directory to hold gdbtk tests.
16401
16402 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16403
16404 * gdb.fortran/types.exp: Escape brackets in expect patterns
16405 for test_float_literal_types_accepted tests.
16406 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
16407 before run test.
16408
16409 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
16410
16411 * am33.exp: Just compile, do not link the testcase.
16412 * am33.s: Add ".am33" pseudoop to force am33 mode.
16413
16414 1998-06-25 Felix Lee <flee@cygnus.com>
16415
16416 * gdb.base/setshow.exp: make sure $pc is sane.
16417
16418 * gdb.stabs/weird.exp: split expect patterns properly.
16419
16420 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
16421
16422 * gdb.disasm/am33.s: New disassembler testfile for the am33.
16423 * gdb.disasm/am33.exp: Run it.
16424
16425 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
16426
16427 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
16428 match processing (and eliminate spurious timeouts when running).
16429
16430 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
16431
16432 * gdb.base/signals.exp (test_handle_all_print): put back Mach
16433 exception test, but conditionalize it on target [mach | gnu].
16434
16435 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
16436
16437 * gdb.base/overlays.exp: fixup compile line for linker script.
16438
16439 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
16440
16441 * gdb.fortran/types.exp: don't guess at float size.
16442
16443 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
16444
16445 * gdb.base/exprs.exp: delete test that depends on int size.
16446
16447 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
16448
16449 * config/sim.exp: Removed checks for target triplets.
16450 (gdb_target_sim): Use gdb,target_sim_options.
16451
16452 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
16453
16454 * gdb.base/reread.exp: New file.
16455 * gdb.base/reread1.c: New file.
16456 * gdb.base/reread2.c: New file.
16457
16458 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
16459
16460 * config/sim.exp: Use 'target sim -sparclite' when running
16461 SPARClite programs.
16462
16463 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
16464
16465 * gdb.base/structs2.exp: New file.
16466 * gdb.base/structs2.c: New file.
16467
16468 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
16469
16470 * gdb.asm/common.inc: New file.
16471 * gdb.asm/d10v.inc: New file.
16472 * asm-source.exp: Pass -I's to gas to find .inc files.
16473 Update line numbers in expected output.
16474 * asmsrc1.s: Rewrite.
16475 * asmsrc2.s: Rewrite.
16476 * configure.in: Create arch.inc symlink.
16477 * configure: Regenerate.
16478 * Makefile.in (distclean): Delete arch.inc.
16479
16480 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
16481
16482 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
16483 (t_enum_value2): ditto
16484 (t_enum_value3): ditto
16485 (main): ditto
16486 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16487
16488 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
16489 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
16490 change.
16491 Use gdb_test instead of send_gdb/gdb_expect sequences.
16492
16493 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
16494
16495 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
16496 not void.
16497
16498 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
16499
16500 * gdb.base/branches.c: Code with lots of loops and
16501 subroutines. Used to test gdbs ability to single step through PC
16502 changes, especially to test mips-tdep.c:mips_next_pc
16503
16504 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
16505
16506 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
16507 more rigorous EGCS C++ error checking.
16508
16509 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
16510
16511 * gdb.base/help.exp: Clean up `help set args' and `help show args'
16512 tests.
16513 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
16514 function when asleep.
16515 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
16516 for i*86 Linux and SVR4 signal handling problems.
16517 Remove linux xfail for `next to handler in signals_tests_1', fixed
16518 by recent infrun.c change.
16519 Limit backtrace to 10 frames to avoid timeout problems with infinite
16520 stack backtraces.
16521 Adjust expect pattern in `handle all print' test to match Apr 28 1997
16522 target.[ch] change.
16523
16524 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
16525
16526 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
16527 for a newline from gdb before continuing.
16528 (default_gdb_exit): Just look for y or n.
16529 (gdb_test): Detect abnormal exit from GDB running on DOS; if
16530 it does, fail the rests of the tests in the file.
16531
16532 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
16533
16534 * config/cygmon.exp: New file.
16535
16536 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
16537
16538 * gdb.base/list.exp: Fix problem with "list default lines around
16539 main" test on remote targets.
16540
16541 * gdb.base/scope.exp: Fix problem with filelocal_bss before
16542 run test on remote targets.
16543
16544 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
16545
16546 * gdb.asm: New directory.
16547 * configure.in: Configure it.
16548 * configure: Regenerate.
16549 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
16550 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
16551
16552 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
16553
16554 * config/mn10300-eval.exp: New file to support MN10300 eval board.
16555
16556 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
16557
16558 * gdb.base/overlays (several files): Merge the two overlay
16559 managers into one. Change variables (foox, barx, bazx, grbxx)
16560 back into ints but force them to load in their proper sections.
16561
16562 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
16563
16564 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
16565 on-chip insn memory and IMAP1 to upper 128k.
16566 (D10VCopy): Handle memory regions crossing 16k boundaries.
16567 (D10VCopy): Transfer data in 32 bit chunks.
16568
16569 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
16570
16571 * gdb.base/overlays.c (main): Exit normally when result is
16572 correct.
16573
16574 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
16575 map. Include space for printf in .text segment.
16576
16577 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
16578 updated d10v memory VMA/LMA map.
16579 (D10VCopy): Call D10VTranslate.
16580
16581 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
16582
16583 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
16584
16585 * gdb.base/bar.c (barx, bar): Change variable to small array so
16586 that it won't be put into the .sdata - small data -
16587 section. Update reference.
16588 * gdb.base/baz.c (bazx, baz): Ditto.
16589 * gdb.base/foo.c (foox, foo): Ditto.
16590 * gdb.base/grbx.c (grbxx, grbx): Ditto.
16591
16592 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
16593 to be arrays.
16594
16595 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
16596
16597 * gdb.base/overlays.exp: fix up and get working again.
16598 Add tests for backtraces from an overlay function.
16599
16600 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
16601
16602 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
16603 "calling function with watchpoint enabled".
16604
16605 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
16606
16607 * gdb.base/break.exp (test_next_with_recursion): Remove
16608 gdb_suppress_tests for d10v-*-*.
16609 * lib/gdb.exp (gdb_suppress_tests): Disable this function
16610 pending review of whether it is useful or not.
16611
16612 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
16613
16614 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
16615
16616 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
16617
16618 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
16619 * config/dve.exp: New file to support Densan boards.
16620
16621 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
16622
16623 * gdb.base/interrupt.exp: Document problem of simulators, signals,
16624 reads and BSD.
16625
16626 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
16627
16628 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
16629 response.
16630
16631 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
16632
16633 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
16634
16635 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
16636 test.
16637
16638 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
16639 target_sizeof_long and target_bigendian_p.
16640 (structs_by_value, structs_by_reference): Check values according
16641 to targets word size and endianess.
16642
16643 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
16644
16645 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
16646 output.
16647
16648 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
16649
16650 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
16651 Update test of set args help to match source change.
16652
16653 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
16654
16655 * gdb.base/default.exp: Expect help system output to be in
16656 alphabetical order.
16657 * gdb.base/help.exp: Ditto.
16658
16659 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
16660
16661 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
16662 "i*86-pc-linux-gnu*".
16663 * gdb.base/interrupt.exp: Ditto.
16664 * gdb.base/corefile.exp: Ditto.
16665
16666 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
16667 define vxworks when building the testcase.
16668
16669 * gdb.base/ptype.exp: Fix testnames to be unique.
16670 * gdb.base/radix.exp: Ditto.
16671 * gdb.base/term.exp: Ditto.
16672 * gdb.base/whatis.exp: Ditto.
16673 * gdb.c++/classes.exp: Ditto.
16674
16675 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
16676
16677 * gdb.base/callfuncs.exp: Fix indentation.
16678
16679 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
16680 suppress_flag has been set.
16681 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
16682 target feature.
16683
16684 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
16685
16686 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
16687 the testcase.
16688
16689 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
16690 set_debug_traps() and breakpoint().
16691 * gdb.c++/misc.cc (main): Ditto.
16692 * gdb.c++/templates.cc (main): Ditto.
16693 * gdb.c++/virtfunc.cc (main): Ditto.
16694
16695 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
16696
16697 * lib/gdb.exp(gdb_step_for_stub): New function.
16698 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
16699 exists, reload the executable and do a "continue" instead of
16700 doing a jump.
16701 (runto_main): Use gdb_step_for_stub.
16702
16703 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
16704 tests to have unique names.
16705 * gdb.base/callfuncs.exp: Ditto.
16706 * gdb.base/commands.exp: Ditto.
16707 * gdb.base/default.exp: Ditto.
16708 * gdb.base/help.exp: Ditto.
16709 * gdb.base/list.exp: Ditto.
16710 * gdb.base/opaque.exp: Ditto.
16711 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
16712 similar tests.
16713
16714 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
16715 * gdb.c++/cplusfuncs.cc: Ditto.
16716 * gdb.c++/virtfunc.cc: Ditto.
16717
16718 * config/monitor.exp: Keep track of the last file we saw, rather
16719 than trying to get the info from gdb.
16720
16721 * gdb.fortran/types.exp: Move comment to previous line.
16722
16723 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
16724
16725 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
16726 target mode.
16727
16728 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
16729
16730 From Bob Manson:
16731 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
16732 string from GDB when it connects.
16733
16734 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
16735
16736 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
16737
16738 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
16739 if we can't get a debug format from GDB (we may be testing an
16740 older GDB). Use a 10 second timeout when checking for the format.
16741
16742 * gdb.stabs/weird.exp: Fix quoting.
16743
16744 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
16745
16746 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
16747
16748 * config/arm-ice.exp: New file.
16749
16750 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
16751
16752 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
16753 until it has been modified to work with the new testsuite.
16754
16755 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
16756 testcase won't compile, cause all of the testcases in the file to
16757 fail instead.
16758
16759 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
16760 (gdb_clear_suppressed): New procedure.
16761 (gdb_stop_suppressing_tests): Only clear suppress_flag if
16762 it contains a positive value.
16763
16764 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
16765
16766 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
16767
16768 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
16769
16770 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
16771
16772 * lib/gdb.exp (setup_xfail_format): New function.
16773 (get_debug_format): New function to get debug format.
16774 (debug_format): New global variable to hold last value set
16775 by get_debug_format.
16776 * gdb.base/list.exp: Call get_debug_format and expect some
16777 tests to fail for DWARF 1 and COFF formats.
16778 * gdb.c++/ptype.exp: Ditto.
16779 * gdb.c++/classes.exp: Ditto.
16780 * gdb.c++/cplusfuncs.exp: Ditto.
16781 * gdb.c++/inherit.exp: Ditto.
16782 * gdb.c++/templates.exp: Ditto.
16783 * gdb.c++/virtfunc.exp: Ditto.
16784
16785 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
16786
16787 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
16788 host doesn't have a currently-open connection.
16789
16790 * config/sparclet.exp: Cleanups and fixes to make it generic for
16791 any gdb stub target. Handle cases where gdb doesn't respond when
16792 interrupted in a sane fashion.
16793
16794 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
16795 same thing in a totally different way.
16796
16797 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
16798 setting "timeout".
16799 (gdb_start): We set the global gdb_prompt variable in
16800 default_gdb_init now.
16801
16802 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
16803
16804 * gdb.base/printcmds.exp: Fix "check for floating addition"
16805 regexp to accept results within approx +/- .01 of exact value.
16806 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
16807
16808 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
16809
16810 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
16811 properly.
16812 (gdb_expect): Add optional timeout parameter, and add timeout
16813 value to various calls.
16814 (gdb_suppress_tests): Only give one warning message per group.
16815
16816 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
16817
16818 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
16819 global variables. Handle getting a value for $timeout more
16820 gracefully.
16821
16822 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
16823
16824 * lib/gdb.exp: Close connection to remote host if gdb doesn't
16825 initialize.
16826 (default_gdb_init): New procedure; allow gdb_init to be overridden
16827 by a target configuration file.
16828 (gdb_expect): Pass the timeout to remote_expect.
16829
16830 * config/monitor.exp(gdb_load): Fix typo in regexp.
16831
16832 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
16833
16834 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
16835
16836 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
16837
16838 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
16839 here. Call gdb_target_exec before rebooting the target, to make
16840 sure the connection to the target is closed.
16841 (gdb_load): Pass the name of the executable to gdb_target_monitor.
16842 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
16843 Also detect "Timeout reading from remote" error.
16844
16845 * config/gdbserver.exp: Pass the executable being loaded to
16846 gdb_target_monitor. Don't call gdb_file_cmd here; let
16847 gdb_target_monitor do it.
16848
16849 * gdb.disasm/hppa.exp: Don't use exec_output.
16850
16851 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
16852
16853 * gdb.base/list.exp: If we're debugging a non-native target,
16854 try to set the pc register to point to the start of the
16855 program before doing the first list command.
16856
16857 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
16858 test_calls after restarting.
16859
16860 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
16861 reloading.
16862
16863 * gdb.base/watchpoint.exp: Fix typo.
16864
16865 * gdb.base/setshow.exp: Check for use_gdb_stub.
16866
16867 * gdb.base/break.exp: Fix continue until exit test for the gdb
16868 stub case.
16869 * gdb.base/langs.exp: Ditto.
16870
16871 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
16872 gdb_load_offset. If we weren't given a file to load, figure out
16873 what the current file is and use it.
16874
16875 * config/i386-bozo.exp: New file.
16876
16877 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
16878
16879 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
16880 feature.
16881
16882 * config/proelf.exp: New entry.
16883
16884 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
16885
16886 * lib/gdb.exp: Remove spurious .* patterns at the beginning
16887 of regexps.
16888
16889 * gdb.base/watchpoint.exp: Don't run the test_stepping
16890 tests if gdb can't call functions on the target.
16891
16892 * gdb.base/setshow.exp: Don't run the set prompt tests if
16893 the board has gdb_prompt set.
16894
16895 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
16896
16897 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
16898 * gdb.base/commands.exp: Likewise.
16899 * gdb.base/setshow.exp: Likewise.
16900
16901 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
16902
16903 * config/monitor.exp(gdb_start): Look for gdb_prompt target
16904 feature.
16905
16906 * config/i960.exp: New file.
16907
16908 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
16909
16910 * gdb.base/funcargs.exp: Check for gdb,short_int target
16911 feature instead of looking for explicit target triplets.
16912
16913 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
16914
16915 * gdb.base/printcmds.exp: add a couple more tests a la
16916 "p 123DEADBEEF", to check parse_number.
16917 * top.c: change "to enable to enable" to "to enable" in a couple
16918 of help strings.
16919
16920 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
16921
16922 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
16923 on the mn10300.
16924
16925 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
16926
16927 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
16928 where the test executable is run with explicit args.
16929 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
16930
16931 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
16932
16933 * gdb.base/run.c: Use FAKEARGV to build test executable that
16934 does not require a command line arg, since most simulators
16935 don't currently support passing such an arg into the simulated
16936 program.
16937 * gdb.base/commands.exp: Change tests to insert the proper
16938 value as the arg to the first recursive factorial call. Change
16939 compilation line to define FAKEARGV at compile time.
16940
16941 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
16942
16943 * gdb.base/recurse.exp: Enable these tests for the mn10300.
16944 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
16945 function with watchpoint enabled" test.
16946
16947 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
16948
16949 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
16950 Don't call gdb_test when the command doesn't return to a gdb prompt.
16951
16952 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
16953 "Tests restarted" messages.
16954
16955 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
16956
16957 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
16958
16959 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
16960
16961 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
16962 for INFO SYMBOL; add help tests for OVERLAY commands.
16963 * gdb.base/default.exp: add tests for INFO SYMBOL command;
16964 add tests for OVERLAY commands
16965 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
16966 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
16967 * gdb.base/sigall.c: add usestubs code frag
16968 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
16969
16970 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
16971
16972 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
16973 failures.
16974 (gdb_stop_suppressing_tests): Note that tests have restarted.
16975
16976 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
16977
16978 * config/h8300.exp: New file.
16979
16980 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
16981
16982 * gdb.base/setshow.exp: Check for the existence of a
16983 feature, not its value.
16984
16985 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
16986
16987 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
16988
16989 * gdb.base/scope.exp: It's now init0(), not init().
16990
16991 * gdb.base/scope0.c: For now, change init() to be init0().
16992
16993 * config/monitor.exp: Use gdb_serial in preference to serial
16994 or netport.
16995
16996 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
16997 and it's not already set.
16998
16999 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
17000
17001 * gdb.base/setshow.exp: Only test the run command if the target
17002 isn't using a stub and if it supports argument passing.
17003
17004 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
17005
17006 * config/udi.exp(gdb_start): Make sure UDICONF is set
17007 properly before starting gdb.
17008
17009 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
17010
17011 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
17012 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
17013 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
17014
17015 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
17016
17017 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
17018 specialized code to reboot the board, use remote_reboot instead.
17019
17020 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
17021
17022 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
17023
17024 * config/monitor.exp: Make sure we disconnect from the target.
17025 Also, try a reboot/reload cycle instead of failing if the
17026 load fails.
17027
17028 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
17029
17030 * gdb.base/default.exp: Don't set match_max.
17031 * gdb.base/help.exp: Ditto.
17032 * gdb.base/list.exp: Ditto.
17033 * gdb.base/signals.exp: Ditto.
17034
17035 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
17036 set, use remote_ld to download the testcase instead of
17037 the GDB loader.
17038
17039 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
17040
17041 * config/vr5000.exp: New file.
17042
17043 * config/monitor.exp(gdb_target_monitor): Add pattern for
17044 "Ending remote" to detect errors in connecting.
17045
17046 * gdb.base/setshow.exp: Add .* within auto language test.
17047
17048 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
17049 target feature.
17050
17051 * config/monitor.exp(gdb_load): Check for a failure when loading,
17052 and reboot the board if necessary.
17053
17054 * gdb.base/setvar.exp(test_set): Handle multiple prints within
17055 a set of tests. Remove print.* from the patterns being checked.
17056
17057 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
17058
17059 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
17060 refer to gdb_spawn_id.
17061
17062 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
17063 longer used.
17064 * config/sparclet.exp: Ditto.
17065 * config/sparclet-old.exp: Ditto.
17066 * config/slite.exp: Ditto.
17067 * config/sim.exp: Ditto.
17068 * gdb.base/funcargs.exp: Ditto.
17069
17070 * lib/gdb.exp:Remove references to gdb_spawn_id.
17071 (gdb_expect): Move to remote.exp.
17072
17073 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
17074
17075 * config/monitor.exp: Detect the "Couldn't establish connection"
17076 message from GDB.
17077
17078 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
17079
17080 * gdb.base/bitfields.exp: Use runto instead of explicit
17081 gdb_run_cmd/gdb_expect sequences.
17082
17083 * gdb.base/break.exp(text_next_with_recursion): Add match for
17084 gdb_expect call.
17085
17086 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
17087 We also need to handle the "A program is being debugged already"
17088 prompt from gdb. Use gdb_test to set the baud rate.
17089
17090 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
17091 to 20000. Really. I mean it.
17092
17093 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
17094
17095 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
17096 fails. If suppress_flag is set, skip perror message about not
17097 being able to send to GDB.
17098 (send_gdb): If suppress_flag is set, don't try to send commands to
17099 GDB.
17100 (gdb_expect): If suppress_flag is set, always fail immediately.
17101 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
17102 (gdb_init): Call gdb_stop_suppressing_tests.
17103 (default_gdb_exit): Ditto.
17104 (default_gdb_start): Ditto.
17105
17106 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
17107 gdb_stop_suppressing_tests as appropriate.
17108 * gdb.base/break.exp: Ditto.
17109 * gdb.base/callfuncs.exp: Ditto.
17110 * gdb.base/commands.exp: Ditto.
17111 * gdb.base/exprs.exp: Ditto.
17112 * gdb.base/funcargs.exp: Ditto.
17113 * gdb.base/list.exp: Ditto.
17114 * gdb.base/recurse.exp: Ditto.
17115 * gdb.base/scope.exp: Ditto.
17116 * gdb.base/structs.exp: Ditto.
17117 * gdb.c++/inherit.exp: Ditto.
17118
17119 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
17120
17121 * config/vr4300.exp: New file.
17122
17123 * gdb.*/*.exp: Call gdb_expect instead of expect.
17124
17125 * lib/gdb.exp(gdb_expect): New function.
17126
17127 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
17128
17129 * lib/gdb.exp(gdb_init): New function.
17130
17131 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
17132 for each individual variable set.
17133
17134 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
17135 name.
17136
17137 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
17138
17139 * gdb.base/scope.exp: Use gdb_test.
17140
17141 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
17142 aborting; the testsuite driver will do that for us (see
17143 gdb_finish). Also, use gdb_test in a few more places.
17144
17145 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
17146
17147 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
17148
17149 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
17150
17151 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
17152 and "add_tests" are not at the same address.
17153
17154 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
17155
17156 * gdb.base/ptype.exp: Use gdb_test.
17157
17158 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
17159
17160 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
17161 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
17162 left in. No longer expect them to fail.
17163
17164 * gdb.stabs/*.mt; Deleted, no longer used.
17165 * gdb.stabs/configure.in: Remove references to target makefile
17166 frags.
17167 * gdb.stabs/configure: Rebuilt.
17168
17169 * gdb.disasm/*.mt: Deleted, no longer used.
17170 * gdb.disasm/configure.in: Remove references to target makefile
17171 frags. Use "sh3.s" as the unique filename for this directory.
17172 * gdb.disasm/configure: Rebuilt.
17173
17174 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
17175 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
17176 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
17177
17178 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
17179
17180 * config/udi.exp: Use mondfe,name instead of remote_host.
17181
17182 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
17183
17184 * gdb.base/watchpoint.exp: Don't expect a failure when calling
17185 a function with a watchpoint enabled on the mn10200.
17186
17187 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
17188 before trying to create it!
17189
17190 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
17191
17192 * config/vx.exp: Use hostname instead of netport.
17193
17194 * config/vxworks.exp: New file.
17195
17196 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
17197
17198 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
17199 gdb before assuming everything worked. Send a ^C if a timeout
17200 occurs.
17201
17202 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
17203 $gdb_spawn_id directly.
17204 (gdb_run_cmd): Try _start as well as start. Use the target feature
17205 gdb,start_symbol as the symbol to start from when jumping.
17206
17207 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
17208
17209 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
17210 redundant) test.
17211
17212 * gdb.base/recurse.exp: Relax final value test for 'b' so that
17213 it doesn't lose for 16bit integer systems.
17214
17215 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
17216
17217 * gdb.fortran/types.exp: If the target doesn't support "double"
17218 data types, then expect "real" types to only be 4 bytes.
17219
17220 * gdb.c++/virtfunc.exp: Expect failure for virtual function
17221 call tests if the target doesn't support inferior function calls.
17222
17223 * gdb.base/printcmds.exp: Allow minor deviation in FP values
17224 in printf tests.
17225
17226 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
17227
17228 * gdb.base/help.exp: Disable "help set", "help show", and
17229 "help support". Simplify regexp for "help stack".
17230
17231 * gdb.base/default.exp: Set match_max to 5000 and the timeout
17232 to 60 seconds. Temporarily set match_max to 15000 around the
17233 "info copying" test.
17234
17235 * gdb.base/nodebug.exp: Don't try to do an inferior function
17236 call if the target doesn't support them.
17237 * gdb.base/printcmds.exp: Likewise.
17238 * gdb.base/setvar.exp: Likewise.
17239 * gdb.base/structs.exp: Likewise.
17240 * gdb.c++/templates.exp: Likewise.
17241 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
17242
17243 * gdb.base/recurse.exp: Enable for the mn10200.
17244
17245 * configure.in: Do configure gdb.stabs directory for *-*-elf
17246 targets.
17247 * configure: Rebuilt.
17248
17249 * gdb.base/break.exp: Check for gdb,noresults before testing
17250 exit status and/or results from the target.
17251 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
17252 * lib/gdb.exp: Remove old (now bogus) initialization of
17253 noinferior, noargs, noresults and nosignals.
17254
17255 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
17256
17257 * config/sh.exp: New file.
17258
17259 * config/slite.exp: Try to connect multiple times to the board
17260 before rebooting. Only send a "monitor run" if need_monitor_run
17261 is set.
17262
17263 * gdb.base/break.exp: Don't do the "stub continue" test if
17264 the target has gdb_stub set.
17265
17266 * gdb.base/callfuncs.exp: Increase the timeout.
17267
17268 * gdb.base/interrupt.exp: Don't even try to compile the testcase
17269 if the target has gdb,noinferiorio set.
17270
17271 * gdb.base/list.exp: Increase match_max to 10000 characters.
17272
17273 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
17274
17275 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
17276 target.
17277
17278 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
17279
17280 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
17281
17282 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
17283 trying to delete the copy of gdb. Catch the file delete so we
17284 don't die if the delete fails; also, the file should be copied to
17285 the host, not to the build.
17286
17287 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
17288
17289 * lib/gdb.exp(gdb_test): Surround the result pattern with
17290 parenthesis in case it contains multiple regexps separated
17291 with |.
17292
17293 * gdb.base/watchpoint.exp: Use gdb_test.
17294 * gdb.base/default.exp: Ditto.
17295
17296 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
17297
17298 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
17299
17300 * gdb.base/scope.exp: Use gdb_test.
17301 * gdb.c++/classes.exp: Ditto.
17302 * gdb.c++/inherit.exp: Ditto.
17303
17304 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
17305
17306 * gdb.base/crossload.exp: Don't use execute_anywhere, use
17307 remote_exec instead.
17308 * gdb.base/corefile.exp: Don't be ridiculous.
17309 * gdb.base/*.c: Add missing stub invocations.
17310
17311 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
17312
17313 * config/slite.exp: Miscellaneous fixes.
17314
17315 * lib/gdb.exp: Fix runto.
17316
17317 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
17318 the target.
17319
17320 * gdb.base/watchpoint.exp: Fix regexp.
17321
17322 * lib/gdb.exp(default_gdb_exit): Add a catch to the
17323 close and wait commands, as the descriptor may now be
17324 invalid. Always call "remote_close host".
17325
17326 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
17327
17328 Major rewrite for testsuite revision.
17329
17330 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
17331 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
17332 instead of relying on spawn_id to always contain a valid
17333 spawn id.
17334 (get_compiler_info): New procedure to build the ${binfile}.ci
17335 file, instead of replicating this in N different places.
17336 (gdb_compile): New procedure.
17337
17338 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
17339 appropriate arguments) instead of compile. Use gdb_test in a lot
17340 more places. Use send_gdb instead of send. Always run gdb_start
17341 at the start of a testcase, as this is no longer done magically.
17342
17343 config/*-gdb.exp: Rename without the -gdb suffix.
17344
17345 config/mips.exp: Use remote_close instead of exit_remote_shell.
17346 config/monitor.exp: Use target_info instead of looking at
17347 baud, timeout, etc.
17348 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
17349
17350 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17351
17352 * gdb.c++/templates.exp (test_ptype_of_templates),
17353 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
17354 Update expect patterns for destructors and assignment operators
17355 to match corresponding c-typeprint.c changes.
17356 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
17357 to destructor breakpoint test, GDB should be able to set the
17358 destructor breakpoint without specifying arguments.
17359
17360 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
17361
17362 * gdb.threads/pthreads.exp: Change result for failure to compile due
17363 to lack of pthreads runtime support from an error to simply an
17364 unsupported test, per dejagnu standards.
17365
17366 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17367
17368 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
17369 where GDB exits to reduce pattern match time.
17370 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
17371
17372 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
17373
17374 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
17375
17376 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
17377 * gdb.base/default.exp: ditto.
17378 * gdb.base/nodebug.exp: ditto.
17379 * gdb.base/printcmds.exp: ditto.
17380 * gdb.base/ptype.exp: ditto.
17381 * gdb.base/setvar.exp: ditto.
17382 * gdb.base/structs.exp: ditto.
17383 * gdb.base/setshow.c: Guard against uninitialized values of argc.
17384
17385 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
17386
17387 * configure, */configure: Rebuild with autoconf 2.12.
17388
17389 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
17390
17391 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
17392 use new i*86-pc-linux*-gnu quads.
17393 * gdb.base/corefile.exp: Ditto.
17394 * gdb.base/signals.exp: Ditto.
17395 * gdb.base/sigall.exp: Ditto.
17396 * gdb.base/interrupt.exp: Ditto.
17397
17398 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
17399 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
17400 RedHat 4.0.
17401
17402 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
17403 linux. This allows the test case to at least compile on latest
17404 linux, but still not run due to missing the threads runtime library.
17405
17406 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17407
17408 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
17409 directory to search gdb directory. Accept and step over conditional
17410 stack alignment code. Consume $prompt in failure cases.
17411 Reset timeout to $oldtimeout instead of some arbitrary value.
17412 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
17413 timeout problems with infinite stack backtraces.
17414 * gdb.base/ptype.exp (ptype struct link, union tu_link):
17415 Accept function parameters for linkfunc member.
17416
17417 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
17418
17419 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
17420 (CXXFLAGS): Remove, unreferenced.
17421 (B_OPTIONS): Add for -B options and add code to initialize with
17422 previous -B options and also add -B option to pick up cross compiled
17423 runtime.
17424 (TARGET_INCLUDES): Add for -I options and add code to initialize when
17425 doing cross compiles.
17426 (target_alias): Declare global.
17427 (xgcc): Set variable to full path of gcc in build tree. Use findfile
17428 to verify that gcc exists in build tree, and if so set CC to that
17429 gcc and to use B_OPTIONS and TARGET_INCLUDES.
17430
17431 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
17432
17433 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
17434 ptype test for anonymous union. Fixup testcase to match
17435 current gcc debug output.
17436
17437 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
17438
17439 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
17440 force argument to an unsigned long type.
17441
17442 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
17443
17444 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
17445 tests and anonymous union print/ptype tests.
17446 * gdb.base/list.exp (test_forward-search): Increase timeout by
17447 5 minutes for the "search extremely long line" case.
17448 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
17449 completely optional and that the pass/fail messages use the command as
17450 the message if that third arg is a null string.
17451 (gdb_test_exact): Arrange that a null string pattern means match a
17452 null string output rather than any output, which might include random
17453 errors.
17454 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
17455 backtrace test.
17456 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
17457 always failing and failure is now exposed by gdb.exp changes.
17458
17459 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
17460
17461 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
17462 weren't being noted.
17463
17464 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17465
17466 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
17467 * gdb.stabs/weird.exp: Remove v_comb xfails.
17468
17469 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
17470
17471 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
17472 list.exp scope.exp watchpoint.exp]
17473 Make all timeout error msgs explicitly say "(timeout)".
17474
17475 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
17476
17477 * config/monitor.exp: Increase download timeout to 1000 seconds.
17478
17479 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
17480
17481 * config/m32r.exp: Increase timeout to 120 seconds.
17482
17483 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
17484
17485 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
17486 and accept older ordering as obsolescent gcc or gdb.
17487 * gdb.c++/templates.exp: Ditto.
17488 * gdb.c++/virtfunc.exp: Ditto.
17489
17490 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
17491
17492 * gdb.base/coremaker.c: Add code to mmap some data so we
17493 can check that it ends up in the core file.
17494 * gdb.base/corefile.exp: Add test to read mmapped data
17495 from core file.
17496
17497 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
17498
17499 * config/m32r.exp: New file.
17500
17501 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
17502
17503 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
17504 that cflags can contains -gstabs, and work correctly for other tests.
17505
17506 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
17507
17508 * gdb.base/setshow.exp: New file, tests show and set.
17509 * gdb.base/setshow.c: New file, tests show and set.
17510 * gdb.base/help.exp: Add test for help set|show annotate.
17511 * gdb.base/default.exp: Add test for set|show annotate.
17512
17513 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
17514
17515 * testsuite/gdb.base/break.exp: Make backtrace from factorial
17516 errors unique.
17517 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
17518 explicitly.
17519
17520 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
17521
17522 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
17523 and width commands. This is done elsewhere.
17524 * (gdb_start): Don't call gdb_start_sim here. That's already
17525 done in gdb_load. This fixes lots of failures in default.exp.
17526
17527 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
17528
17529 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
17530 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
17531 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
17532 in the same we we treat other failures (since it may be an expected
17533 condition), rather than as an error.
17534 * gdb.base/signals.exp (test_handle_all_print): Revert back to
17535 old test format.
17536
17537 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
17538
17539 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
17540 (distclean maintainer-clean realclean): No need to remove files
17541 twice. Nuke the duplicates.
17542 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
17543 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
17544 Remove config.h along with other config files.
17545
17546 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
17547
17548 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
17549 "p func1 ()" and note that rests of tests are skipped.
17550 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
17551 setup_xfails for "print func2::coremaker_local".
17552 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
17553 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
17554 affected by the previous run test.
17555 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
17556 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
17557 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
17558 "pass int powerset tuple" and "pass modeless int powerset tuple".
17559 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
17560 "real write 4" and "real write 8".
17561 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
17562 setup_xfails for "print vs1 after tuple assign 2",
17563 "print \$i after tuple assign 2", and
17564 "print vs2 after tuple assign 2".
17565 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
17566 meaningful error message and return -1 so the caller can
17567 suppress further tests and avoid a cascade of errors.
17568
17569 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
17570
17571 * gdb.base/a1-selftest.exp: Tweak tests to account for new
17572 format for printing version.
17573 * gdb.base/default.exp: Ditto.
17574 * gdb.base/interrupt.exp: Fix problem with cascade of
17575 errors if child process dies while calling a function.
17576
17577 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
17578
17579 * Makefile.in (VPATH): Add
17580 * Makefile.in (Makefile, config.status): Fix rules so things get
17581 remade when necessary.
17582
17583 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
17584
17585 * Makefile.in (just-check): Add path to sibling expect dir
17586 to environment variable specified by RPATH_ENVVAR.
17587
17588 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
17589
17590 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
17591 (just-check): Add shared library paths for libstdc++, tk,
17592 tcl, bfd, and opcodes to the environment variable specified
17593 in RPATH_ENVVAR.
17594 * configure.in: Add support to recognize --enable-shared flag
17595 and generate correct value for RPATH_ENVVAR.
17596 * configure: Regenerated with autoconf.
17597
17598 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
17599
17600 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
17601 include all osf versions.
17602 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
17603 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
17604 when target is linux. When failing to build pthreads test
17605 executable, give more meaningful message.
17606 * gdb.threads/pthreads.c: Hpux also uses old definition of second
17607 arg for pthread_create.
17608
17609 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
17610
17611 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
17612 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
17613 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
17614 and -lpthreads (everybody else).
17615 (test_startup): Fail gracefully if threads are not supported.
17616 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
17617 "p/c array_index("abcdef",2)" when not gcc compiled.
17618 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
17619 "print func2::coremaker_local" when not gcc compiled.
17620 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
17621 "ptype on opaque struct tagname (statically)",
17622 "ptype on opaque struct tagname (dynamically) 1", and
17623 "ptype on opaque struct tagname (dynamically) 2"
17624 for not compiled with gcc.
17625 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
17626 backtrace when compiled with gcc.
17627 * lib/gdb.exp (runto_main): Return result of "runto main" rather
17628 than always return success.
17629
17630 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
17631
17632 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
17633
17634 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
17635
17636 * gdb.base/structs.exp: Undo last change.
17637
17638 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
17639
17640 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
17641 encapsulate all the steps/nexts done during self test, starting
17642 at main, and makes them less sensitive to optimization issues.
17643 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
17644 signal handler" test.
17645 * gdb.threads/pthreads.exp: Only run this for native configs.
17646 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
17647 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
17648 tests.
17649 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
17650 for "runto test_calls(void)" test.
17651
17652 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
17653
17654 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
17655 and don't expect address info in breakpoint confirmations.
17656
17657 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
17658
17659 * gdb.base/list.exp (test_forward_search): Increase timeout
17660 temporarily by 60 seconds for searching extremely long line,
17661 and then reset to old value when done. Increase expect input
17662 buffer to 10000.
17663
17664 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
17665
17666 * gdb.base/list.exp (test_forward_search): Fix to handle very
17667 long source line without overflowing expect's input buffer.
17668
17669 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
17670
17671 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
17672 "buffer_full".
17673
17674 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
17675 "buffer_full".
17676
17677 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
17678 "buffer_full".
17679
17680 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
17681 "buffer_full".
17682
17683 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
17684
17685 * configure.in (configdirs): Add gdb.threads.
17686 * configure: Regenerated with autoconf.
17687 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
17688 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
17689 * gdb.threads/configure: New, generated with autoconf.
17690
17691 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
17692
17693 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
17694
17695 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
17696
17697 * gdb.base/signals.exp (test_handle_all_print): Test separately for
17698 each signal's status in the output of "handle all print".
17699 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
17700 the \r\n sequence that immediately precedes the gdb prompt.
17701 * gdb.base/a1-selftest.exp: Save original timeout and restore
17702 after test.
17703
17704 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
17705
17706 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
17707 symbol.
17708
17709 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
17710
17711 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
17712
17713 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
17714
17715 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
17716 timeout by 60 seconds.
17717
17718 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
17719
17720 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
17721 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
17722 error return.
17723
17724 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
17725
17726 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
17727 gdb initialization, also report how long dejagnu waited. Restore
17728 old timeout before doing error return. Temporarily increase timeout
17729 by 3 minutes to allow for slow startups over heavy NFS use.
17730
17731 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
17732
17733 * lib/gdb.exp: Report timeout value for verbosity level 2.
17734 * config/gdbserver.exp: Ditto.
17735 * config/hppro.exp: Ditto.
17736 * config/mips-gdb.exp: Ditto.
17737 * config/monitor.exp: Ditto.
17738 * config/netware.exp: Ditto.
17739 * config/sim-gdb.exp: Ditto.
17740 * config/slite-gdb.exp: Ditto.
17741 * config/udi-gdb.exp: Ditto.
17742 * config/unix-gdb.exp: Ditto.
17743 * config/vx-gdb.exp: Ditto.
17744 * gdb.base/a1-selftest.exp: Ditto.
17745 * gdb.base/a2-run.exp: Ditto.
17746 * gdb.base/break.exp: Ditto.
17747 * gdb.base/corefile.exp: Ditto.
17748 * gdb.base/list.exp: Ditto.
17749 * gdb.base/recurse.exp: Ditto.
17750 * gdb.base/scope.exp: Ditto.
17751 * gdb.base/signals.exp: Ditto.
17752
17753 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
17754
17755 * gdb.threads/Makefile.in (docdir): Removed.
17756
17757 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
17758
17759 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
17760 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
17761 @srcdir@.
17762 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
17763 autoconf 2.5 or higher.
17764 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
17765
17766 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
17767
17768 * configure: Regenerated.
17769 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
17770 avoid name clashes with SunOS headers.
17771
17772 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
17773
17774 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
17775
17776 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
17777
17778 * gdb.base/callfuncs.exp: Finish last change -- make sure the
17779 prototype information ends up in the compiler info file.
17780
17781 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
17782
17783 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
17784 attempting to regenerate it. Eliminate use of a temporary file
17785 and just generate the info file directly. Source it immediately,
17786 for consistency of use.
17787 * gdb.base/corefile.exp: Ditto
17788 * gdb.base/exprs.exp: Ditto.
17789 * gdb.base/funcargs.exp: Ditto.
17790 * gdb.base/langs.exp: Ditto.
17791 * gdb.base/list.exp: Ditto.
17792 * gdb.base/mips_pro.exp: Ditto.
17793 * gdb.base/nodebug.exp: Ditto.
17794 * gdb.base/opaque.exp: Ditto.
17795 * gdb.base/ptype.exp: Ditto.
17796 * gdb.base/scope.exp: Ditto.
17797 * gdb.base/setvar.exp: Ditto.
17798 * gdb.base/signals.exp: Ditto.
17799 * gdb.base/whatis.exp: Ditto.
17800 * gdb.c++/templates.exp: Ditto.
17801 * gdb.c++/virtfunc.exp: Ditto.
17802 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
17803 whether or not to add -lstdc++ to the compile command line args.
17804
17805 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17806
17807 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
17808 it got fixed by the recent lookup_minimal_symbol_by_pc change.
17809 Increase timeout, a lot of single stepping might be needed if the
17810 target has no hardware watchpoints.
17811
17812 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
17813
17814 * gdb.base/break.exp: Ignore compiler warnings when compiling
17815 break.c.
17816 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
17817 * gdb.base/default.exp: Add h8300 xfails. Handle messages
17818 from remote-sim.
17819 * gdb.base/exprs.exp: Add h8300 xfails.
17820 * gdb.base/funcargs.exp: Likewise.
17821 * gdb.base/nodebug.exp: Likewise.
17822 * gdb.base/printcmds.exp: Likewise.
17823 * gdb.base/ptype.exp: Likewise.
17824 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
17825 h8300 xfails.
17826 * gdb.base/return.exp: Handle float/double precision problems
17827 on the h8300.
17828 * gdb.base/funcargs.c: Explicitly make last constant argument to
17829 call_after_alloca_subr an unsigned long type.
17830 * gdb.base/return.c: Include stdio.h.
17831
17832 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
17833
17834 * config/abug.exp: New file for the older Motorola Bug monitor
17835 that runs on the mvme13x series VME boards.
17836 * config/monitor.exp: Use the new config array for target settings
17837 if they exist.
17838
17839 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
17840
17841 * sim-gdb.exp: Make the SH simulator allocate less space when
17842 it is targeted.
17843
17844 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
17845
17846 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
17847 test.
17848
17849 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
17850
17851 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
17852 "rs6000-*-*" for "list function in include file" when gcc compiled.
17853 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
17854 for "p ctable1[120]".
17855 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
17856 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
17857 Remove setup_xfail for "rs6000-*-*" for
17858 "print 'scope0.c'::filelocal before run".
17859 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
17860 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
17861 since some compilers don't allow both options to be given
17862 on the same command line. Create object file and move it.
17863
17864 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
17865
17866 * gdb.base/corefile.exp: Always regenerate the core file, since
17867 we always regenerate the coremaker program. Detect special case
17868 where registers cannot be read from core file.
17869
17870 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
17871
17872 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
17873 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
17874 * gdb.c++/templates.exp: Only match on basename of file since
17875 some formats like xcoff don't encode directory information.
17876 * gdb.stabs/weird.exp: Use the right sed script for powerpc
17877 and rs6000 AIX xcoff targets.
17878 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
17879 * configure: Regenerate.
17880 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
17881 here, rather than in distclean.
17882
17883 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
17884
17885 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
17886 defined, and use it to compile the test case with -O2. The
17887 native compilation still uses no optimization.
17888 * gdb.base/mips_pro.c: Remove inline assembly code since
17889 it is compiled PIC by default, which results in assembler
17890 warnings that make the testsuite think the compilation
17891 was unsuccessful.
17892
17893 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
17894
17895 * gdb.c++/misc.exp: Add note to message for
17896 "print s.a for foo struct" that this is a known gcc 2.7.2
17897 and earlier bug.
17898
17899 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
17900
17901 * gdb.base/break.exp: Fix pattern for matching "Delete all
17902 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
17903 setup_xfail for deleting all breakpoints test. Fix various
17904 timeout messages to include "(timeout)".
17905 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
17906 for "p t_float_values2(3.14159,float_val2)".
17907 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
17908 for "continue to call2g" when gcc compiled.
17909 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
17910 "up to foo in langs.exp", "show language at foo in langs.exp",
17911 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
17912 and "show language at fsub in langs.exp".
17913 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
17914 "list line 1 in include file", "list message for lines past EOF",
17915 "list function in include file", "list list0.h:foo", and
17916 "list filename:function; nonexistant function".
17917 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
17918 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
17919 and "ptype t_char_array" to be for native cc only.
17920
17921 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
17922
17923 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
17924 setup_xfail for "print coremaker_bss", "print coremaker_ro",
17925 "print func2::coremaker_local", and "backtrace in corefile.exp".
17926
17927 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
17928
17929 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
17930 "bt in signals.exp". This problem only appears when running
17931 the testsuite, and then only intermittently.
17932
17933 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
17934
17935 * gdb.base/return.exp (return_tests): Differentiate between
17936 two tests of continuing.
17937
17938 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
17939
17940 * */Makefile.in (maintainer-clean): Remove config.log.
17941 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
17942 * gdb.c++/Makefile.in (PROGS): Add inherit.
17943 (clean): Remove *.ci.
17944
17945 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
17946
17947 * gdb.c++/misc.cc: Add test code from Mike Stump.
17948 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
17949
17950 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
17951
17952 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
17953 to "alpha-*-osf2*" and add comment.
17954 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
17955 setup_xfail for "step over execarg initialization" and
17956 "step over corearg initialization".
17957 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
17958 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
17959 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
17960 gcc compiled for "print coremaker_bss", "print coremaker_ro",
17961 "print func2::coremaker_local", and "backtrace in corefile.exp".
17962 * gdb.base/signals.exp: Build and source signals.ci.
17963 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
17964 to be for gcc only.
17965 * lib/gdb.exp: Move verbose statements outside conditionals.
17966
17967 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17968
17969 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
17970 Feb 3 procfs.c change.
17971
17972 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
17973
17974 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
17975
17976 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
17977
17978 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
17979 from dejagnu's apparent default of 10 seconds, which gives random
17980 results when running the tests over NFS on moderately loaded systems.
17981 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
17982
17983 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
17984
17985 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
17986 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
17987 result reports.
17988
17989 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
17990
17991 * configure.in (CY_AC_PATH_TCLH): Remove.
17992 * configure: Regenerate.
17993
17994 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
17995
17996 * gdb.c++/Makefile.in (clean): Add missing '{'.
17997
17998 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
17999
18000 * lib/gdb.exp: Provide a default value for noinferior.
18001
18002 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
18003 Load libgloss.exp.
18004
18005 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
18006
18007 * gdb.disasm/hppa.exp: Compile directly into an executable, use
18008 the executable, not the .o to run the tests from.
18009
18010 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
18011
18012 * gdb.base/break.exp: Don't test for program exit or exit status
18013 if $noresults if nonzero.
18014 * gdb.base/langs.exp: Likewise.
18015 * gdb.base/watchpoint.exp: Likewise.
18016
18017 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
18018 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
18019 trying to compile the testcase.
18020
18021 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
18022
18023 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
18024 * gdb.base/signals.exp (continue to handler): Likewise.
18025
18026 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
18027
18028 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
18029
18030 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
18031
18032 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
18033
18034 * gdb.base/corefile.exp: Recognize "not found" as failure
18035 when trying to determine if a core file was generated.
18036 If no core file was generate the first time, try again without
18037 the ulimit -c to work around braindamaged shells.
18038
18039 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
18040
18041 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
18042 [] tests with "test" and enclose string in quotes.
18043 * gdb.stabs/configure: Rebuild
18044
18045 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
18046
18047 Changes in sync with expect:
18048 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
18049 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
18050 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
18051 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
18052 argument to AC_REQUIRE.
18053 * configure: Regenerated.
18054
18055 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
18056
18057 * gdb.base/corefile.exp: When generating a core, discard any
18058 error messages about ulimit not found and the "core dumped"
18059 message from the shell that runs the coredumper.
18060
18061 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
18062
18063 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
18064
18065 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
18066 which sed script to run. Expect failure for v_comb test
18067 on PA targets too.
18068
18069 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
18070
18071 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
18072 "print func2::coremaker_local" and for "backtrace in corefile.exp"
18073
18074 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
18075
18076 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
18077 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
18078 "sparc-sun-solaris*" xfails for "p v_comb".
18079 * lib/gdb.exp (default_gdb_start): Fix typo.
18080 * gdb.base/corefile.exp: Allow "Core was generated by ..."
18081 messages to not include the full program name that caused
18082 the core dump since some systems (such as solaris) apparently
18083 truncate this path to about 80 characters.
18084 When generating a core file first try increasing the core file
18085 size limit to unlimited since some systems may default it to
18086 zero, and it is harmless to try it. Move the test for failing
18087 to generate a core file to where it will actually get executed.
18088 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
18089 new gdb result from g++ debug info improvements and make old
18090 pattern obsolescent. Also account for size_t differences
18091 (may be int or long).
18092 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
18093 initialization before function call is placed in the delay slot
18094 and thus appears to be skipped over by commands such as "next".
18095
18096 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
18097
18098 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
18099
18100 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
18101
18102 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
18103 input source file; fix code to compile test to deal with this
18104 convention.
18105 * gdb.c++/*.exp: Likewise.
18106
18107 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
18108
18109 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
18110 "bt in signals.exp".
18111
18112 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
18113
18114 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
18115 "step over execarg initialization" and
18116 "step over corearg initialization".
18117
18118 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
18119
18120 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
18121 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
18122
18123 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
18124
18125 From Rob Savoye (rob@poseidon.cygnus.com)
18126 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
18127 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
18128 configure.in}, gdb.disasm/{Makefile.in, configure.in},
18129 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
18130 configure.in}: Major reworking for autoconfig.
18131 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
18132 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
18133 New files.
18134 * config/unix-gdb.exp: Make GDB global.
18135 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
18136 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
18137 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
18138 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
18139 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
18140 term.exp, twice.exp, watchpoint.exp, whatis.exp},
18141 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
18142 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
18143 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
18144 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
18145 pr-8136.exp, result.exp, string.exp, tuples.exp},
18146 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
18147 to returns as necessary, arrange for test to compile own testcase
18148 executable.
18149 * lib/gdb.exp: Changes for testsuite to compile own test cases.
18150
18151 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
18152
18153 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
18154 clear_xfail at end of test which might not call either pass or fail.
18155 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
18156 "backtrace through signal handler".
18157
18158 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18159
18160 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
18161 continuing from a job control stop signal.
18162 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
18163
18164 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
18165
18166 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
18167 * gdb.base/corefile.exp: Likewise.
18168 * gdb.base/funcargs.exp: Likewise.
18169
18170 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
18171
18172 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
18173 * config/monitor.exp: Add support for setting baud rate.
18174
18175 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
18176
18177 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
18178 i*86-*-linux* xfails for "backtrace through signal handler".
18179 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
18180 "print func2::coremaker_local".
18181 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
18182 alpha-dec-osf2* xfail for
18183 "delete all breakpoints when none".
18184
18185 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
18186
18187 * gdb.base/break.exp: Change test that deletes all breakpoints
18188 when no user breakpoints are installed. A post 4.15 change
18189 causes gdb to no longer prompt in this case.
18190
18191 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
18192
18193 * gdb.base/return.exp (return_tests): Change xfail for test
18194 "correct value returned double test" to stop xfailing at
18195 Solaris 2.5. Apparently the bug has been fixed.
18196
18197 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
18198
18199 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
18200 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
18201
18202 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
18203
18204 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
18205 * gdb.disasm/hppa.s: Corresponding changes.
18206
18207 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
18208
18209 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
18210 makefile fragment.
18211 * config/mt-hpux: Deleted.
18212
18213 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
18214
18215 * Many files: When warning about suppressed tests due to a
18216 nonexistant test binary, avoid incrementing the warning count.
18217
18218 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
18219
18220 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
18221
18222 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18223
18224 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
18225 "sparc-*-solaris2*".
18226
18227 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18228
18229 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
18230 Add global and local variables and initialize them.
18231 * gdb.base/corefile.exp: Test correct mapping of corefile sections
18232 by printing variables. Remove rs6000 and powerpc xfails, BFD now
18233 extracts the file name and terminating signal from the core file.
18234 * TODO: Remove note about tests for correct mapping of corefile.
18235 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
18236 from optimizing it away.
18237 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
18238 handles common blocks.
18239
18240 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
18241
18242 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
18243 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
18244
18245 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
18246
18247 * Makefile.in (maintainer-clean): New target, synonym for
18248 realclean.
18249 * gdb.base/Makefile.in (maintainer-clean): Likewise.
18250 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
18251 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
18252 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
18253 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
18254 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
18255
18256 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
18257
18258 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
18259 xfails when not gcc compiled for "print foo::funclocal".
18260 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
18261 "print foo::funclocal at foo",
18262 "print 'scope1.c'::foo::funclocal at foo",
18263 "print foo::funclocal_bss at foo",
18264 "print 'scope1.c'::foo::funclocal_bss at foo",
18265 "print foo::funclocal_ro at foo",
18266 "print 'scope1.c'::foo::funclocal_ro at foo",
18267 "print bar::funclocal at foo" and
18268 "print 'scope1.c'::bar::funclocal at foo".
18269 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
18270 gcc compiled for "print foo::funclocal at bar".
18271 Expand all messages to ensure that they identify that
18272 the test is at bar().
18273 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
18274 gcc compiled for:
18275 "ptype on opaque struct pointer (statically)",
18276 "ptype on opaque struct tagname (statically)",
18277 "ptype on opaque struct pointer (dynamically) 1",
18278 "ptype on opaque struct tagname (dynamically) 1",
18279 "ptype on opaque struct pointer (dynamically) 2" and
18280 "ptype on opaque struct tagname (dynamically) 2
18281 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
18282 gcc compiled for:
18283 "p datalocal"
18284 "whatis datalocal",
18285 "ptype datalocal",
18286 "p bsslocal",
18287 "whatis bsslocal", and
18288 "ptype bsslocal".
18289 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
18290 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
18291 when not gcc compiled.
18292 * gdb.base/funcargs.exp (float_and_integral_args): Add
18293 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
18294 compiled.
18295 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
18296 "backtrace from call6a" when not gcc compiled.
18297 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
18298 "backtrace from call7a" when not gcc compiled.
18299 * gdb.base/callfuncs.exp (do_function_calls):
18300 Add "hppa*-*-hpux*" xfail when not gcc compiled for
18301 "p t_char_array_values(char_array_val2,char_array_val1)",
18302 "p t_char_array_values(char_array_val1,char_array_val2)",
18303 "p t_char_array_values("carray 1","carray 2")",
18304 "p t_char_array_values("carray 1",char_array_val2)",
18305 "p t_char_array_values(char_array_val1,"carray 2")",
18306 "p sum_args(1,{2})",
18307 "p sum_args(2,{2,3})",
18308 "p sum_args(3,{2,3,4})",
18309 "p sum_args(4,{2,3,4,5})"
18310 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
18311 "backtrace in corefile.exp" when not gcc compiled.
18312
18313 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18314
18315 * gdb.base/signals.exp: Rewrite `handle all print' test as
18316 a procedure. Accept blanks or TABs as whitespace, increase
18317 timeout and expect input buffer size for the large output
18318 from the command. Remove "i*86-*-bsdi2.0" xfail.
18319
18320 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18321
18322 * gdb.base/setvar.exp: Add new testcases for truncation when
18323 assigning invalid values to bitfields.
18324
18325 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
18326
18327 * gdb.base/callfuncs.exp (do_function_calls): Remove
18328 mips-sgi-irix* xfail for
18329 "call inferior func with struct - returns char *"
18330 and fix test so that an optional (unsigned char *) cast is
18331 accepted in the result.
18332
18333 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
18334
18335 * gdb.base/funcargs.exp (float_and_integral_args): Remove
18336 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
18337 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
18338 * gdb.base/signals.exp: Remove duplicate "handle all print" test
18339 that accidentally got checked in.
18340
18341 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
18342
18343 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
18344 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
18345 compiled test.
18346 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
18347 Add mips-sgi-irix5* xfail for not gcc compiled.
18348 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
18349 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
18350 "p top", "whatis top", "p middle", and "whatis middle".
18351 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
18352 "whatis signed char" for not gcc compiled.
18353 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
18354 "set variable signed char=-1 (-1)" and
18355 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
18356 * gdb.base/funcargs.exp (float_and_integral_args):
18357 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
18358 Add mips-sgi-irix* xfail when not gcc compiled for
18359 "continue to call2b".
18360 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
18361 "continue to call2g".
18362 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
18363 "backtrace from call6a"
18364 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
18365 "backtrace from call7k".
18366 Add mips-sgi-irix5* xfail when not gcc compiled for
18367 "backtrace from call7a".
18368 (localvars_after_alloca): Fix gdb_test cmds for
18369 "print * after runto ...".
18370 Remove rs6000-*-* xfails for
18371 "print i after runto localvars_after_alloca" and
18372 "print l after runto localvars_after_alloca"
18373 for all compilers.
18374 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
18375 when not compiled with gcc, for:
18376 "print signed char == (minus)",
18377 "print signed char != (minus)",
18378 "print signed char < (minus)",
18379 "print signed char > (minus)".
18380 * gdb.base/callfuncs.exp (do_function_calls):
18381 Add mips-sgi-irix* xfail, when compiled with native compiler, for
18382 "call inferior func with struct - returns char *".
18383 * gdb.base/return.exp (return_tests): Change xfail for
18384 "correct value returned double test" to include Solaris 2.4.
18385 * gdb.base/funcargs.exp (float_and_integral_args):
18386 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
18387
18388 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18389
18390 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
18391 enumeration bitfields if compiling with GNU C.
18392 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
18393 to empty' prompt.
18394
18395 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
18396
18397 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
18398 test for PRO targets.
18399
18400 * gdb.base/funcargs.exp: Avoid ever setting more than 8
18401 breakpoints in the inferior at any given time by making
18402 two groups of breakpoints for call2*, call6* and call7*
18403 tests.
18404
18405 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18406
18407 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
18408 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
18409 from optimizing it away.
18410 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
18411 "call inferior func with struct".
18412
18413 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
18414
18415 * configure.in: Only configure gdb.chill for particular targets.
18416
18417 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
18418
18419 * gdb.base/Makefile.in: Add action to .c.o transformation
18420 rule that generates a .ci file for each .o file and remove
18421 explicit .c.o rules except for callfuncs.o.
18422 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
18423 generates a .ci file for each .o file and remove explicit
18424 .cc.o rules.
18425 (clean): Remove *.tmp *.ci files.
18426 (EXECUTABLES): Remove templ-info.exp.
18427 * gdb.base/compiler.c: New file.
18428 * gdb.c++/compiler.cc: New file
18429 * gdb.base/scope.exp: Source gdb.base/scope.ci.
18430 Change rs6000-*-* xfail for
18431 "print 'scope0.c'::filelocal_ro" and
18432 "print 'scope1.c'::filelocal" and
18433 "print 'scope1.c'::filelocal_bss" and
18434 "print 'scope1.c'::filelocal_ro" and
18435 "print 'scope1.c'::foo::funclocal" and
18436 "print 'scope1.c'::foo::funclocal_ro" and
18437 "print 'scope1.c'::bar::funclocal" and
18438 "print 'scope0.c'::filelocal_ro" and
18439 "print 'scope1.c'::filelocal at foo" and
18440 "print 'scope1.c'::filelocal_bss at foo" and
18441 "print 'scope1.c'::filelocal_ro at foo" and
18442 "print 'scope1.c'::foo::funclocal at foo" and
18443 "print 'scope1.c'::foo::funclocal_bss at foo" and
18444 "print 'scope1.c'::foo::funclocal_ro at foo" and
18445 "print 'scope1.c'::bar::funclocal at foo" and
18446 "print 'scope0.c'::filelocal_ro" and
18447 "print 'scope1.c'::filelocal" and
18448 "print 'scope1.c'::filelocal_bss" and
18449 "print 'scope1.c'::filelocal_ro" and
18450 "print 'scope1.c'::foo::funclocal" and
18451 "print 'scope1.c'::foo::funclocal_bss" and
18452 "print 'scope1.c'::foo::funclocal_ro" and
18453 "print 'scope1.c'::bar::funclocal" and
18454 "print 'scope1.c'::bar::funclocal_bss"
18455 to only be xfail'd when not compiled with gcc.
18456 Add rs6000-*-* xfail for
18457 "print 'scope0.c'::filelocal_bss before run"
18458 when compiled with gcc.
18459 (test_at_main): Add rs6000-*-* xfail for
18460 "print filelocal_ro in test_at_main"
18461 when compiled with gcc.
18462 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
18463 Add rs6000-*-aix* xfail for
18464 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
18465 "ptype t_char_array", not compiled with gcc.
18466 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
18467 xfail for "list foo (in include file)" when gcc compiled.
18468 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
18469 (integral_args): Add rs6000-*-* xfail for
18470 "run to call0a" if not compiled with gcc.
18471 (unsigned_integral_args): Add rs6000-*-* xfail for
18472 "run to call1a" if not compiled with gcc.
18473 (float_and_integral_args): Add rs6000-*-* xfail for
18474 "run to call2a" if not compiled with gcc and for
18475 "continue to call2b" for any compiler.
18476 Add rs6000-*-* xfail to
18477 "print f1 after run to call2a" for gcc compiled.
18478 (discard_and_shuffle): Add rs6000-*-* xfail for
18479 "run to call6a".
18480 (shuffle_round_robin): Add rs6000-*-* xfail for
18481 "backtrace from call7a" if not compiled with gcc.
18482 Add rs6000-*-* xfail for
18483 "backtrace from call7b" if compiled with gcc.
18484 (call_after_alloca): Add rs6000-*-* xfail for
18485 "print c in call_after_alloca" and
18486 "print s in call_after_alloca" and
18487 "backtrace from call_after_alloca_subr"
18488 if not compiled with gcc.
18489 (localvars_in_indirect_call): Add rs6000-*-* xfail for
18490 "print c in localvars_in_indirect_call" and
18491 "print c in localvars_in_indirect_call" and
18492 "backtrace in indirectly called function" and
18493 "stepping into indirectly called function"
18494 if not compiled with gcc.
18495 (localvars_after_alloca): Add rs6000-*-* xfail for
18496 "print c after runto localvars_after_alloca" and
18497 "print s after runto localvars_after_alloca" and
18498 "print i after runto localvars_after_alloca" and
18499 "print l after runto localvars_after_alloca"
18500 for all compilers.
18501 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
18502 than whatis-info.exp.
18503 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
18504 than opaque-info.exp.
18505 Setup rs6000-*-* xfail for
18506 "ptype on opaque struct pointer (statically)" and
18507 "ptype on opaque struct pointer (dynamically)" when
18508 not compiled with gcc.
18509 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
18510 rather than callf-info.exp.
18511 (do_function_calls): Add clear_xfail for rs6000-*-* for
18512 "p t_float_values2(3.14159,float_val2)". Seems to work
18513 fine there, both with xlc and gcc. Need to find out what
18514 it is doing right and fix other platforms.
18515 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
18516 "call inferior func with struct - returns int",
18517 "call inferior func with struct - returns long",
18518 "call inferior func with struct - returns float",
18519 "call inferior func with struct - returns double",
18520 "call inferior func with struct - returns char *",
18521 but only if not gcc compiled (presumes xlc compiled).
18522 Change rs6000-*-* xfails for
18523 "call inferior func with struct - returns char" and
18524 " call inferior func with struct - returns short" to only
18525 xfail if not using gcc.
18526 (clean mostlyclean): Remove *.ci and *.tmp files.
18527 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
18528 than templ-info.exp.
18529 * gdb.base/langs.exp: Source gdb.base/langs.ci.
18530 Add rs6000-*-* xfail for "up to foo in langs.exp"
18531 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
18532 when not gcc compiled.
18533
18534 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
18535
18536 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
18537 * gdb.base/corefile.exp: Likewise.
18538 * gdb.base/list.exp: Likewise.
18539 * gdb.base/scope.exp: Likewise.
18540 * gdb.base/siganls.exp: Likewise.
18541
18542 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
18543 compiler output.
18544 * gdb.base/whatis.exp: Likewise.
18545
18546 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
18547
18548 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
18549 failure (opcode table has been fixed to match reality).
18550
18551 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
18552
18553 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
18554 "call inferior func with struct - returns char",
18555 "call inferior func with struct - returns short"
18556
18557 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
18558 "print 'scope0.c'::filelocal at main",
18559 "print 'scope0.c'::filelocal_bss in test_at_main",
18560 "print 'scope0.c'::filelocal at foo",
18561 "print 'scope0.c'::filelocal_bss in test_at_foo",
18562 "print 'scope0.c'::filelocal at bar",
18563 "print 'scope0.c'::filelocal_bss in test_at_bar"
18564
18565 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
18566 in source file 1". This bug seems to have been fixed with both
18567 gcc and native cc (was native assembler bug?).
18568
18569 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
18570
18571 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
18572 "backtrace through signal handler" to "i*86-*-sysv4*".
18573 * gdb.base/signals.exp: Add xfail for "'next' behaved as
18574 continue" case. Add "known SVR4 bug" to fail message.
18575 Add "i*86-*-bsdi2.0" xfail for "handle all print".
18576 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
18577 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
18578 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
18579 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
18580 "up to foo in langs.exp", "show language at foo in
18581 langs.exp", "up to cppsub_ in langs.exp", "show
18582 language at cppsub_ in langs.exp", "up to fsub in
18583 langs.exp", and "show language at fsub in langs.exp".
18584 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
18585 "bactrace in corefile.exp".
18586 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
18587 "call inferior function with struct - returns float" and
18588 "call inferior function with struct - returns double".
18589
18590 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
18591
18592 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
18593 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
18594 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
18595 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
18596
18597 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
18598
18599 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
18600 (or overriden) "CHILL" macro rather then bare "gcc".
18601 Also look for ../../gcc/xgcc since that is what we will
18602 actually need, not "Makefile". Remove following assignment
18603 of CHILL to CHILL_FOR_TARGET because that results in
18604 recursive definition.
18605
18606 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
18607
18608 * gdb.base/corefile.exp: Change xfail for backtrace in
18609 corefile.exp from linuxaout to all linux.
18610 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
18611 cases where we miss the breakpoint at the signal handler
18612 for some reason. Setup xfail for linuxoldld/linuxaout and
18613 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
18614 hitting SIGURG breakpoint.
18615 * gdb.base/signals.exp: Setup xfail for "next" acting like
18616 continue to add linuxoldld. Setup xfail for all linux for
18617 "next to handler in signals_tests_1", "backtrace in
18618 signals_tests_1", "continue to func1", "pass SIGUSR1",
18619 and continue to handler".
18620
18621 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
18622
18623 * Update all FSF addresses except those in COPYING* files.
18624
18625 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
18626
18627 * gdb.base/a2-run.exp: Change messages to be more explicit about
18628 the status of args, and quote binfile in results.
18629
18630 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
18631
18632 * gdb.base/callfuncs.exp: Add tests for passing structs to
18633 inferior functions and return various types.
18634 * gdb.base/callfuncs.c: Add functions to receive a struct
18635 and return a member of the struct, in various types.
18636
18637 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18638
18639 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
18640
18641 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
18642
18643 * config/vxworks29k.exp: New file, sources vxworks.exp.
18644
18645 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
18646
18647 * config/gdbremote.exp: New file. Testing framework using
18648 gdbserver.
18649
18650 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
18651
18652 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
18653 "call function when asleep" and "send end of file".
18654 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
18655 for "backtrace in corefile.exp".
18656 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
18657 for "backtrace through signal handler".
18658 * gdb.base/corefile.exp: Make sure we actually generate a core file
18659 before trying the core tests. Some systems allow the user to suppress
18660 generation of core files and default to that (linux for example).
18661 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
18662 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
18663
18664 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
18665
18666 * gdb.threads: New directory with some crude multi-threaded
18667 gdb tests (step.exp and step2.exp).
18668 * config/mt-lynx (STEP_EXECUTABLE): Define.
18669 (THREADFLAGS): Define.
18670
18671 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
18672
18673 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
18674
18675 * gdb.base/signals.exp: Disable whole file for lynx until
18676 further notice.
18677
18678 * gdb.base/signals.exp: xfail test where "next" acts like
18679 "continue" for lynx.
18680
18681 * gdb.base/interrupt.exp: xfail test for calling function while
18682 inferior is asleep for lynx.
18683
18684 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
18685 than one cr-lf after each command.
18686
18687 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18688
18689 * configure.in: Reinstate setting of stabsdirs variable, fix
18690 typo in setting up configdirs for native builds.
18691
18692 * gdb.base/return.exp: Fix typo in return double test.
18693 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
18694 compiler from optimizing them away.
18695
18696 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
18697
18698 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
18699 sequences to be echo'd by gdb when using gdb_test.
18700 * gdb.chill/chexp.exp: Likewise.
18701 * gdb.fortran/exprs.exp: Likewise
18702
18703 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
18704
18705 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
18706 after the inferior gdb has started.
18707
18708 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
18709 after each command.
18710 * gdb.base/funcargs.exp: Likewise.
18711 * gdb.base/gdbvars.exp: Likewise.
18712 * gdb.base/interrupt.exp: Likewise.
18713 * gdb.base/list.exp: Likewise.
18714 * gdb.base/watchpoint.exp: Likewise.
18715 * gdb.c++/demangle.exp: Likewise.
18716 * gdb.c++/inherit.exp: Likewise.
18717 * gdb.chill/chexp.exp: Likewise.
18718 * gdb.fortran/exprs.exp: Likewise.
18719
18720 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
18721 test if we can't handle IO to/from the inferior.
18722
18723 * gdb.c++/misc.exp: Always check for a program already being
18724 started after sending a "run" command to gdb.
18725
18726 * gdb.base/twice.exp: Start with a fresh gdb.
18727
18728 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
18729 only depend on gdb's expression code, not the chill runtime.
18730
18731 * gdb.base/return.c: Put return values into variables so we
18732 can have gdb print them rather than depending on the program
18733 to print them.
18734 * gdb.base/return.exp: Corresponding changes.
18735
18736 * lib/gdb.exp: Provide default value for noinferiorio.
18737 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
18738 the inferior.
18739
18740 * gdb.base/break.exp: Always check for a program already being
18741 started after sending a "run" command to gdb.
18742 (text_next_with_recursion): Don't check the output from the
18743 program's printf statement. Instead just make sure the program
18744 exited.
18745
18746 * gdb.base/commands.exp: Protect tests which need arguments with
18747 $noargs conditionals.
18748
18749 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18750
18751 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
18752 of structure member arrays to match gdb/valops.c:value_addr change.
18753
18754 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
18755
18756 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
18757 cases.
18758
18759 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
18760
18761 * configure.in (configdirs): Remove gdb.chill from default list
18762 of subdirs and then add it back in only if doing a native build.
18763 The current chill compiler does not yet work in any cross build.
18764 * Revert all signal changes from Jul 6.
18765 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
18766 for sh-hms targets, allowing these tests to link, with no other
18767 changes. Testing is suppressed by setting "nosignals" in site.exp.
18768
18769 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
18770
18771 * configure.in (signaldirs): Define and add to configdirs for all
18772 targets except some specific ones that are known to not support signals.
18773 Also clean up formatting.
18774 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
18775 (signals, sigall): Remove rules to build.
18776 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
18777 Moved to new gdb.signals directory.
18778 * gdb.signals: New test directory.
18779 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
18780 signals.c signals.exp}: New or moved files.
18781
18782 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
18783
18784 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
18785
18786 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
18787
18788 * gdb.base/return.exp: Xfail `return double' test failure
18789 on at least Solaris 2.3 and handle future/past versions on
18790 a case by case basis as appropriate. Also update message
18791 to include i*86 failures.
18792
18793 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18794
18795 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
18796
18797 * lib/gdb.exp: Fix comment which erroneously identified
18798 gdb_file_cmd as gdb_load (the 19 May change was in fact to
18799 gdb_file_cmd not gdb_load).
18800 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
18801
18802 * gdb.base/setvar.exp: Make test names consistent between pass and
18803 fail cases. Use gdb_test more.
18804
18805 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18806
18807 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
18808
18809 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18810
18811 * gdb.base/help.exp: Fix expected help string for `show commands'.
18812
18813 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
18814
18815 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
18816
18817 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
18818 of a text section.
18819
18820 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
18821
18822 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
18823 that loop eventually terminates. Fix Connection refused logic so
18824 that testsuite will expire nicely.
18825
18826 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
18827
18828 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
18829 config/rom68k.exp: New tcl glue for the appropriate monitors.
18830 These all just end up calling monitor.exp.
18831 * config/monitor.exp (gdb_target_monitor): Handle `Connection
18832 refused' by retrying. Cleanup some timeout issues.
18833 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
18834 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
18835 callers don't have to set/restore global timeout variable.
18836
18837 * The following set of changes centralizes management of the global
18838 timeout variable. This way, it can be set in one target dependent
18839 place instead of dozens of places scattered throughout the test suite.
18840 If you need to lengthen a timeout, then you should either set timeout
18841 in one of the config/{target}.exp files, or multiply it by a factor.
18842 Setting it to an absolute value is always going to lose for some
18843 targets.
18844 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
18845 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
18846 * gdb.base/funcargs.exp: Don't set timeout.
18847 * gdb.base/list.exp (test_forward_search): Only use local timeout.
18848 * gdb.base/printcmds.exp (test_print_string_constants
18849 test_print_array_constants): Don't set timeout.
18850 * gdb.base/ptype.exp: Don't set timeout.
18851 * gdb.base/recurse.exp: Don't set timeout.
18852 * gdb.base/return.exp: Don't set timeout.
18853 * gdb.base/watchpoint.exp: Don't set timeout.
18854 * gdb.c++/classes.exp (do_tests): Don't set timeout.
18855 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
18856
18857 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
18858
18859 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
18860
18861 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18862
18863 * lib/gdb.exp: Disable chill tests for irix5.
18864
18865 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18866
18867 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
18868 each test pass or fail.
18869
18870 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18871
18872 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
18873 xlc not gcc.
18874
18875 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
18876
18877 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
18878
18879 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
18880
18881 * config/est.exp: Fix copyright and comments. Remove dead code.
18882 Use targetname, serialport and baud variables instead of fixed
18883 constants.
18884 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
18885 * config/cpu32bug.exp: New file to support cpu32bug monitors.
18886
18887 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18888
18889 * gdb.base/watchpoint.exp: Don't run
18890 test_watchpoint_triggered_in_syscall for sunos.
18891
18892 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18893
18894 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
18895 they don't seem to exist. Do include stdio.h.
18896
18897 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18898
18899 * gdb.base/a1-selftest.exp: Add alpha xfail.
18900
18901 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18902
18903 * gdb.base/watchpoint.c (main): Prompt before calling read().
18904 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
18905 Revise accordingly. Remove cruft about sending "123" several
18906 times, until it gets noticed. Clean up the "print buf[0]" stuff
18907 so that it passes or fails, and waits for prompts in the usual way.
18908
18909 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18910
18911 * gdb.base/recurse.exp: Fix comment.
18912
18913 * TODO: Remove item about printing variables in nodebug.exp. Add
18914 item about enabling tests which are only run on some targets.
18915
18916 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
18917 fail, make test names unique, use new gdb_test convention
18918 regarding pattern, use gdb_test more, etc.).
18919
18920 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
18921 fail, make test names unique, etc.).
18922
18923 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18924
18925 * gdb.base/nodebug.c: Change return type of top and middle to
18926 short.
18927 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
18928 are fixed by the recent mdebugread.c changes. Allow `short ()'
18929 as type for top and middle.
18930
18931 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18932
18933 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
18934 nearly as I can tell, the whole thing was an accident in Stu's
18935 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
18936 to replace a send/expect pair with gdb_test, but ended up only
18937 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
18938 of 30 Mar 1995 took care of it, but left this vestigial comment
18939 which I am now nuking.
18940
18941 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18942
18943 * gdb.base/break.exp: Look for different line number for
18944 breakpoint at main depending on usestubs.
18945
18946 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18947
18948 * gdb.base/list.exp: Adjust some alternate expect patterns to
18949 match recent list0.c change. Add alternate expect pattern for
18950 output from `list default lines around main' for optimizing
18951 compilers.
18952
18953 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18954
18955 * lib/gdb.exp: If nosignals is not set, set it to 0.
18956
18957 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
18958
18959 * config/slite-gdb.exp: Responds to load symbol table prompt.
18960 * gdb.base/break.exp: Adjust line number, fix rerun.
18961 * gdb.base/langs0.c: Add #ifdef usestubs.
18962
18963 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
18964
18965 * gdb.base/list.exp: Adjust line contents after adding new lines in
18966 list0.c. Also fix a syntax error.
18967
18968 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
18969 * gdb.base/break.exp: ditto.
18970 * gdb.base/list.exp: ditto.
18971 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
18972 * gdb.base/run.c: ditto.
18973 * gdb.base/list0.c: ditto.
18974 * gdb.base/funcargs.c: ditto.
18975
18976 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
18977
18978 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
18979 $targetname, $serialport and $baud instead of hardwired variables.
18980 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
18981 target doesn't support signals.
18982
18983 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
18984
18985 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
18986
18987 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18988
18989 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
18990 Don't rely on the value of an auto variable before it has been
18991 initialized. Use gdb_test more.
18992
18993 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18994
18995 * lib/gdb.exp (default_gdb_version): A version number must start
18996 with a digit, but other than that contains all characters up to
18997 the first whitespace character.
18998
18999 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19000
19001 * gdb.base/commands.exp (breakpoint_command_test): New tests.
19002
19003 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19004
19005 * gdb.c++/*.exp: Warn if executable does not exist. The original
19006 reason for skipping the warning was that configure.in sometimes
19007 intentionally skipped building the executables but the tcl code
19008 had no way of knowing. That (a) was always bogus with respect to
19009 error handling, (b) is no longer true (right now there is no way
19010 to skip C++ tests).
19011
19012 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
19013
19014 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19015
19016 * gdb.base/list.exp: Add expect patterns for output from
19017 SunPRO compiled executables.
19018 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
19019 types.
19020
19021 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19022
19023 * gdb.base/break.exp (test_next_with_recursion): Accept any line
19024 number (we are already testing that the correct source line text
19025 gets printed).
19026
19027 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
19028 that is what is intended, but something needed to be done to get
19029 sunos4 native working again.
19030
19031 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
19032
19033 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
19034 apparently went with a (very) old xfail.
19035
19036 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
19037
19038 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
19039 runto_main is a proc in gdb.exp that will do 'step' for target use
19040 stubs.
19041 * gdb.base/exprs.exp: ditto.
19042 * gdb.base/interrupt.exp: ditto.
19043 * gdb.base/opaque.exp: ditto.
19044 * gdb.base/printcmds.exp: ditto.
19045 * gdb.base/ptype.exp: ditto.
19046 * gdb.base/scope.exp: ditto.
19047 * gdb.base/setvar.exp: ditto.
19048 * gdb.base/signals.exp: ditto.
19049 * gdb.base/twice.exp: ditto.
19050 * gdb.c++/classes.exp: ditto.
19051 * gdb.c++/inherit.exp: ditto.
19052 * gdb.c++/templates.exp: ditto.
19053 * gdb.base/break.exp: no run and hit main for stubs. Change line
19054 numbers for breakpoints and info breakpoint.
19055 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
19056 breakpoint().
19057 * gdb.base/callfuncs.c: ditto.
19058 * gdb.base/exprs: ditto.
19059 * gdb.base/interrupt.c: ditto.
19060 * gdb.base/opaque0.c: ditto.
19061 * gdb.base/printcmds.c: ditto.
19062 * gdb.base/ptype.c: ditto.
19063 * gdb.base/scope0.c: ditto.
19064 * gdb.base/setvar.c: ditto.
19065 * gdb.base/signals.c: ditto.
19066 * gdb.base/twice.c: ditto.
19067 * gdb.c++/misc.cc: ditto.
19068 * gdb.c++/templates.cc: ditto.
19069
19070 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19071
19072 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
19073
19074 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
19075 somewhere between `read' and `main.c'. I'm pretty sure the
19076 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
19077 and it isn't particularly useful.
19078
19079 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
19080
19081 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19082
19083 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
19084
19085 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
19086
19087 * config/mt-slite: add LIBS and -nostdlib.
19088 * config/slite-gdb.exp: add this new file to support sparclite target.
19089
19090 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
19091
19092 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
19093
19094 * gdb.base/a2-run.exp: Change argument to istarget from
19095 "*-*-vxworks" to "*-*-vxworks*".
19096 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
19097
19098 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
19099
19100 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
19101 will not runto main but do a 'step' to step out of breakpoint().
19102 * config/mt-slite: add -Dusestubs.
19103
19104 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19105
19106 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
19107 instead of just @.
19108
19109 * gdb.base/signals.exp: Add test for "handle all print".
19110 * TODO: Remove "handle all print". Also remove item about
19111 checking copyright date (I don't like the idea of a spurious FAIL
19112 based on when we run the tests).
19113
19114 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
19115 for SunOS4 (reason for failure not investigated). Remove
19116 redundant test for $binfile.
19117
19118 * gdb.base/nodebug.c (array_index): Call malloc.
19119
19120 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
19121
19122 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
19123
19124 * gdb.base/recurse.exp: Update gdb_test invocation to use new
19125 conventions and slightly simplify the matching regexp.
19126
19127 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19128
19129 * gdb.base/break.exp: Update gdb_test invocation to use new
19130 convention.
19131
19132 * lib/gdb.exp: If noargs is not set, set it to 0.
19133
19134 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
19135 tests unique.
19136
19137 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
19138
19139 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19140
19141 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
19142 one argument of type "<non-float parameter>".
19143
19144 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
19145
19146 * config/rom68k.exp: New file to support Motorola IDP board.
19147 * gdb.base/a2-run.exp: Skip this file if noargs is set.
19148 * gdb.base/break.c: Change things around so that this program
19149 doesn't depend upon args. This is necessary to make remote
19150 targets work (in general, they can't take args).
19151 * gdb.base/break.exp: Don't try to send args to program. Don't
19152 expect output. Also, replace lots of code with gdb_test.
19153
19154 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19155
19156 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
19157 printing of '\'' (which is what the comment says we are testing,
19158 even though we were not), not '''.
19159 (test_integer_literals_rejected): Test that printing ''' is an error.
19160
19161 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
19162 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
19163 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
19164 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
19165 Use gdb_test not test_print_accept.
19166 * lib/gdb.exp: Remove test_print_accept.
19167
19168 * gdb.base/signals.exp (signal_tests_1): Make pass message
19169 consistent with fail message.
19170
19171 * gdb.base/whatis.exp: Remove xfails for printing char vs.
19172 unsigned char; the bug (PR 1821) is fixed.
19173
19174 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
19175
19176 * gdb.base/scope.exp (test_at_localscopes): Call pass for
19177 successful tests--makes xfailing them work right.
19178
19179 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19180
19181 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
19182 only \r\n, not .*. The test can pass .* as the last thing in
19183 $pattern if that is what it wants. In addition to providing this
19184 flexibility, this change should speed up pattern matching in cases
19185 where the pattern already ended with .* (there were a number of
19186 them). This change also helps catch bad patterns--in the old
19187 scheme the typo "char \*" instead of "char \\*" would pass. Now
19188 it is caught.
19189 * Many .exp files: Update callers.
19190
19191 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
19192 clearer and does not spuriously match multiple ('s. Likewise for
19193 ) and *.
19194
19195 * gdb.base/nodebug.exp: Test ability to call a function and pass
19196 it a string (even with no debugging info).
19197
19198 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
19199 "p '\'", which is the same as "p ''" once tcl gets done with
19200 quoting, to "p '\\'", which I suspect is what is intended (one
19201 backslash gets sent to GDB).
19202
19203 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
19204
19205 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19206
19207 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
19208 1817) was fixed literally years ago.
19209
19210 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19211
19212 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
19213 test, it causes stepping out of call_after_alloca_subr with
19214 optimizing compilers.
19215 (localvars_in_indirect_call): Consume GDB prompt if `finish'
19216 fails.
19217
19218 * gdb.c++/templates.exp: Source templ-info.exp only if
19219 the templates executable exists.
19220
19221 * gdb.c++/misc.cc (class Contains_static_instance,
19222 class Contains_nested_static_instance),
19223 gdb.c++/classes.exp (test_static_members): Test printing of
19224 a class that contains a static instance of the class.
19225
19226 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19227
19228 * gdb.base/langs2.c (cppsub_): Don't prototype.
19229 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
19230 only, I believe).
19231
19232 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19233
19234 * lib/gdb.exp (skip_chill_tests): New procedure.
19235
19236 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
19237
19238 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
19239
19240 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
19241 each expect pattern. Cuts runtime from 12 to about 4 seconds.
19242
19243 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19244
19245 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
19246
19247 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
19248 disassemble 8, not 16, instructions for part 4.
19249
19250 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
19251 support the latter anymore.
19252
19253 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
19254 -DNO_PROTOTYPES.
19255 * gdb.base/callfuncs.c: Control use of prototypes based on
19256 NO_PROTOTYPES, not __STDC__.
19257 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
19258 t_float_values2 tests if prototypes in use.
19259
19260 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
19261 t_double_values): When checking differences against DELTA, check
19262 that difference is within the range (-DELTA,DELTA), not just
19263 (-infinity,DELTA).
19264
19265 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
19266
19267 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
19268 'file' command firts, then 'target', then 'load', this is due to gdb
19269 target set up.
19270 * config/mips-gdb.exp: Fix a couple regular exp bugs.
19271
19272 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
19273
19274 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
19275 FP load/store variants.
19276 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
19277
19278 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
19279
19280 * gdb.base/term.exp: Do not give a warning if not native, it is
19281 not an abnormal condition.
19282
19283 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
19284
19285 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
19286 t_char_array".
19287
19288 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
19289
19290 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
19291 are getting the version number.
19292
19293 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
19294 if not native, it is not an abnormal condition.
19295
19296 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19297
19298 * lib/gdb.exp: Just use "file exists", rather than undocumented
19299 dejagnu procedure "findfile".
19300
19301 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19302
19303 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
19304 (LDFLAGS): Set to -Xlinker -Ur.
19305
19306 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
19307 Removed, these values are set by lib/gdb.exp.
19308
19309 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
19310
19311 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19312
19313 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
19314 of replicating gdb startup code.
19315
19316 * config/mt-vxworks (LDFLAGS): Set to -r.
19317 (CFLAGS_FOR_TARGET): Removed.
19318
19319 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
19320 (gdb) and gdb for vxworks uses (vxgdb).
19321
19322 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
19323 executable is not in the tree and host != target, use sed and
19324 program_transform_name to determine the gdb name used by the
19325 target.
19326
19327 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
19328 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
19329
19330 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19331
19332 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
19333 floats, chars, and shorts where there are ANSI-style function
19334 definitions.
19335
19336 * gdb.base/langs.exp, gdb.base/langs*: New test.
19337 * gdb.base/Makefile.in: Build it.
19338 * TODO: Remove item about checking that C names don't get C++
19339 demangling applied; this test tests it.
19340
19341 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19342
19343 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
19344 went with the const70 xfail. The xfail went away a year ago.
19345
19346 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
19347
19348 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
19349 for hp300.
19350
19351 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
19352
19353 * gdb.base/a1-selftest.exp: Don't run on hp300.
19354
19355 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19356
19357 * Makefile.in (site.exp): Set host_alias and target_alias as well
19358 as host_triplet and target_triplet.
19359
19360 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19361
19362 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
19363
19364 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
19365 places as other ecoff systems).
19366
19367 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
19368 ultrix.
19369
19370 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19371
19372 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
19373 remove them.
19374 * gdb.base/nodebug.exp: Accept "function" in addition to "text
19375 variable and "variable" in addition to "data variable".
19376 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
19377
19378 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
19379 2.
19380 * gdb.base/list1.c (long_line): Add additional statement at start
19381 of function.
19382 * gdb.base/list.exp (test_forward_search): Update line number to
19383 reflect new statement.
19384
19385 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19386
19387 * gdb.base/signals.exp: Reinitialize searched source directories
19388 after gdb_start call.
19389
19390 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
19391
19392 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
19393 * gdb.stabs/Makefile.in: Likewise.
19394
19395 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
19396 change. Instead split the tests into smaller pieces.
19397 * gdb.disasm/hppa.s: Corresponding changes.
19398
19399 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19400
19401 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
19402 Quote ^C when passing it to stty. For some shells ^ is a pipe.
19403
19404 * gdb.base/funcargs.exp: Modify many tests so that every test
19405 either passes or fails. Make some test names unique.
19406
19407 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19408
19409 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
19410 Call stty to set interrupt character.
19411
19412 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
19413 for HP assembler versus GNU assembler based on actual behavior of
19414 $(CC), rather than assuming that $(AS) is always the GNU assembler.
19415
19416 * TODO: Suggest a few more stepping tests.
19417
19418 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
19419
19420 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
19421 restart GDB for h8300 after a continue.
19422 (return): Add pattern to match a29k-udi behavior.
19423 * gdb.base/nodebug.exp: Remove obsolete comment.
19424 * gdb.base/regs.exp: New file, testing of register displays.
19425 * gdb.base/return.exp: Fix typo in reference to $objdir.
19426 * gdb.base/whatis.exp: Always start with a fresh GDB.
19427
19428 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19429
19430 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
19431 higher, these tests generate a lot of output.
19432
19433 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19434
19435 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
19436 code following the catch silently ignored some errors; without the
19437 catch they should be thrown like any other tcl error. Also, the
19438 catch used "" instead of {} which meant all the callers who wanted
19439 to include one of the characters "[]$ had to quote it an extra time.
19440 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
19441 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
19442 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
19443 Remove extra quoting.
19444
19445 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
19446
19447 * gdb.base/commands.exp: Make test names unique; every test either
19448 passes or fails. Update some comments.
19449
19450 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
19451
19452 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19453
19454 The following fixes a FAIL caused by the fact that the alpha stabs
19455 configuration didn't use the ".if alpha" code in weird.def.
19456 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
19457 bit pointer, so the 32 bit version works even on the alpha.
19458 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
19459 Remove the stuff which allowed us to have separate versions for
19460 alpha and everything else.
19461
19462 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
19463 regexp which "info func operator\[\](" is supposed to match. Fix
19464 string to send to GDB. Note that GDB still doesn't work right. Add a
19465 new test for "info func .perator\[\](" which GDB does handle correctly.
19466
19467 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
19468
19469 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19470
19471 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
19472 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
19473 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
19474 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
19475 it makes the tests harder to understand and confuses test-o-matic.
19476 The preferred style is that each test provides a PASS or a FAIL,
19477 and has a unique message (e.g. "continue #54" not just "continue")
19478 which is the same for the pass and the fail.
19479 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
19480 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
19481 to lib/gdb.exp.
19482 * gdb.base/printcmds.exp: Use test_print_accept. Remove
19483 prt_accept which was basically the same thing. Likewise for
19484 test_print_reject and prt_reject.
19485 * lib/gdb.exp (test_print_reject): Add some more error message
19486 patterns to match from the former printcmds.exp (prt_reject).
19487 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
19488 One defect of the passcount stuff is that some of it failed to
19489 report XPASS where appropriate.
19490 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
19491 stuff before and after arg in expected pattern.
19492 (test_paddr_operator_functions): Re-do test without print_addr_of;
19493 this is the only test which seems to want extra stuff there.
19494
19495 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19496
19497 * gdb.base/nodebug.exp: Update new tests to reflect improved
19498 wording of gdb output.
19499
19500 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
19501 and "ptype" work on variables in files compiled without -g.
19502 Replaces commented out "maint print msymbol" tests.
19503
19504 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19505
19506 * gdb.base/setvar.c (dummy): Call malloc.
19507
19508 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
19509 losing with the irix4 sed.
19510
19511 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
19512 ALRM" on irix4.
19513
19514 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19515
19516 * TODO: Remove items about corefile.exp testing new exec-file and
19517 backtrace; both are now done. Add items about printing enums.
19518
19519 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19520
19521 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
19522 "get signal $thissig" test fails.
19523
19524 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
19525
19526 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19527
19528 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
19529 compiler warning with dec alpha compiler.
19530
19531 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
19532 extra \n from gdb_test call (this explains why the prompt test
19533 that I removed yesterday was there).
19534 (user_defined_command_test): Remove extra \n and prompt test.
19535
19536 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
19537 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
19538 doesn't exist.
19539 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
19540 Also remove alpha workaround, which turns out to be because
19541 SIGABRT == SIGLOST.
19542
19543 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
19544
19545 * gdb.base/help.exp: Don't test "help show".
19546
19547 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19548
19549 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
19550 "set print address" is on.
19551 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
19552 pass prompt to gdb_test; gdb_test already looks for the prompt.
19553
19554 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
19555
19556 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
19557 was a vestige of the manual TESTSTRATEGY, and the purpose of it
19558 was to make sure that gdb can read a core file. But (a) the "read
19559 the corefile" part didn't make it to a1-selftest.exp, we just
19560 delete the corefile after creating it, and (b) we test reading
19561 corefiles in corefile.exp anyway. Also, this test left around a
19562 xgdb process on Solaris.
19563
19564 * gdb.base/corefile.exp: Also test backtrace.
19565
19566 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
19567
19568 * gdb.base/commands.exp: Test a simple user defined command with
19569 arguments and if/while statements; verify the full user command is
19570 printed by "show user".
19571
19572 * gdb.base/commands.exp: Test if/while commands as part of a
19573 breakpoint command list; verify they appear in breakpoint
19574 information.
19575
19576 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19577
19578 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
19579 than by dividing by zero.
19580
19581 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
19582
19583 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
19584 performing an inferior call with watchpoints enabled.
19585 * gdb.base/watchpoint.c (main): Delete second unnecessary read
19586 call.
19587
19588 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19589
19590 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
19591 of "file" command.
19592
19593 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
19594 Add additional pattern for when "int operator int(void);" appears
19595 in a different order.
19596
19597 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
19598
19599 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
19600
19601 * gdb.base/help.exp: Replace most of docstrings for "info signals"
19602 and "signal" with ".*".
19603
19604 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
19605
19606 * TODO: Add note about "handle all nostop".
19607
19608 * gdb.base/{sigall.c, sigall.exp}: New test.
19609 * gdb.base/Makefile.in: Add it.
19610
19611 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
19612
19613 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
19614 when invoking GDB, suppresses any windowing interface.
19615
19616 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
19617
19618 * config/sim-gdb: New file, simulator testing support.
19619
19620 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
19621
19622 * gdb.base/interrupt.exp: Test calling func1 twice.
19623
19624 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
19625
19626 * gdb.base/list.exp (test_forward_search): Set timeout higher
19627 when we'll be getting lots of output from gdb.
19628
19629 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
19630 "init_malloc" to after the expect statement. Run it if that
19631 regexp is taken, but also for two others which happen if source
19632 cannot be found.
19633
19634 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19635
19636 * gdb.base/printcmds.exp: New test, for printing register before
19637 program is running.
19638
19639 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19640
19641 * gdb.base/list.exp: Correct some alternate expect patterns
19642 to reflect changes in list1.c.
19643
19644 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19645
19646 * TODO: Add item regarding large frames.
19647
19648 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
19649
19650 * TODO: Remove item about enabling return.exp; it
19651 is enabled. Suggest a few more "return" tests.
19652
19653 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19654
19655 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
19656 anonymous unions.
19657
19658 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19659
19660 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
19661 and pr-5646.o, so "make" is the same as "make all", not "make
19662 pr-4975.o".
19663
19664 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
19665
19666 * gdb.base/list.exp: Adjust expectations to reflect changes in
19667 list1.c.
19668 (test_forward_search): New test proc.
19669 * gdb.base/list1.c (long_line): New function, has long source line.
19670
19671 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
19672
19673 * gdb.base/a1-selftest.exp: Change initial stepping to know about
19674 additional line of code that was added.
19675
19676 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
19677
19678 * gdb.disasm/hppa.s: Break the large branching tests into smaller
19679 tests so as not to overflow expect's input buffers.
19680 * gdb.disasm/hppa.exp: Corresponding changes.
19681
19682 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19683
19684 Beginnings of template debugging tests.
19685 * gdb.c++/templ-info.cc: New file to test for template
19686 debugging capability of the compiler.
19687 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
19688 templ-info.cc.
19689 * gdb.c++/templates.cc: Add explicit template instantiations
19690 to enable compiling with -fno-implicit-templates. Add destructor
19691 and 'value' method to T5 class for template tests.
19692 * gdb.c++/templates.exp: Add testcases for printing of template
19693 types, setting breakpoints on template methods and calling a
19694 template method.
19695
19696 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
19697
19698 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
19699 branch target since some assemblers (gas-2.5) may emit a
19700 relocation for the branch instead of resolving it in the
19701 assembler.
19702
19703 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19704
19705 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
19706 through signal handler.
19707
19708 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19709
19710 * configure.in (*-*-netware): Use config/mt-netware.
19711
19712 * config/mt-netware: New file.
19713 * config/mt-i386-netware: Removed, separate configs for different
19714 netware architectures are no longer needed now that we have
19715 --with-headers.
19716
19717 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19718
19719 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
19720 by the recent changes to use ANSI C arithmetic conversions.
19721
19722 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19723
19724 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
19725 bug involving using inferior_pid to figure out whether to select a
19726 frame.
19727
19728 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
19729
19730 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
19731 match the current disassembler output.
19732
19733 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
19734
19735 * gdb.fortran/exprs.exp: Expect VOID instead of void.
19736 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
19737 types, expect "int" as type of integer values (for now).
19738
19739 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
19740
19741 * gdb.base/commands.exp: New tests for if/while commands.
19742
19743 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
19744
19745 * lib/gdb.exp (runto): Replace sub-pattern for hex value
19746 by .*, since hex values have different syntax in Chill mode.
19747
19748 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19749
19750 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
19751 linefeed from expect pattern for repeated types with indices > 9.
19752
19753 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
19754
19755 First part of Fortran test suite.
19756 * gdb.fortran: New directory.
19757 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
19758
19759 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19760
19761 * gdb.base/default.exp: Update expect pattern for load command
19762 without arguments.
19763
19764 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
19765
19766 * configure.in: Change i386 to i[345]86.
19767 * gdb.base/configure.in: Likewise.
19768 * gdb.c++/configure.in: Likewise.
19769 * gdb.chill/configure.in: Likewise.
19770
19771 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
19772
19773 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
19774 patterns, since that is not a valid context for comments.
19775
19776 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
19777
19778 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
19779 repeated types and repeated types with indices > 9.
19780
19781 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
19782
19783 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
19784 2417; old bug has been fixed.
19785
19786 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
19787
19788 * gdb.base/interrupt.exp: When trying to wake up the inferior,
19789 send the newline ourselves instead of assuming gdb_test will do
19790 so when passed an empty input string.
19791
19792 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
19793 stabs testcode.
19794
19795 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19796
19797 * lib/gdb.exp (gdb_test): Don't send anything if the first
19798 argument is an empty string. This makes cases where we want to
19799 match output that is already in expect's buffers (for example,
19800 matching a breakpoint after gdb_run_cmd has been called) work
19801 reliably.
19802
19803 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19804
19805 * config/netware.exp: New file.
19806
19807 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19808
19809 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
19810 the -B and -L prefixes so we can find the debugging stub.
19811
19812 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
19813 there and we are using the gcc from the tree.
19814
19815 * gdb.base/types.c: Removed.
19816
19817 * gdb.base/configure.in: Look for makefile fragments in ../config.
19818 Recognize i386-*-netware.
19819 * gdb.c++/configure.in: Likewise.
19820
19821 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19822
19823 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
19824 the correct TCL syntax.
19825
19826 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19827
19828 * gdb.base/opaque.exp: use runto instead of messing around with
19829 breakpoints. Simplify by using gdb_test.
19830
19831 * gdb.base/bitfields.exp: restart between tests on netware targets
19832 because breakpoints aren't relocated after target death. Run
19833 processes to completion.
19834
19835 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
19836
19837 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
19838
19839 * Makefile.in: Remove extra tabs that confuse some versions
19840 of "make". Use the newly built gdb to test with by default,
19841 rather than the first one in the tester's search path.
19842
19843 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
19844
19845 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
19846
19847 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
19848 condition help.
19849
19850 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19851
19852 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
19853
19854 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
19855 running.
19856 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
19857 * gdb.base/funcargs.exp: Likewise.
19858
19859 * gdb.base/bitfields.exp: Simplify by using gdb_test.
19860 * gdb.base/funcargs.exp: Likewise.
19861
19862 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
19863 message is "".
19864
19865 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19866
19867 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
19868 return,signals,twice}.exp: Handle non-existant binaries
19869 consistantly.
19870
19871 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
19872 * gdb.base/Makefile.in: Don't try to generate a core dump, we
19873 might testing a cross development system.
19874
19875 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19876
19877 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
19878 runtest script is relative to ${srcdir}, not ${rootdir}.
19879
19880 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
19881
19882 * gdb.base/signals.exp: Allow for optionality of breakpoint
19883 address.
19884
19885 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19886
19887 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
19888
19889 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19890
19891 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
19892 for size_t definition.
19893 * gdb.c++/templates.cc: Likewise
19894
19895 * config/mt-i386-netware: New file.
19896
19897 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
19898 defined.
19899
19900 * gdb.base/Makefile.in: Added support for systems that name core
19901 files by appending "core" to the program name.
19902 * gdb.base/a1-selftest.exp: Likewise.
19903
19904 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19905
19906 * gdb.base/return.exp: Add comment and message for `return double'
19907 test failure on Sparc Solaris.
19908
19909 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
19910
19911 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
19912
19913 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19914
19915 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
19916 from optimizing them away.
19917 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
19918 patterns to include default constructors and assignment operators,
19919 to match gcc versions beyond 2.5.8. Accept any cplus demangling
19920 character in the output of the virtual base pointer.
19921
19922 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19923
19924 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
19925 expression match in print_addr_of to avoid unintented matches.
19926 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
19927 versions up to 2.5.8.
19928
19929 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19930
19931 * gdb.base/list.exp: Tweak alternate pattern for listing of an
19932 included file to run under newer versions of expect.
19933 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
19934 consecutive >'s in templates to accomodate recent cplus-dem.c change.
19935 Remove xfail for the virtual table of BDDHookV.
19936
19937 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
19938
19939 * lib/gdb.exp (string_to_regexp): Set a default result.
19940 (default_gdb_start): Fix misleading message.
19941
19942 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
19943
19944 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
19945 Remove all CC, etc definitions.
19946 * config/mt-hpux: New file.
19947 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
19948 (CFLAGS, LDFLAGS): Define.
19949 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
19950
19951 * Makefile.in (site.exp): Don't insert host_os, etc.
19952 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
19953 (distclean): Check existence of subdir.
19954 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
19955 * gdb.base/Makefile.in: General cleanup and simplification.
19956 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
19957 to build executables. Use default rule to build .o files.
19958 (EXPECT, RUNTEST, CC): Fix relative pathname.
19959 (site.exp): Don't insert host_os, etc.
19960 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
19961 and/or SIGUSR1 defined.
19962 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
19963 * gdb.c++/Makefile.in: General cleanup and simplification.
19964 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
19965 (CFLAGS): Remove.
19966 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
19967
19968 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
19969
19970 * gdb.base/recurse.exp: Misc changes to get tests running again
19971 after Kung's changes to the watchpoint code.
19972 * gdb.base/watchpoint.exp: Likewise.
19973
19974 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
19975
19976 * lib/gdb.exp (string_to_regexp): Convert {\} also.
19977
19978 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
19979
19980 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
19981 * lib/gdb.exp (default_gdb_start): Define.
19982 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
19983 gdb.base/funcargs.exp, gdb.base/opaque.exp,
19984 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
19985 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
19986 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
19987 Don't call gdb_target_udi in between tests.
19988
19989 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
19990
19991 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
19992 (which was basically just a local version of the same thing). In
19993 addition to avoiding duplication, gdb_test_exact is faster.
19994 * lib/gdb.exp (gdb_test_exact): Fix typo.
19995
19996 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
19997 don't give an error.
19998
19999 * gdb.base/term.exp: Call delete_breakpoints before starting.
20000
20001 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
20002 (t10): Add comment.
20003
20004 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
20005
20006 Reorganization of the GDB Test Suite.
20007
20008 * gdb.base: New directory, contains all the basic tests.
20009 * gdb.c++: New directory, tests specific to C++.
20010 * gdb.chill: New directory, tests specific to Chill.
20011 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
20012 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
20013 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
20014 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
20015 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
20016 t30-31 to chill).
20017 * */gdbme.*: Rename to match appropriate expect scripts.
20018 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
20019 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
20020 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
20021 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
20022 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
20023 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
20024 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
20025 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
20026 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
20027 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
20028 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
20029 gdb.c++/virtfunc.cc: New names of C++ files.
20030 * gdb.chill/chillvars.ch: New name of Chill file.
20031 * gdb.base/configure.in, gdb.c++/configure.in,
20032 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
20033 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
20034 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
20035 * configure.in (configdirs): Update to reflect directory changes.
20036 (target_abbrev): No longer define for any configuration.
20037 * Makefile.in: Cosmetic improvements to header comments.
20038
20039 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
20040
20041 Various changes to gdb.t31:
20042
20043 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
20044 * gdbme.ch: Make all key-words and predefineds be upper-case.
20045 * chillvars.exp: Expect key-words and predefinds in upper-case.
20046
20047 * chillvars.exp: Use gdb_test_exact many places.
20048 Change expected output for arrays (which now includes index labels).
20049
20050 * pr-5020.exp, gdme.ch (module PR_5020):
20051 New test, for PR-5020.
20052
20053 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
20054
20055 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
20056 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
20057
20058 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
20059
20060 * Makefile.in: Fix bit-rot in definitions of CHILL,
20061 CHILL_FOR_TARGET and Chill_LIB.
20062 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
20063 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
20064 CHILL, and CHILL_LIB.
20065
20066 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
20067
20068 * Revert the previous changes. Please see Rob's directory
20069 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
20070
20071 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
20072
20073 * Makefile.in, configure.in, config/mips-gdb.exp,
20074 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
20075 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
20076 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
20077 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
20078 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
20079 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
20080 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
20081 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
20082 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
20083 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
20084 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
20085 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
20086 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
20087 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
20088 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
20089 changes from 94Q1.
20090
20091 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
20092
20093 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
20094 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
20095 Rob's new testing fragments.
20096
20097 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
20098
20099 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
20100 lib/gdb.exp: Replace error proc calls with perror.
20101
20102 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
20103
20104 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
20105 version also, match on casted version strings, and match on
20106 gdb startup case where the line numbers might be messed up.
20107
20108 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
20109
20110 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
20111 (CFLAGS): Delete it from here.
20112
20113 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
20114
20115 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
20116
20117 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
20118
20119 * Makefile.in (RUNTEST): Default to just "runtest".
20120
20121 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20122
20123 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
20124 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
20125 the code has been restructured.
20126
20127 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20128
20129 * gdb.t00/default.exp (set write): Allow any number of \r and/or
20130 \n, not just one of each.
20131
20132 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
20133 /bin/cc gives a warning if you do.
20134
20135 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
20136
20137 * gdb.t24/demangle.exp: change expect pattern of
20138 __t10ListS_link1ZUiRCUiPT0
20139
20140 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20141
20142 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
20143 on local variables in recursive functions.
20144
20145 * gdb.t07/Makefile.in: Build the new test.
20146
20147 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20148
20149 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
20150 directly. Instead compare the return values from actual calls.
20151
20152 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
20153
20154 * Makefile.in (check): Set TCL_LIBRARY for runtest.
20155
20156 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20157
20158 * From Peter Schauer with minor modifications.
20159 * gdb.t15/return.exp (return_tests): Handle targets where "return"
20160 stops in mid-line in the caller. Add xfail for returning a float
20161 value on X86 targets.
20162
20163 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20164
20165 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
20166 to avoid expect lossage.
20167 (fmem_LRbug_tests): Likewise.
20168 * gdb.disasm/hppa.s: Corresponding changes.
20169
20170 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
20171 conditions to work with latest dejagnu/expect.
20172
20173 * gdb.t15/funcargs.exp (finish from indirect call): No longer
20174 expected to fail on the PA.
20175 (backtrace in call with trampolines): Explicitly require main
20176 to be frame #1 (no trampolines should show up in backtrace).
20177
20178 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
20179 "continue -expect".
20180 * gdb.t06/break.exp: Likewise.
20181 * gdb.t07/watchpoint.exp: Likewise.
20182 * gdb.t13/bitfields.exp: Likewise.
20183 * gdb.t15/{funcargs,return}.exp: Likewise.
20184 * gdb.stabs/weird.exp: Likewise.
20185 * config/{mips,udi}-gdb.exp: Likewise.
20186
20187 * hppa.sed: Enclose comments within a sed command to avoid
20188 losing with the old OSF1 sed.
20189
20190 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20191
20192 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
20193 sequent dynix.
20194 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
20195 * gdb.t15/funcargs.exp: Conditionally step again to really
20196 finish from marker_call_with_trampolines. Handle the case where
20197 the first step from within call_with_trampolines already steps
20198 us back to main.
20199 * gdb.t15/gdbme.c: Add comment to closing brace of
20200 call_with_trampolines for funcargs.exp.
20201
20202 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20203
20204 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
20205 Fix typo(s).
20206
20207 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20208
20209 * gdb.t07/gdbme.c: More code for watchpoint testing.
20210
20211 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
20212 "Hardware watchpoint" throughout file.
20213 (test_watchpoint_triggered_in_syscall): New test.
20214 (test_complex_watchpoint): New test.
20215
20216 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20217
20218 * gdbme.c (call_with_trampolines): New function to try and step
20219 into. Tests trampoline problems on the PA.
20220
20221 * funcargs.exp (localvars_in_indirect_call): No longer expect
20222 stepping into indirect call to fail on PAs.
20223 (test_stepping_over_trampolines): New test.
20224
20225 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20226
20227 * TODO: Add suggestions for static member function tests, and
20228 completion tests.
20229
20230 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20231
20232 * TODO: Add suggestions for "p/a" tests.
20233
20234 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
20235 (default_gdb_exit): Replace all the hair with sending "quit" to
20236 the process with a simple close.
20237
20238 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20239
20240 * TODO: Add suggestions for shared library tests.
20241
20242 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20243
20244 * TODO: Add suggestions for x/s tests.
20245
20246 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20247
20248 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
20249 "enable once", and "enable breakpoints once" with ".*".
20250
20251 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20252
20253 * TODO: Add suggestions about structure passing tests.
20254
20255 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20256
20257 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
20258 the primary1 test, use work around if __GNUC__ < 2.
20259 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
20260 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
20261 Test for bad output rather than waiting for timeout. Issue
20262 second continue only if first continue failed.
20263
20264 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
20265
20266 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
20267 operator[] test with gdb_test because the old code didn't seem to
20268 be getting the quoting right with the new dejagnu.
20269
20270 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
20271
20272 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
20273 one from the path.
20274 * Makefile.in: Use a fresh expect if there is one, use runtest
20275 from the src tree if there is one.
20276
20277 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
20278
20279 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
20280 next over recursive call. Revise the tests from that point on
20281 (which had been skipped) to match GDB's actual (correct) output.
20282
20283 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
20284 with next over a breakpoint whose condition is false.
20285
20286 * gdb.t00/help.exp: Comment out "help set print" tests just like
20287 (and for same reason as) "help set" test.
20288
20289 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20290
20291 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
20292 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
20293
20294 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20295
20296 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
20297 necessary gdb_target_udi.
20298
20299 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
20300
20301 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
20302 1838 and 2417; they are fixed.
20303
20304 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
20305 gdb.t03/ptype.exp (ptype structure, ptype union):
20306 Remove xfails; the test is looser than when the xfails were added.
20307
20308 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
20309 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
20310
20311 * gdb.t01/run.exp: Only run shell test if isnative.
20312
20313 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
20314 since "run" automatically loads if necessary. Call gdb_target_udi
20315 after the "file" since "file" kills any execution target.
20316
20317 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
20318 GDB. GDB doesn't work that way (not anymore at least) on UDI.
20319 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
20320 argument for UDI.
20321
20322 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
20323
20324 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
20325
20326 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
20327
20328 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20329
20330 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
20331 properly quoting regexps. This makes the second argument to
20332 demangle a fixed string, which matches the callers, instead of a
20333 shell-style pattern which is what the previous implementation
20334 used. Update some of the callers.
20335
20336 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20337
20338 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
20339 (comib_nullified_tests): Fix typo.
20340 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
20341 strings. No longer expected to fail.
20342
20343 * gdb.disasm/hppa.s (addib_tests): Fix typo.
20344 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
20345 strings. No longer expected to fail.
20346
20347 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
20348 string. No longer expected to fail.
20349
20350 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20351
20352 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
20353 No longer expected to fail.
20354
20355 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
20356 string. No longer expected to fail.
20357
20358 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20359
20360 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
20361 only in the names (I probably got most of them). I was even
20362 generous with some which differed in underscores in names, and
20363 probably missed a few, and I *still* was able to remove almost a
20364 third of the file with almost no impact on testsuite coverage.
20365
20366 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20367
20368 * gdb.t00/default.exp: Match udi_attach error message as well as
20369 the one from child_attach.
20370
20371 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
20372
20373 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
20374
20375 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
20376 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
20377
20378 * Move test with enums and partial symbols back to
20379 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
20380 Reverts the change of 26 May 93. Per today's change to
20381 stabs.texinfo, the behavior that weird.exp was expecting was
20382 unreasonable; what is important is that the compiler+gdb get
20383 things right, which happens with a recent gcc. Also fix the test
20384 to deal with native compilers which put out the stab gdb can't
20385 deal with.
20386
20387 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20388
20389 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
20390 in the names. The main thing these accomplish is to slow things down.
20391 Many more such duplicates surely remain.
20392
20393 * gdb.t00/help.exp: Comment out "help support" test just like
20394 (and for same reason as) "help set" test.
20395
20396 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
20397
20398 * gdb.t06/break.exp: Remove setup_xfails for
20399 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
20400 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
20401 about known bug in gcc to include up through 2.5.8.
20402 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
20403 well as "_vb$".
20404 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
20405 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
20406 with latest gcc and gdb.
20407 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
20408 well as "_vb$".
20409
20410 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20411
20412 * configure.in (hppa*-*-*): Also configure and build stabs-only
20413 tests.
20414
20415 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20416
20417 * gdb.t10/hppa.mt: A makefile fragment for the PA.
20418 * gdb.t10/configure.in (hppa*-*-*): Use it.
20419
20420 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20421
20422 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
20423
20424 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20425
20426 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
20427 versions prior to 1.13.5.
20428
20429 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20430
20431 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
20432 the prompt is at the start of a line.
20433
20434 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
20435
20436 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
20437 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
20438 in the copr tests now.
20439 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
20440 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
20441 expected to fail.
20442
20443 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
20444
20445 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
20446 gdb.t31/chillvars.exp, lib/gdb.exp:
20447 Tweak to run under either version of expect.
20448 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
20449 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
20450 * gdb.t11/list.exp: Remove extraneous whitespace.
20451
20452 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20453
20454 * gdb.t16/printcmds.exp (test_print_strings): Accept
20455 "(unsigned char *) " before the string.
20456
20457 * TODO: Add notes about printing of fancy types and GDB expressions.
20458
20459 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
20460
20461 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
20462 * gdb.t06/configure.in: Don't try to compile signals test program
20463 if doing mips-idt-ecoff.
20464
20465 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
20466
20467 * Most .exp files: Tweak to run under either version of expect.
20468
20469 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20470
20471 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
20472 xfails; I'm not sure why they are failing, but not because of PR 1806.
20473
20474 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
20475
20476 * config/unix-gdb.exp: Remove gdb_unload cause it's already
20477 defined in lib/gdb.exp.
20478
20479 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20480
20481 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
20482 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
20483 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
20484 have to be typeless.
20485
20486 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20487
20488 * TODO: Add suggestion for copyright year test.
20489
20490 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
20491
20492 * configure.in (*-*-lynxos*): Add stabs tests.
20493
20494 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
20495
20496 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
20497 so insert a tab before any assembler directive in column zero.
20498
20499 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
20500 stores.
20501 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
20502 stores.
20503 (fpu_short_memory_tests): Likewise.
20504
20505 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20506
20507 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
20508 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
20509 .stabs directives in comments.
20510
20511 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20512
20513 * TODO: New file, describing tests we could write.
20514 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
20515
20516 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20517
20518 * gdb.t06/signals.exp: Add kludge to force re-sync.
20519
20520 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
20521 to xgdb instead of gdb, get out of gdb.
20522
20523 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
20524
20525 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
20526 for info.
20527
20528 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
20529
20530 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
20531 * gdb.stabs/configure.in (hppa*-*-*): Use it.
20532 * gdb.stabs/hppa.sed: New sed script for the PA.
20533
20534 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20535
20536 * gdb.stabs: Re-write weird.def and configuration to use sed
20537 instead of cpp. sed is portable and POSIX; cpp is neither.
20538
20539 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20540
20541 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
20542
20543 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20544
20545 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
20546
20547 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20548
20549 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
20550 "_vb$".
20551 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
20552 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
20553
20554 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20555
20556 * lib/gdb.exp: Comment out code which depends on non-existent
20557 `transform' procedure.
20558
20559 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
20560
20561 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
20562 * lib/gdb.exp: Transform tool name.
20563 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
20564 1.1's new error handling system.
20565
20566 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20567
20568 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
20569
20570 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20571
20572 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
20573 They made pattern matching so slow that timeouts happened on
20574 heavily loaded systems. Now any output from "show print" which
20575 gets us back to the GDB prompt is a PASS.
20576
20577 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
20578
20579 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
20580
20581 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20582
20583 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
20584
20585 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
20586 It is not from PR 3220.
20587
20588 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20589
20590 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
20591 just started failing because they depended on the order the
20592 subcommands are presented, or exact docstring text. This kind of
20593 test is a pain and has minimal benefit.
20594
20595 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20596
20597 * gdb.t09/corefile.exp: At end of test, use "core" command with
20598 no arguments.
20599
20600 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
20601
20602 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
20603 17}/Makefile.in: Make it possible to run the testsuite with Sun
20604 make and CC = cross gcc by adding explicit build rules for .o
20605 files.
20606
20607 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20608
20609 * gdb.t15/funcargs.exp: Don't put comments on same line as
20610 setup_xfail (@#$*%& tcl braindamage!).
20611
20612 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20613
20614 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
20615
20616 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
20617
20618 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
20619 * gdb.t20/inherit.exp: remove three dumplicate entries.
20620
20621 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20622
20623 * gdb.t06/break.exp: For "next over recursive call", fail on any
20624 incorrect output, not just on "factorial (value=2)".
20625
20626 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20627
20628 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
20629 working now. Add an xfail if accesing a bss variable causes
20630 a memory error if the target is not yet run.
20631
20632 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20633
20634 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
20635 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
20636 name of __st* demangling (2 strings). Did Kung really get the
20637 more than 95 others right without testing them?
20638
20639 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
20640
20641 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
20642
20643 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
20644
20645 * configure.in (configdirs): Add gdb.disasm
20646 * gdb.disasm: New directory for GDB disassembler tests.
20647 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
20648
20649 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20650
20651 * gdb.t00/help.exp: Don't test "help set".
20652
20653 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
20654 from within expect statements. None of these happen anymore and
20655 they cause regressions to be silently unnoticed.
20656
20657 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
20658 messages) about known failures with gcc cygnus-2.4.5-930417.
20659
20660 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
20661 comp-info.exp so it gets built if it doesn't exist.
20662
20663 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
20664 it is no longer used.
20665 * gdb.t13/comp-info.c: Removed.
20666
20667 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
20668
20669 * gdb.t06/signals.exp: Add xfail for sun3.
20670
20671 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20672
20673 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
20674 relevant because ^C doesn't get sent but failure can be reproduced
20675 interactively).
20676
20677 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20678
20679 * gdb.stabs/alpha.mt: New configuration file for alpha.
20680 * gdb.stabs/configure.in: Use it.
20681 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
20682 sharing with alpha.mt, redefine long to word via preprocessor.
20683 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
20684 for alpha.
20685 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
20686 native cc.
20687 * gdb.t00/teststrategy.exp: Change expect string so that we
20688 consume the `(xgdb)' from the command echo and from the gdb prompt.
20689 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
20690 gdb currently compares all values as long, so this failure probably
20691 applies to any configuration where LONGEST is bigger than a target int.
20692 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
20693 with gcc.
20694 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
20695 to handle opaque pointers, gcc is.
20696 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
20697 as first argument. Include <sys/types.h> and change all operator
20698 new definitions to use size_t.
20699 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
20700 now that we use size_t.
20701
20702 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20703
20704 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
20705 a long or float array cast all array members to the same type.
20706 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
20707 with 64 bit longs.
20708 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
20709 on alpha.
20710 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
20711
20712 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20713
20714 * gdb.t24 (demangle.exp): Constructors of templates have names like
20715 vector<int>::vector(int) not vector<int>::vector<int>(int). See
20716 section 14.6 of the ARM.
20717
20718 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
20719 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
20720 accomplish little and slow down the testsuite.
20721
20722 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
20723 Accept spaces various places.
20724
20725 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20726
20727 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
20728 with watchpoint enabled.
20729
20730 * Makefile.in: Remove definition of CC and remove the second
20731 definition of CXX (the "CXX = gcc" one remains). These definitions
20732 were causing backquotes to be expanded within backquotes, which
20733 doesn't work.
20734
20735 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
20736
20737 * gdb.t17/callfuncs.exp: Add "return 0" to end.
20738
20739 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20740
20741 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
20742 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
20743 by mips cc and contains no stabs entries.
20744
20745 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
20746
20747 * config/vx-gdb.exp: Use fake device to load files rather than
20748 NFS.
20749 * lib/gdb.exp: New proc to do "file" command.
20750 * config/unix-gdb.exp: Use new "file" proc.
20751
20752 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
20753
20754 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
20755 Rework board rebooting slightly.
20756 (gdb_exit): Don't exit from the remote shell; there isn't one.
20757 * gdb.stabs/weird.exp: If a program is being debugged already,
20758 kill it.
20759 * gdb.t04/setvar.exp: Stop and restart gdb.
20760 * gdb.t05/expr.exp: Likewise.
20761 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
20762 restart gdb and reload the program.
20763 * gdb.t08/opaque.exp: Likewise.
20764 * gdb.t12/scope.exp: Likewise.
20765 * gdb.t13/bitfields.exp: Likewise.
20766 * gdb.t15/funcargs.exp: Likewise.
20767 * gdb.t20/classes.exp: Likewise.
20768 * gdb.t03/ptype.exp: Increase timeout.
20769 * gdb.t16/printcmds.exp (test_print_string_constants,
20770 test_print_array_constants): Likewise.
20771 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
20772 * gdb.t20/classes.exp (do_tests): Likewise.
20773 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
20774
20775 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
20776
20777 * gdb.stabs: Renamed *wierd* to *weird*.
20778
20779 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
20780
20781 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
20782 for timeout. Add "known gcc 2.4.5 bug" to failure message.
20783
20784 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
20785
20786 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
20787 (do_tests): Remove xfail for whatis on one_var and two_var.
20788
20789 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
20790
20791 * Makefile.in: Made cross building work better by adding
20792 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
20793
20794 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20795
20796 * gdb.t15/{return.c,return.exp,Makefile.in}:
20797 New test, currently commented out.
20798
20799 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
20800
20801 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
20802 still running and removes the leftover named socket so GDb can do
20803 clean restarts.
20804
20805 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
20806
20807 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
20808 console, not GDB.
20809 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
20810 cross testing works better with "make check"
20811 * config/unix-gdb: Use default procedures for exit and version.
20812 * config/vx-gdb.exp: Cleaned up and massaged back to working order
20813 with the newest VxWorks.
20814
20815 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20816
20817 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
20818 old form.
20819
20820 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
20821 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
20822
20823 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
20824
20825 * config/unix-gdb.exp: Remove this version of gdb_exit
20826 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
20827 Rob says he'll look at it when he gets back to testing boards.
20828
20829 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
20830
20831 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
20832 an expected fail for certain ptype commands.
20833
20834 * gdb.t20/classes.exp: Update expected results of "ptype class
20835 Base1" to account for the constructor that now appears in the type.
20836
20837 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
20838
20839 * configure.in (configdirs): Restore gdb.t04, which mysteriously
20840 disappeared from list.
20841 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
20842 "alldone" proc with call to cleanup and exit.
20843 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
20844 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
20845 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
20846 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
20847 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
20848 "alldone" proc with simple returns that suppress remaining
20849 tests. The alldone proc went away many months ago.
20850
20851 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20852
20853 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
20854
20855 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
20856
20857 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20858
20859 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
20860 as vax gdb will display them.
20861
20862 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20863
20864 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
20865 optimizers.
20866
20867 * scope.exp: Change "bad value for localval" messages so each one
20868 is unique.
20869
20870 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
20871 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
20872
20873 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
20874
20875 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20876
20877 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
20878 doesn't exist (due to optimization).
20879
20880 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20881
20882 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
20883 contains \r because the filename is long.
20884
20885 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
20886 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
20887
20888 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20889
20890 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
20891 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
20892 Ultrix.
20893 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
20894 int tests.
20895 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
20896
20897 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
20898
20899 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
20900
20901 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
20902 to match does not match the passing case but still matches the
20903 failing case.
20904
20905 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20906
20907 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
20908
20909 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
20910
20911 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
20912 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
20913 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
20914 Remove various versions of gdb_exit.
20915 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
20916 gdb_exit.
20917 * config/unix-gdb.exp: gdb_exit remains here, and should override
20918 the generic version, since it's doing a lot of wierd stuff that
20919 the other versions aren't. FIXME, fold it in, or abandon this
20920 version.
20921
20922 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20923
20924 * gdb.t24/demangle.exp: Add tests for PR 3220.
20925
20926 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20927
20928 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
20929
20930 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
20931
20932 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
20933 "i386-*-*". Works for i486 as well.
20934
20935 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
20936 bug, and expand domain of xfail to all SVR4 systems, since the
20937 actual problem is likely to be in generic SVR4 /proc support.
20938
20939 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20940
20941 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
20942
20943 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
20944
20945 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
20946 xfails for other systems. Match a missing 'Continuing.' as an
20947 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
20948
20949 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
20950 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
20951 Only issue warning for missing executables if -all option is used.
20952
20953 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
20954 file if -all option is used. It's like an unpredictable XFAIL.
20955
20956 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20957
20958 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
20959 for dynamically linked binaries.
20960
20961 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
20962
20963 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20964
20965 * gdb.t20/inherit.exp: Change message for "print tagless struct"
20966 to state that this is a known bug in old versions of g++.
20967
20968 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20969
20970 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
20971 while waiting for `Continuing'.
20972
20973 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
20974
20975 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
20976 in text, data, and bss.
20977 * gdb.t10/nodebug.c: Add local and global test variables for
20978 initialized and uninitialized data.
20979
20980 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
20981
20982 * config/unix-gdb.exp (gdb_exit): Add "wait".
20983
20984 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20985
20986 * gdb.t06/signals.exp: xfail the continue from the handler for all
20987 targets.
20988
20989 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
20990 function with watchpoints enabled, the i386 call dummy starts with
20991 a call.
20992
20993 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
20994 386 bsd names its corefiles.
20995
20996 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
20997
20998 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
20999 compilers don't grok it.
21000 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
21001 with small octal ints rather than character constants, which
21002 are signed and might not fit if first promoted to int.
21003
21004 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
21005
21006 * gdb.t09/Makefile.in (clean): Remove corefile.
21007
21008 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21009
21010 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
21011
21012 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21013 and Jim Kingdon (kingdon@cygnus.com)
21014
21015 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
21016 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
21017 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
21018
21019 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21020
21021 * gdb.t17/interrupt.exp: Add xfail for hppa.
21022
21023 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21024
21025 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
21026 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
21027 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
21028 to determine signed-ness of bitfields and use the result to setup
21029 the xfail.
21030 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
21031 * gdb.t15/funcargs.exp: Use them to step until the second indirect
21032 call line is reached if necessary.
21033
21034 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21035
21036 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
21037
21038 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21039
21040 * gdb.t06/break.exp: Also test `clear' command.
21041
21042 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
21043
21044 * gdb.t00/teststrategy.exp: Remove extra quote.
21045
21046 * gdb.t07/watchpoint.exp: Change xfail for calling function with
21047 watchpoint enabled to be for all non-68k machines.
21048
21049 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
21050
21051 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21052
21053 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
21054 targets use aout.mt instead of ecoff.mt as gas understands
21055 standard aout format.
21056
21057 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
21058
21059 * lib/gdb.exp (runto): Don't insist that function we are running to
21060 was compiled with -g.
21061
21062 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
21063
21064 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
21065 to get back into the read system call.
21066 Accept leading newline in case where we woke it up.
21067
21068 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21069
21070 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
21071 to make the stabs test work on ecoff systems using gcc and -with-stabs.
21072 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
21073 enable ecoff configuration.
21074
21075 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21076
21077 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
21078
21079 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21080
21081 * gdb.t16/printcmds.exp: Add another printf test.
21082
21083 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
21084
21085 * configure.in: If configured -with-stabs on any target, add
21086 stabsdirs to configdirs.
21087
21088 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21089
21090 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
21091 fun" so pattern does not match the command itself.
21092
21093 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21094
21095 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
21096
21097 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21098
21099 * gdb.t17/interrupt.exp: Test for more things.
21100
21101 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21102
21103 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
21104 compiler arranges the code and line numbers.
21105
21106 * gdb.t17/interrupt.exp: Don't send \n after ^C.
21107
21108 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21109
21110 * gdb.t00/help.exp: Increase expect input buffer size.
21111
21112 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21113
21114 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
21115
21116 * gdb.t07/watchpoint.exp: Add xfail for hppa.
21117
21118 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
21119
21120 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
21121 [0-9]*, not just [0-9].
21122
21123 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21124
21125 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
21126
21127 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
21128
21129 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21130
21131 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
21132
21133 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21134
21135 * gdb.t06/signals.c: Add xfails for sun3.
21136
21137 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
21138
21139 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
21140 test_stepping tests.
21141
21142 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21143
21144 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
21145
21146 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
21147
21148 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
21149 rather than actually putting it through cpp twice.
21150
21151 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
21152
21153 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
21154
21155 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
21156 no longer needed.
21157
21158 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21159
21160 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
21161
21162 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
21163 C++ features prints as "struct", make it a pass, not an xfail.
21164
21165 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21166
21167 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
21168 Don't require VA to print as "class" rather than "struct".
21169
21170 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
21171
21172 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
21173
21174 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21175
21176 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
21177
21178 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21179
21180 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
21181 order.
21182
21183 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21184
21185 * gdb.t16/printcmds.exp: Add printf tests.
21186
21187 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
21188
21189 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
21190
21191 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
21192
21193 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
21194 pass counts, to counteract any existing or future setup_xfails.
21195
21196 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21197
21198 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
21199 {BEGIN,END}_COMMON for common block instead of STAB.
21200 * gdb.stabs/wierd.exp: Add xfail for rs6000.
21201
21202 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
21203 intp_var should be N_GSYM not N_LSYM.
21204 wierd-aout.S: Use a label for the value of the N_SO.
21205 wierd.def: Remove all backslashes.
21206 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
21207
21208 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21209
21210 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
21211 get the expected next to inheritance3.
21212
21213 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21214
21215 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
21216 now that gcc-2.4 gets it right.
21217
21218 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21219
21220 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
21221
21222 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
21223 generating comp-info.exp which works for cross-compilation.
21224
21225 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
21226
21227 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
21228 "*-*-sysv4.*".
21229
21230 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
21231
21232 * gdb.t01/run.exp: Start with a fresh gdb.
21233 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
21234 SVR4.x.
21235
21236 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
21237
21238 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
21239 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
21240 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
21241 Makefile.in (distclean, realclean): Remove gdbme.c from list of
21242 things to remove.
21243
21244 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
21245
21246 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
21247 test cases from bug reports.
21248
21249 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
21250
21251 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
21252 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
21253 avoid spurious xfails.
21254 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
21255 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
21256 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
21257
21258 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
21259
21260 * gdb.t00/teststrategy.exp: Rework to provide more useful
21261 description of each test, fix problem with systems that define
21262 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
21263 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
21264 results for "next over recursive call" so timeouts aren't taken
21265 by error.
21266
21267 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
21268
21269 * gdb.t12/scope.exp: Test printing of variables before run.
21270
21271 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
21272 printed in wrong order due to sorting.
21273
21274 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
21275
21276 * gdb.t00/teststrategy.exp: Fix expected results for printing
21277 user entered string constant. Is array of char, prints with no
21278 address.
21279
21280 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
21281 commands.
21282 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
21283 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
21284 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
21285 of struct of char arrays.
21286 * gdb.t00/radix.exp: New tests for radix commands.
21287
21288 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
21289
21290 * gdb.t16/printcmd.exp: Print a variable before running program
21291 (with xfail for AIX).
21292
21293 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
21294
21295 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
21296
21297 * gdb.t16/printcmd.exp: Don't print variables before running program.
21298
21299 * gdb.t06/break.exp: Don't require envp argument to main.
21300
21301 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
21302
21303 * gdb.t02/whatis.exp, gdb.t11/list.exp:
21304 Add xfails for rs6000.
21305
21306 * gdb.t02/whatis.exp: Change other tests not to re-test something
21307 we already tested.
21308
21309 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
21310 each type used has a variable of that type.
21311
21312 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
21313
21314 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
21315
21316 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
21317
21318 * configure.in: change srctrigger to be a file, not a directory
21319
21320 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
21321
21322 * configure.in (mips-idt-ecoff*): Added trailing '*'.
21323
21324 * gdb.t11/list.exp: Fixed a couple of typos.
21325
21326 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
21327
21328 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
21329 is fixed and PR is closed.
21330 * gdb.t16 (gdbme.c): Add simple test string variable.
21331 * gdb.t16 (printcmds.exp): Add tests with simple test string
21332 variable, primarily for boundaries on "set print elements".
21333
21334 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
21335
21336 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
21337 Make leading 0's optional and don't expect a tab in the middle
21338 of the number.
21339
21340 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
21341
21342 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
21343 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
21344 don't end command passed to gdb_test with newline.
21345
21346 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
21347 signed keyword away, don't expect signed bitfields to be signed.
21348
21349 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
21350 printing with only as many 1's as are in the field as well as printing
21351 with 32 1's (see comment).
21352
21353 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
21354
21355 * gdb.t00/default.exp: Start with a fresh gdb.
21356 * configure.in (configdirs): Remove gdb.t31 until the chill
21357 compiler works again. It no longer is able to find chillrt0
21358 since it isn't in libchill.a anymore.
21359 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
21360 wierd.o, make more modular.
21361 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
21362 spurious newlines that caused problems.
21363
21364 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21365
21366 * Move test with enums and partial symbols from gdb.t03/ptype.exp
21367 to gdb.stabs/wierd.exp since GCC has worked around the bug.
21368 gdb.stabs/wierd.{exp,def}: Many new tests.
21369
21370 * gdb.t00/default.exp: update info line for new message.
21371
21372 * gdb.t02/{whatis.exp,gdbme.c}:
21373 Test that "char *" doesn't print as "caddr_t".
21374
21375 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21376
21377 * gdb.t00/help.exp: Use .* in place of some help messages which
21378 just changed.
21379 gdb.t00/default.exp: Update "info frame" test for new message.
21380 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
21381 Remove some xfails
21382
21383 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21384
21385 * gdb.t03/{gdbme.c,ptype.exp}:
21386 Add tests for typedef'd struct and union without tags.
21387 Also check "whatis" on a variable of a typedef'd enum without a tag.
21388
21389 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
21390 PRMS 1823; the bug still exists but isn't reproduced by this test
21391 anymore), and remove rs6000 XFAIL (the bug is fixed).
21392
21393 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
21394 duplicated from whatis.exp. For those that are left, accept
21395 "long", "long int", or "int" for long variables (whatis.exp already
21396 has an XFAIL for "int", so no need to fail it here).
21397
21398 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
21399 Deal with GCC's names for types now that GDB uses the compiler's names.
21400
21401 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
21402 setup_xfail's for sunos4. If we #defined the signed keyword away,
21403 don't expect GDB to know that char it is signed.
21404
21405 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
21406
21407 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
21408
21409 * configure.in (configdirs): Add gdb.t24 for C++ tests that
21410 should work on any system, regardless of debugging format.
21411 * gdb.t21/demangle.exp: Move to gdb.t24.
21412 * gdb.t24/demangle.exp: Move from gdb.t21.
21413 * gdb.t24/{Makefile.in, configure.in}: New files.
21414
21415 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21416
21417 * configure.in: Do gdb.stabs and C++ tests only for stabs.
21418 * gdb.stabs: New directory.
21419
21420 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21421
21422 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
21423 not just "Quit anyway?".
21424
21425 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
21426
21427 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
21428 that all setup_xfails are immediately followed by clear_xfails.
21429
21430 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
21431
21432 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
21433 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
21434 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
21435 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
21436 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
21437 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
21438 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
21439 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
21440 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
21441 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
21442 gdb.t31/chillvars.exp, lib/gdb.exp:
21443 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
21444 bug-gdb@prep.ai.mit.edu.
21445
21446 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
21447
21448 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
21449 with 0.0, not integer 0.
21450
21451 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
21452
21453 * gdb.t06/break.exp: Update for "Kill the program" message change.
21454
21455 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
21456
21457 * Makefile.in (GDBFLAGS): Set to -nx.
21458 * Makefile.in (site.exp): Use GDBFLAGS.
21459
21460 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
21461
21462 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
21463 Makefiles.
21464 (check): depend on just-check.
21465 (just-check): added so that tests can be run without a noop
21466 build pass.
21467
21468 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
21469
21470 Switch to using configure's configdirs.
21471 * Makefile.in (Makefile): add configure.in dependency.
21472 (SUBDIRS): removed redundant assignment.
21473 * configure.in: switch subdirs assignment to configdirs.
21474 * gdb.t*/configure.in: new files.
21475
21476 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
21477
21478 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
21479 works.
21480
21481 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
21482
21483 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
21484 in explicit rules. Apparently this is not supported by some makes.
21485
21486 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
21487
21488 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
21489
21490 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21491
21492 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
21493 disappeared.
21494
21495 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
21496
21497 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
21498
21499 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
21500
21501 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
21502 watchpoint problem that is now fixed.
21503 * gdb.t30/chexp.exp: Remove setup_xfail for printing
21504 uninitialized convenience variables.
21505 * gdb.t31/chillvars.exp: Fix expected patterns for printing
21506 structures.
21507
21508 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21509
21510 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
21511 which causes expect to get out of sync with gdb on long output
21512 from help set.
21513 * gdb.t09/corefile.exp: Make expected pattern for core file
21514 failing signal and frame output format less sun specific.
21515
21516 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
21517
21518 * gdb.t31/chillvars.exp: Add and remove initial dummy
21519 breakpoint, so that symbol table is forced in.
21520 (Needed at least on Sunos4, though it seems not SVR4.)
21521 * gdb.t31/chillvars.exp: Update for changed output format.
21522
21523 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
21524
21525 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
21526
21527 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
21528
21529 * Makefile.in: Added --srcdir when invoking runtest, removed the
21530 need for a local config file. (optional now)
21531
21532 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
21533
21534 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
21535 failure count used to force early termination. Add some more
21536 expected failures for gnu style demangling.
21537
21538 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21539
21540 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
21541 pmi variable from gdb.t20/gdbme to get optimized away.
21542 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
21543 Check for written corefile upon timeout _and_ eof.
21544
21545 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21546
21547 * config/unix-gdb.exp: Add missing return 0.
21548
21549 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21550
21551 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
21552 test termination.
21553
21554 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
21555
21556 * configure.in (subdirs): Put back gdb.t17 which mysteriously
21557 disappeared.
21558
21559 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
21560
21561 * gdb.t10/crossload.exp: Disable the i860-elf test until such
21562 time as i860 support works.
21563
21564 * gdb.t15/funcargs.exp: Fix expected outputs to include
21565 "backtrace 100\r" rather than just "backtrace\r", to match last
21566 change.
21567
21568 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
21569
21570 * config/udi-gdb.exp (gdb_exit): Remove close command.
21571 (gdb_target_udi): New procedure to set the UDI target.
21572 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
21573 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
21574 Added waits for prompts after several question responses. Added
21575 some more responses used by a29k-amd-udi-gdb.
21576 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
21577 pass different arguments, restart UDI connection after program
21578 completion.
21579 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
21580 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
21581 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
21582 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
21583 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
21584 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
21585 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
21586 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
21587 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
21588 after program completion.
21589 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
21590 compiled with a SELECT_VECS setting.
21591 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
21592 infinite recursion.
21593
21594 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
21595 Added checks for COFF results, and made them expected failures for
21596 all targets. It would be better to make them expected failures
21597 for COFF targets only.
21598
21599 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
21600
21601 * Makefile.in: add null dvi target, don't bother to recurse
21602 through test directories for info and install-info; rename
21603 $(datadir) to be dejagnu instead of deja-gnu
21604
21605 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
21606
21607 * gdb.t31/gdbme.ch: Re-enable code that previously caused
21608 compiler to coredump.
21609 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
21610 code.
21611
21612 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
21613
21614 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
21615 coredump.
21616 * gdb.t31/chillvars.exp: Comment out tests that depend on that
21617 code.
21618
21619 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
21620
21621 * gdb.t03/ptype.exp: tests for return code from gdb_test.
21622 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
21623 which in a shell. Deletes xgdb when done.
21624 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
21625 Tests the return from the "set height" or "set width" commands.
21626 Added a few return codes where needed.
21627
21628 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
21629
21630 * Makefile.in (SUBDIRS): Add gdb.t17.
21631 * configure.in (subdirs): Add gdb.t17.
21632 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
21633 files to test gdb's calling of functions in the inferior with
21634 the correct arguments and gdb's ability to retrieve any
21635 result returned.
21636
21637 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
21638
21639 * config/unix-gdb.exp (gdb_exit): Remove close commands that
21640 may be called after gdb goes away. Previous versions of expect
21641 needed these to avoid file descriptor leaks, but they cause
21642 errors with the current revision of expect.
21643 * gdb.t00/gdbvars.exp: Use -re on expected output after
21644 setting sevenbit-strings.
21645 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
21646 to set sevenbit-strings consistent across tests.
21647 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
21648 set sevenbit-strings consistent across tests.
21649
21650 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
21651
21652 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
21653 expected output to match current "expect" expectations.
21654
21655 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
21656
21657 * gdb.t00/default.exp: Change expected output for default "source"
21658 command, to match new gdb behavior which requires a filename to
21659 source.
21660
21661 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
21662
21663 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
21664 expected fail for i486-*-* that misses the marker2 function.
21665 * gdb.t10/crossload.exp (bfddefault): Allow successful
21666 recognition of a format to pass even if no symbols are found.
21667 Explicitly catch failures where the format is not recognized
21668 or is ambiguous, and add the reason to the fail message.
21669 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
21670 the cause is and invalid target and add reason to failure message.
21671 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
21672 elf32-i386, elf32-sparc, and elf32-i860.
21673 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
21674 Set up expected failure for 'filename'::variable scope resolution,
21675 which is now apparently broken on all targets.
21676 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
21677 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
21678 gdb.t23/templates.exp: Change failure for missing binfile into
21679 just a warning.
21680 gdb.t21/demangle.exp: Change all cfront references to 'arm'
21681 references.
21682
21683 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
21684
21685 * gdb.t00/default.exp: Add expected output for default "source"
21686 command, to match new gdb behavior.
21687 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
21688
21689 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
21690
21691 * config/*-gdb.exp: returns an error, rather than exiting on
21692 internal errors.
21693
21694 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
21695
21696 * gdb.t03/gdbme.c: Add pointer to struct variable.
21697 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
21698 referencing struct members.
21699
21700 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
21701
21702 * configure.in (mips-idt-ecoff): New target.
21703 * config/mips-gdb.exp: New file for remote board using MIPS remote
21704 debugging protocol.
21705
21706 * Redid configuration scheme. Removed gdb.t*/configure.in.
21707 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
21708 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
21709 distclean targets. Built executables via .o files. Adjusted
21710 tests to account for source files in $(srcdir) rather than
21711 $(objdir).
21712 * lib/gdb.exp (runto): Don't expect () after the function name,
21713 because it may have arguments.
21714
21715 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
21716
21717 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
21718 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
21719 expected failures for mips-idt-* and mips-sgi-*.
21720 * gdb.t00/default.exp (attach): Kill process if requested.
21721 * gdb.t00/help.exp (help target core, help target): Accept a gdb
21722 that does not read core files.
21723 * gdb.t01/run.exp: Removed checks for exit status code.
21724 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
21725 it is linked in.
21726 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
21727 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
21728 appropriate, rather than doing it by hand.
21729 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
21730 execution.
21731 * gdb.t10/crossload.exp: Kill existing program if needed.
21732 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
21733 appropriate, rather than doing it by hand. Always increase
21734 timeout for this test, not just for VxWorks.
21735
21736 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
21737
21738 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
21739 of Chill STRUCT types and STRUCT values.
21740 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
21741 than "char".
21742 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
21743 struct2): New struct definitions and initializations to test
21744 simple Chill STRUCT types.
21745
21746 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
21747
21748 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
21749 the null byte at the end of strings.
21750 * gdb.t00/default.exp: Make show version insensitive to copyright
21751 date.
21752 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
21753 to avoid dependencies on target char signedness.
21754 * gdb.t16/printcmds.exp: Update expected results for explicitly
21755 unsigned char.
21756 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
21757 now work.
21758 * gdb.t21/demangle.exp: Add many more patterns for template
21759 demangling, most of them being expected failures.
21760 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
21761 string we are matching for, to match on the whole string.
21762 * gdb.t21/demangle.exp: Add many new test strings to demangle,
21763 and fix a whole bunch that had incorrect expected output but were
21764 passing anyway because of the bug in "proc demangle".
21765 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
21766 type.
21767 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
21768
21769 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
21770
21771 * gdb/testsuite: made modifications to testcases, etc., to allow
21772 them to work properly given the reorganization of deja-gnu and the
21773 relocation of the testcases from deja-gnu to a "tool" subdirectory.
21774
21775 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
21776
21777 * gdb/testsuite: Initial creation of gdb/testsuite.
21778 Migrated dejagnu testcases and support files for testing nm to
21779 gdb/testsuite from deja-gnu. These files were moved "as is"
21780 with no modifications. This migration is part of a major overhaul
21781 of dejagnu. The modifications to these testcases, etc., which
21782 will allow them to work with the new version of dejagnu will be
21783 made in a future update.
21784
21785 For additional changes see gdb.mi/ChangeLog-1999-2003.
21786 \f
21787 ;; Local Variables:
21788 ;; mode: change-log
21789 ;; left-margin: 8
21790 ;; fill-column: 74
21791 ;; version-control: never
21792 ;; End:
21793
21794 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
21795 2003, 2004, 2005 Free Software Foundation, Inc.
21796 Copying and distribution of this file, with or without modification,
21797 are permitted provided the copyright notice and this notice are preserved.