gdb/
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
2
3 * gdb.base/signest.exp: New file.
4 * gdb.base/signest.c: Likewise.
5
6 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7
8 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
9 thread and breakpoint notifications.
10
11 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12
13 * gdb.base/fortran-sym-case.c: New file.
14 * gdb.base/fortran-sym-case.exp: New file.
15 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
16 * gdb.dwarf2/dw2-case-insensitive.c: New file.
17 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
18
19 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
20
21 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
22 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
23 false #1', `if true else false #2' and `if true else false #3'.
24
25 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
26
27 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
28 while delivering signal.
29
30 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
31
32 MI breakpoint notifications.
33
34 * testsuite/gdb.mi/mi-cli.exp: Adust.
35 * testsuite/gdb.mi/mi2-cli.exp: Adust.
36 * testsuite/gdb.mi/mi-watch.exp: Adust.
37 * testsuite/gdb.mi/mi2-watch.exp: Adust.
38 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
39 notifications.
40
41 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
42
43 * gdb.base/gdbindex-stabs-dwarf.c: New file.
44 * gdb.base/gdbindex-stabs.c: New file.
45 * gdb.base/gdbindex-stabs.exp: New file.
46
47 2011-04-25 Yao Qi <yao@codesourcery.com>
48
49 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
50 with /*...*/.
51 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
52
53 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
54
55 * gdb.python/py-value.exp (test_objfiles): Name the first test
56 `py-value in file.filename'.
57
58 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
59
60 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
61 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
62 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
63 !gdbserver_reconnect_p..
64 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
65
66 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
67
68 * gdb.cp/cpcompletion.exp (complete class methods)
69 (complete class methods beginning with F): Move them above runto. New
70 comment about the runto delimiter.
71
72 2011-04-20 Pedro Alves <pedro@codesourcery.com>
73
74 * gdb.base/maint.exp: Test that "maint print registers" works
75 without a running program.
76
77 2011-04-20 Marek Polacek <mpolacek@redhat.com>
78
79 * gdb.base/setshow.exp: Fix racy tests.
80 ($old_gdb_prompt): New variable.
81
82 2011-04-19 Tom Tromey <tromey@redhat.com>
83
84 * gdb.mi/mi-nsmoribund.exp:
85 * gdb.hp/gdb.objdbg/objdbg01.exp:
86 * gdb.base/structs.exp (test_struct_returns):
87 * gdb.base/call-sc.exp (test_scalar_returns):
88 * gdb.base/bigcore.exp: Remove duplicate words.
89
90 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
91
92 * gdb.base/break-interp-lib.c (v, vptr): New variables.
93 * gdb.base/break-interp.exp (test_attach): New comment.
94
95 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
96
97 * gdb.threads/gcore-thread.exp ($core0file): New variable.
98 (clear __stack_user.next, clear stack_used.next)
99 (save a zeroed-threads corefile): New test.
100 Call core_load for $core0file.
101 (zeroed-threads cannot be listed): New test.
102
103 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
104
105 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
106 filename.
107 ($srcfile): Preserve the original value.
108 ($testfile): Match it the .exp filename.
109 ($corefile): New variable. Substitute it around.
110 Use clean_restart.
111 ($prev_timeout): Remove.
112 (load_core): Move core loading into this proc.
113 Fix restore of $timeout if load_core fails.
114
115 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
116
117 * gdb.base/eu-strip-infcall.c: New file.
118 * gdb.base/eu-strip-infcall.exp: New file.
119
120 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
121
122 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
123 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
124
125 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
126
127 Fix Python access to inlined frames.
128 * gdb.python/py-frame-inline.c: New file.
129 * gdb.python/py-frame-inline.exp: New file.
130
131 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
132
133 * gdb.base/gdb1090.exp: Change breakpoint location to read the
134 content of 's24' correctly (avoiding "optimized out").
135 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
136
137 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
138
139 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
140
141 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
142
143 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
144 expect a colon in watch -location output.
145
146 2011-04-13 Marek Polacek <mpolacek@redhat.com>
147
148 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
149 New testcase `expect response to define backtrace'. Also remove
150 redundant `default' block.
151
152 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
153
154 * gdb.python/py-prettyprint.c (struct hint_error): New.
155 (main): New variable hint_error.
156 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
157 "print hint_error".
158 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
159 (register_pretty_printers): Register it.
160
161 2011-04-04 Tom Tromey <tromey@redhat.com>
162
163 * gdb.cp/maint.exp (test_help): Update.
164 (test_namespace): Likewise.
165
166 2011-04-01 Joel Brobecker <brobecker@adacore.com>
167
168 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
169 * gdb.ada/arrayptr.exp: Add new tests.
170
171 2011-04-01 Joel Brobecker <brobecker@adacore.com>
172
173 * gdb.ada/mi_catch_ex: New testcase.
174
175 2011-04-01 Pedro Alves <pedro@codesourcery.com>
176
177 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
178 base::overload(void) method without specifying "const".
179
180 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
181
182 * gdb.arch/thumb-singlestep.S: New file.
183 * gdb.arch/thumb-singlestep.exp: Likewise.
184
185 2011-03-31 Tom Tromey <tromey@redhat.com>
186
187 * gdb.python/py-prettyprint.py (exception_flag): New global.
188 (NoStringContainerPrinter._iterator.next): Check it.
189 * gdb.python/py-prettyprint.c (main): New variable nstype2.
190 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
191
192 2011-03-29 Tom Tromey <tromey@redhat.com>
193
194 * gdb.cp/anon-struct.cc: New file.
195 * gdb.cp/anon-struct.exp: New file.
196
197 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
198
199 Test STT_GNU_IFUNC support.
200 * gdb.base/gnu-ifunc-lib.c: New file.
201 * gdb.base/gnu-ifunc.c: New file.
202 * gdb.base/gnu-ifunc.exp: New file.
203
204 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
205
206 Support a ring of related breakpoints.
207 * gdb.base/watchpoint-delete.c: New file.
208 * gdb.base/watchpoint-delete.exp: New file.
209
210 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
211
212 * gdb.ada/arrayparam.exp (print first after function call): Use
213 explicit package name. Add a comment
214 (print lasta after function call): Rename ...
215 (print last after function call): ... it and use explicit package
216 name.
217 (print length after function call): Use explicit package name.
218 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
219 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
220 (multiple matches for symbol i): Rename ...
221 (multiple matches for symbol integervar): ... it.
222 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
223 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
224
225 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
226
227 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
228 environment variable to make grep output more predictable. Move
229 all the environment setup into gdb_init so it's done once per test
230 case rather than each time we start gdb.
231
232 2011-03-24 Tom Tromey <tromey@redhat.com>
233
234 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
235 test.
236
237 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
238
239 * gdb.dwarf2/dw2-entry-value-main.c: New file.
240 * gdb.dwarf2/dw2-entry-value.S: New file.
241 * gdb.dwarf2/dw2-entry-value.exp: New file.
242
243 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
244
245 PR python/12183
246
247 * gdb.python/py-function.exp: Add GdbError tests.
248
249 2011-03-18 Pedro Alves <pedro@codesourcery.com>
250
251 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
252 (reglocal_test_func, statlocal_test_func): New functions.
253 (globals_test_func): Call new functions.
254 * gdb.trace/unavailable.exp (gdb_collect_args_test)
255 (gdb_collect_locals_test): New procedure.
256 (gdb_trace_collection_test): Call new procedures.
257
258 2011-03-18 Pedro Alves <pedro@codesourcery.com>
259
260 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
261 (test_register, test_register_unavailable): New procedures.
262 (gdb_unavailable_registers_test): New procedure.
263 (gdb_trace_collection_test): Call it.
264
265 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
266
267 PR python/12149
268
269 * gdb.python/python.exp: Add gdb.write tests.
270
271 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
272
273 * gdb.python/Makefile.in: Add py-objfile.
274 * gdb.python/py-objfile.exp: New file.
275 * gdb.python/py-objfile.c: New file.
276 * gdb.python/py-block.exp: Add is_valid tests.
277 * gdb.python/py-inferior.exp: Ditto.
278 * gdb.python/py-infthread.exp: Ditto.
279 * gdb.python/py-symbol.exp: Ditto.
280 * gdb.python/py-symtab.exp: Ditto.
281
282 2011-03-16 Keith Seitz <keiths@redhat.com>
283
284 PR c++/12273
285 * gdb.cp/cmpd-minsyms.exp: New test.
286 * gdb.cp/cmpd-minsyms.cc: New file.
287
288 PR c++/11734
289 * gdb.cp/ovsrch.exp: New test.
290 * gdb.cp/ovsrch.h: New file.
291 * gdb.cp/ovsrch1.cc: New file.
292 * gdb.cp/ovsrch2.cc: New file.
293 * gdb.cp/ovsrch3.cc: New file.
294 * gdb.cp/ovsrch4.cc: New file.
295
296 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
297
298 PR gdb/12528
299 * gdb.base/Makefile.in: Adjust EXECUTABLES.
300 * gdb.base/break-on-linker-gcd-function.exp: New test.
301 * gdb.base/break-on-linker-gcd-function.cc: New file.
302
303 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
304
305 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
306
307 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
308
309 * lib/gdb.exp (gdb_unload): Add another termination case.
310
311 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
312
313 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
314 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
315 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
316 Provide a stub byte there.
317 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
318 DW_AT_entry_pc.
319 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
320
321 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
322
323 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
324 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
325 "generic ABI, auto".
326 (altivec_abi_tests): Accept vectors returned by reference.
327
328 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
329
330 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
331
332 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
333
334 * gdb.python/py-section-script.exp: Skip test if no Python support.
335
336 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
337
338 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
339
340 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
341
342 * gdb.python/py-parameter.exp: Update tests to the new Python
343 parameter API. Add "no documentation" test. Add deprecated API
344 backward compatibility test.
345
346 2011-03-09 Tom Tromey <tromey@redhat.com>
347
348 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
349 gdb_continue_to_end.
350
351 2011-03-09 Mark Kettenis <kettenis@gnu.org>
352
353 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
354 tabs.
355
356 2011-03-09 Tom Tromey <tromey@redhat.com>
357
358 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
359 parentheses.
360 (gdb_continue_to_end): Add "allow_extra" parameter. Use
361 $command.
362 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
363 argument to gdb_continue_to_end.
364 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
365 argument to gdb_continue_to_end.
366 * gdb.cp/annota3.exp: Fix regex.
367 * gdb.cp/annota2.exp: Fix regex.
368 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
369 gdb_continue_to_end.
370 * gdb.base/call-signal-resume.exp: Revert earlier patch.
371 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
372 gdb_continue_to_end.
373
374 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
375
376 * gdb.server/ext-run.exp
377 (load new file without any gdbserver inferior): New test.
378
379 2011-03-07 Tom Tromey <tromey@redhat.com>
380
381 * Makefile.in (TAGS): Rewrite.
382
383 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
384
385 * gdb.trace/report.exp (12.1: trace report #1): New match for the
386 initial commands echo. New match for `Found trace'. Anchor all the
387 other matches. Anchor and match for `No trace frame found' the final
388 match.
389
390 2011-03-07 Tom Tromey <tromey@redhat.com>
391
392 * Makefile.in (TAGS): New target.
393
394 2011-03-07 Tom Tromey <tromey@redhat.com>
395
396 * lib/opencl.exp (skip_opencl_tests): Update for exit message
397 change.
398 * lib/mi-support.exp (mi_gdb_test): Update for exit message
399 change.
400 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
401 exit message change.
402 (skip_altivec_tests): Update for exit message change.
403 (skip_vsx_tests): Likewise.
404 (gdb_continue_to_end): Likewise. Add 'command' argument.
405 * lib/cell.exp (skip_cell_tests): Update for exit message change.
406 * gdb.threads/tls.exp: Update for exit message change.
407 * gdb.threads/thread-unwindonsignal.exp: Use
408 gdb_continue_to_end.
409 * gdb.threads/step.exp (step_it): Update for exit message change.
410 (continue_all): Likewise.
411 * gdb.threads/print-threads.exp (test_all_threads): Update for
412 exit message change.
413 * gdb.threads/interrupted-hand-call.exp: Use
414 gdb_continue_to_end.
415 * gdb.threads/execl.exp: Use gdb_continue_to_end.
416 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
417 gdb_continue_to_end.
418 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
419 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
420 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
421 * gdb.cp/method.exp: Update for exit message change.
422 * gdb.cp/mb-templates.exp: Update for exit message change.
423 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
424 * gdb.cp/annota3.exp: Update for exit message change.
425 * gdb.cp/annota2.exp: Update for exit message change.
426 * gdb.cell/fork.exp: Use gdb_continue_to_end.
427 * gdb.base/term.exp: Update for exit message change.
428 * gdb.base/step-test.exp (test_i): Update for exit message change.
429 * gdb.base/sigstep.exp (advance): Update for exit message change.
430 (advancei): Likewise.
431 * gdb.base/siginfo.exp: Update for exit message change.
432 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
433 * gdb.base/reread.exp: Use gdb_continue_to_end.
434 * gdb.base/langs.exp: Use gdb_continue_to_end.
435 * gdb.base/interrupt.exp: Update for exit message change.
436 * gdb.base/gdb1555.exp: Update for exit message change.
437 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
438 * gdb.base/ending-run.exp: Update for exit message change.
439 * gdb.base/chng-syms.exp: Update for exit message change.
440 * gdb.base/checkpoint.exp: Update for exit message change.
441 * gdb.base/catch-syscall.exp (check_for_program_end): Use
442 gdb_continue_to_end.
443 (test_catch_syscall_with_wrong_args): Likewise.
444 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
445 * gdb.base/break-interp.exp (test_ld): Update for exit message
446 change.
447 * gdb.base/bang.exp: Update for exit message change.
448 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
449 (do_call_attach_tests): Likewise.
450 * gdb.base/a2-run.exp: Update for exit message change.
451 * gdb.arch/ppc-dfp.exp: Update for exit message change.
452 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
453 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
454
455 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
456
457 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
458
459 2011-03-03 Tom Tromey <tromey@redhat.com>
460
461 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
462 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
463 * gdb.hp/gdb.aCC/configure.ac: Remove.
464 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
465 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
466 * gdb.hp/gdb.base-hp/configure.ac: Remove.
467 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
468 * gdb.hp/gdb.compat/configure (Makefile): Remove.
469 * gdb.hp/gdb.compat/configure.ac: Remove.
470 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
471 * gdb.hp/gdb.defects/configure (Makefile): Remove.
472 * gdb.hp/gdb.defects/configure.ac: Remove.
473 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
474 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
475 * gdb.hp/gdb.objdbg/configure.ac: Remove.
476 * gdb.hp/configure.ac: Remove.
477 * gdb.hp/configure: Remove.
478 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
479 substitution.
480 (Makefile): Remove rule.
481 * gdb.cell/configure.ac: Remove.
482 * gdb.cell/configure: Remove.
483 * gdb.stabs/Makefile.in (Makefile): Remove.
484 (distclean): Don't remove config.status or config.log.
485 * gdb.stabs/configure (Makefile): Remove.
486 * gdb.stabs/configure.ac: Remove.
487 * configure: Rebuild.
488 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
489 Remove stabs- and cell-specific logic. Test for existence of
490 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
491 subdirectories, gdb.cell, and and gdb.stabs.
492 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
493
494 2011-03-03 Joel Brobecker <brobecker@adacore.com>
495
496 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
497 end of buffer.
498
499 2011-03-02 Joel Brobecker <brobecker@adacore.com>
500
501 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
502 gdb_test when running a test where we expected no output back.
503
504 2011-02-28 Michael Snyder <msnyder@vmware.com>
505
506 * gdb.cp/overload.cc: Change initializer value to integer.
507
508 2011-02-27 Michael Snyder <msnyder@vmware.com>
509
510 * gdb.multi/base.exp: Add test for remove-inferiors.
511
512 2011-02-26 Joel Brobecker <brobecker@adacore.com>
513
514 * gdb.python/py-frame.exp: Simplify the initialization phase
515 using prepare_for_testing.
516
517 2011-02-25 Michael Snyder <msnyder@vmware.com>
518
519 * gdb.multi/base.exp: Add tests for info inferiors with args.
520
521 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
522
523 * gdb.dwarf2/dw2-ranges.S: Rename to ...
524 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
525 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
526 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
527 asmfile3. Comment the STABS (#3) file compilation. Compile
528 everything through assembler. Provide KFAIL for symtab/12497.
529 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
530 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
531 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
532 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
533
534 2011-02-24 Michael Snyder <msnyder@vmware.com>
535
536 * gdb.base/break.exp: Add tests for delete breakpoints using
537 convenience variables and value history references.
538
539 2011-02-24 Michael Snyder <msnyder@vmware.com>
540
541 * gdb.base/break.exp: Remove debugging 'printf' accidentally
542 left behind in previous check-in.
543
544 2011-02-23 Michael Snyder <msnyder@vmware.com>
545
546 * gdb.base/break.exp: Add tests for "info break" with arguments.
547 * gdb.trace/infotrace.exp: Update patterns for error and help.
548 * gdb.base/completion.exp: Update pattern.
549 * gdb.base/ena-dis-br.exp: Update pattern.
550 * gdb.base/help.exp: Update patterns.
551
552 2011-02-23 Michael Snyder <msnyder@vmware.com>
553
554 * gdb.base/memattr.exp: New test.
555 * gdb.base/memattr.c: Test load for memattr.exp.
556
557 2011-02-22 Doug Evans <dje@google.com>
558
559 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
560
561 2011-02-22 Michael Snyder <msnyder@vmware.com>
562
563 * Makefile.in: Make more clean.
564 * gdb.ada/Makefile.in: Ditto.
565 * gdb.arch/Makefile.in: Ditto.
566 * gdb.asm/Makefile.in: Ditto.
567 * gdb.base/Makefile.in: Ditto.
568 * gdb.cp/Makefile.in: Ditto.
569 * gdb.dwarf2/Makefile.in: Ditto.
570 * gdb.java/Makefile.in: Ditto.
571 * gdb.mi/Makefile.in: Ditto.
572 * gdb.modula2/Makefile.in: Ditto.
573 * gdb.python/Makefile.in: Ditto.
574 * gdb.server/Makefile.in: Ditto.
575 * gdb.stabs/Makefile.in: Ditto.
576 * gdb.threads/Makefile.in: Ditto.
577 * gdb.trace/Makefile.in: Ditto.
578
579 2011-02-22 Michael Snyder <msnyder@vmware.com>
580
581 * gdb.threads/thread-find.exp: Add tests for bad input to
582 info threads.
583
584 2011-02-22 Joel Brobecker <brobecker@adacore.com>
585
586 * gdb.python/py-breakpoint.exp: Fix the expected output of
587 one of the "maint info breakpoints" tests to accept the output
588 generated on platforms that do not have hardware watchpoints.
589
590 2011-02-22 Joel Brobecker <brobecker@adacore.com>
591
592 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
593 clean_restart. Be a little stricter in the expected output
594 for one of the tests. Fix a typo in one of the comments.
595
596 2011-02-22 Joel Brobecker <brobecker@adacore.com>
597
598 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
599 Delete variable binfile, no longer use. Add or modify test
600 comments to make them unique.
601
602 2011-02-21 Michael Snyder <msnyder@vmware.com>
603
604 * Makefile.in: Update for make clean.
605 * gdb.ada/Makefile.in: Ditto.
606 * gdb.arch/Makefile.in: Ditto.
607 * gdb.asm/Makefile.in: Ditto.
608 * gdb.base/Makefile.in: Ditto.
609 * gdb.cp/Makefile.in: Ditto.
610 * gdb.dwarf2/Makefile.in: Ditto.
611 * gdb.java/Makefile.in: Ditto.
612 * gdb.mi/Makefile.in: Ditto.
613 * gdb.modula2/Makefile.in: Ditto.
614 * gdb.python/Makefile.in: Ditto.
615 * gdb.server/Makefile.in: Ditto.
616 * gdb.stabs/Makefile.in: Ditto.
617 * gdb.threads/Makefile.in: Ditto.
618 * gdb.trace/Makefile.in: Ditto.
619
620 2011-02-21 Michael Snyder <msnyder@vmware.com>
621
622 * gdb.threads/thread-find.exp: Update patterns for changes in
623 output of "info threads" command.
624
625 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
626 Ulrich Weigand <uweigand@de.ibm.com>
627
628 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
629 (skip_hw_watchpoint_tests): Likewise.
630 (skip_hw_watchpoint_multi_tests): Likewise.
631
632 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
633
634 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
635 (skip_hw_watchpoint_tests): Likewise.
636 (skip_hw_watchpoint_multi_tests): Likewise.
637 (skip_hw_watchpoint_access_tests): Likewise.
638
639 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
640 * gdb.base/pr11022.exp: Likewise.
641 * gdb.base/watch-read.exp: Likewise.
642 * gdb.base/watch_thread_num.exp: Likewise.
643 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
644 * gdb.base/watchpoint-hw.exp: Likewise.
645 * gdb.base/watchpoint.exp: Likewise.
646 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
647 * gdb.threads/watchthreads-reorder.exp: Likewise.
648 * gdb.threads/watchthreads.exp: Likewise.
649 * gdb.threads/watchthreads2.exp: Likewise.
650
651 2011-02-21 Joel Brobecker <brobecker@adacore.com>
652
653 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
654 the debugger is unable to find the array bounds.
655
656 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
657
658 * gdb.cp/typedef-operator.exp: New file.
659 * gdb.cp/typedef-operator.cc: New file.
660
661 2011-02-17 Michael Snyder <msnyder@vmware.com>
662
663 * gdb.threads/thread-find.exp: Fix regular expressions.
664
665 2011-02-17 Joel Brobecker <brobecker@adacore.com>
666
667 * gdb.ada/packed_array: Expand testcase to test printing of
668 unconstrained packed array.
669
670 2011-02-17 Joel Brobecker <brobecker@adacore.com>
671
672 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
673
674 2011-02-16 Pedro Alves <pedro@codesourcery.com>
675
676 * gdb.trace/collection.c (globalarr3): New global.
677 (main): Initialize it before collecting, and and clear it
678 afterwards.
679 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
680 collecting with '{type} addr', where the addr expression is not an
681 rvalue.
682
683 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
684
685 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
686 a bool variable. Expect correct OpenCL names for vector types. Use the
687 uc3 variable name instead of referring to the uchar3 built-in type.
688 Escape the asterisk at the half pointer test.
689
690 2011-02-16 Pedro Alves <pedro@codesourcery.com>
691
692 * gdb.trace/collection.c (globalarr2): New global.
693 (main): Initialize it before collecting, and and clear it
694 afterwards.
695 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
696 collecting overlapping memory ranges.
697
698 2011-02-15 Michael Snyder <msnyder@vmware.com>
699
700 * gdb.base/default.exp: Add tests for thread commands.
701 * gdb.base/help.exp: Add tests for thread commands.
702 * gdb.threads/thread-find.exp: New test for thread find command.
703
704 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
705
706 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
707
708 2011-02-15 Yao Qi <yao@codesourcery.com>
709
710 PR tdep/12352
711 * gdb.arch/arm-disp-step.S : New test for str instruction.
712 * gdb.arch/arm-disp-step.exp : Likewise.
713
714 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
715
716 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
717 "vector_register2_vr" test strings. Test the extended floating
718 point registers (F32~F63).
719 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
720 IBM XL C compiler. Make the test program use a register provided
721 by the compiler for the lxvd2x instruction.
722
723 2011-02-14 Pedro Alves <pedro@codesourcery.com>
724
725 * gdb.trace/unavailable.cc (class Base, class Middle, class
726 Derived): New types.
727 (derived_unavail, derived_partial, derived_whole): New globals.
728 (virtual_partial): New global.
729 (virtualp): Point at virtual_partial.
730 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
731 related to unavailable vptr.
732
733 2011-02-14 Pedro Alves <pedro@codesourcery.com>
734
735 * gdb.trace/unavailable.cc (a, b, c): New globals.
736 (main): Set and clear them.
737 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
738 `a' and `c', and check that `b' isn't collected, although `a' and
739 `c' are.
740
741 2011-02-14 Pedro Alves <pedro@codesourcery.com>
742
743 * gdb.trace/unavailable.cc (struct Virtual): New.
744 (virtualp): New global pointer.
745 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
746 printing a pointer to an object whose type has a vtable, with
747 print object on.
748
749 2011-02-14 Pedro Alves <pedro@codesourcery.com>
750
751 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
752 value repeat handles unavailableness.
753
754 2011-02-14 Pedro Alves <pedro@codesourcery.com>
755
756 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
757 tests for building arrays from unavailable values, subscripting
758 non-memory rvalue unvailable arrays, and accessing fields or
759 baseclasses of non-lazy unavailable values,
760 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
761 struct types.
762 (g_smallstruct, g_smallstruct_b): New globals.
763
764 2011-02-14 Pedro Alves <pedro@codesourcery.com>
765
766 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
767
768 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
769
770 Fix const/volatile qualifiers of C++ types, PR c++/12328.
771 * gdb.cp/overload-const.exp: New file.
772 * gdb.cp/overload-const.cc: New file.
773
774 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
775
776 * gdb.opencl/callfuncs.cl: New file.
777 * gdb.opencl/callfuncs.exp: New test.
778 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
779
780 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
781
782 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
783 when computing result.
784 * gdb.arch/altivec-abi.exp: Update expected results.
785
786 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
787
788 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
789 * gdb.base/jit.exp: Likewise.
790 * gdb.base/pie-execl.exp: Likewise.
791 * gdb.base/solib-nodir.exp: Likewise.
792 * gdb.base/solib-overlap.exp: Likewise.
793
794 2011-02-07 Pedro Alves <pedro@codesourcery.com>
795
796 * gdb.trace/collection.c (global_pieces): New.
797 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
798 New procedure.
799 (gdb_trace_collection_test): Call it.
800
801 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
802
803 * gdb.python/py-evthreads.c: New file.
804 * gdb.python/py-evthreads.exp: New file.
805 * gdb.python/py-events.py: New file.
806 * gdb.python/py-events.exp: New file.
807 * gdb.python/py-events.c: New file.
808
809 2011-02-04 David Daney <ddaney@caviumnetworks.com>
810
811 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
812
813 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
814
815 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
816 gdb.base/disasm-end-cu.exp: New test for disassembling over the
817 boundary between two compilation units.
818
819 2011-02-02 Pedro Alves <pedro@codesourcery.com>
820
821 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
822 (Virtual): New structs.
823 (virtual_o, virtual_middle_b): New globals.
824 * gdb.cp/virtbase.exp: New tests.
825
826 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
827
828 * gdb.base/jit.exp: New file.
829 * gdb.base/jit-main.c: New file.
830 * gdb.base/jit-solib.c: New file.
831
832 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
833
834 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
835 proceed to initial kernel entry point.
836 * gdb.opencl/datatypes.exp: Likewise.
837 * gdb.opencl/operators.exp: Likewise.
838 * gdb.opencl/vec_comps.exp: Likewise.
839
840 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
841
842 * gdb.cp/nsnested.cc: New.
843 * gdb.cp/nsnested.exp: New.
844 * gdb.cp/nsnoimports.exp: New.
845 * gdb.cp/nsnoimports.cc: New.
846
847 2011-01-31 Joel Brobecker <brobecker@adacore.com>
848
849 * gdb.base/interact.exp: Add extra tests that verify that
850 the value of the interactive-mode setting does not change
851 after the script is sourced.
852
853 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
854
855 * gdb.cp/noparam.exp: New file.
856 * gdb.cp/noparam.cc: New file.
857
858 2011-01-28 Pedro Alves <pedro@codesourcery.com>
859
860 * gdb.trace/tfile.exp: Test that with no traceframe selected,
861 there's no stack or registers.
862
863 2011-01-26 Tom Tromey <tromey@redhat.com>
864
865 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
866 space before string output. Add test for "set print pretty off"
867 case.
868
869 2011-01-25 Pedro Alves <pedro@codesourcery.com>
870
871 * gdb.base/frame-args.exp: Adjust.
872 * gdb.dwarf2/dw2-noloc.exp: Adjust.
873 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
874 * gdb.dwarf2/pieces.exp: Adjust.
875 * gdb.opt/clobbered-registers-O2.exp: Adjust.
876 * gdb.opt/inline-locals.exp: Adjust.
877 * gdb.threads/fork-child-threads.exp: Adjust.
878
879 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
880
881 * gdb.opencl/convs_casts.cl: Move program scope variables into the
882 OpenCL kernel function. Add a comment as marker. Add address space
883 qualifiers for the remaining program scope variables.
884 * gdb.opencl/datatypes.cl: Likewise.
885 * gdb.opencl/operators.cl: Likewise.
886 * gdb.opencl/vec_comps.cl: Likewise.
887 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
888 Add breakpoint at the marker comment.
889 * gdb.opencl/datatypes.exp: Likewise.
890 * gdb.opencl/operators.exp: Likewise.
891 * gdb.opencl/vec_comps.exp: Likewise.
892
893 2011-01-24 Pedro Alves <pedro@codesourcery.com>
894
895 * gdb.base/printcmds.c (some_struct): New struct and instance.
896 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
897 procedure.
898 <global scope>: Call it.
899
900 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
901
902 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
903 argument to the gdb_compile_opencl_hostapp call.
904
905 2011-01-19 Yao Qi <yao@codesourcery.com>
906
907 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
908 positve list.
909
910 2011-01-19 Yao Qi <yao@codesourcery.com>
911
912 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
913 canonical form.
914 Remove "xscale-*-*"
915 * gdb.xml/tdesc-regs.exp: Likewise.
916 * gdb.python/py-section-script.exp: Replace ARM target triplet
917 with canonical form.
918 Match arm*-*-symbianelf*.
919 * gdb.base/dup-sect.exp: Likewise.
920 * lib/dwarf.exp: New.
921 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
922 dwarf2_support.
923 * gdb.dwarf2/dup-psym.exp: Likewise.
924 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
925 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
926 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
927 * gdb.dwarf2/dw2-basic.exp: Likewise.
928 * gdb.dwarf2/dw2-compressed.exp: Likewise.
929 * gdb.dwarf2/dw2-const.exp: Likewise.
930 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
931 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
932 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
933 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
934 * gdb.dwarf2/dw2-filename.exp: Likewise.
935 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
936 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
937 * gdb.dwarf2/dw2-intercu.exp: Likewise.
938 * gdb.dwarf2/dw2-intermix.exp: Likewise.
939 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
940 * gdb.dwarf2/dw2-noloc.exp: Likewise.
941 * gdb.dwarf2/dw2-op-call.exp: Likewise.
942 * gdb.dwarf2/dw2-producer.exp: Likewise.
943 * gdb.dwarf2/dw2-ranges.exp: Likewise.
944 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
945 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
946 * gdb.dwarf2/dw2-strp.exp: Likewise.
947 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
948 * gdb.dwarf2/implptr.exp: Likewise.
949 * gdb.dwarf2/mac-fileno.exp: Likewise.
950 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
951 * gdb.dwarf2/pieces.exp: Likewise.
952 * gdb.dwarf2/pr11465.exp: Likewise.
953 * gdb.dwarf2/valop.exp: Likewise.
954 * gdb.dwarf2/watch-notconst.exp: Likewise.
955 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
956
957 2011-01-19 Tom Tromey <tromey@redhat.com>
958
959 * gdb.python/py-infthread.exp: Add thread tests.
960
961 2011-01-14 Joel Brobecker <brobecker@adacore.com>
962
963 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
964
965 2011-01-14 Joel Brobecker <brobecker@adacore.com>
966
967 * gdb.ada/widewide: New testcase.
968
969 2011-01-13 Joel Brobecker <brobecker@adacore.com>
970
971 * gdb.base/interact.exp: New testcase.
972
973 2011-01-12 Tom Tromey <tromey@redhat.com>
974
975 * gdb.mi/gdb2549.exp: Update for error message changes.
976 * gdb.mi/mi-cli.exp: Likewise.
977 * gdb.mi/mi-disassemble.exp: Likewise.
978 * gdb.mi/mi-pthreads.exp: Likewise.
979 * gdb.mi/mi-regs.exp: Likewise.
980 * gdb.mi/mi-stack.exp: Likewise.
981 * gdb.mi/mi-var-block.exp: Likewise.
982 * gdb.mi/mi-var-cmd.exp: Likewise.
983 * gdb.mi/mi2-cli.exp: Likewise.
984 * gdb.mi/mi2-disassemble.exp: Likewise.
985 * gdb.mi/mi2-pthreads.exp: Likewise.
986 * gdb.mi/mi2-regs.exp: Likewise.
987 * gdb.mi/mi2-stack.exp: Likewise.
988 * gdb.mi/mi2-var-block.exp: Likewise.
989 * gdb.mi/mi2-var-cmd.exp: Likewise.
990
991 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
992 Jan Kratochvil <jan.kratochvil@redhat.com>
993
994 PR fortran/11104 and DWARF unbound arrays detection.
995 * gdb.fortran/multi-dim.exp: New file.
996 * gdb.fortran/multi-dim.f90: New file.
997
998 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
999
1000 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
1001 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
1002 add new tests for opcode dumping.
1003
1004 2011-01-11 Tom Tromey <tromey@redhat.com>
1005
1006 * gdb.python/py-infthread.exp: Load gdb-python.exp.
1007
1008 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
1009
1010 Convert hardware watchpoints to use breakpoint_ops.
1011 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
1012 type is not supported.
1013 * gdb.base/foll-fork.exp: Likewise.
1014 * gdb.base/foll-vfork.exp: Likewise.
1015
1016 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
1017
1018 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
1019 Use load_lib gdb-python.exp.
1020 * gdb.python/python.exp: Ditto.
1021 * gdb.python/py-function.exp: Ditto.
1022
1023 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
1024
1025 * gdb.threads/tls.exp ("info address me"): Fix expected output.
1026
1027 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1028
1029 * configure: Regenerate.
1030
1031 2011-01-06 Tom Tromey <tromey@redhat.com>
1032
1033 * gdb.python/py-frame.exp: Test gdb.newest_frame.
1034
1035 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1036
1037 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
1038 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
1039 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
1040 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
1041 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
1042 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
1043 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
1044 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
1045 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
1046 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
1047 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
1048 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
1049 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
1050 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
1051 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
1052 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
1053 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
1054 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
1055 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
1056 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
1057 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
1058 gdb.ada/uninitialized_vars.exp,
1059 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
1060 Simplify by using clean_restart.
1061
1062 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1063
1064 Add marker to be used as anchor for inserting breakpoints.
1065 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
1066 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
1067 Likewise.
1068
1069 Remove uses of gdb_start_cmd.
1070 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
1071 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
1072
1073 Do not run testcase if testing with GDBserver.
1074 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
1075 if testing with GDBserver.
1076
1077 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1078
1079 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
1080 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
1081 copyright header.
1082
1083 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1084
1085 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
1086 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
1087 testsuite/gdb.fortran/complex.f,
1088 testsuite/gdb.fortran/derived-type.f90,
1089 testsuite/gdb.fortran/library-module-lib.f90,
1090 testsuite/gdb.fortran/library-module-main.f90,
1091 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
1092 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
1093 Copyright year update.
1094
1095 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1096
1097 * gdb.base/langs1.f: Add copyright header.
1098
1099 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1100
1101 * gdb.base/morestack.exp: New file.
1102 * gdb.base/morestack.c: New file.
1103
1104 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1105
1106 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
1107
1108 2010-12-29 Joel Brobecker <brobecker@adacore.com>
1109
1110 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
1111 * gdb.ada/arrayptr.exp: Add test printing that new variable.
1112
1113 2010-12-29 Joel Brobecker <brobecker@adacore.com>
1114
1115 * gdb.ada/lang_switch.exp: Correct expected parameter value.
1116
1117 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
1118
1119 * gdb.threads/tls.exp: Fix typo.
1120
1121 * gdb.threads/thread-specific.exp (get_thread_list): Update.
1122 * gdb.threads/execl.exp: Update.
1123
1124 2010-12-23 Yao Qi <yao@codesourcery.com>
1125
1126 * gdb.arch/arm-disp-step.exp: New.
1127 * gdb.arch/arm-disp-step.S: New.
1128
1129 2010-12-21 Tom Tromey <tromey@redhat.com>
1130
1131 * gdb.threads/execl.exp: Update.
1132 * gdb.threads/linux-dp.exp: Update.
1133 * gdb.threads/manythreads.exp: Update.
1134 * gdb.threads/tls.exp: Update.
1135
1136 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1137
1138 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
1139 (NextOverThrowDerivates) <resumebpt>: New.
1140 (resumebpt_test): New.
1141 (main): Call resumebpt_test.
1142 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
1143
1144 2010-12-12 Stan Shebs <stan@codesourcery.com>
1145
1146 * gdb.trace/tsv.exp: Test print command on trace state variables.
1147
1148 2010-12-09 Tom Tromey <tromey@redhat.com>
1149
1150 * gdb.base/interp.exp: Add regression test.
1151
1152 2010-12-09 Tom Tromey <tromey@redhat.com>
1153
1154 * gdb.java/jnpe.java: New file.
1155 * gdb.java/jnpe.exp: New file.
1156 * gdb.cp/nextoverthrow.exp: New file.
1157 * gdb.cp/nextoverthrow.cc: New file.
1158
1159 2010-12-07 Doug Evans <dje@google.com>
1160
1161 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
1162 of data-directory.
1163 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
1164 updated.
1165 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
1166
1167 2010-11-29 Michael Snyder <msnyder@vmware.com>
1168
1169 * gdb.base/callfuncs.exp: Test for skip_float_tests.
1170 * gdb.base/call-sc.exp: Ditto.
1171 * gdb.base/finish.exp: Ditto.
1172 * gdb.base/return.exp: Ditto.
1173 * gdb.base/return2.exp: Ditto.
1174
1175 2010-11-30 Doug Evans <dje@google.com>
1176
1177 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
1178 (gdb_expect_list): Fix spelling errors in comments.
1179 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
1180 send_gdb/gdb_expect_list where applicable.
1181 * gdb.base/call-ar-st.exp: Ditto.
1182 * gdb.base/funcargs.exp: Ditto.
1183 * gdb.base/gcore.exp: Ditto.
1184 * gdb.base/page.exp: Ditto.
1185 * gdb.base/sigaltstack.exp: Ditto.
1186 * gdb.base/siginfo.exp: Ditto.
1187 * gdb.base/sigstep.exp: Ditto.
1188 * gdb.base/trace-commands.exp: Ditto.
1189
1190 2010-11-29 Doug Evans <dje@google.com>
1191
1192 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
1193 printer-name;subprinter-name.
1194
1195 2010-11-29 Tom Tromey <tromey@redhat.com>
1196
1197 * gdb.dwarf2/implptr.exp: New file.
1198 * gdb.dwarf2/implptr.c: New file.
1199 * gdb.dwarf2/implptr.S: New file.
1200
1201 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
1202
1203 PR python/12199
1204
1205 * gdb.python/py-breakpoint.exp: Test the delete method.
1206
1207 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1208
1209 Fix step_resume_breakpoint unsaved during an infcall.
1210 * gdb.base/step-resume-infcall.exp: New file.
1211 * gdb.base/step-resume-infcall.c: New file.
1212
1213 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
1214
1215 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
1216
1217 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
1218
1219 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
1220 on ppc64's symbols; "finish" and "return" commands must accept to
1221 show the caller line again as well as the line after.
1222 * gdb.asm/powerpc64.inc: New file.
1223
1224 2010-11-23 Doug Evans <dje@google.com>
1225
1226 * lib/gdb.exp (gdb_test_sequence): New function.
1227 (gdb_expect_list): Add verbose -log call for each pattern.
1228 * gdb.base/signals.exp (test_handle_all_print): Call it.
1229 Reduce timeout increment from 6 minutes to 1 minute.
1230 * gdb.server/ext-run.exp: Call it.
1231
1232 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
1233
1234 PR python/12212
1235
1236 * gdb.python/python.exp: Check that selected_thread raises an
1237 error when no inferior is loaded.
1238
1239 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1240
1241 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
1242 * gdb.dwarf2/dw2-stack-boundary.S: New file.
1243
1244 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1245
1246 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
1247 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
1248
1249 2010-11-18 Doug Evans <dje@google.com>
1250
1251 * gdb.server/ext-run.exp: Fix intermittent failures.
1252
1253 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1254
1255 * gdb.stabs/gdb11479.exp: Use runto_main.
1256
1257 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1258
1259 * gdb.base/break-entry.exp: Skip if using a stub.
1260
1261 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
1262
1263 * gdb.python/py-inferior.exp: Pack values in target endianness.
1264
1265 2010-11-12 Tom Tromey <tromey@redhat.com>
1266
1267 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
1268 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
1269 MemoryError.
1270 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
1271 type.
1272 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
1273 MemoryError.
1274 (test_subscript_regression): Update exception type.
1275
1276 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
1277
1278 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
1279 breakpoint tests.
1280
1281 2010-11-09 Pedro Alves <pedro@codesourcery.com>
1282
1283 * gdb.base/watchpoint.exp: Test "watch -location" with an
1284 innacessible location.
1285
1286 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
1287 Luis Machado <luisgpm@br.ibm.com>
1288
1289 * gdb.base/maint.exp: Expect "." prefix.
1290 * gdb.base/nodebug.exp: Expect "." Likewise.
1291 * gdb.base/sepsymtab.exp: Expect "." Likewise.
1292 * gdb.base/watchpoint-cond-gone.exp: Likewise.
1293 * gdb.base/watchpoint.exp: Expect a software watch to be created for
1294 POWER server processors.
1295
1296 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
1297 Luis Machado <luisgpm@br.ibm.com>
1298
1299 * gdb.base/break-entry.exp: convert entry point for
1300 ppc64 and expect leading `.' on ppc64's symbols
1301
1302 2010-11-05 Doug Evans <dje@google.com>
1303
1304 * gdb.base/help.exp: Update expected output.
1305 * gdb.python/py-param.exp: Delete, contents moved to ...
1306 * gdb.python/py-parameter.exp: ... here. New file.
1307 Add test for gdb.parameter ("directories").
1308
1309 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
1310
1311 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
1312 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
1313 * configure: Regenerate.
1314 * gdb.opencl/Makefile.in: New File.
1315 * gdb.opencl/datatypes.exp: Likewise.
1316 * gdb.opencl/datatypes.cl: Likewise.
1317 * gdb.opencl/operators.exp: Likewise.
1318 * gdb.opencl/operators.cl: Likewise.
1319 * gdb.opencl/vec_comps.exp: Likewise.
1320 * gdb.opencl/vec_comps.cl: Likewise.
1321 * gdb.opencl/convs_casts.exp: Likewise.
1322 * gdb.opencl/convs_casts.cl: Likewise.
1323 * lib/opencl.exp: Likewise.
1324 * lib/opencl_hostapp.c: Likewise.
1325 * lib/opencl_kernel.cl: Likewise.
1326 * lib/cl_util.c: Likewise.
1327 * lib/cl_util.c: Likewise.
1328 * gdb.base/default.exp (set language): Add "opencl" to the list of
1329 languages.
1330
1331 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
1332
1333 * gdb.cp/overload.exp: Added test for inheritance overload.
1334 * gdb.cp/overload.cc: Ditto.
1335 * gdb.cp/oranking.exp: Removed releveant kfails.
1336
1337 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1338 Joel Brobecker <brobecker@adacore.com>
1339
1340 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
1341 check test_compiler_info.
1342
1343 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1344
1345 * gdb.base/gnu_vector.exp: Adjust expect messages.
1346
1347 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1348
1349 * gdb.base/gnu_vector.exp: Add unary operator tests.
1350
1351 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
1352
1353 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
1354
1355 2010-11-02 Doug Evans <dje@google.com>
1356
1357 * gdb.python/py-pp-maint.c: New file.
1358 * gdb.python/py-pp-maint.exp: New file.
1359 * gdb.python/py-pp-maint.py: New file.
1360
1361 2010-11-02 Tom Tromey <tromey@redhat.com>
1362
1363 * gdb.base/default.exp: Remove "scheme" from language list.
1364
1365 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1366
1367 Revert:
1368 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1369 * gdb.threads/sigstep-threads.exp: New file.
1370 * gdb.threads/sigstep-threads.c: New file.
1371
1372 2010-10-20 Michael Snyder <msnyder@vmware.com>
1373
1374 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
1375
1376 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1377
1378 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
1379 Skip test completely if gdb,no_hardware_watchpoints.
1380
1381 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
1382
1383 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
1384 strict, but do not check for any particular function name within libc.
1385
1386 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1387
1388 * gdb.cp/smartp.exp: New test.
1389 * gdb.cp/smartp.cc : New test.
1390
1391 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
1392
1393 * gdb.cp/converts.exp: Test pointer to bool conversion.
1394 Test pointer to long conversion.
1395 * gdb.cp/oranking.exp: Removed relevant kfail.
1396
1397 2010-10-18 Tom Tromey <tromey@redhat.com>
1398
1399 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
1400 argument to lazy_string.
1401 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
1402 (pp_ls.to_string): Use it.
1403 * gdb.python/py-prettyprint.c (main): Move declarations to top.
1404 Add "estring2" local.
1405
1406 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1407
1408 Fix s390x compatibility.
1409 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
1410 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
1411
1412 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1413
1414 * gdb.threads/sigstep-threads.exp: New file.
1415 * gdb.threads/sigstep-threads.c: New file.
1416
1417 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1418
1419 * gdb.base/pie-execl.exp: New file.
1420 * gdb.base/pie-execl.c: New file.
1421
1422 2010-10-13 Doug Evans <dje@google.com>
1423 Jan Kratochvil <jan.kratochvil@redhat.com>
1424
1425 PR exp/12117
1426 * gdb.cp/ptype-cv-cp.cc: New file.
1427 * gdb.cp/ptype-cv-cp.exp: New file.
1428
1429 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
1430
1431 * gdb.cp/converts.cc: New test program.
1432 * gdb.cp/converts.exp: New test.
1433 * gdb.cp/overload.exp: Added test for void* vs int*.
1434 * gdb.cp/overload.exp: Ditto.
1435 * gdb.cp/oranking.exp: Removed related kfail.
1436
1437 2010-10-13 Doug Evans <dje@google.com>
1438
1439 * lib/gdb-python.exp (gdb_check_python_config): New function.
1440 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
1441 * gdb.python/lib-types.cc: New file.
1442 * gdb.python/lib-types.exp: New file.
1443
1444 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1445
1446 * gdb.python/py-error.exp: New file.
1447 * gdb.python/py-error.py: New file.
1448
1449 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1450
1451 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
1452 gdb_test_multiple.
1453
1454 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1455
1456 * gdb.base/break-interp.exp: Use ldlags for linking flags.
1457 * gdb.base/prelink.exp: Likewise.
1458 * gdb.base/solib-nodir.exp: Likewise.
1459 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
1460 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
1461 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
1462
1463 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
1464
1465 * break-interp.exp (test_ld): Use two separate gdb_expect statements
1466 for the "info files" test to avoid timeouts on slow machines.
1467
1468 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1469
1470 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
1471 (main): Make openlib dummy call.
1472
1473 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1474
1475 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
1476 * break-interp.exp (reach): Move the core body ...
1477 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
1478 (test_ld): Provide always real argument, even to the linker. Replace
1479 dl_main by _dl_debug_state.
1480
1481 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1482
1483 Fix results of prelinked PIEs on ppc*.
1484 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
1485 Accept also DISPLACEMENT "PRESENT".
1486 (main): Replace "ZERO" displacements by "PRESENT".
1487
1488 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
1489
1490 * gdb.cp/oranking.exp: New test.
1491 * gdb.cp/oranking.cc: New test program.
1492
1493 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
1494
1495 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
1496 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
1497
1498 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1499
1500 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
1501 lush, lynx) New constant.
1502 * gdb.base/constvars.exp: Test const array types.
1503 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
1504
1505 2010-10-06 Doug Evans <dje@google.com>
1506
1507 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
1508 of syscall staging area.
1509
1510 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
1511
1512 * gdb.base/gnu_vector.c: Add variable c4.
1513 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
1514 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1515
1516 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1517
1518 * gdb.arch/altivec-abi.exp: Fix a typo.
1519
1520 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
1521
1522 * lib/mi-support.exp (thread_selected_re): Correct pattern used
1523 to match a thread ID.
1524
1525 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1526
1527 Fix s390x testcase compatibility.
1528 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
1529
1530 2010-10-01 Doug Evans <dje@google.com>
1531
1532 * lib/gdb-python.exp: New file.
1533 * gdb.python/py-block.exp: Use it.
1534 * gdb.python/py-breakpoint.exp: Ditto.
1535 * gdb.python/py-frame.exp: Ditto.
1536 * gdb.python/py-inferior.exp: Ditto.
1537 * gdb.python/py-param.exp: Ditto.
1538 * gdb.python/py-prettyprint.exp: Ditto.
1539 * gdb.python/py-shared.exp: Ditto.
1540 * gdb.python/py-symbol.exp: Ditto.
1541 * gdb.python/py-symtab.exp: Ditto.
1542 * gdb.python/py-type.exp: Ditto.
1543 * gdb.python/py-value.exp: Ditto.
1544 * gdb.python/python.exp: Ditto.
1545
1546 2010-09-30 Tom Tromey <tromey@redhat.com>
1547
1548 * gdb.base/anon.exp: New file.
1549 * gdb.base/anon.c: New file.
1550
1551 2010-09-30 Tom Tromey <tromey@redhat.com>
1552
1553 * gdb.base/completion.exp: Test completion through anonymous
1554 union.
1555 * gdb.base/break1.c (struct some_struct): Add anonymous union.
1556
1557 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1558
1559 Fix printing parameters of inlined functions.
1560 * gdb.dwarf2/dw2-inline-param.exp: New file.
1561 * gdb.dwarf2/dw2-inline-param-main.c: New file.
1562 * gdb.dwarf2/dw2-inline-param.S: New file.
1563
1564 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1565
1566 PR corefiles/12071.
1567 * gdb.base/corefile.exp (quit with a process, no question: load core)
1568 (quit with a core file): New tests.
1569
1570 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1571
1572 Fix GDB crash on inferior calls with self-referencing classes.
1573 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
1574 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
1575 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
1576
1577 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1578
1579 Fix lost siginfo_t for inferior calls.
1580 * gdb.base/siginfo-infcall.exp: New file.
1581 * gdb.base/siginfo-infcall.c: New file.
1582
1583 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1584
1585 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
1586
1587 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1588
1589 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
1590 New test.
1591 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
1592
1593 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1594
1595 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
1596 type of our const type.
1597
1598 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
1599
1600 * gdb.cp/pr12028.cc: New.
1601 * gdb.cp/pr12028.exp: New.
1602
1603 2010-09-22 Joel Brobecker <brobecker@adacore.com>
1604
1605 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
1606
1607 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
1608 Jan Kratochvil <jan.kratochvil@redhat.com>
1609
1610 PR mi/11407
1611 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
1612 * gdb.mi/dw2-ref-missing-frame-main.c New File.
1613 * gdb.mi/dw2-ref-missing-frame.S New File.
1614 * gdb.mi/dw2-ref-missing-frame.exp New File.
1615
1616 2010-09-14 Tom Tromey <tromey@redhat.com>
1617
1618 PR symtab/8399:
1619 * gdb.threads/tls.exp: Remove kfail. Update expected output.
1620
1621 2010-09-14 Tom Tromey <tromey@redhat.com>
1622
1623 PR exp/11803:
1624 * gdb.threads/tls.exp: Use C++.
1625 (check_thread_local): Use K::another_thread_local.
1626 * gdb.threads/tls.c (class K): New.
1627 (another_thread_local): Now a member of K.
1628 (spin): Update. No longer K&R C.
1629
1630 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1631
1632 * gdb.cp/koenig.cc: created class for testing member lookup.
1633 * gdb.cp/koenig.exp: Added test for member lookup.
1634
1635 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1636
1637 Fix false FAILs on sourcetree topdir directory containing "kill".
1638 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
1639 source line matching regexp.
1640
1641 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1642
1643 * gdb.python/python.exp (set height 0, collect help from uiout)
1644 (verify help to uiout): New tests.
1645
1646 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1647
1648 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
1649 is_lp64_target to check 64bit target.
1650
1651 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1652
1653 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
1654 (test_ld) <powerpc64-*>: New.
1655
1656 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1657
1658 * gdb.cp/templates.exp (test_template_args): Allow "struct".
1659
1660 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1661
1662 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
1663 (FunctionArg::method): New function.
1664 (empty, arg): New variables.
1665 (main): Call arg.method.
1666 * gdb.cp/templates.exp (test_template_args): New function.
1667 (do_tests): Call it.
1668
1669 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1670
1671 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
1672 of "next" to proceed over pthread_exit call.
1673
1674 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1675
1676 * gdb.base/maint.exp: Avoid wildcards against potentially very long
1677 "maint print statistics" output to prevent expect timeouts.
1678
1679 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1680
1681 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
1682 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1683 (test_float_rejected): ... here.
1684 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
1685 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1686 (test_float_rejected): ... here.
1687 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
1688 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1689 (test_float_rejected): ... here.
1690 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
1691 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1692 (test_float_rejected): ... here.
1693
1694 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
1695
1696 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
1697 before disabling hardware watchpoints.
1698 (test_inaccessible_watchpoint): Check that hardware watchpoints
1699 are used. Test for watchpoints on a constant address.
1700
1701 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1702
1703 * gdb.base/ui-redirect.exp: New file.
1704
1705 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1706 Joel Brobecker <brobecker@adacore.com>
1707
1708 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
1709
1710 2010-08-31 Doug Evans <dje@google.com>
1711
1712 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
1713
1714 2010-08-30 Tom Tromey <tromey@redhat.com>
1715
1716 PR python/11792:
1717 * gdb.python/py-value.exp (test_subscript_regression): Add
1718 dynamic_type test.
1719
1720 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
1721
1722 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
1723 instead of running to main. Do not test the main function.
1724 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
1725 Add new main.
1726
1727 2010-08-26 Pedro Alves <pedro@codesourcery.com>
1728
1729 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
1730 one test.
1731
1732 2010-08-24 Doug Evans <dje@google.com>
1733
1734 PR symtab/11942
1735 * gdb.dwarf2/dw4-sig-types.cc: New file.
1736 * gdb.dwarf2/dw4-sig-types.h: New file.
1737 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
1738 * gdb.dwarf2/dw4-sig-types.exp: New file.
1739
1740 2010-08-23 Tom Tromey <tromey@redhat.com>
1741
1742 PR python/11145:
1743 * gdb.python/py-value.c (Base, Derived): New types.
1744 (base): New global.
1745 * gdb.python/py-value.exp (test_subscript_regression): Add
1746 dynamic_cast test.
1747
1748 2010-08-23 Tom Tromey <tromey@redhat.com>
1749
1750 PR python/10676:
1751 * gdb.python/py-type.exp (test_fields): Add tests for type
1752 equality.
1753
1754 2010-08-23 Tom Tromey <tromey@redhat.com>
1755
1756 PR python/11915:
1757 * gdb.python/py-type.exp (test_fields): Add tests for array.
1758
1759 2010-08-23 Keith Seitz <keiths@redhat.com>
1760
1761 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
1762 have any children. Create a new abbrev for it.
1763 Add missing terminal sequence to .debug_abbrev.
1764
1765 2010-08-20 Keith Seitz <keiths@redhat.com>
1766
1767 PR symtab/11465:
1768 * gdb.dwarf2/pr11465.exp: New test.
1769 * gdb.dwarf2/pr11465.S: New file.
1770 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
1771 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
1772
1773 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
1774
1775 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
1776 registers. Update data sets with the new v2_double element in the
1777 VSX register union. Add vector_register3_vr data set for the AltiVec
1778 registers. Use gdb_test_no_output instead of send_gdb.
1779
1780 2010-08-19 Pedro Alves <pedro@codesourcery.com>
1781
1782 * gdb.python/py-shared.exp: New file, factored out from
1783 python.exp.
1784 * gdb.python/py-shared.c: New file.
1785 * gdb.python/py-shared-sl.c: New file.
1786 * gdb.python/python-1.c: New file.
1787 * gdb.python/python-sl.c: Delete.
1788 * gdb.python/python.c: Mention python-1.c.
1789 * gdb.python/python.exp: Move shared library tests to
1790 py-shared.exp.
1791 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
1792 (MISCELLANEOUS): New.
1793 (clean mostlyclean): Also remove $MISCELLANEOUS.
1794
1795 2010-08-19 Doug Evans <dje@google.com>
1796
1797 PR exp/11926
1798 * gdb.base/printcmds.exp (test_float_accepted): New function.
1799 Move existing float tests there. Add tests for floats with suffixes.
1800 (test_float_rejected): New function.
1801 * gdb.java/jv-print.exp (test_float_accepted): New function.
1802 (test_float_rejected): New function.
1803 * gdb.objc/print.exp: New file.
1804 * gdb.pascal/print.exp: New file.
1805 * lib/objc.exp: New file.
1806
1807 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
1808
1809 * gdb.base/default.exp (info set): Avoid full buffer error and force
1810 reading up to final gdb prompt.
1811 (show): Likewise.
1812
1813 2010-08-18 Tom Tromey <tromey@redhat.com>
1814
1815 PR symtab/11919:
1816 * gdb.base/completion.exp: Add test.
1817
1818 2010-08-18 Doug Evans <dje@google.com>
1819
1820 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
1821 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
1822 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
1823 Simplify, early exit if runto_main fails.
1824 * gdb.fortran/exprs.exp: load_lib fortran.exp.
1825 (set_lang_fortran): Moved to lib/fortran.exp.
1826 * gdb.fortran/types.exp: load_lib fortran.exp.
1827 (set_lang_fortran): Moved to lib/fortran.exp.
1828 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
1829 * gdb.java/jprint.exp (set_lang_java): Ditto.
1830 * gdb.java/jv-exp.exp: load_lib java.exp.
1831 If set_lang_java fails, issue a warning instead of failure to be
1832 consistent with other set_lang_foo uses.
1833 (set_lang_java): Moved to lib/java.exp.
1834 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
1835 If set_lang_java fails, issue a warning instead of failure to be
1836 consistent with other set_lang_foo uses.
1837 * gdb.pascal/types.exp: load_lib pascal.exp.
1838 (set_lang_pascal): Moved to lib/pascal.exp.
1839 * lib/fortran.exp: New file.
1840 * lib/java.exp (set_lang_java): New function.
1841 * lib/pascal.exp (set_lang_pascal): New function.
1842
1843 2010-08-18 Yao Qi <yao@codesourcery.com
1844
1845 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
1846 func_nofb_start and func_loopfb_start, so that address of functions
1847 is equal to these labels on Thumb.
1848
1849 2010-08-18 Yao Qi <yao@codesourcery.com>
1850
1851 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
1852 to reflect latest c source file.
1853
1854 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1855
1856 * gdb.cp/infcall-dlopen.exp: New file.
1857 * gdb.cp/infcall-dlopen.cc: New file.
1858 * gdb.cp/infcall-dlopen-lib.cc: New file.
1859
1860 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1861 Pedro Alves <pedro@codesourcery.com>
1862
1863 PR breakpoints/11371
1864
1865 * gdb.base/watch-cond-infcall.exp: New file.
1866 * gdb.base/watch-cond-infcall.c: New file.
1867
1868 2010-08-16 Tom Tromey <tromey@redhat.com>
1869
1870 * gdb.base/help.exp: Update.
1871 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
1872 watchpoint.
1873 (test_watch_location): New proc.
1874 (test_watchpoint_in_big_blob): Delete watchpoint.
1875 * gdb.base/watchpoint.c (func5): New function.
1876 (main): Call it.
1877
1878 2010-08-16 Doug Evans <dje@google.com>
1879
1880 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
1881
1882 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1883
1884 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
1885 tests.
1886
1887 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
1888
1889 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
1890 * gdb.base/gnu_vector.c: New File.
1891 * gdb.base/gnu_vector.exp: Likewise.
1892
1893 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1894
1895 * gdb.python/python.c: New File.
1896 * gdb.python/python-sl.c: New File.
1897 * gdb.python/python.exp: Test solib_address and decode_line
1898 * functions.
1899
1900 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1901
1902 * gdb.python/python.exp (show height, set height 10)
1903 (verify pagination beforehand, verify pagination beforehand: q)
1904 (gdb.execute does not page, verify pagination afterwards)
1905 (verify pagination afterwards: q): New.
1906
1907 2010-08-02 Doug Evans <dje@google.com>
1908
1909 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
1910 because of an older gcc, change test2
1911 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
1912 to unsupported.
1913
1914 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
1915
1916 * gdb.base/break-always.exp: Do not expect full paths to file
1917 names.
1918 * gdb.base/commands.exp: Likewise.
1919
1920 2010-07-30 Doug Evans <dje@google.com>
1921
1922 * gdb.cp/temargs.exp: For new tests that require newer gccs,
1923 xfail them when run with older gccs.
1924
1925 * lib/gdb.exp (build_executable): Forward "c++" option to
1926 get_compiler_info.
1927
1928 * gdb.python/py-type.exp (test_template): Mark as xfail tests
1929 "python print ttype.template_argument(1)" and
1930 "python print isinstance(ttype.template_argument(1), gdb.Value)"
1931 if using gcc 4.4 or earlier.
1932
1933 * gdb.base/valgrind-db-attach.exp: Use unique test name for
1934 attach-to-debugger handling.
1935
1936 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1937
1938 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
1939 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
1940 (main): Use copyreloc.
1941 * gdb.base/prelink.exp (split debug of executable)
1942 (.dynbss vs. .bss address shift): New tests.
1943
1944 2010-07-29 Pedro Alves <pedro@codesourcery.com>
1945
1946 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
1947 in gdb_test_multiple.
1948
1949 2010-07-29 Pedro Alves <pedro@codesourcery.com>
1950
1951 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
1952 environment.
1953
1954 2010-07-28 Tom Tromey <tromey@redhat.com>
1955
1956 PR python/11060:
1957 * gdb.python/py-type.c (Temargs): New template.
1958 (temvar): New variable.
1959 * gdb.python/py-type.exp (test_template): New proc.
1960
1961 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
1962
1963 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
1964 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
1965
1966 2010-07-28 Tom Tromey <tromey@redhat.com>
1967
1968 PR c++/9946:
1969 * gdb.cp/temargs.exp: New file.
1970 * gdb.cp/temargs.cc: New file.
1971
1972 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1973
1974 * gdb.base/help.exp (help disassemble): Update the content.
1975
1976 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1977
1978 * gdb.threads/ia64-sigill.exp: New file.
1979 * gdb.threads/ia64-sigill.c: New file.
1980
1981 2010-07-27 Tom Tromey <tromey@redhat.com>
1982
1983 * gdb.opt/inline-cmds.c (ATTR): New define.
1984 (func1): Use it.
1985 (func2): Likewise.
1986 (func3): Likewise.
1987 (outer_inline1): Likewise.
1988 (outer_inline2): Likewise.
1989 * gdb.opt/inline-bt.c (ATTR): New define.
1990 (func1): Use it.
1991 (func2): Likewise.
1992 * gdb.opt/inline-locals.c (ATTR): New define.
1993 (func1): Use it.
1994 (func2): Likewise.
1995
1996 2010-07-27 Tom Tromey <tromey@redhat.com>
1997
1998 * gdb.stabs/gdb11479.c (hack): New function.
1999 (test): Use it.
2000 (test2): Use it.
2001 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
2002 (int32_search_buf, int64_search_buf): No longer static.
2003 (x): Remove.
2004 * gdb.base/relocate.c (hack): New function.
2005
2006 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
2007
2008 * gdb.python/py-value.exp (test_inferior_function_call): New function.
2009 * gdb.python/py-value.c (func1): New function.
2010 (func2): Likewise.
2011
2012 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
2013
2014 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
2015 as not to clash with .data section.
2016
2017 2010-07-26 Jerome Guitton <guitton@adacore.com>
2018
2019 * gdb.base/code_elim.exp: New file.
2020 * gdb.base/code_elim1.c: New file.
2021 * gdb.base/code_elim2.c: New file.
2022
2023 2010-07-21 Pedro Alves <pedro@codesourcery.com>
2024
2025 PR symtab/11827
2026
2027 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
2028 (some_volatile_enum): New variable.
2029 * gdb.base/printcmds.exp (test_print_enums): New.
2030 <top level>: Call it.
2031
2032 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
2033
2034 * gdb.cp/fpointer.cc: New test.
2035 * gdb.cp/fpointer.exp: New test.
2036
2037 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2038
2039 * gdb.base/solib-nodir.exp: New file.
2040 * lib/gdb.exp (runto): New case for a GDB internal error.
2041
2042 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2043 Ulrich Weigand <uweigand@de.ibm.com>
2044 Tom Tromey <tromey@redhat.com>
2045
2046 * gdb.base/charset-malloc.c: New file.
2047 * gdb.base/charset.c (malloc_stub): New prototype.
2048 (main): Call it instead of malloc itself.
2049 * gdb.base/charset.exp: Use only prepare_for_testing.
2050 (binfile): Remove the variable.
2051
2052 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2053
2054 Make core files the process_stratum.
2055 * gdb.base/corefile.exp (run: load core again)
2056 (run: sanity check we see the core file, run: with core)
2057 (run: core file is cleared, attach: load core again)
2058 (attach: sanity check we see the core file, attach: with core)
2059 (attach: core file is cleared): New tests.
2060 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
2061
2062 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
2063
2064 * gdb.arch/altivec-abi.exp: New tests.
2065
2066 2010-07-13 Tom Tromey <tromey@redhat.com>
2067
2068 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
2069 (main): Use it.
2070 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
2071
2072 2010-07-13 Tom Tromey <tromey@redhat.com>
2073
2074 * gdb.base/label.exp: New file.
2075 * gdb.base/label.c: New file.
2076
2077 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
2078 H.J. Lu <hongjiu.lu@intel.com>
2079
2080 * lib/gdb.exp (is_ilp32_target): New.
2081 (is_lp64_target): Likewise.
2082
2083 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
2084 target.
2085 * gdb.arch/amd64-disp-step.exp: Likewise.
2086 * gdb.arch/amd64-dword.exp: Likewise.
2087 * gdb.arch/amd64-i386-address.exp: Likewise.
2088 * gdb.arch/amd64-word.exp: Likewise.
2089
2090 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
2091 target.
2092 * gdb.arch/i386-bp_permanent.exp: Likewise.
2093 * gdb.arch/i386-byte.exp: Likewise.
2094 * gdb.arch/i386-disp-step.exp: Likewise.
2095 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2096 * gdb.arch/i386-prologue.exp: Likewise.
2097 * gdb.arch/i386-size-overlap.exp: Likewise.
2098 * gdb.arch/i386-size.exp: Likewise.
2099 * gdb.arch/i386-sse.exp: Likewise.
2100 * gdb.arch/i386-unwind.exp: Likewise.
2101 * gdb.arch/i386-word.exp: Likewise.
2102
2103 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
2104 test only when building 64-bit executables. Do not hard-code
2105 -m64 option.
2106
2107 2010-07-07 Doug Evans <dje@google.com>
2108
2109 * lib/gdb.exp (gdb_test_list_exact): New function.
2110 * gdb.base/default.exp (show convenience): Call it, add tests for
2111 $_sdata = void, $_thread = 0.
2112
2113 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2114 Joel Brobecker <brobecker@adacore.com>
2115
2116 Fix re-run of PIE executable, PR shlibs/11776.
2117 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
2118 Remove $displacement_main to match the solib-svr4.c change. New "kill"
2119 and re-"run" of the inferior.
2120
2121 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2122 Joel Brobecker <brobecker@adacore.com>
2123
2124 Cope with missing /usr/sbin/prelink.
2125 * lib/prelink-support.exp (prelink_no):
2126 <result == 1 && $output is "no such file or directory">: New.
2127 (prelink_yes): Likewise. Return on failed prelink_no.
2128
2129 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2130 Joel Brobecker <brobecker@adacore.com>
2131
2132 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
2133 build_executable by build_executable_own_libs. Replace "prelink -R"
2134 execution by a call of prelink_yes. Comment why "prelink -r" needs no
2135 change.
2136 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
2137 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
2138 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
2139 Replace build_executable by build_executable_own_libs's function
2140 build_executable_own_libs.
2141 (prelinkNO): Create new stub to call prelink_no.
2142 (prelinkYES): Create new stub to call prelink_yes.
2143 (test_attach): Rename calls of copy to file_copy.
2144 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
2145 (copy): Move to ...
2146 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
2147 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
2148 * gdb.base/prelink.exp: Disable testcase also for is_remote and
2149 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
2150 special flags by gdb_compile_shlib. Replace second gdb_compile by
2151 build_executable_own_libs. Replace "prelink -R" execution by a call of
2152 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
2153 a second call of prelink_yes. Replace restart commands by
2154 clean_restart.
2155 (prelink): Rename to ...
2156 (seen displacement message): ... this test. Extend its expectation
2157 strictness.
2158
2159 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2160
2161 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
2162 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
2163 displacement message exactly once.
2164
2165 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2166 Joel Brobecker <brobecker@adacore.com>
2167
2168 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
2169 its restore after the <$relink_args != ""> loop. new comment.
2170
2171 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2172 Joel Brobecker <brobecker@adacore.com>
2173
2174 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
2175 code for it. New variable relink_args.
2176 (prelinkYES): Call prelinkNO.
2177 (test_attach): Accept new parameter relink_args. Re-prelink the binary
2178 in such case. Move the core code to ...
2179 (test_attach_gdb): ... a new function. Send GDB command "file".
2180 Extend expected "Attaching to " string.
2181
2182 2010-07-02 Tom Tromey <tromey@redhat.com>
2183
2184 * gdb.base/bitops.exp: Remove extraneous "pass".
2185
2186 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
2187
2188 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
2189
2190 2010-07-01 Pedro Alves <pedro@codesourcery.com>
2191
2192 * gdb.base/help.exp: Adjust expected output.
2193
2194 2010-07-01 Pedro Alves <pedro@codesourcery.com>
2195
2196 * gdb.base/help.exp: Adjust expected output.
2197
2198 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
2199
2200 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
2201 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
2202 c++/11702.
2203
2204 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2205 Doug Evans <dje@google.com>
2206
2207 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
2208 add .dynamic entry'.
2209
2210 2010-06-29 Doug Evans <dje@google.com>
2211
2212 Test PR c++/11702.
2213 * gdb.cp/m-static.exp: Add testcase.
2214 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
2215
2216 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
2217 Tom Tromey <tromey@redhat.com>
2218 Thiago Jung Bauermann <bauerman@br.ibm.com>
2219
2220 * gdb.python/py-inferior.c: New File.
2221 * gdb.python/py-infthread.c: New File.
2222 * gdb.python/py-inferior.exp: New File.
2223 * gdb.python/py-infthread.exp: New File.
2224
2225 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2226
2227 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
2228 (ptype ::C::OtherFileClass typedefs): New.
2229 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
2230 (C::OtherFileClass::cOtherFileClassVar2): New.
2231 (C::OtherFileClass::cOtherFileClassVar_use): Use also
2232 cOtherFileClassVar2.
2233 (C::cOtherFileType2, C::cOtherFileVar2): New.
2234 (C::cOtherFileVar_use): use also cOtherFileVar2.
2235 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
2236
2237 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2238
2239 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
2240 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
2241 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
2242 (print ::C::cOtherFileVar)
2243 (whatis C::OtherFileClass::cOtherFileClassType)
2244 (whatis ::C::OtherFileClass::cOtherFileClassType)
2245 (print C::OtherFileClass::cOtherFileClassVar)
2246 (print ::cOtherFileClassVar)
2247 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
2248 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
2249 trailing content.
2250 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
2251 (C::OtherFileClass::cOtherFileClassVar)
2252 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
2253 (C::cOtherFileVar, C::cOtherFileVar_use): New.
2254
2255 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2256
2257 Test PR c++/11703 and PR gdb/1448.
2258 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
2259 gdb/1448.
2260
2261 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2262
2263 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
2264 (main) <rtti_data>: New.
2265 * gdb.cp/virtbase.exp (print rtti_data): New.
2266
2267 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2268 Joel Brobecker <brobecker@adacore.com>
2269
2270 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
2271
2272 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2273
2274 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
2275
2276 2010-06-28 Doug Evans <dje@google.com>
2277
2278 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
2279
2280 2010-06-27 Doug Evans <dje@google.com>
2281
2282 * gdb.cp/m-static.exp: Update expected test output.
2283
2284 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
2285
2286 * gdb.gdb/selftest.exp: Adjust expected message for
2287 capturing start-up runtime.
2288
2289 2010-06-25 Tom Tromey <tromey@redhat.com>
2290
2291 PR python/10808:
2292 * gdb.python/python.exp: Add new tests.
2293
2294 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
2295
2296 * gdb.cp/operator.cc: Created an import loop.
2297 * gdb.cp/operator.exp: Added testcase for import loop.
2298
2299 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2300
2301 Test PR python/11407.
2302 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
2303 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
2304 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
2305 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
2306 executable_nofb and executable_fb. New variables srcsfile, objsfile,
2307 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
2308 binfile. Call gdb_compile with clean_restart twice.
2309 (func_nofb print, func_nofb backtrace, func_loopfb print)
2310 (func_loopfb backtrace): New.
2311
2312 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2313
2314 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
2315 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
2316 by a hand made one.
2317 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
2318 i?86 requirement. Remove variables srcfile and binfile. New variable
2319 sources, executable_nofb and executable_fb. Call prepare_for_testing.
2320
2321 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2322
2323 * gdb.cell/dwarfaddr.exp: New file.
2324 * gdb.cell/dwarfaddr.S: New file.
2325
2326 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2327
2328 Test PR 9436.
2329 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
2330
2331 2010-06-24 Hui Zhu <teawater@gmail.com>
2332
2333 * gdb.base/eval.exp: New file.
2334
2335 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2336
2337 * gdb.cell/fork.exp: New file.
2338 * gdb.cell/fork.c: Likewise.
2339 * gdb.cell/fork-spu.c: Likewise.
2340
2341 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
2342
2343 * lib/gdb.exp (banned_variables_traced): New global variable.
2344 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
2345 (gdb_init): Use `trace add variable' instead of obsolete
2346 `trace variable'.
2347
2348 2010-06-21 Doug Evans <dje@google.com>
2349
2350 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
2351
2352 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2353
2354 * gdb.arch/spu-ls.exp: New file.
2355 * gdb.arch/spu-ls.c: Likewise.
2356
2357 2010-06-18 Stan Shebs <stan@codesourcery.com>
2358
2359 * gdb.threads/thread-specific.exp: Add tests of $_thread.
2360
2361 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2362
2363 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
2364 * gdb.base/watch-cond.exp: Likewise.
2365 * gdb.python/py-breakpoint.exp: Likewise.
2366
2367 2010-06-18 Pedro Alves <pedro@codesourcery.com>
2368
2369 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
2370 clean_restart, make sure every test has a distinct message, and
2371 that messages don't include the executable' full path.
2372
2373 2010-06-17 Doug Evans <dje@google.com>
2374
2375 * gdb.arch/i386-size.exp: Updated expected output for
2376 DISASSEMBLY_OMIT_FNAME.
2377
2378 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2379 Sergio Durigan Junior <sergiodj@redhat.com>
2380
2381 * gdb.base/watch-notconst.c: New file.
2382 * gdb.base/watch-notconst.S: New file.
2383 * gdb.base/watch-notconst2.c: New file.
2384 * gdb.base/watch-notconst2.S: New file.
2385 * gdb.base/watch-notconst.exp: New file.
2386 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
2387 (func4): Add operations on `global_ptr_ptr'.
2388 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
2389 routine to test watchpoints created with a constant expression.
2390 (test_inaccessible_watchpoint): Include tests for watchpoints
2391 created with a constant expression.
2392
2393 2010-06-14 Kevin Buettner <kevinb@redhat.com>
2394
2395 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
2396 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
2397 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
2398 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
2399 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
2400 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
2401 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
2402 of `_start'.
2403
2404 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2405
2406 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
2407 not supported on the target.
2408 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2409 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2410 * gdb.mi/mi-nsintrall.exp: Likewise.
2411 * gdb.mi/mi-nsmoribund.exp: Likewise.
2412 * gdb.mi/mi-nsthrexec.exp: Likewise.
2413
2414 2010-06-11 Stan Shebs <stan@codesourcery.com>
2415
2416 * gdb.base/permissions.exp: New file.
2417
2418 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2419
2420 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
2421 does not support ELF executable class.
2422
2423 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2424
2425 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
2426
2427 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2428
2429 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
2430 (runto): Catch "The target does not support running in non-stop mode.".
2431
2432 2010-06-11 Michael Snyder <msnyder@vmware.com>
2433
2434 * gdb.base/setshow.exp (set language asm): Don't use
2435 gdb_test_no_output, fails on some targets.
2436
2437 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2438
2439 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
2440 * gdb.cp/pr9167.exp: Likewise.
2441
2442 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2443
2444 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
2445
2446 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2447
2448 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
2449
2450 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2451
2452 * gdb.base/charset.c (main): Make sure malloc gets linked in.
2453
2454 2010-06-11 Tom Tromey <tromey@redhat.com>
2455
2456 PR gdb/9977, PR exp/11636::
2457 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
2458 (pieces_test_f6): Update expected output.
2459
2460 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2461
2462 * gdb.base/moribund-step.exp: New.
2463
2464 2010-06-08 Michael Snyder <msnyder@vmware.com>
2465
2466 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
2467 * gdb.ada/boolean_expr.exp:
2468 * gdb.ada/frame_args.exp: Ditto.
2469 * gdb.ada/lang_switch.exp: Ditto.
2470 * gdb.ada/ptype_arith_binop.exp: Ditto.
2471 * gdb.ada/ref_param.exp: Ditto.
2472 * gdb.ada/type_coercion.exp:Ditto.
2473
2474 * gdb.asm/asm-source.exp: Ditto.
2475
2476 * gdb.base/attach.exp: Ditto.
2477 * gdb.base/bitfields2.exp: Ditto.
2478 * gdb.base/call-signal-resume.exp: Ditto.
2479 * gdb.base/callfuncs.exp: Ditto.
2480 * gdb.base/commands.exp: Ditto.
2481 * gdb.base/dbx.exp: Ditto.
2482 * gdb.base/default.exp: Ditto.
2483 * gdb.base/dump.exp: Ditto.
2484 * gdb.base/exprs.exp: Ditto.
2485 * gdb.base/freebpcmd.exp: Ditto.
2486 * gdb.base/interrupt.exp: Ditto.
2487 * gdb.base/list.exp: Ditto.
2488 * gdb.base/long_long.exp: Ditto.
2489 * gdb.base/maint.exp: Ditto.
2490 * gdb.base/ptype.exp: Ditto.
2491 * gdb.base/return.exp: Ditto.
2492 * gdb.base/setshow.exp: Ditto.
2493 * gdb.base/sigbpt.exp: Ditto.
2494 * gdb.base/sigrepeat.exp: Ditto.
2495
2496 * gdb.cp/classes.exp: Ditto.
2497
2498 * gdb.dwarf2/dw2-restore.exp: Ditto.
2499
2500 * gdb.gdb/selftest.exp: Ditto.
2501
2502 * gdb.multi/base.exp: Ditto.
2503 * gdb.multi/bkpt-multi-exec.exp: Ditto.
2504
2505 * gdb.python/py-block.exp: Ditto.
2506 * gdb.python/py-prettyprint.exp: Ditto.
2507 * gdb.python/py-template.exp: Ditto.
2508
2509 * gdb.server/ext-attach.exp: Ditto.
2510 * gdb.server/ext-run.exp: Ditto.
2511 * gdb.server/server-mon.exp: Ditto.
2512
2513 * gdb.threads/fork-thread-pending.exp: Ditto.
2514 * gdb.threads/hand-call-in-threads.exp: Ditto.
2515 * gdb.threads/interrupted-hand-call.exp: Ditto.
2516 * gdb.threads/linux-dp.exp: Ditto.
2517 * gdb.threads/manythreads.exp: Ditto.
2518 * gdb.threads/print-threads.exp: Ditto.
2519 * gdb.threads/pthreads.exp: Ditto.
2520 * gdb.threads/schedlock.exp: Ditto.
2521 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2522 * gdb.threads/threadapply.exp: Ditto.
2523
2524 2010-06-08 Michael Snyder <msnyder@vmware.com>
2525
2526 * gdb.ada/exec_changed.exp:
2527 Use ".*" instead of "" as wildcard regexp.
2528
2529 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
2530 * gdb.base/call-ar-st.exp: Ditto.
2531 * gdb.base/checkpoint.exp: Ditto.
2532 * gdb.base/default.exp: Ditto.
2533 * gdb.base/dump.exp: Ditto.
2534 * gdb.base/ending-run.exp: Ditto.
2535 * gdb.base/fileio.exp: Ditto.
2536 * gdb.base/miscexprs.exp: Ditto.
2537 * gdb.base/pointers.exp: Ditto.
2538 * gdb.base/readline.exp: Ditto.
2539 * gdb.base/reread.exp: Ditto.
2540 * gdb.base/restore.exp: Ditto.
2541 * gdb.base/shlib-call.exp: Ditto.
2542 * gdb.base/valgrind-db-attach.exp: Ditto.
2543 * gdb.base/volatile.exp: Ditto.
2544 * gdb.base/watchpoints.exp: Ditto.
2545
2546 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
2547
2548 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
2549 * gdb.python/py-value.exp: Ditto.
2550
2551 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
2552 * gdb.trace/circ.exp: Ditto.
2553 * gdb.trace/collection.exp: Ditto.
2554 * gdb.trace/packetlen.exp: Ditto.
2555 * gdb.trace/passc-dyn.exp: Ditto.
2556 * gdb.trace/report.exp: Ditto.
2557 * gdb.trace/tfile.exp: Ditto.
2558 * gdb.trace/tfind.exp: Ditto.
2559 * gdb.trace/while-dyn.exp: Ditto.
2560
2561 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2562
2563 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
2564
2565 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2566
2567 Test PR 10640.
2568 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
2569
2570 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
2571
2572 * gdb.cp/koenig.exp: Test for ADL operators.
2573 * gdb.cp/koenig.cc: Added ADL operators.
2574 * gdb.cp/operator.exp: New test.
2575 * gdb.cp/operator.cc: New test.
2576
2577 2010-06-04 Michael Snyder <msnyder@vmware.com>
2578
2579 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
2580 * gdb.base/pending.exp: Ditto.
2581
2582 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
2583
2584 2010-06-04 Doug Evans <dje@google.com>
2585
2586 * gdb.python/py-prettyprint.exp: Add new test for enabled and
2587 disabled printers.
2588 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
2589 (enable_lookup_function): New function.
2590
2591 2010-06-04 Tom Tromey <tromey@redhat.com>
2592
2593 * gdb.python/py-value.exp (test_value_hash): Don't test equality
2594 of hash and id.
2595
2596 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2597
2598 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
2599 newline.
2600 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
2601 (empty verbose non-noisy clear, empty verbose noisy clear)
2602 (empty non-verbose noisy clear): Likewise.
2603
2604 2010-06-03 Michael Snyder <msnyder@vmware.com>
2605
2606 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
2607 * gdb.base/display.exp: Ditto.
2608 * gdb.base/find.exp: Ditto.
2609 * gdb.base/ifelse.exp: Ditto.
2610 * gdb.base/multi-forks.exp: Ditto.
2611 * gdb.base/recurse.exp: Ditto.
2612 * gdb.base/setshow.exp: Ditto.
2613 * gdb.base/value-double-free.exp: Ditto.
2614 * gdb.base/watch-vfork.exp: Ditto.
2615 * gdb.base/watch_thread_num.exp: Ditto.
2616 * gdb.base/watchpoint-solib.exp: Ditto.
2617 * gdb.base/watchpoint.exp: Ditto.
2618 * gdb.base/watchpoints.exp: Ditto.
2619
2620 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
2621 * gdb.cp/overload.exp: Ditto.
2622 * gdb.cp/virtfunc.exp: Ditto.
2623
2624 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
2625
2626 * gdb.reverse/watch-precsave.exp:
2627 Replace gdb_test with gdb_test_no_output.
2628
2629 * gdb.threads/attach-into-signal.exp:
2630 Replace gdb_test with gdb_test_no_output.
2631 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2632 * gdb.threads/watchthreads.exp: Ditto.
2633 * gdb.threads/watchthreads2.exp: Ditto.
2634
2635 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
2636 * gdb.trace/tfind.exp: Ditto.
2637
2638 2010-06-03 Joel Brobecker <brobecker@adacore.com>
2639
2640 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
2641 successful test if message is the empty string.
2642
2643 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2644
2645 * gdb.fortran/module.exp (stopped language detection): New test.
2646
2647 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2648
2649 Support DW_TAG_module as separate namespaces.
2650 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
2651 gdb.fortran/library-module-lib.f90: New.
2652 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
2653 (print i): Remove.
2654 (continue to breakpoint: i-is-1, print var_i value 1)
2655 (continue to breakpoint: i-is-2, print var_i value 2)
2656 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
2657 (print var_d, print var_i value 14, ptype modmany, complete `modm)
2658 (complete `modmany, complete `modmany`, complete `modmany`var)
2659 (show language, setting breakpoint at module): New tests.
2660 * gdb.fortran/module.f90 (module mod): Remove.
2661 (module mod1, module mod2, module modmany, subroutine sub1)
2662 (subroutine sub2, program module): New.
2663
2664 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2665
2666 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
2667 (print value of rUC, print value of rI, print value of UI): ... here.
2668 * gdb.cp/anon-union.exp (pass): Rename to ...
2669 (print z 2): ... here.
2670
2671 2010-06-02 Michael Snyder <msnyder@vmware.com>
2672
2673 * gdb.trace/actions.exp: Use gdb_test_no_output.
2674 * gdb.trace/circ.exp: Ditto.
2675 * gdb.trace/packetlen.exp: Ditto.
2676 * gdb.trace/save-trace.exp: Ditto.
2677 * gdb.trace/tracecmd.exp: Ditto.
2678 * gdb.trace/tsv.exp: Ditto.
2679
2680 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
2681 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
2682 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2683 * gdb.threads/manythreads.exp: Ditto.
2684 * gdb.threads/print-threads.exp: Ditto.
2685 * gdb.threads/pthreads.exp: Ditto.
2686 * gdb.threads/schedlock.exp: Ditto.
2687 * gdb.threads/staticthreads.exp: Ditto.
2688 * gdb.threads/thread-specific.exp: Ditto.
2689 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2690 * gdb.threads/threadapply.exp: Ditto.
2691 * gdb.threads/watchthreads.exp: Ditto.
2692 * gdb.threads/watchthreads2.exp: Ditto.
2693
2694 * gdb.python/py-block.exp: Use gdb_test_no_output.
2695 * gdb.python/py-prettyprint.exp: Ditto.
2696 * gdb.python/py-template.exp: Ditto.
2697 * gdb.python/py-value.exp: Ditto.
2698
2699 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
2700 * gdb.reverse/watch-reverse.exp: Ditto.
2701
2702 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
2703 * gdb.server/ext-run.exp: Ditto.
2704
2705 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
2706 * gdb.dwarf2/dw2-compressed.exp: Ditto.
2707 * gdb.dwarf2/dw2-intercu.exp: Ditto.
2708 * gdb.dwarf2/dw2-intermix.exp: Ditto.
2709 * gdb.dwarf2/dw2-producer.exp: Ditto.
2710 * gdb.dwarf2/mac-fileno.exp: Ditto.
2711
2712 * gdb.gdb/observer.exp: Use gdb_test_no_output.
2713 * gdb.gdb/selftest.exp: Ditto.
2714
2715 * gdb.multi/base.exp: Use gdb_test_no_output.
2716
2717 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
2718
2719 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2720
2721 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
2722
2723 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
2724
2725 * gdb.cp/class2.exp: Use gdb_test_no_output.
2726 * gdb.cp/classes.exp: Ditto.
2727 * gdb.cp/extern-c.exp: Ditto.
2728 * gdb.cp/inherit.exp: Ditto.
2729 * gdb.cp/maint.exp: Ditto.
2730 * gdb.cp/mb-inline.exp: Ditto.
2731 * gdb.cp/mb-templates.exp: Ditto.
2732 * gdb.cp/method2.exp: Ditto.
2733 * gdb.cp/misc.exp: Ditto.
2734 * gdb.cp/ovldbreak.exp: Ditto.
2735 * gdb.cp/punctuator.exp: Ditto.
2736 * gdb.cp/templates.exp: Ditto.
2737 * gdb.cp/virtbase.exp: Ditto.
2738
2739 * gdb.threads/attach-stopped.exp:
2740 Replace uses of send_gdb / gdb_expect.
2741 * gdb.threads/attachstop-mt.exp:
2742 Replace uses of send_gdb / gdb_expect.
2743 * gdb.threads/gcore-thread.exp:
2744 Replace uses of send_gdb / gdb_expect.
2745 * gdb.threads/hand-call-in-threads.exp:
2746 Replace uses of send_gdb / gdb_expect.
2747 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
2748 * gdb.threads/print-threads.exp:
2749 Replace uses of send_gdb / gdb_expect.
2750 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
2751 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
2752 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
2753
2754 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
2755 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
2756 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
2757 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
2758 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
2759 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
2760 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
2761 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
2762 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
2763 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
2764 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
2765
2766 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2767
2768 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
2769
2770 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
2771
2772 * gdb.cp/koenig.exp: Added new test case.
2773 * gdb.cp/koenig.cc: Ditto.
2774
2775 2010-06-01 Michael Snyder <msnyder@vmware.com>
2776
2777 * gdb.base/arithmet.exp: Use gdb_test_no_output.
2778 * gdb.base/arrayidx.exp: Ditto.
2779 * gdb.base/attach.exp: Ditto.
2780 * gdb.base/auxv.exp: Ditto.
2781 * gdb.base/bigcre.exp: Ditto.
2782 * gdb.base/break-always.exp: Ditto.
2783 * gdb.base/break-interp.exp: Ditto.
2784 * gdb.base/break.exp: Ditto.
2785 * gdb.base/breakpoint-shadow.exp: Ditto.
2786 * gdb.base/call-ar-st.exp: Ditto.
2787 * gdb.base/call-sc.exp: Ditto.
2788 * gdb.base/call-signal-resume.exp: Ditto.
2789 * gdb.base/callfuncs.exp: Ditto.
2790 * gdb.base/catch-syscall.exp: Ditto.
2791 * gdb.base/charset.exp: Ditto.
2792 * gdb.base/code-expr.exp: Ditto.
2793 * gdb.base/commands.exp: Ditto.
2794 * gdb.base/cond-expr.exp: Ditto.
2795 * gdb.base/condbreak.exp: Ditto.
2796 * gdb.base/cursal.exp: Ditto.
2797 * gdb.base/cvexpr.exp: Ditto.
2798 * gdb.base/default.exp: Ditto.
2799 * gdb.base/del.exp: Ditto.
2800 * gdb.base/detach.exp: Ditto.
2801 * gdb.base/display.exp: Ditto.
2802 * gdb.base/ena-dis-br.exp: Ditto.
2803 * gdb.base/eval-skip.exp: Ditto.
2804 * gdb.base/foll-fork.exp: Ditto.
2805 * gdb.base/foll-vfork.exp: Ditto.
2806 * gdb.base/frame-args.exp: Ditto.
2807 * gdb.base/funcargs.exp: Ditto.
2808 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2809 * gdb.base/gdbvars.exp: Ditto.
2810 * gdb.base/help.exp: Ditto.
2811 * gdb.base/ifelse.exp: Ditto.
2812 * gdb.base/included.exp: Ditto.
2813 * gdb.base/list.exp: Ditto.
2814 * gdb.base/macscp.exp: Ditto.
2815 * gdb.base/maint.exp: Ditto.
2816 * gdb.base/multi-fork.exp: Ditto.
2817 * gdb.base/overlays.exp: Ditto.
2818 * gdb.base/page.exp: Ditto.
2819 * gdb.base/pending.exp: Ditto.
2820 * gdb.base/pointers.exp: Ditto.
2821 * gdb.base/pr11022.exp: Ditto.
2822 * gdb.base/prelink.exp: Ditto.
2823 * gdb.base/printcmds.exp: Ditto.
2824 * gdb.base/psymtab.exp: Ditto.
2825 * gdb.base/randomize.exp: Ditto.
2826 * gdb.base/relational.exp: Ditto.
2827 * gdb.base/relocate.exp: Ditto.
2828 * gdb.base/remote.exp: Ditto.
2829 * gdb.base/sepdebug.exp: Ditto.
2830 * gdb.base/set-lang-auto.exp: Ditto.
2831 * gdb.base/setshow.exp: Ditto.
2832 * gdb.base/setvar.exp: Ditto.
2833 * gdb.base/signals.exp: Ditto.
2834 * gdb.base/signull.exp: Ditto.
2835 * gdb.base/sigstep.exp: Ditto.
2836 * gdb.base/sizeof.exp: Ditto.
2837 * gdb.base/solib-disc.exp: Ditto.
2838 * gdb.base/store.exp: Ditto.
2839 * gdb.base/structs.exp: Ditto.
2840 * gdb.base/structs2.exp: Ditto.
2841 * gdb.base/subst.exp: Ditto.
2842 * gdb.base/term.exp: Ditto.
2843 * gdb.base/trace-commands.exp: Ditto.
2844 * gdb.base/unwindonsignal.exp: Ditto.
2845 * gdb.base/valgrind-db-attach.exp: Ditto.
2846 * gdb.base/varargs.exp: Ditto.
2847 * gdb.base/watch-cond.exp: Ditto.
2848 * gdb.base/watch_thread_num.exp: Ditto.
2849 * gdb.base/watchpoint-cond-gone.exp: Ditto.
2850 * gdb.base/watchpoint.exp: Ditto.
2851 * gdb.base/whatis-exp.exp: Ditto.
2852
2853 2010-06-01 Michael Snyder <msnyder@vmware.com>
2854
2855 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
2856 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
2857 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
2858 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
2859 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
2860 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
2861 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
2862 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
2863 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
2864 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
2865 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
2866 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
2867 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
2868 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
2869 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
2870
2871 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2872
2873 * gdb.base/commands.exp (begin commands on watch): Remove excessive
2874 trailing newline.
2875 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
2876 * gdb.java/jmisc.exp (p *args\n): Rename to ...
2877 (p *args): ... here and remove excessive trailing newline.
2878
2879 2010-05-31 Joel Brobecker <brobecker@adacore.com>
2880
2881 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
2882
2883 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2884
2885 Accept the new Linux kernel "t (tracing stop)" string.
2886 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
2887 Update comment.
2888 (state_wait) <T (tracing stop)>: New.
2889 (main): Update the state_wait expect string.
2890
2891 2010-05-28 Pedro Alves <pedro@codesourcery.com>
2892
2893 * limits.c, limits.exp: Delete files.
2894 * Makefile.in (clean mostlyclean): Adjust.
2895 * tracecmd.exp: Adjust.
2896
2897 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2898
2899 * gdb.base/tui-layout.exp: New.
2900
2901 2010-05-28 Michael Snyder <msnyder@vmware.com>
2902
2903 * gdb.reverse/break-precsave.exp:
2904 Replace uses of send_gdb / gdb_expect.
2905 * gdb.reverse/break-reverse.exp:
2906 Replace uses of send_gdb / gdb_expect.
2907 * gdb.reverse/consecutive-precsave.exp:
2908 Replace uses of send_gdb / gdb_expect.
2909 * gdb.reverse/consecutive-reverse.exp:
2910 Replace uses of send_gdb / gdb_expect.
2911 * gdb.reverse/finish-precsave.exp:
2912 Replace uses of send_gdb / gdb_expect.
2913 * gdb.reverse/finish-reverse.exp:
2914 Replace uses of send_gdb / gdb_expect.
2915 * gdb.reverse/i386-precsave.exp:
2916 Replace uses of send_gdb / gdb_expect.
2917 * gdb.reverse/i386-reverse.exp:
2918 Replace uses of send_gdb / gdb_expect.
2919 * gdb.reverse/i386-sse-reverse.exp:
2920 Replace uses of send_gdb / gdb_expect.
2921 * gdb.reverse/i387-env-reverse.exp:
2922 Replace uses of send_gdb / gdb_expect.
2923 * gdb.reverse/i387-stack-reverse.exp:
2924 Replace uses of send_gdb / gdb_expect.
2925 * gdb.reverse/machinestate-precsave.exp:
2926 Replace uses of send_gdb / gdb_expect.
2927 * gdb.reverse/machinestate.exp:
2928 Replace uses of send_gdb / gdb_expect.
2929 * gdb.reverse/sigall-precsave.exp:
2930 Replace uses of send_gdb / gdb_expect.
2931 * gdb.reverse/sigall-reverse.exp:
2932 Replace uses of send_gdb / gdb_expect.
2933 * gdb.reverse/solib-precsave.exp:
2934 Replace uses of send_gdb / gdb_expect.
2935 * gdb.reverse/solib-reverse.exp:
2936 Replace uses of send_gdb / gdb_expect.
2937 * gdb.reverse/step-precsave.exp:
2938 Replace uses of send_gdb / gdb_expect.
2939 * gdb.reverse/step-reverse.exp:
2940 Replace uses of send_gdb / gdb_expect.
2941 * gdb.reverse/until-precsave.exp:
2942 Replace uses of send_gdb / gdb_expect.
2943 * gdb.reverse/until-reverse.exp:
2944 Replace uses of send_gdb / gdb_expect.
2945 * gdb.reverse/watch-precsave.exp:
2946 Replace uses of send_gdb / gdb_expect.
2947 * gdb.reverse/watch-reverse.exp:
2948 Replace uses of send_gdb / gdb_expect.
2949
2950 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2951
2952 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
2953 excessive newline.
2954
2955 2010-05-27 Michael Snyder <msnyder@vmware.com>
2956
2957 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
2958 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
2959 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
2960 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
2961 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
2962 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
2963 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
2964 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
2965 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
2966 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
2967 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
2968 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
2969 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
2970 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
2971 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
2972 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
2973 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
2974 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
2975 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
2976
2977 2010-05-26 Michael Snyder <msnyder@vmware.com>
2978
2979 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
2980 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
2981
2982 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
2983 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
2984 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
2985
2986 * gdb.reverse/consecutive-reverse.exp:
2987 Replace uses of send_gdb / gdb_expect.
2988 * gdb.reverse/consecutive-precsave.exp:
2989 Replace uses of send_gdb / gdb_expect.
2990
2991 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
2992 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
2993 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
2994 * gdb.mi/mi-ns-stale-regcache.exp:
2995 Replace uses of send_gdb / gdb_expect.
2996 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
2997 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
2998 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
2999 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
3000 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
3001 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
3002 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
3003 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
3004 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
3005
3006 2010-05-26 Michael Snyder <msnyder@vmware.com>
3007
3008 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
3009
3010 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
3011
3012 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
3013 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
3014 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
3015 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
3016 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
3017 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
3018 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
3019 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
3020 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
3021
3022 2010-05-25 Tom Tromey <tromey@redhat.com>
3023
3024 * gdb.base/macscp.exp: Add missing space after setup_kfail.
3025
3026 2010-05-25 Tom Tromey <tromey@redhat.com>
3027
3028 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
3029 argument order.
3030 * gdb.base/macscp.exp: Fix setup_kfail argument order.
3031 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
3032 order.
3033 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
3034 order.
3035 * gdb.base/call-sc.exp (setup_kfails): Remove.
3036 (setup_compiler_kfails): Remove.
3037 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
3038 argument order.
3039 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
3040 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
3041 (advancei): Fix setup_kfail argument order.
3042 * gdb.base/radix.exp: Fix setup_kfail argument order.
3043 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
3044 order.
3045 * gdb.base/structs.exp (setup_kfails): Remove.
3046 (setup_compiler_kfails): Fix setup_kfail argument order.
3047 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
3048 order.
3049 * gdb.java/jmain.exp: Fix setup_kfail argument order.
3050 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
3051 setup_kfail argument order.
3052 * gdb.cp/overload.exp: Fix setup_kfail argument order.
3053
3054 2010-05-25 Tom Tromey <tromey@redhat.com>
3055
3056 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
3057
3058 2010-05-25 Michael Snyder <msnyder@vmware.com>
3059
3060 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
3061 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
3062 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
3063 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
3064 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
3065 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
3066 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
3067 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
3068 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
3069 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
3070 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
3071 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
3072 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
3073 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
3074 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
3075 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
3076 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
3077 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
3078 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
3079 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
3080 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
3081 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
3082 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
3083 * gdb.base/default.exp: Replace send_gdb with gdb_test.
3084 * gdb.base/define.exp: Replace send_gdb with gdb_test.
3085 * gdb.base/display.exp: Replace send_gdb with gdb_test.
3086 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
3087 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
3088 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
3089 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
3090 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
3091 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
3092 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
3093 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
3094 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
3095 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
3096 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
3097 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
3098 * gdb.base/help.exp: Replace send_gdb with gdb_test.
3099 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
3100 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
3101 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
3102 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
3103 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
3104 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
3105 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
3106 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
3107 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
3108
3109 2010-05-25 Doug Evans <dje@google.com>
3110
3111 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
3112 gdb.string_to_argv.
3113
3114 2010-05-21 Tom Tromey <tromey@redhat.com>
3115
3116 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
3117 Call it.
3118 * gdb.dwarf2/pieces.S: Update.
3119 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
3120
3121 2010-05-21 Tom Tromey <tromey@redhat.com>
3122
3123 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
3124 Call it.
3125 * gdb.dwarf2/pieces.c (struct C): New.
3126 (f6): New function.
3127 * gdb.dwarf2/pieces.S: Replace.
3128
3129 2010-05-21 Tom Tromey <tromey@redhat.com>
3130
3131 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
3132 Call it.
3133
3134 2010-05-21 Tom Tromey <tromey@redhat.com>
3135
3136 * gdb.dwarf2.pieces.exp: New file.
3137 * gdb.dwarf2.pieces.S: New file.
3138 * gdb.dwarf2.pieces.c: New file.
3139
3140 2010-05-20 Pedro Alves <pedro@codesourcery.com>
3141 Joel Brobecker <brobecker@adacore.com>
3142
3143 * lib/gdb.exp (gdb_test_no_output): New function.
3144 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
3145 when testing commands that should produce no output.
3146
3147 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3148
3149 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
3150 parameter that we want to watch being a constant.
3151
3152 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3153
3154 * gdb.ada/cond_lang: New testcase.
3155
3156 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3157
3158 * lib/gdb.exp (banned_variables): New variable/constant.
3159 (gdb_init): Add write trace on variables listed in banned_variables.
3160 (gdb_finish): Remove write traces on variables listed in
3161 banned_variables.
3162
3163 2010-05-17 Joel Brobecker <brobecker@adacore.com>
3164
3165 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
3166 * gdb.cp/koenig.exp: Likewise.
3167
3168 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
3169
3170 PR python/11482
3171
3172 * gdb.python/py-value.exp (test_value_hash): New function.
3173
3174 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
3175
3176 PR exp/11530.
3177 * gdb.base/gdb11530.c: New file.
3178 * gdb.base/gdb11530.exp: New file.
3179
3180 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3181
3182 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
3183 * gdb.dwarf2/dw2-modula2-self-type.S: New.
3184
3185 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
3186
3187 * gdb.cp/koenig.exp: New test.
3188 * gdb.cp/koenig.cc: New test program.
3189
3190 2010-05-05 Joel Brobecker <brobecker@adacore.com>
3191
3192 Remove the use of prms_id and bug_id throughout the testsuite.
3193
3194 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
3195
3196 PR exp/11349.
3197 * testsuite/gdb.cp/ref-types.exp: Add test to examine
3198 use a reference local variable.
3199
3200 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3201
3202 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
3203 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
3204 variable different_dir. Move debugfile into a full directory pathname
3205 under DIFFERENT_DIR.
3206 * lib/gdb.exp (separate_debug_filename): Remove.
3207 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
3208 variable debug_dir and mkdir of it. Update function comments.
3209
3210 2010-04-29 Pedro Alves <pedro@codesourcery.com>
3211
3212 PR gdb/11557
3213
3214 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
3215 files.
3216
3217 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
3218
3219 * gdb.python/py-param.exp: New File.
3220
3221 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
3222
3223 * gdb.base/default.exp: Fix "set language" test.
3224
3225 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
3226
3227 PR breakpoints/11531.
3228 * gdb.base/gdb11531.c: New file.
3229 * gdb.base/gdb11531.exp: New file.
3230
3231 2010-04-26 Tom Tromey <tromey@redhat.com>
3232
3233 * gdb.base/completion.exp: Add tests for completion and deprecated
3234 commands.
3235
3236 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3237
3238 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
3239 (print /x char_array): Escape curly brackets.
3240
3241 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3242
3243 Fix deadlock on looped list of loaded shared objects.
3244 * gdb.base/solib-corrupted.exp: New.
3245
3246 2010-04-23 Doug Evans <dje@google.com>
3247
3248 * gdb.python/py-section-script.c: New file.
3249 * gdb.python/py-section-script.exp: New file.
3250 * gdb.python/py-section-script.py: New file.
3251
3252 2010-04-20 Chris Moller <cmoller@redhat.com>
3253
3254 PR 10179
3255
3256 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
3257 * gdb.base/pr10179-a.c:
3258 * gdb.base/pr10179-b.c:
3259 * gdb.base/pr10179.exp: New files.
3260
3261 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3262
3263 Fix crashes on dangling display expressions.
3264 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
3265 is SEP.
3266 (lib_flags): Remove the "debug" keyword.
3267 (libsepdebug): New variable for iterating new loop.
3268 (save_pf_prefix): New variable wrapping the loop.
3269 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
3270 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
3271
3272 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3273
3274 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
3275
3276 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3277
3278 PR stabs/11479.
3279 * gdb.stabs/gdb11479.exp: New file.
3280 * gdb.stabs/gdb11479.c: New file.
3281
3282 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
3283
3284 * gdb.base/charset.c (Strin16, String32): New variables.
3285 * gdb.base/charset.exp (gdb_test): Test correct display
3286 of 16 or 32 bit strings.
3287
3288 2010-04-21 Chris Moller <cmoller@redhat.com>
3289
3290 PR 9167
3291 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
3292 * gdb.cp/pr9167.cc: New file.
3293 * gdb.cp/pr9167.exp: New file.
3294
3295
3296 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
3297
3298 PR pascal/11492.
3299 * gdb.pascal/gdb11492.pas: New file.
3300 * gdb.pascal/gdb11492.exp: New file.
3301
3302 2010-04-20 Joel Brobecker <brobecker@adacore.com>
3303
3304 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
3305
3306 2010-04-20 Joel Brobecker <brobecker@adacore.com>
3307
3308 * gdb.ada/dyn_loc: New testcase.
3309
3310 2010-04-20 Chris Moller <cmoller@redhat.com>
3311
3312 PR 10867
3313
3314 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
3315 * gdb.cp/pr10687.cc: New file.
3316 * gdb.cp/pr10687.exp: New file.
3317
3318
3319 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3320 Sergio Durigan Junior <sergiodj@redhat.com>
3321
3322 * gdb.fortran/logical.exp: New testcase.
3323 * gdb.fortran/logical.f90: New file.
3324
3325 2010-04-19 Doug Evans <dje@google.com>
3326
3327 * gdb.base/help.exp (help source): Update expected output.
3328
3329 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3330
3331 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
3332 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
3333 gdb_exit and return.
3334 (executable): New variable.
3335 (binfile): Use it.
3336
3337 2010-04-19 Pedro Alves <pedro@codesourcery.com>
3338
3339 PR breakpoints/8554.
3340
3341 * gdb.trace/save-trace.exp: Adjust.
3342
3343 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
3344
3345 PR corefiles/11511
3346 * gdb.arch/system-gcore.exp: New.
3347 * gdb.arch/gcore.c: Likewise.
3348
3349 2010-04-15 Doug Evans <dje@google.com>
3350
3351 * gdb.python/py-progspace.c: New file.
3352 * gdb.python/py-progspace.exp: New file.
3353
3354 * gdb.base/source.exp: Add tests for "source -s".
3355
3356 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
3357
3358 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
3359 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
3360 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
3361 * gdb.python/py-mi.exp: New test for to_string returning None.
3362
3363 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
3364
3365 * gdb.python/py-breakpoint.c: Make result global.
3366
3367 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3368
3369 Fix non-GNU make compatibility.
3370 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
3371
3372 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
3373
3374 * gdb.python/py-breakpoint.exp: New File.
3375 * gdb.python/py-breakpoint.C: Ditto.
3376
3377 2010-04-08 Stan Shebs <stan@codesourcery.com>
3378
3379 * gdb.trace/actions.exp: Clear default-collect.
3380 * gdb.trace/save-trace.exp: Clear default-collect.
3381
3382 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
3383
3384 * gdb.python/py-value: Add null string variable.
3385 (test_lazy_string): Test zero length, NULL address lazy
3386 strings.
3387
3388 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
3389
3390 * gdb.arch/i386-avx.c: New.
3391 * gdb.arch/i386-avx.exp: Likewise.
3392
3393 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
3394
3395 2010-04-06 Doug Evans <dje@google.com>
3396
3397 * gdb.base/source-test.gdb: New file.
3398 * gdb.base/source.exp: Test source -v.
3399
3400 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3401
3402 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
3403
3404 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
3405
3406 * gdb.stabs/aout.sed: Convert all backslash to double backslash
3407 within one line, unless it is followed by a double quote.
3408 * gdb.stabs/hppa.sed: Idem.
3409 * gdb.stabs/weird.def: Add char and String constants
3410 * gdb.stabs/weird.exp: Check for correct parsing of
3411 char and string constants.
3412 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
3413 in .stabs to .stabx substitution.
3414
3415 2010-04-05 Stan Shebs <stan@codesourcery.com>
3416
3417 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
3418 constant global.
3419 * gdb.trace/tfile.exp: Try to print them.
3420
3421 2010-04-04 Stan Shebs <stan@codesourcery.com>
3422
3423 * gdb.base/completion.exp: Update for new "info watchpoints".
3424 * gdb.base/default.exp: Ditto.
3425 * gdb.base/help.exp: Ditto.
3426 * gdb.base/watchpoint.exp: Ditto.
3427 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
3428
3429 2010-04-04 Stan Shebs <stan@codesourcery.com>
3430
3431 * gdb.trace/tfile.exp: Sharpen tfind test.
3432
3433 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3434
3435 * gdb.base/break-entry.exp: New.
3436
3437 2010-04-02 Hui Zhu <teawater@gmail.com>
3438 Michael Snyder <msnyder@vmware.com>
3439
3440 * gdb.reverse/i386-sse-reverse.exp: New file.
3441 * gdb.reverse/i386-sse-reverse.c: New file.
3442
3443 2010-04-02 Pedro Alves <pedro@codesourcery.com>
3444
3445 * gdb.trace/tfind.exp: Adjust expected disassembly output.
3446
3447 2010-04-01 Stan Shebs <stan@codesourcery.com>
3448
3449 * gdb.trace/actions.exp: Tweak expected output.
3450 * gdb.trace/while-stepping.exp: Tweak expected output.
3451
3452 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
3453
3454 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
3455
3456 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3457
3458 * gdb.base/commands.exp: Adjust.
3459 * gdb.cp/extern-c.exp: Adjust.
3460
3461 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3462
3463 * gdb.trace/collection.c (local_test_func): Define a local struct,
3464 and instanciate it.
3465
3466 2010-04-01 Pedro Alves <pedro@codesourcery.com>
3467
3468 * gdb.trace/collection.exp (gdb_collect_args_test)
3469 (gdb_collect_argarray_test): XFAIL the tests that assume the
3470 argarray argument's elements are collected.
3471
3472 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
3473
3474 * gdb.dwarf2/dw2-bad-parameter-type.exp,
3475 gdb.dwarf2/dw2-bad-parameter-type.S: New.
3476
3477 2010-03-31 Stan Shebs <stan@codesourcery.com>
3478
3479 * gdb.trace/save-trace.exp: Test save/restore of default-collect
3480 and tracepoint conditionals.
3481 (gdb_verify_tracepoints): Delete unused return.
3482
3483 2010-03-26 Keith Seitz <keiths@redhat.com>
3484
3485 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
3486 appear in the output before main.
3487 Remove KFAIL for gdb/2215 aka bz 9320.
3488
3489 2010-03-30 Doug Evans <dje@google.com>
3490
3491 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
3492 by dejagnu.
3493 * gdb.arch/amd64-dword.exp: Ditto.
3494
3495 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
3496 match.
3497 (break printf): Ditto.
3498
3499 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
3500
3501 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
3502 gcc < 4.4.
3503 * gdb.cp/shadow.exp: Ditto.
3504
3505 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3506
3507 * gdb.trace/collection.exp (run_trace_experiment): Make sure
3508 "tstart" is silent.
3509
3510 2010-03-29 Pedro Alves <pedro@codesourcery.com>
3511
3512 * gdb.trace/collection.exp (executable): New.
3513 (binfile): Use it.
3514 (fpreg, spreg, pcreg): New.
3515 (test_register): Use gdb_test_multiple. Pass /x to print.
3516 (prepare_for_trace_test): New.
3517 (run_trace_experiment): Use "continue", not gdb_run_cmd.
3518 (gdb_collect_args_test, gdb_collect_argstruct_test)
3519 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
3520 prepare_for_trace_test.
3521 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
3522 fpreg, spreg and pcreg.
3523 (gdb_collect_expression_test, gdb_collect_globals_test): Use
3524 prepare_for_trace_test.
3525 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
3526 try to detect tracing support here. Don't set breakpoints at
3527 `begin' or `end' here.
3528 <global scope>: Use clean_restart. Run to main before checking
3529 for tracing support. Check for for tracing support here.
3530
3531 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3532
3533 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
3534 " as $displacement" to "seen displacement message".
3535
3536 2010-03-28 Pedro Alves <pedro@codesourcery.com>
3537
3538 * gdb.trace/while-dyn.exp (executable): New variable.
3539 (binfile): Use it.
3540 (test_while_stepping): New function. Move most tests here. Call
3541 it once for each of the while-stepping, stepping and ws aliases.
3542
3543 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3544
3545 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
3546 that do not provide the tagless_struct type name at all.
3547 (test_print_anon_union): Do not check value of uninitialized
3548 union member. Do not use cp_test_ptype_class, so we can accept
3549 "long" as well as "long int".
3550
3551 2010-03-26 Pedro Alves <pedro@codesourcery.com>
3552
3553 * gdb.trace/tfile.c (tohex, bin2hex): New.
3554 (write_error_trace_file): Hexify error description.
3555
3556 2010-03-25 Stan Shebs <stan@codesourcery.com>
3557
3558 * gdb.trace/tfile.c: Generate an additional trace file, improve
3559 portability.
3560 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
3561 files in a better way.
3562
3563 2010-03-25 Keith Seitz <keiths@redhat.com>
3564
3565 * gdb.java/jprint.exp: XFAIL printing of static class members
3566 because of GCC debuginfo problem.
3567
3568 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3569
3570 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
3571
3572 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3573
3574 * gdb.base/completion.exp: Allow long instead of long int.
3575 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
3576 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
3577 variable p.
3578 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
3579 * gdb.base/pointers.exp: Allow long instead of long int.
3580 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
3581 * gdb.base/step-line.exp: Allow a directory before the source file name.
3582
3583 2010-03-24 Tom Tromey <tromey@redhat.com>
3584
3585 PR breakpoints/9352:
3586 * gdb.base/default.exp: Update.
3587 * gdb.base/commands.exp: Update.
3588 * gdb.cp/extern-c.exp: Test setting commands on multiple
3589 breakpoints at once.
3590
3591 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3592
3593 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
3594 if gdb,nosignals.
3595 * gdb.base/watchpoints.c: Do not include unnecessary headers.
3596 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
3597 exited".
3598
3599 2010-03-24 Stan Shebs <stan@codesourcery.com>
3600
3601 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
3602
3603 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
3604
3605 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
3606 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
3607 argument. Handle "short" and "long".
3608 (Top level): Pass overprototyped output for old_fptr and xptr.
3609
3610 2010-03-23 Pedro Alves <pedro@codesourcery.com>
3611
3612 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
3613 format strings and add casts to avoid compiler warnings.
3614
3615 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
3616
3617 * lib/trace-support.exp (gdb_trace_setactions):
3618 Don't expect whitespace after ">" prompt.
3619 * gdb.trace/actions.exp: Adjust for output changes.
3620 * gdb.trace/while-stepping.exp: Likewise.
3621
3622 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3623
3624 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
3625 and r157645).
3626
3627 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3628
3629 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
3630 New.
3631
3632 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
3633
3634 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
3635 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
3636
3637 2010-03-19 Stan Shebs <stan@codesourcery.com>
3638
3639 * gdb.trace/ax.exp: New file.
3640
3641 2010-03-19 Doug Evans <dje@google.com>
3642
3643 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
3644 output from gcc.
3645
3646 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
3647 named /usr/sbin/prelink<foo>.
3648
3649 2010-03-18 Stan Shebs <stan@codesourcery.com>
3650
3651 * gdb.trace/circ.exp: Test circular-trace-buffer.
3652 * gdb.trace/tfile.exp: Update tstatus test.
3653
3654 2010-03-18 Joel Brobecker <brobecker@adacore.com>
3655
3656 * gdb.dwarf2/dw2-anonymous-func.S: New file.
3657 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
3658
3659 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3660
3661 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
3662
3663 2010-03-18 Pedro Alves <pedro@codesourcery.com>
3664
3665 * gdb.base/default.exp: Adjust the expected output of the finish
3666 and until commands when the inferior is not being run.
3667
3668 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
3669
3670 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
3671 * gdb.cp/nsusing.exp: Ditto.
3672
3673 2010-03-15 Tom Tromey <tromey@redhat.com>
3674
3675 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
3676 * gdb.cp/userdef.cc (operator==): New function.
3677 (main): New locals mem1, mem2.
3678
3679 2010-03-15 Jie Zhang <jie@codesourcery.com>
3680
3681 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
3682 Declare and use new loadtimeout variable.
3683
3684 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
3685
3686 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
3687 Use gdb_load later.
3688
3689 2010-03-14 Pedro Alves <pedro@codesourcery.com>
3690
3691 * gdb.base/solib-disc.c (main): Make format of fprintf a string
3692 literal. Add missing endlines to prints to stderr.
3693
3694 2010-03-12 Tom Tromey <tromey@redhat.com>
3695
3696 PR c++/9708:
3697 * gdb.cp/m-static.exp: Add regression test.
3698 * gdb.cp/m-static.cc (method): New method.
3699 (main): Call it.
3700
3701 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
3702
3703 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
3704 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
3705
3706 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3707
3708 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
3709
3710 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3711
3712 * lib/gdb.exp (skip_stl_tests): New.
3713 (gdb_compile): Symbian needs -ldl.
3714 (shlib_target_file): New.
3715 (shlib_symbol_file): New.
3716 (gdb_load_shlibs): Use shlib_target_file.
3717 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
3718 * gdb.cp/exception.exp: Use skip_stl_tests.
3719 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
3720 * gdb.cp/try_catch.exp: Use skip_stl_tests.
3721 * gdb.cp/mb-templates.exp: Ditto.
3722 * gdb.base/commands.exp: Relax regexes.
3723 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
3724 shlib_target_file and shlib_symbol_file.
3725 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
3726 sections.
3727 * gdb.base/ending-run.exp: Accept E32Main for symbian.
3728 * gdb.base/solib-disc.exp: Use
3729 shlib_target_file and shlib_symbol_file.
3730 * gdb.base/unload.exp: Don't skip on symbian. Use
3731 shlib_target_file and shlib_symbol_file.
3732 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
3733
3734 2010-03-12 Pedro Alves <pedro@codesourcery.com>
3735
3736 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
3737 * gdb.trace/report.exp: Adjust for x86 and x86_64.
3738 Issue a tfind end before looking for a tracepoint frame.
3739 * gdb.trace/tfind.exp: Adjust tstatus output.
3740 Adjust disassembly output.
3741 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
3742
3743 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3744
3745 * gdb.base/break-interp.exp: Create new displacement parameter value
3746 for the test_ld calls.
3747 (reach): New parameter displacement, verify its content. New push of
3748 pf_prefix "reach-$func:". Import global expect_out.
3749 (test_core): New parameter displacement, verify its content. New push
3750 of pf_prefix "core:". New command "set verbose on". Import global
3751 expect_out.
3752 (test_attach): New parameter displacement, verify its content. New
3753 push of pf_prefix "attach:". New command "set verbose on". Import
3754 global expect_out.
3755 (test_ld): New parameter displacement, pass it to the reach, test_core
3756 and test_attach calls and verify its content in the "ld.so exit" test.
3757 * gdb.base/prelink.exp: Remove gdb_exit and final return.
3758 (prelink): Update expected text, use gdb_test.
3759
3760 2010-03-10 Doug Evans <dje@google.com>
3761
3762 * gdb.base/checkpoint.exp: Fix comment.
3763 Lengthen timeout while doing >600 checkpoints test.
3764 Rename duplicate "kill all one" test to keep test names unique.
3765
3766 2010-03-10 Pedro Alves <pedro@codesourcery.com>
3767
3768 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
3769
3770 2010-03-08 Keith Seitz <keiths@redhat.com>
3771
3772 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
3773 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
3774 (dm_type_long): New function.
3775 (dm_type_unsigned_short): New function.
3776 (dm_type_unsigned_long): New function.
3777 (myint): New typedef.
3778 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
3779 long, unsigned shor and long, operator char*, and typedef.
3780 (test_lookup_operator_functions): Add operator char* test.
3781 (test_paddr_operator_functions): Likewise.
3782 (test_paddr_overloaded_functions): Use probe values for
3783 short, long, and unsigned short and long.
3784 (test_paddr_hairy_functions): If the demangler probe detected
3785 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
3786 demangler.
3787 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
3788 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
3789 and "print null_pmf".
3790 Add test "ptype a.*pmf".
3791 * gdb.cp/overload.exp: Allow optional "int" to appear with
3792 "short" and "long".
3793 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
3794 long expect value for men_overload1arg.
3795 Allow "int" to appear with "short" and "long".
3796 When testing "info break", add argument for main (void).
3797 Also allow "int" to appear with "short" and "long".
3798 Ditto with "unsigned" and "long long".
3799 * gdb.java/jmain.exp: Do not enclose methods names in single
3800 quotes.
3801 * gdb.java/jmisc.exp: Likewise.
3802 * gdb.java/jprint.exp: Likewise.
3803 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
3804
3805 From Jan Kratochvil <jan.kratochvil@redhat.com>:
3806 * gdb.cp/exception.exp (backtrace after first throw)
3807 (backtrace after second throw): Allow a namespace before __cxa_throw.
3808 (backtrace after first catch, backtrace after second catch): Allow
3809 a namespace before __cxa_begin_catch.
3810
3811 * gdb.cp/cpexprs.exp: New file.
3812 * gdb.cp/cpexprs.cc: New file.
3813
3814 From Daniel Jacobowitz <dan@codesourcery.com>
3815 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
3816 to use string_to_regexp.
3817 (ctor, dtor): New functions. Use them to match constructor
3818 and destructor function types.
3819 (Top level): Use runto_main.
3820
3821 2010-03-05 Tom Tromey <tromey@redhat.com>
3822
3823 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
3824 gdb.target_charset.
3825 (pp_ns.to_string): Likewise.
3826
3827 2010-03-04 Keith Seitz <keiths@redhat.com>
3828
3829 * gdb.cp/overload.exp: Test that the filename portion of a linespec
3830 can be quoted. Test that both the filename and function/line
3831 portions can be quoted at the same time.
3832
3833 2010-03-04 Pedro Alves <pedro@codesourcery.com>
3834
3835 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
3836
3837 2010-03-03 Doug Evans <dje@google.com>
3838
3839 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
3840 libc contains libpthread.
3841
3842 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
3843 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
3844 of gdb_compile. Add another pattern to match android backtrace.
3845
3846 2010-03-03 Tom Tromey <tromey@redhat.com>
3847
3848 PR gdb/11345:
3849 * gdb.base/printcmds.exp (test_printf): Add test.
3850
3851 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
3852
3853 * gdb.arch/amd64-byte.exp: New.
3854 * gdb.arch/amd64-dword.exp: Likewise.
3855 * gdb.arch/amd64-pseudo.c: Likewise.
3856 * gdb.arch/amd64-word.exp: Likewise.
3857 * gdb.arch/i386-byte.exp: Likewise.
3858 * gdb.arch/i386-pseudo.c: Likewise.
3859 * gdb.arch/i386-word.exp: Likewise.
3860
3861 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
3862
3863 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
3864 types. Add structreg, bitfields, and flags registers.
3865 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
3866 registers.
3867
3868 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
3869
3870 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
3871 (load_description): Set architecture if defined.
3872
3873 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
3874
3875 * gdb.python/py-frame.exp: Add read_var block tests.
3876 * gdb.python/py-frame.c (block): New function.
3877
3878 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3879 Daniel Jacobowitz <dan@codesourcery.com>
3880
3881 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
3882
3883 2010-02-25 David S. Miller <davem@davemloft.net>
3884
3885 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
3886 fix logic for setting all_syscalls_numbers.
3887
3888 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3889
3890 * Makefile.in: Add py-block and py-symbol.
3891 * gdb.python/py-symbol.exp: New File.
3892 * gdb.python/py-symtab.exp: New File.
3893 * gdb.python/py-block.exp: New File.
3894 * gdb.python/py-symbol.c: New File.
3895 * gdb.python/py-block.c: New File.
3896
3897 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3898
3899 PR python/11314
3900 * lib/gdb.exp (skip_python_tests): New function.
3901 * gdb.python/py-cmd.exp: Use skip_python_tests.
3902 * gdb.python/py-frame.exp: Likewise.
3903 * gdb.python/py-function.exp: Likewise.
3904 * gdb.python/py-prettyprint.exp: Likewise.
3905 * gdb.python/py-template.exp: Likewise.
3906 * gdb.python/py-type.exp: Likewise.
3907 * gdb.python/py-value.exp: Likewise.
3908
3909 2010-02-22 Pedro Alves <pedro@codesourcery.com>
3910
3911 PR9605
3912
3913 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
3914
3915 2010-02-19 Tom Tromey <tromey@redhat.com>
3916
3917 PR c++/8693, PR c++/9496:
3918 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
3919 regression tests.
3920
3921 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3922
3923 Fix compatibility with m68k as.
3924 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
3925 Use only /* comments */.
3926
3927 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3928
3929 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
3930 * configure: Regenerate.
3931
3932 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
3933
3934 * gdb.python/py-type.exp: Check for Python support.
3935
3936 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3937
3938 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
3939 `regsub' syntax available.
3940
3941 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3942
3943 * gdb.base/shmain.c (main): Remove printf call.
3944 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
3945 * gdb.base/unload.c (main): Make format of fprintf a string
3946 literal. Add missing endlines to prints to stderr.
3947 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
3948
3949 2010-02-17 Tom Tromey <tromey@redhat.com>
3950
3951 * gdb.java/jprint.java (jprint.props): New field.
3952 * gdb.java/jprint.exp (set_lang_java): Add regression test.
3953
3954 2010-02-17 Pedro Alves <pedro@codesourcery.com>
3955
3956 * gdb.base/charset.exp: Don't assume new `regsub' syntax
3957 available.
3958
3959 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3960
3961 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
3962 creation to support remote host testing.
3963
3964 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3965
3966 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
3967 Recognize "command not found".
3968
3969 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3970
3971 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
3972 single-stepping.
3973
3974 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3975
3976 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
3977 if arguments are not supported.
3978
3979 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3980
3981 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
3982 be const or non-const.
3983
3984 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3985
3986 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
3987 mi_send_resuming_command to send -exec-continue.
3988
3989 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3990
3991 * gdb.base/list.exp (test_list_filename_and_function): Add test
3992 with single quotes.
3993 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
3994 matching.
3995 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
3996 Add KFAIL'd tests for PR gdb/11289.
3997
3998 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3999
4000 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
4001
4002 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4003
4004 * gdb.base/comp-dir/subdir/dummy.txt: New file.
4005 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
4006 a temporary directory.
4007
4008 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
4009
4010 * gdb.base/charset.exp: Use a single regular expression to match
4011 show host-charset and show target-charset output.
4012
4013 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4014
4015 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
4016 "Illegal process-id" expect string more exact.
4017 (attach to digits-starting nonsense is prohibited): New.
4018
4019 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4020
4021 * gdb.base/prelink.exp (set verbose on): New.
4022
4023 2010-02-12 Tomas Holmberg <th@virtutech.com>
4024
4025 * mi-reverse.exp: New file. Test for reverse option to the
4026 following MI commands: exec-continue, exec-finish, exec-next,
4027 exec-step, exec-next-instruction, exec-step-instruction.
4028
4029 2010-02-09 Joel Brobecker <brobecker@adacore.com>
4030
4031 * gdb.ada/ptype_tagged_param: New testcase.
4032
4033 2010-02-08 Tom Tromey <tromey@redhat.com>
4034
4035 PR c++/8017:
4036 * gdb.cp/overload.exp: Add tests.
4037 * gdb.cp/overload.cc (struct K): New.
4038 (namespace N): New.
4039 (main): Call new functions.
4040 (K::staticoverload): Define.
4041
4042 2010-02-08 Chris Moller <moller@mollerware.com>
4043
4044 PR gdb/10728
4045 * gdb.cp/pr10728-x.h: New file.
4046 * gdb.cp/pr10728-x.cc: New file.
4047 * gdb.cp/pr10728-y.cc: New file.
4048 * gdb.cp/pr10728.exp: New file.
4049 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
4050
4051 2010-02-08 Chris Moller <moller@mollerware.com>
4052
4053 PR gdb/9067
4054 * gdb.cp/pr9067.exp: New
4055 * gdb.cp/pr9067.cc: New
4056 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
4057
4058 2010-02-08 Joel Brobecker <brobecker@adacore.com>
4059
4060 * lib/gdb.exp (gdb_test_timeout): New global variable.
4061 Set it to timeout if not already set.
4062 (gdb_init): Reset the value of timeout to gdb_test_timeout.
4063
4064 2010-02-05 Doug Evans <dje@google.com>
4065
4066 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
4067 user.
4068
4069 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
4070
4071 PR c++/7935:
4072 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
4073
4074 2010-02-04 Tom Tromey <tromey@redhat.com>
4075
4076 * gdb.cp/virtbase.exp: Make test case names unique.
4077
4078 2010-02-02 Tom Tromey <tromey@redhat.com>
4079
4080 * gdb.cp/virtbase.exp: Add regression tests.
4081 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
4082 (main): Instantiate RHC.
4083
4084 2010-02-02 Tom Tromey <tromey@redhat.com>
4085
4086 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
4087 type-printing change.
4088
4089 2010-02-02 Tom Tromey <tromey@redhat.com>
4090
4091 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
4092 * gdb.cp/virtbase.cc: New file.
4093 * gdb.cp/virtbase.exp: New file.
4094 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
4095
4096 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4097
4098 PR libc/11214:
4099 * gdb.threads/current-lwp-dead.c: Include features.h.
4100 (HAS_NOMMU): New.
4101 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
4102
4103 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4104
4105 * gdb.base/symbol-without-target_section.exp,
4106 gdb.base/symbol-without-target_section.c: New.
4107
4108 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4109
4110 * gdb.base/bigcore.exp: Reset increased timeout.
4111 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
4112
4113 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4114
4115 * gdb.base/gcore.exp (capture_command_output): Use
4116 gdb_test_multiple.
4117
4118 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4119
4120 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
4121 * gdb.arch/thumb2-it.exp (test_it_break): New function.
4122 (Top level): Call it.
4123
4124 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
4125
4126 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
4127
4128 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
4129
4130 * gdb.base/call-strs.exp, gdb.base/default.exp,
4131 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
4132 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
4133 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
4134 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
4135 gdb.base/watchpoint-solib.exp: Save and restore timeout.
4136 * gdb.base/ending-run.exp: Correct restore of timeout.
4137 * gdb.base/page.exp: Remove unnecessary timeout setting.
4138
4139 2010-01-29 Joel Brobecker <brobecker@adacore.com>
4140
4141 * gdb.ada/rec_return: New testcase.
4142
4143 2010-01-29 Joel Brobecker <brobecker@adacore.com>
4144
4145 * gdb.ada/call_pn: New testcase.
4146
4147 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
4148
4149 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
4150 (Top level): Use it to resume.
4151 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
4152 the Thumb mode displaced stepping error as unsupported.
4153
4154 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
4155
4156 * gdb.cp/nsusing.exp: Added more tests.
4157 * gdb.cp/nsrecurs.exp: Ditto.
4158 * gdb.cp/nsusing.cc: Added test functions.
4159 * gdb.cp/nsrecurs.cc: Ditto.
4160
4161 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4162
4163 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
4164 absolute directory pathnames in gdb.sum file.
4165
4166 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
4167
4168 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
4169 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
4170
4171 2010-01-26 Tom Tromey <tromey@redhat.com>
4172
4173 PR exp/7643:
4174 * gdb.base/printcmds.exp (test_print_string_constants): Remove
4175 setup_kfail.
4176
4177 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
4178
4179 * gdb.cp/nsrecurs.exp: New test.
4180 * gdb.cp/nsrecurs.cc: New test program.
4181 * gdb.cp/nsstress.exp: New test.
4182 * gdb.cp/nsstress.cc: New test program.
4183 * gdb.cp/nsdecl.exp: New test.
4184 * gdb.cp/nsdecl.cc: New test program.
4185
4186 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
4187
4188 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
4189 imported into file scope.
4190 Marked test as xfail.
4191 * gdb.cp/namespace-using.cc (marker5): New function.
4192 * gdb.cp/shadow.exp: New test.
4193 * gdb.cp/shadow.cc: New test program.
4194 * gdb.cp/nsimport.exp: New test.
4195 * gdb.cp/nsimport.cc: New test program.
4196
4197 2010-01-25 Tom Tromey <tromey@redhat.com>
4198
4199 PR gdb/11049:
4200 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
4201 with "set print null-stop on".
4202
4203 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4204
4205 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
4206 Adjust it for DISASSEMBLY_OMIT_FNAME.
4207
4208 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4209
4210 PR symtab/11199:
4211 * gdb.dwarf2/member-ptr-forwardref.exp,
4212 gdb.dwarf2/member-ptr-forwardref.S: New.
4213
4214 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4215
4216 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
4217 (thread1_func): Protect thread1_tid with thread1_tid_cond by
4218 thread1_tid_mutex. Remove gdbstop_mutex handling.
4219 (thread2_func): Protect thread2_tid with thread2_tid_cond by
4220 thread2_tid_mutex. Remove gdbstop_mutex handling.
4221 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
4222 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
4223 pthread_cond_wait conditionalizations by while loops.
4224
4225 2010-01-20 Tom Tromey <tromey@redhat.com>
4226
4227 PR backtrace/10770:
4228 * gdb.dwarf2/pr10770.exp: New file.
4229 * gdb.dwarf2/pr10770.c: New file.
4230 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
4231
4232 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
4233
4234 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
4235 that target was removed, and the test always runs native anyway.
4236
4237 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4238
4239 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
4240 gdb.base/watchpoint-cond-gone-stripped.c: New.
4241
4242 2010-01-19 Tom Tromey <tromey@redhat.com>
4243
4244 PR c++/8000:
4245 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
4246 existing tests.
4247 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
4248 (main): Use AAA::SomeEnum.
4249
4250 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4251
4252 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
4253 (test_ignore_count): Declare line_callme_body global.
4254 (run to breakpoint with ignore count): Use line_callme_body.
4255 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
4256 (set line_main_hello, set line_main_return): Reindent.
4257 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
4258 New.
4259 (continue to callee4): Use line_callee4_body.
4260 (check *stopped from CLI command): Use line_callee4_next.
4261 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
4262 (set line_main_hello, set line_main_return): Reindent.
4263 (set line_callee4_head, set line_callee4_body): New.
4264 (continue to callee4): Use line_callee4_body.
4265
4266 2010-01-18 Tom Tromey <tromey@redhat.com>
4267
4268 PR c++/9680:
4269 * gdb.cp/casts.cc: Add new classes and variables.
4270 * gdb.cp/casts.exp: Test new operators.
4271
4272 2010-01-18 Tom Tromey <tromey@redhat.com>
4273 Thiago Jung Bauermann <bauerman@br.ibm.com>
4274
4275 * gdb.python/source2.py: New file.
4276 * gdb.python/source1: New file.
4277 * gdb.python/python.exp: Test "source" command.
4278
4279 2010-01-15 Stan Shebs <stan@codesourcery.com>
4280
4281 * gdb.trace/tfile.c: New file.
4282 * gdb.trace/tfile.exp: New file.
4283
4284 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4285
4286 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
4287
4288 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4289
4290 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
4291
4292 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4293
4294 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
4295 (libfunc): New parameter action. Implement also selectable "sleep".
4296 * gdb.base/break-interp-main.c: Include assert.h.
4297 (libfunc): New parameter action.
4298 (main): New parameters argc and argv. Assert argc. Pass argv.
4299 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
4300 (test_attach): New proc.
4301 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
4302 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
4303
4304 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4305
4306 * gdb.base/break-interp.exp (test_core): New proc.
4307 (test_ld): Call it.
4308
4309 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4310
4311 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
4312 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
4313 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
4314 and gdb_compile_shlib. Use new -Wl compiler options.
4315 (dl bt, main bt): New tests.
4316
4317 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4318
4319 Support PIEs with no symfile_objfile.
4320 * gdb.base/break-interp.exp: New argument at the test_ld calls.
4321 (test_ld): New parameter trynosym.
4322 (test_ld <$trynosym>): New block.
4323
4324 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4325
4326 * gdb.base/break-interp.exp: New file.
4327
4328 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
4329
4330 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
4331 * gdb.python/py-prettyprint.py (pp_ls): New printer.
4332 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
4333 test.
4334 * gdb.python/py-prettyprint.c: Define lazystring test structure.
4335 * gdb.python/py-mi.exp: Add lazy string test.
4336
4337 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
4338
4339 * lib/mi-support.exp (mi_check_thread_states): Handle
4340 core number in thread listing.
4341
4342 2010-01-12 Joel Brobecker <brobecker@adacore.com>
4343
4344 * gdb.base/maint.exp: Adjust the expected output for the
4345 "maint print type" test. Use gdb_test_multiple instead of
4346 gdb_sent/gdb_expect.
4347
4348 2010-01-11 Doug Evans <dje@google.com>
4349
4350 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
4351 from gdbserver_download. All callers updated.
4352
4353 * gdb.server/ext-run.exp: "info os processes" requires xml support.
4354
4355 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4356
4357 Implement binary numbers parsing.
4358 * gdb.base/printcmds.exp (test_integer_literals_accepted)
4359 (test_integer_literals_rejected): New binary tests.
4360
4361 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4362
4363 * gdb.cell/configure: Regenerate.
4364
4365 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4366
4367 * gdb.base/corefile.exp: Move the core finding block out and call it as
4368 core_find, new variable $corefile, replace corefile by $corefile and
4369 [file tail $corefile] for usage vs. test names resp.
4370 * lib/gdb.exp (core_find): Move it as a new function here. New
4371 parameter binfile and deletefiles. New variable $destcore. Pre-delete
4372 $destcore. Return "" on error.
4373
4374 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4375
4376 Workaround PR binutils/10802.
4377 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
4378 (twice).
4379
4380 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
4381
4382 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
4383
4384 2010-01-08 Joel Brobecker <brobecker@adacore.com>
4385
4386 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
4387 call, to avoid interruption.
4388
4389 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4390
4391 * gdb.stabs/weird.def (args93): New.
4392
4393 2010-01-07 Doug Evans <dje@google.com>
4394
4395 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
4396
4397 2010-01-07 Tom Tromey <tromey@redhat.com>
4398
4399 * gdb.base/source.exp: Use correct line number.
4400
4401 2010-01-05 Stan Shebs <stan@codesourcery.com>
4402
4403 * gdb.trace/tracecmd.exp: Test ftrace.
4404
4405 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4406
4407 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
4408
4409 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4410
4411 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
4412 "uint_for_mi_testing".
4413
4414 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4415
4416 Test indented comment in file being sourced.
4417 * gdb.base/commands.exp: Test indented comment in file being sourced.
4418
4419 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4420
4421 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
4422 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
4423 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
4424 notice.
4425
4426 2010-01-01 Joel Brobecker <brobecker@adacore.com>
4427
4428 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
4429 notice.
4430
4431 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4432
4433 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
4434 missing $after_stopped and comma (,) expectation.
4435
4436 2009-12-31 Stan Shebs <stan@codesourcery.com>
4437
4438 * gdb.trace/actions.exp: Test teval action.
4439
4440 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4441
4442 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
4443 (top level): Call test_watchpoint_in_big_blob.
4444 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
4445 watchpoints.
4446 (func3): Write to buf.
4447
4448 2009-12-29 Stan Shebs <stan@codesourcery.com>
4449
4450 * gdb.trace/actions.exp: Test default-collect.
4451
4452 2009-12-28 Stan Shebs <stan@codesourcery.com>
4453
4454 * gdb.trace/tsv.exp: New file.
4455 * gdb.base/completion.exp: Update ambiguous info output.
4456
4457 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
4458
4459 * gdb.base/find.c (main): Reference search buffers.
4460 * gdb.base/included.c (main): Reference integer.
4461 * gdb.base/ptype.c (charfoo): Declare.
4462 (intfoo): Call charfoo.
4463 * gdb.base/scope0.c (useitp): New function.
4464 (usestatics): Use useitp.
4465 (useit): Add a type for val.
4466 * gdb.base/scope1.c (useit1): Take a pointer argument.
4467 (usestatics1): Update calls to useit1.
4468 * gdb.cp/call-c.cc: Declare foo.
4469 (main): Call foo.
4470 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
4471 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
4472 (main): Call C::ensureRefs and ensureOtherRefs.
4473 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
4474 variables.
4475 (ensureOtherRefs): New function.
4476 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
4477 * gdb.cp/templates.cc (main): Call t5i.value.
4478
4479 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4480
4481 Fix compatibility with G++-4.5.
4482 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
4483 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
4484 (uncaught return): Remove.
4485
4486 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4487 Phil Muldoon <pmuldoon@redhat.com>
4488
4489 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
4490 (bp_location13, bp_location14, bp_location17, bp_location18)
4491 (marker3_proto, marker4_proto): New variables.
4492 (breakpoint info): Update output.
4493 (run until breakpoint at marker3, run until breakpoint at marker4): New
4494 tests.
4495
4496 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4497
4498 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
4499 Replace the printf call of Y by provided "y-set-1" label. New block
4500 for the second shared library.
4501 * gdb.base/unload.exp: Compile also the second library, call
4502 gdb_load_shlibs also for it. Use now gdb_breakpoint.
4503 (single pending breakpoint info): Rename to ...
4504 (pending breakpoint info before run): ... this extended test.
4505 (libfile2, libname2, libsrcfile2, libsrc2)
4506 (lib_sl2): New variables.
4507 (exec_opts): Set also SHLIB_NAME2.
4508 (pending breakpoint info on first run at shrfunc1)
4509 (pending breakpoint info on second run at shrfunc1)
4510 (pending breakpoint info on second run at shrfunc2)
4511 (print y from libfile, print y from libfile2): New tests.
4512 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
4513 * gdb.base/unloadshr2.c: New.
4514
4515 2009-12-22 Hui Zhu <teawater@gmail.com>
4516
4517 * gdb.reverse/sigall-reverse.exp: Adjust.
4518
4519 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
4520
4521 PR gdb/10884
4522
4523 * gdb.mi/var-cmd.c (do_bitfield_tests): New
4524 (main): Call do_bitfield_tests.
4525 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
4526
4527 2009-12-20 Joel Brobecker <brobecker@adacore.com>
4528
4529 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
4530 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
4531 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
4532 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
4533 gdb.modula2/unbounded1.c: Update copyright header.
4534
4535 2009-12-10 Chris Moller <moller@mollerware.com>
4536
4537 PR gdb/9399
4538 * gdb.cp/virtfunc2.exp: New tests
4539 * gdb.cp/virtfunc2.cc: New tests
4540 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
4541
4542 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
4543
4544 * gdb.reverse/i387-env-reverse.c: New file.
4545 * gdb.reverse/i387-env-reverse.exp: New file.
4546 * gdb.reverse/i387-stack-reverse.c: New file.
4547 * gdb.reverse/i387-stack-reverse.exp: New file.
4548
4549 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
4550
4551 * gdb.python/py-type.exp (test_range): New test.
4552
4553 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
4554
4555 PR python/10805
4556
4557 * gdb.python/py-type.exp: New file.
4558 * gdb.python/py-type.c: New file.
4559 * Makefile.in: Add py-type.
4560
4561 2009-12-03 Tom Tromey <tromey@redhat.com>
4562
4563 * gdb.python/py-value.exp (test_parse_and_eval): New
4564 function.
4565
4566 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
4567
4568 PR gdb/11022
4569
4570 * gdb.base/pr11022.exp: New test.
4571 * gdb.base/pr11022.c: New test.
4572
4573 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4574
4575 Fix spurious false FAILs.
4576 * gdb.base/structs.c (chartest): New.
4577 (main): Fill-in chartest.
4578 * gdb.base/structs.exp (anychar_re, first): New.
4579 (start_structs_test): Import global anychar_re and first.
4580 New gdb_test call "set print elements 300; ${testfile}"
4581 (start_structs_test <$first>): New block.
4582 (any): Import global anychar_re. New variable ac. Use ${ac}.
4583
4584 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4585
4586 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
4587
4588 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4589
4590 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
4591 Force $srcfile file.
4592 * gdb.base/foll-fork.c (callee): Comment out the printf call.
4593
4594 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4595
4596 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
4597 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
4598 * gdb.threads/watchthreads-reorder.exp: Likewise.
4599
4600 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
4601
4602 PR gdb/8704
4603
4604 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
4605 "if", and "thread". Correct matching in the previous test.
4606
4607 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
4608
4609 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
4610
4611 2009-11-23 Michael Snyder <msnyder@vmware.com>
4612
4613 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
4614 * gdb.reverse-watch-precsave.exp: Ditto.
4615
4616 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
4617
4618 * gdb.asm/asm-source.exp: Adjust.
4619 * gdb.base/help.exp: Adjust.
4620
4621 2009-11-22 Pedro Alves <pedro@codesourcery.com>
4622
4623 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
4624 (do_syscall_tests_without_xml): Set data-directory to
4625 /the/path/to/nowhere.
4626
4627 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4628
4629 * gdb.threads/local-watch-wrong-thread.c,
4630 gdb.threads/local-watch-wrong-thread.exp: New files.
4631
4632 2009-11-21 Pedro Alves <pedro@codesourcery.com>
4633
4634 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
4635 assume new `regsub' syntax available.
4636
4637 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4638
4639 * gdb.base/watchpoint-hw-hit-once.exp,
4640 gdb.base/watchpoint-hw-hit-once.c: New.
4641
4642 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4643
4644 * gdb.threads/watchthreads-reorder.exp,
4645 gdb.threads/watchthreads-reorder.c: New.
4646
4647 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
4648
4649 * gdb.xml/tdesc-regs.exp: Use for m68k.
4650
4651 2009-11-15 Pedro Alves <pedro@codesourcery.com>
4652
4653 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
4654
4655 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4656
4657 * lib/gdb.exp (current_target_name): New procedure.
4658 (gdb_wrapper_target): New variable.
4659 (gdb_wrapper_init): Set gdb_wrapper_target.
4660 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
4661 wrapper.
4662
4663 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4664
4665 * gdb.base/remote.exp: Delete the slowest load test.
4666 Do not load with fixed packet sizes.
4667
4668 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4669
4670 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
4671
4672 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4673
4674 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
4675 srcfile when setting a breakpoint.
4676
4677 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
4678
4679 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
4680 macros.
4681
4682 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4683
4684 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
4685 to be in memory.
4686 * gdb.base/display.c (force_mem): New.
4687 (do_loops): Use it. Add breakpoint comments.
4688 (do_vars): Add a breakpoint comment.
4689 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
4690 line numbers.
4691
4692 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
4693
4694 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
4695 instead of a bare "run".
4696
4697 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4698
4699 * gdb.python/py-prettyprint.exp: Adjust.
4700
4701 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4702
4703 * lib/cell.exp (skip_cell_tests): Clean up test files before
4704 returning.
4705
4706 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4707
4708 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
4709 and the breakpoint menu. Do not call perror if a prompt is seen.
4710 Consume the following GDB prompt.
4711 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
4712 * gdb.cp/namespace.exp: Use gdb_test.
4713 * gdb.cp/templates.exp: Use gdb_test.
4714 (test_template_breakpoints): Use gdb_test_multiple.
4715
4716 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4717
4718 * gdb.base/break1.c (struct some_struct, values): Move earlier.
4719 (marker4): Reference values.
4720
4721 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4722
4723 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
4724 is missing.
4725
4726 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4727
4728 * gdb.base/break.c (need_malloc): New.
4729 * gdb.base/constvars.c (main): Reference crass and crisp.
4730 * gdb.base/gdb1821.c (main): Reference bar.
4731 * gdb.cp/gdb1355.cc (main): Reference s1.
4732 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
4733 (main): Call them.
4734 * gdb.cp/hang2.cc (dummy2): Define.
4735 * gdb.cp/hang3.cc (dummy3): Define.
4736 * gdb.cp/m-data.cc (main): Reference shadow.
4737
4738 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4739 Nathan Froyd <froydnj@codesourcery.com>
4740
4741 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
4742 remote host.
4743
4744 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
4745
4746 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
4747 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
4748 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4749 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4750 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4751 * gdb.dwarf2/dw2-producer.exp: Likewise.
4752 * gdb.dwarf2/mac-fileno.exp: Likewise.
4753 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
4754 py-prettyprint.py to the remote host.
4755 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
4756
4757 2009-11-11 Keith Seitz <keiths@redhat.com>
4758
4759 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
4760 use it instead of "Foo".
4761 * gdb.cp/classes.exp (do_tests): Add a test to access
4762 a method through a typedef'd class name.
4763
4764 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
4765
4766 * gdb.base/long_long.exp: Permit leading zeros on floating-point
4767 exponents.
4768 * gdb.base/pointers.exp: Likewise.
4769 * gdb.cp/ref-types.exp: Likewise.
4770
4771 2009-11-11 Keith Seitz <keiths@redhat.com>
4772
4773 * gdb.cp/cplusfuncs.cc (class foo): Add operators
4774 new[] and delete[].
4775 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
4776 "void".
4777 (probe_demangler): Remove all single-quoting of
4778 method and variable names.
4779 (info_func_regexp): Remove the word "void" from any
4780 occurrence of "(void)".
4781 (print_addr_2): Remove all single-quoting of
4782 method names.
4783 (print_addr_2_kfail): Likewise.
4784 (print_addr): Single-quote C function names before
4785 passing to print_addr_2.
4786 (test_paddr_operator_functions): Remove single-quoting
4787 for method names.
4788 Add tests for operator new[] and operator delete[].
4789
4790 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4791
4792 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
4793
4794 2009-11-09 Keith Seitz <keiths@redhat.com>
4795
4796 * gdb.cp/overload.exp: Add tests for resolving overloaded
4797 methods in expression parsing/evaluation.
4798
4799 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
4800
4801 * lib/gdb.exp (default_gdb_version): Use --version instead of
4802 --command.
4803
4804 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
4805
4806 * lib/gdb.exp (gdb_compile_test): New.
4807 (skip_ada_tests, skip_java_tests): New.
4808 (gdb_compile): Use gdb_compile_test for f77.
4809 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
4810 * lib/java.exp (compile_java_from_source): Remove runtests check,
4811 use gdb_compile_test to record result.
4812 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
4813 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
4814 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
4815 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
4816 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
4817 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
4818 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
4819 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
4820 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
4821 adjust gdb_compile invocations.
4822
4823 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4824
4825 * Makefile.in (abs_builddir): New.
4826 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
4827 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
4828 `$(abs_builddir)/site.exp'.
4829
4830 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
4831
4832 * config/m68k-emc.exp, lib/emc-support.exp,
4833 gdb.trace/gdb_c_test.c: Delete.
4834 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
4835 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4836 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4837 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4838 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4839 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
4840 casing for m68k-*-elf.
4841
4842 2009-11-03 Pedro Alves <pedro@codesourcery.com>
4843
4844 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
4845 * gdb.arch/i386-prologue.exp: Likewise.
4846 * gdb.arch/i386-unwind.exp: Likewise.
4847
4848 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4849
4850 * lib/gdb.exp (gdb_expect): Fix timeout typo.
4851
4852 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4853
4854 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
4855
4856 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4857
4858 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
4859
4860 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4861
4862 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
4863
4864 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4865
4866 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
4867 * gdb.base/sepdebug2.c: New file.
4868
4869 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4870
4871 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
4872 the modified warnings for catch syscall. Verify if GDB was compiled
4873 with support for lib expat, and choose which tests to run depending
4874 on this.
4875
4876 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
4877
4878 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
4879 that composite commands are parsed OK. And also test
4880 that breakpoint commands do work.
4881
4882 2009-10-23 Michael Snyder <msnyder@vmware.com>
4883
4884 gdb.reverse/consecutive-precsave.exp: Change expect pattern
4885 to allow for new disassembly style.
4886
4887 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4888
4889 * gdb.asm/asm-source.exp: Adjust.
4890
4891 2009-10-22 Michael Snyder <msnyder@vmware.com>
4892
4893 * gdb.reverse/break-precsave.exp: New test.
4894 * gdb.reverse/consecutive-precsave.exp: Ditto.
4895 * gdb.reverse/finish-precsave.exp: Ditto.
4896 * gdb.reverse/i386-precsave.exp: Ditto.
4897 * gdb.reverse/machinestate-precsave.exp: Ditto.
4898 * gdb.reverse/sigall-precsave.exp: Ditto.
4899 * gdb.reverse/solilb-precsave.exp: Ditto.
4900 * gdb.reverse/step-precsave.exp: Ditto.
4901 * gdb.reverse/until-precsave.exp: Ditto.
4902 * gdb.reverse/watch-precsave.exp: Ditto.
4903
4904 2009-10-22 Michael Snyder <msnyder@vmware.com>
4905
4906 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
4907 for gdb_expect. Adjust one test's expect strings for the new
4908 format of disassemble.
4909 * gdb.reverse/finish-reverse.exp: Delete 'return'.
4910 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
4911 gdb_test_multiple.
4912 * gdb.reverse/step-reverse.exp: Delete 'return'.
4913 * gdb.reverse/until-reverse.exp: Delete blank lines.
4914 * gdb.reverse/watch-reverse.exp: Delete blank lines.
4915
4916 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
4917
4918 * gdb.base/consecutive.exp: Adjust.
4919 * gdb.base/display.exp: Likewise.
4920 * gdb.base/pc-fp.exp: Likewise.
4921 * gdb.base/sigbpt.exp: Likewise.
4922
4923 2009-10-19 Michael Snyder <msnyder@vmware.com>
4924
4925 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
4926 * gdb.reverse/finish-reverse.c: Ditto.
4927 * gdb.reverse/sigall-reverse.c: Ditto.
4928 * gdb.reverse/solib-reverse.c: Ditto.
4929 * gdb.reverse/step-reverse.c: Ditto.
4930 * gdb.reverse/watch-reverse.c: Ditto.
4931
4932 2009-10-19 Pedro Alves <pedro@codesourcery.com>
4933 Stan Shebs <stan@codesourcery.com>
4934
4935 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
4936 * gdb.base/foll-exec.exp: Adjust to expect a process id before
4937 "Executing new program".
4938 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
4939 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
4940 left listed after having been killed.
4941 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
4942 * gdb.base/maint.exp: Adjust test.
4943
4944 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
4945 * gdb.multi/Makefile.in: New.
4946 * gdb.multi/base.exp: New.
4947 * gdb.multi/goodbye.c: New.
4948 * gdb.multi/hangout.c: New.
4949 * gdb.multi/hello.c: New.
4950 * gdb.multi/bkpt-multi-exec.c: New.
4951 * gdb.multi/bkpt-multi-exec.exp: New.
4952 * gdb.multi/crashme.c: New.
4953
4954 2009-10-13 Tristan Gingold <gingold@adacore.com>
4955
4956 * gdb.base/sepdebug.exp: Check debug info are found.
4957
4958 2009-10-08 Pedro Alves <pedro@codesourcery.com>
4959
4960 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
4961 bits.
4962
4963 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4964
4965 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
4966
4967 2009-10-07 Joel Brobecker <brobecker@adacore.com>
4968
4969 * gdb.base/watchpoints.c: Add copyright header. Reformat one
4970 of the comments.
4971
4972 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
4973
4974 * gdb.base/annota1.exp: Remove obsolete match_max increase.
4975 * gdb.base/annota3.exp: Idem.
4976 * gdb.base/maint.exp: Idem.
4977
4978 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
4979
4980 * lib/gdb.exp (default_gdb_init): Set current value of match_max
4981 to default.
4982
4983 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4984
4985 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
4986 mingw and cygwin targets.
4987
4988 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4989 Pedro Alves <pedro@codesourcery.com>
4990
4991 * lib/gdb.exp (gdb_compile): Avoid adding
4992 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
4993
4994 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4995
4996 * gdb.base/shr1.c: Use %p in format string.
4997 * gdb.base/unload.c: Avoid warning in fprintf.
4998 * gdb.base/watchpoint-solib.c: Idem.
4999
5000 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
5001
5002 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
5003 long type.
5004 (test_unlink): Correct printf string.
5005 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
5006 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
5007
5008 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5009
5010 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
5011 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
5012 * gdb.arch/ia64-breakpoint-shadow.S: New file.
5013
5014 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5015
5016 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
5017 * gdb.objc/nondebug.exp: Likewise.
5018
5019 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5020
5021 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
5022 target_info setting.
5023
5024 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
5025 that detect new threads during "info threads".
5026
5027 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5028
5029 * gdb.threads/manythreads.c (main): Increase thread stack size
5030 to 2*PTHREAD_STACK_MIN.
5031 * gdb.threads/multi-create.c (main): Likewise.
5032 (create_function): Likewise.
5033
5034 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5035
5036 * gdb.base/dump.exp: Pass difference of pointer types instead
5037 of integer types as offset to restore in intarr3.srec case.
5038
5039 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5040
5041 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
5042
5043 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5044
5045 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
5046
5047 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
5048
5049 New test for two watchpoints, with disabling of
5050 the first inserted.
5051 * testsuite/gdb.base/watchpoints.c: New file.
5052 * testsuite/gdb.base/watchpoints.exp: New file.
5053
5054 2009-09-25 Tom Tromey <tromey@redhat.com>
5055
5056 * gdb.base/charset.exp: Test utf-16 strings with Python.
5057
5058 2009-09-25 Tom Tromey <tromey@redhat.com>
5059
5060 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
5061 UCS-4.
5062 * gdb.base/charset.c (utf_32_string): Rename.
5063 (init_utf32): Rename.
5064 (main): Update.
5065
5066 2009-09-22 Tom Tromey <tromey@redhat.com>
5067
5068 * gdb.python/py-function.exp: Add regression tests.
5069
5070 2009-09-21 Keith Seitz <keiths@redhat.com>
5071
5072 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
5073 with invalid operator.
5074
5075 2009-09-21 Keith Seitz <keiths@redhat.com>
5076
5077 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
5078 and destructor using typedef name of class.
5079 * gdb.cp/classes.cc (class Base1): Add a destructor.
5080 (base1): New typedef.
5081 (use_methods): Instanitate an object of type base1.
5082 * gdb.cp/templates.exp (test_template_typedef): New procedure.
5083 (do_tests): Call test_template_typedef.
5084 * gdb.cp/templates.cc (Baz::~Baz): New method.
5085 (intBazOne): New typedef.
5086 (main): Instantiate intBazOne.
5087
5088 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5089
5090 PR python/10633
5091
5092 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
5093 Function.
5094 (run_lang_tests): Add print elements test.
5095
5096 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
5097
5098 * gdb.python/py-value.exp (test_subscript_regression): New
5099 function. Test for invalid subscripts.
5100 * gdb.python/py-value.c (main): Add test array, and pointer to it.
5101 (ptr_ref): New function.
5102
5103 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5104
5105 * gdb.base/default.exp: Fix "show convenience".
5106
5107 2009-09-15 Tom Tromey <tromey@redhat.com>
5108
5109 * lib/mi-support.exp (mi_create_varobj): Update.
5110 (mi_create_floating_varobj): Likewise.
5111 (mi_create_dynamic_varobj): New proc.
5112 (mi_varobj_update): Update.
5113 (mi_varobj_update_with_type_change): Likewise.
5114 (mi_varobj_update_kv_helper): New proc.
5115 (mi_varobj_update_dynamic_helper): Rewrite.
5116 (mi_varobj_update_dynamic): New proc.
5117 (mi_list_varobj_children): Update.
5118 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
5119 * gdb.python/python-prettyprint.py (pp_outer): New class.
5120 (pp_nullstr): Likewise.
5121 (lookup_function): Register new printers.
5122 * gdb.python/python-prettyprint.c (struct substruct): New type.
5123 (struct outerstruct): Likewise.
5124 (substruct_test): New function.
5125 (struct nullstr): New type.
5126 (string_1, string_2): New globals.
5127 (main): Add new tests.
5128 * gdb.python/python-mi.exp: Added regression tests.
5129 * gdb.mi/mi2-var-display.exp: Update.
5130 * gdb.mi/mi2-var-cmd.exp: Update.
5131 * gdb.mi/mi2-var-child.exp: Update.
5132 * gdb.mi/mi2-var-block.exp: Update.
5133 * gdb.mi/mi-var-invalidate.exp: Update.
5134 * gdb.mi/mi-var-display.exp: Update.
5135 * gdb.mi/mi-var-cmd.exp: Update.
5136 * gdb.mi/mi-var-child.exp: Update.
5137 * gdb.mi/mi-var-block.exp: Update.
5138 * gdb.mi/mi-break.exp: Update.
5139 * gdb.mi/gdb701.exp: Update.
5140
5141 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
5142
5143 * Makefile.in: Inclusion of catch-syscall object.
5144 * gdb.base/catch-syscall.c: New file.
5145 * gdb.base/catch-syscall.exp: New file.
5146
5147 2009-09-12 Michael Snyder <msnyder@vmware.com>
5148
5149 * gdb.reverse/step-reverse.exp: Explicitly check for targets
5150 that can support reverse debuggnig.
5151
5152 2009-09-11 Tom Tromey <tromey@redhat.com>
5153
5154 * gdb.dwarf2/valop.S: New file.
5155 * gdb.dwarf2/valop.exp: New file.
5156
5157 2009-09-11 Mark Kettenis <kettenis@gnu.org>
5158
5159 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
5160
5161 2009-09-10 Doug Evans <dje@google.com>
5162
5163 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
5164 Add $gdb_prompt to second breakpoint regexp.
5165
5166 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
5167
5168 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
5169 names, add missing ones.
5170 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
5171 * gdb.python/py-frame.c: Rename from python-frame.c.
5172 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
5173 testfile name.
5174 * gdb.python/py-function.exp: Rename from python-function.exp.
5175 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
5176 testfile name.
5177 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
5178 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
5179 Adjust testfile name.
5180 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
5181 * gdb.python/py-template.cc: Rename from python-template.cc.
5182 * gdb.python/py-template.exp: Rename from python-template.exp.
5183 Adjust testfile name.
5184 * gdb.python/py-value.c: Rename from python-value.c.
5185 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
5186 testfile name.
5187
5188 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5189
5190 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
5191 $bpt2address.
5192 (Second breakpoint address is valid on ia64)
5193 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
5194
5195 2009-09-03 Joseph Myers <joseph@codesourcery.com>
5196
5197 * gdb.base/ending-run.exp: Restrict regular expression matching
5198 line number to require closing brace following.
5199
5200 2009-09-03 Doug Evans <dje@google.com>
5201
5202 * gdb.base/store.exp (check_set): Fix typo in expected value message.
5203
5204 2009-09-02 Tom Tromey <tromey@redhat.com>
5205
5206 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
5207
5208 2009-09-02 Tom Tromey <tromey@redhat.com>
5209
5210 * gdb.dwarf2/callframecfa.exp: New file.
5211 * gdb.dwarf2/callframecfa.S: New file.
5212
5213 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5214
5215 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
5216 gdb.base/solib-overlap-main.c: New.
5217
5218 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
5219
5220 PR gdb/10565
5221
5222 * gdb.base/bitfields.c (struct container, container): New.
5223 (main): Initialize it and call break5.
5224 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
5225
5226 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5227
5228 Support constant DW_AT_data_member_location by GCC PR debug/40659.
5229 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
5230
5231 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5232
5233 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
5234
5235 2009-08-26 Michael Snyder <msnyder@vmware.com>
5236
5237 * gdb.base/i386-reverse.c: New file.
5238 * gdb.base/i386-reverse.exp: New file.
5239 * gdb.base/Makefile.in: Add new files to be removed.
5240
5241 2009-08-26 Joseph Myers <joseph@codesourcery.com>
5242
5243 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
5244 environment-pwd for remote host.
5245 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
5246
5247 2009-08-24 Keith Seitz <keiths@redhat.com>
5248
5249 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
5250 Add two new C++ completer tests which limit the output to a
5251 given class.
5252
5253 2009-08-24 Michael Snyder <msnyder@vmware.com>
5254
5255 * gdb.base/del.exp: Fix typo in comment.
5256 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
5257
5258 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
5259
5260 * configure: Regenerate.
5261 * gdb.hp/configure: Likewise.
5262 * gdb.hp/gdb.aCC/configure: Likewise.
5263 * gdb.hp/gdb.base-hp/configure: Likewise.
5264 * gdb.hp/gdb.compat/configure: Likewise.
5265 * gdb.hp/gdb.defects/configure: Likewise.
5266 * gdb.hp/gdb.objdbg/configure: Likewise.
5267 * gdb.stabs/configure: Likewise.
5268
5269 2009-08-19 Doug Evans <dje@google.com>
5270
5271 * gdb.base/gdbvars.c: New file.
5272 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
5273
5274 2009-08-14 Pedro Alves <pedro@codesourcery.com>
5275
5276 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
5277 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
5278
5279 2009-08-13 Pedro Alves <pedro@codesourcery.com>
5280
5281 * gdb.base/default.exp: Adjust "set language test": it's now an
5282 enum command. Larger help string moved to "help set language".
5283 * gdb.base/help.exp: Adjust "help set language" expected output,
5284 now lists all known languages.
5285
5286 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
5287
5288 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
5289 all frame arguments.
5290 * gdb.arch/altivec-regs.exp: Likewise.
5291
5292 2009-08-07 Tom Tromey <tromey@redhat.com>
5293
5294 * gdb.base/setshow.exp: Add tests for changes to set language, set
5295 check range, and set check type.
5296
5297 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
5298
5299 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
5300 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
5301 Call it.
5302
5303 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5304
5305 * configure.ac: Run gdb.cell tests when appropriate.
5306 * configure: Regenerate.
5307 * lib/cell.exp: New file.
5308 * gdb.cell: New directory.
5309 * gdb.cell/configure.ac: New file.
5310 * gdb.cell/configure: New file.
5311 * gdb.cell/Makefile.in: New file.
5312 * gdb.cell/arch.exp: New file.
5313 * gdb.cell/break.c: New file.
5314 * gdb.cell/break.exp: New file.
5315 * gdb.cell/break-spu.c: New file.
5316 * gdb.cell/bt.c: New file.
5317 * gdb.cell/bt2-spu.c: New file.
5318 * gdb.cell/bt-spu.c: New file.
5319 * gdb.cell/bt.exp: New file.
5320 * gdb.cell/coremaker.c: New file.
5321 * gdb.cell/coremaker-spu.c: New file.
5322 * gdb.cell/core.exp: New file.
5323 * gdb.cell/gcore.exp: New file.
5324 * gdb.cell/data.c: New file.
5325 * gdb.cell/data.exp: New file.
5326 * gdb.cell/data-spu.c: New file.
5327 * gdb.cell/ea-cache.exp: New file.
5328 * gdb.cell/ea-cache.c: New file.
5329 * gdb.cell/ea-cache-spu.c: New file.
5330 * gdb.cell/ea-standalone.c: New file.
5331 * gdb.cell/ea-standalone.exp: New file.
5332 * gdb.cell/ea-test.c: New file.
5333 * gdb.cell/ea-test.exp: New file.
5334 * gdb.cell/f-regs.exp: New file.
5335 * gdb.cell/mem-access.c: New file.
5336 * gdb.cell/mem-access.exp: New file.
5337 * gdb.cell/mem-access-spu.c: New file.
5338 * gdb.cell/ptype.exp: New file.
5339 * gdb.cell/registers.exp: New file.
5340 * gdb.cell/size.c: New file.
5341 * gdb.cell/sizeof.exp: New file.
5342 * gdb.cell/size-spu.c: New file.
5343 * gdb.cell/solib.exp: New file.
5344 * gdb.cell/solib-symbol.exp: New file.
5345
5346 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5347
5348 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
5349
5350 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
5351
5352 * gdb.base/float.exp: Handle VFP registers.
5353
5354 2009-07-14 Michael Snyder <msnyder@vmware.com>
5355
5356 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
5357 to bring gdb to the beginning of the calling line.
5358
5359 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
5360 confusing the i386 epilogue unwinder.
5361
5362 2009-07-14 Stan Shebs <stan@codesourcery.com>
5363
5364 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
5365
5366 2009-07-14 Michael Snyder <msnyder@vmware.com>
5367
5368 * gdb.reverse/step-reverse.exp (stepi into function call):
5369 Call instruction may not be first instruction in the line.
5370 (reverse stepi from a function call): Used wrong line number.
5371
5372 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5373
5374 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
5375
5376 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5377
5378 Fix gdb.base/macscp.exp when using custom inputrc.
5379 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
5380 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
5381 env(TERM) set.
5382 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
5383 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
5384
5385 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5386
5387 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
5388 * gdb.base/annota1.exp (thread_test): Import global $testfile.
5389 Change the compilation target to match the testcase name.
5390 * gdb.base/sect-cmd.exp: Change the compilation target to match the
5391 testcase name.
5392 * a2-run.exp: Use for setup prepare_for_testing. Change the
5393 compilation target to match the testcase name.
5394 * gdb.base/commands.exp: Likewise.
5395 * gdb.base/finish.exp: Likewise.
5396 * gdb.base/float.exp: Likewise.
5397 * gdb.base/info-target.exp: Likewise.
5398 * gdb.base/relational.exp: Likewise.
5399 * gdb.base/term.exp: Likewise.
5400 * gdb.base/until.exp: Likewise.
5401 * gdb.base/volatile.exp: Likewise.
5402 * gdb.base/whatis-exp.exp: Likewise.
5403
5404 2009-07-11 Hui Zhu <teawater@gmail.com>
5405
5406 * gdb.base/help.exp (disassemble): Update expected help text.
5407
5408 2009-07-09 Tom Tromey <tromey@redhat.com>
5409
5410 * lib/gdb.exp: Handle TRANSCRIPT.
5411 (remote_spawn, remote_close, send_gdb): New procs.
5412
5413 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
5414
5415 * gdb.python/python-prettyprint.c: Add counted null string
5416 structure.
5417 * gdb.python/python-prettyprint.exp: Print null string. Test for
5418 embedded nulls.
5419 * gdb.python/python-prettyprint.py (pp_ns): New Function.
5420 * gdb.python/python-value.exp (test_value_in_inferior): Add
5421 variable length string fetch tests.
5422 * gdb.python/python-value.c (main): Add strings for string fetch tests.
5423
5424 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5425
5426 * gdb.base/dump.exp (inaccessible memory is reported): New test.
5427
5428 2009-07-07 Tom Tromey <tromey@redhat.com>
5429
5430 * gdb.base/call-rt-st.exp: Update for change to escape output.
5431 * gdb.base/callfuncs.exp: Likewise.
5432 * gdb.base/charset.exp: Likewise.
5433 * gdb.base/constvars.exp: Likewise.
5434 * gdb.base/long_long.exp: Likewise.
5435 * gdb.base/pointers.exp: Likewise.
5436 * gdb.base/printcmds.exp: Likewise.
5437 * gdb.base/setvar.exp: Likewise.
5438 * gdb.base/store.exp: Likewise.
5439 * gdb.cp/ref-types.exp: Likewise.
5440 * gdb.mi/mi-var-child.exp: Likewise.
5441 * gdb.mi/mi-var-display.exp: Likewise.
5442 * gdb.mi/mi2-var-display.exp: Likewise.
5443 * gdb.base/charset.exp: Test octal escape sequence length.
5444 Update for change to escape output.
5445
5446 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5447
5448 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
5449
5450 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
5451
5452 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
5453
5454 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5455
5456 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
5457 gdbserver increasing $portnum if "Can't bind address" has been seen.
5458
5459 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5460
5461 * gdb.base/ending-run.exp: Add "step out of main" pattern for
5462 mingw32ce.
5463
5464 2009-07-05 Pedro Alves <pedro@codesourcery.com>
5465
5466 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
5467 VFP format.
5468
5469 2009-07-02 Pedro Alves <pedro@codesourcery.com>
5470
5471 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
5472 linux. Adjust to use "inferior", "info inferiors", "detach
5473 inferior" and "kill inferior" instead of "restart", "info fork",
5474 "detach fork" and "delete fork".
5475 * gdb.base/ending-run.exp: Spell out "info".
5476 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
5477 the "kill" command.
5478
5479 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5480
5481 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
5482 change to prefix TLS offset in hex with 0x.
5483
5484 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5485
5486 * gdb.base/default.exp: Update test case for "x" changes.
5487
5488 2009-07-01 Tristan Gingold <gingold@adacore.com>
5489
5490 * gdb.base/bigcore.exp: Make darwin untested.
5491
5492 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5493
5494 * gdb.base/completion.exp (directory completion): Create the directory.
5495 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
5496 escapeuniquesub.
5497 (directory completion 2): Expect now ${escapeuniquesub}.
5498 (Glob remaining of directory test): Remove one excessive newline.
5499 Expect the real output.
5500
5501 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5502
5503 Fix `make check//%' target after `make check' has been ran.
5504 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
5505 a mkdir call.
5506 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
5507 (%/.dir): Remove.
5508
5509 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5510
5511 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
5512 the expected result record.
5513
5514 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5515
5516 Remove racy FAILs relying just on the timeouts.
5517 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
5518 (annotation_level 2): Remove racy FAILs.
5519
5520 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
5521
5522 gdb/10275
5523 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
5524
5525 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
5526
5527 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
5528
5529 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
5530
5531 * gdb.mi/mi-stack.exp: Testing symbolic options
5532 to -stack-list-locals and -stack-list-arguments.
5533
5534 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5535
5536 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
5537
5538 2009-06-29 Tom Tromey <tromey@redhat.com>
5539
5540 * dg-extract-results.sh: New file.
5541 * Makefile.in (FORCE_PARALLEL): New variable.
5542 (CHECK_TARGET): New conditional variable.
5543 (check): Use CHECK_TARGET.
5544 (DO_RUNTEST): New variable.
5545 (check-single): New target.
5546 (TEST_DIRS): New variable.
5547 (TEST_TARGETS): Likewise.
5548 (check-parallel): New target.
5549 (check-gdb.%): New pattern.
5550 (BASE1_FILES): New variable.
5551 (BASE2_FILES): Likewise.
5552 (check-gdb.base%): New pattern.
5553 (%/.dir): New pattern.
5554 * configure: Rebuild.
5555 * aclocal.m4 (AM_CONDITIONAL): New defun.
5556 * configure.ac: Check whether user is using GNU make.
5557 (GMAKE): New conditional.
5558
5559 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
5560
5561 * gdb.cp/namespace-nested-import.cc: New test.
5562 * gdb.cp/namespace-nested-import.exp: New test.
5563
5564 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
5565
5566 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
5567 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
5568 * gdb.opt/Makefile.in (EXECUTABLES): Update.
5569 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
5570 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
5571 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
5572 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
5573 gdb.opt/inline-markers.c: New files.
5574 * lib/gdb.exp (skip_inline_frame_tests): New function.
5575 (skip_inline_var_tests): New function.
5576
5577 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
5578
5579 * gdb.cp/exception.exp: Don't require $hex before inner frame in
5580 backtrace.
5581
5582 2009-06-27 Michael Snyder <msnyder@vmware.com>
5583
5584 * gdb.reverse: New directory.
5585 * gdb.reverse/break-reverse.c: New test.
5586 * gdb.reverse/break-reverse.exp: New test.
5587 * gdb.reverse/consecutive-reverse.c: New test.
5588 * gdb.reverse/consecutive-reverse.exp: New test.
5589 * gdb.reverse/finish-reverse.c: New test.
5590 * gdb.reverse/finish-reverse.exp: New test.
5591 * gdb.reverse/machinestate.c: New test.
5592 * gdb.reverse/ms1.c: New test.
5593 * gdb.reverse/machinestate.exp: New test.
5594 * gdb.reverse/Makefile.in: New file.
5595 * gdb.reverse/shr2.c: New test.
5596 * gdb.reverse/solib-reverse.c: New test.
5597 * gdb.reverse/solib-reverse.exp: New test.
5598 * gdb.reverse/step-reverse.c: New test.
5599 * gdb.reverse/step-reverse.exp: New test.
5600 * gdb.reverse/until-reverse.c: New test.
5601 * gdb.reverse/ur1.c: New test.
5602 * gdb.reverse/until-reverse.exp: New test.
5603 * gdb.reverse/watch-reverse.c: New test.
5604 * gdb.reverse/watch-reverse.exp: New test.
5605 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
5606 * configure: Regenerate.
5607
5608 2009-06-26 Doug Evans <dje@google.com>
5609
5610 * gdb.base/psymtab.exp: Turn off pending breakpoints.
5611
5612 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
5613
5614 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
5615 windows problem for 'file delete $binfile'.
5616
5617 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
5618
5619 * gdb.cp/namespace-using.exp: New test.
5620 * gdb.cp/namespace-using.cc: New test.
5621
5622 2009-05-20 Joel Brobecker <brobecker@adacore.com>
5623
5624 * gdb.ada/variant_record_packed_array: New testcase.
5625
5626 2009-06-23 Tom Tromey <tromey@redhat.com>
5627
5628 * gdb.base/charset.exp (test_combination): Regression test.
5629 * gdb.base/charset.c (my_wchar_t): New typedef.
5630 (myvar): New global.
5631 (main): Set myvar.
5632
5633 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
5634
5635 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
5636 target.
5637
5638 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5639
5640 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
5641
5642 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5643
5644 * gdb.mi/gdb680.exp: Update test for error message.
5645
5646 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5647
5648 * gdb.base/annota1.exp: Allow multiple occurrences of the
5649 frames-invalid annotation.
5650 * gdb.cp/annota2.exp: Likewise.
5651
5652 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
5653
5654 * gdb.cp/gdb2495.cc: New file.
5655 * gdb.cp/gdb2495.exp: New file.
5656
5657 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5658
5659 Report error on GDB crash during runto.
5660 * lib/gdb.exp (runto <eof>): New.
5661
5662 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
5663
5664 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
5665 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
5666 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
5667 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
5668 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
5669 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
5670 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
5671 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
5672 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
5673 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
5674 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
5675 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
5676 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
5677 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
5678 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
5679 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
5680 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
5681 gdb.server/server-mon.exp, gdb.server/server-run.exp,
5682 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5683 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5684 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
5685 gdb.trace/passcount.exp, gdb.trace/report.exp,
5686 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
5687 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
5688 gdb.trace/while-stepping.exp: Use a unique name for the compiled
5689 executable.
5690
5691 2009-06-07 Pedro Alves <pedro@codesourcery.com>
5692
5693 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
5694 defined before referencing it.
5695
5696 2009-06-03 Doug Evans <dje@google.com>
5697
5698 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
5699 * gdb.arch/i386-see.c: Ditto.
5700
5701 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
5702
5703 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
5704 (check_macro): Return 1 if undefined.
5705 If first test fails, check if macro debug information is available,
5706 and report unsupported test if no macro information is found.
5707
5708 2009-05-29 Doug Evans <dje@google.com>
5709
5710 * gdb.threads/hand-call-in-threads.exp: New.
5711 * gdb.threads/hand-call-in-threads.c: New.
5712
5713 2009-05-29 Michael Snyder <msnyder@vmware.com>
5714
5715 * gdb.base/break-always.exp: Change "1" to "on".
5716 Add confirmation check.
5717
5718 2009-05-28 Pedro Alves <pedro@codesourcery.com>
5719
5720 * gdb.threads/threxit-hop-specific.c: New.
5721 * gdb.threads/threxit-hop-specific.exp: New.
5722 * gdb.threads/thread-execl.c: New.
5723 * gdb.threads/thread-execl.exp: New.
5724
5725 2009-05-27 Tom Tromey <tromey@redhat.com>
5726 Thiago Jung Bauermann <bauerman@br.ibm.com>
5727
5728 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
5729 (mi_child_regexp): Likewise.
5730 (mi_list_varobj_children_range): Likewise.
5731 (mi_get_features): Likewise.
5732 (mi_list_varobj_children): Rewrite.
5733 * gdb.python/python-mi.exp: New file.
5734
5735 2009-05-27 Tom Tromey <tromey@redhat.com>
5736 Thiago Jung Bauermann <bauerman@br.ibm.com>
5737 Phil Muldoon <pmuldoon@redhat.com>
5738 Paul Pluzhnikov <ppluzhnikov@google.com>
5739
5740 * gdb.python/python-prettyprint.exp: New file.
5741 * gdb.python/python-prettyprint.c: New file.
5742 * gdb.python/python-prettyprint.py: New file.
5743 * gdb.base/display.exp: print/r is now valid.
5744
5745 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
5746 Tom Tromey <tromey@redhat.com>
5747 Pedro Alves <pedro@codesourcery.com>
5748 Paul Pluzhnikov <ppluzhnikov@google.com>
5749
5750 * gdb.python/python-template.exp: New file.
5751 * gdb.python/python-template.cc: New file.
5752 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5753 tests.
5754 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5755 Call it.
5756 (test_value_after_death): New proc.
5757 * gdb.python/python-value.c (PTR): New typedef.
5758 (main): New variable 'x'.
5759
5760 2009-05-27 Tom Tromey <tromey@redhat.com>
5761
5762 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5763 tests.
5764 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5765 Call it.
5766
5767 2009-05-27 Pedro Alves <pedro@codesourcery.com>
5768
5769 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
5770
5771 2009-05-24 Pedro Alves <pedro@codesourcery.com>
5772
5773 * gdb.threads/fork-thread-pending.c: New.
5774 * gdb.threads/fork-thread-pending.exp: New.
5775
5776 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5777
5778 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
5779 * gdb.dwarf2/dw2-strp.S (a_string2): New.
5780
5781 2009-05-18 Jon Beniston <jon@beniston.com>
5782
5783 * gdb.asm/asm-source.exp: Add lm32 target.
5784
5785 2009-05-17 Pedro Alves <pedro@codesourcery.com>
5786
5787 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
5788 `gdb_get_line_number'. Call `callee' in both parent and child.
5789 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
5790 `gdb_get_line_number' instead of hardcoding line numbers.
5791 (catch_fork_unpatch_child): New procedure to test detaching
5792 breakpoints from child fork.
5793 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
5794 hardcoding line numbers.
5795 (do_fork_tests): Run `catch_fork_unpatch_child'.
5796
5797 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
5798
5799 * gdb.mi/mi-cmd-var.exp: Check that when varobj
5800 of structure type enters or leaves the scope, it
5801 is reported by -var-update.
5802
5803 2009-05-11 Doug Evans <dje@sebabeach.org>
5804
5805 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
5806 * gdb.threads/pending-step.c (main): Fix off-by-one error.
5807 * gdb.threads/schedlock.c (main): Fix off-by-one error.
5808
5809 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5810
5811 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
5812
5813 2009-04-30 Doug Evans <dje@google.com>
5814
5815 * gdb.threads/watchthreads2.exp: New testcase.
5816 * gdb.threads/watchthreads2.c: New testcase.
5817
5818 2009-04-29 Doug Evans <dje@google.com>
5819
5820 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
5821 * gdb.cp/mb-ctor.cc: Ditto.
5822 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
5823 * gdb.cp/mb-inline.h (multi_line_foo): New function.
5824 * gdb.cp/mb-inline1.cc: Call it.
5825 * gdb.cp/mb-inline2.cc: Ditto.
5826 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
5827 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
5828
5829 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5830
5831 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
5832 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
5833 Replace all uses of `decimal' by `nonzero'.
5834 (info macro FROM_COMMANDLINE): New test.
5835
5836 2009-04-27 Tom Tromey <tromey@redhat.com>
5837
5838 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
5839
5840 2009-04-27 Doug Evans <dje@google.com>
5841
5842 * gdb.threads/watchthreads.c (main): Initialize args before starting
5843 the threads. Plus formatting cleanup.
5844 * gdb.threads/watchthreads.exp: Avoid errant failures due to
5845 biased scheduling of one thread.
5846
5847 2009-04-27 Jerome Guitton <guitton@adacore.com>
5848
5849 * gdb.cp/templates.cc (GetMax): New template.
5850 (main): Declare two instances of GetMax.
5851 * gdb.cp/templates.exp: Add new test.
5852
5853 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5854
5855 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
5856
5857 2009-04-22 Joseph Myers <joseph@codesourcery.com>
5858
5859 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
5860
5861 2009-04-15 Tom Tromey <tromey@redhat.com>
5862
5863 * gdb.base/charset.exp: Add regression test.
5864
5865 2009-04-14 Joel Brobecker <brobecker@adacore.com>
5866
5867 * gdb.base/exe-lock.exp: New testcase.
5868
5869 2009-04-13 Tom Tromey <tromey@redhat.com>
5870
5871 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
5872 operator on Frame.
5873
5874 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5875
5876 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
5877 * gdb.server/ext-attach.exp: Likewise.
5878
5879 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
5880
5881 Eliminate some sleep usage.
5882
5883 * gdb.mi/basics.c (do_nothing): New.
5884 (main): Use do_nothing instead of printf, so that
5885 not to introduce race condition between output of
5886 inferiour and output of gdb. Do not use sleep as it
5887 is not generally available on embedded targets.
5888
5889 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5890
5891 * gdb.server/ext-attach.exp: Expect an optional process id after
5892 "Detached from remote process".
5893
5894 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5895
5896 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
5897 gdb.dwarf2/dw2-unresolved.exp: New.
5898
5899 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5900
5901 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
5902 mi_run_to_main.
5903
5904 2009-04-02 Pedro Alves <pedro@codesourcery.com>
5905
5906 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
5907 mi_run_to_main. Skip thread exit test on remote targets.
5908 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
5909 mi_run_to_main.
5910 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
5911 mi_run_to_main.
5912 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
5913 when expecting ^connected. Detect when the target doesn't support
5914 non-stop mode.
5915 (mi_run_cmd): Detect if non-stop mode was requested by isn't
5916 supported. Return -1 on error, 0 on success.
5917 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
5918 (mi_runto): Return mi_runto_helper's result explicitly.
5919
5920 2009-04-01 Pedro Alves <pedro@codesourcery.com>
5921
5922 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
5923
5924 2009-04-01 Tom Tromey <tromey@redhat.com>
5925
5926 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
5927 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
5928 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
5929 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
5930
5931 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
5932 Jan Kratochvil <jan.kratochvil@redhat.com>
5933
5934 PR gdb/931
5935 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
5936 output.
5937 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
5938 for gdb/931.
5939 * dw2-strp.S (DW_AT_language): Change to C++.
5940 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
5941
5942 2009-03-31 Joel Brobecker <brobecker@adacore.com>
5943
5944 * gdb.ada/tasks: New testcase.
5945
5946 2009-03-30 Stan Shebs <stan@codesourcery.com>
5947
5948 * gdb.trace/actions.exp: Update to match new info trace format.
5949 * gdb.trace/deltrace.exp: Ditto.
5950 * gdb.trace/infotrace.exp: Ditto.
5951 * gdb.trace/passcount.exp: Ditto.
5952 * gdb.trace/save-trace.exp: Ditto.
5953 * gdb.trace/while-stepping.exp: Ditto.
5954 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
5955
5956 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5957
5958 * gdb.python/python-frame.c: New file.
5959 * gdb.python/python-frame.exp: New file.
5960
5961 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
5962
5963 * gdb.python/python-value.exp: Add tests for the address
5964 attribute.
5965
5966 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
5967
5968 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
5969
5970 2009-03-26 Doug Evans <dje@google.com>
5971
5972 * gdb.mi/mi-nonstop-exit.exp: New file.
5973 * gdb.mi/non-stop-exit.c: New file.
5974
5975 2009-03-26 Tom Tromey <tromey@redhat.com>
5976
5977 Update for change to prologue skipping:
5978 * gdb.mi/mi2-simplerun.exp: Update.
5979 * gdb.mi/mi2-break.exp: Update.
5980 * gdb.mi/mi-simplerun.exp: Update.
5981 * gdb.mi/mi-break.exp: Update.
5982 * gdb.base/ending-run.exp: Update.
5983
5984 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
5985
5986 * gdb.python/python-value.exp (test_value_in_inferior): Test
5987 gdb.Value.is_optimized_out attribute.
5988
5989 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5990
5991 * gdb.dwarf2/dw2-noloc-main.c: New file.
5992 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
5993 (.text): Remove.
5994 (.data): New.
5995 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
5996 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
5997 (DW_TAG_subprogram func_cu1, noloc): Remove.
5998 (main): New.
5999 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
6000 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
6001 (file_symbols): New procedure.
6002
6003 2009-03-25 Tom Tromey <tromey@redhat.com>
6004
6005 * gdb.base/charset.exp (valid_target_charset): New proc.
6006 Use it to skip tests on invalid charsets.
6007
6008 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
6009
6010 * gdb.base/completion.exp: Add a test for directory completion.
6011
6012 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6013
6014 Fix a racy FAIL.
6015 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
6016 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
6017
6018 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
6019
6020 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
6021 * gdb.python/python-function.exp: Add test for function returning
6022 a GDB value.
6023
6024 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
6025
6026 * gdb.python/python-function.exp: New file.
6027
6028 2009-03-20 Tom Tromey <tromey@redhat.com>
6029
6030 * gdb.base/store.exp: Update for change to escape output.
6031 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
6032 to escape output.
6033 * gdb.base/pointers.exp: Update for change to escape output.
6034 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
6035 to escape output.
6036 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
6037 escape output.
6038 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
6039 to escape output.
6040 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
6041 escape output.
6042 * gdb.base/setvar.exp: Update for change to escape output.
6043 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
6044 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
6045 to escape output.
6046 (test_print_string_constants): Likewise.
6047 * gdb.base/charset.exp (valid_host_charset): Check size of
6048 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
6049 cases. Handle "auto"-related output.
6050 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
6051 (uvar, Uvar): New globals.
6052
6053 2009-03-19 Jerome Guitton <guitton@adacore.com>
6054
6055 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
6056 deltas.
6057 * gdb.ada/fixed_points.exp: Ditto.
6058
6059 2009-03-18 Pedro Alves <pedro@codesourcery.com>
6060
6061 * return-nodebug.c: Don't include stdio.h.
6062 (init): Delete.
6063 (func): Delete definition and provide extern declaration.
6064 (t): New.
6065 (main): Don't call printf. Call func and store its result in t.
6066 * return-nodebug1.c: New.
6067 * return-nodebug.exp: Don't expect stdio output. Instead, print
6068 the global variable t. Drop printf formatters and cast types from
6069 foreach loop. Don't use prepare_for_testing. Compile
6070 return-nodebug.c and return-nodebug1.c in separate steps. Don't
6071 define FORMAT or CAST.
6072
6073 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6074
6075 * gdb.base/solib-display.exp: Disable test for remote targers.
6076
6077 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6078
6079 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
6080
6081 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6082
6083 Fix a racy FAIL.
6084 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
6085 code from `follow parent, print pids'.
6086 (`follow child, print pids', `follow parent, print pids'): Call it.
6087 Replace `gdb_test "break..."' by gdb_breakpoint.
6088
6089 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
6090
6091 * gdb.mi/mi-cli.exp: Adjust for output difference in
6092 sync and async modes.
6093
6094 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6095
6096 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
6097 that was checked in by mistake. Remove loading of ada.exp, since
6098 this is not necessary in this case.
6099
6100 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6101
6102 * gdb.ada/ptype_arith_binop.exp: New testcase.
6103
6104 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6105
6106 * gdb.ada/mod_from_name: New testcase.
6107
6108 2009-03-12 Joel Brobecker <brobecker@adacore.com>
6109
6110 * gdb.ada/tick_last_segv: New testcase.
6111
6112 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6113
6114 * gdb.mi/mi-cli.exp: Remove debug print.
6115
6116 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
6117
6118 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
6119 include the token in ^running and frame info in *stopped.
6120
6121 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6122
6123 * solib-display.exp: New file.
6124 * solib-display-main.c: New file.
6125 * solib-display-lib.c: New file.
6126
6127 2009-03-05 Pedro Alves <pedro@codesourcery.com>
6128
6129 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
6130
6131 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6132
6133 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
6134 (list_and_check_macro): Use more specific test name.
6135 (next to definition): Make the test names unique.
6136
6137 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
6138
6139 * gdb.pascal/floats.exp: Accept approximate results everywhere.
6140
6141 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6142
6143 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
6144 notifications.
6145 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
6146 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
6147 * lib/mi-support.exp (library_loaded_re): New.
6148 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
6149
6150 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
6151
6152 * gdb.gdb/observer.exp: Use test_notification observer, not
6153 normal_stop, everywhere.
6154 (test_normal_stop_notifications): Rename to...
6155 (test_notifications): ...this.
6156 (test_observer_normal_stop): Rename to...
6157 (test_observer): ...this.
6158
6159 2009-02-16 Doug Evans <dje@google.com>
6160
6161 * gdb.arch/amd64-disp-step.S (test_int3): New test.
6162 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
6163 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
6164 (test_prefixed_syscall,test_int3): New tests.
6165 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
6166 (test_prefixed_syscall,test_int3): New tests.
6167
6168 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
6169
6170 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
6171 (mi_expect_interrupt): Likewise.
6172 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
6173 response.
6174
6175 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6176
6177 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
6178 * gdb.base/pc-fp.exp (get_valueofx): Remove.
6179 Replace calls to get_valueofx by get_hexadecimal_valueof.
6180
6181 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
6182
6183 * lib/gdb.exp (get_valueof): Accept anything as a return value.
6184 (get_integer_valueof): New procedure.
6185 (get_sizeof): Use new get_integer_value_of.
6186 * gdb.base/sizeof.exp: Replace all uses of get_valueof
6187 by get_integer_valueof.
6188
6189 2009-02-13 Tom Tromey <tromey@redhat.com>
6190
6191 * gdb.base/remote.exp (get_sizeof): Remove.
6192 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
6193 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
6194 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
6195 * lib/gdb.exp (get_valueof): Move from long_long.exp.
6196 (get_sizeof): Likewise.
6197
6198 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6199
6200 PR fortran/9806
6201 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
6202
6203 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6204
6205 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
6206
6207 2009-02-06 Pedro Alves <pedro@codesourcery.com>
6208
6209 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
6210
6211 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6212
6213 * gdb.python/python-cmd.exp: New file.
6214
6215 2009-02-06 Tristan Gingold <gingold@adacore.com>
6216
6217 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
6218
6219 2009-02-05 Tristan Gingold <gingold@adacore.com>
6220
6221 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
6222 pointer is dereferenced and use this signal name in regexp.
6223 * gdb.base/signull.exp: Ditto.
6224 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
6225 * gdb.base/signull.c (main): Ditto.
6226
6227 2009-02-04 Tom Tromey <tromey@redhat.com>
6228 Thiago Jung Bauermann <bauerman@br.ibm.com>
6229
6230 * gdb.python/python-value.exp: Use `gdb.history' instead of
6231 `gdb.value_from_history'.
6232 (test_value_numeric_ops): Add test for conversion of enum constant.
6233 * gdb.python/python-value.c (enum e): New type.
6234 (evalue): New global.
6235 (main): Use argv.
6236
6237 2009-02-04 Jerome Guitton <guitton@adacore.com>
6238
6239 * gdb.ada/uninitialized_vars: New test program.
6240 * gdb.ada/uninitialized_vars.exp: New testcase.
6241
6242 2009-02-02 Tom Tromey <tromey@redhat.com>
6243
6244 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
6245 * gdb.cp/pr2489.cc: Rename...
6246 * gdb.cp/pr9594.cc: ... to this.
6247
6248 2009-02-02 Tom Tromey <tromey@redhat.com>
6249
6250 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
6251 * gdb.cp/pr2489.cc: New file.
6252 * gdb.cp/cpcompletion.exp: New file.
6253
6254 2009-02-02 Tom Tromey <tromey@redhat.com>
6255
6256 PR exp/9059:
6257 * gdb.cp/call-c.exp: Add regression test.
6258 * gdb.cp/call-c.cc (FooHandle): New typedef.
6259 (main): New variable 'handle'.
6260
6261 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6262
6263 * lib/mi-support.exp (et_mi_thread_list)
6264 (check_mi_and_console_threads): Adjust for current thread in
6265 -thread-list-ids output.
6266
6267 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
6268
6269 * gdb.mi/mi-break.exp (test_disabled_creation): New.
6270 Call it.
6271
6272 2009-01-28 Doug Evans <dje@google.com>
6273
6274 * gdb.arch/amd64-disp-step.S: New file.
6275 * gdb.arch/amd64-disp-step.exp: New file.
6276 * gdb.arch/i386-disp-step.S: New file.
6277 * gdb.arch/i386-disp-step.exp: New file.
6278
6279 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
6280
6281 * gdb.base/find.exp: Set newline variable
6282 using quotes instead of braces to fix cygwin failures.
6283
6284 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6285
6286 * gdb.base/radix.exp: Add tests to ensure that that set
6287 input-radix 0 and set output-radix 0 are really rejected.
6288
6289 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6290
6291 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
6292 copyright years.
6293
6294 2009-01-23 Pedro Alves <pedro@codesourcery.com>
6295
6296 PR gdb/9664:
6297 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
6298
6299 2009-01-22 Pedro Alves <pedro@codesourcery.com>
6300
6301 PR c++/9631:
6302 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
6303
6304 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
6305
6306 * gdb.server/file-transfer.exp: Use EXEEXT variable for
6307 binfile definition to fix Windows OS failure.
6308
6309 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
6310
6311 PR gdb/9346
6312 * gdb.base/interrupt.c (sigint_handler): New.
6313 (main): Install a SIGINT handler if SIGNALS is defined. Exit
6314 on error.
6315 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
6316 Test "signal SIGINT".
6317
6318 2009-01-19 Doug Evans <dje@google.com>
6319
6320 * gdb.base/break.exp: Update expected gdb output.
6321 * gdb.base/sepdebug.exp: Ditto.
6322 * gdb.mi/mi-syn-frame.exp: Ditto.
6323 * gdb.mi/mi2-syn-frame.exp: Ditto.
6324 * gdb.base/call-signal-resume.exp: New file.
6325 * gdb.base/call-signals.c: New file.
6326 * gdb.base/unwindonsignal.exp: New file.
6327 * gdb.base/unwindonsignal.c: New file.
6328 * gdb.threads/interrupted-hand-call.exp: New file.
6329 * gdb.threads/interrupted-hand-call.c: New file.
6330 * gdb.threads/thread-unwindonsignal.exp: New file.
6331
6332 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
6333
6334 * gdb.base/define.exp: Test defining and hooking prefix commands.
6335 * gdb.python/python.exp: Update test for "show user" output.
6336
6337 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6338
6339 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
6340 now the output exactly, using less wildcards. Expect also the output
6341 of gfortran-4.3. Update for the f-valprint.c modification from
6342 2008-04-22.
6343 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
6344 Remove gdb_test test names where matching the command.
6345
6346 2009-01-01 Pedro Alves <pedro@codesourcery.com>
6347
6348 PR breakpoints/9681:
6349 * gdb.base/watchpoint.exp: Add regression test.
6350
6351 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6352
6353 * gdb.threads/attach-into-signal.exp: Don't use
6354 gdb_suppress_entire_file.
6355 * gdb.threads/attach-stopped.exp: Ditto.
6356 * gdb.threads/attachstop-mt.exp: Ditto.
6357
6358 2008-12-31 Pedro Alves <pedro@codesourcery.com>
6359
6360 PR gdb/8812:
6361 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
6362
6363 2008-12-29 Pedro Alves <pedro@codesourcery.com>
6364
6365 PR gdb/7536:
6366 * gdb.base/radix.exp: Add tests to ensure invalid input radices
6367 and unsupported output radices are really rejected.
6368
6369 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6370
6371 * gdb.cp/punctuator.exp: Backslash the '$' signs.
6372
6373 2008-12-22 Tom Tromey <tromey@redhat.com>
6374
6375 * gdb.cp/punctuator.exp: New file.
6376
6377 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6378
6379 * gdb.base/completion.exp (Completing non-existing component): New test.
6380
6381 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6382
6383 Fix for PR gdb/8648.
6384 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
6385 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
6386 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
6387 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
6388
6389 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6390
6391 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
6392
6393 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
6394
6395 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
6396 compiler actually generate code at the expected line number.
6397
6398 2008-12-15 Jie Zhang <jie.zhang@analog.com>
6399
6400 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
6401
6402 2008-12-12 Tom Tromey <tromey@redhat.com>
6403
6404 * gdb.base/commands.exp (redefine_hook_test): New proc.
6405 Call it.
6406
6407 2008-12-11 Tom Tromey <tromey@redhat.com>
6408
6409 * gdb.base/macscp.exp: New regression test.
6410
6411 2008-12-11 Tom Tromey <tromey@redhat.com>
6412
6413 * gdb.base/macscp.exp: Print "address.addr".
6414 * gdb.base/macscp1.c (struct outer): New struct.
6415 (address): New global.
6416
6417 2008-12-09 Tom Tromey <tromey@redhat.com>
6418
6419 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
6420 Call it.
6421
6422 2008-12-04 Doug Evans <dje@google.com>
6423
6424 * gdb.server/ext-run.exp: Relax regexp for init program.
6425
6426 2008-12-03 Tristan Gingold <gingold@adacore.com>
6427
6428 * gdb.base/macscp.exp: Generate an object file during compilation
6429 to work around Darwin dsymutil limitations.
6430
6431 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6432
6433 Test resolving external references to TLS variables.
6434 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
6435 FILE2_THREAD_LOCAL.
6436 (testfile2, srcfile2): New variables.
6437 * gdb.threads/tls.c (file2_thread_local)
6438 (function_referencing_file2_thread_local): New.
6439 * gdb.threads/tls2.c: New file.
6440
6441 2008-11-28 Joel Brobecker <brobecker@adacore.com>
6442
6443 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
6444 rather than integer, as integer might not be big enough when
6445 on 64bit targets.
6446
6447 2008-11-27 Jerome Guitton <guitton@adacore.com>
6448
6449 * gdb.cp/formatted-ref.exp: Add equality test.
6450 * gdb.ada/formatted_ref.exp: Ditto.
6451
6452 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6453
6454 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
6455 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
6456
6457 2008-11-20 Andreas Schwab <schwab@suse.de>
6458
6459 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
6460 matching syscall entry point.
6461 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
6462 (tcatch_vfork_then_child_follow): Likewise. Finish through
6463 vfork even if we stopped at the syscall trampoline.
6464
6465 2008-11-20 Doug Evans <dje@google.com>
6466
6467 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
6468
6469 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
6470
6471 * gdb.arch/ppc-dfp.exp: New file.
6472 * gdb.arch/ppc-dfp.c: New file.
6473
6474 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6475
6476 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
6477
6478 2008-11-17 Doug Evans <dje@google.com>
6479
6480 * gdb.mi/mi-syn-frame.exp: Update expected output.
6481 * gdb.mi/mi2-syn-frame.exp: Update expected output.
6482
6483 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6484
6485 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
6486 "thread N" results in =thread-selected.
6487 * lib/mi-support (mi_run_cmd, mi_expect_stop)
6488 (mi_send_resuming_command_raw): Be prepared for
6489 =thread-selected.
6490
6491 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
6492
6493 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
6494 * lib/mi-support.exp: Likewise.
6495
6496 2008-11-16 Joel Brobecker <brobecker@adacore.com>
6497
6498 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
6499 commands from the expected output for "help catch".
6500
6501 2008-11-15 Joel Brobecker <brobecker@adacore.com>
6502
6503 * gdb.ada/int_deref.exp: New testcase.
6504
6505 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
6506
6507 * gdb.mi/gdb2549.exp: New file.
6508
6509 2008-11-11 Doug Evans <dje@google.com>
6510
6511 * gdb.base/callexit.exp: New file.
6512 * gdb.base/callexit.c: New file.
6513
6514 2008-11-10 Doug Evans <dje@google.com>
6515
6516 * lib/gdb.exp (GDBFLAGS): Move -nx ...
6517 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
6518 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
6519 (default_gdb_start,default_gdb_exit): Ditto.
6520 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
6521 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
6522 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
6523 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
6524 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
6525 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
6526
6527 2008-11-03 Andreas Schwab <schwab@suse.de>
6528
6529 * gdb.base/hashline2.exp: Fix typo.
6530 * gdb.base/hashline3.exp: Likewise.
6531
6532 2008-10-30 Tom Tromey <tromey@redhat.com>
6533
6534 * gdb.base/pointers.exp: Add test.
6535 * gdb.base/pointers.c (k, S): New typedefs.
6536 (instance): New global.
6537
6538 2008-10-30 Andreas Schwab <schwab@suse.de>
6539
6540 * gdb.base/args.exp: Add tests for newlines.
6541
6542 2008-10-30 Joel Brobecker <brobecker@adacore.com>
6543
6544 gdb.base/foll-exec.exp: Update the expected output of a couple
6545 of "info breakpoints" tests.
6546
6547 2008-10-28 Tom Tromey <tromey@redhat.com>
6548
6549 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
6550
6551 2008-10-24 Pedro Alves <pedro@codesourcery.com>
6552
6553 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
6554 gdb_start_cmd.
6555 Use runto_main before any test that requires execution.
6556
6557 2008-10-23 Pedro Alves <pedro@codesourcery.com>
6558
6559 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
6560 instead of SIGINT.
6561
6562 2008-10-22 Joel Brobecker <brobecker@adacore.com>
6563
6564 * gdb.base/completion.exp: Update expected output following
6565 the addition of the "info tasks" command.
6566
6567 2008-10-22 Tom Tromey <tromey@redhat.com>
6568
6569 * gdb.base/exprs.exp (test_expr): Add test for string
6570 concatenation.
6571
6572 2008-10-19 Pedro Alves <pedro@codesourcery.com>
6573
6574 * configure.ac: Output gdb.python/Makefile.
6575 * configure: Regenerate.
6576 * gdb.python/Makefile.in: New.
6577
6578 2008-10-16 Joel Brobecker <brobecker@adacore.com>
6579
6580 * gdb.base/foll-fork.exp: Adjust the expected output to match
6581 the new description for fork/vfork catchpoints in the "info
6582 breakpoints" output.
6583
6584 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
6585
6586 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
6587
6588 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6589
6590 * gdb.python/python-value.c: New file.
6591 * gdb.python/python-value.exp: New file.
6592
6593 2008-10-15 Pedro Alves <pedro@codesourcery.com>
6594
6595 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
6596
6597 2008-10-15 Denis Pilat <denis.pilat@st.com>
6598
6599 * gdb.cp/mb-ctor.exp: Fix a typo.
6600
6601 2008-10-09 Tom Tromey <tromey@redhat.com>
6602
6603 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
6604 'fprintf' and 'stderr'.
6605
6606 2008-10-07 Joel Brobecker <brobecker@adacore.com>
6607
6608 * gdb.ada/ref_tick_size.exp: New testcase.
6609
6610 2008-10-06 Doug Evans <dje@google.com>
6611
6612 * gdb.dwarf2/dw2-cu-size.exp: New file.
6613 * gdb.dwarf2/dw2-cu-size.S: New file.
6614
6615 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
6616 .Ltype_int for clarity.
6617
6618 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6619
6620 PR gdb/2384:
6621 * gdb.cp/gdb2384.exp: Extended to test more cases.
6622 * gdb.cp/gdb2384.cc: Likewise.
6623 * gdb.cp/gdb2384-base.h: Likewise.
6624 * gdb.cp/gdb2384-base.cc: Likewise.
6625
6626 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6627
6628 * gdb.base/maint.exp (maint print type): Remove printing
6629 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
6630
6631 2008-09-30 Tom Tromey <tromey@redhat.com>
6632
6633 * gdb.base/macscp.exp: Add completion tests.
6634 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
6635 (TWENTY_THREE): Likewise.
6636 (FORTY_EIGHT): Likewise.
6637
6638 2008-09-30 Tom Tromey <tromey@redhat.com>
6639
6640 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
6641 everywhere.
6642 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
6643
6644 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6645
6646 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
6647 testcase is derived from. Fix racy dependency on an expected PID
6648 number. No longer support the testcase on Linux kernel 2.4.x.
6649
6650 2008-09-27 Tom Tromey <tromey@redhat.com>
6651
6652 * gdb.base/macscp.exp: Add tests for stringification, splicing,
6653 and varargs.
6654
6655 2008-09-22 Pedro Alves <pedro@codesourcery.com>
6656
6657 * lib/mi-support.exp (mi_expect_interrupt): New.
6658 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
6659 from gdb.mi/mi-nonstop.exp.
6660 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
6661 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
6662 lib/mi-support.exp.
6663 Use mi_check_thread_states throughout. Avoid ".*" and do not
6664 require an anchor after -exec-run.
6665
6666 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
6667
6668 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
6669 stop is pending. Avoid ".*" when two stops are pending.
6670 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
6671 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
6672 newlines in fullnames.
6673 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
6674 (mi_expect_stop): Update comments. Only anchor in sync mode.
6675 Do not match newlines.
6676 (mi_send_resuming_command_raw): Always return status.
6677 (mi_get_stop_line): Do not match more than one line by accident.
6678 Only anchor in sync mode.
6679 (mi_run_inline_test): If -exec-next fails, give up.
6680
6681 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6682
6683 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
6684 on SPU.
6685
6686 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6687
6688 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
6689
6690 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6691
6692 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
6693 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6694 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
6695 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6696 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
6697 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
6698 gdb.ada/interface.exp, gdb.ada/null_array.exp,
6699 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6700 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6701 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6702 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
6703 Include the "= " sequence in the expected output of print tests.
6704
6705 2008-09-10 Joel Brobecker <brobecker@adacore.com>
6706
6707 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
6708 description for boolean types.
6709
6710 2008-09-09 Pedro Alves <pedro@codesourcery.com>
6711
6712 * gdb.base/hook-stop-continue.c: New.
6713 * gdb.base/hook-stop-continue.exp: New.
6714
6715 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6716
6717 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
6718
6719 2008-09-08 Jerome Guitton <guitton@adacore.com>
6720
6721 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
6722 (stack_check_probe_2, stack_check_probe_loop_1)
6723 (stack_check_probe_loop_2): New functions.
6724 (main): Add call to these new functions.
6725 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
6726 functions, check that the breakpoint is inserted at the appropriate
6727 location.
6728 (insert_breakpoint): Slightly refine this procedure so that it can
6729 be called several times in the test.
6730
6731 2008-09-08 Jerome Guitton <guitton@adacore.com>
6732
6733 * gdb.base/stack-checking.c: New file.
6734 * gdb.base/stack-checking.exp: New file.
6735
6736 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6737
6738 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
6739 * gdb.arch/altivec-regs.exp: Likewise.
6740 * gdb.arch/vsx-regs.exp: Likewise.
6741
6742 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6743
6744 * gdb.arch/ppc-fp.exp: New file.
6745 * gdb.arch/ppc-fp.c: New file.
6746
6747 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6748
6749 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
6750 lest gcc-4.3.1 optimizes the whole thing away.
6751
6752 2008-09-04 Michael Snyder <msnyder@vmware.com>
6753
6754 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
6755 as "at" (for non-debug functions such as _start).
6756
6757 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6758
6759 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
6760 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
6761 software watchpoints.
6762 * gdb.base/watch_thread_num.exp: Likewise.
6763
6764 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
6765
6766 * gdb.arch/i386-bp_permanent.exp: New test.
6767
6768 2008-08-24 Tom Tromey <tromey@redhat.com>
6769
6770 * gdb.base/maint.exp: Update "maint print type".
6771
6772 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
6773
6774 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
6775 support. Adjust the order of "*running" notifications.
6776 * gdb.mi/non-stop.c: Don't cast from int to void* and
6777 back.
6778
6779 2008-08-20 Mark Kettenis <kettenis@gnu.org>
6780
6781 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
6782 expect to find it in the "info frame" output.
6783
6784 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
6785
6786 * gdb.base/interp.exp: Always consume both prompts.
6787
6788 2008-08-20 Pedro Alves <pedro@codesourcery.com>
6789
6790 * gdb.base/pending.exp: Test pending breakpoints without symbols
6791 loaded.
6792
6793 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6794
6795 * lib/mi-support.exp (mi_expect_stop): Produce
6796 more details on failures.
6797 * gdb.mi/mi-nonstop.exp: New.
6798 * gdb.mi/non-stop.c: New.
6799
6800 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6801
6802 * gdb.mi/mi-async.exp: Use 'set target-async'.
6803 * lib/mi-support.exp: Use 'set/show target-async'.
6804
6805 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
6806
6807 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
6808
6809 2008-08-17 Tom Tromey <tromey@redhat.com>
6810
6811 * gdb.base/help.exp (help catch): Rewrite.
6812
6813 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6814
6815 * gdb.base/define.exp: Test indented command documentation.
6816 * gdb.python/python.exp: Test indented multi-line command.
6817
6818 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
6819
6820 * testsuite/gdb.arch/vsx-regs.c: New source file.
6821 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
6822 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
6823
6824 2008-08-14 Tom Tromey <tromey@redhat.com>
6825
6826 * gdb.base/macscp.exp: Add regression test for "macro define" or
6827 "macro undef" with no arguments.
6828
6829 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6830
6831 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
6832
6833 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6834
6835 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
6836
6837 2008-08-06 Tom Tromey <tromey@redhat.com>
6838
6839 * gdb.python/python.exp: New file.
6840
6841 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6842
6843 Fix for PR gdb/1543.
6844 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
6845 $LOCATION.
6846 (location): New variable.
6847 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
6848 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
6849 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
6850 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
6851 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
6852 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
6853 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
6854 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
6855 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
6856 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
6857 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
6858 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
6859 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
6860 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
6861 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6862 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
6863 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
6864 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
6865 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
6866 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
6867 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
6868 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
6869 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
6870 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
6871 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
6872 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
6873 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
6874 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
6875 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
6876 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
6877 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
6878 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
6879 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
6880 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
6881 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
6882 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
6883 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
6884 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
6885 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
6886 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
6887 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
6888 gdb.base/type-opaque.exp, gdb.base/until.exp,
6889 gdb.base/value-double-free.c, gdb.base/varargs.exp,
6890 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
6891 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
6892 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
6893 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
6894 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
6895 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
6896 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
6897 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6898 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
6899 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
6900 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
6901 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
6902 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
6903 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
6904 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
6905 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
6906 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
6907 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
6908 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
6909 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
6910 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
6911 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
6912 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
6913 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
6914 gdb.pascal/types.exp, gdb.stabs/weird.exp,
6915 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
6916 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
6917 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
6918 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
6919 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
6920 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
6921 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6922 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
6923 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6924 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
6925 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6926 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
6927 lib/mi-support.exp, lib/trace-support.exp: Remove reference
6928 to bug-gdb@prep.ai.mit.edu .
6929
6930 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
6931
6932 * lib/mi-support.exp (mi_load_shlibs): New.
6933 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
6934
6935 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
6936
6937 * lib/mi-support.exp (get_mi_thread_list)
6938 (check_mi_and_console_threads): New, moved from ...
6939 * gdb.mi/mi-pthread.exp: ...here.
6940 * gdb.mi/gdb669.exp (get_mi_thread_list)
6941 (check_mi_and_console_threads): Delete.
6942 * gdb.mi/mi2-pthread.exp: Likewise.
6943
6944 2008-07-28 Tom Tromey <tromey@redhat.com>
6945
6946 * Makefile.in (just-check): Remove. Move body to...
6947 (check): ... here.
6948
6949 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6950
6951 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
6952 Add a test for duplicated SIGINTs.
6953
6954 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6955
6956 * gdb.threads/schedlock.exp (get_args): Update to work for any
6957 value of NUM.
6958 (Top level): Report the number of threads that did not resume.
6959
6960 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6961
6962 * gdb.dwarf2/dw2-compressed.S: Also define __start.
6963
6964 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6965
6966 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
6967 non-MI prompt.
6968
6969 2008-07-26 Tom Tromey <tromey@redhat.com>
6970
6971 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
6972 (function_struct, function_struct_ptr): New globals.
6973 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
6974 function pointer in a struct.
6975
6976 2008-07-26 Tom Tromey <tromey@redhat.com>
6977
6978 * gdb.base/macscp.exp: Add test for macro lexing bug.
6979
6980 2008-07-18 Tom Tromey <tromey@redhat.com>
6981
6982 * gdb.base/macscp.exp: Add macro tests.
6983
6984 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6985
6986 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
6987
6988 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6989
6990 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
6991
6992 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
6993
6994 * gdb.cp/class2.exp: fix for failure on spu-elf
6995
6996 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6997
6998 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
6999
7000 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7001
7002 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
7003
7004 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
7005
7006 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
7007
7008 2008-07-11 Kevin Buettner <kevinb@redhat.com>
7009
7010 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
7011 of regexp to account for changes made to GDB in the printing of
7012 byte vectors.
7013
7014 2008-07-11 Tom Tromey <tromey@redhat.com>
7015
7016 * gdb.base/completion.exp: Add 'help' completion test.
7017
7018 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7019
7020 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
7021
7022 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7023
7024 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
7025
7026 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7027
7028 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
7029
7030 2008-07-09 Pedro Alves <pedro@codesourcery.com>
7031
7032 * gdb.base/fullname.exp: Restore pwd if compiling failed.
7033
7034 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7035
7036 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
7037
7038 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7039
7040 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
7041 previous commit. Add a comment.
7042
7043 2008-06-28 Pedro Alves <pedro@codesourcery.com>
7044
7045 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
7046
7047 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
7048
7049 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
7050
7051 2008-06-27 Pedro Alves <pedro@codesourcery.com>
7052
7053 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
7054 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
7055 compiling an executable, link in an object that forces unbuffered
7056 output.
7057 * lib/set_unbuffered_mode.c: New file.
7058
7059 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7060
7061 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
7062
7063 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
7064
7065 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
7066 mi_expect_stop.
7067 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
7068 Demand that *running is output.
7069 (detect_async): Perform checking every time.
7070 (mi_send_resuming_command): Extract everything into...
7071 (mi_send_resuming_command_raw): ...this.
7072 (mi_expect_stop): Don't accept any output before *stopped.
7073
7074 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
7075
7076 Robustify mi-simplerun.
7077 * gdb.mi/basics.c (main): Add a call to sleep.
7078 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
7079 * gdb.mi/mi2-cli.exp: Likewise.
7080 * gdb.mi/mi-break.exp: Likewise.
7081
7082 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
7083
7084 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
7085
7086 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7087
7088 * gdb.mi/mi-console.exp: Adjust.
7089 * gdb.mi/mi-syn-frame.exp: Adjust.
7090 * gdb.mi/mi2-console.exp: Adjust.
7091 * gdb.mi/mi2-syn-frame.exp: Adjust.
7092 * lib/mi-support.exp (mi_run_cmd): Adjust.
7093 (mi_send_resuming_command): Adjust.
7094
7095 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
7096
7097 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
7098 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
7099 testing of stopped.
7100 * gdb.mi/mi2-syn-frame.exp: Likewise.
7101 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
7102 (async, detect_async): New.
7103 (mi_expect_stop, mi_continue_to_line): Adjust expectation
7104 depending on if we're running in sync or async mode.
7105
7106 2008-06-09 Tom Tromey <tromey@redhat.com>
7107
7108 * gdb.base/completion.exp: New tests for field name completion
7109 with spaces, and field name completion with '->'.
7110
7111 2008-06-06 Tom Tromey <tromey@redhat.com>
7112
7113 * gdb.base/break1.c (struct some_struct): New struct.
7114 (values): New global.
7115 * gdb.base/completion.exp: Add field name completion test.
7116
7117 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7118
7119 * gdb.cp/call-c.exp: Test for incorrect handling of reference
7120 to pointer.
7121 * gdb.cp/call-c.cc: Likewise.
7122
7123 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
7124
7125 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
7126 annotation.
7127
7128 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7129 Pedro Alves <pedro@codesourcery.com>
7130
7131 * gdb.threads/execl.c, gdb.threads/execl1.c,
7132 gdb.threads/execl.exp: New tests.
7133
7134 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
7135 Daniel Jacobowitz <dan@codesourcery.com>
7136
7137 * gdb.cp/exception.exp: Activate test, make it work with pending
7138 catchpoints.
7139
7140 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7141
7142 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
7143
7144 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
7145
7146 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
7147 now printed.
7148 * gdb.mi/mi2-var-cmd.exp: Likewise.
7149
7150 2008-05-27 Andreas Schwab <schwab@suse.de>
7151
7152 * gdb.base/frame-args.exp: Handle arguments that are optimized
7153 out.
7154
7155 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
7156
7157 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
7158 quiet for ppc32 and group options into a single variable.
7159
7160 2008-05-23 Joel Brobecker <brobecker@adacore.com>
7161
7162 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
7163 of zero-size elements.
7164 * gdb.ada/null_array.exp: Test printing this new array.
7165
7166 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7167
7168 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
7169
7170 2008-05-21 Joel Brobecker <brobecker@adacore.com>
7171
7172 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
7173 of the "finish" command.
7174
7175 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
7176
7177 * gdb.base/annota1.exp: Test for new annotation.
7178
7179 2008-05-16 Pedro Alves <pedro@codesourcery.com>
7180
7181 * gdb.base/fixsection.exp: New file.
7182 * gdb.base/fixsection0.c: New file.
7183 * gdb.base/fixsection1.c: New file.
7184
7185 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7186
7187 * gdb.base/annota1.exp: Accept printf@... in place of printf.
7188 * gdb.base/annota3.exp: Likewise.
7189
7190 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
7191
7192 * gdb.base/watch_thread_num.exp: Don't run tests that require
7193 watchpoints if the target doesn't support them.
7194
7195 2008-05-12 Doug Evans <dje@google.com>
7196
7197 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
7198
7199 2008-05-09 Joel Brobecker <brobecker@adacore.com>
7200
7201 * gdb.ada/assign_1.exp: New testcase.
7202
7203 2008-05-09 Doug Evans <dje@google.com>
7204
7205 * gdb.base/find.exp: New file.
7206 * gdb.base/find.c: New file.
7207
7208 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
7209
7210 * gdb.base/commands.exp (watchpoint_command_test): Handle
7211 gdb,no_hardware_watchpoints.
7212 * gdb.base/float.exp: Allow ARM targets without floating point.
7213 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
7214
7215 2008-05-06 Jerome Guitton <guitton@adacore.com>
7216 Joel Brobecker <brobecker@adacore.com>
7217
7218 * gdb.ada/lang_switch: New test program.
7219 * gdb.ada/lang_switch.exp: New testcase.
7220
7221 2008-05-05 Doug Evans <dje@google.com>
7222
7223 * gdb.base/help.exp (disassemble): Update expected help text.
7224
7225 2008-05-04 Pedro Alves <pedro@codesourcery.com>
7226
7227 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
7228
7229 2008-05-04 Pedro Alves <pedro@codesourcery.com>
7230
7231 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
7232 different times.
7233
7234 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
7235
7236 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
7237 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
7238 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
7239 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
7240
7241 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
7242
7243 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
7244 notification to appear.
7245
7246 2008-05-04 Daniel Jacobowitz <dan@debian.org>
7247
7248 * gdb.base/fullname.c: New file.
7249 * gdb.base/fullname.exp: New file.
7250 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
7251
7252 2008-05-03 Pedro Alves <pedro@codesourcery.com>
7253
7254 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
7255 expressions with macros.
7256
7257 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7258
7259 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
7260
7261 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
7262
7263 * gdb.base/completion.exp: Handle lack of other symbols beginning
7264 with "a".
7265
7266 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
7267
7268 2008-05-02 Jim Blandy <jimb@codesourcery.com>
7269
7270 * gdb.asm/asmsrc1.s: Add scratch space.
7271
7272 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7273 Daniel Jacobowitz <dan@codesourcery.com>
7274
7275 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
7276 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
7277 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
7278
7279 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
7280
7281 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
7282
7283 2008-05-01 Joel Brobecker <brobecker@adacore.com>
7284
7285 * gdb.base/info-target.exp: New testcase.
7286
7287 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7288
7289 * gdb.cp/hang.exp: Use .cc instead of .C.
7290 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
7291 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
7292
7293 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
7294
7295 * gdb.base/gdb1250.exp: Remove perror.
7296 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
7297
7298 2008-04-30 Pedro Alves <pedro@codesourcery.com>
7299
7300 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
7301 .2byte.
7302
7303 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
7304
7305 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
7306 (maybe_kfail): New.
7307
7308 2008-04-25 Pedro Alves <pedro@codesourcery.com>
7309
7310 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
7311
7312 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7313
7314 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
7315 * gdb.mi/mi2-syn-frame.exp: Likewise.
7316 * lib/mi-support.exp: Likewise.
7317
7318 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7319
7320 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
7321 to specify regexp for the location to stop at.
7322 * gdb.base/break-always.c: New.
7323 * gdb.base/break-always.exp: New.
7324
7325 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
7326
7327 * lib/mi-support.exp (mi_runto_helper): Adjust
7328 for the original-location field.
7329 (mi_create_breakpoint, mi_list_breakpoints): New.
7330 * gdb.mi/mi-break.exp: Adjust.
7331 * gdb.mi/mi2-break.exp: Adjust.
7332 * gdb.mi/mi-pending.exp: Adjust.
7333 * gdb.mi/mi-simplerun.exp: Adjust.
7334 * gdb.mi/mi2-simplerun.exp: Adjust.
7335 * gdb.mi/mi-syn-frame.exp: Adjust.
7336 * gdb.mi/mi2-syn-frame.exp: Adjust.
7337 * gdb.mi/mi-until.exp: Adjust.
7338 * gdb.mi/mi2-until.exp: Adjust.
7339 * gdb.mi/mi-var-display.exp: Adjust.
7340 * gdb.mi/mi2-var-display.exp: Adjust.
7341 * gdb.mi/mi-watch.exp: Adjust.
7342 * gdb.mi/mi2-watch.exp: Adjust.
7343
7344 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
7345
7346 * aclocal.m4: Add override.m4.
7347 * configure: Regenerate.
7348
7349 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
7350
7351 * gdb.mi/var-cmd.c (do_at_tests): Verify that
7352 '-var-update --all-values' reports new value even the type
7353 of a variable object has changed.
7354
7355 2008-04-18 Craig Silverstein <csilvers@google.com>
7356
7357 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
7358 files.
7359
7360 2008-04-18 Joel Brobecker <brobecker@adacore.com>
7361
7362 * gdb.ada/atomic_enum: New test program.
7363 * gdb.ada/atomic_enum.exp: New testcase.
7364
7365 2008-04-17 Doug Evans <dje@google.com>
7366
7367 * gdb.opt/Makefile.in: Fix whitespace.
7368
7369 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
7370
7371 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
7372
7373 2008-04-17 Doug Evans <dje@google.com>
7374
7375 * gdb.base/hashline1.exp: New testcase.
7376 * gdb.base/hashline2.exp: New testcase.
7377 * gdb.base/hashline2.exp: New testcase.
7378
7379 2008-04-17 Pedro Alves <pedro@codesourcery.com>
7380
7381 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
7382
7383 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
7384
7385 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
7386 temporary breakpoint to match "Temporary breakpoint".
7387 * gdb.base/break.exp (delete_breakpoints): Likewise.
7388 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
7389 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
7390 * gdb.base/display.exp: Likewise.
7391 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
7392 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
7393 * gdb.base/restore.exp (restore_tests): Likewise.
7394 * gdb.base/sepdebug.exp: Likewise.
7395 * gdb.base/watchpoint.exp: Likewise.
7396 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
7397 * gdb.mi/mi-pending.exp: Likewise.
7398 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
7399 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
7400 * gdb.mi/mi-var-cmd.exp: Likewise.
7401 * gdb.mi/mi-var-display.exp: Likewise.
7402 * gdb.mi/mi2-cli.exp: Likewise.
7403 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
7404 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
7405 * gdb.mi/mi2-var-display.exp: Likewise.
7406 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
7407 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
7408 new "disp" field.
7409 (mi_expect_stop): Move after_reason argument to be really after
7410 reason. This is to support fix for PR2424.
7411
7412 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7413
7414 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
7415
7416 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
7417
7418 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
7419 field. Add more floating varobj tests.
7420 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
7421 field.
7422 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
7423 (main): Call do_at_tests.
7424 * lib/mi-support.exp (mi_create_floating_varobj)
7425 (mi_varobj_update_with_type_change): New.
7426
7427 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
7428
7429 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
7430 option of -var-evaluate-expression.
7431 * gdb.mi/mi2-var-display.exp: Likewise.
7432
7433 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
7434
7435 Introduce test setup helpers.
7436 * lib/gdb.exp (build_executable, clean_restart)
7437 (prepare_for_testing): New.
7438 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
7439 * gdb.base/return.exp: Likewise.
7440 * gdb.base/ending-run.exp: Likewise.
7441
7442 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
7443
7444 * gdb.mi/mi-async.exp: New test for asynchronous Machine
7445 Interface (MI) responses.
7446
7447 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
7448
7449 * gdb.cp/breakpoint.cc: New code to test conditions involving
7450 member variables.
7451 * gdb.cp/breakpoint.exp: Test condition involving member
7452 variables.
7453
7454 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
7455
7456 * lib/mi-support.exp (mi_expect_stop): New.
7457 (mi_run_cmd): Change the
7458 token. Use mi_send_resuming_command, use
7459 mi_expect_stop.
7460 (mi_execute_to_helper): Rename to mi_execute_to.
7461 (mi_send_resuming_command): Add more error patterns.
7462 (mi_wait_for_stop): Renamed to...
7463 (mi_get_stop_line): ...this.
7464 (mi_run_inline_test): Adjust.
7465
7466 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
7467 * gdb.mi/mi-console.exp: Likewise.
7468 * gdb.mi/mi-pending.exp: Likewise.
7469 * gdb.mi/mi-simplerun.exp: Likewise.
7470 * gdb.mi/mi-stack.exp: Likewise.
7471 * gdb.mi/mi-stepi.exp: Likewise.
7472 * gdb.mi/mi-syn-frame.exp: Add comment.
7473 * gdb.mi/mi-until.exp: Likewise.
7474 * gdb.mi/mi-var-display.exp: Likewise.
7475 * gdb.mi/mi-watch.exp: Likewise.
7476 * gdb.mi/mi2-cli.exp: Likewise.
7477 * gdb.mi/mi2-console.exp: Likewise.
7478 * gdb.mi/mi2-simplerun.exp: Likewise.
7479 * gdb.mi/mi2-stack.exp: Likewise.
7480 * gdb.mi/mi2-stepi.exp: Likewise.
7481 * gdb.mi/mi2-until.exp: Likewise.
7482 * gdb.mi/mi2-var-display.exp: Likewise.
7483 * gdb.mi/mi2-watch.exp: Likewise.
7484
7485 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7486
7487 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
7488
7489 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
7490
7491 2008-04-04 Pedro Alves <pedro@codesourcery.com>
7492
7493 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
7494 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
7495 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
7496 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
7497 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
7498 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
7499 expect an mi error duplicated in stderr.
7500
7501 2008-04-03 Joel Brobecker <brobecker@adacore.com>
7502
7503 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
7504 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
7505 Add a couple of tests that verify the behavior when the new setting
7506 is set to "cancel" and "all".
7507 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
7508 "ask" before we start the testing.
7509
7510 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
7511
7512 * gdb.cp/casts.cc: Add class reference variables.
7513 * gdb.cp/casts.exp: New test cases for up/down casting references.
7514
7515 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
7516
7517 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
7518 instead of beginning to make an extra test pass.
7519 * gdb.mi/mi2-var-display.exp: Likewise.
7520
7521 2008-03-31 Maciej W. Rozycki <macro@mips.com>
7522
7523 * gdb.base/break.exp: Mark failures as such. Fix formatting.
7524
7525 2008-03-31 Markus Deuling <deuling@de.ibm.com>
7526 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7527
7528 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
7529 value. Add xfail for older kernels.
7530
7531 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
7532
7533 Bring mi-support in line with gdb.exp.
7534 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
7535 (mi_gdb_start): New function.
7536
7537 2008-03-28 Maciej W. Rozycki <macro@mips.com>
7538
7539 * gdb.mi/mi-var-cmd.exp: Fix a typo.
7540
7541 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7542
7543 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
7544 * gdb.mi/mi2-var-display.exp: Likewise.
7545
7546 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
7547
7548 * lib/mi-support.exp (mi_create_varobj_checked): New.
7549 (mi_list_varobj_children): Allow to check for a
7550 value.
7551 (mi_list_array_varobj_children): New.
7552
7553 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
7554 and mi_list_varobj_children, as opposed to hardcoding
7555 expected strings.
7556 * gdb.mi/gdb701.exp: Likewise.
7557 * gdb.mi/gdb792.exp: Likewise.
7558 * gdb.mi/mi-var-block.exp: Likewise.
7559 * gdb.mi/mi-var-cmd.exp: Likewise.
7560 * gdb.mi/mi-var-invalidate.exp: Likewise.
7561 * gdb.mi/mi2-var-block.exp: Likewise.
7562 * gdb.mi/mi2-var-child.exp: Likewise.
7563 * gdb.mi/mi2-var-cmd.exp: Likewise.
7564 * gdb.mi/mi2-var-display.exp: Likewise.
7565
7566 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7567
7568 Fix random false FAILs on i386.
7569 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
7570
7571 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7572
7573 PR gdb/544
7574 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
7575
7576 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
7577
7578 PR gdb/544
7579 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
7580
7581 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7582
7583 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
7584 fixed PR gdb/544.
7585
7586 2008-03-21 Pedro Alves <pedro@codesourcery.com>
7587
7588 * gdb.threads/fork-child-threads.exp: Test next over fork.
7589
7590 2008-03-21 Chris Demetriou <cgd@google.com>
7591
7592 * gdb.base/break.exp (rbreak junk): New test for rbreak
7593 "Junk at end of arguments" issue.
7594
7595 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7596
7597 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
7598 *& to work on created array elements.
7599 (Top level): Test print $pc with a file. Test string operations
7600 without a target.
7601 * gdb.base/ptype.exp: Do not expect *& to work on created array
7602 elements.
7603
7604 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
7605
7606 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7607 gdb.threads/staticthreads.exp: Update exit query.
7608
7609 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
7610
7611 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
7612
7613 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
7614
7615 * gdb.base/watchpoint.c (global_ptr, func4): New.
7616 (main): Call func4.
7617 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
7618 (test_inaccessible_watchpoint): New.
7619
7620 2008-02-29 Maciej W. Rozycki <macro@mips.com>
7621
7622 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
7623 select the largest.
7624
7625 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
7626
7627 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
7628 frames-invalid annotations.
7629
7630 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
7631
7632 * gdb.base/assign.exp: avoid same output for different tests.
7633
7634 2008-02-27 Doug Evans <dje@google.com>
7635
7636 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
7637 for bug 1738.
7638 (breakpoint_to_handler_entry): Ditto.
7639
7640 2008-02-27 Joel Brobecker <brobecker@adacore.com>
7641
7642 * gdb.base/ending-run.exp: Use the first line of code inside
7643 function body to test breakpoints.
7644 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
7645 location where the breakpoint is inserted when using the line
7646 where a function is declared. Fix typo in the description of
7647 one of the tests.
7648 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
7649
7650 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7651
7652 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
7653 tests.
7654
7655 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7656
7657 * gdb.base/args.exp: avoid same output for tests
7658 with single quotes.
7659
7660 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
7661
7662 * gdb.base/annota1.exp: Adjust for 'info break'
7663 format changes.
7664 * gdb.base/annota3.exp: Likewise.
7665 * gdb.base/break.exp: Likewise.
7666 * gdb.base/condbreak.exp: Likewise.
7667 * gdb.base/pending.exp: Likewise.
7668 * gdb.base/sepdebug.exp: Likewise.
7669 * gdb.base/unload.exp: Likewise.
7670 * gdb.cp/ovldbreak.exp: Likewise.
7671 * gdb.mi/mi-pending.exp: Likewise.
7672
7673 2008-02-07 Doug Evans <dje@google.com>
7674
7675 * gdb.cp/mb-inline.exp: New.
7676 * gdb.cp/mb-inline.h: New.
7677 * gdb.cp/mb-inline1.cc: New.
7678 * gdb.cp/mb-inline2.cc: New.
7679
7680 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
7681
7682 * gdb.pascal/floats.pas: New test program.
7683 * gdb.pascal/floats.exp: New testcase.
7684
7685 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7686
7687 * gdb.base/callfuncs.c (t_float_many_args): New function.
7688 (t_double_many_args): New function.
7689 * gdb.base/callfuncs.exp: Add tests for exceeding float
7690 and double parameters passed through the stack.
7691
7692 2008-02-05 Joel Brobecker <brobecker@adacore.com>
7693
7694 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
7695 gdb.ada/complete/foo.adb: New files.
7696 * gdb.ada/complete.exp: New testcase.
7697
7698 2008-02-03 Doug Evans <dje@google.com>
7699
7700 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
7701
7702 * gdb.cp/gdb2384.exp: New file.
7703 * gdb.cp/gdb2384.cc: New file.
7704 * gdb.cp/gdb2384-base.h: New file.
7705 * gdb.cp/gdb2384-base.cc: New file.
7706
7707 2008-02-02 Doug Evans <dje@google.com>
7708
7709 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
7710
7711 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7712
7713 * gdb.ada/sym_print_name: New test program.
7714 * gdb.ada/sym_print_name.exp: New testcase.
7715
7716 2007-02-01 Joel Brobecker <brobecker@adacore.com>
7717
7718 * gdb.ada/nested/hello.adb: New file.
7719 * gdb.ada/nested.exp: New testcase.
7720 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7721
7722 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7723
7724 * gdb.mi/basic.c (return_1): New function.
7725 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
7726 don't cause future evaluations of function to report
7727 creation of internal breakpoints.
7728
7729 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7730
7731 * gdb.mi/mi-break.exp (test_error): New.
7732 Call it.
7733
7734 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
7735
7736 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
7737 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
7738
7739 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7740
7741 * gdb.pascal/integers.pas: New test program.
7742 * gdb.pascal/integers.exp: New testcase.
7743
7744 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7745
7746 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
7747
7748 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
7749
7750 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
7751 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
7752
7753 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
7754
7755 * gdb.ada/formatted_ref: New test program.
7756 * gdb.ada/formatted_ref.exp: New testcase.
7757
7758 * gdb.cp/formatted-ref.cc: New file.
7759 * gdb.cp/formatted-ref.exp: New testcase.
7760
7761 2008-01-30 Joel Brobecker <brobecker@adacore.com>
7762
7763 * gdb.base/ptype.exp: Add testing of "ptype $pc".
7764
7765 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
7766
7767 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
7768 (test_file_list_exec_source_file): Update to new macro-info field.
7769
7770 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
7771
7772 * gdb.ada/exprs: New test program.
7773 * gdb.ada/exprs.exp: New testcase.
7774
7775 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7776
7777 * dfp-test.c (DELTA, DELTA_B): New definitions.
7778 (double_val1, double_val2, double_val3, double_val4, double_val5,
7779 double_val6, double_val7, double_val8, double_val9, double_val10,
7780 double_val11, double_val12, double_val13, double_val14, dec32_val1,
7781 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
7782 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
7783 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
7784 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
7785 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
7786 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
7787 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
7788 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
7789 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
7790 dec128_val16): New global variables.
7791 (decimal_dec128_align): New function.
7792 (decimal_mixed): Likewise.
7793 (decimal_many_args_dec32): Likewise.
7794 (decimal_many_args_dec64): Likewise.
7795 (decimal_many_args_dec128): Likewise.
7796 (decimal_many_args_mixed): Likewise.
7797 * dfp-test.exp: Add tests calling new inferior functions.
7798
7799 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7800
7801 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
7802 gdb.server/ext-run.exp: New files.
7803 * lib/gdbserver-support.exp (gdbserver_download): New.
7804 (gdbserver_start): New. Update gdbserver expected
7805 output.
7806 (gdbserver_spawn): Use them.
7807 (gdbserver_start_extended): New.
7808
7809 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7810
7811 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
7812 Run on GNU/Linux.
7813 (do_exec_tests): Check for systems which do not support catchpoints.
7814 Do not match START.
7815 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
7816 Run on GNU/Linux. Enable verbose output.
7817 (check_fork_catchpoints): New.
7818 (explicit_fork_child_follow, catch_fork_child_follow)
7819 (tcatch_fork_parent_follow): Update expected messages.
7820 (do_fork_tests): Use check_fork_catchpoints.
7821 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
7822 Run on GNU/Linux. Enable verbose output.
7823 (check_vfork_catchpoints): New.
7824 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
7825 expected messages.
7826 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
7827
7828 2008-01-29 Jim Blandy <jimb@red-bean.com>
7829
7830 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
7831 host' errors.
7832 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
7833
7834 2008-01-29 Jim Blandy <jimb@red-bean.com>
7835
7836 * gdb.threads/sigthread.c: Use barriers to ensure that
7837 child_thread and child_thread_two are always initialized before we
7838 start to use them.
7839
7840 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
7841
7842 * gdb.base/watchpoint-solib.exp: New.
7843 * gdb.base/watchpoint-solib.c: New.
7844 * gdb.base/watchpoint-solib-shr.c: New.
7845
7846 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
7847
7848 * gdb.base/gdb1056.exp: Add unsigned integer test.
7849
7850 2008-01-28 Doug Evans <dje@google.com>
7851
7852 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
7853
7854 2008-01-27 Jim Blandy <jimb@codesourcery.com>
7855
7856 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
7857
7858 * gdb.base/expand-psymtabs.exp: Doc fix.
7859
7860 2008-01-26 Mark Kettenis <kettenis@gnu.org>
7861
7862 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
7863
7864 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
7865
7866 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
7867 -var-set-format.
7868
7869 2008-01-23 Chris Demetriou <cgd@google.com>
7870
7871 * gdb.threads/thread_events.c: New testcase source file.
7872 * gdb.threads/thread_events.exp: New testcase expect file.
7873
7874 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
7875
7876 * lib/gdb.exp: Add the variable octal.
7877
7878 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
7879 -var-set-format.
7880
7881 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
7882 Vladimir Prus <vladimir@codesourcery.com>
7883
7884 * gdb.base/float.exp: Allow missing floating point for m68k and
7885 PowerPC.
7886
7887 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
7888
7889 * gdb.mi/basics.c: Setup for testing breakpoints
7890 ignore count.
7891 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
7892 * gdb.mi/mi-cli.exp: Adjust.
7893 * gdb.mi/mi2-cli.exp: Adjust.
7894
7895 2008-01-17 Pedro Alves <pedro@codesourcery.com>
7896
7897 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
7898 and 'dummy_ptr' integer pointer. Initialize struct_declarations
7899 with dummy_ptr's address.
7900 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
7901 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
7902 all targets.
7903 * gdb.mi/mi2-var-child.exp: Likewise.
7904
7905 2008-01-09 Joel Brobecker <brobecker@adacore.com>
7906
7907 * gdb.ada/null_array: New test program.
7908 * gdb.ada/null_array.exp: New testcase.
7909
7910 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
7911
7912 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
7913 with required float modifiers.
7914
7915 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7916
7917 * gdb.ada/funcall_param: New test program.
7918 * gdb.ada/funcall_param.exp: New testcase.
7919
7920 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7921
7922 * gdb.ada/arrayparam: New test program.
7923 * gdb.ada/arrayparam.exp: New testcase.
7924
7925 2008-01-08 Joel Brobecker <brobecker@adacore.com>
7926
7927 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
7928 landed. Should also fix random failures in the test following it.
7929
7930 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
7931
7932 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
7933 for expressions with decimal float values.
7934 (test_dfp_conversions): New function to test casts to and from
7935 decimal float types.
7936 Call test_dfp_conversions.
7937 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
7938 elements.
7939 (main): Initialize ds.float4 and ds.double8 elements.
7940 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
7941 string to new error message.
7942 (d64_set_tests): Likewise.
7943 (d128_set_tests): Likewise.
7944 Add tests for expressions with decimal float variables. Add tests for
7945 conversions to and from decimal float types.
7946
7947 2008-01-05 Joel Brobecker <brobecker@adacore.com>
7948
7949 * gdb.ada/packed_tagged/comp_bug.adb: New file.
7950 * gdb.ada/packed_tagged.exp: New testcase.
7951
7952 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7953
7954 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
7955 gdb.ada/homonym/homonym_main.adb: New files.
7956 * gdb.ada/homonym.exp: New testcase.
7957
7958 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7959
7960 * gdb.ada/packed_array.exp: Add testing of references to
7961 a packed array.
7962
7963 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7964
7965 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
7966 New files.
7967 * gdb.ada/type_coercion.exp: New testcase.
7968
7969 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7970
7971 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
7972 gdb.ada/tagged/foo.adb: New file.
7973 * gdb.ada/tagged.exp: New testcase.
7974
7975 2008-01-04 Joel Brobecker <brobecker@adacore.com>
7976
7977 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
7978 gdb.ada/ptype_field/foo.adb: New files.
7979 * gdb.ada/ptype_field.exp: New testcase.
7980
7981 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7982
7983 * gdb.ada/print_pc.exp: New testcase.
7984
7985 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7986
7987 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
7988 gdb.ada/taft_type/p.adb: New files.
7989 * gdb.ada/taft_type.exp: New testcase.
7990
7991 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7992
7993 * gdb.ada/array_bounds/bar.adb: New file.
7994 * gdb.ada/array_bounds.exp: New testcase.
7995
7996 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7997
7998 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
7999 gdb.ada/arrayptr/foo.adb: New files.
8000 * gdb.ada/arrayptr.exp: New testcase.
8001
8002 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8003
8004 * gdb.base/set-lang-auto.exp: New testcase.
8005
8006 2008-01-03 Joel Brobecker <brobecker@adacore.com>
8007
8008 * gdb.ada/fun_addr/foo.adb: New file.
8009 * gdb.ada/fun_addr.exp: New testcase.
8010
8011 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8012
8013 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
8014 New files
8015
8016 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8017
8018 * array_subscript_addr/p.adb: New file.
8019 * array_subscript_addr.exp: New testcase.
8020
8021 2008-01-02 Joel Brobecker <brobecker@adacore.com>
8022
8023 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
8024 New files.
8025 * gdb.ada/str_cmp_ref.exp: New testcase.
8026
8027 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8028
8029 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
8030 gdb.ada/fun_in_declare/foo.adb: New files.
8031 * gdb.ada/fun_in_declare.exp: New testcase.
8032
8033 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8034
8035 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
8036 gdb.ada/ref_param/pck.ads: New files.
8037 * gdb.ada/ref_param.exp: New testcase.
8038
8039 2008-01-01 Joel Brobecker <brobecker@adacore.com>
8040
8041 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
8042 gdb.ada/interface/foo.adb: New files.
8043 * gdb.ada/interface.exp: New testcase.
8044
8045 2007-12-31 Jim Blandy <jimb@codesourcery.com>
8046
8047 * gdb.base/multi-forks.exp: Consume all output from child
8048 processes before proceeding to next test.
8049
8050 2007-12-29 Jim Blandy <jimb@codesourcery.com>
8051
8052 * configure: Regenerated.
8053
8054 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8055
8056 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
8057 gdb.ada/fixed_cmp/fixed.adb: New files.
8058 * gdb.ada/fixed_cmp.exp: New testcase.
8059
8060 2007-12-27 Joel Brobecker <brobecker@adacore.com>
8061
8062 * gdb.ada/boolean_expr.exp: New testcase.
8063
8064 2007-12-26 Jim Blandy <jimb@codesourcery.com>
8065
8066 * gdb.base/multi-forks.exp: Doc fix.
8067
8068 2007-12-26 Joel Brobecker <brobecker@adacore.com>
8069
8070 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
8071 * gdb.ada/char_param.exp: Do not compile our test program with
8072 -gnata, this is unnecessary.
8073 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
8074
8075 2007-12-24 Joel Brobecker <brobecker@adacore.com>
8076
8077 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
8078 gdb.ada/print_chars/foo.adb: New files.
8079 * gdb.ada/print_chars.exp: New testcase.
8080
8081 2007-12-24 Joel Brobecker <brobecker@adacore.com>
8082
8083 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
8084 gdb.ada/char_param/foo.adb: New files.
8085 * gdb.ada/char_param.exp: New testcase.
8086
8087 2007-12-22 Jim Blandy <jimb@codesourcery.com>
8088
8089 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
8090 hard-coding source line numbers into the test.
8091 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
8092 gdb_get_line_number to find.
8093
8094 2007-12-22 Joel Brobecker <brobecker@adacore.com>
8095
8096 * gdb.base/ptype.c (highest): New struct type.
8097 (the_highest): New variable of that type.
8098 (main): Add dummy assignment to a field of variable the_highest.
8099 * gdb.base/ptype.exp: Test type printing of our new variable.
8100
8101 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
8102
8103 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
8104 and record first explicitly generated thread number.
8105 Use that thread number for thread specific watchpoint test.
8106 Add iteration number to repetitive tests.
8107
8108 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
8109 Jim Blandy <jimb@codesourcery.com>
8110
8111 * gdb.base/expand-psymtabs.c: New testcase
8112 source file.
8113 * gdb.base/expand-psymtabs.exp: New testcase
8114 expect file.
8115
8116 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
8117
8118 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
8119 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
8120
8121 2007-12-17 Joel Brobecker <brobecker@adacore.com>
8122
8123 * gdb.ada/frame_args/foo.adb: New file.
8124 * gdb.ada/frame_args/pck.ads: New file.
8125 * gdb.ada/frame_args/pck.adb: New file.
8126 * gdb.ada/frame_args.exp: New testcase.
8127
8128 2007-12-17 Joel Brobecker <brobecker@adacore.com>
8129
8130 * gdb.base/frame-args.c: New file.
8131 * gdb.base/frame-args.exp: New testcase.
8132
8133 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
8134 Joseph Myers <joseph@codesourcery.com>
8135
8136 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
8137
8138 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
8139
8140 * gdb.mi/mi-pending.exp: New.
8141 * gdb.mi/mi-pending.c: New.
8142 * gdb.mi/mi-pendshr.c: New.
8143
8144 2007-12-06 Jim Blandy <jimb@codesourcery.com>
8145
8146 * gdb.base/default.exp: Update expected output for 'info catch'.
8147
8148 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8149
8150 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
8151 must be set to binary.
8152
8153 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
8154
8155 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
8156
8157 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
8158
8159 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
8160 gdb.mi/mi-file-transfer.exp: New.
8161
8162 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8163
8164 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
8165
8166 2007-11-22 Maciej W. Rozycki <macro@mips.com>
8167
8168 * gdb.trace/backtrace.exp: Fix a typo.
8169 * gdb.trace/circ.exp: Likewise.
8170 * gdb.trace/collection.exp: Likewise.
8171 * gdb.trace/limits.exp: Likewise.
8172 * gdb.trace/report.exp: Likewise.
8173 * gdb.trace/tfind.exp: Likewise.
8174 * gdb.trace/while-dyn.exp: Likewise.
8175
8176 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
8177
8178 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
8179 objects of pointers that can't be dereferenced are now
8180 "noneditable".
8181
8182 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8183
8184 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
8185 (target_cpu): Remove.
8186
8187 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
8188
8189 * gdb.base/ending-run.exp: Expect the list of cleared
8190 breakpoint to come in natural order, not the reversed one.
8191
8192 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
8193
8194 * gdb.mi/mi-var-child.c (do_child_deletion): New.
8195 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
8196
8197 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
8198
8199 * gdb.base/printcmds.exp: New function
8200 test_printf_with_dfp.
8201
8202 2007-11-02 Doug Evans <dje@google.com>
8203
8204 * gdb.disasm/t01_mov.s: Remove carriage returns.
8205 * gdb.disasm/t02_mova.s: Ditto.
8206 * gdb.disasm/t03_add.s: Ditto.
8207 * gdb.disasm/t04_sub.s: Ditto.
8208 * gdb.disasm/t05_cmp.s: Ditto.
8209 * gdb.disasm/t06_ari2.s: Ditto.
8210 * gdb.disasm/t07_ari3.s: Ditto.
8211 * gdb.disasm/t08_or.s: Ditto.
8212 * gdb.disasm/t09_xor.s: Ditto.
8213 * gdb.disasm/t10_and.s: Ditto.
8214 * gdb.disasm/t11_logs.s: Ditto.
8215 * gdb.disasm/t12_bit.s: Ditto.
8216 * gdb.disasm/t13_otr.s: Ditto.
8217
8218 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8219
8220 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
8221
8222 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8223
8224 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
8225 provide DFP support.
8226
8227 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
8228
8229 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
8230 Test "set powerpc vector-abi". Skip auto-detection tests for old
8231 toolchains.
8232
8233 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8234
8235 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
8236 with [string compare].
8237
8238 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
8239
8240 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
8241 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
8242
8243 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
8244
8245 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
8246 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
8247 * gdb.opt/Makefile.in: New makefile.
8248 * Makefile.in: Create new directory "gdb.opt".
8249 * configure.ac: Add "gdb.opt" directory.
8250 * configure: Regenerated.
8251
8252 2007-10-25 Doug Evans <dje@google.com>
8253
8254 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
8255 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
8256
8257 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
8258 Thiago Jung Bauermann <bauerman@br.ibm.com>
8259
8260 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
8261 Floating Point expressions.
8262 * gdb.base/dfp-test.exp: new file adding tests for Decimal
8263 Floating Point variables.
8264 * gdb.base/dfp-test.c: new file containing program with Decimal
8265 Floating variables, used by gdb.base/dfp-test.exp.
8266
8267 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
8268
8269 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
8270
8271 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8272
8273 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
8274 compiling test case with GCC.
8275 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
8276
8277 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8278
8279 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8280 format changes.
8281
8282 2007-10-18 Michael Snyder <msnyder@specifix.com>
8283
8284 * gdb.base/dbx.exp: Add missing "-re " operator.
8285
8286 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
8287
8288 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
8289 * configure.ac: Removed trailing spaces after backslash.
8290 * gdb.modula2: New directory.
8291 * gdb.modula2/Makefile.in: New file.
8292 * gdb.modula2/unbounded-array.exp: New file.
8293 * gdb.modula2/unbounded1.c: New file.
8294
8295 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
8296
8297 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
8298
8299 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
8300
8301 * gdb.base/sigstep.c (main): Add checks for
8302 return values for setitimer call.
8303 Call setitimer again with itimer = ITIMER_REAL
8304 if first call to setitimer fails.
8305
8306 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
8307
8308 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
8309 of $timeout.
8310
8311 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8312
8313 * gdb.server/server-run.exp: Test for dynamic linker symbols.
8314
8315 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
8316
8317 * lib/gdb.exp (gdb_run_cmd): Move comment outside
8318 of gdb_expect call, to avoid interruption.
8319
8320 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
8321
8322 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
8323 (v_unsigned_long_long, v_long_long_array)
8324 (v_signed_long_long_array, v_unsigned_long_long_array)
8325 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
8326 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
8327 [!NO_LONG_LONG]: New.
8328 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
8329 v_long_long_member.
8330
8331 (v_long_long_func, v_signed_long_long_func)
8332 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
8333 (main) [!NO_LONG_LONG]: Initialize long long variants.
8334
8335 * gdb.base/whatis.exp: If board file requests no_long_long, build
8336 test with NO_LONG_LONG defined. Test long long, signed long long,
8337 and unsigned long long variants but only if board file doesn't
8338 disable it.
8339
8340 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
8341 Daniel Jacobowitz <dan@codesourcery.com>
8342
8343 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
8344 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
8345 * configure: Regenerated.
8346 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
8347 gdb.pascal/types.exp, lib/pascal.exp: New files.
8348
8349 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
8350
8351 * gdb.cp/classes.exp (do_tests): Always step to the line after the
8352 call.
8353 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
8354 to return to the call.
8355 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
8356 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
8357 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
8358 * gdb.mi/mi-until.exp (test_until): Likewise.
8359 * gdb.mi/mi2-until.exp (test_until): Likewise.
8360
8361 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
8362
8363 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
8364 two-char array.
8365 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
8366
8367 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
8368
8369 * gdb.threads/watchthreads.c (thread_function): Sleep between
8370 iterations.
8371 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
8372 at once for S/390. Generate matching fails and passes.
8373
8374 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
8375
8376 * gdb.mi/var-cmd.c (do_children_tests): Initialize
8377 the 'struct_declarations' variable to zeros.
8378
8379 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
8380
8381 * gdb.cp/mb-ctor.cc: New.
8382 * gdb.cp/mb-ctor.exp: New.
8383 * gdb.cp/mb-templates.cc: New.
8384 * gdb.cp/mb-templates.exp: New.
8385
8386 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
8387
8388 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
8389
8390 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
8391
8392 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
8393 targets.
8394 * configure: Regenerate.
8395
8396 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
8397
8398 * gdb.base/annota1.exp: Adjust for 'info break'
8399 format changes.
8400 * gdb.base/annota3.exp: Likewise.
8401 * gdb.base/break.exp: Likewise.
8402 * gdb.base/condbreak.exp: Likewise.
8403 * gdb.base/pending.exp: Likewise.
8404 * gdb.base/sepdebug.exp: Likewise.
8405 * gdb.base/unload.exp: Likewise.
8406 * gdb.base/ovldbreak.exp: Likewise.
8407
8408 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
8409
8410 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
8411 messages.
8412 * gdb.base/chng-syms.exp: Likewise.
8413 * gdb.base/unload.exp: Likewise.
8414
8415 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
8416
8417 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
8418
8419 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
8420
8421 * schedlock.c (NUM): Change to 1.
8422 (main): Use args[0] for the main thread.
8423 * schedlock.exp: Only expect two threads. Only issue one pass or fail
8424 regardless of the number of threads.
8425
8426 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8427
8428 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
8429 type down.
8430 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8431 test.
8432 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
8433 watchpoint type down.
8434 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
8435 test.
8436
8437 2007-09-14 Maciej W. Rozycki <macro@mips.com>
8438
8439 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
8440 Move all the tests here and run them twice, once using software
8441 watchpoints and once using hardware watchpoints.
8442 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
8443
8444 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
8445
8446 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
8447 test.
8448
8449 2007-09-10 Mark Kettenis <kettenis@gnu.org>
8450
8451 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
8452 build-id.
8453
8454 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
8455 know about $ORIGIN. Calculate output dir from $dest instead of
8456 using ${objdir}/{$subdir}.
8457
8458 2007-09-09 Mark Kettenis <kettenis@gnu.org>
8459
8460 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
8461 gcore, before continuing with the test.
8462
8463 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
8464
8465 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
8466 * gdb.mi/mi-watch.exp: Likewise.
8467
8468 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8469 Jim Blandy <jimb@codesourcery.com>
8470
8471 * gdb.arch/i386-sse.exp: Do not expect character constants.
8472 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
8473 * gdb.base/display.exp: Allow print/s.
8474 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
8475 and unsigned char array changes.
8476
8477 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8478
8479 * gdb.base/display.exp: Add tests for printf %p.
8480
8481 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
8482
8483 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
8484 the dll name to unicode.
8485
8486 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8487
8488 * gdb.base/default.exp (show version): Update the version text.
8489 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
8490
8491 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8492
8493 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
8494 New files.
8495
8496 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8497
8498 * lib/gdb.exp (build_id_debug_filename_get): New function.
8499 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
8500 Remove the generate DEBUG file for the future testcase runs.
8501 New testcase for the NT_GNU_BUILD_ID retrieval.
8502 Move the final testing step to ...
8503 (test_different_dir): ... a new function.
8504 New parameter XFAIL to XFAIL all the tests performed.
8505 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
8506 New parameter TYPE to PF_PREFIX all the tests performed.
8507
8508 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
8509
8510 * gdb.mi/mi-var-cp.cc (path_expression): New
8511 function.
8512 * gdb.mi/mi-var-cp.exp: Run path exression tests.
8513
8514 2007-08-27 Markus Deuling <deuling@de.ibm.com>
8515
8516 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
8517 to fit into SPU Local Store memory.
8518
8519 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8520
8521 * gdb.base/default.exp: Adjust the expected output of "info
8522 warranty" after the switch to GPLv3.
8523
8524 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8525
8526 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
8527 to 30000 (from 20000).
8528
8529 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8530
8531 Switch the license of all .exp files to GPLv3.
8532 Switch the license of all .f and .f90 files to GPLv3.
8533 Switch the license of all .s and .S files to GPLv3.
8534
8535 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8536
8537 * configure.ac: Switch license to GPLv3.
8538
8539 2007-08-23 Joel Brobecker <brobecker@adacore.com>
8540
8541 Switch the licensing to GPLv3 for all .ads and .adb files.
8542
8543 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
8544
8545 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
8546 and t_int_double.
8547 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
8548
8549 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8550
8551 * gdb.base/step-line.c: Switch license to GPL version 3, and
8552 update copyright year.
8553 * gdb.base/step-line.inp: Likewise.
8554
8555 2007-08-17 Joel Brobecker <brobecker@adacore.com>
8556
8557 * gdb.base/gdb1555.exp: Make expected output immune to formatting
8558 changes inside gdb1555.c.
8559 * gdb.base/pending.exp: Likewise.
8560
8561 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
8562
8563 * config/default.exp: New file.
8564
8565 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
8566
8567 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
8568 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
8569
8570 2007-07-30 Maciej W. Rozycki <macro@mips.com>
8571
8572 * gdb.base/dump.exp: Force the correct endianness for binary
8573 formats not carrying this information.
8574
8575 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8576
8577 * gdb.threads/staticthreads.exp: Match .*sem_post.
8578
8579 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8580
8581 * gdb.base/readline.exp (operate_and_get_next): Match the final
8582 prompt.
8583
8584 2007-07-23 Kevin Buettner <kevinb@redhat.com>
8585
8586 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
8587 to restarting SID.
8588
8589 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8590
8591 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
8592 prior to `gdb_start'.
8593
8594 2007-07-18 Kevin Buettner <kevinb@redhat.com>
8595
8596 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
8597 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
8598 Remove call to gdb_unload.
8599
8600 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
8601 Daniel Jacobowitz <dan@codesourcery.com>
8602
8603 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
8604 for __WIN32__.
8605 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
8606 * gdb.base/unload.exp: Use shared library test routines.
8607
8608 2007-07-03 Markus Deuling <deuling@de.ibm.com>
8609
8610 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
8611 * gdb.base/solib-symbol-lib.c: Likewise.
8612 * gdb.base/solib-symbol-main.c: Likewise.
8613
8614 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
8615
8616 * config/gdbserver.exp (gdb_reconnect): New.
8617 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
8618 gdb.base/solib-disc.exp: New files.
8619 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
8620 remote debugging".
8621 (gdb_compile): Add shlib_load flag.
8622 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
8623 port.
8624 (gdbserver_reconnect): New.
8625
8626 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
8627 Daniel Jacobowitz <dan@codesourcery.com>
8628
8629 * gdb.base/annota3.exp: Test for if construct.
8630
8631 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
8632
8633 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
8634
8635 2007-06-21 Chris Dearman <chris@mips.com>
8636 Maciej W. Rozycki <macro@mips.com>
8637
8638 * gdb.base/display.exp: Allow a newline after display/i.
8639 * gdb.base/pc-fp.exp: Likewise.
8640 * gdb.base/sigbpt.exp: Likewise.
8641
8642 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8643
8644 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
8645 required features to be included.
8646
8647 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
8648
8649 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
8650 in info threads output.
8651
8652 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8653 Markus Deuling <deuling@de.ibm.com>
8654
8655 * gdb.arch/spu-info.exp: New testcase.
8656 * gdb.arch/spu-info.c: New file.
8657
8658 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
8659
8660 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
8661 tpcs_offset. Restore lr after the call.
8662 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
8663
8664 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
8665
8666 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
8667 (gdbserver_run): Kill any running gdbserver.
8668 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
8669
8670 2007-05-17 Maciej W. Rozycki <macro@mips.com>
8671
8672 * gdb.base/sigbpt.exp: Preset segv_addr.
8673
8674 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
8675
8676 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
8677 (gdb_compile_shlib): Likewise.
8678 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
8679 (default_gdb_init): Clear cleanfiles.
8680 (gdb_finish): Delete recorded cleanfiles.
8681 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
8682
8683 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
8684 Do not use isnative.
8685 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
8686 gdb.base/so-impl-ld.exp: Likewise.
8687 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
8688 * gdb.base/unload.exp: Likewise. Do not pass empty option to
8689 gdb_compile.
8690
8691 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
8692
8693 * config/unknown.exp: Remove.
8694
8695 2007-05-15 Markus Deuling <deuling@de.ibm.com>
8696
8697 * gdb.base/info-proc.exp: Check is_remote.
8698
8699 2007-05-14 Markus Deuling <deuling@de.ibm.com>
8700
8701 * gdb.base/gcore.exp: Initialize variable core_supported.
8702
8703 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8704
8705 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
8706
8707 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8708
8709 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
8710 * gdb.threads/print-threads.exp (test_all_threads): Allow
8711 negative and hexadecimal thread IDs.
8712
8713 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8714
8715 * gdb.java/jprint.java (public): Avoid invalid call to static
8716 method.
8717
8718 2007-05-14 Denis Pilat <denis.pilat@st.com>
8719
8720 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
8721 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
8722 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
8723 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
8724 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
8725
8726 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8727
8728 * gdb.base/overlays.exp: Add support for targets with only code
8729 overlay support, not data overlay. Support spu-*-* target in
8730 this mode.
8731 * gdb.base/ovlymgr.c: Provide stubs for spu target.
8732 * gdb.base/spu.ld: New file.
8733
8734 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
8735
8736 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
8737
8738 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
8739
8740 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
8741
8742 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8743
8744 * gdb.java/jmain.exp: Handle demangled names with and without method
8745 signatures.
8746
8747 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8748
8749 * gdb.mi/mi-syn-frame.c (main, foo, bar)
8750 (have_a_very_merry_interrupt): Remove calls to puts.
8751 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
8752 inferior output.
8753 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
8754 test names.
8755
8756 2007-04-29 Markus Deuling <deuling@de.ibm.com>
8757 Daniel Jacobowitz <dan@codesourcery.com>
8758
8759 * gdb.base/auxv.exp (core_works): Also check is_remote.
8760 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
8761
8762 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
8763
8764 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
8765 message, not the undefined 'module' variable.
8766 * gdb.base/siginfo.exp: Likewise.
8767 * gdb.base/sigstep.exp: Likewise.
8768 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
8769 serialport.
8770 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
8771
8772 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
8773
8774 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
8775 target sim fails. Return 0 otherwise.
8776 (gdb_load): Return prematurely if gdb_target_sim fails.
8777
8778 2007-04-16 Denis Pilat <denis.pilat@st.com>
8779
8780 * gdb.base/setshow.exp: Reset height after having set it to 100.
8781
8782 2007-04-16 Denis Pilat <denis.pilat@st.com>
8783
8784 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
8785
8786 2007-04-16 Denis Pilat <denis.pilat@st.com>
8787
8788 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
8789
8790 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
8791
8792 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
8793 tests. Run the frozen varobjs test.
8794 * gdb.mi/var-cmd.c (do_frozen_tests): New.
8795 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
8796
8797 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8798
8799 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
8800 gdb.base/type-opaque.exp: New files.
8801
8802 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
8803
8804 * gdb.mi/mi-var-child.c
8805 (do_children_tests): User char[2] instead of
8806 char so that automatic printing of pointers to char
8807 don't give unpredicable result.
8808 * gdb.mi/var-cmd.c (do_locals_test): Initialize
8809 local variables.
8810 * gdb.mi/mi-var-child.exp: Step to right line
8811 of do_children_tests.
8812 * gdb.mi/mi2-var-child.exp: Likewise.
8813 * gdb.mi/mi-var-cmd.exp: Step to right line of
8814 do_locals_tests.
8815 (do_children_tests): User char[2] instead of
8816 char so that automatic printing of pointers to char
8817 don't give unpredicable result.
8818 * gdb.mi/mi2-var-cmd.exp: Likewise.
8819 * lib/mi-support.exp (mi_continue_to_line):
8820 Pass test name to mi_wait_for_stop.
8821
8822 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8823
8824 * gdb.asm/asm-source.exp: Remove d10v case.
8825 * lib/gdb.exp (skip_cplus_tests): Likewise.
8826 * gdb.asm/d10v.inc: Deleted.
8827
8828 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8829
8830 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
8831
8832 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8833
8834 * config/netware.exp: Delete file.
8835
8836 2007-03-29 Joel Brobecker <brobecker@adacore.com>
8837
8838 * gdb.dwarf2/dw2-noloc.S: New file.
8839 * gdb.dwarf2/dw2-noloc.exp: New file.
8840
8841 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
8842
8843 * gdb.cp/method2.cc: New test.
8844 * gdb.cp/method2.exp: New test.
8845 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
8846
8847 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8848
8849 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
8850
8851 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
8852
8853 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
8854
8855 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8856
8857 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
8858 (gdb_load): Delete, replace with...
8859 (gdb_reload): ...this.
8860 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
8861 * gdb.server/server-mon.exp: Likewise.
8862 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
8863 (gdb_start_cmd): New.
8864 (gdb_file_cmd): Save the last loaded file.
8865 (gdb_reload): New.
8866 (gdb_gnu_strip_debug): Use transform.
8867 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
8868 support here. Use new $last_loaded_file. Check mtime.
8869 (gdb_target_cmd): Handle ObjC failure case.
8870 (infer_host_exec): Delete.
8871 (gdbserver_load): Rename to...
8872 (gdbserver_run): ...this. Simplify.
8873 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
8874 (mi_gdb_load): Move most contents to a new function...
8875 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
8876 (mi_run_cmd): Use mi_gdb_target_load.
8877 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
8878 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
8879 Use gdb_run_cmd.
8880 * gdb.base/charsign.exp: Remove incorrect comment.
8881 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
8882 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
8883 gdb.base/start.exp: Use gdb_start_cmd.
8884
8885 2007-03-23 Nigel Stephens <nigel@mips.com>
8886 Maciej W. Rozycki <macro@mips.com>
8887
8888 * gdb.base/sigbpt.exp: Fix the message when skipping test.
8889 * gdb.base/signull.exp: Similarly.
8890
8891 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8892
8893 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
8894 messages available to test cases (like chng-sym.exp).
8895
8896 2007-03-14 Andreas Schwab <schwab@suse.de>
8897
8898 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8899 format changes.
8900
8901 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
8902
8903 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
8904 (optimized_1): New.
8905 (main): Call optimized_1.
8906 (gdb2029): Correct typos. Call gdb2029_marker.
8907 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
8908 for gdb2029.
8909
8910 2007-03-12 Mark Kettenis <kettenis@gnu.org>
8911
8912 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
8913 as tabs. Remove redundant test pattern.
8914
8915 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8916
8917 * gdb.base/long_long.exp: Accept optional symbol name in <...>
8918 for /a format output.
8919
8920 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
8921
8922 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
8923 collect output incrementally.
8924
8925 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8926
8927 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
8928 for -var-create lpcharacter test.
8929 * gdb.mi/mi2-var-cmd.exp: Likewise.
8930
8931 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8932
8933 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
8934 pass on targets where address zero is readable.
8935
8936 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8937
8938 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
8939 just a single architecture.
8940
8941 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8942
8943 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
8944 (fetch_all_registers): New function, uses gdb_test_multiple and
8945 exp_continue to fetch inferior output line-by-line.
8946 Replace all uses of do_get_all_registers by fetch_all_registers.
8947
8948 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8949
8950 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
8951 in target_info.
8952
8953 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8954
8955 * gdb.threads/manythreads.exp: Use $message string for
8956 consistancy; add a default (timeout) case.
8957
8958 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8959
8960 * gdb.base/watchpoint.exp: Fix truncated comment.
8961
8962 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8963
8964 * Makefile.in: Remove spurious single-quotes from sed command.
8965
8966 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8967
8968 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
8969 func.
8970 * gdb.mi/mi2-var-cmd.exp: Likewise.
8971
8972 2007-02-27 Joel Brobecker <brobecker@adacore.com>
8973
8974 * gdb.dwarf2/dw2-producer.S: New file.
8975 * gdb.dwarf2/dw2-producer.exp: New testcase.
8976
8977 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
8978
8979 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8980 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8981 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8982 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8983 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8984 Revert tests to use mi_gdb_test and include value field in output
8985 of -var-create.
8986
8987 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8988
8989 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
8990
8991 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8992
8993 * gdb.base/maint.exp: Remove full paths from test names.
8994 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
8995 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
8996
8997 2007-02-27 Joel Brobecker <brobecker@adacore.com>
8998
8999 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
9000
9001 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9002
9003 * gdb.server/server-mon.exp: New test.
9004
9005 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9006
9007 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
9008
9009 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
9010
9011 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
9012 register capitalization.
9013
9014 2007-02-13 Denis Pilat <denis.pilat@st.com>
9015
9016 * gdb.mi/mi-var-invalidate.exp: New file.
9017
9018 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9019
9020 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
9021
9022 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9023
9024 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
9025
9026 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
9027
9028 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
9029 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
9030
9031 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
9032
9033 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
9034 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
9035 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
9036 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
9037 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
9038 * gdb.mi/gdb792.exp, lib/mi-support.exp:
9039 Update tests to include value field in output of -var-create.
9040
9041 2007-02-08 Andreas Schwab <schwab@suse.de>
9042
9043 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
9044
9045 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
9046
9047 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
9048 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
9049
9050 2007-02-02 Denis Pilat <denis.pilat@st.com>
9051
9052 * gdb.threads/threadapply.exp: check that frame is not changed by
9053 the thread apply all command.
9054
9055 2007-01-31 Andreas Schwab <schwab@suse.de>
9056
9057 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9058
9059 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
9060 in the dwarf sections.
9061 * gdb.dwarf2/mac-fileno.S: Likewise.
9062
9063 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
9064 bspstore register on ia64.
9065
9066 2007-01-29 Andreas Schwab <schwab@suse.de>
9067
9068 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
9069 "frame-begin" annotation.
9070
9071 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
9072 number of "frames-invalid" annotations.
9073
9074 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9075
9076 * gdb.base/commands.exp: Call if_commands_test.
9077 (gdb_test_no_prompt, if_commands_test): New.
9078
9079 2007-01-28 Mark Kettenis <kettenis@gnu.org>
9080
9081 * gdb.threads/sigthread.c (NSIGS): Make bigger.
9082
9083 2007-01-27 Andreas Schwab <schwab@suse.de>
9084
9085 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
9086 .short/.int/.quad in the dwarf sections.
9087 * gdb.dwarf2/dw2-intercu.S: Likewise.
9088 * gdb.dwarf2/dw2-intermix.S: Likewise.
9089
9090 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9091
9092 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
9093 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
9094 array.
9095 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
9096 * gdb.base/setvar.exp: Likewise.
9097
9098 2007-01-26 Andreas Schwab <schwab@suse.de>
9099
9100 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
9101 test.
9102
9103 * gdb.base/multi-forks.exp ("restart $i"): Also match
9104 __kernel_syscall_via_break.
9105
9106 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
9107
9108 * lib/mi-support.exp (mi_delete_varobj): New.
9109 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
9110 testcase.
9111 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
9112 (main): Call the above.
9113 (reference_update_test, base_in_reference_test)
9114 (reference_to_pointer): Delete the created varobjs.
9115
9116 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
9117
9118 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
9119 * configure: Regenerated.
9120 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
9121 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
9122 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
9123 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
9124 * lib/gdb.exp (gdb_skip_xml_test): New function.
9125
9126 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
9127
9128 * gdb.base/sigrepeat.exp: Correct error message.
9129
9130 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9131 Daniel Jacobowitz <dan@codesourcery.com>
9132
9133 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
9134 gdb.arch/i386-gnu-cfi-asm.S: New files.
9135
9136 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9137
9138 * lib/gdb.exp: Abort on missing `site.exp'.
9139
9140 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9141 Daniel Jacobowitz <dan@codesourcery.com>
9142
9143 * gdb.base/included.c, gdb.base/included.exp,
9144 gdb.base/included.h: New files.
9145
9146 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9147
9148 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
9149 (maximize_rlimit): Reduce limits on 64-bit systems.
9150
9151 2007-01-19 Mark Kettenis <kettenis@gnu.org>
9152
9153 From Marcus Deuling <deuling@de.ibm.com>:
9154 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
9155 every case.
9156
9157 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
9158
9159 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
9160 (test_path_specification): Use objdir instead of srcdir to always
9161 get an absolute filename.
9162
9163 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
9164
9165 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
9166
9167 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
9168
9169 * gdb.mi/mi-var-cp.cc (reference_update_tests):
9170 Make sure the variable we're using is in scope.
9171 (reference_to_pointer): Likewise.
9172
9173 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9174
9175 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
9176 has no debug information.
9177
9178 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
9179
9180 * gdb.base/annota1.exp: Remove extra send_gdb.
9181
9182 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9183
9184 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
9185
9186 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9187
9188 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
9189
9190 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
9191 Daniel Jacobowitz <dan@codesourcery.com>
9192
9193 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
9194 lcharacter or linteger change. Correct duplicated test name.
9195 * gdb.mi/mi2-var-cmd.exp: Likewise.
9196
9197 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
9198
9199 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
9200
9201 2007-01-05 Joel Brobecker <brobecker@adacore.com>
9202
9203 * gdb.base/nofield.c: New file.
9204 * gdb.base/nofield.exp: New testcase.
9205
9206 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
9207
9208 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
9209
9210 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
9211 test.
9212
9213 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9214
9215 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
9216
9217 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
9218
9219 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
9220 when continuing.
9221
9222 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9223
9224 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
9225 Expect ".exe" extension.
9226
9227 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9228
9229 * gdb.base/charset.exp: Add explicit filename to break.
9230 * gdb.base/dbx.exp: Add explicit filename to breaks.
9231
9232 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
9233
9234 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
9235 * gdb.mi/mi2-file.exp: Likewise.
9236
9237 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9238
9239 Implement specification of MI tests as comments
9240 in C and C++ sources.
9241 * lib/mi-support.exp (mi_autotest_data): New variable.
9242 (mi_autotest_source): New variable.
9243 (count_newlines, mi_prepare_inline_tests)
9244 (mi_get_inline_test, mi_continue_to_line)
9245 (mi_run_inline_test, mi_tbreak)
9246 (mi_send_resuming_command, mi_wait_for_stop): New functions.
9247 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
9248 Run inline tests.
9249 * gdb.mi/mi-var-cp.cc: Define tests here.
9250
9251 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
9252
9253 Simplify usage of mi_continue_to.
9254 * lib/mi-support.exp (mi_runto_helper): Renamed
9255 from mi_runto, added new parameter 'run_or_continue'.
9256 (mi_runto): Use mi_runto_helper.
9257 (mi_continue_to): Accept just function name as parameter.
9258 Use mi_runto_helper.
9259 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
9260 * gdb.mi/mi2-var-cmd.exp: Likewise.
9261
9262 2006-01-04 Joel Brobecker <brobecker@adacore.com>
9263
9264 Make this testcase a bit more realistic. The current code
9265 is too simplistic, and allows the compiler to optimize out
9266 some of the entities we need for this testcase.
9267 * gdb.ada/null_record/bar.ads (Void_Star): New type.
9268 (Do_Nothing): Add extra parameter.
9269 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
9270 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
9271 by using a variable of type Void_Star.
9272
9273 2006-01-04 Joel Brobecker <brobecker@adacore.com>
9274
9275 * gdb.ada/catch_ex/foo.adb: New file.
9276 * gdb.ada/catch_ex.exp: New testcase.
9277
9278 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
9279
9280 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
9281 pass --image-base to linker.
9282
9283 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9284 Daniel Jacobowitz <dan@codesourcery.com>
9285
9286 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
9287 secondary prompts.
9288
9289 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9290
9291 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
9292 output. Test the types of members and member pointers.
9293 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
9294 gdb/2092.
9295 * gdb.cp/member-ptr.exp: Search for a comment instead of a
9296 statement. Enable for GCC. Update expected output for some tests
9297 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
9298 layout.
9299 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
9300 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
9301 (Diamond::vget_base): New.
9302 (main): Add new tests.
9303 * gdb.cp/printmethod.exp: Update expected output for member functions.
9304 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
9305 print pEe->D::vg().
9306
9307 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
9308
9309 * gdb.threads/tls.exp: Allow stops in sem_post.
9310
9311 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
9312
9313 * gdb.base/annota1.exp: Allow .*printf in backtraces.
9314 * gdb.base/annota3.exp: Likewise.
9315 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
9316 again (instead of timing out).
9317 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
9318 GCC bug 26475.
9319 * gdb.java/jmisc.exp: Adjust to work with method signatures including
9320 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
9321 test from jmisc1.exp.
9322 * gdb.java/jmisc1.exp: Delete.
9323 * gdb.java/jprint.exp: Adjust to work with method signatures including
9324 return types.
9325 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
9326 * gdb.threads/linux-dp.exp: Don't be confused by program output.
9327 * lib/java.exp (compile_java_from_source): Pass the correct type
9328 to target_compile.
9329
9330 2006-12-31 Joel Brobecker <brobecker@adacore.com>
9331
9332 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
9333 (stack_align_edx): New function.
9334 (stack_align_eax): New function.
9335 (main): Add calls to stack_align_edx and stack_align_eax.
9336 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
9337 Add testing for the cases where the register used during a stack
9338 realignment is edx. Same for eax.
9339
9340 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
9341
9342 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
9343 and generic PE targets.
9344
9345 2006-12-29 Joel Brobecker <brobecker@adacore.com>
9346
9347 * gdb.ada/array_return.exp: Update copyright date list.
9348
9349 2006-12-27 Joel Brobecker <brobecker@adacore.com>
9350
9351 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
9352 (Create_Small_Float_Vector): New function.
9353 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
9354 function body.
9355 * gdb.ada/array_return/p.adb: Use new type and function from
9356 package Pck.
9357 * gdb.ada/array_return.exp: Add a test verifying that GDB is
9358 able to print the value returned by a function returning an
9359 array of float.
9360
9361 2006-12-20 Joel Brobecker <brobecker@adacore.com>
9362
9363 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
9364 The associated tests should be PASSing.
9365
9366 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9367
9368 Test for base in references.
9369 * gdb.mi/mi-var-cp.cc: Add test code.
9370 * gdb.mi/mi-var-cp.exp: Test for bases in references.
9371 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
9372 * gdb.mi/mi2-watch.exp: Likewise.
9373 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
9374 (mi_list_varobj_children): New function.
9375
9376 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
9377
9378 * lib/mi-support.exp
9379 (mi_runto): Accept "()" after function name.
9380 (mi_create_varobj): New function.
9381 (mi_varobj_update): New function.
9382 (mi_Check_varobj_value): New function.
9383 * gdb.mi/mi-var-cp.exp: New file.
9384 * gdb.mi/mi-var-cp.cc: New file.
9385
9386 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
9387
9388 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
9389 gdb.base/weaklib2.c: New files.
9390
9391 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
9392
9393 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
9394 info. Adjust test names.
9395
9396 * gdb.base/break.c (main): Move position of malloc.
9397 * gdb.base/break.exp: Revert mistaken checkin.
9398
9399 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
9400
9401 * gdb.mi/mi-var-cmd.exp: Check -var-update after
9402 assignement of arrays and function pointers.
9403 * gdb.mi/var-cmd.c: Add declaration necessary for above
9404 tests.
9405
9406 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9407
9408 * gdb.base/break.c (main): Call malloc.
9409
9410 * gdb.threads/linux-dp.exp: Read thread table before and after
9411 creating each philosopher and verify it.
9412
9413 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
9414 Paul Brook <paul@codesourcery.com>
9415 Daniel Jacobowitz <dan@codesourcery.com>
9416
9417 * gdb.base/ending-run.exp: Flatten expect script stepping out of
9418 main to remove duplication. Add start function of the form
9419 '_*start[1-9]*'. Add RVDS start function.
9420
9421 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9422
9423 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
9424
9425 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9426
9427 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
9428 * gdb.asm/spu.inc: New file.
9429 * gdb.base/term.exp: Disable if [target_info exists noargs].
9430 * gdb.gdb/complaints.exp: Disable if ![isnative].
9431 * gdb.gdb/selftest.exp: Likewise.
9432 * gdb.gdb/observer.exp: Likewise.
9433 * gdb.gdb/xfullpath.exp: Likewise.
9434 * gdb.base/attach.exp: Disable on SPU target.
9435 * gdb.cp/bs145503.exp: Likewise.
9436 * gdb.cp/exception.exp: Likewise.
9437 * gdb.cp/userdef.exp: Likewise.
9438
9439 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
9440
9441 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
9442
9443 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
9444
9445 * gdb.base/completion.exp: Fix completion tests for
9446 'info' and 'info '.
9447 * gdb.base/help.exp (help_test_raw, test_class_help)
9448 (test_prefix_command_help): Move...
9449 * lib/gdb.exp: Here.
9450 * gdb.base/main.exp: Adjust.
9451 * gdb.cp/maint.exp: Adjust.
9452 * gdb.trace/tracecmd.exp: Use test_help_class.
9453
9454 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9455
9456 * gdb.stabs/weird.exp (print_weird_var): Use
9457 gdb_test_multiple instead of gdb_expect.
9458
9459 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
9460
9461 * gdb.base/help.exp (help_test_raw): New.
9462 (test_class_help): New.
9463 (test_prefix_command_help): New.
9464 Adjust testcases.
9465
9466 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
9467
9468 * gdb.base/constvars.c (main): Write to crass and crips, so that
9469 they are allocated by the compiler.
9470
9471 2006-10-27 Andreas Schwab <schwab@suse.de>
9472
9473 * gdb.base/multi-forks.exp: Use "detach fork" instead of
9474 "detach-fork".
9475
9476 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
9477
9478 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
9479 of patterns.
9480
9481 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9482
9483 * gdb.base/sepdebug.exp: Remove debug format test.
9484 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
9485 Handle no-symtab.
9486 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
9487
9488 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
9489
9490 * gdb.threads/manythreads.c (thread_function, main): Don't cast
9491 int to pointer or pointer to int.
9492 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
9493
9494 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
9495
9496 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
9497
9498 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9499
9500 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
9501
9502 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
9503
9504 PR c++/2116
9505 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
9506
9507 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9508
9509 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
9510 the corresponding bug has been fixed in GDB (PR/2018).
9511
9512 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9513
9514 * gdb.base/subst.exp: New testcase.
9515
9516 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9517
9518 * gdb.ada/array_return/pck.ads: Add copyright notice.
9519 * gdb.ada/array_return/pck.adb: Likewise.
9520 * gdb.ada/array_return/p.adb: Likewise.
9521 * gdb.ada/exec_changed/first.adb: Likewise.
9522 * gdb.ada/exec_changed/second.adb: Likewise.
9523
9524 2006-10-06 Joel Brobecker <brobecker@adacore.com>
9525
9526 * gdb.ada/watch_arg/watch.adb: New file.
9527 * gdb.ada/watch_arg.exp: New testcase.
9528
9529 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
9530
9531 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
9532 via string_to_regexp.
9533 * gdb.mi/mi2-basics.exp: Likewise.
9534
9535 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
9536
9537 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
9538 Remove unused / obsolete files.
9539
9540 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
9541
9542 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
9543
9544 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
9545
9546 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
9547 HIGH_FRAME argument to -stack-list-arguments can be larger than
9548 the number of frames.
9549
9550 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
9551
9552 * gdb.base/args.c (main): Add breakpoint marker.
9553 * gdb.base/args.exp: Use args_test for tests. Add new tests which
9554 really test empty arguments.
9555 (args_load): Delete.
9556 (args_test): New.
9557
9558 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
9559
9560 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
9561 check for one file.
9562
9563 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
9564
9565 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
9566 HIGH_FRAME argument to -stack-list-locals can be larger than
9567 the number of frames.
9568
9569 2006-08-18 Fred Fish <fnf@specifix.com>
9570
9571 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
9572 '$' in front of skip_vmx_tests_saved when setting that.
9573
9574 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
9575
9576 * gdb.base/trace-commands.exp: New file.
9577
9578 2006-08-10 Joel Brobecker <brobecker@adacore.com>
9579 Daniel Jacobowitz <dan@codesourcery.com>
9580
9581 * gdb.base/step-bt.exp: Make hexadecimal address optional in
9582 expected output of the backtrace commands.
9583
9584 2006-08-09 Joel Brobecker <brobecker@adacore.com>
9585
9586 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
9587 untested followed by return combination.
9588 * gdb.arch/altivec-regs.exp: Likewise.
9589 * gdb.arch/e500-abi.exp: Likewise.
9590 * gdb.arch/e500-regs.exp: Likewise.
9591 * gdb.arch/gdb1291.exp: Likewise.
9592 * gdb.arch/gdb1431.exp: Likewise.
9593 * gdb.arch/gdb1558.exp: Likewise.
9594 * gdb.arch/i386-prologue.exp: Likewise.
9595 * gdb.arch/i386-unwind.exp: Likewise.
9596 * gdb.asm/asm-source.exp: Likewise.
9597 * gdb.base/a2-run.exp: Likewise.
9598 * gdb.base/advance.exp: Likewise.
9599 * gdb.base/all-bin.exp: Likewise.
9600 * gdb.base/annota1.exp: Likewise.
9601 * gdb.base/annota3.exp: Likewise.
9602 * gdb.base/args.exp: Likewise.
9603 * gdb.base/arithmet.exp: Likewise.
9604 * gdb.base/assign.exp: Likewise.
9605 * gdb.base/async.exp: Likewise.
9606 * gdb.base/attach.exp: Likewise.
9607 * gdb.base/bang.exp: Likewise.
9608 * gdb.base/bigcore.exp: Likewise.
9609 * gdb.base/bitfields.exp: Likewise.
9610 * gdb.base/bitfields2.exp: Likewise.
9611 * gdb.base/break.exp: Likewise.
9612 * gdb.base/call-sc.exp: Likewise.
9613 * gdb.base/call-strs.exp: Likewise.
9614 * gdb.base/callfuncs.exp: Likewise.
9615 * gdb.base/checkpoint.exp: Likewise.
9616 * gdb.base/chng-syms.exp: Likewise.
9617 * gdb.base/code-expr.exp: Likewise.
9618 * gdb.base/commands.exp: Likewise.
9619 * gdb.base/completion.exp: Likewise.
9620 * gdb.base/cond-expr.exp: Likewise.
9621 * gdb.base/condbreak.exp: Likewise.
9622 * gdb.base/consecutive.exp: Likewise.
9623 * gdb.base/constvars.exp: Likewise.
9624 * gdb.base/corefile.exp: Likewise.
9625 * gdb.base/cvexpr.exp: Likewise.
9626 * gdb.base/dbx.exp: Likewise.
9627 * gdb.base/define.exp: Likewise.
9628 * gdb.base/detach.exp: Likewise.
9629 * gdb.base/display.exp: Likewise.
9630 * gdb.base/dump.exp: Likewise.
9631 * gdb.base/ena-dis-br.exp: Likewise.
9632 * gdb.base/ending-run.exp: Likewise.
9633 * gdb.base/environ.exp: Likewise.
9634 * gdb.base/eval-skip.exp: Likewise.
9635 * gdb.base/exprs.exp: Likewise.
9636 * gdb.base/fileio.exp: Likewise.
9637 * gdb.base/finish.exp: Likewise.
9638 * gdb.base/float.exp: Likewise.
9639 * gdb.base/foll-exec.exp: Likewise.
9640 * gdb.base/foll-fork.exp: Likewise.
9641 * gdb.base/foll-vfork.exp: Likewise.
9642 * gdb.base/freebpcmd.exp: Likewise.
9643 * gdb.base/funcargs.exp: Likewise.
9644 * gdb.base/gcore.exp: Likewise.
9645 * gdb.base/gdb1090.exp: Likewise.
9646 * gdb.base/gdb1250.exp: Likewise.
9647 * gdb.base/huge.exp: Likewise.
9648 * gdb.base/info-proc.exp: Likewise.
9649 * gdb.base/interrupt.exp: Likewise.
9650 * gdb.base/jump.exp: Likewise.
9651 * gdb.base/langs.exp: Likewise.
9652 * gdb.base/lineinc.exp: Likewise.
9653 * gdb.base/list.exp: Likewise.
9654 * gdb.base/logical.exp: Likewise.
9655 * gdb.base/long_long.exp: Likewise.
9656 * gdb.base/macscp.exp: Likewise.
9657 * gdb.base/maint.exp: Likewise.
9658 * gdb.base/mips_pro.exp: Likewise.
9659 * gdb.base/miscexprs.exp: Likewise.
9660 * gdb.base/multi-forks.exp: Likewise.
9661 * gdb.base/opaque.exp: Likewise.
9662 * gdb.base/overlays.exp: Likewise.
9663 * gdb.base/pc-fp.exp: Likewise.
9664 * gdb.base/pointers.exp: Likewise.
9665 * gdb.base/printcmds.exp: Likewise.
9666 * gdb.base/psymtab.exp: Likewise.
9667 * gdb.base/ptype.exp: Likewise.
9668 * gdb.base/recurse.exp: Likewise.
9669 * gdb.base/relational.exp: Likewise.
9670 * gdb.base/relocate.exp: Likewise.
9671 * gdb.base/remote.exp: Likewise.
9672 * gdb.base/reread.exp: Likewise.
9673 * gdb.base/restore.exp: Likewise.
9674 * gdb.base/return.exp: Likewise.
9675 * gdb.base/return2.exp: Likewise.
9676 * gdb.base/scope.exp: Likewise.
9677 * gdb.base/sect-cmd.exp: Likewise.
9678 * gdb.base/sep.exp: Likewise.
9679 * gdb.base/sepdebug.exp: Likewise.
9680 * gdb.base/setshow.exp: Likewise.
9681 * gdb.base/setvar.exp: Likewise.
9682 * gdb.base/sigall.exp: Likewise.
9683 * gdb.base/sigbpt.exp: Likewise.
9684 * gdb.base/signals.exp: Likewise.
9685 * gdb.base/signull.exp: Likewise.
9686 * gdb.base/sizeof.exp: Likewise.
9687 * gdb.base/solib.exp: Likewise.
9688 * gdb.base/step-line.exp: Likewise.
9689 * gdb.base/step-test.exp: Likewise.
9690 * gdb.base/structs.exp: Likewise.
9691 * gdb.base/structs2.exp: Likewise.
9692 * gdb.base/term.exp: Likewise.
9693 * gdb.base/twice.exp: Likewise.
9694 * gdb.base/until.exp: Likewise.
9695 * gdb.base/varargs.exp: Likewise.
9696 * gdb.base/volatile.exp: Likewise.
9697 * gdb.base/watchpoint.exp: Likewise.
9698 * gdb.base/whatis-exp.exp: Likewise.
9699 * gdb.base/whatis.exp: Likewise.
9700 * gdb.cp/ambiguous.exp: Likewise.
9701 * gdb.cp/annota2.exp: Likewise.
9702 * gdb.cp/annota3.exp: Likewise.
9703 * gdb.cp/bool.exp: Likewise.
9704 * gdb.cp/breakpoint.exp: Likewise.
9705 * gdb.cp/casts.exp: Likewise.
9706 * gdb.cp/class2.exp: Likewise.
9707 * gdb.cp/classes.exp: Likewise.
9708 * gdb.cp/cplusfuncs.exp: Likewise.
9709 * gdb.cp/ctti.exp: Likewise.
9710 * gdb.cp/derivation.exp: Likewise.
9711 * gdb.cp/exception.exp: Likewise.
9712 * gdb.cp/gdb1355.exp: Likewise.
9713 * gdb.cp/hang.exp: Likewise.
9714 * gdb.cp/inherit.exp: Likewise.
9715 * gdb.cp/local.exp: Likewise.
9716 * gdb.cp/m-data.exp: Likewise.
9717 * gdb.cp/m-static.exp: Likewise.
9718 * gdb.cp/member-ptr.exp: Likewise.
9719 * gdb.cp/method.exp: Likewise.
9720 * gdb.cp/misc.exp: Likewise.
9721 * gdb.cp/namespace.exp: Likewise.
9722 * gdb.cp/overload.exp: Likewise.
9723 * gdb.cp/ovldbreak.exp: Likewise.
9724 * gdb.cp/pr-1023.exp: Likewise.
9725 * gdb.cp/pr-1210.exp: Likewise.
9726 * gdb.cp/pr-574.exp: Likewise.
9727 * gdb.cp/printmethod.exp: Likewise.
9728 * gdb.cp/psmang.exp: Likewise.
9729 * gdb.cp/ref-params.exp: Likewise.
9730 * gdb.cp/ref-types.exp: Likewise.
9731 * gdb.cp/rtti.exp: Likewise.
9732 * gdb.cp/templates.exp: Likewise.
9733 * gdb.cp/try_catch.exp: Likewise.
9734 * gdb.cp/userdef.exp: Likewise.
9735 * gdb.cp/virtfunc.exp: Likewise.
9736 * gdb.disasm/am33.exp: Likewise.
9737 * gdb.disasm/h8300s.exp: Likewise.
9738 * gdb.disasm/mn10300.exp: Likewise.
9739 * gdb.disasm/sh3.exp: Likewise.
9740 * gdb.disasm/t01_mov.exp: Likewise.
9741 * gdb.disasm/t02_mova.exp: Likewise.
9742 * gdb.disasm/t03_add.exp: Likewise.
9743 * gdb.disasm/t04_sub.exp: Likewise.
9744 * gdb.disasm/t05_cmp.exp: Likewise.
9745 * gdb.disasm/t06_ari2.exp: Likewise.
9746 * gdb.disasm/t07_ari3.exp: Likewise.
9747 * gdb.disasm/t08_or.exp: Likewise.
9748 * gdb.disasm/t09_xor.exp: Likewise.
9749 * gdb.disasm/t10_and.exp: Likewise.
9750 * gdb.disasm/t11_logs.exp: Likewise.
9751 * gdb.disasm/t12_bit.exp: Likewise.
9752 * gdb.disasm/t13_otr.exp: Likewise.
9753 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
9754 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
9755 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9756 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
9757 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
9758 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
9759 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
9760 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
9761 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
9762 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
9763 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
9764 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
9765 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
9766 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
9767 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
9768 * gdb.mi/gdb701.exp: Likewise.
9769 * gdb.mi/gdb792.exp: Likewise.
9770 * gdb.mi/mi-basics.exp: Likewise.
9771 * gdb.mi/mi-break.exp: Likewise.
9772 * gdb.mi/mi-cli.exp: Likewise.
9773 * gdb.mi/mi-console.exp: Likewise.
9774 * gdb.mi/mi-disassemble.exp: Likewise.
9775 * gdb.mi/mi-eval.exp: Likewise.
9776 * gdb.mi/mi-file.exp: Likewise.
9777 * gdb.mi/mi-read-memory.exp: Likewise.
9778 * gdb.mi/mi-regs.exp: Likewise.
9779 * gdb.mi/mi-return.exp: Likewise.
9780 * gdb.mi/mi-simplerun.exp: Likewise.
9781 * gdb.mi/mi-stack.exp: Likewise.
9782 * gdb.mi/mi-stepi.exp: Likewise.
9783 * gdb.mi/mi-syn-frame.exp: Likewise.
9784 * gdb.mi/mi-until.exp: Likewise.
9785 * gdb.mi/mi-var-block.exp: Likewise.
9786 * gdb.mi/mi-var-child.exp: Likewise.
9787 * gdb.mi/mi-var-cmd.exp: Likewise.
9788 * gdb.mi/mi-var-display.exp: Likewise.
9789 * gdb.mi/mi-watch.exp: Likewise.
9790 * gdb.mi/mi2-basics.exp: Likewise.
9791 * gdb.mi/mi2-break.exp: Likewise.
9792 * gdb.mi/mi2-cli.exp: Likewise.
9793 * gdb.mi/mi2-console.exp: Likewise.
9794 * gdb.mi/mi2-disassemble.exp: Likewise.
9795 * gdb.mi/mi2-eval.exp: Likewise.
9796 * gdb.mi/mi2-file.exp: Likewise.
9797 * gdb.mi/mi2-read-memory.exp: Likewise.
9798 * gdb.mi/mi2-regs.exp: Likewise.
9799 * gdb.mi/mi2-return.exp: Likewise.
9800 * gdb.mi/mi2-simplerun.exp: Likewise.
9801 * gdb.mi/mi2-stack.exp: Likewise.
9802 * gdb.mi/mi2-stepi.exp: Likewise.
9803 * gdb.mi/mi2-syn-frame.exp: Likewise.
9804 * gdb.mi/mi2-until.exp: Likewise.
9805 * gdb.mi/mi2-var-block.exp: Likewise.
9806 * gdb.mi/mi2-var-child.exp: Likewise.
9807 * gdb.mi/mi2-var-cmd.exp: Likewise.
9808 * gdb.mi/mi2-var-display.exp: Likewise.
9809 * gdb.mi/mi2-watch.exp: Likewise.
9810 * gdb.stabs/exclfwd.exp: Likewise.
9811 * gdb.stabs/weird.exp: Likewise.
9812 * gdb.threads/gcore-thread.exp: Likewise.
9813 * gdb.trace/actions.exp: Likewise.
9814 * gdb.trace/backtrace.exp: Likewise.
9815 * gdb.trace/circ.exp: Likewise.
9816 * gdb.trace/collection.exp: Likewise.
9817 * gdb.trace/deltrace.exp: Likewise.
9818 * gdb.trace/infotrace.exp: Likewise.
9819 * gdb.trace/limits.exp: Likewise.
9820 * gdb.trace/packetlen.exp: Likewise.
9821 * gdb.trace/passc-dyn.exp: Likewise.
9822 * gdb.trace/passcount.exp: Likewise.
9823 * gdb.trace/report.exp: Likewise.
9824 * gdb.trace/save-trace.exp: Likewise.
9825 * gdb.trace/tfind.exp: Likewise.
9826 * gdb.trace/tracecmd.exp: Likewise.
9827 * gdb.trace/while-dyn.exp: Likewise.
9828 * gdb.trace/while-stepping.exp: Likewise.
9829
9830 2006-08-08 Joel Brobecker <brobecker@adacore.com>
9831
9832 * gdb.base/step-bt.c: New file.
9833 * gdb.base/step-bt.exp: New testcase.
9834
9835 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
9836
9837 * config/monitor.exp (gdb_load): Remove support for obsolete
9838 download-write-size.
9839 * gdb.base/remote.exp: Likewise. Update all callers of
9840 gdb_timed_load.
9841
9842 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
9843
9844 * cursal.exp: Pass binfile to gdb_load.
9845
9846 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
9847
9848 * gdb.base/cursal.exp: Add "" to gdb_load call.
9849
9850 2006-07-29 Mark Kettenis <kettenis@gnu.org>
9851
9852 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
9853 NetBSD/ELF targets.
9854
9855 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
9856
9857 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
9858 operator*.
9859
9860 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
9861
9862 * gdb.base/completion.exp: Update for change in "file" behavior.
9863 * gdb.stabs/weird.exp: Likewise.
9864 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
9865 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
9866
9867 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
9868
9869 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
9870 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
9871
9872 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
9873
9874 * gdb.base/default.exp: Update source command error message.
9875 * gdb.base/help.exp: Update 'help source' message.
9876
9877 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
9878
9879 * gdb.cp/bs15503.exp: Update comment for no longer crashing
9880 test.
9881
9882 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
9883
9884 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
9885
9886 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9887
9888 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
9889
9890 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9891
9892 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
9893
9894 2006-07-17 Mark Kettenis <kettenis@gnu.org>
9895
9896 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
9897 *-*-openbsd* from targets for wich we expect ARM FPA floating
9898 point format.
9899
9900 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
9901
9902 * gdb.cp/annota3.exp: Expect frame-begin annotation.
9903
9904 2006-07-17 Mark Kettenis <kettenis@gnu.org>
9905
9906 * gdb.base/annota3.exp: Expect frame-begin annotation.
9907
9908 2006-07-14 Joel Brobecker <brobecker@adacore.com>
9909
9910 * gdb.base/help.exp: Adjust "help unset" test to accept
9911 any list of unset commands.
9912
9913 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
9914 Daniel Jacobowitz <dan@codesourcery.com>
9915
9916 * gdb.cp/ref-params.exp: New test.
9917 * gdb.cp/ref-params.cc: New source file.
9918 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
9919
9920 2006-07-08 Mark Kettenis <kettenis@gnu.org>
9921
9922 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
9923 spaces/tabs in regular expressions since they might not be there.
9924
9925 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
9926
9927 * gdb.base/ifelse.exp: New file.
9928
9929 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
9930
9931 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
9932 line.
9933 * gdb.base/huge.exp: Loop over compilation to find a size that
9934 is acceptable.
9935 * gdb.base/remote.exp: Correct expected strings.
9936 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
9937
9938 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9939
9940 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
9941
9942 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9943
9944 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
9945 native.
9946
9947 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9948
9949 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
9950 enable stabs testing.
9951
9952 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9953
9954 * gdb.base/auxv.exp: Intercept undefined command messages before
9955 gdb_test_multiple does.
9956
9957 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9958
9959 * Makefile.in (host_alias): Remove.
9960 (target_alias): Use @target_noncanonical@.
9961 (site.exp): Don't set host_alias.
9962 * aclocal.m4: Remove contents. Include acx.m4.
9963 * configure: Regenerated.
9964 * configure.ac: Use ACX_NONCANONICAL_TARGET.
9965
9966 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
9967
9968 * lib/gdb.exp (gdb_load_cmd): New.
9969
9970 * gdb.base/fileio.c: Add system(NULL) test.
9971 * gdb.base/fileio.exp: Check it.
9972
9973 * gdb.base/break.c: Add 10a breakpoint at }
9974 * gdb.base/break.exp: Add test for breakpoint at }
9975 * gdb.cp/anon-union.cc: Add code at end of function.
9976 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
9977 * gdb.mi/var-cmd.c: Add code at end of function.
9978 * gdb.mi/mi-var-display.exp: Adjust end of next.
9979 * gdb.mi/mi2-var-display.exp: Likewise.
9980 * gdb.base/fileio.c: Add stop function and insert calls at
9981 stopping places.
9982 * gdb.base/fileio.exp: Breakpoint stop function and remove
9983 explicit line number references.
9984
9985 2006-05-19 Joel Brobecker <brobecker@adacore.com>
9986
9987 * gdb.base/del.exp (test_delete_alias): New function.
9988 Now check that both "del" and "d" work as aliases for "delete".
9989
9990 2006-05-18 Fred Fish <fnf@specifix.com>
9991
9992 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
9993 required. Check for spurious output after program exits normally.
9994
9995 2006-05-17 Fred Fish <fnf@specifix.com>
9996
9997 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
9998 gdb_load, so it works in the simulator.
9999
10000 2006-05-11 Fred Fish <fnf@specifix.com>
10001
10002 * gdb.base/bang.exp: Ignore unexpected output between the
10003 "program exited normally" and the gdb prompt, as many other
10004 tests do.
10005
10006 2006-05-07 Mark Kettenis <kettenis@gnu.org>
10007
10008 * gdb.base/help.exp: Make "delete checkpoint" part option for
10009 "help d" and "help delete" tests.
10010
10011 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10012
10013 * gdb.mi/mi-basics.exp: Add missing serial number to
10014 expected output in some mi_gdb_test statements.
10015 * gdb.mi/mi2-basics.exp: Likewise.
10016
10017 2006-05-05 Joel Brobecker <brobecker@adacore.com>
10018
10019 * gdb.base/del.c: New file.
10020 * gdb.base/del.exp: New testcase.
10021
10022 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
10023
10024 * gdb.base/break.exp: Do not assume a breakpoint on
10025 main will actually be in $srcfile when optimizing.
10026 * gdb.base/savedregs.exp: Do not require that the dummy
10027 frame location match up to a symbol and source file location.
10028 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
10029 will get printed without a mi_cmd_data_list_register_values prefix.
10030 (*-data-list-register-*): Correct regular expressions to expect the new
10031 pseudo d? floating point registers.
10032 * gdb.mi/mi2-regs.exp: Likewise.
10033
10034 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
10035
10036 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
10037 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
10038 is allocated by the compiler.
10039 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
10040 anons, e, anone to force their allocation by the compiler.
10041
10042 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
10043
10044 * gdb.base/help.exp: Update expected text for help d and
10045 help delete.
10046
10047 2006-05-02 Mark Kettenis <kettenis@gnu.org>
10048
10049 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
10050 NetBSD/ELF targets.
10051
10052 2006-04-30 Mark Kettenis <kettenis@gnu.org>
10053
10054 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
10055 single-step breakpoint fails; make this a KFAIL on
10056 sparc*-*-openbsd*.
10057 * gdb.base/siginfo.exp: Likewise.
10058 * gdb.base/sigstep.exp (advance, advancei): Likewise.
10059
10060 2006-04-26 Michael Snyder <msnyder@redhat.com>
10061
10062 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
10063 which may have to consume output from other forks.
10064 Add tests to make sure that "delete fork" succeeded.
10065
10066 2006-04-20 Michael Snyder <msnyder@redhat.com>
10067
10068 * 2006-03-22 Jim Blandy <jimb@redhat.com>
10069 Add support for the Renesas M32C and M16C.
10070
10071 * gdb.asm/asm-source.exp: Add m32c target.
10072 * gdb.asm/m32c.inc: Support for m32c target.
10073
10074 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
10075
10076 * gdb.base/commands.exp (recursive_source_test): New test.
10077
10078 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
10079
10080 * gdb.base/float.exp: Add pattern for sparc targets.
10081
10082 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10083
10084 * gdb.base/commands.exp (stray_arg0_test): New test.
10085
10086 2006-03-30 Paul Brook <paul@codesourcery.com>
10087
10088 * gdb.mi/mi-until.exp: kfail broken until command.
10089 * gdb.mi/mi2-until.exp: Ditto.
10090
10091 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
10092
10093 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
10094
10095 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
10096
10097 * gdb.base/prelink.exp: Anchor tested-for regular expression
10098 on gdb prompt.
10099
10100 2006-03-07 Paul Brook <paul@codesourcery.com>
10101
10102 * gdb.base/assign.exp: Correct fail message.
10103
10104 2006-03-07 Paul Brook <paul@codesourcery.com>
10105
10106 * lib/compiler.c: Extract armcc version number.
10107 * lib/compiler.cc: Ditto.
10108
10109 2006-03-07 Paul Brook <paul@codesourcery.com>
10110
10111 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
10112 additional_flags=-w.
10113 * gdb.arch/altivec-regs.exp: Ditto.
10114 * gdb.arch/e500-abi.exp: Ditto.
10115 * gdb.arch/e500-regs.exp: Ditto.
10116 * gdb.base/all-bin.exp: Ditto.
10117 * gdb.base/annota1.exp: Ditto.
10118 * gdb.base/annota3.exp: Ditto.
10119 * gdb.base/args.exp: Ditto.
10120 * gdb.base/arithmet.exp: Ditto.
10121 * gdb.base/assign.exp: Ditto.
10122 * gdb.base/async.exp: Ditto.
10123 * gdb.base/bang.exp: Ditto.
10124 * gdb.base/break.exp: Ditto.
10125 * gdb.base/call-rt-st.exp: Ditto.
10126 * gdb.base/completion.exp: Ditto.
10127 * gdb.base/cond-expr.exp: Ditto.
10128 * gdb.base/condbreak.exp: Ditto.
10129 * gdb.base/consecutive.exp: Ditto.
10130 * gdb.base/define.exp: Ditto.
10131 * gdb.base/display.exp: Ditto.
10132 * gdb.base/ena-dis-br.exp: Ditto.
10133 * gdb.base/environ.exp: Ditto.
10134 * gdb.base/eval-skip.exp: Ditto.
10135 * gdb.base/info-proc.exp: Ditto.
10136 * gdb.base/jump.exp: Ditto.
10137 * gdb.base/logical.exp: Ditto.
10138 * gdb.base/long_long.exp: Ditto.
10139 * gdb.base/maint.exp: Ditto.
10140 * gdb.base/miscexprs.exp: Ditto.
10141 * gdb.base/pc-fp.exp: Ditto.
10142 * gdb.base/pointers.exp: Ditto.
10143 * gdb.base/relational.exp: Ditto.
10144 * gdb.base/reread.exp: Ditto.
10145 * gdb.base/sect-cmd.exp: Ditto.
10146 * gdb.base/sep.exp: Ditto.
10147 * gdb.base/sepdebug.exp: Ditto.
10148 * gdb.base/until.exp: Ditto.
10149 * gdb.base/whatis-exp.exp: Ditto.
10150 * gdb.cp/annota2.exp: Ditto.
10151 * gdb.cp/annota3.exp: Ditto.
10152 * gdb.trace/actions.exp: Ditto.
10153 * gdb.trace/backtrace.exp: Ditto.
10154 * gdb.trace/circ.exp: Ditto.
10155 * gdb.trace/collection.exp: Ditto.
10156 * gdb.trace/deltrace.exp: Ditto.
10157 * gdb.trace/infotrace.exp: Ditto.
10158 * gdb.trace/limits.exp: Ditto.
10159 * gdb.trace/packetlen.exp: Ditto.
10160 * gdb.trace/passc-dyn.exp: Ditto.
10161 * gdb.trace/passcount.exp: Ditto.
10162 * gdb.trace/report.exp: Ditto.
10163 * gdb.trace/save-trace.exp: Ditto.
10164 * gdb.trace/tfind.exp: Ditto.
10165 * gdb.trace/tracecmd.exp: Ditto.
10166 * gdb.trace/while-dyn.exp: Ditto.
10167 * gdb.trace/while-stepping.exp: Ditto.
10168 * lib/gdb.exp: Ditto.
10169 (gdb_compile): Handle nowarning option.
10170
10171 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
10172
10173 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
10174 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
10175 Rename executable to prelinkt. Don't re-prelink if we didn't
10176 get a core file. Test prelink -u exit status to tell whether
10177 prelinking failed. Use gdb_test_multiple.
10178
10179 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10180
10181 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
10182 (do_tests): Call it.
10183
10184 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
10185
10186 * gdb.base/prelink.exp: New test.
10187 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
10188
10189 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
10190
10191 * gdb.fortran/derived-type.f90: New file.
10192 * gdb.fortran/derived-type.exp: New testcase.
10193
10194 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
10195
10196 * gdb.base/default.exp: Allow ';' as a directory separator.
10197
10198 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10199
10200 * gdb.base/help.exp (help add-symbol-file): Update.
10201
10202 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
10203
10204 * gdb.base/help.exp (help load): Update expected results.
10205
10206 2006-02-19 Fred Fish <fnf@specifix.com>
10207
10208 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
10209 specifix hex value as part of results.
10210 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
10211
10212 2006-02-16 Fred Fish <fnf@specifix.com>
10213
10214 * gdb.base/whatis.c: Define variables using typedefs char_addr,
10215 ushort_addr, and slong_addr, so the typedefs are not optimized
10216 away.
10217 * gdb.base/whatis.exp: Add tests using type name for struct type,
10218 union type, enum type, and typedef.
10219
10220 2006-02-13 Mark Kettenis <kettenis@gnu.org>
10221
10222 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
10223
10224 2006-02-13 Jim Blandy <jimb@redhat.com>
10225
10226 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
10227 case where it takes two "next" commands to skip past the init
10228 call.
10229
10230 2006-02-12 Fred Fish <fnf@specifix.com>
10231
10232 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
10233 to handle cases where it takes two "next" commands to skip
10234 past the init call.
10235
10236 2006-02-07 Joel Brobecker <brobecker@adacore.com>
10237
10238 * gdb.ada/array_return.exp: Mark the last test as expected to fail
10239 on hppa32 targets.
10240
10241 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
10242
10243 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
10244 field.
10245
10246 2006-01-29 Mark Kettenis <kettenis@gnu.org>
10247
10248 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
10249
10250 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10251
10252 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
10253 files.
10254
10255 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
10256
10257 * gdb.cp/maint.exp: Set complaints to a positive value.
10258
10259 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10260
10261 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
10262 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
10263 function name.
10264
10265 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
10266
10267 * gdb.base/checkpoint.c: Update copyright notice. Include
10268 <stdlib.h>.
10269
10270 2006-01-04 Jim Blandy <jimb@redhat.com>
10271
10272 * gdb.asm/asm-source.exp: Independently provide default values for
10273 asm-flags and debug-flags. Use 'string equal' to do the
10274 comparison, not the implicit expr's '==' operator. Remove
10275 now-unneeded assignments to asm-flags. In h8300 case, place
10276 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
10277
10278 2006-01-04 Michael Snyder <msnyder@redhat.com>
10279
10280 * gdb.base/checkpoint.c: New file.
10281 * gdb.base/checkpoint.exp: New file.
10282 * gdb.base/multi-fork.c: New file.
10283 * gdb.base/multi-fork.exp: New file.
10284 * gdb.base/pi.txt: New file (data for checkpoint.c test).
10285
10286 2006-01-04 Fred Fish <fnf@specifix.com>
10287
10288 * gdb.base/ptype.c (foo): Add typedef.
10289 (intfoo): Add function.
10290 * gdb.base/ptype1.c: New file.
10291 * gdb.base/ptype.exp: Handle compilation and linking with two
10292 source files. Test that proper type for "foo" is found based
10293 on source context rather than first match found in symtabs.
10294
10295 2005-12-28 Mark Kettenis <kettenis@gnu.org>
10296
10297 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
10298 * gdb.asm/openbsd.inc: Indent commands.
10299
10300 2005-12-26 Mark Kettenis <kettenis@gnu.org>
10301
10302 * gdb.base/freebpcmd.exp: Increase timeout.
10303
10304 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
10305
10306 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
10307
10308 * gdb.base/default.exp: Update check for "show version".
10309
10310 2005-12-09 Randolph Chung <tausq@debian.org>
10311
10312 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
10313 * gdb.asm/pa64.inc: New file.
10314
10315 2005-12-09 Randolph Chung <tausq@debian.org>
10316
10317 * gdb.asm/common.inc: Indent commands.
10318 * gdb.asm/asmsrc1.s: Likewise.
10319 * gdb.asm/asmsrc2.s: Likewise.
10320
10321 2005-12-09 Randolph Chung <tausq@debian.org>
10322
10323 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
10324 (get_addr_of_sym): Remove duplicate print.
10325 (gen_core): xfail hppa*-*-hpux*, update expected output.
10326 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
10327 * gdb.arch/pa64-nullify.s: New file.
10328
10329 2005-12-09 Randolph Chung <tausq@debian.org>
10330
10331 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
10332
10333 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
10334
10335 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
10336 code generation for these functions.
10337 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
10338 error message.
10339
10340 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
10341
10342 * gdb.base/help.exp (help b, help br, help bre, help brea)
10343 (help break): Update the expected message.
10344
10345 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
10346
10347 * gdb.asm/m68hc11.inc: Setup the data section.
10348 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
10349 script for this test.
10350 (m6812-*-*): Likewise.
10351
10352 2005-11-09 Randolph Chung <tausq@debian.org>
10353
10354 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
10355
10356 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
10357
10358 * gdb.base/break.exp: Fix a comment typo.
10359
10360 2005-11-03 Jim Blandy <jimb@redhat.com>
10361
10362 Checked in by Elena Zannoni <ezannoni@redhat.com>
10363
10364 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
10365
10366 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
10367
10368 * gdb.arch/gdb1558.c: Include stdio.h.
10369
10370 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10371
10372 * gdb.asm/asm-source.exp: Use -e instead of --entry.
10373
10374 2005-10-31 Mark Kettenis <kettenis@gnu.org>
10375
10376 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
10377
10378 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
10379
10380 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10381 vscr" tests to better match output.
10382
10383 2005-10-12 Jim Blandy <jimb@redhat.com>
10384
10385 * gdb.base/structs.exp (any): New function.
10386 (test_struct_returns): Don't make any assumptions at all about
10387 what value the function returns when GDB can't set the return
10388 value.
10389
10390 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10391
10392 * gdb.ada/arrayidx/p.adb: New file.
10393 * gdb.ada/arrayidx.exp: New testcase
10394
10395 2005-10-09 Joel Brobecker <brobecker@adacore.com>
10396
10397 * gdb.ada/array_return/pck.ads: New file.
10398 * gdb.ada/array_return/pck.adb: New file.
10399 * gdb.ada/array_return/p.adb: New file.
10400 * gdb.ada/array_return.exp: New testcase.
10401
10402 2005-10-03 Joel Brobecker <brobecker@adacore.com>
10403
10404 * gdb.base/arrayidx.c: New file.
10405 * gdb.base/arrayidx.exp: New testcase.
10406
10407 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
10408
10409 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
10410 frames-invalid and breakpoints-invalid are no longer generated
10411 with level 3 so don't expect them in the output.
10412
10413 2005-09-27 Bob Rossi <bob@brasko.net>
10414
10415 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
10416 from test. Escape the | in mi_gdb_test call.
10417 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
10418 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
10419 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
10420 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
10421 expected regex's in mi_gdb_test calls.
10422 * lib/mi-support.exp: Remove arbitrary .* from tests.
10423 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
10424 Fully anchor GDB/MI expected results in mi_gdb_test.
10425 * lib/gdb.exp (string_to_regexp): Escape the ] character.
10426 * gdb.base/sizeof.exp: Remove escape character. Correct test.
10427
10428 2005-09-26 Paul Brook <paul@codesourcery.com>
10429
10430 * long_long.exp: Exclude eabi targets from arm FPA float format test.
10431
10432 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10433
10434 * bfp-test.c: New file.
10435 * bfp-test.exp: New testcase.
10436
10437 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
10438
10439 * gdb.fortran/subarray.exp: New testcase to test the evaluation
10440 of subarray and substring variable.
10441 * gdb.fortran/subarray.f: New source file for the test of subarray
10442 and substring variable evaluation.
10443 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
10444 of string constant.
10445
10446 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
10447
10448 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
10449 copyright dates.
10450
10451 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
10452
10453 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
10454 powerpc altivec' test with an almost identical 'info vector' test.
10455
10456 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10457
10458 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
10459 vscr" tests to match output.
10460
10461 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
10462
10463 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
10464 output.
10465
10466 2005-09-11 Bob Rossi <bob@brasko.net>
10467
10468 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
10469 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
10470 commands that return an MI output command and an asyncronous MI output
10471 command.
10472 * gdb.mi/mi-console.exp: Ditto.
10473
10474 2005-09-11 Bob Rossi <bob@brasko.net>
10475
10476 * gdb.mi/mi-var-child.c: Include <string.h>.
10477
10478 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
10479
10480 * killed.exp: Correct gdb_expect syntax.
10481
10482 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
10483
10484 * lib/mi-support.exp (mi_gdb_load): Fix typo.
10485
10486 2005-08-02 Bob Rossi <bob@brasko.net>
10487
10488 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
10489 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
10490 Change tests to inferior-tty-set/show.
10491 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
10492 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
10493 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
10494 inferior. Use mi_gdb_test to get GDB and Inferior output.
10495 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
10496 descriptor.
10497 (mi_inferior_tty_name): Add inferior PTY file name.
10498 (mi_gdb_start): Add INFERIOR_PTY parameter.
10499 (mi_gdb_test): Add IPATTERN parameter.
10500
10501 2005-08-02 Bob Rossi <bob@brasko.net>
10502
10503 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
10504 parameter to mi_gdb_test.
10505 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
10506
10507 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10508
10509 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
10510 struct_declarations.
10511 * gdb.mi/mi-var-child.exp: Step over the initialization of
10512 struct_declarations.
10513
10514 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10515
10516 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
10517 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
10518 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
10519 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
10520 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
10521 file.
10522
10523 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
10524
10525 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
10526 (do_children_tests): Assign values to the extra elements.
10527
10528 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
10529 them for tests for "-var-update --no-values" and
10530 "-var-update --all-values".
10531 Add test for "-var-list-children --simple-values".
10532
10533 * gdb.mi/basics.c (callee4): Add integer array D[3]...
10534
10535 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
10536 "-stack-list-locals --simple-values" Improve doc strings and
10537 comments.
10538
10539 2005-07-18 Mark Kettenis <kettenis@gnu.org>
10540
10541 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
10542 *-*-openbsd*.
10543 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
10544
10545 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
10546 sigaltsatck'.
10547
10548 2005-07-14 Bob Rossi <bob@brasko.net>
10549
10550 * gdb.base/default.exp (tty): Changed output of command.
10551 * gdb.base/help.exp (help tty): Ditto.
10552
10553 2005-07-12 Mark Kettenis <kettenis@gnu.org>
10554
10555 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
10556
10557 2005-07-10 Mark Kettenis <kettenis@gnu.org>
10558
10559 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
10560 -stack-select-frame without arguments.
10561 (test_stack_frame_listing): Add test for newly implemented command
10562 -stack-info-frame.
10563
10564 2005-07-06 Bob Rossi <bob@brasko.net>
10565
10566 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
10567 command.
10568 (Copyright): Update copyright.
10569
10570 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
10571
10572 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
10573 tests to evaluate exponentiation expression.
10574
10575 2005-06-29 Andreas Schwab <schwab@suse.de>
10576
10577 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
10578 main to avoid warnings.
10579
10580 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
10581
10582 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
10583
10584 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
10585 -stack-select-frame without arguments.
10586 (test_stack_frame_listing): Add test for newly implemented command
10587 -stack-info-frame.
10588
10589 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
10590
10591 * gdb.fortran/array-element.f: New file.
10592 * gdb.fortran/array-element.exp: New testcase.
10593
10594 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10595
10596 * gdb.base/bigcore.exp: Correct checks for systems which can
10597 not dump a large core file.
10598
10599 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10600
10601 * gdb.base/relocate.c: Add a copyright notice.
10602 (dummy): Remove.
10603 * gdb.base/relocate.exp: Test printing the values of variables
10604 from a relocatable file.
10605
10606 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10607
10608 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
10609 excess MI output after an error.
10610
10611 2005-05-29 Joel Brobecker <brobecker@adacore.com>
10612
10613 * gdb.arch/alpha-step.c: New file.
10614 * gdb.arch/alpha-step.exp: New testcase.
10615
10616 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
10617 Dennis Brueni <dennis@slickedit.com>
10618
10619 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
10620 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
10621 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
10622 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
10623 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
10624 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
10625 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
10626
10627 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
10628 Wu Zhou <woodzltc@cn.ibm.com>
10629
10630 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
10631 IBM's xlc compiler.
10632 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
10633 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
10634
10635 2005-05-13 Jim Blandy <jimb@redhat.com>
10636
10637 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
10638 calling gdb_suppress_entire_file.
10639 * gdb.base/charset.exp: Same.
10640 * gdb.base/call-rt-st.exp: Same.
10641
10642 2005-05-05 Bob Rossi <bob_rossi@cox.net>
10643
10644 * lib/gdb.exp (fullname_syntax): Added global regex.
10645 (fullname_syntax_POSIX): Ditto.
10646 (fullname_syntax_UNC): Ditto.
10647 (fullname_syntax_DOS_CASE): Ditto.
10648 (fullname_syntax_DOS): Ditto.
10649 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
10650 fullname_syntax variable to scope and use it.
10651 (test_file_list_exec_source_files): Ditto.
10652 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
10653
10654 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
10655
10656 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
10657
10658 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
10659
10660 * lib/gdb.exp (skip_altivec_tests): New function, based on
10661 check_vmx_hw_available from the GCC testsuite.
10662 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
10663 * lib/gdb.arch/altivec-regs.exp: Likewise.
10664
10665 2005-05-02 Jim Blandy <jimb@redhat.com>
10666
10667 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
10668 calling gdb_suppress_entire_file.
10669
10670 2005-04-30 Randolph Chung <tausq@debian.org>
10671
10672 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
10673 Slightly relax "sem_post" name checking.
10674
10675 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10676
10677 * gdb.base/unload.exp: Use new shared library infrastructure.
10678
10679 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10680
10681 * gdb.base/so-impl-ld.exp: Use new shared library
10682 infrastructure.
10683
10684 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
10685
10686 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
10687 * gdb.asm/h8300.inc: New file.
10688
10689 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10690
10691 * gdb.base/shlib-call.exp: Change to use new shared library
10692 infrastructure.
10693
10694 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10695
10696 * gdb.base/pending.exp: Change to use new shared library
10697 infrastructure.
10698
10699 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10700
10701 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
10702 use test_compiler_info instead of gcc_compiled, and update copyright.
10703
10704 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
10705
10706 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
10707 shared objects being adjusted and update copyright years.
10708
10709 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
10710
10711 * ChangeLog: Correct some 2003-01-13 dates.
10712 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
10713 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
10714 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
10715 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
10716 gdb.trace/tfind.exp: Update copyright years.
10717
10718 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
10719 Daniel Jacobowitz <dan@codesourcery.com>
10720
10721 * lib/gdb.exp (gdb_compile): Handle shlib=.
10722 (gdb_compile_shlib): New function.
10723
10724 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
10725
10726 * lib/gdb.exp (test_compiler_info): Give argument a default value.
10727
10728 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10729
10730 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
10731 gdb.server.
10732 * configure.ac: Likewise.
10733 * configure: Regenerated.
10734 * gdb.gdbserver/Makefile.in: Moved to...
10735 * gdb.server/Makefile.in: ... here.
10736 * gdb.gdbserver/server.c: Moved to...
10737 * gdb.server/server.c: ... here.
10738 * gdb.gdbserver/server-run.exp: Moved to...
10739 * gdb.server/server-run.exp: ... here.
10740
10741 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10742
10743 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
10744 * configure.ac: Create gdb.gdbserver/Makefile.
10745 * configure: Regenerated.
10746 * lib/gdbserver-support.exp: New file, derived from
10747 config/gdbserver.exp.
10748 * config/gdbserver.exp: Use gdbserver-support.exp.
10749 * gdb.gdbserver/Makefile.in: New file.
10750 * gdb.gdbserver/server.c: New file.
10751 * gdb.gdbserver/server-run.exp: New file.
10752
10753 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
10754
10755 * lib/gdb.exp (test_compiler_info): Return compiler_info
10756 if no arguments are given.
10757
10758 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
10759
10760 * gdb.arch/altivec-abi.exp: Check for compiler and set
10761 use altivec' flag accordingly.
10762 * gdb.arch/altivec-regs.exp: Likewise.
10763
10764 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
10765
10766 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
10767
10768 2005-03-27 Andreas Schwab <schwab@suse.de>
10769
10770 * gdb.base/bigcore.c (main): Add missing mode argument in open
10771 call.
10772
10773 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
10774
10775 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
10776 downloads.
10777 * config/gdbserver.exp (gdb_load): Likewise.
10778
10779 2005-03-14 Paul Brook <paul@codesourcery.com>
10780
10781 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
10782 targets.
10783
10784 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10785
10786 * gdb.dwarf2/dup-psym.S: New file.
10787 * gdb.dwarf2/dup-psym.exp: New testcase.
10788
10789 2005-03-09 Joel Brobecker <brobecker@adacore.com>
10790
10791 * gdb.ada/exec_changed/first.adb: New file.
10792 * gdb.ada/exec_changed/second.adb: New file.
10793 * gdb.ada/exec_changed.exp: New testcase.
10794
10795 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
10796
10797 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
10798 (A2): New class.
10799 (main): Test operator+.
10800 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
10801 breakpoint test.
10802
10803 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
10804 * gdb.base/signull.exp: Disable if gdb,nosignals.
10805 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
10806 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
10807 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
10808 * gdb.mi/mi2-console.exp: Likewise.
10809 * gdb.trace/collection.exp (run_trace_experiment): Consume the
10810 continue output at start.
10811 (gdb_collect_locals_test): Robustify regexp.
10812 * gdb.trace/passc-dyn.exp: Fix comment typo.
10813 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
10814
10815 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
10816
10817 * gdb.asm/asm-source.exp: Add iq2000 case.
10818 * gdb.asm/iq2000.inc: New file.
10819
10820 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
10821
10822 * gdb.base/command.exp: Change hardcoded value to regular expression.
10823 * gdb.base/float.exp: Add powerpc to the list of targets checked.
10824
10825 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
10826
10827 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
10828 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
10829 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
10830 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
10831 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
10832
10833 2005-03-05 Mark Kettenis <kettenis@gnu.org>
10834
10835 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
10836 changes.
10837
10838 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
10839
10840 * lib/compiler.c: Add test for IBM's xlc compiler.
10841 * lib/compiler.cc: Likewise.
10842
10843 2004-02-24 Joel Brobecker <brobecker@adacore.com>
10844
10845 * gdb.ada/fixed_points.exp: Create compilation object directory
10846 before running the test.
10847 * gdb.ada/null_record.exp: Likewise.
10848 * gdb.ada/packed_array.exp: Likewise.
10849 * gdb.ada/start.exp: Likewise.
10850
10851 2005-02-15 Joel Brobecker <brobecker@adacore.com>
10852
10853 * gdb.ada/packed_array/pa.adb: New file.
10854 * gdb.ada/packed_array.exp: New testcase.
10855
10856 2005-02-10 Mark Kettenis <kettenis@gnu.org>
10857
10858 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
10859 files.
10860
10861 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
10862 on *-*-openbsd*. Correctly match whitespace in regukar
10863 expressions.
10864
10865 2005-02-10 Daniel Jacobowitz <dan@debian.org>
10866
10867 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
10868 PR exp/1821
10869 * gdb.base/gdb1821.c: New test file.
10870 * gdb.base/gdb1821.exp: New test file.
10871
10872 2005-02-09 Joel Brobecker <brobecker@adacore.com>
10873
10874 * gdb.base/start.c: New file.
10875 * gdb.base/start.exp: New testcase.
10876
10877 2005-02-09 Joel Brobecker <brobecker@adacore.com>
10878
10879 * gdb.ada/start/dummy.adb: New file.
10880 * gdb.ada/start.exp: New testcase.
10881
10882 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
10883
10884 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
10885 for printing symbols and statistics.
10886 Add test for using relative pathnames in "maint print msymbols" test.
10887 Mark "maint info sections DATA" XFAIL on Cygwin.
10888 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
10889 tests.
10890
10891 2005-02-09 Andreas Schwab <schwab@suse.de>
10892
10893 Committed by Andrew Cagney <cagney@gnu.org>
10894 * gdb.base/remotetimeout.exp: New file.
10895
10896 2005-02-07 Mark Kettenis <kettenis@gnu.org>
10897
10898 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
10899
10900 2005-02-03 Joel Brobecker <brobecker@adacore.com>
10901
10902 * gdb.ada/gnat_ada.gpr: New file.
10903 * gdb.ada/gnat_ada.gin: Delete, no longer used.
10904 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
10905 * configure.ac: No longer generate gnat_ada.gpr.
10906 * configure: Regenerate.
10907 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
10908 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
10909 * gdb.ada/null_record/bar.ads: Likewise.
10910 * gdb.ada/null_record/bar.adb: Likewise.
10911 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
10912 * gdb.ada/null_record.exp (testdir): New variable.
10913 (testfile): executable is now in testdir subdirectory.
10914 (srcfile): Use full path to the main compilation unit.
10915 * gdb.ada/fixed_points.exp: Same changes as above.
10916
10917 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
10918
10919 * gdb.base/interp.exp: New test.
10920
10921 2005-01-24 Andrew Cagney <cagney@gnu.org>
10922
10923 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
10924
10925 2005-01-19 Andrew Cagney <cagney@gnu.org>
10926
10927 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
10928 configure.ac not configure.in.
10929
10930 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
10931 of powerpc*-*-*.
10932 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
10933 * gdb.base/list.exp (test_list_function)
10934 (test_list_filename_and_function): Ditto.
10935 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
10936
10937 2005-01-16 Andrew Cagney <cagney@gnu.org>
10938
10939 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
10940
10941 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
10942
10943 2005-01-14 Andrew Cagney <cagney@gnu.org>
10944
10945 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
10946 * gdb.mi/mi2-var-cmd.exp: Ditto.
10947
10948 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
10949
10950 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
10951
10952 2005-01-07 Andrew Cagney <cagney@gnu.org>
10953
10954 * configure.ac: Rename configure.in, require autoconf 2.59.
10955 * configure: Re-generate.
10956 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
10957 * gdb.stabs/configure: Re-generate.
10958 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
10959 * gdb.hp/configure: Re-generate.
10960 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
10961 autoconf 2.59.
10962 * gdb.hp/gdb.objdbg/configure: Re-generate.
10963 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
10964 autoconf 2.59.
10965 * gdb.hp/gdb.defects/configure: Re-generate.
10966 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
10967 autoconf 2.59.
10968 * gdb.hp/gdb.compat/configure: Re-generate.
10969 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
10970 autoconf 2.59.
10971 * gdb.hp/gdb.base-hp/configure: Re-generate.
10972 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
10973 autoconf 2.59.
10974 * gdb.hp/gdb.aCC/configure: Re-generate.
10975
10976 2004-12-15 Jim Blandy <jimb@redhat.com>
10977
10978 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
10979 under NPTL when there is debugging info available for libpthread.
10980
10981 2004-12-13 Jerome Guitton <guitton@gnat.com>
10982
10983 * gdb.ada/fixed_points.c: New file.
10984 * gdb.ada/fixed_points.exp: New file.
10985
10986 2004-12-03 Randolph Chung <tausq@debian.org>
10987
10988 * gdb.arch/pa-nullify.exp: New file.
10989 * gdb.arch/pa-nullify.s: New file.
10990
10991 2004-11-30 Randolph Chung <tausq@debian.org>
10992
10993 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
10994 instead of "tbug". Fix regexp to work properly with gdb_test.
10995
10996 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
10997
10998 * gdb.base/bitfields2.exp: New test.
10999 * gdb.base/bitfields2.c: New file.
11000
11001 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
11002
11003 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
11004
11005 2004-11-16 Randolph Chung <tausq@debian.org>
11006
11007 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
11008
11009 2004-11-14 Daniel Jacobowitz <dan@debian.org>
11010
11011 * gdb.threads/threadapply.exp: Correct "macro details" test.
11012
11013 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
11014
11015 * gdb.threads/threadapply.exp: New test.
11016 * gdb.threads/threadapply.c: New file.
11017
11018 2004-11-07 Mark Kettenis <kettenis@gnu.org>
11019
11020 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
11021 frames.
11022
11023 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
11024
11025 * gdb.base/cursal.exp: New file.
11026 * gdb.base/cursal.c: New file.
11027
11028 2004-11-03 Andrew Cagney <cagney@gnu.org>
11029
11030 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
11031
11032 2004-10-30 Mark Kettenis <kettenis@gnu.org>
11033
11034 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
11035 NetBSD/ELF targets.
11036
11037 2004-10-29 Joel Brobecker <brobecker@gnat.com>
11038
11039 * gdb.threads/bp_in_thread.c: New file, copied from
11040 pthread_cond_wait.c.
11041 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
11042 file, rather than reusing the .c file from another testcase.
11043
11044 2004-10-20 Joel Brobecker <brobecker@gnat.com>
11045
11046 * gdb.ada/null_record.exp: Check where we stopped after
11047 sending the start command, instead of where the associated
11048 temporary breakpoint was inserted.
11049
11050 2004-10-14 Andrew Cagney <cagney@gnu.org>
11051
11052 * gdb.mi/gdb701.c (main): Return 0.
11053
11054 2004-10-13 Daniel Jacobowitz <dan@debian.org>
11055
11056 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
11057
11058 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
11059
11060 * gdb.threads/schedlock.c: Add comment markers to use to find
11061 line numbers.
11062 * gdb.threads/schedlock.exp: Adjust regex to handle the new
11063 comments.
11064 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
11065 breakpoint lines.
11066
11067 2004-10-12 Daniel Jacobowitz <dan@debian.org>
11068
11069 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
11070
11071 2004-10-12 Daniel Jacobowitz <dan@debian.org>
11072
11073 * configure.in: Add gdb.dwarf2.
11074 * configure: Regenerated.
11075 * Makefile.in: Add gdb.dwarf2.
11076 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
11077 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
11078 gdb.dwarf2/file1.txt: New files.
11079
11080 2004-10-11 Orjan Friberg <orjanf@axis.com>
11081
11082 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
11083 of "run", since the latter doesn't work with remote targets. Adjust
11084 the breakpoint numbering accordingly.
11085 * gdb.threads/pthread_cond_wait.exp: Ditto.
11086
11087 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
11088
11089 * gdb.base/overlays.exp: Update copyright years.
11090
11091 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
11092
11093 * gdb.base/overlays.exp: Disable if target is Linux.
11094
11095 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
11096
11097 * config/gdbserver.exp (gdb_load): Use right filename on remote.
11098
11099 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
11100
11101 * gdb.asm/asm-source.exp: Add m32r-linux target.
11102 * gdb.asm/m32r-linux.inc: New file.
11103
11104 2004-09-24 Andrew Cagney <cagney@redhat.com>
11105 David Anderson <anderson@redhat.com>
11106
11107 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
11108 command fails, assume things will work.
11109 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
11110 (_GNU_SOURCE): Define.
11111 (print_unsigned, print_hex): Change parameter to "long long".
11112 (print_byte_count): New function, use to print byte counts.
11113 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
11114 O_LARGEFILE.
11115 (main): Compute an upper bound on a corefile in max_core_size.
11116 Limit memory chunk size to max_core_size. Limit total memory
11117 allocated to max_core_size.
11118
11119 2004-09-23 Andrew Cagney <cagney@gnu.org>
11120
11121 * gdb.base/bigcore.exp: Replace the code that creates a corefile
11122 from a separate process with code that creates a corefile by
11123 making the inferior dump core.
11124
11125 2004-09-23 Mark Kettenis <kettenis@gnu.org>
11126
11127 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
11128 block.
11129
11130 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
11131
11132 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
11133 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
11134 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
11135 Likewise.
11136
11137 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
11138
11139 * gdb.java/jprint.exp: New test case for java inferior call.
11140 * gdb.java/jprint.java: Ditto.
11141
11142 2004-09-15 Joel Brobecker <brobecker@gnat.com>
11143
11144 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
11145
11146 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11147
11148 * gdb.threads/killed.c: Include <stdlib.h>.
11149 * gdb.threads/pthreads.c: Likewise.
11150
11151 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
11152
11153 * gdb.threads/killed.c: Add copyright notice.
11154
11155 2004-09-10 Jason Molenda (jmolenda@apple.com)
11156
11157 * gdb.base/define.exp: Two new tests to verify zero space chars
11158 after 'if' and 'while' commands in a user-defined command is correctly
11159 parsed.
11160
11161 2004-09-08 Andrew Cagney <cagney@gnu.org>
11162
11163 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
11164 delivery test with duplicate at end of file.
11165
11166 2004-09-06 Mark Kettenis <kettenis@jive.nl>
11167
11168 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
11169
11170 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11171
11172 * config/hppro.exp: Removed.
11173
11174 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11175
11176 * config/sparclet.exp: Removed.
11177
11178 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
11179
11180 * config/udi.exp: Removed.
11181
11182 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
11183
11184 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
11185 of "exp_continue".
11186 (advancei): Likewise.
11187
11188 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11189
11190 * gdb.base/unload.exp: Fix so messages aren't duplicated.
11191
11192 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
11193
11194 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
11195 to check for nodebug in executable.
11196 * gdb.gdb/observer.exp (setup_test): Likewise.
11197 * gdb.gdb/selftest.exp (test_with_self): Likewise.
11198 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
11199
11200 2004-09-01 Andrew Cagney <cagney@gnu.org>
11201
11202 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11203 files.
11204
11205 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
11206
11207 * gdb.base/unload.exp: Fix expected warning message to match
11208 latest format.
11209
11210 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
11211
11212 * gdb.base/call-rt-st.exp: Fix typos.
11213
11214 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
11215
11216 * gdb.threads/thread_check.exp: New testcase.
11217 * gdb.threads/thread_check.c: New testcase.
11218
11219 2004-08-31 Andrew Cagney <cagney@gnu.org>
11220
11221 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
11222 (skip_to_handler_entry): New procedures. Test stepping into a
11223 handler when the breakpoint is at the handler's entry point.
11224
11225 2004-08-30 Andrew Cagney <cagney@gnu.org>
11226
11227 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
11228 gdb/1757.
11229
11230 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11231
11232 With code from Manoj Iyer <manjo@austin.ibm.com>:
11233 * lib/gdb.exp (gdb_file_cmd): Return more information in the
11234 return value. Add an arm for "no debugging symbols found".
11235 Change a stray "error" to "perror".
11236 (gdb_run_cmd): Adapt to new return value.
11237 * gdb.base/remote.exp: Adapt to new return value.
11238 * gdb.gdb/complaints.exp: Likewise.
11239 * gdb.gdb/observer.exp: Likewise.
11240 * gdb.gdb/selftest.exp: Likewise.
11241 * gdb.gdb/xfullpath.exp: Likewise.
11242
11243 2004-08-27 Joel Brobecker <brobecker@gnat.com>
11244
11245 * gdb.threads/bp_in_thread.exp: New testcase.
11246
11247 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
11248
11249 Fix PR testsuite/1735.
11250 * gdb.threads/schedlock.c (thread_function): Add a cast
11251 to suppress a gcc warning.
11252 * gdb.threads/thread-specific.c (thread_function): Likewise.
11253
11254 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11255
11256 * gdb.base/unload.c: Include <stdlib.h>.
11257
11258 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11259
11260 From Paul Gilliam <pgilliam@us.ibm.com>:
11261 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
11262 synchronized after the "return".
11263
11264 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11265
11266 * gdb.mi/basics.c: Include <stdio.h>.
11267 * gdb.mi/pthreads.c: Include <stdlib.h>.
11268 * gdb.mi/var-cmd.c: Include <stdlib.h>.
11269
11270 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
11271
11272 * gdb.threads/schedlock.c: Add copyright notice.
11273
11274 2004-08-25 Andrew Cagney <cagney@gnu.org>
11275
11276 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
11277 (skip_over_handler, breakpoint_over_hander): New test procedures.
11278 (advance, advancei): Add a proper prefix, do not use
11279 rerun_to_main.
11280 * gdb.base/sigstep.c (main): Change to use an infinite loop.
11281
11282 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
11283
11284 * gdb.mi/basics.c: Add copyright notice.
11285 * gdb.mi/var-cmd.c: Add copyright notice.
11286
11287 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11288
11289 * lib/gdb.exp: Remove signed_keyword_not_used.
11290 * lib/compiler.c: Likewise.
11291 * lib/compiler.cc: Likewise.
11292
11293 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11294
11295 * gdb.base/whatis.c: Remove conditional disabling of "signed".
11296 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
11297
11298 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
11299
11300 * gdb.base/whatis.c: Add copyright notice.
11301
11302 2004-08-20 Mark Kettenis <kettenis@gnu.org>
11303
11304 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
11305 it to skip the breakpoints encoded in the inline assembly.
11306
11307 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11308
11309 * Makefile.in: Add gdb.fortran.
11310
11311 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
11312
11313 * gdb.base/call-sc.exp (test_scalar_returns):
11314 Fix cut-and-paste glitch in "Make fun return now".
11315
11316 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11317
11318 * configure.in: Add gdb.fortran.
11319 * configure: Regenerate.
11320 * gdb.fortran/Makefile.in: New file.
11321 * lib/gdb.exp (skip_fortran_tests): New procedure.
11322
11323 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
11324
11325 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
11326 reference to bug-gnu@prep.ai.mit.edu.
11327 * gdb.mi/mi-var-child.exp: Likewise.
11328 * gdb.mi/mi-var-cmd.exp: Likewise.
11329 * gdb.mi/mi-var-display.exp: Likewise.
11330 * gdb.mi/mi2-var-block.exp: Likewise.
11331 * gdb.mi/mi2-var-child.exp: Likewise.
11332 * gdb.mi/mi2-var-cmd.exp: Likewise.
11333 * gdb.mi/mi2-var-display.exp: Likewise.
11334
11335 2004-08-15 Mark Kettenis <kettenis@gnu.org>
11336
11337 * gdb.base/unload.c (main): Make local variable msg const.
11338
11339 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11340
11341 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
11342 to bug-gnu@prep.ai.mit.edu.
11343 * gdb.mi/mi-disassemble.exp: Likewise.
11344 * gdb.mi/mi-eval.exp: Likewise.
11345 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
11346 default line number.
11347 * gdb.mi/mi-return.exp: Likewise.
11348 * gdb.mi/mi-simplerun.exp: Likewise.
11349 * gdb.mi/mi-stack.exp: Likewise.
11350 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
11351 number with explicit range test.
11352 * gdb.mi/mi-watch.exp: Likewise.
11353 * gdb.mi/mi2-break.exp: Likewise.
11354 * gdb.mi/mi2-cli.exp: Likewise.
11355 * gdb.mi/mi2-disassemble.exp: Likewise.
11356 * gdb.mi/mi2-eval.exp: Likewise.
11357 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
11358 default line number.
11359 * gdb.mi/mi2-return.exp: Likewise.
11360 * gdb.mi/mi2-simplerun.exp: Likewise.
11361 * gdb.mi/mi2-stack.exp: Likewise.
11362 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
11363 number with explicit range test.
11364 * gdb.mi/mi2-watch.exp: Likewise.
11365
11366 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
11367
11368 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
11369 * gdb.cp/m-static.exp: Likewise.
11370 * gdb.cp/rtti.exp: Likewise.
11371
11372 2004-08-14 Mark Kettenis <kettenis@gnu.org>
11373
11374 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
11375
11376 2004-08-14 Eli Zaretskii <eliz@gnu.org>
11377
11378 * ChangeLog: Prefix Local Variables with semi-colons and indent
11379 the reference to older ChangeLog files, to fix fontification in
11380 Emacs.
11381
11382 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11383
11384 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
11385 * gdb.mi/mi2-break.exp: Likewise.
11386
11387 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11388
11389 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
11390
11391 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11392
11393 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
11394
11395 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
11396
11397 * gdb.cp/classes.exp: Remove unused declarations. Just let
11398 test names default instead of providing special names. Remove
11399 extraneous demangler test.
11400
11401 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
11402
11403 * gdb.base/unload.exp: New test for breakpoints in dynamically
11404 loaded libraries.
11405 * gdb.base/unload.c: Ditto.
11406 * gdb.base/unloadshr.c: Ditto.
11407
11408 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
11409
11410 * gdb.cp/classes.exp (test_ptype_class_objects): Call
11411 cp_test_ptype_class.
11412 (test_enums): Likewise.
11413
11414 2004-08-10 Andrew Cagney <cagney@gnu.org>
11415
11416 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
11417 files.
11418
11419 2004-08-10 Andrew Cagney <cagney@gnu.org>
11420
11421 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
11422 init_malloc call.
11423
11424 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
11425
11426 * ChangeLog: Add copyright notice. The notice is copied
11427 from emacs 21.3 top level ChangeLog.
11428
11429 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11430
11431 * lib/cp-support.exp: New file.
11432 * lib/cp-support.exp (cp_test_type_class): New function.
11433 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
11434 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
11435 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
11436 cp_test_ptype_class.
11437
11438 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11439
11440 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
11441 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11442 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
11443 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
11444 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
11445 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
11446 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
11447 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
11448 gdb.mi/mi2-watch.exp: Update copyright years.
11449
11450 2004-08-09 Mark Kettenis <kettenis@gnu.org>
11451
11452 * gdb.base/sigaltstack.exp: Provide proper anchoring.
11453
11454 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
11455
11456 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
11457 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
11458 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
11459 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
11460 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
11461 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
11462 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
11463 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
11464 gdb.mi/mi-watch.exp: Update copyright years.
11465
11466 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11467
11468 PR gdb/1738
11469 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
11470 from a breakpoint with a pending signal.
11471
11472 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11473
11474 PR gdb/1736
11475 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
11476 * gdb.base/sigaltstack.exp (finish_test): Consume output until
11477 the prompt.
11478 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
11479
11480 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11481
11482 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
11483
11484 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11485
11486 PR gdb/1736
11487 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
11488 for i?86-*-linux*.
11489
11490 2004-08-08 Daniel Jacobowitz <dan@debian.org>
11491
11492 * gdb.arch/i386-prologue.exp: Compile without debug information.
11493
11494 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
11495
11496 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
11497 rather than asking gdb to search.
11498
11499 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11500
11501 * gdb.base/gcore.c: Include <string.h>.
11502
11503 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11504
11505 * gdb.base/gcore.c: Add copyright notice.
11506
11507 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
11508
11509 * gdb.base/freebpcmd.c: Include <stdio.h>.
11510 * gdb.base/long_long.c: Include <string.h>.
11511 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
11512 * gdb.base/siginfo.c: Include <string.h>.
11513 * gdb.base/sigstep.c: Include <string.h>.
11514
11515 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11516
11517 * gdb.base/complex.c: Include <stdlib.h>.
11518
11519 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11520
11521 * gdb.base/complex.c: Add copyright notice.
11522
11523 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11524
11525 * gdb.base/charset.c: Include <stdlib.h>.
11526
11527 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11528
11529 * gdb.base/auxv.c: Include <stdlib.h>.
11530
11531 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11532
11533 * gdb.base/auxv.c: Add copyright notice.
11534
11535 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
11536
11537 * gdb.base/coremaker.c: Add copyright notice.
11538 * gdb.base/coremaker2.c: Add copyright notice.
11539
11540 2004-08-04 Andrew Cagney <cagney@gnu.org>
11541
11542 * gdb.base/store.exp: Update copyright.
11543 (check_set, up_set, check_struct, up_struct): Add a prefix to test
11544 names, do not import gdb_prompt.
11545
11546 2004-08-01 Andrew Cagney <cagney@gnu.org>
11547
11548 Fix PR testsuite/1729.
11549 * gdb.base/dump.exp: Add test name to callers of capture_value, do
11550 not use capture_value with value 4.
11551 (capture_value): Add optional test name parameter.
11552 (test_reload_saved_value, test_restore_saved_value): Use $msg as
11553 the prefix, pass to capture_value.
11554
11555 2004-08-01 Mark Kettenis <kettenis@gnu.org>
11556
11557 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
11558 * gdb.arch/i386-prologue.c (standard): New prototype and function.
11559 (main): Call new function.
11560
11561 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11562
11563 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
11564
11565 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11566
11567 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
11568
11569 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
11570
11571 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
11572 Accept more values of vtbl pointer. Remove some messages
11573 about "obsolete gcc or gdb".
11574
11575 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11576
11577 * gdb.cp/classes.exp: Accept more varieties of ptype output.
11578
11579 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
11580
11581 * gdb.base/asm-source.exp: Properly convert target board
11582 debug flags from gcc format to binutils format.
11583
11584 2004-07-28 Mark Kettenis <kettenis@gnu.org>
11585
11586 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
11587 gdb1718". PR backtrace/1718 partially fixed.
11588
11589 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
11590
11591 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
11592
11593 2004-07-26 Nick Clifton <nickc@redhat.com>
11594
11595 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
11596 good default value for a specific architecture is available then
11597 set it to that value. Otherwise default to the -gstabs switch.
11598 Remove the -g... switches from the asm-flags variable. Allow the
11599 target board info to override the value if it wants to. Pass the
11600 switch on the assembler command line.
11601
11602 2004-07-23 Mark Kettenis <kettenis@gnu.org>
11603
11604 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
11605 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
11606 (main): Call new function.
11607
11608 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
11609
11610 Test for PR exp/1715.
11611 * gdb.base/radix.exp: Refactor common procedures. Make all
11612 test names unique. Change XFAIL to KFAIL.
11613
11614 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
11615
11616 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
11617 * gdb.ada/gnat_ada.gin: ... to here.
11618 * configure.in: Use gnat_ada.gin.
11619 * configure: Regenerate.
11620
11621 2004-07-20 Andrew Cagney <cagney@gnu.org>
11622
11623 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
11624 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
11625 XFAILs. Clean up test messages and comments. Check backtraces.
11626 Delete re-sync code.
11627
11628 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11629
11630 Fix PR cli/740.
11631 * gdb.base/annota1.exp: Honor gdb,nosignals.
11632 * gdb.base/annota3.exp: Likewise.
11633
11634 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11635
11636 * lib/java.exp: Update copyright notice.
11637
11638 2004-07-19 Andrew Cagney <cagney@gnu.org>
11639
11640 * gdb.base/selftest.exp: Copy file from here ...
11641 * gdb.gdb/selftest.exp: ... to here.
11642
11643 2004-07-16 Andrew Cagney <cagney@redhat.com>
11644
11645 * lib/insight-support.exp: Delete file.
11646 * lib/java.exp (java_init): Fix copyright.
11647
11648 2004-07-16 Andrew Cagney <cagney@gnu.org>
11649
11650 * gdb.base/restore.c: Append "prologue" to comments marking the a
11651 function's prologue.
11652 * gdb.base/restore.exp: Update copyright, re-indent.
11653 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
11654 callerN" prefix where needed. Update patterns that match a
11655 function's prologue.
11656
11657 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
11658
11659 * gdb.base/restore.c: Add copyright notice.
11660
11661 2004-07-16 Andrew Cagney <cagney@gnu.org>
11662
11663 * gdb.base/logical.exp: Update copyright.
11664 (evaluate): New procedure. Use to re-implement tests using
11665 several tables.
11666
11667 2004-07-14 Martin Hunt <hunt@redhat.com>
11668
11669 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
11670 which fixes some problems where init.tcl was not found.
11671
11672 2004-07-13 Andrew Cagney <cagney@gnu.org>
11673
11674 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
11675 (check_sizeof, check_valueof): Do not include the output in the
11676 test name. Use gdb_test.
11677 (get_valueof): Use gdb_test_multiple.
11678
11679 * gdb.base/step-test.exp: Update copyright. Use
11680 gdb_test_multiple. Ensure that test names do not include
11681 architecture dependent output.
11682
11683 * gdb.gdb/observer.exp: Update copyright.
11684 (setup_test): Use gdb_test_multiple.
11685 (attach_first_observer, attach_second_observer)
11686 (attach_third_observer, detach_first_observer)
11687 (detach_second_observer, detach_third_observer)
11688 (reset_counters, check_counters): Make $message a prefix.
11689 (test_normal_stop_notifications): Add "args" parameter - a list of
11690 init functions to be called. Make $message a prefix,
11691 (test_observer_normal_stop): Change the message prefixes so that
11692 they are unique, pass the attach / detach procedures to
11693 test_normal_stop_notifications.
11694
11695 * gdb.base/signull.exp (test_segv): Prefix all tests with
11696 "${name}". Clean up test messages.
11697
11698 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
11699
11700 * gdb.base/ena-dis-br.exp: Update copyright.
11701 (break_at): New function. Replace send_gdb with gdb_test,
11702 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
11703 ignore count, not stopped at bpt", with KFAIL.
11704
11705 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
11706
11707 * gdb.base/attach.exp: Remove cleanupfile handling.
11708
11709 2004-07-12 Andrew Cagney <cagney@gnu.org>
11710
11711 * gdb.base/annota1.exp: Cleanup corefile test name.
11712 * gdb.base/annota3.exp: Ditto.
11713
11714 2004-07-12 Andrew Cagney <cagney@gnu.org>
11715
11716 * gdb.base/signals.exp: Clean up copyright, re-indent.
11717
11718 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
11719 gdb_test and gdb_test_multiple.
11720
11721 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
11722
11723 * gdb.java/jmain.exp: Fix expected line number for main to
11724 break at. Set XFAIL for break at main test since gcj does not
11725 provide line number info for first statement in main.
11726
11727 2004-07-08 Andrew Cagney <cagney@gnu.org>
11728
11729 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
11730
11731 * gdb.base/sigbpt.exp: Make the common part of each test name a
11732 prefix instead of suffix.
11733
11734 2004-07-07 Bob Rossi <bob_rossi@cox.net>
11735
11736 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
11737 test from test_tbreak_creation_and_listing to
11738 test_file_list_exec_source_file
11739 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
11740 Changed name of test from test_tbreak_creation_and_listing to
11741 test_file_list_exec_source_file
11742
11743 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
11744
11745 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
11746 the jmisc() constructor instead of <init>.
11747 * gdb.java/jmisc1.exp: Ditto.
11748
11749 2004-07-07 Andrew Cagney <cagney@gnu.org>
11750
11751 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
11752 corrupting the PC.
11753
11754 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
11755
11756 * gdb.cp/templates.exp: Accept whitespace change in demangler
11757 output.
11758
11759 2004-07-06 Andrew Cagney <cagney@gnu.org>
11760
11761 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
11762
11763 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
11764
11765 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
11766 * lib/compiler.cc: Likewise.
11767
11768 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
11769
11770 * lib/compiler.cc: Work around string preprocessing problem
11771 with old hp c++ compiler.
11772 * lib/compiler.c: Likewise.
11773
11774 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11775
11776 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
11777 directives to conditionalize symbol prefixing.
11778 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
11779 additional_flags handling. Add underscore prefix for Cygwin.
11780 * gdb.arch/i386-unwind.c: Use preprocessor directives to
11781 conditionalize symbol prefixing.
11782 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
11783 additional_flags handling. Add underscore prefix for Cygwin.
11784
11785 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
11786
11787 * gdb.base/bigcore.exp: Skip test on Cygwin.
11788
11789 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
11790
11791 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
11792 formats for "info register". Use gdb_test_multiple. Fix
11793 the "invalid register" test.
11794
11795 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
11796
11797 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
11798 PID for Cygwin. Add Cygwin specific strings to check for in some
11799 tests.
11800 (do_attach_tests): Add a test for user interaction when attaching
11801 to a process with no matching symbol table already loaded.
11802
11803 2004-06-26 Andrew Cagney <cagney@gnu.org>
11804
11805 Test PR java/1567 and PR java/1565.
11806 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
11807 * gdb.java/jmisc2.exp: Delete file.
11808
11809 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
11810
11811 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
11812
11813 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
11814
11815 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
11816 attach process.
11817
11818 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
11819
11820 * gdb.cp/pr-1553.exp: Remove.
11821
11822 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
11823
11824 * gdb.cp/pr-1553.cc: Remove.
11825 * gdb.cp/pr-1553.exp: Disable this test.
11826
11827 2004-06-20 Jim Blandy <jimb@redhat.com>
11828
11829 Fix PR testsuite/1680.
11830 * gdb.arch/i386-sse.exp: Properly quote curly braces in
11831 regular expressions.
11832
11833 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
11834
11835 Fix PR testsuite/1679.
11836 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
11837 Issue an UNSUPPORTED result instead.
11838
11839 2004-06-18 Jim Blandy <jimb@redhat.com>
11840
11841 * gdb.base/charset.exp: Only send a control-C if we see a new
11842 prompt and incomplete command.
11843
11844 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
11845
11846 * gdb.cp/pr-574.cc: Add copyright notice.
11847
11848 2004-06-17 Jim Blandy <jimb@redhat.com>
11849
11850 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
11851 cases where the regexp has no groups; this grabs random text from
11852 the previous test suite, whatever that was.
11853
11854 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
11855
11856 * gdb.cp/printmethod.cc: Add copyright notice.
11857
11858 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
11859
11860 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
11861
11862 2004-06-16 Andrew Cagney <cagney@gnu.org>
11863
11864 * gdb.base/signull.c: Update copyright. Include <string.h>.
11865 (bowler): Replace data_pointer with data_read
11866 and data_write cases. Add code_descriptor case.
11867 (zero, desc): New array and pointer.
11868 (data, code): Change to simple pointers.
11869 * gdb.base/signull.exp: Fix probe pattern matching a function
11870 descriptor SIGSEGV. Replace data_pointer with data_read and
11871 data_write tests.
11872
11873 2004-06-16 Andrew Cagney <cagney@gnu.org>
11874
11875 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
11876
11877 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11878
11879 * gdb.base/long_long.c: Add copyright notice.
11880
11881 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11882
11883 * gdb.base/long_long.exp: Remove reference to
11884 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
11885 to gdb_breakpoint and gdb_continue_to_breakpoint.
11886
11887 2004-06-14 Jim Blandy <jimb@redhat.com>
11888
11889 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
11890 endian case.
11891
11892 2004-06-14 Andrew Cagney <cagney@gnu.org>
11893
11894 * gdb.base/gcore.exp (capture_command_output): Delete the always
11895 passing tests containing inferior values.
11896 * gdb.base/ending-run.exp: Do not include the breakpoint address
11897 in the test message. Update copyright.
11898 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
11899 size in the test name, use gdb_test_multiple. Update copyright.
11900
11901 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11902
11903 * gdb.cp/ref-types.cc: Add copyright notice.
11904
11905 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11906
11907 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
11908 hp_aCC_compiler.
11909 * lib/compiler.cc: Likewise.
11910 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
11911 'set' commands. Log diagnostics for other lines. Set
11912 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
11913
11914 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
11915
11916 * gdb.cp/try_catch.cc: Add copyright notice.
11917
11918 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
11919
11920 * gdb.cp/userdef.cc: Add copyright notice.
11921
11922 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
11923
11924 * gdb.cp/virtfunc.cc: Add copyright notice.
11925
11926 2004-06-11 Randolph Chung <tausq@debian.org>
11927
11928 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
11929 problem.
11930
11931 2004-06-10 Andrew Cagney <cagney@gnu.org>
11932
11933 * lib/compiler.cc, lib/compiler.c: Append either
11934 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
11935 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
11936 instead of gcc-3-3.
11937
11938 2004-06-09 Andrew Cagney <cagney@gnu.org>
11939
11940 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
11941 gdb/1455, bug is specific to "long long" and "double".
11942
11943 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
11944 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
11945 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
11946 fixed.
11947
11948 2004-06-09 Andrew Cagney <cagney@gnu.org>
11949
11950 * gdb.base/structs.exp (test_struct_returns): Replace
11951 "return_value_unknown" and "finish_value_unknown" by
11952 "return_value_known" and "finish_value_known". Instead of
11953 "return_value_unknown" iff "finish_value_unknown", check
11954 "return_value_known" implies "finish_value_known".
11955
11956 2004-06-08 Martin Hunt <hunt@redhat.com>
11957
11958 * gdb.base/float.exp: Add pattern for mips targets.
11959
11960 2004-06-08 Randolph Chung <tausq@debian.org>
11961
11962 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
11963 message for unknown architectures more clear.
11964
11965 2004-06-08 Joel Brobecker <brobecker@gnat.com>
11966
11967 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
11968 start the execution of the program.
11969
11970 2004-06-07 Jim Blandy <jimb@redhat.com>
11971
11972 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
11973 * gdb.arch/i386-cpuid.h: New helper file.
11974
11975 2004-06-07 Randolph Chung <tausq@debian.org>
11976
11977 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
11978 has started.
11979
11980 2004-06-04 Roland McGrath <roland@redhat.com>
11981
11982 Fix PR gdb/1647.
11983 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
11984 differently to be robust to output buffering differences.
11985
11986 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
11987
11988 * gdb.threads/pthreads.exp: Update copyright years.
11989 (check_control_c): Change asynchronous 'after' to synchronous.
11990
11991 2004-06-04 Roland McGrath <roland@redhat.com>
11992
11993 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
11994 next gdb prompt.
11995
11996 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
11997
11998 Fix PR gdb/1636.
11999 * gdb.threads/manythreads.exp: Change asynchronous 'after'
12000 calls to synchronous.
12001
12002 2004-05-26 Jim Blandy <jimb@redhat.com>
12003
12004 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
12005
12006 2004-05-24 Randolph Chung <tausq@debian.org>
12007
12008 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
12009 * gdb.asm/pa.inc: New file.
12010
12011 2004-05-22 Mark Kettenis <kettenis@gnu.org>
12012
12013 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
12014
12015 2004-05-21 Joel Brobecker <brobecker@gnat.com>
12016 Daniel Jacobowitz <drow@mvista.com>
12017
12018 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
12019 GDB prompt.
12020
12021 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12022
12023 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
12024 setjmp/longjmp. Use sigaction instead of signal.
12025
12026 2004-05-19 J. Brobecker <brobecker@gnat.com>
12027 Michael Snyder <msnyder@redhat.com>
12028
12029 * gdb.threads/pthread_cond_wait.c: New file.
12030 * gdb.threads/pthread_cond_wait.exp: New testcase.
12031
12032 2004-05-13 Andrew Cagney <cagney@redhat.com>
12033
12034 * gdb.base/signull.exp, gdb.base/signull.c: New files.
12035 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
12036
12037 2004-05-11 Andrew Cagney <cagney@redhat.com>
12038
12039 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
12040 fixed but revealed gdb/1639.
12041
12042 2004-05-10 Andrew Cagney <cagney@redhat.com>
12043
12044 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
12045 func1" and "next to 2nd alarm", kernel bug avoided.
12046
12047 2004-05-10 Daniel Jacobowitz <dan@debian.org>
12048
12049 PR external/1568
12050 * gdb.base/bigcore.exp: Check the size of the dumped core file.
12051 XFAIL if it is smaller than bytes_allocated.
12052 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
12053 (main): Make chunks_allocated unsigned. Correct comment.
12054
12055 2004-05-07 Joel Brobecker <brobecker@gnat.com>
12056
12057 * gdb.arch/powerpc-aix-prologue.c: New file.
12058 * gdb.arch/powerpc-aix-prologue.exp: New file.
12059
12060 2004-05-07 Jim Blandy <jimb@redhat.com>
12061
12062 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
12063 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
12064
12065 2004-05-06 Joel Brobecker <brobecker@gnat.com>
12066
12067 * gdb.base/sep.exp: No longer setup_kfail when the program was
12068 built with dwarf2.
12069
12070 2004-05-05 Jim Ingham <jingham@apple.com>
12071
12072 * gdb.base/pending.exp: Make sure pending breakpoints
12073 preserve the ignore count.
12074
12075 2004-04-27 Jerome Guitton <guitton@gnat.com>
12076
12077 * i386-prologue.exp: Add testcase for jump instruction as first
12078 instruction of the real code.
12079 * i386-prologue.c (jump_at_beginning): New function.
12080
12081 2004-04-28 Mark Kettenis <kettenis@gnu.org>
12082
12083 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
12084 x86_64-*-*.
12085
12086 2004-04-28 Mark Kettenis <kettenis@gnu.org>
12087
12088 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
12089 i*86-*-*.
12090
12091 2004-04-25 Mark Kettenis <kettenis@gnu.org>
12092
12093 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
12094 expression that checks the return type.
12095
12096 2004-04-23 Andrew Cagney <cagney@redhat.com>
12097
12098 * gdb.base/call-sc.exp: New test of scalar call/return values.
12099 * gdb.base/call-sc.c: Ditto.
12100
12101 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12102
12103 * gdb.threads/manythreads.c: Reduce thread stack size.
12104
12105 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
12106
12107 * gdb.threads/manythreads.c: Add copyright notice.
12108
12109 2004-04-23 Andrew Cagney <cagney@redhat.com>
12110
12111 * gdb.base/siginfo.exp: Better handle step out of signal.
12112 * gdb.base/sigstep.exp: Ditto.
12113
12114 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
12115 Daniel Jacobowitz <drow@mvista.com>
12116
12117 * gdb.threads/manythreads.c: New testcase.
12118 * gdb.threads/manythreads.exp: Ditto.
12119
12120 2004-04-22 Jim Blandy <jimb@redhat.com>
12121
12122 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
12123 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
12124
12125 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
12126
12127 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
12128
12129 2004-04-21 Andrew Cagney <cagney@redhat.com>
12130
12131 * gdb.base/sigstep.c: New file.
12132 * gdb.base/sigstep.exp: New file.
12133
12134 2004-04-16 Joel Brobecker <brobecker@gnat.com>
12135
12136 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
12137 call to observer_notify_normal_stop.
12138
12139 2004-04-15 Andrew Cagney <cagney@redhat.com>
12140
12141 * gdb.base/siginfo.c: New file.
12142 * gdb.base/siginfo.exp: New file.
12143
12144 2004-04-12 J. Brobecker <brobecker@gnat.com>
12145
12146 * gdb.base/sep.exp: Fix typo in comment.
12147
12148 2004-04-12 J. Brobecker <brobecker@gnat.com>
12149
12150 * gdb.base/sep.c: New file.
12151 * gdb.base/sep-proc.c: New file.
12152 * gdb.base/sep.exp: New testcase.
12153
12154 2004-04-09 Mark Kettenis <kettenis@gnu.org>
12155
12156 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
12157 support.
12158
12159 2004-04-05 Andrew Cagney <cagney@redhat.com>
12160
12161 * gdb.base/sigaltstack.c: New file.
12162 * gdb.base/sigaltstack.exp: New file.
12163
12164 2004-04-04 Joel Brobecker <brobecker@gnat.com>
12165
12166 * gdb.base/foll-fork.exp: Update the expected output for
12167 "help set follow-fork-mode", to match a change that was made
12168 to the help of this variable on 2004-01-13.
12169
12170 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12171
12172 * lib/ada.exp: Add copyright notice.
12173 * bar.ads: Likewise.
12174 * bar.adb: Likewise.
12175 * null_record.adb: Likewise.
12176 * null_record.exp: Likewise.
12177 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
12178
12179 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12180
12181 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
12182 * configure: Regenerate.
12183
12184 2004-04-01 Joel Brobecker <brobecker@gnat.com>
12185
12186 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
12187 to build the application. Remove the message printed when in
12188 verbose mode, redundant with the UNSUPPORTED message above.
12189
12190 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12191
12192 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
12193 * gdb.ada (null_record.exp): New testcase.
12194
12195 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12196
12197 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
12198
12199 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12200
12201 * gdb.ada: New subdirectory.
12202 * gdb.ada/Makefile.in: New file.
12203 * gdb.ada/gnat_ada.gpr.in: New file.
12204
12205 2004-03-31 Joel Brobecker <brobecker@gnat.com>
12206
12207 * lib/ada.exp: New file.
12208
12209 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
12210
12211 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
12212 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
12213
12214 2004-03-22 Andrew Cagney <cagney@redhat.com>
12215
12216 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
12217 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
12218 Problem identified by Ulrich Weigand.
12219
12220 2004-03-17 David Carlton <carlton@kealia.com>
12221
12222 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
12223 PR c++/826.
12224
12225 2004-03-16 Roland McGrath <roland@redhat.com>
12226
12227 * gdb.base/auxv.exp: New file.
12228 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
12229
12230 2004-03-12 David Carlton <carlton@kealia.com>
12231
12232 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
12233 * gdb.cp/pr-1553.cc: Ditto.
12234 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
12235 pass branch.
12236
12237 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
12238
12239 * gdb.cp/templates.exp: Accept more template types.
12240
12241 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12242
12243 From Corinna Vinschen with modifications.
12244 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
12245 local variable obj_with_enum.
12246 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
12247 results with obj_with_enum.
12248
12249 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12250
12251 * gdb.cp/classes.cc: New file, copied from misc.cc.
12252 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
12253
12254 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
12255
12256 * gdb.cp/misc.cc: Add copyright notice.
12257
12258 2004-03-05 David Carlton <carlton@kealia.com>
12259
12260 * gdb.cp/rtti.exp: Add 'print *obj3' test.
12261 * gdb.cp/rtti.h: Update copyright.
12262 (namespace n2::n3): New.
12263 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
12264 (n2::n3::func3): New.
12265 (main): Call n2::n3::func3.
12266 * gdb.cp/rtti2.cc: Update copyright.
12267 (n2::create3): New.
12268
12269 2004-03-04 Mark Kettenis <kettenis@gnu.org>
12270
12271 * gdb.asm/openbsd.inc: Fix typo.
12272
12273 2004-03-03 Fred Fish <fnf@redhat.com>
12274
12275 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
12276 "val" instead of unused "size". Update copyright year.
12277
12278 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
12279
12280 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
12281 to use unsigned char.
12282 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
12283 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
12284
12285 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
12286
12287 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
12288 line of output.
12289
12290 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
12291
12292 * gdb.base/relocate.c (dummy): Initialize.
12293
12294 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
12295
12296 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
12297 a breakpoint at exit.
12298
12299 2004-02-27 Fred Fish <fnf@redhat.com>
12300
12301 * gdb.base/chng-syms.exp: Add expect condition to match failing
12302 case that isn't a timeout.
12303
12304 2004-02-27 Andrew Cagney <cagney@redhat.com>
12305
12306 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
12307 support.
12308
12309 2004-02-26 Fred Fish <fnf@redhat.com>
12310
12311 * gdb.arch/gdb1431.c: Remove.
12312 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
12313 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
12314 of "until" incorrectly.
12315
12316 2004-02-26 J. Brobecker <brobecker@gnat.com>
12317
12318 * gdb.cp/class2.cc (empty): New class.
12319 (refer): New function.
12320 (main): Declare an object of type empty and use it.
12321 * gdb.cp/class2.exp: Print the value of an object of type empty.
12322
12323 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
12324
12325 * gdb.base/langs.exp: Update query string to match the
12326 new nquery format used for pending breakpoints.
12327
12328 2004-02-26 Andrew Cagney <cagney@redhat.com>
12329
12330 Fix PR i18n/1570.
12331 * gdb.base/charset.c: Update copyright notice.
12332 (main, init_string): Remove the escape character '\e' tests.
12333 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
12334 * gdb.base/charset.exp (valid_host_charset): Ditto.
12335 * gdb.base/setvar.exp: Ditto.
12336
12337 2004-02-24 Andrew Cagney <cagney@redhat.com>
12338
12339 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
12340 mmapped data in core file" PASS and FAIL messages consistent.
12341
12342 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
12343 setting a breakpoint. Work around PR java/1565.
12344
12345 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
12346
12347 * lib/gdb.exp (gdb_breakpoint): Update query string to match
12348 new nquery format.
12349 * gdb.base/pending.exp: Ditto.
12350
12351 2004-02-22 Mark Kettenis <kettenis@gnu.org>
12352
12353 * configure.in: Run stabs tests on *BSD.
12354 * configure: Regenerated.
12355
12356 2004-02-21 Mark Kettenis <kettenis@gnu.org>
12357
12358 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
12359
12360 2004-02-20 Fred Fish <fnf@redhat.com>
12361
12362 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
12363 blank in test for "returns short", for consistency with other
12364 "returns xxx" tests. Update copyright year.
12365
12366 2004-02-19 Fred Fish <fnf@redhat.com>
12367
12368 New testcase for PR breakpoint/1558.
12369 * gdb.arch/gdb1558.exp: New file.
12370 * gdb.arch/gdb1558.c: New file.
12371
12372 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
12373
12374 * gdb.base/nodebug.exp: Fix typo.
12375
12376 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12377
12378 Committed by Jim Blandy <jimb@redhat.com>.
12379
12380 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
12381
12382 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
12383
12384 * gdb.base/float.exp: Support s390*-*-* targets.
12385
12386 2004-02-17 Adam Fedor <fedor@gnu.org>
12387
12388 * gdb.base/gdb1555.exp: New file.
12389 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
12390
12391 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
12392
12393 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
12394
12395 2004-02-16 Fred Fish <fnf@redhat.com>
12396
12397 * gdb.arch/gdb1291.c: Remove
12398 * gdb.arch/gdb1291.s: New test input file.
12399 * gdb.arch/gdb1291.exp: Expand test to check case that should not
12400 fail. Test for correct result, known incorrect result, other
12401 failures and timeouts.
12402
12403 2004-02-16 Andrew Cagney <cagney@redhat.com>
12404
12405 * gdb.base/bigcore.exp: New file.
12406 * gdb.base/bigcore.c: New file.
12407
12408 2004-02-13 Andrew Cagney <cagney@redhat.com>
12409
12410 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
12411 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
12412 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
12413 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
12414 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
12415 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
12416 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
12417 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
12418 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
12419 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
12420
12421 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
12422
12423 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
12424 executed is an alloc instruction.
12425
12426 2004-02-11 David Carlton <carlton@kealia.com>
12427
12428 * gdb.cp/breakpoint.exp: New.
12429 * gdb.cp/breakpoint.cc: New.
12430
12431 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
12432
12433 Partial fix for PR gdb/1543.
12434 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
12435 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
12436 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
12437 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
12438 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
12439 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
12440 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
12441 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
12442 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
12443 to bug-gdb@prep.ai.mit.edu .
12444 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
12445 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
12446 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
12447 Likewise.
12448
12449 2004-02-10 Andrew Cagney <cagney@redhat.com>
12450
12451 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
12452 using gdb_internal_error_resync.
12453
12454 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
12455
12456 * gdb.threads/thread-specific.exp: Stop early if no threads are
12457 found.
12458
12459 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
12460
12461 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
12462
12463 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
12464
12465 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
12466 breakpoints.
12467
12468 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
12469
12470 * config/sim.exp (gdb_load): Handle $arg == "".
12471 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
12472 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
12473
12474 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
12475
12476 * gdb.base/maint.exp: Update test to reflect
12477 obstack changes.
12478
12479 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
12480
12481 * gdb.base/pendshr.c (pendfunc): New function that calls
12482 pendfunc1.
12483 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
12484
12485 2004-02-04 Fred Fish <fnf@redhat.com>
12486
12487 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
12488 function symbols and update copyright years.
12489 * gdb.arch/gdb1291.c: Ditto.
12490
12491 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12492
12493 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
12494
12495 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12496
12497 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
12498
12499 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12500
12501 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
12502
12503 2004-02-02 Fred Fish <fnf@redhat.com>
12504
12505 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
12506 remote targets. Update copyright years.
12507
12508 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
12509
12510 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
12511 support.
12512 * gdb.base/langs.exp: Fix test which attempts to create
12513 breakpoint on non-existent function to handle new pending
12514 support.
12515 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
12516 a breakpoint.
12517 * gdb.base/pending.exp: New test.
12518 * gdb.base/pending.c: New file.
12519 * gdb.base/pendshr.c: Ditto.
12520
12521 2004-02-02 David Carlton <carlton@kealia.com>
12522
12523 * gdb.cp/overload.exp: Add overloadNamespace tests.
12524 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
12525 (overloadNamespace, XXX): New.
12526 (main): Call XXX::marker2.
12527
12528 2004-02-01 Fred Fish <fnf@redhat.com>
12529
12530 * gdb.base/dump.exp: Use runto_main instead of "runto main".
12531 * gdb.base/finish.exp: Ditto.
12532 * gdb.base/gcore.exp: Ditto.
12533 * gdb.base/huge.exp: Ditto.
12534 * gdb.base/info-proc.exp: Ditto.
12535 * gdb.base/return2.exp: Ditto.
12536 * gdb.threads/gcore-thread.exp: Ditto.
12537
12538 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12539
12540 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
12541
12542 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12543
12544 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
12545 that opening the file succeeds on OpenBSD.
12546
12547 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12548
12549 * gdb.threads/thread-specific.c: New file.
12550 * gdb.threads/threads-specific.exp: New test script.
12551 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
12552 to expect_out.
12553
12554 2004-02-01 Mark Kettenis <kettenis@gnu.org>
12555
12556 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
12557 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
12558 only on the "print_small_structs from print_long_arg_list" test.
12559
12560 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
12561
12562 * gdb.base/completion.exp: Kill a stray backslash.
12563
12564 From Jim Ingham <jingham@apple.com>:
12565 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
12566 agrees with the result from sending a tab.
12567
12568 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
12569
12570 * gdb.base/chng-syms.exp: Remove stray newline.
12571
12572 2004-01-31 Mark Kettenis <kettenis@gnu.org>
12573
12574 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
12575 *-*-openbsd*.
12576 * gdb.asm/openbsd.inc: New file.
12577
12578 2004-01-30 Mark Kettenis <kettenis@gnu.org>
12579
12580 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
12581 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
12582 *-*solaris2*. Remove commented out default settings for
12583 asm-flags. Replace gdb_compile with target_link.
12584
12585 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
12586
12587 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
12588 for all tests. Remove old hp-ux and cygnus xfail cases.
12589
12590 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
12591
12592 * gdb.base/chng-syms.exp: New file.
12593 * gdb.base/chng-syms.c: New file.
12594
12595 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12596
12597 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
12598 Provide arms for current output in all my configurations.
12599
12600 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
12601
12602 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
12603 * lib/compiler.cc: Likewise.
12604 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
12605 get the right preprocessor. Eval the output directly. Remove
12606 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
12607 hp_f77_compiler and hp_f90_compiler completely.
12608 (gdb_preprocess): Delete.
12609 (get_compiler): Delete.
12610
12611 2004-01-24 Mark Kettenis <kettenis@gnu.org>
12612
12613 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
12614 <string.h>.
12615
12616 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
12617
12618 * gdb.mi/mi-stack.exp: Update copyright.
12619
12620 2004-01-23 David Carlton <carlton@kealia.com>
12621
12622 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
12623 test for cp_lookup_transparent_type.
12624 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
12625 call them.
12626
12627 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
12628
12629 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
12630 after -var-update.
12631
12632 2004-01-23 David Carlton <carlton@kealia.com>
12633
12634 * gdb.cp/namespace.cc (C::ensureRefs): New.
12635 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
12636
12637 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
12638
12639 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
12640 case "-stack-list-locals 2".
12641 * gdb.mi/mi-var-child.exp: Test for case
12642 "-var-list-children --all-values NAME".
12643
12644 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
12645
12646 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
12647
12648 2004-01-18 Mark Kettenis <kettenis@gnu.org>
12649
12650 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
12651 used with gdb_test_multiple.
12652
12653 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
12654 read at address 0. This fixes PR testsuite/1504.
12655
12656 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
12657
12658 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
12659 Remove downloading, guessing the host executable, the calls to
12660 gdb_file_cmd and gdb_target_cmd, and "load" support.
12661 (infer_host_exec): New function broken out from gdb_load.
12662 (gdb_load): New wrapper for gdbserver_gdb_load.
12663 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
12664 gdb_target_cmd. Use -target-select.
12665 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
12666 Download binaries to the host. Clear last_mi_remote_file when
12667 we load a new binary.
12668 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
12669 call gdbserver_gdb_load and mi_gdb_target_cmd.
12670
12671 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12672
12673 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
12674 type patterns.
12675
12676 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12677
12678 * gdb.cp/templates.exp: Fix typo in test name of
12679 "print Foo<volatile char*>::foo".
12680
12681 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12682
12683 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
12684
12685 2004-01-16 Ben Elliston <bje@wasabisystems.com>
12686
12687 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
12688 (clean mostlyclean): Remove empty rm.
12689
12690 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12691
12692 * gdb.base/setvar.exp: Add copyright years.
12693
12694 2004-01-14 David Carlton <carlton@bactrian.org>
12695
12696 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
12697 PR c++/1511 and update coment.
12698 * gdb.cp/templates.exp: Update patterns to match current output.
12699 If changes involve something other than whitespace, KFAIL
12700 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
12701
12702 2004-01-14 David Carlton <carlton@kealia.com>
12703
12704 * gdb.cp/namespace.exp: Add tests involving classes defined within
12705 namespaces.
12706 * gdb.cp/namespace.cc (C::CClass): New.
12707 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
12708
12709 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
12710
12711 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
12712 what debug info we have. Print a better message if something goes
12713 wrong while producing the separate debug info file.
12714
12715 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12716
12717 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
12718
12719 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12720
12721 * gdb.base/callfuncs.c: Add copyright notice.
12722
12723 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
12724
12725 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
12726 inheritance. PR gdb/1498, PR gcc/13539.
12727
12728 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
12729
12730 * gdb.threads/gcore-thread.exp: Prefix name of binary with
12731 test specific name.
12732 * gdb.mi/gdb669.exp: Ditto.
12733 * gdb.mi/mi-pthreads.exp: Ditto.
12734 * gdb.mi/mi1-pthreads.exp: Ditto.
12735 * gdb.mi/mi2-pthreads.exp: Ditto.
12736
12737 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12738
12739 * gdb.cp/member-ptr.cc: Add copyright notice.
12740
12741 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12742
12743 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
12744 some patterns for recent versions of gcc and hpacc. Delete
12745 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
12746 Delete tests that access a NULL pointer-to-member-data. This
12747 script is still disabled for gcc.
12748
12749 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12750
12751 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
12752 escaped correctly.
12753
12754 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
12755
12756 * gdb.base/sepdebug.exp: New file.
12757 * gdb.base/sepdebug.c: New file.
12758 * lib/gdb.exp (separate_debug_filename): New procedure.
12759 (gdb_gnu_strip_debug): New procedure.
12760
12761 2004-01-12 Andrew Cagney <cagney@redhat.com>
12762
12763 * gdb.mi/ChangeLog: Delete file. Renamed to ...
12764 * gdb.mi/ChangeLog-1999-2003: New file.
12765
12766 2004-01-12 Andrew Cagney <cagney@redhat.com>
12767
12768 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
12769 "Renaming a directory to a non-empty directory returns ENOTEMPTY
12770 or EEXIST", treat EBUSY as an XFAIL.
12771
12772 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
12773
12774 * gdb.base/scope.exp: Remove obsolete setup_xfail for
12775 hp_cc_compiler.
12776
12777 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12778
12779 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
12780 decorations.
12781
12782 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12783
12784 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
12785 and "(aCC)" decorations. Remove obsolete doco about old
12786 test results.
12787
12788 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12789
12790 * gdb.cp/exception.exp: Fix typo in doco.
12791
12792 2004-01-09 Mark Kettenis <kettenis@gnu.org>
12793
12794 * gdb.base/gdb1476.exp: Fix typo.
12795
12796 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12797
12798 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
12799 file.
12800
12801 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12802
12803 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
12804 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
12805 Use gdb_compile. Remove restriction on gcc. Add some patterns
12806 for recent version of gdb. Delete second half, which was a copy
12807 of the first half with different build flags. This test is
12808 still disabled because it is still not ready for production.
12809
12810 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12811
12812 * gdb.cp/exception.cc: Add copyright notice.
12813 * gdb.cp/exception.exp: Add a notice that this file is broken
12814 because of line number changes caused by addition of copyright
12815 notice.
12816
12817 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12818
12819 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
12820 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
12821
12822 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12823
12824 * gdb.cp/classes.exp: Accept gnu abi 2.
12825 * gdb.cp/derivation.exp: Likewise.
12826 * gdb.cp/overload.exp: Likewise.
12827 * gdb.cp/virtfunc.exp: Likewise.
12828
12829 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12830
12831 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
12832 semicolon after end of function.
12833
12834 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12835
12836 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
12837 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
12838 boilerplate code for compiling and running the program under
12839 test. Add some string method tests.
12840
12841 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12842
12843 * gdb.cp/bs15503.cc: Add copyright notice.
12844 * gdb.cp/bs15503.exp: Adjust line number.
12845
12846 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12847
12848 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
12849 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
12850
12851 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12852
12853 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
12854 hp_cc_compiler.
12855
12856 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12857
12858 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
12859 * gdb.cp/ctti.exp: Use the marker instead of "next".
12860 With gcc, run further before bailing.
12861
12862 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12863
12864 * gdb.cp/cttiadd.cc: Add copyright notice.
12865 * gdb.cp/cttiadd1.cc: Likewise.
12866 * gdb.cp/cttiadd2.cc: Likewise.
12867 * gdb.cp/cttiadd3.cc: Likewise.
12868
12869 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12870
12871 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
12872 Use gdb_test, gdb_test_multiple. Use floating-point values that
12873 have exact representations in IEEE-ish formats.
12874
12875 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12876
12877 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
12878 compilers. Delete duplicate call to get_compiler_info.
12879 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
12880 * gdb.base/volatile.exp: Likewise.
12881
12882 2004-01-07 Mark Kettenis <kettenis@gnu.org>
12883
12884 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
12885 memory at address 0.
12886
12887 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12888
12889 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
12890 to test for hp-ux assembler. Fix copyright years.
12891
12892 2004-01-07 Andrew Cagney <cagney@redhat.com>
12893
12894 * gdb.base/fileio.c (strerrno): Add "EBUSY".
12895
12896 2004-01-07 Andrew Cagney <cagney@redhat.com>
12897
12898 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
12899 when creating the read-only file. From analysis by Roland McGrath
12900 and Elena Zannoni.
12901
12902 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12903
12904 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
12905
12906 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12907
12908 * gdb.base/cvexpr.c: Be type-safe with function pointers and
12909 data pointers.
12910
12911 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12912
12913 * gdb.cp/m-static.exp: Compile one source file at a time.
12914 Delete unused call to get_compiler_info.
12915
12916 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12917
12918 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
12919 * gdb.base/call-rt-st.exp: Likewise.
12920 * gdb.base/nodebug.exp: Likewise.
12921 * gdb.base/volatile.exp: Likewise.
12922 * gdb.cp/ref-types.exp: Likewise.
12923 * gdb.cp/templates.exp: Likewise.
12924
12925 2004-01-05 Mark Kettenis <kettenis@gnu.org>
12926
12927 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
12928
12929 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
12930
12931 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
12932 hppa*-hp-hpux*.
12933
12934 2004-01-04 Mark Kettenis <kettenis@gnu.org>
12935
12936 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12937 x86_64-*-*.
12938
12939 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12940 sparc64-*-* and sparc*-solaris2*.
12941
12942 2004-01-04 Mark Kettenis <kettenis@gnu.org>
12943
12944 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
12945 return ${tests}" test. The ${tests} already mentions the
12946 filename.
12947
12948 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12949
12950 * gdb.cp/local.exp: Accept gcc abi 2.
12951
12952 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12953
12954 * gdb.cp/templates.exp: Accept gcc abi 2.
12955
12956 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12957
12958 * lib/compiler.cc: Remove supports_template_debugging.
12959 * gdb.cp/templates.exp: Do not test supports_template_debugging.
12960
12961 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12962
12963 * gdb.cp/namespace.exp: Accept gcc abi 2.
12964
12965 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12966
12967 * gdb.cp/method.exp: Accept gcc abi 2.
12968
12969 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12970
12971 * gdb.cp/classes.exp: Generate identical results as old version.
12972 * gdb.cp/derivation.exp: Likewise.
12973 * gdb.cp/overload.exp: Likewise.
12974 * gdb.cp/virtfunc.exp: Likewise.
12975
12976 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12977
12978 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
12979 mysterious bug with sourceware version of expect.
12980
12981 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12982
12983 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
12984 current versions of gcc, including gcc abi 2. Remove gratuitous
12985 restart of test program. Use gdb_test_multiple and gdb_test for
12986 all tests. Add patterns to xfail missing "const" in "const char *"
12987 and kfail PR gdb/1155.
12988
12989 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12990
12991 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
12992 current versions of gcc, including gcc abi 2. Remove gratuitous
12993 restart of test program. Use gdb_test_multiple and gdb_test for
12994 all tests. Add patterns to kfail PR gdb/1498.
12995
12996 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12997
12998 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
12999 current versions of gcc, including gcc abi 2. Use "breakpoint"
13000 and "continue" instead of restarting the target program. Use
13001 gdb_test_multiple and gdb_test for all tests.
13002
13003 2004-01-01 Mark Kettenis <kettenis@gnu.org>
13004
13005 * gdb.asm/asm-source.exp: Update copyright year. Link statically
13006 for *-*-solaris2*.
13007
13008 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
13009
13010 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
13011 current versions of gcc, including gcc abi 2. Use "breakpoint"
13012 and "continue" instead of restarting the target program several
13013 times. Use gdb_test_multiple and gdb_test for all tests.
13014
13015 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
13016
13017 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
13018 source files.
13019
13020 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13021
13022 * gdb.base/environ.exp: Handle compiling test case from multiple
13023 source files.
13024
13025 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13026
13027 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
13028
13029 2003-12-17 Jim Blandy <jimb@redhat.com>
13030
13031 * gdb.base/freebpcmd.c: Add copyright notice.
13032
13033 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
13034
13035 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
13036
13037 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
13038
13039 2003-12-13 Jim Blandy <jimb@redhat.com>
13040
13041 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
13042
13043 2003-12-12 Kevin Buettner <kevinb@redhat.com>
13044
13045 * gdb.asm/frv.inc: New file.
13046 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
13047
13048 2003-12-09 Fred Fish <fnf@redhat.com>
13049
13050 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
13051 functions to break1.c and leave prototypes behind. Add more
13052 "set breakpoint NN here" comments.
13053 * gdb.base/break1.c: New file.
13054
13055 * gdb.base/break.exp: Handle compiling test case from multiple
13056 source files and change source file references as needed.
13057 * gdb.base/completion.exp: Ditto.
13058 * gdb.base/condbreak.exp: Ditto.
13059 * gdb.base/define.exp: Ditto.
13060 * gdb.base/ena-dis-br.exp: Ditto.
13061 * gdb.base/info-proc.exp: Ditto.
13062 * gdb.base/maint.exp: Ditto.
13063 * gdb.base/until.exp: Ditto.
13064
13065 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
13066 hardcoded line numbers.
13067 * gdb.base/define.exp: Ditto.
13068 * gdb.base/ena-dis-br.exp: Ditto.
13069 * gdb.base/maint.exp: Ditto.
13070 * gdb.base/until.exp: Ditto.
13071
13072 * gdb.base/completion.exp: Use "break1" for completion tests since
13073 "break" is no longer a unique prefix.
13074
13075 2003-12-06 Andrew Cagney <cagney@redhat.com>
13076
13077 * gdb.base/structs.exp (test_struct_returns): When applicable, set
13078 "return_value_unimplemented". When an unimplemented struct return
13079 architecture, report incorrect values as a KFAIL
13080
13081 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13082
13083 * gdb.cp/rtti.exp: Accept new wording of warning from
13084 cp_lookup_rtti_type.
13085
13086 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
13087
13088 Partial fix for PR testsuite/1456.
13089 * gdb.base/scope.exp (test_at_main): Replace references to
13090 gcc_compiled with calls to test_compiler_info.
13091 (test_at_foo): Likewise.
13092 (test_at_bar): Likewise.
13093
13094 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
13095
13096 Partial fix for PR testsuite/1456.
13097 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
13098 to test_compiler_info.
13099
13100 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
13101
13102 * gdb.base/so-impl-ld.exp: Update copyright notice.
13103
13104 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
13105
13106 Partial fix for PR testsuite/1456.
13107 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
13108 to test_compiler_info.
13109
13110 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13111
13112 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
13113 from current versions of gdb. Clean up regular expressions.
13114 Delete redundant timeout case.
13115
13116 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13117
13118 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
13119 from current versions of gdb. Clean up regular expressions.
13120 Delete redundant timeout case.
13121
13122 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
13123
13124 Partial fix for PR testsuite/1456.
13125 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
13126 gcc_compiled with call to test_compiler_info.
13127
13128 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
13129
13130 Partial fix for PR testsuite/1456.
13131 * gdb.base/list.exp (test_list_function): Delete unused declaration
13132 of gcc_compiled.
13133
13134 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
13135
13136 Partial fix for PR testsuite/1456.
13137 * gdb.base/complex.exp: Replace reference to gcc_compiled with
13138 call to test_compiler_info.
13139
13140 2003-11-29 Mark Kettenis <kettenis@gnu.org>
13141
13142 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
13143 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
13144 it to create the appropriate note.inc.
13145 * gdb.asm/asmsrc1.s: Include "note.inc".
13146 * gdb.asm/netbsd.inc: New file.
13147 * gdb.asm/empty.inc: New file.
13148
13149 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
13150
13151 Partial fix for PR testsuite/1456.
13152 * gdb.base/constvars.exp: Replace references to gcc_compiled with
13153 calls to test_compiler_info.
13154
13155 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
13156
13157 Partial fix for PR testsuite/1456.
13158 * gdb.base/volatile.exp: Replace references to gcc_compiled with
13159 calls to test_compiler_info.
13160
13161 2003-11-27 Mark Kettenis <kettenis@gnu.org>
13162
13163 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
13164 pattern for the KFAILs.
13165
13166 2003-11-25 Adam Fedor <fedor@gnu.org>
13167
13168 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
13169 * gdb.objc/objcdecode.m: New file.
13170
13171 2003-11-25 Adam Fedor <fedor@gnu.org>
13172
13173 * gdb.objc/nondebug.exp: Test for PR objc/1236.
13174 * gdb.objc/nondebug.m: New file.
13175
13176 2003-11-26 Ben Elliston <bje@wasabisystems.com>
13177
13178 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13179 NetBSD as it does on FreeBSD. Modelled on a similar change by
13180 Mark Kettenis on 2003-05-30.
13181 (link-flags): Set to "--entry _start" regardless of target.
13182 Special linker flags are to be appended to $link-flags.
13183 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
13184
13185 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13186
13187 * gdb.cp/method.exp: Accept output of new demangler.
13188
13189 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13190
13191 * gdb/class2.exp: New file.
13192 * gdb/class2.cc: New file.
13193
13194 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
13195
13196 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
13197 of new demangler.
13198
13199 2003-11-23 Mark Kettenis <kettenis@gnu.org>
13200
13201 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
13202 of gdb_test "run".
13203
13204 2003-11-23 Mark Kettenis <kettenis@gnu.org>
13205
13206 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
13207 "continue" into "run".
13208
13209 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13210
13211 Partial fix for PR testsuite/1456.
13212 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
13213 call to test_compiler_info.
13214 * gdb.cp/ctti.exp: Likewise.
13215 * gdb.cp/derivation.exp: Likewise.
13216 * gdb.cp/member-ptr.exp: Likewise.
13217 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
13218 reference to gcc_compiled.
13219
13220 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
13221
13222 Fix PR testsuite/1463.
13223 * gdb.base/structs.exp (start_structs_test): Call
13224 get_debug_format before using the debug format.
13225
13226 2003-11-22 Andrew Cagney <cagney@redhat.com>
13227
13228 * lib/gdb.exp (gdb_test_multiple): Add simple example.
13229 * gdb.base/structs.exp: Use gdb_test_multiple.
13230
13231 2003-11-20 Andrew Cagney <cagney@redhat.com>
13232
13233 * gdb.base/structs.exp: Handle and recover from internal errors.
13234 Replace "foo${n}" with "foo<n>" in test messages.
13235
13236 * gdb.base/structs.exp: Update copyright. Rewrite.
13237 * gdb.base/structs.c: Update copyright. Rewrite.
13238
13239 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
13240 resync count exceeded.
13241
13242 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
13243 from the internal error.
13244 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
13245 Original from Jim Blandy.
13246 (gdb_test_multiple): Use gdb_internal_error_resync.
13247
13248 2003-11-19 Andrew Cagney <cagney@redhat.com>
13249
13250 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
13251 KFAIL.
13252
13253 2003-11-17 Mark Kettenis <kettenis@gnu.org>
13254
13255 New testcase for PR backtrace/1435.
13256 * gdb.arch/i386-unwind.exp: New file.
13257 * gdb.arch/i386-unwind.c: New file.
13258
13259 2003-11-17 Andrew Cagney <cagney@redhat.com>
13260
13261 * lib/gdb.exp (compiler_info): New global.
13262 (test_compiler_info): New function.
13263 (get_compiler_info): Set compiler_info.
13264 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
13265 "compiler_info" to gcc-<major>-<minor>.
13266
13267 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
13268
13269 * gdb.trace/configure: Remove.
13270
13271 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
13272
13273 * gdb.base/break.c: Add comments to aid finding line numbers for
13274 breakpoints.
13275 * gdb.base/break.exp: Remove all references to explicit line
13276 numbers.
13277
13278 2003-11-11 Nick Clifton <nickc@redhat.com>
13279
13280 * gdb.base/shreloc.exp: Do not run for targets which do not
13281 support shared objects.
13282
13283 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
13284
13285 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
13286 Don't run tests if nofileio flag is given.
13287
13288 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
13289
13290 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
13291 as well as 'Watchpoint'.
13292
13293 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
13294
13295 Reported by Jim Ingham <jingham@apple.com>:
13296 * gdb.base/annota1.exp: Match at least one occurrence of the
13297 signal handler annotation.
13298
13299 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
13300
13301 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
13302 as well as 'Watchpoint'.
13303
13304 2003-11-05 Michael Chastain <mec@shout.net>
13305
13306 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
13307
13308 2003-11-03 Kris Warkentin <kewarken@qnx.com>
13309
13310 * gdb.arch/gdb1291.c: New test file.
13311 * gdb.arch/gdb1291.exp: New test script.
13312 * gdb.arch/gdb1431.c: New test file.
13313 * gdb.arch/gdb1431.exp: New test script.
13314
13315 2003-10-22 Michael Chastain <mec@shout.net>
13316
13317 * gdb.mi/pthreads.c: Add copyright notice.
13318
13319 2003-10-22 Michael Chastain <mec@shout.net>
13320
13321 * gdb.threads/pthreads.c: Add copyright notice.
13322
13323 2003-10-20 Michael Chastain <mec@shout.net>
13324
13325 * gdb.base/gdb1056.exp: New test script.
13326
13327 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13328
13329 * gdb.threads/killed.exp: Use gdb_run_cmd.
13330
13331 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
13332
13333 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
13334 create a core file.
13335 * gdb.threads/gcore-thread.exp: Likewise.
13336
13337 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
13338
13339 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
13340 type, based on char type.
13341 (struct bit_flags_short_t): New bitfield type, based on short type.
13342 (init_bit_flags_char): New fuction.
13343 (init_bit_flags_short): Ditto.
13344 (print_bit_flags_char): Ditto.
13345 (print_bit_flags_short): Ditto.
13346 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
13347
13348 2003-10-11 Michael Chastain <mec@shout.net>
13349
13350 * gdb.base/call-rt-st.exp: Update copyright year.
13351
13352 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
13353
13354 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
13355 * gdb.disasm/sh3.s: Ditto.
13356
13357 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
13358
13359 * gdb.threads/switch-threads.exp: New test.
13360 * gdb.threads/switch-threads.c: New source file.
13361
13362 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
13363
13364 * gdb.base/ending-run.exp: Add sh specific case.
13365
13366 2003-10-06 Andrew Cagney <cagney@redhat.com>
13367
13368 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
13369 * gdb.disasm/mn10200.exp: Delete obsolete file.
13370
13371 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
13372
13373 * ChangeLog: Correct an entry command.exp -> commands.exp.
13374 * gdb.base/commands.exp (bp_deleted_in_command_test)
13375 (temporary_breakpoint_commands): Check noargs.
13376
13377 2003-09-25 David Carlton <carlton@kealia.com>
13378
13379 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
13380 of some print tests, where appropriate. Add tests for C::D::cd,
13381 E::ce, F::cXfX, G::XgX.
13382 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
13383
13384 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
13385
13386 * lib/java.exp (java_init): Import target_alias before using it.
13387
13388 2003-09-25 David Carlton <carlton@kealia.com>
13389
13390 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
13391
13392 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
13393
13394 * gdb.base/selftest.exp: Accomodate more instruction reordering
13395 weirdness.
13396
13397 2003-09-17 Michael Chastain <mec@shout.net>
13398
13399 * gdb.cp/gdb1355.exp: New file.
13400 * gdb.cp/gdb1355.c: New file.
13401
13402 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
13403
13404 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
13405 * gdb.asm/sh.inc: New file.
13406
13407 2003-09-11 David Carlton <carlton@kealia.com>
13408
13409 * gdb.cp/namespace.exp: Add tests for namespace types.
13410 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
13411 (test_namespace): New.
13412
13413 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
13414
13415 * gdb.base/relocate.exp: Handle new gdb output at startup.
13416 * gdb.stabs/weird.exp: Ditto.
13417
13418 2003-09-08 Michael Chastain <mec@shout.net>
13419
13420 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
13421
13422 2003-09-07 Michael Chastain <mec@shout.net>
13423
13424 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
13425 'parse error'.
13426
13427 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
13428
13429 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
13430
13431 2003-08-30 Michael Chastain <mec@shout.net>
13432
13433 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
13434 * gdb.gdb/observer.exp: Ditto.
13435 * gdb.gdb/xfullpath.exp: Ditto.
13436
13437 2003-08-29 Mark Kettenis <kettenis@gnu.org>
13438
13439 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
13440 *-*-*bsd*.
13441
13442 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
13443
13444 * gdb.base/dump.exp: Skip for ia64.
13445
13446 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
13447
13448 * gdb.asm/asm-source.exp: Add ia64 support.
13449 * gdb.asm/ia64.inc: New file.
13450
13451 2003-08-22 Michael Chastain <mec@shout.net>
13452
13453 * gdb.cp: New directory.
13454 * gdb.cp/*: Copy from gdb.c++/*.
13455 * gdb.c++/*: Remove.
13456 * Makefile.in: Change gdb.c++ to gdb.cp.
13457 * configure.in: Ditto.
13458 * configure: Regnerate.
13459
13460 2003-08-18 Mark Kettenis <kettenis@gnu.org>
13461
13462 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
13463 * gdb.arch/i386-prologue.c (gdb1338): Add function.
13464
13465 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13466
13467 * mi-var-display.exp (-var-list-children weird): Accept function
13468 pointers with argument types.
13469 * mi1-var-display.exp (-var-list-children weird): Likewise.
13470 * mi2-var-display.exp (-var-list-children weird): Likewise.
13471
13472 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
13473
13474 * gdb.base/annota3.exp: Add missing newline.
13475
13476 2003-08-06 Michael Chastain <mec@shout.net>
13477
13478 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
13479
13480 2003-08-12 Michael Snyder <msnyder@redhat.com>
13481
13482 * gdb.base/float.exp: Add test for SH.
13483
13484 2003-08-10 Mark Kettenis <kettenis@gnu.org>
13485
13486 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
13487
13488 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13489
13490 * gdb.base/completion.exp: Remove reduntant completion test
13491 on filename.
13492
13493 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13494
13495 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
13496 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
13497 gdb.trace/save-trace.exp: Make sure that full pathnames are
13498 escaped correctly.
13499
13500 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
13501
13502 * configure.in: Don't generate config.h from config.hin.
13503 * configure: Regenerate.
13504 * config.hin: Remove file.
13505 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
13506 * gdb.threads/pthreads.c: Ditto.
13507
13508 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
13509
13510 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13511 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
13512 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
13513 Replace ld24 with seth/add3.
13514
13515 2003-08-02 Andrew Cagney <cagney@redhat.com>
13516
13517 * gdb.base/annota3.exp: New file.
13518 * gdb.base/annota3.c: New file.
13519 * gdb.c++/annota3.exp: New file.
13520 * gdb.c++/annota3.cc: New file.
13521
13522 2003-07-29 Michael Chastain <mec@shout.net>
13523
13524 * gdb.threads/tls.c (spin): Check errno only if sem_wait
13525 actually failed.
13526 (do_pass): Likewise.
13527 * gdb.threads/tls.exp: Always initialize no_of_threads.
13528
13529 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
13530
13531 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
13532 pattern.
13533 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
13534 * gdb.threads/tls.exp: Recognize one case of the host library not
13535 supporting TLS.
13536
13537 2003-07-27 Andrew Cagney <cagney@redhat.com>
13538
13539 * gdb.base/fileio.exp: Use SH when running commands using
13540 remote_exec.
13541
13542 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
13543
13544 From Kei Sakamoto <sakamoto.kei@renesas.com>:
13545 * gdb.base/relocate.c (dummy): New padding array.
13546
13547 2003-07-22 Michael Snyder <msnyder@redhat.com>
13548
13549 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
13550
13551 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
13552 patterns to be more general, accepting old and new output.
13553 Some output chars (such as '+') also must be quoted.
13554 Some addresses are displayed numerically instead of
13555 symbolically.
13556
13557 2003-07-23 Michael Snyder <msnyder@redhat.com>
13558
13559 * gdb.base/return2.exp: Don't test long-long return.
13560
13561 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
13562 * gdb.disasm/t01_mov.exp: Ditto.
13563 * gdb.disasm/t02_mova.s: Ditto.
13564 * gdb.disasm/t02_mova.exp: Ditto.
13565 * gdb.disasm/t03_add.s: Ditto.
13566 * gdb.disasm/t03_add.exp: Ditto.
13567 * gdb.disasm/t04_sub.s: Ditto.
13568 * gdb.disasm/t04_sub.exp: Ditto.
13569 * gdb.disasm/t05_cmp.s: Ditto.
13570 * gdb.disasm/t05_cmp.exp: Ditto.
13571 * gdb.disasm/t06_ari2.s: Ditto.
13572 * gdb.disasm/t06_ari2.exp: Ditto.
13573 * gdb.disasm/t07_ari3.s: Ditto.
13574 * gdb.disasm/t07_ari3.exp: Ditto.
13575 * gdb.disasm/t08_or.s: Ditto.
13576 * gdb.disasm/t08_or.exp: Ditto.
13577 * gdb.disasm/t09_xor.s: Ditto.
13578 * gdb.disasm/t09_xor.exp: Ditto.
13579 * gdb.disasm/t10_and.s: Ditto.
13580 * gdb.disasm/t10_and.exp: Ditto.
13581 * gdb.disasm/t11_logs.s: Ditto.
13582 * gdb.disasm/t11_logs.exp: Ditto.
13583 * gdb.disasm/t12_bit.s: Ditto.
13584 * gdb.disasm/t12_bit.exp: Ditto.
13585 * gdb.disasm/t13_otr.s: Ditto.
13586 * gdb.disasm/t13_otr.exp: Ditto.
13587
13588 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13589
13590 * gdb.threads/tls.exp :Add kfail for 'info address' case.
13591
13592 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
13593
13594 * gdb.threads/tls.c : New file.
13595 * gdb.threads/tls.exp : New file.
13596 * gdb.threads/tls-main.c : New file.
13597 * gdb.threads/tls-shared.c : New file.
13598 * gdb.threads/tls-shared.exp : New file.
13599
13600 2003-07-22 Andreas Schwab <schwab@suse.de>
13601
13602 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
13603
13604 2003-07-20 Andreas Schwab <schwab@suse.de>
13605
13606 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
13607 due to insn reordering.
13608
13609 2003-07-15 Andrew Cagney <cagney@redhat.com>
13610
13611 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
13612
13613 2003-07-15 Michael Chastain <mec@shout.net>
13614
13615 * gdb.base/gdb1250.exp: New file.
13616 * gdb.base/gdb1250.c: New file.
13617
13618 2003-07-09 Michal Ludvig <mludvig@suse.cz>
13619
13620 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
13621 expansion of size_t to 'unsigned long', not only to 'unsigned'.
13622
13623 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13624
13625 * gdb.threads/tls.c: New file.
13626 * gdb.threads/tls.exp: New file.
13627 * gdb.threads/tls-main.c: New file.
13628 * gdb.threads/tls-shared.c: New file.
13629 * gdb.threads/tls-shared.exp: New file.
13630
13631 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
13632
13633 * gdb.base/annota1.exp: Make sure that we properly escape the
13634 full path of the source file. Xfail more permissive patterns,
13635 due to a compiler debug info problem.
13636
13637 2003-07-07 Andreas Schwab <schwab@suse.de>
13638
13639 * gdb.asm/m68k.inc: New file.
13640 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
13641
13642 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
13643 arguments"): Also match negative number.
13644
13645 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
13646
13647 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
13648
13649 * gdb.base/store.c (charest): New typedef.
13650 (add_char): Rename to add_charest, update.
13651 (wack_char): Rename to wack_charest, update types. Return l + r
13652 to keep r live across the call.
13653 (wack_short, wack_int, wack_long, wack_longest, wack_float)
13654 (wack_double, wack_doublest): Return l + r to keep r live across
13655 the call.
13656 * gdb.base/store.exp: Accomodate store.c changes.
13657
13658 2003-06-30 David Carlton <carlton@kealia.com>
13659
13660 * gdb.c++/maint.exp (test_invalid_name): New.
13661 (test_first_component): Add tests for invalid names.
13662
13663 2003-06-29 Michael Chastain <mec@shout.net>
13664
13665 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
13666 output of '<VTT for class>' for virtual base classes.
13667
13668 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13669
13670 * gdb.base/completion.exp: Tab-complete "complet" instead of
13671 "compl".
13672 * gdb.base/complex.exp, gdb.base/complex.c: New files.
13673
13674 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13675
13676 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
13677 * gdb.base/volatile.exp: Likewise.
13678
13679 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
13680
13681 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
13682 gdb/1265.
13683
13684 2003-06-28 Michael Chastain <mec@shout.net>
13685 Daniel Jacobowitz <drow@mvista.com>
13686
13687 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
13688 initial line count of 'captured_main' from 26 to 32.
13689 (test_with_self): Allow xmalloc call to be interleaved with the
13690 preceding two lines.
13691
13692 2003-06-24 Joel Brobecker <brobecker@gnat.com>
13693
13694 * gdb.base/bang.exp: New testcase.
13695
13696 2003-06-23 Joel Brobecker <brobecker@gnat.com>
13697
13698 * gdb.base/langs.exp: Add some tests for the "minimal" language
13699 support.
13700
13701 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
13702
13703 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
13704 the testcase.
13705
13706 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13707
13708 * gdb.base/relocate.exp: Test add-symbol-file with a variable
13709 offset.
13710
13711 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
13712
13713 * gdb.c++/pr-1210.cc: New file.
13714 * gdb.c++/pr-1210.exp: New file.
13715
13716 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
13717
13718 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
13719 000-exec-continue.
13720
13721 2003-06-15 Mark Kettenis <kettenis@gnu.org>
13722
13723 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
13724 on *-*-*bsd* instead of *-*-freebsd*.
13725
13726 2003-06-14 Andrew Cagney <cagney@redhat.com>
13727
13728 * gdb.base/store.exp: Test longest and doublest. Test all
13729 parameters. Weaken return statement match.
13730 * gdb.base/store.c: Add longest and doublest - aka long long and
13731 long double functions. Put all parameters into local register
13732 variables. Use negative values.
13733
13734 2003-06-14 Andrew Cagney <cagney@redhat.com>
13735
13736 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
13737 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
13738 exit status.
13739 * gdb.base/fileio.exp: Disable target when nointerrupts and
13740 noinferiorio, instead of limiting it to remote. Use remote_exec
13741 instead of system.
13742
13743 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
13744
13745 * gdb.base/float.exp: Add ia64 support.
13746
13747 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
13748
13749 * gdb.base/fileio.exp: Run only on remote targets.
13750
13751 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
13752
13753 * gdb.base/fileio.c: New file, testing File-I/O.
13754 * gdb.base/fileio.exp: Ditto.
13755
13756 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
13757
13758 * gdb.base/shreloc.exp: New file, check symbol values obtained from
13759 shared objects after relocation at load time (gdb PR/1132).
13760 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
13761 as above, part of the shared object relocation test.
13762
13763 2003-06-08 Mark Kettenis <kettenis@gnu.org>
13764
13765 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
13766 fully filled history list.
13767 * gdb.base/gdb_history: New file.
13768
13769 * gdb.base/signals.exp: XFAIL "continue to func1" on
13770 i*86-*-freebsd*.
13771
13772 * gdb.base/attach.exp: When trying to attach to a nonexistent
13773 process, make it possible to specify the PID based on the target,
13774 and do so for *-*-freebsd*.
13775
13776 2003-06-02 Richard Henderson <rth@redhat.com>
13777
13778 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
13779
13780 2003-06-02 Richard Henderson <rth@redhat.com>
13781
13782 * gdb.base/selftest.exp: Next over lim_at_start initialization.
13783
13784 2003-06-02 Richard Henderson <rth@redhat.com>
13785
13786 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
13787
13788 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
13789
13790 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
13791 of globalvar.
13792
13793 2003-06-01 Mark Kettenis <kettenis@gnu.org>
13794
13795 * gdb.asm/asm-source.exp: Check for memory read errors in
13796 disassembler test on *BSD too.
13797
13798 2003-06-01 Richard Henderson <rth@redhat.com>
13799
13800 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
13801 for .frame.
13802 (gdbasm_call): Lose ldgp.
13803 (gdbasm_startup): Add frame information.
13804 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
13805
13806 2003-05-31 Mark Kettenis <kettenis@gnu.org>
13807
13808 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
13809 i?86-*-*.
13810
13811 2003-05-30 Mark Kettenis <kettenis@gnu.org>
13812
13813 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13814 FreeBSD.
13815
13816 2003-05-29 Richard Henderson <rth@redhat.com>
13817
13818 * gdb.asm/alpha.inc: New file.
13819 * gdb.asm/asm-source.exp: Use it.
13820
13821 2003-05-29 Jim Blandy <jimb@redhat.com>
13822
13823 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
13824 'core.PID'.
13825
13826 2003-05-22 Jim Blandy <jimb@redhat.com>
13827
13828 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
13829 backtrace.
13830
13831 2003-05-20 David Carlton <carlton@math.stanford.edu>
13832
13833 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
13834 this time.
13835
13836 2003-05-19 David Carlton <carlton@bactrian.org>
13837
13838 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
13839 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
13840
13841 2003-05-19 David Carlton <carlton@bactrian.org>
13842
13843 * gdb.c++/namespace.exp: Add namespace scope and anonymous
13844 namespace tests.
13845 Bump copyright date.
13846 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
13847 (main): Call C::D::marker2.
13848 * gdb.c++/namespace1.cc: New file.
13849
13850 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
13851
13852 Roland McGrath <roland@redhat.com>
13853 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
13854 there is no manager thread.
13855
13856 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
13857
13858 * gdb.threads/schedlock.exp: Remove assumption that all threads
13859 will run in a particular small time slice. Also ensure we break
13860 in one of the child threads rather than the main thread.
13861
13862 2003-05-07 Jim Blandy <jimb@redhat.com>
13863
13864 Add support for assembly source testing on the s390x.
13865 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
13866 architecture.
13867 * gdb.asm/s390x.inc: New file.
13868
13869 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
13870 succession of 'if' statements.
13871
13872 2003-05-05 Andrew Cagney <cagney@redhat.com>
13873
13874 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
13875
13876 2003-05-05 Andrew Cagney <cagney@redhat.com>
13877
13878 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
13879 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
13880
13881 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
13882
13883 * gdb.base/charset.exp: Update based on new behavior of set/show
13884 charset commands.
13885
13886 2003-05-01 Andrew Cagney <cagney@redhat.com>
13887
13888 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
13889 variable do not give memory errors.
13890
13891 2003-04-30 Adam Fedor <fedor@gnu.org>
13892
13893 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
13894 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
13895 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
13896 gdb.objc/basicclass.m: : New files
13897
13898 * lib/gdb.exp (gdb_compile_objc): New procedure.
13899
13900 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
13901
13902 * gdb.base/signals.exp: Make backtrace tests more specific.
13903
13904 2003-04-23 David Carlton <carlton@bactrian.org>
13905
13906 * gdb.c++/maint.exp (test_first_component): Add tests for
13907 'operator' in more locations.
13908
13909 2003-04-16 Kevin Buettner <kevinb@redhat.com>
13910
13911 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
13912
13913 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
13914
13915 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
13916 func marke' instead. Update test name.
13917
13918 2003-04-15 David Carlton <carlton@math.stanford.edu>
13919
13920 * gdb.c++/maint.exp: New file.
13921
13922 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
13923
13924 * gdb.threads/schedlock.c: Change type of thread function argument
13925 to long, to avoid warnings on 64-bit platforms.
13926
13927 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
13928
13929 * gdb.base/attach.exp: Add new message from ptrace in case of
13930 attaching to nonexistent process.
13931
13932 2003-04-11 Jim Blandy <jimb@redhat.com>
13933
13934 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13935 gdb.c++/userdef.cc: Place comments on the lines to which the
13936 marker function might return.
13937 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13938 gdb.c++/userdef.exp: Look for those comments to check that we've
13939 returned to the right place, instead of checking line numbers.
13940
13941 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
13942
13943 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
13944 match on sourcefile name, instead of directory name.
13945
13946 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
13947
13948 * gdb.base/completion.exp: Use string_to_regexp to match the
13949 working directory name.
13950
13951 2003-04-09 Jim Blandy <jimb@redhat.com>
13952
13953 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13954 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
13955 after an inferior function call, report the failure, but allow the
13956 test to continue.
13957
13958 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13959
13960 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13961 with -DPROTOTYPES.
13962
13963 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13964
13965 * gdb.base/break.exp: Revert last patch.
13966
13967 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
13968
13969 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13970 with -DPROTOTYPES.
13971
13972 2003-04-02 Andrew Cagney <cagney@redhat.com>
13973
13974 * gdb.base/callfuncs.exp: Make "print add" messages unique.
13975 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
13976 matching directories by the name breakpoint.
13977 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
13978 Make "continue to marker1" consistent.
13979 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
13980 message consistent.
13981 * lib/gdb.exp: Put "the program is no longer running", and "the
13982 program exited" in parenthesis.
13983 * lib/mi-support.exp: Ditto.
13984
13985 2003-04-02 Bob Rossi <bob_rossi@cox.net>
13986
13987 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
13988
13989 2003-03-29 Andrew Cagney <cagney@redhat.com>
13990
13991 * gdb.base/sizeof.c (main): Print the value of '\377'.
13992 * gdb.base/sizeof.exp: Check the sign of '\377'.
13993
13994 2003-03-27 Michael Chastain <mec@shout.net>
13995
13996 * gdb.base/gdb1090.exp: New file.
13997 * gdb.base/gdb1090.cc: New file.
13998
13999 2003-03-27 J. Brobecker <brobecker@gnat.com>
14000
14001 * gdb.gdb/observer.exp: New regression test.
14002
14003 2003-03-27 Michael Chastain <mec@shout.net>
14004
14005 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
14006 * gdb.base/ptype.exp: Likewise.
14007
14008 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
14009
14010 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
14011
14012 2003-03-26 Michael Chastain <mec@shout.net>
14013
14014 * gdb.base/ptype.exp: Actually use some typedef'd types.
14015
14016 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
14017
14018 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
14019 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
14020
14021 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14022
14023 * gdb.base/default.exp: Fix regular expression.
14024
14025 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14026
14027 * gdb.base/args.exp: Fix regular expression.
14028
14029 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14030
14031 * gdb.base/help.exp: Allow Win32 child process.
14032
14033 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14034
14035 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
14036 when stepping out of main().
14037
14038 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14039
14040 * gdb.base/default.exp: Check for win32 specific message when calling
14041 "run" without executable.
14042
14043 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14044
14045 * gdb.base/args.exp: Expect .exe in output.
14046
14047 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
14048
14049 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
14050 Cygwin native.
14051
14052 2003-03-17 Andrew Cagney <cagney@redhat.com>
14053
14054 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
14055 vector registes.
14056 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
14057 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
14058
14059 2003-03-17 David Carlton <carlton@math.stanford.edu>
14060
14061 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
14062 test, for PR breakpoints/38.
14063 Call test_watchpoint_and_breakpoint.
14064 * gdb.base/watchpoint.c (func3): New function.
14065 (main): Call func3.
14066
14067 2003-03-04 David Carlton <carlton@math.stanford.edu>
14068
14069 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
14070 Garply<Garply<char> >:: garply".
14071 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
14072 with respect to PR c++/1111; note also PR c++/1113.
14073 (test_template_breakpoints): KFAIL "constructor breakpoint" with
14074 respect to PR c++/1062.
14075 KFAIL "destructor breakpoint" with respect to PR c++/1112.
14076
14077 2003-03-03 David Carlton <carlton@math.stanford.edu>
14078
14079 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
14080 with respect to PR c++/57.
14081 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
14082 c++/826.
14083 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
14084 respect to PR c++/57.
14085
14086 2003-03-03 David Carlton <carlton@math.stanford.edu>
14087
14088 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
14089 respect to PR c++/33 into FAILs.
14090
14091 2003-03-03 Michael Chastain <mec@shout.net>
14092
14093 * configure.in: Update copyright years.
14094
14095 2003-03-03 Michael Chastain <mec@shout.net>
14096
14097 * Makefile.in: Update copyright years.
14098
14099 2003-02-28 David Carlton <carlton@math.stanford.edu>
14100
14101 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
14102 print class instead of struct and/or superfluous protection
14103 specifiers, as long as the resulting output is equivalent to the
14104 source code.
14105 Delete FIXME from end of messages on tests that don't need
14106 fixing.
14107
14108 2003-02-28 David Carlton <carlton@math.stanford.edu>
14109
14110 * gdb.c++/templates.exp (do_tests): Allow const in the two
14111 Foo<volatile char *>::foo tests.
14112
14113 2003-02-27 Michael Snyder <msnyder@redhat.com>
14114
14115 * gdb.base/restore.c (main): Return zero, so exit code
14116 will be consistant.
14117
14118 2003-02-26 David Carlton <carlton@math.stanford.edu>
14119
14120 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
14121 char *>::foo" test with respect to PR c++/33. Create a new test
14122 which is identical to that one except that it doesn't put the
14123 space between the "char" and the "*"; KFAIL it, too.
14124
14125 2003-02-26 David Carlton <carlton@math.stanford.edu>
14126
14127 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
14128 template types into either PASSes or KFAILs (corresponding to PR
14129 c++/57). Tweak indentation. Update copyright.
14130
14131 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
14132
14133 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
14134
14135 2003-02-13 Michael Chastain <mec@shout.net>
14136
14137 * gdb.base/exprs.exp: Remove i960 remnants.
14138 * gdb.base/funcargs.exp: Likewise.
14139 * gdb.base/list.exp: Likewise.
14140 * gdb.base/ptype.exp: Likewise.
14141
14142 2003-02-14 David Carlton <carlton@math.stanford.edu>
14143
14144 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
14145 pEe->D::vg()" from XFAIL to KFAIL.
14146
14147 2003-02-13 Jason Molenda (jmolenda@apple.com)
14148
14149 * gdb.base/maint.exp: Update maint print statistics regexp to include
14150 new entries.
14151
14152 2003-02-13 Michael Chastain <mec@shout.net>
14153
14154 * gdb.c++/inherit.exp: Remove call to get_debug_format.
14155
14156 2003-02-12 Michael Chastain <mec@shout.net>
14157
14158 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
14159 * gdb.c++/inherit.exp: Likewise.
14160 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
14161 * gdb.c++/templates.exp: Likewise.
14162 * gdb.c++/virtfunc.exp: Likewise.
14163
14164 2003-02-06 Jason Molenda (jason-cl@molenda.com)
14165
14166 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
14167 why the code is written that way.
14168
14169 2003-02-05 Michael Chastain <mec@shout.net>
14170
14171 * gdb.base/dump.exp: Add missing copyright line.
14172
14173 2003-02-05 Jason Molenda (jason-cl@molenda.com)
14174
14175 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
14176 at the beginning so the breakpoint doesn't get set on the loop.
14177
14178 2003-02-05 Michael Chastain <mec@shout.net>
14179
14180 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
14181 output for configurations with gcc 2.95.3.
14182
14183 2003-02-05 Keith Seitz <keiths@redhat.com>
14184 Andrew Cagney <ac131313@redhat.com>
14185
14186 * gdb.mi/mi-cli.exp: New file.
14187
14188 2003-02-04 Michael Chastain <mec@shout.net>
14189
14190 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
14191 Call perror and then continue.
14192
14193 2003-02-03 Michael Chastain <mec@shout.net>
14194
14195 * gdb.c++/pr-1023.cc: New file.
14196 * gdb.c++/pr-1023.exp: New file.
14197
14198 2003-02-05 Jim Blandy <jimb@redhat.com>
14199
14200 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
14201 it's local to foobar. Check for it there, and check that it's not
14202 present in main.
14203 * gdb.c++/local.cc (marker2): New function.
14204 (foobar): Call marker1.
14205 (main): Call marker2 instead of marker1.
14206
14207 2003-02-04 Andrew Cagney <ac131313@redhat.com>
14208
14209 * gdb.disasm/mn10200.exp: Obsolete file.
14210 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
14211 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
14212 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
14213
14214 2003-02-04 David Carlton <carlton@math.stanford.edu>
14215
14216 * gdb.c++/overload.exp: Test intToChar(1).
14217 * gdb.c++/overload.cc (intToChar): New.
14218 (main): Call intToChar.
14219
14220 2003-02-03 David Carlton <carlton@math.stanford.edu>
14221
14222 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
14223 'might_kfail' arg.
14224 KFAIL some of the continue_to_bp_overloaded calls, according to
14225 PR c++/1025.
14226
14227 2003-02-01 Michael Chastain <mec@shout.net>
14228
14229 * gdb.base/advance.c (marker1): New marker function.
14230 * gdb.base/advance.exp: When the 'advance' command lands on the
14231 return breakpoint, it can legitimately stop on either the
14232 current line or the next line. Accommodate both outcomes.
14233 * gdb.base/until.exp: Likewise.
14234
14235 2003-02-02 Andrew Cagney <ac131313@redhat.com>
14236
14237 2002-11-10 Jason Molenda (jason-cl@molenda.com):
14238 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
14239 now a list, not a tuple.
14240 * gdb.mi/mi-var-display.exp: Ditto.
14241 * gdb.mi/gdb792.exp: Ditto.
14242
14243 2003-02-01 Andrew Cagney <ac131313@redhat.com>
14244
14245 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
14246 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
14247 stack backtraces.
14248 * gdb.mi/mi-syn-frame.c: Part of same.
14249
14250 2003-02-01 Mark Kettenis <kettenis@gnu.org>
14251
14252 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14253 gdb.mi/mi1-pthreads.exp: Return instead of calling
14254 gdb_suppress_entire_file.
14255
14256 2003-02-01 Mark Salter <msalter@redhat.com>
14257
14258 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
14259
14260 2003-01-31 Mark Salter <msalter@redhat.com>
14261
14262 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
14263 Support empty arg.
14264
14265 2003-01-30 Michael Chastain <mec@shout.net>
14266
14267 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
14268 This was a workaround for a UTF-8 bug in readline 4.3. The bug
14269 has been fixed in gdb/readline on 2003-01-09.
14270
14271 2003-01-29 Michael Snyder <msnyder@redhat.com>
14272
14273 * gdb.base/maint.exp: Allow for leading underscore in symbol.
14274 * gdb.base/display.exp: Allow for leading underscore in symbol.
14275 * gdb.base/args.exp: Skip if target does not support args passing.
14276
14277 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
14278
14279 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
14280 gdb_test. Accept a list of expect arguments as the third
14281 parameter.
14282 (gdb_test): Use it.
14283
14284 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
14285
14286 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
14287 allow for different test tree configurations. Update some
14288 tescases accordingly.
14289 * gdb.arch/altivec-regs.exp: Ditto.
14290 * gdb.asm/asm-source.exp: Ditto.
14291 * gdb.base/advance.exp: Ditto.
14292 * gdb.base/display.exp: Ditto.
14293 * gdb.base/long_long.exp: Ditto.
14294 * gdb.base/mips_pro.exp: Ditto.
14295 * gdb.base/overlays.exp: Ditto.
14296 * gdb.base/relocate.exp: Ditto.
14297 * gdb.base/setshow.exp: Ditto.
14298 * gdb.base/step-line.exp: Ditto.
14299 * gdb.base/step-test.exp: Ditto.
14300 * gdb.base/until.exp: Ditto.
14301 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
14302
14303 2003-01-17 David Carlton <carlton@math.stanford.edu>
14304
14305 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
14306 corresponding to PR c++/945.
14307 Update copyright.
14308
14309 2003-01-17 David Carlton <carlton@math.stanford.edu>
14310
14311 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
14312 corresponding to PR c++/68.
14313
14314 2003-01-17 David Carlton <carlton@math.stanford.edu>
14315
14316 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
14317 (test_paddr_hairy_functions): Call print_addr_2_kfail for
14318 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
14319
14320 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14321
14322 * gdb.base/break.exp: Fix change of default location, because of
14323 removal of until tests.
14324 * gdb.base/help.exp: Update test for new 'until' help message.
14325 Add test for help on 'advance'.
14326 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
14327
14328 2003-01-15 Mark Kettenis <kettenis@gnu.org>
14329
14330 * gdb.base/default.exp: Adapt "info float" test for recent changes
14331 to that command. Add test for "info vector".
14332 * gdb.base/float.exp: New file. Add test for "info float" that
14333 resembles the old test in gdb.base/default.exp.
14334
14335 2003-01-15 David Carlton <carlton@math.stanford.edu>
14336
14337 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
14338
14339 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
14340
14341 * gdb.base/break.exp: Move the tests of until command from here...
14342 * gdb.base/until.exp: ... to here. New file. Add other tests.
14343 * gdb.base/advance.c: New file.
14344 * gdb.base/advance.exp: New file.
14345
14346 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
14347
14348 * gdb.base/args.c: New file.
14349 * gdb.base/args.exp: New file.
14350
14351 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14352
14353 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
14354
14355 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14356
14357 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
14358
14359 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
14360
14361 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
14362 dates.
14363
14364 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14365
14366 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
14367
14368 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14369
14370 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
14371 (ptype &*"foo").
14372 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
14373
14374 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14375
14376 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
14377 * gdb.mi/mi1-console.exp: Likewise.
14378
14379 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14380
14381 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
14382 * gdb.mi/mi1-console.exp: Likewise.
14383
14384 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
14385
14386 * gdb.c++/overload.exp: Remove some fixed XFAILs.
14387
14388 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14389
14390 * gdb.base/detach.exp: New test.
14391
14392 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
14393
14394 * Makefile.in (ALL_SUBDIRS): New variable.
14395 (subdirs, clean, distclean): Use it.
14396 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
14397 regenerating Makefile, since it is generated from the top level.
14398 * gdb.asm/Makefile.in: Likewise.
14399 * gdb.base/Makefile.in: Likewise.
14400 * gdb.c++/Makefile.in: Likewise.
14401 * gdb.disasm/Makefile.in: Likewise.
14402 * gdb.java/Makefile.in: Likewise.
14403 * gdb.mi/Makefile.in: Likewise.
14404 * gdb.threads/Makefile.in: Likewise.
14405 * gdb.trace/Makefile.in: Likewise.
14406
14407 2003-01-09 David Carlton <carlton@math.stanford.edu>
14408
14409 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
14410 Add copyright year 2003.
14411
14412 2003-01-06 Michael Chastain <mec@shout.net>
14413
14414 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
14415 When selecting a thread, 'line' and 'file' are optional.
14416 * gdb.mi/mi1-pthreads.exp: Likewise.
14417
14418 2003-01-06 Andreas Schwab <schwab@suse.de>
14419
14420 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
14421 failures.
14422
14423 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14424
14425 Fix PR gdb/844
14426 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
14427 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
14428
14429 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
14430 instead of calling gdb_suppress_entire_file.
14431 * gdb.threads/print-threads.exp: Likewise.
14432 * gdb.threads/schedlock.exp: Likewise.
14433
14434 * gdb.threads/killed.exp: Return instead of calling
14435 gdb_suppress_entire_file.
14436 * gdb.threads/linux-dp.exp: Likewise.
14437 * gdb.threads/pthreads.exp: Likewise.
14438
14439 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14440
14441 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
14442 stabs.
14443 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
14444 * gdb.base/whatis.exp: Always allow (void) after function names.
14445
14446 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
14447
14448 * gdb.c++/casts.exp: Correct regexp.
14449
14450 2003-01-04 Mark Kettenis <kettenis@gnu.org>
14451
14452 * configure.in: Call AC_CONFIG_HEADER. Don't call
14453 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
14454 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
14455 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
14456 aforementioned directories in the AC_OUPUT call.
14457 * config.hin: New file.
14458 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
14459 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
14460 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
14461 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
14462 pass -I$objdir instead of -I$objdir/$subdir in compilation.
14463 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
14464 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
14465 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
14466 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
14467 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
14468 gdb.threads/configure.in, gdb.threads/configure,
14469 gdb.threads/config.in, gdb.trace/configure.in,
14470 gdb.trace/configure: Removed.
14471
14472 2003-01-03 Michael Chastain <mec@shout.net>
14473
14474 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
14475 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
14476
14477 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
14478
14479 * gdb.base/store.exp: Fix regular expressions.
14480
14481 2002-12-28 Mark Kettenis <kettenis@gnu.org>
14482
14483 * configure.in: Rewrite.
14484 * configure: Regenerated.
14485
14486 2003-01-03 David Carlton <carlton@math.stanford.edu>
14487
14488 * gdb.base/psymtab.exp: New file.
14489 * gdb.base/psymtab1.c: Ditto.
14490 * gdb.base/psymtab2.c: Ditto.
14491
14492 2002-12-23 Adam Fedor <fedor@gnu.org>
14493
14494 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
14495
14496 2002-12-23 David Carlton <carlton@math.stanford.edu>
14497
14498 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
14499 and current_directory initialization.
14500
14501 2002-12-22 Jim Blandy <jimb@redhat.com>
14502
14503 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
14504 rather than as part of the output file name.
14505
14506 * gdb.base/attach.exp: There's no need to copy the test program to
14507 /tmp; that was only ever necessary on HP/UX, and this test is
14508 entirely disabled there anyway.
14509
14510 2002-12-21 Jim Blandy <jimb@redhat.com>
14511
14512 * gdb.c++/psmang.exp: Doc fix.
14513
14514 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
14515 test.
14516
14517 2002-12-20 David Carlton <carlton@math.stanford.edu>
14518
14519 * gdb.c++/annota2.exp: KFAIL annotate-quit.
14520
14521 2002-12-18 Michael Chastain <mec@shout.net>
14522
14523 * gdb.c++/annota2.exp: Add copyright year 2002.
14524
14525 2002-12-17 David Carlton <carlton@math.stanford.edu>
14526
14527 * gdb.c++/try_catch.cc: Add marker comments.
14528 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
14529 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
14530 * gdb.c++/m-static.cc: Ditto.
14531 * gdb.c++/m-static1.cc: Ditto.
14532 * gdb.c++/try_catch.cc: Ditto.
14533
14534 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
14535
14536 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
14537 to see whether we are using the new -environment-directory
14538 command which resets via -r or the old version of the command
14539 which may prompt the user. Part of fix for gdb/741.
14540
14541 2002-12-13 Andrew Cagney <ac131313@redhat.com>
14542
14543 * gdb.fortran/types.exp: Update obsolete comment.
14544 * gdb.fortran/exprs.exp: Ditto.
14545 * lib/gdb.exp: Delete obsolete code.
14546 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
14547 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
14548 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
14549 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
14550 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
14551 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
14552 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
14553 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
14554 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
14555 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
14556 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
14557 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
14558 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
14559 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
14560 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
14561 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
14562 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
14563 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
14564 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
14565 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
14566 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
14567 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
14568 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
14569 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
14570 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
14571 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
14572 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
14573 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
14574 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
14575 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
14576 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
14577 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
14578 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
14579 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
14580 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
14581 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
14582 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
14583
14584 2002-12-11 David Carlton <carlton@math.stanford.edu>
14585
14586 * gdb.c++/m-data.exp: Add test for members that shadow global
14587 variables: see PR gdb/804.
14588 * gdb.c++/m-data.cc: Ditto.
14589
14590 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
14591
14592 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
14593
14594 2002-12-06 David Carlton <carlton@math.stanford.edu>
14595
14596 * gdb.base/store.c: Don't declare functions static.
14597
14598 2002-12-04 Andrew Cagney <ac131313@redhat.com>
14599
14600 * gdb.base/store.exp, gdb.base/store.c: New files.
14601
14602 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14603
14604 * gdb.base/selftest.exp: Update for current gdb.
14605
14606 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14607
14608 * gdb.base/maint.exp: Only dump symbols from one source file
14609 or objfile.
14610
14611 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
14612
14613 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
14614 function call.
14615
14616 2002-11-25 Jim Blandy <jimb@redhat.com>
14617
14618 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
14619 function appearing in error message.
14620
14621 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
14622
14623 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
14624
14625 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
14626
14627 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
14628 for mi1 and current mi is in correct format. New mi startup message
14629 should be in mi console format. This is part of fix for PR gdb/604.
14630
14631 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14632
14633 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
14634 which explicitly prints the zero offset as "+0".
14635
14636 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
14637
14638 * gdb.threads/schedlock.c (args): Make unsigned.
14639
14640 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
14641
14642 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
14643 numbers. Allow "foo2|selected stack frame".
14644 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
14645 * gdb.asm/asmsrc2.s: Likewise.
14646 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
14647 comments.
14648 * gdb.asm/mips.inc: New file.
14649
14650 2002-10-18 Adam Fedor <fedor@gnu.org>
14651
14652 * gdb.base/default.exp: Update expected output to include 'ObjC'.
14653 * gdb.base/help.exp: Likewise.
14654
14655 2002-10-17 Kevin Buettner <kevinb@redhat.com>
14656
14657 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
14658 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
14659
14660 2002-10-02 Jim Blandy <jimb@redhat.com>
14661
14662 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
14663
14664 2002-10-01 Andrew Cagney <ac131313@redhat.com>
14665
14666 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
14667 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
14668 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
14669 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
14670 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
14671 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
14672 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
14673
14674 2002-09-29 Andrew Cagney <ac131313@redhat.com>
14675
14676 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
14677 * mi0-disassemble.exp, mi0-eval.exp: Delete.
14678 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
14679 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
14680 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
14681 * mi0-var-block.exp, mi0-var-child.exp: Delete.
14682 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
14683
14684 2002-09-27 Kevin Buettner <kevinb@redhat.com>
14685
14686 * gdb.base/annota1.exp (info break): Make directory components of
14687 path optional since not all compilers emit this debug information.
14688
14689 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
14690 step ends up stepping out of the function instead of stopping on
14691 the epilogue.
14692
14693 2002-09-26 Keith Seitz <keiths@redhat.com>
14694
14695 * lib/insight-support.exp (gdbtk_start): Figure out where
14696 the insight executable is based on where gdb is. Use this
14697 executable to start insight instead of gdb.
14698
14699 2002-09-25 Andrew Cagney <cagney@redhat.com>
14700
14701 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
14702
14703 2002-09-24 Andrew Cagney <ac131313@redhat.com>
14704
14705 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
14706 test_isolated_complaints.
14707 (test_empty_complaint): New function.
14708 (test_empty_complaints): New function. Check no output when no
14709 complaints.
14710
14711 2002-09-19 Jim Blandy <jimb@redhat.com>
14712
14713 * gdb.base/charset.exp, gdb.base/charset.c: New files.
14714
14715 2002-09-19 Andrew Cagney <ac131313@redhat.com>
14716
14717 * gdb.gdb/complaints.exp: New file.
14718
14719 2002-09-18 Andrew Cagney <ac131313@redhat.com>
14720
14721 * gdb.base/maint.exp: Check `help maint internal-warning'.
14722
14723 2002-09-18 David Carlton <carlton@math.stanford.edu>
14724
14725 * gdb.c++/m-static.exp: Remove breakpoints depending on line
14726 numbers, and replace them by a single breakpoint after the
14727 constructors are all finished.
14728 Add test 4.
14729 * gdb.c++/m-static.cc: Add test 4.
14730 * gdb.c++/m-static.h: New file.
14731 * gdb.c++/m-static1.cc: New file.
14732
14733 * gdb.c++/printmethod.exp: New file.
14734 * gdb.c++/printmethod.cc: New file.
14735
14736 * gdb.c++/pr-574.exp: New file.
14737 * gdb.c++/pr-574.cc: New file.
14738
14739 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14740
14741 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
14742 embedded targets which never actually exit.
14743
14744 2002-09-18 Fernando Nasser <fnasser@redhat.com>
14745
14746 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
14747 "don't step after run" as unresolved or unsupported, instead of xfail.
14748
14749 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14750
14751 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
14752 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
14753 Add newline to expected string in "step out of main (status wrapper)"
14754 case.
14755
14756 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
14757
14758 * lib/gdb.exp (rerun_to_main): Allow restarting application.
14759 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
14760
14761 2002-09-17 Tom Tromey <tromey@redhat.com>
14762
14763 * gdb.base/printcmds.exp (test_print_string_constants): Expect
14764 \000, not \0, in double-quoted string.
14765
14766 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
14767
14768 * gdb.base/commands.exp: Don't expect a "Program exited normally"
14769 string after running the commands execution on breakpoint tests.
14770
14771 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
14772
14773 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
14774
14775 2002-09-12 Joel Brobecker <brobecker@gnat.com>
14776
14777 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
14778
14779 2002-09-10 Keith Seitz <keiths@redhat.com>
14780
14781 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
14782 runto proc.
14783 (mi_run_to_main): Use mi_runto.
14784 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
14785
14786 2002-09-10 Keith Seitz <keiths@redhat.com>
14787
14788 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
14789 regexp for stopping at main. Could have multiple event notifications.
14790 Don't assume that main was declared with no parameters.
14791 (mi_next): Use mi_step_to.
14792 (mi_step): Use mi_next_to.
14793
14794 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
14795
14796 * gdb.base/default.exp: Fix expected string in `info float' test.
14797
14798 2002-09-09 Ben Elliston <bje@redhat.com>
14799
14800 * config/mips.exp: Update comments.
14801 * config/mips-idt.exp: Likewise.
14802 * config/nind.exp: Likewise.
14803 * config/slite.exp: Likewise.
14804 * config/sparclet.exp: Likewise.
14805 * config/udi.exp: Likewise.
14806 * config/vx.exp: Likewise.
14807 * config/vxworks29k.exp: Likewise.
14808
14809 2002-09-05 Jim Blandy <jimb@redhat.com>
14810
14811 * gdb.threads/killed.exp: Fix test failure message.
14812
14813 2002-09-04 Keith Seitz <keiths@redhat.com>
14814
14815 * lib/mi-support.exp: Update copyright.
14816 (mi_gdb_test): Increase the priority of the expected pattern
14817 so that it matches gdb_test.
14818
14819 2002-09-03 Keith Seitz <keiths@redhat.com>
14820
14821 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
14822 Use integer comparison instead of string comparison for testing
14823 whether binary was built.
14824
14825 2002-09-03 Jim Blandy <jimb@redhat.com>
14826
14827 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
14828
14829 2002-08-29 Jim Blandy <jimb@redhat.com>
14830
14831 * gdb.threads/pthreads.exp: Move the portable thread compilation
14832 code into a function in lib/gdb.exp, and call that from here.
14833 * lib/gdb.exp (gdb_compile_pthreads): New function.
14834
14835 2002-08-29 Keith Seitz <keiths@redhat.com>
14836
14837 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
14838 expect_out so that callers can get at it.
14839
14840 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
14841
14842 * gdb.threads/print-threads.c: New file.
14843 * gdb.threads/print-threads.exp: New file.
14844 * gdb.threads/schedlock.c: New file.
14845 * gdb.threads/schedlock.exp: New file.
14846
14847 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
14848
14849 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
14850 not altivec.c.
14851
14852 2002-08-17 Mark Kettenis <kettenis@gnu.org>
14853
14854 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
14855 targets. The problem should be fixed now.
14856
14857 2002-08-15 Mark Kettenis <kettenis@gnu.org>
14858
14859 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
14860 2002-07-24 change that removes final dots from error messages.
14861
14862 2002-08-13 Tom Tromey <tromey@redhat.com>
14863
14864 * gdb.base/readline.exp: New file.
14865
14866 2002-08-01 Andrew Cagney <ac131313@redhat.com>
14867
14868 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
14869 supress message.
14870
14871 2002-08-01 Andrew Cagney <cagney@redhat.com>
14872
14873 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
14874 CHILL_FOR_TARGET and CHILL_LIB.
14875 * configure.in (configdirs): Remove gdb.chill.
14876 * configure: Regenerate.
14877 * lib/gdb.exp: Obsolete references to chill.
14878 * gdb.fortran/types.exp: Ditto.
14879 * gdb.fortran/exprs.exp: Ditto.
14880
14881 2002-07-30 Kevin Buettner <kevinb@redhat.com>
14882
14883 * gdb.base/shlib-call.exp (additional_flags): Conditionally
14884 set Irix-specific compile and link flags.
14885
14886 2002-07-29 Kevin Buettner <kevinb@redhat.com>
14887
14888 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
14889 source files. The ``-o'' option doesn't work with the ``-E'' option
14890 when using the Irix compiler.
14891
14892 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
14893
14894 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
14895 Improve support for reusing an exec file. Copy exec file
14896 to target, and run gdbserver on the target instead of on the host.
14897
14898 2002-07-18 Jim Blandy <jimb@redhat.com>
14899
14900 * gdb.base/ending-run.exp: Don't expect to see the program end in
14901 some orderly fashion when we're running on a real stand-alone
14902 board.
14903
14904 * gdb.base/interrupt.exp: Correct logic for skipping tests on
14905 targets that don't support interrupts.
14906
14907 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
14908
14909 * gdb.base/attach.exp: Add patterns to match output from /proc-based
14910 systems.
14911 Move comments in expect statements to inside the actions, so that they
14912 don't get matched against.
14913
14914 2002-07-10 Mark Kettenis <kettenis@gnu.org>
14915
14916 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
14917 function when asleep" test.
14918
14919 2002-07-10 Andrew Cagney <ac131313@redhat.com>
14920
14921 * gdb.base/page.exp: Rewrite to handle problems with very long
14922 `info set' output. Update copyright.
14923
14924 2002-06-26 Andrew Cagney <ac131313@redhat.com>
14925
14926 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
14927 gdb.threads-hp.
14928 * gdb.hp/configure: Regenerate.
14929 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
14930 * gdb.hp/gdb.threads-hp/configure: Delete file.
14931 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
14932
14933 2002-06-22 Andrew Cagney <ac131313@redhat.com>
14934
14935 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
14936 setlocale, bindtextdomain and textdomain.
14937
14938 2002-06-11 Jim Blandy <jimb@redhat.com>
14939
14940 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
14941 preprocessor macro information is present.
14942
14943 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
14944 tests.
14945
14946 2002-06-06 Michael Snyder <msnyder@redhat.com>
14947
14948 * gdb.base/overlays.exp: Record addresses of overlay
14949 functions in TCL variables rather than in GDB variables,
14950 to avoid having GDB convert them to pointers (with loss
14951 of information).
14952
14953 * gdb.base/d10v.ld: Merge in several years worth of
14954 default linker script changes.
14955 * gdb.base/long_long.exp: Add check for sizeof (long double).
14956
14957 2002-06-06 Michal Ludvig <mludvig@suse.cz>
14958
14959 * gdb.asm/asm-source.exp: Add x86-64 target.
14960 * gdb.asm/x86_64.inc: New.
14961
14962 2002-05-30 Michael Chastain <mec@shout.net>
14963
14964 From Benjamin Kosnik <bkoz@redhat.com>:
14965 * gdb.c++/m-static.cc: New file.
14966 * gdb.c++/m-static.exp: New file.
14967
14968 2002-05-28 Michael Snyder <msnyder@redhat.com>
14969
14970 * gdb.base/call-ar-st.exp: Allow for reduced floating point
14971 precision.
14972
14973 2002-05-27 Michael Chastain <mec@shout.net>
14974
14975 From Benjamin Kosnik <bkoz@redhat.com>:
14976 * gdb.c++/m-data.cc: New file.
14977 * gdb.c++/m-data.exp: New file.
14978
14979 2002-05-27 Michael Chastain <mec@shout.net>
14980
14981 From Benjamin Kosnik <bkoz@redhat.com>:
14982 * gdb.c++/try_catch.cc: New file.
14983 * gdb.c++/try_catch.exp: New file.
14984
14985 2002-05-27 Michael Chastain <mec@shout.net>
14986
14987 * gdb.c++/local.exp: Accept more nested types in output.
14988
14989 2002-05-26 Michael Chastain <mec@shout.net>
14990
14991 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
14992
14993 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
14994
14995 * lib/gdb.exp (gdb_wrapper_init): Just because
14996 gdb_wrapper_file exists, this does not mean that the file
14997 should not be rebuilt. That is what gdb_wrapper_initialized
14998 is for.
14999 (default_gdb_init): Reset gdb_wrapper_initialized.
15000
15001 2002-05-23 Michael Snyder <msnyder@redhat.com>
15002
15003 * gdb.base/all-bin.exp: Revise previous patch by just reducing
15004 the precision of the floating point test results.
15005 * gdb.base/call-rt-st.exp: Ditto.
15006
15007 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
15008 * gdb.base/call-rt-st.exp: Ditto.
15009
15010 2002-05-19 Michael Chastain <mec@shout.net>
15011
15012 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
15013
15014 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
15015
15016 * configure.in (configdirs): Add gdb.arch.
15017 * configure: Regenerate.
15018
15019 2002-05-17 Jim Blandy <jimb@redhat.com>
15020
15021 * gdb.base/completion.exp: Recognize the more detailed error
15022 messages produced by the macro expander's lexical analyzer.
15023
15024 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15025
15026 * gdb.arch/altivec-abi.c: New file.
15027 * gdb.arch/altivec-abi.exp: New file.
15028 * gdb.arch/altivec-regs.c: New file.
15029 * gdb.arch/altivec-regs.exp: New file.
15030
15031 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
15032
15033 * gdb.base/maint.exp (maint print type): Update for new type
15034 structure.
15035
15036 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
15037
15038 * gdb.arch: New directory.
15039 * gdb.arch/configure.in: New file.
15040 * gdb.arch/configure: New file.
15041 * gdb.arch/Makefile.in: New file.
15042
15043 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
15044
15045 * gdb.asm/asm-source.exp: Add v850 as supported target.
15046 * gdb.asm/v850.inc: New file.
15047
15048 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
15049
15050 * gdb.c++/annota2.exp (annotate-quit): Add comment.
15051
15052 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
15053
15054 * gdb.base/break.exp: Check 'break "marker2"'.
15055
15056 2002-05-10 Michael Snyder <msnyder@redhat.com>
15057
15058 * gdb.base/long_long.exp: Fix typo.
15059
15060 2002-05-10 Jim Blandy <jimb@redhat.com>
15061
15062 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
15063 a bug.
15064
15065 * gdb.base/printcmds.exp (test_integer_literals_rejected):
15066 Recognize more detailed error message produced by the macro
15067 expander's lexical analyzer.
15068 * lib/gdb.exp (test_print_reject): Same.
15069
15070 2002-05-09 Mark Kettenis <kettenis@gnu.org>
15071
15072 * gdb.c++/method.exp: Fix typo.
15073
15074 2002-05-08 Michael Snyder <msnyder@redhat.com>
15075
15076 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
15077 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
15078 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
15079 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
15080 Add iftarget clause for strongarm.
15081
15082 2002-05-06 Michael Snyder <msnyder@redhat.com>
15083
15084 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
15085 (gdb_continue_to_end): Accept output from status wrapper.
15086 * gdb.base/ending-run.exp: Add case for output from status wrapper.
15087 Clean up fail messages to match pass messages.
15088
15089 Enable the "needs_status_wrapper" testsuite feature.
15090 * lib/gdb.exp (gdb_wrapper_init): New procedure.
15091 (gdb_compile): Conditionally call gdb_wrapper_init.
15092 * gdb.base/a2-run.exp: Recognize output from status wrapper.
15093 * gdb.c++/method.exp: Recognize output from status wrapper.
15094
15095 2002-05-06 Ben Elliston <bje@redhat.com>
15096 From Graydon Hoare <graydon@redhat.com>
15097
15098 * config/sid.exp: Include support for "rawsid" protocol.
15099
15100 2002-05-03 Jim Blandy <jimb@redhat.com>
15101
15102 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
15103 * gdb.c++/hang3.C: New file.
15104
15105 2002-05-04 Andrew Cagney <ac131313@redhat.com>
15106
15107 * gdb.base/default.exp: Remove obsolete code.
15108 * gdb.c++/misc.exp: Ditto. Update copyright.
15109 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
15110 * gdb.base/whatis.exp: Ditto. Update copyright.
15111 * gdb.base/scope.exp: Ditto. Update copyright.
15112 * gdb.base/ptype.exp: Ditto. Update copyright.
15113 * gdb.base/printcmds.exp: Ditto. Update copyright.
15114 * gdb.base/opaque.exp: Ditto. Update copyright.
15115 * gdb.base/list.exp: Ditto.
15116 * gdb.base/funcargs.exp: Ditto. Update copyright.
15117 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
15118 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
15119 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
15120 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
15121 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
15122 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
15123
15124 2002-05-02 Michael Snyder <msnyder@redhat.com>
15125
15126 * gdb.base/watchpoint.exp: Add xscale target.
15127 * gdb.base/long_long.exp: Add xscale target.
15128 * gdb.base/default.exp: Add xscale target.
15129
15130 2002-05-01 Jim Blandy <jimb@redhat.com>
15131
15132 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
15133 gdb.c++/hang.exp: New test.
15134
15135 2002-05-01 Fred Fish <fnf@redhat.com>
15136
15137 * gdb.base/completion.exp: Handle completions of "./Make" for
15138 more than one completion possibility, as is the case when we
15139 build and test in the source tree.
15140
15141 2002-04-29 Anthony Green <green@redhat.com>
15142
15143 * gdb.java/jmisc1.exp: New file.
15144 * gdb.java/jmisc2.exp: New file.
15145
15146 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
15147
15148 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
15149
15150 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
15151
15152 * gdb.base/help.exp: Change 'help status' to allow for target
15153 dependent output differences.
15154
15155 2002-04-22 Michael Chastain <mec@shout.net>
15156
15157 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
15158
15159 2002-04-22 Michael Chastain <mec@shout.net>
15160
15161 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
15162
15163 2002-04-17 David S. Miller <davem@redhat.com>
15164
15165 * gdb.asm/sparc64.inc: New file.
15166 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
15167
15168 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
15169
15170 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
15171 instruction file directly into the build tree. Clean up at end of
15172 test.
15173
15174 2002-04-18 David S. Miller <davem@redhat.com>
15175
15176 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
15177 handle 64-bit platforms correctly.
15178 * gdb.base/maint.exp: Likewise.
15179
15180 2002-04-18 Kevin Buettner <kevinb@redhat.com>
15181
15182 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
15183 ``-fpic'' when compiling files comprising a shared library, but
15184 it does need additional linker flags in order to find shared
15185 libraries at run time.
15186
15187 2002-04-18 Kevin Buettner <kevinb@redhat.com>
15188
15189 * gdb.base/cvexpr.c (use): New function.
15190 (main): Invoke use() on all global variables to prevent
15191 some linkers from deleting these otherwise unused symbols.
15192
15193 2002-04-17 Michael Chastain <mec@shout.net>
15194 From David S. Miller <davem@redhat.com>
15195
15196 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
15197 handle 64-bit platforms correctly.
15198
15199 2002-04-12 Michael Snyder <msnyder@redhat.com>
15200 From Jim Blandy <jimb@redhat.com>
15201 * gdb.base/foo.c (foox): Remove section attribute; the linker
15202 script can handle this instead.
15203 * gdb.base/bar.c (barx): Same.
15204 * gdb.base/baz.c (bazx): Same.
15205 * gdb.base/grbx.c (grbxx): Same.
15206
15207 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
15208 manager doesn't automatically unmap overlays unnecessarily.
15209
15210 2002-04-10 Martin M. Hunt <hunt@redhat.com>
15211
15212 * gdb.base/ending-run.exp: Fix pattern for Mips targets
15213 stepping out of main.
15214
15215 2002-04-09 Michael Chastain <mec@shout.net>
15216
15217 * gdb.c++/local.cc (main): Move call to marker1() inside nested
15218 scope so that the nested scope tests will make sense.
15219 * gdb.c++/local.exp: Write patterns that actually work with gcc
15220 (the HP patterns "were never known to work with gcc").
15221 Keep the old aCC patterns too.
15222
15223 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
15224
15225 * gdb.base/attach.exp: Correct target board test.
15226
15227 2002-04-08 Michael Chastain <mec@shout.net>
15228
15229 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
15230 in a const method. Add some xfail and fail cases for configurations
15231 that do not emit the "const ...".
15232
15233 2002-04-07 Michael Chastain <mec@shout.net>
15234
15235 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
15236 Accept "A * const" and "const A * const" as type of "this".
15237 Fix spelling of getFunky throughout. Make messages uniform.
15238
15239 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
15240
15241 Work around for PR gdb/285:
15242 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
15243
15244 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
15245
15246 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
15247 instructions file at run time instead of configure time.
15248 Sometimes we run the test in a directory that is not the one we
15249 configured in.
15250 * gdb.asm/configure.in: Delete creation of symlink.
15251 * gdb.asm/configure: Regenerate.
15252
15253 2002-04-05 J. Brobecker <brobecker@gnat.com>
15254
15255 * gdb.gdb/xfullpath.exp: New test, to exercise the new
15256 xfullpath () function.
15257
15258 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
15259
15260 * gdb.asm/Makefile.in: Correct dependencies.
15261
15262 * gdb.asm/powerpc.inc: New file.
15263 * gdb.asm/asm-source.exp: Add PowerPC.
15264 * gdb.asm/configure.in: Likewise.
15265 * gdb.asm/configure: Regenerated.
15266
15267 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
15268
15269 * gdb.base/relocate.exp: New file.
15270 * gdb.base/relocate.c: New file.
15271
15272 2002-04-04 Fred Fish <fnf@redhat.com>
15273
15274 * gdb.base/step-test.exp: Update comment regarding stopping in
15275 memcpy/bcopy calls inserted as part of the compiler runtime.
15276
15277 2002-04-04 Michael Snyder <msnyder@redhat.com>
15278
15279 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
15280
15281 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
15282
15283 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
15284 (gdb_expect): Remove $notransfer hack.
15285
15286 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
15287
15288 * gdb.c++/classes.exp ("calling method for small class"): Match
15289 updated register output.
15290
15291 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
15292
15293 Fix PR gdb/452
15294 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
15295 when finished. Make gdb_file_cmd send "exec-file" when
15296 appropriate.
15297
15298 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
15299
15300 * gdb.base/attach.exp: Remove extra setup_xfail.
15301
15302 2002-03-26 Michael Snyder <msnyder@redhat.com>
15303
15304 * gdb.base/default.exp: Add tests for dump, append, and restore.
15305 * gdb.base/help.exp: Add tests for dump, append, and restore.
15306 * gdb.base/dump.exp: New file, test dump, append and restore.
15307 * gdb.base/dump.c: New file.
15308
15309 2002-03-27 Michael Snyder <msnyder@redhat.com>
15310
15311 * gdb.base/help.exp: Modify expect strings to reflect
15312 clean-ups in help messages.
15313
15314 2002-03-26 Fred Fish <fnf@redhat.com>
15315
15316 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
15317 have debugging info for those functions and the compiler uses them
15318 internally to copy structs around.
15319
15320 2002-03-26 Fred Fish <fnf@redhat.com>
15321
15322 * gdb.base/list.exp: Revert the change made yesterday and add note
15323 about why we don't list the default lines for remote targets.
15324
15325 2002-03-25 Michael Snyder <msnyder@redhat.com>
15326
15327 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
15328
15329 2002-03-25 Fred Fish <fnf@redhat.com>
15330
15331 * gdb.base/list.exp: This test works on remote targets so remove
15332 the short circuit for remote targets. Update copyright.
15333
15334 2002-03-25 Fred Fish <fnf@redhat.com>
15335
15336 * gdb.base/attach.exp: Fix logic error that was suppressing this
15337 test for all non hppa*-*-hpux* targets, instead of the hp target.
15338 Move comments closer to the suppression point. Also now need to
15339 check that we are running natively.
15340
15341 2002-03-22 Michael Snyder <msnyder@redhat.com>
15342
15343 * gdb.base/default.exp: Add test for gcore. Update copyright.
15344 * gdb.base/help.exp: Add test for gcore. Update copyright.
15345
15346 2002-03-06 Fred Fish <fnf@redhat.com>
15347
15348 * gdb.base/funcargs.c: Remove extraneous ';' character.
15349 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
15350
15351 2002-03-04 Michael Chastain <mec@shout.net>
15352
15353 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
15354 accommodate gcc v3 function signature.
15355 * gdb.mi/mi0-var-cmd-exp: Ditto.
15356
15357 2002-02-24 Andrew Cagney <ac131313@redhat.com>
15358
15359 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
15360 ``GNU/Linux'' or ``Linux kernel''
15361 * testsuite/gdb.threads/pthreads.c: Ditto.
15362
15363 2002-02-24 Michael Chastain <mec@shout.net>
15364
15365 * gdb.threads/pthreads.c (thread1): Add a return statement.
15366 (thread2): Likewise.
15367 (foo): Likewise.
15368
15369 2002-02-23 Michael Chastain <mec@shout.net>
15370
15371 * gdb.threads/linux-dp.c (philosopher): Add a return statement
15372 to placate gcc.
15373
15374 2002-02-23 Michael Chastain <mec@shout.net>
15375
15376 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
15377 test "ptype bint". The test passes on all my stabs configurations.
15378
15379 2002-02-21 Jim Blandy <jimb@redhat.com>
15380
15381 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
15382 filename at a time, and watch for the ones we want to see.
15383
15384 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
15385 types of pointers to prototyped functions.
15386
15387 2002-02-20 Andrew Cagney <ac131313@redhat.com>
15388
15389 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
15390 signed, unsigned and straight char.
15391 (padding_char, padding_short, padding_int, padding_long,
15392 padding_long_long, padding_float, padding_double,
15393 padding_long_double): New global variables.
15394 (fill, fill_structs): New functions.
15395
15396 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
15397 for correctly sized writes. Update copyright.
15398 (get_valueof): New procedure.
15399 (get_sizeof): Call get_valueof.
15400 (check_valueof): New procedure.
15401 (check_padding): New procedure.
15402
15403 2002-02-20 Michael Chastain <mec@shout.net>
15404
15405 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
15406 to setup_xfail. Document some of the remaining calls.
15407
15408 2002-02-18 Michael Chastain <mec@shout.net>
15409
15410 * gdb.c++/userdef.exp: Update copyright year.
15411
15412 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
15413
15414 * gdb.c++/userdef.exp: Test overloaded operators properly.
15415 Remove xfails.
15416
15417 2002-02-14 Michael Snyder <msnyder@redhat.com>
15418
15419 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
15420
15421 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
15422
15423 * gdb.base/a2-run.exp: Check for a remote target properly.
15424 * gdb.base/annota1.exp: Likewise.
15425 * gdb.base/list.exp: Likewise.
15426 * gdb.base/reread.exp: Likewise.
15427 * gdb.base/scope.exp: Likewise.
15428 * gdb.base/shlib-call.exp: Likewise.
15429 * gdb.base/term.exp: Likewise.
15430 * gdb.c++/annota2.exp: Likewise.
15431
15432 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
15433
15434 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
15435
15436 2002-02-10 Michael Chastain <mec@shout.net>
15437
15438 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
15439 (call_after_alloca): Ditto.
15440
15441 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
15442
15443 * gdb.base/ending-run.exp: Guard "cont" test with
15444 gdb_skip_stdio_test.
15445
15446 2002-02-06 Jim Blandy <jimb@redhat.com>
15447
15448 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
15449 from here...
15450 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
15451 To here. Disable this test on non-HP platforms. Add big comment.
15452
15453 2002-02-04 Michael Snyder <msnyder@redhat.com>
15454
15455 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
15456 other than d10v and m32r.
15457
15458 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
15459
15460 * gdb.base/default.exp: Rewrite test patterns to reduce time
15461 taken to match them.
15462
15463 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15464
15465 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
15466 Allow a start function above main.
15467 * gdb.threads/linux-dp.exp: Fix copyright date.
15468
15469 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15470
15471 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
15472 (check_philosopher_stack): Check for manager thread before checking
15473 for a just-starting thread.
15474
15475 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
15476
15477 From Neil Booth <neil@daikokuya.demon.co.uk>:
15478 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
15479 warnings.
15480
15481 2002-01-21 Fred Fish <fnf@redhat.com>
15482
15483 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
15484 not caller.
15485
15486 2002-01-21 Jim Blandy <jimb@redhat.com>
15487
15488 * gdb.base/reread.exp: Check that GDB properly re-reads the
15489 executable file when it changes while no inferior is running.
15490
15491 2002-01-21 Fred Fish <fnf@redhat.com>
15492
15493 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
15494 optionally accept the "shlib events" variation.
15495
15496 2002-01-21 Jim Blandy <jimb@redhat.com>
15497
15498 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
15499 call `fflush' after every `printf', so that the output is produced
15500 at predictable points, regardless of whatever buffering does (or
15501 doesn't) take place.
15502 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
15503 at different points.
15504
15505 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15506
15507 * gdb.c++/inherit.exp: Update copyright years.
15508 * gdb.c++/method.exp: Likewise.
15509
15510 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
15511
15512 * gdb.c++/classes.exp: Update for improved v3 support and skipping
15513 artificial methods/arguments.
15514 * gdb.c++/derivation.exp: Likewise.
15515 * gdb.c++/inherit.exp: Likewise.
15516 * gdb.c++/method.exp: Likewise.
15517 * gdb.c++/virtfunc.exp: Likewise.
15518
15519 2002-01-18 Andrew Cagney <ac131313@redhat.com>
15520
15521 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
15522 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
15523 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
15524 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
15525 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
15526 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
15527
15528 2002-01-17 Jim Blandy <jimb@redhat.com>
15529
15530 * gdb.asm/asm-source.exp (info symbol): Take another shot at
15531 anchoring the pattern matching the entry point symbol's name.
15532
15533 2002-01-17 Andrew Cagney <ac131313@redhat.com>
15534
15535 * gdb.base/maint.exp: Update ``maint internal-error'' to match
15536 continue/quit query. Update copyright.
15537
15538 2002-01-14 Michael Snyder <msnyder@redhat.com>
15539
15540 * gdb.base/gcore.exp: Remove extra debugging output.
15541
15542 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15543
15544 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
15545 for slightly dubious v2 mangled string.
15546
15547 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
15548
15549 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
15550
15551 2002-01-10 Jason Merrill <jason@redhat.com>
15552
15553 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
15554
15555 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
15556 constructors.
15557 * gdb.c++/derivation.exp: Likewise.
15558 * gdb.c++/templates.exp: Likewise.
15559 * gdb.c++/virtfunc.exp: Likewise.
15560
15561 2002-01-10 Michael Snyder <msnyder@redhat.com>
15562
15563 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
15564
15565 2002-01-08 Michael Snyder <msnyder@redhat.com>
15566
15567 * gdb.base/gcore.exp: New test for generate-core-file command.
15568 * gdb.base/gcore.c: Testcase for above.
15569 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
15570
15571 2002-01-08 Jason Merrill <jason@redhat.com>
15572
15573 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
15574
15575 2002-01-07 Fred Fish <fnf@redhat.com>
15576
15577 * gdb.c++/overload.exp: Remove unconditional xfails for:
15578 print foo_instance1.overloadargs(1)
15579 print foo_instance1.overloadargs(1, 2)
15580 print foo_instance1.overloadargs(1, 2, 3)
15581 print foo_instance1.overloadargs(1, 2, 3, 4)
15582 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
15583 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
15584 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
15585 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
15586 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
15587 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
15588 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
15589 print foo_instance1.overload1arg()
15590 print foo_instance1.overload1arg((char)arg2)
15591 print foo_instance1.overload1arg((signed char)arg3)
15592 print foo_instance1.overload1arg((unsigned char)arg4)
15593 print foo_instance1.overload1arg((int)arg7)
15594 print foo_instance1.overload1arg((unsigned int)arg8)
15595 print foo_instance1.overload1arg((float)arg11)
15596 print foo_instance1.overload1arg((double)arg12)
15597
15598 2002-01-07 Michael Snyder <msnyder@redhat.com>
15599
15600 * gdb.base/huge.exp: New test. Print a very large target data object.
15601 (skip_huge_test): New test variable. Define if you want to skip this
15602 test. The test reads an 8 megabyte data object from the target, so it
15603 might be very time consuming on remote targets with a slow connection.
15604 * gdb.base/huge.c: New file. Test case for above.
15605
15606 2002-01-07 Fred Fish <fnf@redhat.com>
15607
15608 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
15609 g_instance.bfoo, and g_instance.cfoo.
15610
15611 2002-01-07 Jeffrey A Law <law@redhat.com>
15612
15613 * gdb.base/break.c (multi_line_if_conditional): New function.
15614 (multi_ilne_while_conditional): Likewise.
15615 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
15616 IF or WHILE condition puts the breakpoint at the start of
15617 the condition.
15618
15619 * gdb.base/selftest.exp (backtrace through signal handler): Remove
15620 hppa*-*-hpux* expected failure.
15621 * gdb.base/structs.exp (do_function_calls): Similarly.
15622
15623 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
15624 watchpoints.
15625
15626 2002-01-06 Andrew Cagney <ac131313@redhat.com>
15627
15628 Fix PR gdb/66.
15629 * gdb.base/structs.exp: Replace skip for a29k with skip for
15630 gdb,cannot_call_functions.
15631 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
15632 * gdb.base/callfuncs.exp: Ditto.
15633 * gdb.base/call-rt-st.exp: Ditto.
15634 * gdb.base/call-strs.exp: Ditto.
15635 * gdb.base/callfwmall.exp: Ditto.
15636 * gdb.base/scope.exp: Obsolete xfail a29k.
15637 * gdb.c++/misc.exp: Ditto.
15638 * gdb.c++/cplusfuncs.exp: Ditto.
15639 * gdb.base/ptype.exp: Ditto.
15640 * gdb.base/printcmds.exp: Ditto.
15641 * gdb.base/opaque.exp: Ditto.
15642 * gdb.base/list.exp: Ditto.
15643 * gdb.base/funcargs.exp: Ditto.
15644 * gdb.base/default.exp: Ditto.
15645
15646 2002-01-04 Michael Snyder <msnyder@redhat.com>
15647
15648 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
15649 * gdb.base/maint.exp: Add tests for maint info sections options.
15650
15651 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
15652
15653 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
15654
15655 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
15656
15657 * gdb.asm/arm.inc: New file.
15658 * gdb.asm/asm-source.exp: Add arm targets.
15659 * gdb.asm/configure.in: Ditto.
15660 * gdb.asm/configure: Recreated from configure.in.
15661
15662 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
15663
15664 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
15665 with HP's compiler.
15666 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15667 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15668 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15669 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15670
15671 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
15672 either HP's compilers or GCC.
15673
15674 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
15675 a SIGBUS or SIGSEGV.
15676
15677 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
15678
15679 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
15680 can be compiled with either HP's compiler or GCC.
15681
15682 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
15683 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
15684 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
15685
15686 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
15687 to match current gdb output. Update due to using auto-solib-limit
15688 for limiting instead of overloading auto-solib-add.
15689 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
15690 test program.
15691
15692 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
15693 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
15694 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15695 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15696 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15697 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15698 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
15699 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
15700 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
15701 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
15702 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
15703 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
15704 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
15705
15706 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
15707 a SIGTRAP to the inferior.
15708
15709 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
15710
15711 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
15712 Substitute call to target_link by call to gdb_compile.
15713
15714 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
15715
15716 * gdb.base/break.exp: Fix HP specific search string when testing
15717 backtracing in a called function.
15718
15719 * gdb.base/constvars.exp: Only set lang to C++ if we're
15720 compiling the test with HP's compilers.
15721 * gdb.base/volatile.exp: Similarly.
15722
15723 2001-12-19 Jim Blandy <jimb@redhat.com>
15724
15725 * gdb.base/printcmds.exp: Expect the null character to be printed
15726 as '\0', and the '\013' to be printed as '\v'.
15727 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
15728 * gdb.base/setvar.exp: Same.
15729
15730 2001-12-17 Jim Blandy <jimb@redhat.com>
15731
15732 * gdb.base/completion.exp: Rather than completing very long
15733 filenames, which can make the readline library produce output we
15734 don't recognize, cd to the directory first, and then complete
15735 using nice, short relative paths.
15736
15737 * gdb.base/completion.exp: On some systems, there is, in fact, a
15738 variable named `b' in scope, since GDB treats all static
15739 variables as being in scope. So use `no_var_named_this'
15740 instead of `b'.
15741
15742 * gdb.base/corefile.exp: Recognize the message saying that GDB
15743 can't find the core file's registers as a failure.
15744
15745 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
15746
15747 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
15748 test expect string more specific.
15749
15750 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
15751
15752 * gdb.asm/asm-source.exp: Add support for xstormy16.
15753 * gdb.asm/configure.in: Ditto.
15754 * gdb.asm/configure: Rebuild.
15755 * gdb.asm/xstormy16.inc: New file.
15756
15757 2001-12-10 Fred Fish <fnf@redhat.com>
15758
15759 * gdb.base/maint.exp: Update to match changes in type dumping code.
15760
15761 2001-12-10 Jim Blandy <jimb@redhat.com>
15762
15763 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
15764 matching the entry point symbol's name at the beginning of the
15765 line.
15766
15767 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15768
15769 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
15770 gdb.c++/inherit.exp, gdb.c++/method.exp,
15771 gdb.c++/namespace.exp, gdb.c++/templates.exp,
15772 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
15773 and class layout support.
15774
15775 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
15776
15777 * gdb.c++/classes.exp: Add test for static member function.
15778 * gdb.c++/misc.cc: Add class with static member function.
15779
15780 2001-12-07 Jim Blandy <jimb@redhat.com>
15781
15782 If GDB says it can't find the struct the function returned, report
15783 those tests as `unsupported'.
15784 * gdb.base/call-rt-st.exp (print_struct_call): New function.
15785 Rewrite subsequent tests to use it.
15786
15787 If GDB says it can't find the struct the function returned, report
15788 those tests as `unsupported'.
15789 * gdb.base/structs.exp (call_struct_func): New function.
15790 (do_function_calls): Use call_struct_func to call the functions
15791 returning structs.
15792
15793 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
15794 whether functions are prototyped or not, so we can't possibly pass
15795 arguments to t_float_values2 properly.
15796
15797 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
15798 value of `timeout' for targets other than the mips*tx39-*.
15799
15800 2001-12-06 Michael Snyder <msnyder@redhat.com>
15801
15802 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
15803 and detect whether the start symbol has a leading underscore.
15804
15805 2001-12-04 Jim Blandy <jimb@redhat.com>
15806
15807 * gdb.base/completion.exp: Clarify indentation.
15808
15809 2001-12-03 Jim Blandy <jimb@redhat.com>
15810
15811 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
15812 variables on the S/390, not `.word'.
15813
15814 2001-11-30 Jim Blandy <jimb@redhat.com>
15815
15816 Add assembly-source tests for s390-ibm-linux.
15817 * gdb.asm/s390.inc: New file.
15818 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
15819 the S/390 architecture.
15820 * gdb.asm/configure: Regenerated.
15821
15822 2001-11-30 Michael Snyder <msnyder@redhat.com>
15823
15824 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
15825 next, info source, info sources, info line, global and static
15826 variables, and static functions.
15827 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
15828 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
15829 * gdb.asm/asmsrc1.s: Add a static function and some variables.
15830 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
15831 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
15832 (gdbasm_leave): Restore frame pointer.
15833 (gdbasm_startup): Copy stack set-up from crt0.S.
15834
15835 2001-11-26 Fernando Nasser <fnasser@redhat.com>
15836
15837 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
15838 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
15839 to a local (non-static) variable. Copy tstruct.a to a static buffer
15840 and return a pointer to that buffer.
15841 * gdb.base/callfwmall.c (t_structs_a): Ditto.
15842
15843 2001-11-24 Mark Kettenis <kettenis@gnu.org>
15844
15845 * gdb.asm/configure.in: Fix recognition of ix86 target.
15846 * gdb.asm/configure: Regenerate.
15847
15848 2001-11-21 Michael Snyder <msnyder@redhat.com>
15849
15850 * gdb.asm/sparc.inc: New file.
15851 * gdb.asm/asm-source.exp: Recognize sparc target.
15852 * gdb.asm/configure.in: Recognize sparc target.
15853 * gdb.asm/configure: Regenerate.
15854
15855 2001-11-21 Michael Snyder <msnyder@redhat.com>
15856
15857 * gdb.asm/m32r.inc: New file.
15858 * gdb.asm/asm-source.exp: Recognize m32r target.
15859 * gdb.asm/configure.in: Recognize m32r target.
15860 * gdb.asm/configure: Regenerate.
15861
15862 2001-11-20 Michael Snyder <msnyder@redhat.com>
15863
15864 * gdb.asm/i386.inc: New file.
15865 * gdb.asm/asm-source.exp: Recognize ix86 target.
15866 * gdb.asm/configure.in: Recognize ix86 target.
15867 * gdb.asm/configure: Regenerate.
15868
15869 * gdb.c++/namespace.exp: Fix quotes in output messages.
15870
15871 2001-11-14 Michael Snyder <msnyder@redhat.com>
15872
15873 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
15874 qualifier in a type cast expression, to designate an address
15875 in the instruction space (Harvard architecture).
15876
15877 2001-11-13 Michael Snyder <msnyder@redhat.com>
15878
15879 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
15880 Tests for expressions using 'const' and 'volatile'.
15881
15882 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
15883
15884 * gdb.asm/asm-sources.exp: Allow defining linker flags.
15885
15886 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
15887
15888 * lib/mi-support.exp (mi_run_to_helper): Move comments
15889 outside of gdb_expect.
15890
15891 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
15892
15893 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
15894 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
15895 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
15896 mi0_run_to): New functions.
15897 * gdb.mi/mi-simplerun.exp: Use them.
15898 * gdb.mi/mi0-simplerun.exp: Likewise.
15899 * gdb.mi/mi-var-cmd.exp: Likewise.
15900 * gdb.mi/mi0-var-cmd.exp: Likewise.
15901
15902 2001-11-10 Andrew Cagney <ac131313@redhat.com>
15903
15904 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
15905 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
15906
15907 2001-11-09 Andrew Cagney <ac131313@redhat.com>
15908
15909 * gdb.base/restore.exp: Include $expected value in restored test
15910 message.
15911
15912 2001-11-09 Andrew Cagney <ac131313@redhat.com>
15913
15914 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
15915 implemented.
15916
15917 2001-11-08 Michael Snyder <msnyder@redhat.com>
15918
15919 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
15920 Add pass/fail message for stop at breakpoint in call dummy function.
15921
15922 2001-11-07 Michael Snyder <msnyder@redhat.com>
15923
15924 * gdb.c++/templates.exp (test_template_breakpoints):
15925 If we get an overload menu, but it does not match what
15926 we expect, we still need to issue the "cancel" command.
15927 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
15928 making the whitespace optional. Argument for "new" may be
15929 "unsigned" as well as "unsigned int/long".
15930 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
15931 making the whitespace optional. Also replace "(void) with
15932 "((void|)), making the keyword "void" optional.
15933 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
15934 making the whitespace optional. Also replace "(void) with
15935 "((void|)), making the keyword "void" optional.
15936 * gdb.base/callfuncs.c (t_float_values): This function must
15937 _not_ be prototyped, and the following function (t_float_values2)
15938 must be prototyped (if the compiler supports it), so that GDB
15939 can be tested against both cases. Usually one case involves
15940 promotion of float to double, while the other does not.
15941 * gdb.base/callfwmall.c: Ditto.
15942 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
15943 includes a stack frame for "start".
15944
15945 2001-11-05 Jim Blandy <jimb@redhat.com>
15946
15947 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
15948 pointers are 32 bits long, and that offsets of relocs are always
15949 stored in the data (REL-style), and not in the reloc entry itself
15950 (RELA-style).
15951 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
15952 stabs.
15953
15954 2001-11-01 Michael Snyder <msnyder@redhat.com>
15955
15956 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
15957 and regular expression operators by using quoting.
15958
15959 2001-10-31 Michael Snyder <msnyder@redhat.com>
15960
15961 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
15962 depending on what the symbol table contains.
15963 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
15964 the output of the ptype command. Similarly, accept both "const &"
15965 and "const&".
15966
15967 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
15968
15969 * gdb.base/miscexprs.c (main): Add usage of preprocessor
15970 symbol `STORAGE' to allow to choose the storage class of
15971 the local datastructures.
15972 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
15973 compiler directive.
15974
15975 2001-10-30 Michael Snyder <msnyder@redhat.com>
15976
15977 * gdb.base/jump.exp: Allow it to run for all targets.
15978
15979 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
15980
15981 * gdb.base/call-ar-st.c (print_double_array): Match for loop
15982 with new double_array size.
15983 (main): Change storage class of all local variables to static.
15984 Reduce size of double_array to 9.
15985 * gdb.base/call-ar-st.exp: Increase timeout value.
15986 Change expected output for double array to match new size in
15987 call-ar-st.c.
15988
15989 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
15990
15991 * gdb.base/ending-run.exp: Create identical output when passing
15992 `step to end of run' case. Add regular expression branch satisfying
15993 Stormy16 target.
15994
15995 2001-10-28 Mark Kettenis <kettenis@gnu.org>
15996
15997 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
15998 that we catch the expected failure under Linux/x86.
15999
16000 2001-10-29 Orjan Friberg <orjanf@axis.com>
16001
16002 * gdb.base/setvar.exp: Escape curly braces.
16003 * gdb.stabs/weird.exp: Ditto.
16004
16005 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
16006
16007 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
16008 * gdm.mi/mi0-hack-cli.exp: Likewise.
16009
16010 2001-10-25 Andrew Cagney <ac131313@redhat.com>
16011
16012 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
16013 messages.
16014
16015 2001-10-21 Andrew Cagney <ac131313@redhat.com>
16016
16017 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
16018 checking MI enabled.
16019
16020 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
16021
16022 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
16023
16024 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
16025
16026 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
16027 if gdb child process crashes, just signal an error.
16028
16029 2001-10-02 Jim Blandy <jimb@redhat.com>
16030
16031 * lib/gdb.exp (test_xfail_format): Simplify.
16032
16033 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
16034 front of the variable name `format'. Simplify `if'.
16035
16036 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16037
16038 * gdb.threads/pthreads.exp: Wait for output and delay
16039 before sending ^C.
16040
16041 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
16042
16043 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
16044 some incorrect output instead of timing out.
16045 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
16046
16047 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
16048
16049 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
16050 check to allow additional `int'.
16051
16052 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
16053
16054 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
16055 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
16056
16057 2001-09-27 Michael Snyder <msnyder@redhat.com>
16058
16059 * lib/gdb.exp (test_debug_format): New proc.
16060 (setup_xfail_format): Use new proc test_debug_format.
16061 * gdb.base/constvars.exp (local_compiler_xfail_check): New
16062 proc; use new service proc test_debug_format.
16063 Replace all other "gcc_compiled" tests with this test.
16064 * gdb.base/volatile.exp (local_compiler_xfail_check): New
16065 proc; use new service proc test_debug_format.
16066 Replace all other "gcc_compiled" tests with this test.
16067
16068 2001-09-27 Michael Snyder <msnyder@redhat.com>
16069
16070 * gdb.base/cvexpr.exp: New file.
16071 * gdb.base/cvexpr.c: New file
16072 Test for expressions using const and volatile keywords.
16073
16074 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
16075
16076 * gdb.base/constvars.exp: Check for different orders of keywords
16077 and additional "int" strings in output.
16078
16079 2001-09-22 Andrew Cagney <ac131313@redhat.com>
16080
16081 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
16082 responses from "help maint".
16083
16084 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
16085
16086 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
16087 to localhost:NNN instead of :NNN, in case Xvfb is listening
16088 only on TCP.
16089
16090 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
16091
16092 * gdb.base/recurse.exp: When checking leaving the watchpoint
16093 scope, recognize when gdb is in function's epilogue and pass.
16094
16095 2001-09-18 Keith Seitz <keiths@redhat.com>
16096
16097 * lib/insight-support.exp (_gdbtk_export_target_info): Add
16098 support for running tests against sid targets.
16099 (gdbtk_done): Ditto.
16100
16101 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
16102
16103 * gdb.base/ending-run.c (main): Set stdout buffersize
16104 to the same reasonable value for any target.
16105 * gdb.base/ending-run.exp: Add a regular expression
16106 to make testsuite happy on Sanyo Stormy16 target.
16107
16108 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
16109
16110 * gdb.base/display.c (do_loops): Add float variable `f'.
16111 Increment f in loop.
16112 * gdb.base/display.exp: Increment timeout by 60 seconds.
16113 Change float display test to use variable `f'.
16114
16115 2001-09-17 Jim Blandy <jimb@redhat.com>
16116
16117 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
16118 overflowing the limited breakpoint tables on some ROM monitors
16119 (like the ROM68K).
16120
16121 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
16122
16123 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
16124 the "-ac" (disable access control) flag.
16125
16126 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
16127
16128 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
16129 ints.
16130
16131 2001-08-30 Keith Seitz <keiths@redhat.com>
16132
16133 * lib/gdb.exp: Move all insight-related functionality into
16134 separate file.
16135 * lib/insight-support.exp: New file.
16136
16137 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
16138
16139 * config/sid.exp (sid_start): Never set sid verbosity; disable
16140 expect_background {} that consumed its stdout; tolerate </dev/null.
16141 Attempt to set endianness override in "sid" protocol mode. Cleanup.
16142
16143 2001-08-18 Andrew Cagney <ac131313@redhat.com>
16144
16145 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
16146 CLI jump command to start it.
16147 (mi_run_to_main): Fail immediatly when unexpected output.
16148
16149 2001-08-18 Andrew Cagney <ac131313@redhat.com>
16150
16151 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
16152 beginning of function. Fix PR gdb/191.
16153
16154 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
16155
16156 * config/sid.exp (sid_start): Don't warn if we cannot figure out
16157 what to force sid endianness to.
16158
16159 2001-08-15 Keith Seitz <keiths@redhat.com>
16160
16161 * lib/gdb.exp (gdbtk_start): Don't set environment
16162 variables for TCL_LIBRARY and friends. Insight will
16163 now figure these out for itself.
16164
16165 2001-08-02 Michael Snyder <msnyder@redhat.com>
16166
16167 * gdb.base/completion.exp: Remove the symbol "a64l" from
16168 the expect string; this is target-specific, and not related
16169 to what is being tested.
16170
16171 2001-08-02 Dave Brolley <brolley@redhat.com>
16172
16173 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
16174
16175 2001-07-25 Michael Snyder <msnyder@redhat.com>
16176
16177 * gdb.base/consecutive.exp: New file. Test stepping over
16178 breakpoints on consecutive instructions.
16179 * gdb.base/consecutive.c: New file.
16180
16181 * gdb.base/call-rt-st.exp: Use double-backslash to quote
16182 curly braces in regular expressions.
16183
16184 2001-07-25 Michael Snyder <msnyder@redhat.com>
16185
16186 * gdb.base/ending-run.exp: Accept "Program exited normally" as
16187 legitimate output from stepping out of main.
16188
16189 2001-07-22 Keith Seitz <keiths@redhat.com>
16190
16191 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
16192 the empty string, do not run the tests.
16193
16194 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16195
16196 * gdb.base/long_long.exp: Detect size of pointer. Take into
16197 account 2-byte pointers when testing for p/a results.
16198
16199 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16200
16201 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
16202 and defined to 1K for m68hc11.
16203 (random_data): Reduce table to 1K for embedded platforms (68hc11).
16204 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
16205 (sizeof_random_data): New variable to tell the size of the data table;
16206 don't test past this size; always run to main.
16207
16208 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16209
16210 * gdb.base/return2.exp: return of long long and double fails for
16211 68HC11; don't execute these tests on that platform.
16212 * gdb.base/return.exp: Return of a double fails for 68hc11.
16213
16214 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
16215
16216 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
16217 tests that print a float.
16218 * call-rt-st.exp: Likewise.
16219
16220 2001-07-12 Mark Kettenis <kettenis@gnu.org>
16221
16222 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
16223 running this test on Linux.
16224
16225 2001-06-24 Michael Chastain <chastain@redhat.com>
16226
16227 * gdb.base/arithmet.exp: Remove some tests to make all test names
16228 unique.
16229
16230 2001-07-03 Michael Snyder <msnyder@redhat.com>
16231
16232 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
16233 the output of the ptype command.
16234
16235 2001-07-02 Michael Snyder <msnyder@redhat.com>
16236
16237 * gdb.base/completion.exp: Don't assume that break.c is the only
16238 source file that may contain functions named "marker".
16239 * gdb.base/corefile.exp: Quote the curly braces in regexp.
16240
16241 2001-06-28 Andrew Cagney <ac131313@redhat.com>
16242
16243 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
16244 of files to delete.
16245
16246 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
16247 * gdb.disasm/h8300s.exp: New file.
16248 gdb.disasm/h8300s.s: Likewise.
16249
16250 2001-06-27 Andrew Cagney <ac131313@redhat.com>
16251
16252 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
16253 empty breakpoint tables.
16254
16255 2001-06-25 Andrew Cagney <ac131313@redhat.com>
16256
16257 * lib/mi-support.exp: Update args=... part of stop-reason
16258 patterns. Accept either a list or a tuple.
16259
16260 2001-06-23 Andrew Cagney <ac131313@redhat.com>
16261
16262 * lib/mi-support.exp: Remove local emacs variable defining
16263 change-log-default-name.
16264
16265 2001-06-22 Michael Chastain <chastain@redhat.com>
16266
16267 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
16268 This is operationally compatible with the previous version.
16269
16270 2001-06-13 Jim Blandy <jimb@redhat.com>
16271
16272 * lib/gdb.exp (gdb_test): Doc fix.
16273
16274 2001-06-10 Michael Chastain <chastain@redhat.com>
16275
16276 * gdb.base/exprs.exp: Remove a duplicate test.
16277
16278 2001-06-06 Jim Blandy <jimb@redhat.com>
16279
16280 * gdb.base/return2.exp (main): Use values to test float and double
16281 returns that are not NaN's, to avoid being confused by IEEE
16282 comparison rules.
16283
16284 2001-06-04 Michael Snyder <msnyder@redhat.com>
16285
16286 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
16287 non-zero if control_c fails. Terminate the test on failure,
16288 rather than wait for 12 more tests to time out.
16289
16290 2001-06-06 Jim Blandy <jimb@redhat.com>
16291
16292 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
16293 Don't forget to match the GDB prompt.
16294
16295 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
16296
16297 2001-06-04 Jim Blandy <jimb@redhat.com>
16298
16299 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
16300 command.
16301
16302 2001-05-31 Kevin Buettner <kevinb@redhat.com>
16303
16304 * gdb.base/annota1.exp (info break): Match four or more spaces
16305 after "Address".
16306
16307 2001-05-31 Michael Chastain <chastain@redhat.com>
16308
16309 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
16310 (dm_type_int_star): Likewise.
16311 (dm_type_long_star): Likewise.
16312 (dm_type_void_star): Likewise.
16313
16314 2001-05-29 Kevin Buettner <kevinb@redhat.com>
16315
16316 * gdb.base/completion.exp (INPUTRC): Set this environment variable
16317 to a known value in order to get consistent results regardless
16318 of the setting of INPUTRC or the presence or contents of .inputrc.
16319
16320 2001-05-24 Michael Snyder <msnyder@redhat.com>
16321
16322 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
16323 Don't require that the main thread and the manager thread are the
16324 first in the list.
16325
16326 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
16327 debugging. If test fails, issue an "unsupported" not a "fail".
16328
16329 2001-05-24 Jim Blandy <jimb@redhat.com>
16330
16331 Don't assume that short is shorter than int.
16332 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
16333 assume that shorts are smaller than ints. On a 16-bit machine,
16334 this isn't true.
16335 ("print unsigned char == (~0)"): Add test that verifies that ~0,
16336 an int, is not equal to ~0 stored in an unsigned char. This tests
16337 the same thing that the previous test meant to, but works on
16338 16-bit machines, too.
16339 ("print unsigned char != (~0)"): Same test, complemented.
16340
16341 2001-05-24 Michael Snyder <msnyder@redhat.com>
16342
16343 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
16344 test for (full_coverage == 0). This makes the test run faster,
16345 and prevents dejagnu getting out of step.
16346
16347 2001-05-23 Kevin Buettner <kevinb@redhat.com>
16348
16349 * gdb.base/finish.exp (finish_void): Revise pattern for
16350 stopping on the call statement to not permit stopping at
16351 the start of the instructions comprising the call sequence.
16352
16353 2001-05-19 Michael Chastain <chastain@redhat.com>
16354
16355 * gdb.base/callfuncs.exp: Make all test names unique.
16356 * gdb.base/commands.exp: Make all test names unique.
16357 * gdb.base/condbreak.exp: Make all test names unique.
16358 * gdb.base/dbx.exp: Make all test names unique.
16359 * gdb.base/default.exp: Make all test names unique.
16360 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
16361 and TIMEOUT messages to their corresponding PASS message.
16362 * gdb.base/ending-run.exp: Make all test names unique.
16363 * gdb.base/long_long.exp: Remove duplicate test.
16364
16365 2001-05-21 Kevin Buettner <kevinb@redhat.com>
16366
16367 * gdb.base/finish.exp (finish_void): Allow "finish" command to
16368 stop on the call statement as well as the statement after the
16369 call.
16370
16371 2001-05-21 Michael Snyder <msnyder@redhat.com>
16372
16373 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
16374
16375 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16376
16377 * gdb.base/completion.exp: Revamp test. Make it execute on all
16378 platforms.
16379
16380 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
16381
16382 * config/gdbserver.exp (gdb_load): Handle the case
16383 in which the arguments to gdbserver are given in the
16384 baseboard configuration file.
16385 Also handle the case in which the server needs to do a
16386 load.
16387
16388 2001-05-07 Keith Seitz <keiths@cygnus.com>
16389
16390 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
16391 set up the display for testing.
16392 (gdbtk_start): Convert all paths to paths that tcl will like.
16393 Export target information to environment.
16394 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
16395 necessary.
16396 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
16397 (to_tcl_path): New proc to convert a given pathname into
16398 a path acceptible as an argument to a tcl command.
16399 (_gdbtk_export_target_info): New proc to export target info
16400 into the environment for gdbtk testing.
16401 (gdbtk_done): New proc to signal end-of-test.
16402
16403 2001-05-06 Jim Blandy <jimb@redhat.com>
16404
16405 * restore.c: Make the code of caller0 correspond to its comment.
16406
16407 2001-05-03 Michael Snyder <msnyder@redhat.com>
16408
16409 * config/sid.exp (gdb_target_sid): Check for error messages.
16410 On error or timeout, don't make expect exit (which will terminate
16411 all subsequent tests); instead just make gdb exit.
16412 (gdb_load): Check for error messages. On error or timeout,
16413 return a negative value.
16414
16415 2001-04-24 Jim Blandy <jimb@redhat.com>
16416
16417 * gdb.c++/templates.exp: If we see the prompt for the overload
16418 list, but we haven't recognized any of the longer patterns,
16419 arrange for this test to fail, not hang.
16420
16421 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
16422 variations.
16423
16424 2001-04-22 Michael Chastain <chastain@redhat.com>
16425
16426 * gdb.c++/local.exp: Use the 'runto' library function.
16427 * gdb.c++/namespace.exp: Likewise.
16428 * gdb.c++/overload.exp: Likewise.
16429
16430 2001-03-26 Kevin Buettner <kevinb@redhat.com>
16431
16432 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
16433 * gdb.base/step-line.exp: New file. Test step/next in presence of
16434 #line directives.
16435 * gdb.base/step-line.c: New file. Test program for the above.
16436 * gdb.base/step-line.inp: New file. We pretend that this file has
16437 been transformed by some other tool into step-line.c.
16438
16439 2001-03-21 Jim Blandy <jimb@redhat.com>
16440
16441 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
16442 unmangled operator names.
16443
16444 2001-03-20 Jim Blandy <jimb@redhat.com>
16445
16446 * gdb.threads/linux-dp.exp: Recognize an additional message
16447 generated by GDB when it doesn't understand how to debug threads
16448 on the target system.
16449
16450 2001-03-19 Andrew Cagney <ac131313@redhat.com>
16451
16452 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
16453
16454 2001-03-12 Michael Chastain <chastain@redhat.com>
16455
16456 * gdb.c++/derivation.exp: Use the 'runto' library function.
16457
16458 2001-03-12 Michael Chastain <chastain@redhat.com>
16459
16460 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
16461
16462 2001-02-24 Michael Chastain <chastain@redhat.com>
16463
16464 * gdb.c++/ref-types.exp: Change handwritten code to library
16465 function 'runto'.
16466
16467 2001-03-16 Orjan Friberg <orjanf@axis.com>
16468
16469 * gdb.base/signals.exp: Set count to 0 explicitly.
16470
16471 2001-03-15 Mark Salter <msalter@redhat.com>
16472
16473 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
16474 (gdb_target_monitor): Add check of gdb_target_cmd return value.
16475 (gdb_load): Add support for additional target_info: gdb_download_size
16476 and gdb_load_timeout.
16477
16478 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
16479
16480 * gdb.base/annota1.exp: Move test of isnative to earlier in the
16481 file -- to prevent failing when the compile fails but we have no
16482 intention of running the tests anyway.
16483
16484 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
16485 tests if set.
16486
16487 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
16488 integers.
16489
16490 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
16491 * gdb.c++/namespace.exp: Ditto.
16492
16493 2001-03-07 Orjan Friberg <orjanf@axis.com>
16494
16495 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
16496 * gdb.base/pointers.exp: Relax pattern match of decimals.
16497
16498 2001-03-06 Kevin Buettner <kevinb@redhat.com>
16499
16500 * Makefile.in, config/abug.exp, config/cfdbug.exp,
16501 config/cpu32bug.exp, config/dve.exp, config/est.exp,
16502 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
16503 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
16504 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
16505 config/sh.exp, config/sid.exp, config/slite.exp,
16506 config/sparclet.exp, config/udi.exp, config/unknown.exp,
16507 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
16508 config/vxworks.exp, config/vxworks29k.exp,
16509 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
16510 gdb.base/all-bin.exp, gdb.base/annota1.exp,
16511 gdb.base/arithmet.exp, gdb.base/assign.exp,
16512 gdb.base/async.exp, gdb.base/attach.exp,
16513 gdb.base/bitfields.exp, gdb.base/bitops.exp,
16514 gdb.base/break.exp, gdb.base/call-ar-st.exp,
16515 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
16516 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
16517 gdb.base/commands.exp, gdb.base/completion.exp,
16518 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
16519 gdb.base/constvars.exp, gdb.base/corefile.exp,
16520 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
16521 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
16522 gdb.base/ending-run.exp, gdb.base/environ.exp,
16523 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
16524 gdb.base/finish.exp, gdb.base/foll-exec.exp,
16525 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
16526 gdb.base/funcargs.exp, gdb.base/help.exp,
16527 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
16528 gdb.base/logical.exp, gdb.base/long_long.exp,
16529 gdb.base/maint.exp, gdb.base/mips_pro.exp,
16530 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
16531 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
16532 gdb.base/pointers.exp, gdb.base/printcmds.exp,
16533 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
16534 gdb.base/regs.exp, gdb.base/relational.exp,
16535 gdb.base/remote.exp, gdb.base/reread.exp,
16536 gdb.base/restore.exp, gdb.base/return2.exp,
16537 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
16538 gdb.base/selftest.exp, gdb.base/setshow.exp,
16539 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
16540 gdb.base/sigall.exp, gdb.base/signals.exp,
16541 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
16542 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
16543 gdb.base/step-test.exp, gdb.base/structs.c,
16544 gdb.base/structs.exp, gdb.base/structs2.exp,
16545 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
16546 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
16547 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
16548 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16549 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
16550 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
16551 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
16552 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
16553 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
16554 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
16555 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
16556 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
16557 gdb.fortran/types.exp, gdb.java/jmisc.exp,
16558 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
16559 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
16560 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
16561 gdb.trace/circ.exp, gdb.trace/collection.exp,
16562 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
16563 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
16564 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
16565 gdb.trace/report.exp, gdb.trace/save-trace.exp,
16566 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
16567 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
16568 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
16569 notices.
16570
16571 2001-02-27 Michael Snyder <msnyder@cygnus.com>
16572
16573 * gdb.base/varargs.c (find_max_double): Fix printf format string:
16574 first arg is int not float.
16575
16576 2001-02-22 Michael Snyder <msnyder@cygnus.com>
16577
16578 * gdb.base/reread.exp: Unsupported for non-native targets;
16579 doesn't work for remote debugging.
16580
16581 2001-02-19 Fernando Nasser <fnasser@redhat.com>
16582
16583 From Drew Moseley <dmoseley@redhat.com>
16584 * gdb.base/ending-run.exp: Properly handle the BSP state when
16585 stepping past the end of main.
16586
16587 2001-02-19 John Moore <jmoore@redhat.com>
16588
16589 * gdb.base/commands.exp (infrun_breakpoint_command_test):
16590 Converted HPUX fix for non-expected items following multiple
16591 step commands into general solution for all platforms.
16592
16593 2001-02-18 Michael Chastain <chastain@redhat.com>
16594
16595 * gdb.c++/classes.exp (do_tests): Change runto statements
16596 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16597 statements demangler agnostic.
16598 * gdb.c++/virtfunc.exp (do_tests): Likewise.
16599 (gdb_virtfunc_restart): Likewise.
16600
16601 2001-02-14 Michael Chastain <chastain@redhat.com>
16602
16603 * gdb.c++/inherit.exp (do_tests): Change runto statements
16604 from "runto 'foo(void)'" to "runto 'foo'". This makes the
16605 statements demangler agnostic.
16606
16607 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
16608
16609 * gdb.threads/pthreads.exp: Unify pass/fail messages for
16610 ``continue to bkpt at common_routine in thread 2'' and ``stopped
16611 before calling common_routine 15 times'' tests.
16612
16613 2001-02-11 Michael Chastain <chastain@redhat.com>
16614
16615 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
16616 Helps the test script figure out which demangler is in use.
16617 (dm_type_foo_ref): Ditto.
16618 (dm_type_int_star): Ditto.
16619 (dm_type_long_star): Ditto.
16620 (dm_type_unsigned_int): Ditto.
16621 (dm_type_void): Ditto.
16622 (dm_type_void_star): Ditto.
16623 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
16624 Probe the gdb demangler and set variables to accommodate
16625 formatting differences.
16626 (info_func_regexp): New function. Same as info_func, but
16627 matches against a regexp.
16628 (info_func): Match against a literal string.
16629 (print_addr_2): New function. Match against a literal string,
16630 which can be different from the input to gdb.
16631 (print_addr): Simply call print_addr_2 with the same argument twice.
16632 (test_lookup_operator_functions): Use demangler formatting variables.
16633 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
16634 the tests in the same order as the C++ class declaration.
16635 (test_paddr_operator_functions): Ditto.
16636 (test_paddr_overloaded_functions): Ditto.
16637 (test_paddr_hairy_functions): Use demangler formatting variables.
16638 Add reference to gdb/19 for related tests.
16639 (do_tests): Call probe_demangler.
16640
16641 2001-01-30 Kevin Buettner <kevinb@redhat.com>
16642
16643 * gdb.c++/templates.cc (printf): Remove unused function definition.
16644
16645 2001-01-26 Felix Lee <flee@redhat.com>
16646
16647 * sid.exp (sid_exit): Pass host, not target, to remote_close.
16648
16649 2001-01-25 matthew green <mrg@redhat.com>
16650
16651 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
16652 up sid.
16653 (sid_exit): Call `remote_pop_conn' after GDB is gone.
16654
16655 2001-01-25 matthew green <mrg@redhat.com>
16656
16657 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
16658 Deprecate $sid_spawn_id.
16659 (sid_exit): Remove code necessary only for `spawn.'
16660
16661 2001-01-25 matthew green <mrg@redhat.com>
16662
16663 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
16664
16665 2001-01-28 Michael Chastain <chastain@redhat.com>
16666
16667 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
16668 to call when tests fail. It takes gdb out of the overloaded
16669 function choice menu back to the main prompt, so that the test
16670 program stays synchronized.
16671 (set_bp_overloaded): New proc to collect all the common
16672 code for setting a breakpoint on an overloaded name. Calls
16673 take_gdb_out_of_choice_menu when needed.
16674 (menu_overload1arg): New variable to collect the repeated
16675 instances of the expected menu for an overloaded name. Change
16676 the regular expression to handle changes in g++ type encoding:
16677 "void" can be either "void" or "", and "unsigned int" can be
16678 either "unsigned int" or "unsigned".
16679 (continue_to_bp_overloaded): Change regular expressions to handle
16680 changes in g++ type encoding.
16681 (no proc): Call take_gdb_out_of_choice_menu when needed.
16682 Remove redundant calls to "info break". Accept either "canceled"
16683 or "cancelled". Change regular expressions in "info break"
16684 calls to handle changes in g++ type encoding. Give all tests
16685 unique strings.
16686
16687 2001-01-17 Ben Elliston <bje@redhat.com>
16688
16689 * config/sid.exp: New file.
16690
16691 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
16692
16693 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
16694
16695 2000-12-21 Michael Snyder <msnyder@cygnus.com>
16696
16697 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
16698 Add a RE to accept a non-ascii char if one is ever presented.
16699
16700 2000-12-20 Fernando Nasser <fnasser@redhat.com>
16701
16702 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
16703
16704 2000-12-18 Michael Snyder <msnyder@cygnus.com>
16705
16706 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
16707 in regexp. One '\' does not suffice on Linux.
16708
16709 2000-12-09 Michael Chastain <chastain@redhat.com>
16710
16711 * gdb.base/break.exp (test_clear_command): Use a marker function
16712 rather than 'main' for the test function. Also move this
16713 test to an execution point where the marker function names are
16714 guaranteed to be bound to functions. (Executing tests after a
16715 'finish' from main runs into name conflicts with local names
16716 in __libc_start_main).
16717
16718 2000-12-07 Michael Snyder <msnyder@cygnus.com>
16719
16720 * gdb.base/finish.exp: New test for gdb's "finish" command.
16721 * gdb.base/return2.exp: New test for gdb's "return" command.
16722 * gdb.base/return2.c: New source file for above.
16723
16724 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16725
16726 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
16727 * gdb.base/miscexprs.exp: Ditto.
16728 * gdb.base/pointers.exp: Ditto.
16729 * gdb.c++/derivation.exp: Ditto.
16730 * gdb.c++/local.exp: Ditto.
16731 * gdb.c++/namespace.exp: Ditto.
16732 * gdb.c++/overload.exp: Ditto.
16733 * gdb.c++/ref-types.exp: Ditto.
16734
16735 2000-12-05 Michael Snyder <msnyder@cygnus.com>
16736
16737 * gdb.base/constvars.exp: Test result of "up" command.
16738 * gdb.base/miscexprs.exp: Ditto.
16739 * gdb.base/pointers.exp: Ditto.
16740 * gdb.base/scope.exp: Ditto.
16741 * gdb.c++/derivation.exp: Ditto.
16742 * gdb.c++/local.exp: Ditto.
16743 * gdb.c++/namespace.exp: Ditto.
16744 * gdb.c++/overload.exp: Ditto.
16745 * gdb.c++/ref-types.exp: Ditto.
16746
16747 2000-11-22 Michael Chastain <chastain@redhat.com>
16748
16749 * mips_pro.exp: Accept either "middle -> top -> main" or
16750 "middle -> main" in the backtrace, because gcc can optimize
16751 tail calls to jumps. Remove setup_xfail for the hppa case.
16752 Add a comment with the original warning messages from PR 3016,
16753 which was filed in 1993, to preserve them for posterity.
16754
16755 2000-11-17 Nick Duffek <nsd@redhat.com>
16756
16757 * lib/gdb.exp (gdb_test): Override timeout with board info.
16758
16759 2000-11-17 Nick Duffek <nsd@redhat.com>
16760
16761 * gdb.base/display.exp: Don't kill running stub. Add "again" to
16762 the second kill and detach messages.
16763
16764 2000-11-17 Nick Duffek <nsd@redhat.com>
16765
16766 * configure.in: Add AC_EXEEXT.
16767 * configure: Regenerate.
16768 * Makefile.in (just-check): Export EXEEXT.
16769 * lib/gdb.exp ($EXEEXT): Import from environment.
16770 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
16771 expect "maint dump-me" on Cygwin.
16772 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
16773 $EXEEXT.
16774
16775 2000-11-17 Nick Duffek <nsd@redhat.com>
16776
16777 * gdb.base/break.exp: Test backtrace and finish from called
16778 function on all platforms, not just HP-UX.
16779
16780 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16781
16782 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
16783 code from gdb_target_monitor, so it can be used independantly
16784 for gdbserver. Also comment out an unnecessary PUTS.
16785
16786 2000-11-03 Michael Snyder <msnyder@cygnus.com>
16787
16788 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
16789 * gdb.base/corefile.exp: Expect the message "Program is being
16790 debugged already" when we send the "corefile" command, since
16791 the preceeding gdb_load may have connected gdb to a remote target.
16792 * gdb.base/display.exp: Disable hardware watchpoints if new
16793 board info variable "no_hardware_watchpoints" is true.
16794 Replace single-letter commands with more readable ones.
16795 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
16796 if new board info variable "no_hardware_watchpoints" is true.
16797 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
16798 to see if stdio (printf) testing is possible.
16799 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
16800 board info variable "no_hardware_watchpoints" is true. Use new
16801 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
16802
16803 2000-11-13 Fernando Nasser <fnasser@redhat.com>
16804
16805 From Orjan Friberg <orjanf@axis.com>:
16806 * gdb.base/printcmds.exp: Escape curly braces followed by a number
16807 in array print pattern match.
16808
16809 2000-11-09 Fernando Nasser <fnasser@redhat.com>
16810
16811 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
16812 spelling "cancelled" to U.S. spelling "canceled" to match changes
16813 made to gdb.
16814 * gdb.c++/ovldbreak.exp: Ditto.
16815
16816 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16817
16818 * gdb.base/callfuncs.c (main): Moved to end of file, call
16819 t_double_values to initialize the FPU before inferior calls are made.
16820 * gdb.base/callfuncs.exp: Test for register preservation after calling
16821 inferior functions. Add tests for continuining, finishing and
16822 returning from a stop in a call dummy.
16823
16824 2000-10-24 Michael Snyder <msnyder@cygnus.com>
16825
16826 * gdb.base/commands.exp: Break up long lines, and re-indent.
16827
16828 2000-10-19 Michael Snyder <msnyder@cygnus.com>
16829
16830 * config/gdbserver.exp: Rewritten from the ground up, to make it
16831 compatible with the current dejagnu tree, and to make it work with
16832 the new "gdbserver" in libremote.
16833
16834 2000-10-16 Michael Snyder <msnyder@cygnus.com>
16835
16836 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
16837 * gdb.base/varargs.exp: Skip entire test if no printf support.
16838 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
16839 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
16840
16841 2000-10-13 Michael Snyder <msnyder@cygnus.com>
16842
16843 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
16844 no floating point support.
16845 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
16846 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
16847 * gdb.base/call-rt-st.exp: Ditto.
16848 * gdb.base/call-strs.exp: Ditto.
16849
16850 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
16851
16852 * gdb.base/sizeof.c: include <stdio.h>.
16853
16854 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
16855 'finish', otherwise uncaptured gdb_prompt would potentially
16856 throw remaining test points out of sync.
16857
16858 2000-07-26 Scott Bambrough <scottb@netwinder.org>
16859
16860 * gdb.base/recurse.exp: Run tests for all targets.
16861 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
16862 gnu-oldld case on ARM.
16863 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
16864 for ARM targets.
16865
16866 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
16867
16868 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
16869 * gdb.java/configure: Rebuild.
16870
16871 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
16872
16873 * gdb.java/jv-exp.exp: New file.
16874
16875 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
16876
16877 * configure: Rebuilt.
16878 * configure.in (configdirs): Add gdb.java.
16879 * gdb.java/jmisc.java: New file.
16880 * gdb.java/jmisc.exp: New file.
16881 * gdb.java/Makefile.in: New file.
16882 * gdb.java/configure: Rebuilt.
16883 * gdb.java/configure.in: New file.
16884 * lib/java.exp: New file.
16885
16886 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
16887
16888 * gdb.base/exprs.exp: Test casts to a pointer including over and
16889 underflow.
16890
16891 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
16892
16893 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
16894 and the compilers sizes.
16895
16896 2000-07-09 Nick Duffek <nsd@redhat.com>
16897
16898 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
16899 (use_methods): New function.
16900 (main): Call use_methods().
16901 * gdb.c++/classes.exp (test_method_param_class): New procedure.
16902 (do_tests): Call test_method_param_class.
16903
16904 2000-07-09 Nick Duffek <nsd@redhat.com>
16905
16906 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
16907 spelling.
16908 (test_enums): New procedure. Move enum tests from end of script
16909 to here. Set breakpoint on function name instead of line number.
16910 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
16911 (enums2): New marker function.
16912 (enums1): New function.
16913 (main): Call enums1(). Move enum tests to enums1().
16914
16915 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
16916
16917 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
16918 compile/link program. Update line numbers.
16919 * gdb.asm/d10v.inc: Define ``startup''.
16920 * gdb.asm/asmsrc1.s: Add definition of _start.
16921
16922 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
16923
16924 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
16925
16926 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16927
16928 * gdb.base/maint.exp: Add 'maint print architecture' item to output
16929 of 'help maint print' command.
16930
16931 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
16932
16933 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
16934 they use gdb_expect_list.
16935
16936 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
16937
16938 * gdb.base/commands.exp: Use ``set remote
16939 memory-read-packet-size'' instead of ``set endian big'' to test
16940 long commands.
16941
16942 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
16943
16944 * gdb.c++/templates.exp (do_tests): Make all of these work under
16945 g++, and stop skipping them.
16946
16947 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
16948 work under g++.
16949
16950 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
16951 initialization.
16952
16953 2000-06-02 Michael Snyder <msnyder@cygnus.com>
16954
16955 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
16956 the regular expression: accept an (almost) arbitrary sequence of
16957 "frames-invalid" and "breakpoints-invalid" messages both before
16958 and after the "starting" message.
16959
16960 2000-06-02 Michael Snyder <msnyder@cygnus.com>
16961
16962 * gdb.c++/local.exp: This test has never been known to work with g++.
16963
16964 2000-05-18 Michael Snyder <msnyder@cygnus.com>
16965
16966 * gdb.base/annota1.exp (annotate-signal-handler-caller):
16967 Relax the regular expression a little, make it pass on Solaris 8.
16968
16969 2000-05-12 Kevin Buettner <kevinb@redhat.com>
16970
16971 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
16972 a call, do not require that gdb stop on the line after the call.
16973 Instead, it is permissible for gdb to stop on the line of the
16974 call itself.
16975
16976 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
16977
16978 * gdb.base/break.exp (bp on small function, optimized file):
16979 Add a second pass pattern. The behavior differs here between stabs
16980 and dwarf for one-line functions. Stabs preserves two line symbols
16981 (one before the prologue and one after) with the same line number,
16982 but dwarf regards these as duplicates and discards one of them.
16983 Therefore the address after the prologue (where the breakpoint is)
16984 has no exactly matching line symbol, and GDB reports the breakpoint
16985 as if it were in the middle of a line rather than at the beginning.
16986
16987 2000-05-08 Michael Snyder <msnyder@cygnus.com>
16988
16989 * gdb.base/interrupt.exp: Make "pass" message say "send"
16990 rather than "send_gdb" (for consistancy).
16991
16992 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
16993
16994 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
16995 * gdb.c++/templates.cc: Properly check for GCC version number.
16996 * lib/compiler.cc: Likewise
16997
16998 2000-04-28 Michael Snyder <msnyder@cygnus.com>
16999
17000 * gdb.base/break.exp: When compiled with -O2 optimization,
17001 gdb may not stop at the first line of main, due to code motion.
17002
17003 2000-04-26 Michael Snyder <msnyder@cygnus.com>
17004
17005 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
17006 This test depends on parsing the printf output from the target.
17007 Since the sparclet stub doesn't do stdio, this will never work.
17008 * gdb.base/call-rt-st.exp: ditto.
17009 * gdb.base/call-strs: ditto.
17010
17011 2000-04-24 Michael Snyder <msnyder@cygnus.com>
17012
17013 * gdb.base/miscexprs.exp: make sizeof long array test portable.
17014
17015 * gdb.base/ending-run.exp: After connecting to a remote target,
17016 but before running, the target will appear to be in a random
17017 location. Specify both a file and a line for breakpoints.
17018 Also, the function that calls main may be called 'init'
17019 rather than 'start'.
17020
17021 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17022
17023 * gdb.base/help.exp: Update output for add-symbol-file command.
17024
17025 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
17026
17027 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17028 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
17029
17030 2000-04-07 J.T. Conklin <jtc@redback.com>
17031
17032 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
17033
17034 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
17035
17036 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
17037
17038 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
17039 values that can be represented exactly.
17040 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
17041 above change, and to not check against the directory part of the source
17042 file name.
17043 (step into print_long_arg_list): Likewise.
17044 (print print_small_structs from print_long_arg_list): Likewise.
17045 (print print_long_arg_list): Likewise.
17046
17047 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17048
17049 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
17050
17051 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
17052
17053 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
17054
17055 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
17056
17057 * gdb.base/commands.exp (deprecated_command_test): Add test for
17058 deprecate with no arguments.
17059
17060 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
17061
17062 * gdb.base/break.exp: Add new test for setting breakpoints on
17063 optimized code so we can test breakpoints work even when function
17064 prologues may be optimized away
17065
17066 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
17067
17068 From David Whedon <dwhedon@gordian.com>
17069 * gdb.base/commands.exp : Added command deprecator tests.
17070
17071 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
17072
17073 * gdb.base/help.exp: Added test for new apropos command.
17074
17075 2000-03-21 Kevin Buettner <kevinb@redhat.com>
17076
17077 * gdb.base/pointers.c (usevar): New function.
17078 (main): Make sure that global variables v_int_pointer2, rptr,
17079 and y are all referenced someplace in the program by calling
17080 usevar() on them. [Some linkers delete symbols which are
17081 never referenced. The space remains, but there's no way to
17082 get a (symbolic) handle on the variable from the debugger.]
17083
17084 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17085
17086 * gdb.base/printcmds.c: Add typedeffed arrays.
17087
17088 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
17089 procedure to test arrays that are typedef'd.
17090
17091 2000-03-13 James Ingham <jingham@leda.cygnus.com>
17092
17093 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
17094 the library directories.
17095
17096 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
17097
17098 * configure.in (configdirs): Add sub directory gdb.mi.
17099 * configure: Re-generate.
17100
17101 * gdb.mi: New directory.
17102
17103 2000-02-25 Scott Bambrough <scottb@netwinder.org>
17104
17105 * gdb.base/long_long.exp: Correct test suite failure when printing
17106 a long long value as a double on ARM platforms.
17107
17108 2000-02-16 Jim Blandy <jimb@redhat.com>
17109
17110 * gdb.base/break.exp ("breakpoint line number"): Make sure the
17111 default source file is set properly before running this test.
17112
17113 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17114
17115 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
17116 gdbtk/library directory, not in gdbtcl2.
17117
17118 2000-02-04 Jim Blandy <jimb@redhat.com>
17119
17120 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
17121 backslash from regexp pattern.
17122
17123 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
17124 procedure. Use it to run all the "continue to bp overloaded"
17125 tests. Note that this changes the names of the tests slightly.
17126 If the breakpoint hit message includes a hex PC value, because
17127 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
17128 from the real source code, still consider that a pass.
17129
17130 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
17131 XFAIL here if the breakpoint message contains a hex address. Note
17132 similar change on 1999-11-02.
17133
17134 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
17135
17136 * gdb.base/ptype.exp: Establish a default source file before
17137 calling get_debug_format.
17138
17139 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
17140
17141 * gdb.base/watchpoint.exp: Remove duplication of test messages.
17142
17143 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17144
17145 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
17146 of successive stepi commands -- while in the prologue we should see
17147 the function entry bracket.
17148
17149 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
17150
17151 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
17152 reach __change_mode() when stepping through the end of main().
17153
17154 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
17155
17156 * gdb.base/default.exp: Fix expected pattern.
17157 * gdb.base/help.exp: Same.
17158
17159 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17160
17161 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
17162 Don't use xfail's because that affects only the following test.
17163
17164 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
17165 solaris or linux.
17166
17167 * gdb.base/selftest.exp: Update to reflect changes to main.c.
17168
17169 2000-01-07 Michael Snyder <msnyder@cygnus.com>
17170
17171 * gdb.base/display.exp: Some yacc parsers like to say
17172 "A syntax error" rather than "A parse error". Accept both.
17173
17174 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
17175
17176 * gdb.base/default.exp: Remove OS dependent string from "target
17177 remote" test.
17178 * gdb.base/help.exp: Same for "help target remote" test.
17179
17180 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17181
17182 From Jim Kingdon <kingdon@redhat.com>:
17183
17184 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
17185 prompt (cleanup rather than necessity, but still might keep output
17186 from spilling to next test).
17187
17188 2000-01-02 Fred Fish <fnf@cygnus.com>
17189
17190 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
17191 AIX, which defines them in <sys/types.h>.
17192
17193 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
17194
17195 * gdb.base/default.exp: Match arm* etc instead of arm in "info
17196 float" test.
17197
17198 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
17199
17200 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
17201
17202 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
17203 outermost frame disallowed".
17204
17205 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
17206
17207 * gdb.base/setvar.exp: New tests for setting the value of a struct
17208 with a constant list.
17209
17210 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17211
17212 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
17213 require the user to type a cast before setting the value of a struct.
17214
17215 1999-12-06 Jim Blandy <jimb@cygnus.com>
17216
17217 * gdb.base/default.exp: Expect the new 'info float' command on
17218 all i386 platforms.
17219
17220 * gdb.threads/linux-dp.exp: Expand our ability to recognize
17221 LinuxThreads libraries that don't support debugging.
17222
17223 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17224
17225 * gdb.base/remote.c: Fill the buffer with truely random data.
17226 Change the buffer type to ``unsigned char'' to simplify size
17227 arithmetic.
17228
17229 * gdb.base/remote.exp: Reduce download numbers by one. Typical
17230 stub only handles 400-1 byte packets. Verify that the download
17231 worked.
17232
17233 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
17234
17235 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
17236 tests, using UNRESOLVED for the untested cases. Also, does not wait
17237 for a timeout if the prompt was received before a recognizable pattern.
17238
17239 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
17240
17241 * lib/gdb.exp (gdb_expect_list): Fix spelling.
17242
17243 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17244
17245 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
17246 watchpoints.
17247
17248 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
17249
17250 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
17251
17252 * gdb.c++/local.exp: Be more flexible in recognizing local class
17253 name mangling. Don't allow horribly truncated method names.
17254 * gdb.c++/derivation.exp: Expect protected inheritance.
17255 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
17256 * gdb.c++/virtfunc.exp: Likewise.
17257 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
17258 when printing a nested enum.
17259
17260 1999-11-22 Jim Blandy <jimb@cygnus.com>
17261
17262 * gdb.base/step-test.exp: Properly await GDB's response to setting
17263 a breakpoint on the call to large_struct_by_value.
17264
17265 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
17266 just because we have debug info for the `start' function.
17267
17268 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
17269
17270 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
17271 "Unknown signal" messages, which indicate (on LinuxThreads) that
17272 GDB doesn't know how to debug threads on this system. This is
17273 better than hanging while philosopher 0 dumps chatter into gdb.log.
17274
17275 1999-11-18 Tom Tromey <tromey@cygnus.com>
17276
17277 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
17278
17279 1999-11-18 Fred Fish <fnf@cygnus.com>
17280
17281 * gdb.base/coremaker2.c: Add sample program for generating
17282 cores that is more self contained than coremaker.c. Eventually
17283 I'll add more code to this and tie it into the testsuite.
17284
17285 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
17286
17287 * gdb.base/dollar.exp: Remove, now in gdb.hp.
17288
17289 1999-11-10 Jimmy Guo <guo@cup.hp.com>
17290
17291 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
17292 from $srcdir/lib/.
17293 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
17294 and gdb.c++/.
17295
17296 * gdb.c++/derivation.exp: remove redundant get compiler info code.
17297
17298 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
17299 'continue with watch' test point.
17300
17301 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
17302
17303 Merged from p2linux-990323-branch:
17304
17305 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
17306
17307 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
17308
17309 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
17310 {limit,fixed}''. Test ``set download-write-size''.
17311
17312 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
17313
17314 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
17315 gdb_expect_list.
17316
17317 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
17318
17319 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
17320
17321 1999-11-03 Mark Salter <msalter@cygnus.com>
17322
17323 * gdb.base/break.exp: Fix "stub continue" pattern.
17324
17325 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
17326
17327 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
17328
17329 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
17330
17331 * gdb.base/display.exp ("finish"): Add timeout clause.
17332
17333 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
17334 plain prompt clause, so this doesn't have to time out in order to
17335 fail.
17336
17337 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
17338 breakpoint hit messages include an address.
17339
17340 * gdb.base/display.exp: Don't forget to escape parens in regular
17341 expressions. Unix regexp notatation sucks.
17342
17343 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17344
17345 * gdb.base/annota1.exp: Test for annotate-signalled: change output
17346 order for 'signalled' message.
17347
17348 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
17349
17350 From Jimmy Guo <guo@cup.hp.com>:
17351 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
17352 * gdb.base/annota1.c: Add code for tests to work with.
17353
17354 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
17355
17356 * gdb.base/remote.exp: New test for remote downloading settings.
17357 * gdb.base/remote.c: New file with large .data.
17358
17359 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
17360
17361 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
17362 for LinuxThreads support, merged from the Code Fusion branch.
17363
17364 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
17365
17366 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
17367 containing exp_continue into a while within an expect. Don't
17368 attempt a start more than three times. Check return value from
17369 gdb_load.
17370
17371 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
17372
17373 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
17374 a pass case.
17375
17376 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
17377
17378 * gdb.base/break.c (main): Added a statement that we can step
17379 off of.
17380 * gdb.base/break.exp: Added tests for setting a breakpoint
17381 at an offset and stepping onto a breakpoint.
17382
17383 1999-10-01 Fred Fish <fnf@cygnus.com>
17384
17385 * gdb.base/help.exp (help add-symbol-file): Update to match current
17386 gdb output.
17387
17388 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
17389
17390 * gdb.base/break.exp: Code locations are in hex, don't forget!
17391 (For HP-UX.)
17392
17393 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
17394
17395 * condbreak.exp: Use break.c as test program.
17396 * condbreak.c: Remove, redundant with break.c.
17397
17398 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
17399
17400 * config/monitor.exp (gdb_target_monitor): Disable X- and
17401 Z-packets if the target needs it.
17402
17403 1999-09-13 James Ingham <jingham@leda.cygnus.com>
17404
17405 * gdb.c++/overload.exp: Added tests for listing overloaded
17406 functions with function pointers in the arg, explicitly calling
17407 out the version you want.
17408
17409 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
17410
17411 * long_long.exp: Add variations of test cases that work for
17412 targets with 16-bit ints and 32-bit doubles.
17413
17414 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
17415
17416 * break.c (main): Compare a possibly-uninitialized argc with an
17417 unlikely value that fits in 16 bits.
17418
17419 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
17420
17421 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
17422 0xfeeb, don't want negative numbers if ints are 16 bits.
17423
17424 * lib/gdb.exp (skip_cplus_tests): New proc.
17425 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
17426 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
17427 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
17428 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
17429 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
17430 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
17431 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
17432 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
17433
17434 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
17435
17436 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
17437
17438 * gdb.base/corefile.exp (up): Allow a parameter to appear
17439 in the frame that we're going up to.
17440
17441 From Jim Blandy <jimb@cygnus.com>:
17442
17443 * gdb.base/default.exp (info float): Expect some output now.
17444
17445 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
17446 returning floating-point values to fail on the x86.
17447 * gdb.base/callfwmall.exp (do_function_calls): Same.
17448
17449 * gdb.base/list.exp (test_listsize): Correct expectations for
17450 listing line 1 with listsize 2. Also, listing a single line
17451 works now, as does listing three lines. [Kevin's note: There
17452 were a number of other cases fixed too where the expectations
17453 differed...]
17454
17455 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
17456
17457 * gdb.base/selftest.exp: Add case for when version prints as
17458 constant string instead of char pointer.
17459
17460 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
17461
17462 * gdb.base/ending-run.exp: Add Solaris case for what happens when
17463 stepping out of main.
17464
17465 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
17466 G++ used.
17467
17468 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
17469 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
17470
17471 * gdb.c++/ovldbreak.exp: Update match string in test that
17472 includes a warning of multiple breakpoints.
17473
17474 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
17475
17476 * gdb.base/display.exp: Improve precision of step-after-finish
17477 added yesterday.
17478
17479 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
17480 test.
17481
17482 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
17483 configs when using G++, not just hppa*.
17484
17485 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17486
17487 * gdb.base/async.c: New file.
17488 * gdb.base/async.exp: New file.
17489
17490 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
17491
17492 * gdb.base/break.exp: Tweak PA specific tests to properly handle
17493 PA64.
17494
17495 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
17496
17497 * gdb.base/display.exp: "finish" can leave us mid-line on many
17498 targets, deal with it. Add a small constant to main, instead of
17499 1000 since main+1000 may not be a valid address in the target.
17500
17501 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
17502 on hpux11.
17503
17504 * gdb.base/attach.exp: Handle another hpux11 error message variant
17505 when attaching to a process that does not exist.
17506
17507 1999-08-19 J.T. Conklin <jtc@redback.com>
17508
17509 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
17510 characters in 'continue to 1241' test.
17511
17512 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
17513
17514 * gdb.base/call-ar-st.exp: Add a shorter match case for the
17515 stop in print_long_arg_list, define and use a whitespace
17516 variable in print_small_structs test, add an XFAIL for Solaris.
17517 * gdb.base/dbx.exp: XFAIL func commands until somebody is
17518 interested enough to fix.
17519
17520 1999-08-13 Keith Seitz <keiths@cygnus.com>
17521
17522 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
17523 (dbx_gdb_load): Remove. Use gdb_load instead, since that
17524 proc knows about targets other than the natives.
17525 (test_assign): Use "gdb_run_cmd" to "run" the target.
17526 Check that we've actually hit the breakpoint at main.
17527 When we attempt to assign a value to a local variable, check
17528 that the variable is in the current scope, i.e., don't use
17529 a test with an empty result.
17530
17531 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
17532
17533 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
17534 command.
17535
17536 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
17537
17538 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17539 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
17540 gdb.compat, gdb.threads-hp.
17541 gdb.hp/configure, gdb.hp/configure.in: New files.
17542 gdb.hp/Makefile.in: Recurse into new subdirs.
17543 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
17544 gdb.hp/gdb.objdbg: New directory, tests for debugging info
17545 in object files.
17546 gdb.hp/tools: New directory, aux tools for HP-specific tests.
17547
17548 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
17549
17550 * gdb.base/display.exp: Help expect by putting a newline in the
17551 funky printf, remove a bogus p/a test.
17552
17553 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17554
17555 * gdb.base/display.exp: Make sure that when we say 'run', we are
17556 connected to the target. This is necessary when running not
17557 natively.
17558
17559 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
17560
17561 * gdb.base/step-test.exp: Removed some extraneous messages.
17562
17563 * gdb.base/long_long.exp: Don't run memory examination tests
17564 on little-endian targets (they will need a different set of
17565 results to match).
17566
17567 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
17568
17569 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
17570 until somebody decides to fix GDB.
17571
17572 * gdb.base/long_long.c: Stop compiler complaint by specifying long
17573 constant as "ULL".
17574 * gdb.base/long_long.exp: Loosen x/c test, add partial result
17575 matches for a couple x/2 commands.
17576
17577 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
17578
17579 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
17580 by merging in ref-types2 tests.
17581 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
17582
17583 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17584 * gdb.c++/Makefile.in: Add standard actions.
17585 (EXECUTABLES): Rename from PROGS, update list.
17586 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
17587 from gdb.hp.
17588 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
17589 foo and bar locals.
17590 * gdb.c++/anon-union.exp: Fix tests to match.
17591 * gdb.c++/classes.exp: Run if HP compiler used, add extra
17592 expect matches to handle output variations.
17593 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
17594 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
17595 output, add HP alternatives for new and delete prints.
17596 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
17597 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
17598 * gdb.c++/demangle.exp: Use $style when reporting failure.
17599 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
17600 * gdb.c++/inherit.exp: Run if HP compiler used, add some
17601 match alternatives.
17602 * gdb.c++/local.exp: Add match alternatives or xfails for HP
17603 compilers.
17604 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
17605 * gdb.c++/method.exp: Add match alternatives.
17606 * gdb.c++/misc.cc: Add bool types.
17607 * gdb.c++/misc.exp: Add tests for bool types.
17608 * gdb.c++/overload.exp: Add xfails.
17609 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
17610 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
17611 add some more template parameter tests (only for HP currently).
17612 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
17613 * gdb.c++/virtfunc.cc: Add return type and value for main.
17614 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
17615 match alternatives.
17616
17617 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17618
17619 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
17620
17621 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
17622
17623 * gdb.base/signals.exp: Don't expect getting a backtrace from
17624 within a signal handler to fail on Linux.
17625
17626 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
17627
17628 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17629 * lib/gdb.exp: Remove some gratuitious semicolons.
17630 (delete_breakpoints): Increase timeout.
17631 (gdb_expect): Add -notransfer option.
17632 (gdb_test): Use -notransfer option.
17633 (get_compiler_info): Add f77 case.
17634 (get_compiler): New proc, split out from gdb_preprocess, add f77
17635 case.
17636 (gdb_preprocess): Call get_compiler.
17637
17638 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
17639 * gdb.base/attach.exp, gdb.base/display.exp,
17640 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
17641 gdb.base/long_long.exp, gdb.base/printcmds.exp,
17642 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
17643 third arg to gdb_test.
17644 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
17645 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
17646 HP-UX xfails, add others.
17647 * gdb.base/completion.exp: Reflect name change of self-test.
17648 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
17649 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
17650 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
17651 HP failure number.
17652 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
17653 useless HP-UX 10.30 references.
17654 * gdb.base/maint.exp: Loosen matches.
17655 * gdb.base/pointers.c (main): Declare more_code.
17656 * gdb.base/pointers.exp: Match on output of a `next'.
17657 * gdb.base/structs.c: Add prototypes.
17658 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
17659 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
17660
17661 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17662
17663 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
17664 command.
17665
17666 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17667
17668 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
17669 Fix run to main failures. Watchpoint can be hardware watchpoint.
17670
17671 * gdb.base/annota1.exp: Clean up some more, in case printf has
17672 debug info. Deal with lack of signal hanlder info in stack.
17673
17674 From Jim Kingdon <kingdon@redhat.com>:
17675 * gdb.base/annota1.exp: If printf has debug info, deal with it.
17676
17677 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
17678
17679 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
17680 gdb.base/foll-vfork.exp: Don't run for crosses.
17681
17682 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17683
17684 * gdb.base/configure.in: Check for gdbvars.exp instead of
17685 a1-selftest.exp.
17686 * gdb.base/configure: Re-generate.
17687
17688 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
17689
17690 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
17691 in trying to run first and name is too long.
17692
17693 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
17694 pointers2.c and pointers2.exp, respectively.
17695 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
17696 doschk happier.
17697
17698 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
17699
17700 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
17701 callfuncs2.c and callfuncs2.exp.
17702
17703 * gdb.base/list.exp: Remove mistaken xfails.
17704 * gdb.base/list0.h: Add optional prototypes.
17705
17706 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
17707
17708 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
17709 calling malloc.
17710 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
17711 * ptype.exp: Move test for get_debug_format to before its first
17712 use.
17713
17714 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17715
17716 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
17717 * gdb.base/annota2.cc, annota2.exp: Move from here.
17718 * gdb.c++/annota2.cc, annota2.exp: To here.
17719 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
17720
17721 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
17722
17723 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
17724 a consistent format.
17725
17726 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
17727
17728 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17729 * lib/gdb.exp (get_compiler_info): Add detection for assorted
17730 HP compilers, also set the globals $true and $false.
17731
17732 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
17733 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
17734 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
17735 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
17736 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
17737 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
17738 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
17739 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
17740 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
17741 whatis.c} Add C++ compatible function definitions and return
17742 types, add includes for library functions.
17743 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
17744 * gdb.base/step-test.c (myglob): Rename from glob.
17745 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
17746 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
17747 files, move here from gdb.hp.
17748 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
17749 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
17750 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
17751 Adjust line numbers in regexps.
17752
17753 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
17754 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
17755 instead of 0/1.
17756
17757 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
17758 foll-vfork.exp: New files, move here from gdb.hp.
17759 * gdb.base/page.exp: New file, test of pagination command.
17760
17761 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
17762 recursion test.
17763 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
17764
17765 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
17766 gdb.base/solib.exp: Fix compiler invocation process.
17767
17768 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
17769 HP-UX 11, turn off overload resolution explicitly.
17770 * gdb.base/commands.exp: Set argument list explicitly, add
17771 watchpoint test.
17772 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
17773 them work.
17774 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
17775 expressions properly.
17776 * gdb.base/corefile.exp: Loosen the match slightly.
17777 * gdb.base/default.exp: Allow "Error accessing memory" message
17778 also.
17779 * gdb.base/display.exp: Skip over x/0 j if PA64.
17780 * gdb.base/funcargs.exp: Add xfails for HP-UX.
17781 * gdb.base/interrupt.exp: Ditto.
17782 * gdb.base/langs.exp: Add symbolic matches governed by compiler
17783 in use.
17784 * gdb.base/list.exp: Add xfails for HP-UX.
17785 * gdb.base/long_long.exp: Refine some of the numeric matches.
17786 * gdb.base/mips_pro.exp: Xfail on HP-UX.
17787 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
17788 * gdb.base/nodebug.exp: Succeed on more varieties of output.
17789 * gdb.base/opaque.exp: Remove some HP-UX xfails.
17790 * gdb.base/ptype.exp: Succeed on more varieties of output.
17791 * gdb.base/scope.exp: Add xfails for HP-UX.
17792 * gdb.base/sect-cmd.exp: Add more cases.
17793 * gdb.base/setvar.exp: Add xfails for HP-UX.
17794 * gdb.base/shlib-call.exp: Loosen some matches slightly.
17795 * gdb.base/signals.exp: Match on void symbolically.
17796 * gdb.base/step-test.exp: Add case for PA64.
17797 * gdb.base/term.exp: Add exit and restart.
17798 * gdb.base/twice.exp: Clean up after self.
17799 * gdb.base/varargs.exp: Disable overload resolution explicitly.
17800 * gdb.base/whatis.exp: Allow more ways to pass tests.
17801
17802 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
17803 no longer useful.
17804
17805 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
17806
17807 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
17808 list of patterns.
17809 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
17810 print_double_array(double_array)", "continuing to breakpoint
17811 1018", "print print_double_array(array_d)" and "continuing to
17812 1034" tests.
17813
17814 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
17815
17816 * Makefile.in: Add empty html and install-html targets.
17817
17818 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
17819
17820 * config/mt-*: Remove, these haven't been used since 1996.
17821
17822 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
17823
17824 * gdb.base/call-strs.c, gdb.base/ending-run.c,
17825 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
17826 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
17827
17828 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
17829
17830 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
17831 simpler match case for the ptype of the big class.
17832
17833 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17834
17835 * gdb.exp: Fix test for gdb_prompt existence.
17836
17837 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17838
17839 * gdb.exp (gdb_test): Add fail after calls to perror.
17840
17841 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17842
17843 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
17844
17845 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17846
17847 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
17848
17849 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
17850
17851 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
17852 malloc() is linked in.
17853
17854 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17855
17856 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
17857 step at end.
17858
17859 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
17860
17861 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
17862
17863 * gdb.java/jv-print.exp: New file. (Our first Java test!)
17864
17865 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
17866
17867 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
17868 * gdb.base/mips_pro.exp: Likewise.
17869
17870 1999-06-02 Keith Seitz <keiths@cygnus.com>
17871
17872 * gdb.c++/templates.cc: Change all "new" operators to throw
17873 an exception.
17874 * gdb.c++/cplusfuncs.cc: Likewise.
17875
17876 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
17877
17878 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
17879
17880 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
17881 * gdb.base/ending-run.exp: When stepping out of main, accept a
17882 step into an arbitrary assembler file.
17883
17884 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17885
17886 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
17887 "breakpoint-invalid" to be printed.
17888 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
17889 number of "frames-invalid" and "breakpoint-invalid" to be printed.
17890 * gdb.base/annota2.cc: Initialize a.x to 0.
17891
17892 1999-05-17 Keith Seitz <keiths@cygnus.com>
17893
17894 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
17895 when "skip_float_tests" set.
17896 Ditto for "print print_double_array(array_d)", "print print_small_structs",
17897 "print print_ten_doubles", and "step into print_long_arg_list".
17898 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
17899 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
17900 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
17901 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
17902 "skip_float_tests" is set.
17903 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
17904 when "skip_float_tests" set.
17905
17906 1999-05-06 Keith Seitz <keiths@cygnus.com>
17907
17908 * gdb.base/annota2.cc: Include stdio.h.
17909
17910 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
17911
17912 * gdb.base/crossload.exp: Remove, this has been disabled ever
17913 since BFD stopped including all targets, and cross-GDB gets
17914 plenty of testing anyway.
17915 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
17916 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
17917 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
17918 * gdb.base/README: Remove, was doc for this.
17919 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
17920 needed.
17921
17922 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17923
17924 * gdb.base/call-ar-st.exp: Fix one regular expression in test
17925 output.
17926
17927 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
17928 * gdb.base/annota2.exp: New file. More annotation tests.
17929 * gdb.base/annota1.c: New file. Source file for annota1.exp.
17930 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
17931
17932 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
17933
17934 * config/cfdbug.exp: New file.
17935
17936 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
17937
17938 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
17939 Marcus Daniel's and Dale Hawkins's demangler crashes.
17940
17941 * gdb.c++/demangle.exp (test_gnu_style_demangling,
17942 test_lucid_style_demangling, test_arm_style_demangling,
17943 test_hp_style_demangling): Try Tom Tromey's core-dumping
17944 identifier under each demangling style.
17945
17946 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
17947
17948 * gdb.c++/demangle.exp: Include the current demangling style
17949 in all test names.
17950 (current_demangling_style): New global variable.
17951 (set_demangling_style, test_demangling_core, test_demangling,
17952 test_demangling_exact): New functions.
17953 (test_gnu_style_demangling, test_lucid_style_demangling,
17954 test_arm_style_demangling, test_hp_style_demangling): Use those,
17955 instead of calling gdb_test and gdb_test_exact directly.
17956 (catch_demangling_errors): New function, which reports errors
17957 signalled by the demangling test functions in an orderly way.
17958 (do_tests): Use catch_demangling_errors.
17959
17960 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
17961
17962 * gdb.base/signals.exp (test_handle_all_print): Use () for
17963 grouping in expressions, not {}.
17964
17965 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
17966 initialized yet.
17967
17968 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
17969
17970 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
17971 are listed.
17972
17973 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
17974
17975 * gdb.stabs/weird.exp: Test for CC being defined before
17976 looking at its value.
17977
17978 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
17979
17980 * gdb.base/call-ar-st.exp: Remove stray '#'.
17981 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
17982 "short int" and "long int".
17983 * gdb.c++/overload.cc: Cast the string added in the previous
17984 change, to mollify finicky HP compiler.
17985 * gdb.hp/reg-test.exp (testfile): Fix file name.
17986 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
17987
17988 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
17989 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
17990 alternate form of enum ptype.
17991
17992 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
17993
17994 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
17995 * gdb.hp/*.exp: Change all to run compiler probe only after
17996 passing skip_hp_tests, so as not to waste time on guaranteed
17997 failure.
17998
17999 * gdb.c++/overload.cc: Pass string instead of char addr, always
18000 init ccpfoo.
18001 * gdb.c++/templates.cc: Fix syntax error.
18002
18003 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18004
18005 * gdb.base/commands.exp: Add test for correct position of '>'
18006 when issuing the 'commands' command after a 'while' or 'if'
18007 command.
18008
18009 1999-03-18 James Ingham <jingham@cygnus.com>
18010
18011 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
18012
18013 * gdb.c++/method.exp: It was testing an uninitialized int on the
18014 stack and assuming it was positive.
18015
18016 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
18017
18018 * gdb.base/step-test.exp: Catch a case where finish is broken and
18019 keep it from killing the rest of the tests.
18020 Use gdb_continue_to_end.
18021
18022 * gdb.base/sigall.exp: use gdb_continue_to_end.
18023
18024 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
18025
18026 * gdb.base/display.exp: use runto_main, not run.
18027
18028 * gdb.base/default.exp: Check for the current error message in the
18029 r abbreviation test.
18030 Add strongarm to the targets that know info float.
18031
18032 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
18033 run which doesn't work with monitors.
18034
18035 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
18036
18037 * gdb.base/break.exp: use the gdb_continue_to_end proc.
18038
18039 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
18040 program. Traps the case (in Cygmon) when the program never really
18041 exits. Same as Mark's continue_to_exit, but I had put it in a lot
18042 more places, so I used my name. Sorry Mark...
18043
18044 * config/monitor.exp (gdb_target_monitor): added another
18045 target_info parameter: remotebinarydownload. This will set the
18046 remotebinarydownload flag if this is causing some boards trouble.
18047
18048 1999-03-18 Mark Salter <msalter@cygnus.com>
18049
18050 * lib/gdb.exp (continue_to_exit): New function.
18051
18052 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
18053 * gdb.base/ending-run.exp: Ditto.
18054 * gdb.base/step-test.exp: Ditto.
18055
18056 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
18057
18058 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
18059 (suggested by Art Haas <ahaas@neosoft.com>).
18060
18061 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
18062
18063 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
18064
18065 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
18066
18067 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
18068 descriptions of types (short unsigned int vs unsigned short, etc).
18069
18070 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
18071
18072 * gdb.base/call-strs.exp: Don't assume that `step' will step over
18073 a call to strlen; sometimes we do have sources.
18074
18075 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18076
18077 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
18078 character, so GDB won't print garbage after its end.
18079
18080 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
18081 breakpoint there instead. Sometimes GCC emits memcpy to handle
18082 the large structures being passed by value, so we step into that
18083 instead of sum_array_print, which obscures what we're really testing.
18084 * gdb.base/step-test.exp: However, we do want a test that notices
18085 the bizarre steps into memcpy, so do that here. Add check for
18086 stepping into function calls that pass large structures by value.
18087 ("Is that a noun clause, or are you just happy to see me?")
18088 Remove all references to specific line numbers.
18089 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
18090 New type and function.
18091 (main): Call large_struct_by_value, passing it a large struct by value.
18092 * lib/gdb.exp (gdb_get_line_number): New function.
18093
18094 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
18095 more portable.
18096
18097 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
18098
18099 * lib/gdb.exp: Doc fixes.
18100
18101 1999-03-05 Nick Clifton <nickc@cygnus.com>
18102
18103 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
18104
18105 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
18106
18107 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
18108 commands. They're not germane to this test, and they don't work
18109 that way on remote targets.
18110
18111 1999-03-01 James Ingham <jingham@cygnus.com>
18112
18113 * Changelog entries merged over from gdb development branch.
18114
18115 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
18116
18117 * lib/gdb.exp (gdbtk_analyze_results): Generic function
18118 for outputting results of test run.
18119
18120 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
18121
18122 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
18123
18124 1999-02-25 Felix Lee <flee@cygnus.com>
18125
18126 * lib/gdb.exp (debug_format): initialize
18127
18128 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
18129
18130 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
18131 * gdb.base/call-rt-st.c: Ditto.
18132
18133 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
18134
18135 * gdb.threads/pthreads.exp (horiz): New variable.
18136 (test_startup): Fix regexps that capture thread numbers.
18137
18138 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
18139
18140 * gdb.base/smoke.exp: Disambiguate two test case names (both
18141 called ``print'').
18142
18143 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18144
18145 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
18146 compilation.
18147
18148 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18149
18150 * gdb.base/miscexprs.exp: Change patterns to match GDB's
18151 actual output formatting.
18152 * gdb.base/smoke.exp: GDB removes leading 0's.
18153 * gdb.base/volatile.exp: Don't check type of remuneration;
18154 that variable is no longer defined in constvars.c.
18155 * gdb.base/step-test.c (main): Exit with explicit exit code.
18156 * gdb.base/step-test.exp: Remove two nexti checks--they are
18157 not portable.
18158
18159 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
18160
18161 * gdb.base/help.exp ("help delete display"): Fix test to match
18162 gdb's output.
18163
18164 * gdb.base/long_long.c (known_types): Initialize values to zero.
18165 * gdb.base/long_long.exp: Step one more line
18166 so 'dec' is initialized in "get to known place". GDB removes
18167 leading zeros. Explicitly ask for hex formatting. Use
18168 unique test case names.
18169
18170 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18171
18172 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
18173
18174 * gdb.c++/method.exp: Add missing close brace.
18175
18176 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
18177
18178 * gdb.base/maint.exp: Use 'set height 0' to disable page
18179 prompting, not 'set height 400'.
18180
18181 Fix a bunch of timeouts.
18182 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
18183 four separate tests, so expect doesn't take forever to match a ton
18184 of text against a regexp with lots of .* forms.
18185 ("maint print psymbols", "maint print symbols"): Make some of
18186 these greps more selective, so that expect doesn't try to wade
18187 through huge piles of output and time out.
18188
18189 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
18190
18191 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
18192 tests: one which doesn't expect shlib events to be reported, and
18193 another which does, but is XFAIL for all platforms other than
18194 HP/UX.
18195
18196 * gdb.base/break.exp: Teach the test suite that the `catch
18197 fork', `catch vfork', and `catch exec' commands produce error
18198 messages on platforms that don't provide these features.
18199
18200 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
18201
18202 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
18203 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
18204 (shortening names from solib_threshold.exp etc), won't run on
18205 anything but HP-UX for the foreseeable future.
18206 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
18207 reflect move.
18208
18209 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
18210
18211 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
18212 gdb.trace/Makefile.in (clean): Remove all test executables.
18213
18214 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
18215
18216 * gdb.base/shlib-call.exp: add test cases to verify that gdb
18217 successfully re-sets breakpoints in shared libraries.
18218 * gdb.base/shmain.c (main): return 0, don't fall off the end.
18219
18220 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18221
18222 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
18223 and compiled w/o GCC.
18224
18225 * gdb.hp/watch-cmd.exp: ditto.
18226
18227 * gdb.hp/watch-hp.exp: ditto.
18228
18229 * gdb.hp/xdb1.exp: ditto.
18230
18231 * gdb.hp/xdb2.exp: ditto.
18232
18233 * gdb.hp/dbx.exp: ditto.
18234
18235 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
18236
18237 * constvars.c: Remove C++-isms.
18238 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
18239 with GCC.
18240
18241 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
18242
18243 The following changes are part of the HP merge.
18244
18245 * gdb.base/break.exp: new tests to verify that catchpoints for
18246 fork, vfork, and exec don't trigger inappropriately.
18247
18248 * gdb.base/opaque.exp: compile one file at a time, then link.
18249
18250 * gdb.base/signals.exp: be more restrictive about which hppa
18251 systems receive a setup_xfail. new tests.
18252
18253 * gdb.base/solib_threshold.build: new file.
18254 * gdb.base/solib_threshold.exp: new file.
18255 * gdb.base/solib_threshold.link_opts: new file.
18256 * gdb.base/solib_threshold.mk: new file.
18257 * gdb.base/gen_solib_threshold.c: new file.
18258
18259 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
18260 tests. New tests for enums inside classes.
18261
18262 * gdb.c++/compiler.cc: indicate support of template debugging.
18263
18264 * gdb.c++/demangle.exp: run hp style demangling tests.
18265
18266 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
18267 tests.
18268
18269 * gdb.c++/misc.cc: changes to support new tests.
18270
18271 * gdb.c++/templates.cc: changes to support HP's compiler; changes
18272 to support new tests.
18273
18274 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
18275 gcc, then skip these tests.
18276
18277 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
18278
18279 The following files are part of the HP merge; some had longer
18280 names at HP, but have been renamed to be no more than 14
18281 characters in length.
18282
18283 * gdb.hp/ambiguous.cc: new file.
18284 * gdb.hp/ambiguous.exp: new file.
18285 * gdb.hp/attach.exp: new file.
18286 * gdb.hp/attach2.exp: new file.
18287 * gdb.hp/classes-hp.exp: new file.
18288 * gdb.hp/ctti.exp: new file.
18289 * gdb.hp/ctti-add.cc: new file.
18290 * gdb.hp/ctti-add1.cc: new file.
18291 * gdb.hp/ctti-add2.cc: new file.
18292 * gdb.hp/ctti-add3.cc: new file.
18293 * gdb.hp/dbx.exp: new file.
18294 * gdb.hp/exception.cc: new file.
18295 * gdb.hp/exception.exp: new file.
18296 * gdb.hp/foll-exec.c: new file.
18297 * gdb.hp/foll-exec.exp: new file.
18298 * gdb.hp/foll-fork.c: new file.
18299 * gdb.hp/foll-fork.exp: new file.
18300 * gdb.hp/foll-vfork.c: new file.
18301 * gdb.hp/foll-vfork.exp: new file.
18302 * gdb.hp/inherit-hp.exp: new file.
18303 * gdb.hp/more-steps.exp: new file.
18304 * gdb.hp/namespace.cc: new file.
18305 * gdb.hp/namespace.exp: new file.
18306 * gdb.hp/optimize.exp: new file.
18307 * gdb.hp/pxdb.c: new file.
18308 * gdb.hp/pxdb.exp: new file.
18309 * gdb.hp/quicksort.exp: new file.
18310 * gdb.hp/reg-test.exp: new file.
18311 * gdb.hp/reg-test.s: new file.
18312 * gdb.hp/sized-enum.c: new file.
18313 * gdb.hp/sized-enum.exp: new file.
18314 * gdb.hp/start-stop.exp: new file.
18315 * gdb.hp/templ-hp.cc: new file.
18316 * gdb.hp/templ-hp.exp: new file.
18317 * gdb.hp/thr-lib.c: new file.
18318 * gdb.hp/thr-lib.exp: new file.
18319 * gdb.hp/thr-lib.h: new file.
18320 * gdb.hp/thr-liblib.c: new file.
18321 * gdb.hp/virtfun-hp.c: new file.
18322 * gdb.hp/virtfun-hp.exp: new file.
18323 * gdb.hp/watch-cmd.exp: new file.
18324 * gdb.hp/watch-hp.exp: new file.
18325 * gdb.hp/xdb1.exp: new file.
18326 * gdb.hp/xdb2.exp: new file.
18327 * gdb.hp/xdb3.exp: new file.
18328
18329 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
18330
18331 The following files are part of the HP merge; some had longer
18332 names at HP, but have been renamed to be no more than 14
18333 characters in length.
18334
18335 * gdb.base/ss.h: new file.
18336 * gdb.base/call-ar-st.c: new file.
18337 * gdb.base/call-ar-st.exp: new file.
18338 * gdb.base/call-rt-st.c: new file.
18339 * gdb.base/call-rt-st-exp: new file.
18340 * gdb.base/call-strs.exp: new file.
18341 * gdb.base/ena-dis-br.exp: new file.
18342 * gdb.base/environ.exp: new file.
18343 * gdb.base/long_long.exp: new file.
18344 * gdb.base/sect-cmd.exp: new file.
18345 * gdb.base/shlib-cl2.exp: new file.
18346 * gdb.base/smoke.exp: new file.
18347 * gdb.base/so-impl-ld.c: new file.
18348 * gdb.base/so-impl-ld.exp: new file.
18349 * gdb.base/so-indr-cl.c: new file.
18350 * gdb.base/so-indr-cl.exp: new file.
18351 * gdb.base/varargs.exp: new file.
18352 * gdb.base/volatile.exp: new file.
18353 * gdb.base/whatis-exp.exp: new file.
18354 * gdb.base/display.exp: new file.
18355 * gdb.c++/derivation.exp: new file.
18356 * gdb.c++/local.exp: new file.
18357 * gdb.c++/member-ptr.exp: new file.
18358 * gdb.c++/overload.exp: new file.
18359 * gdb.c++/ovldbreak.exp: new file.
18360 * gdb.c++/ref-types.exp: new file.
18361 * gdb.c++/ref-types2.exp: new file.
18362 * gdb.c++/userdef.exp: new file.
18363
18364 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
18365
18366 * gdb.base/default.exp: Reflect wording change in remote.c.
18367
18368 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
18369
18370 * gdb.base/help.exp: Update to reflect current text.
18371
18372 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
18373
18374 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
18375 they're stack variables and contain garbage.
18376 * gdb.c++/anon-union.exp: new file.
18377
18378 The following changes were made by David Taylor
18379 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18380 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18381 in changes by HP.
18382
18383 * gdb.base/bitops.exp: new file.
18384 * gdb.base/default.exp: change expected messages for catch and
18385 info catch tests to reflect HP merge changes.
18386 * gdb.base/enable-disable-break.exp
18387 * gdb.base/ending-run.c: new file.
18388 * gdb.base/long_long.c: new file.
18389 * gdb.base/maint.exp: new file.
18390 * gdb.base/pointers2.exp: new file.
18391 * gdb.base/shlib-call2.exp: new file.
18392 * gdb.base/solib.exp: new file.
18393 * gdb.base/step-test.c: new file.
18394 * gdb.c++/anon-union.cc: new file.
18395 * gdb.c++/local.cc: new file.
18396 * gdb.c++/member-pointer.cc: new file.
18397 * gdb.c++/method.cc: new file.
18398 * gdb.c++/ref-types.cc: new file.
18399 * gdb.c++/ref-types2.cc: new file.
18400 * gdb.c++/userdef.cc: new file.
18401
18402 * gdb.base/scope.exp: compile one file at a time, then link.
18403 * gdb.base/langs.exp: ditto.
18404 * gdb.base/list.exp: ditto.
18405
18406 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
18407
18408 The following changes were made by David Taylor
18409 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
18410 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
18411 in changes by HP.
18412
18413 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
18414 skip tests. When compiling pass c++ flag to gdb_compile.
18415 * gdb.c++/
18416
18417 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
18418 test for on hppa*-*-hpux*; use args to see if c++ was specified.
18419 (skip_hp_tests): new function.
18420 (gdb_preprocess): new function.
18421
18422 * configure.in (hpdir): decide whether to configure gdb.hp.
18423 * configure: regenerated.
18424
18425 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
18426 to delete on clean.
18427 (EXECUTABLES): update to reflect new additions.
18428 * gdb.base/commands.exp: update message expected.
18429 * gdb.base/default.exp: add copyright notice.
18430 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
18431 * gdb.base/help.exp: update messages to reflect current text.
18432 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
18433 targets for recurse tests.
18434 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
18435 skip this file.
18436
18437 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
18438 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
18439 compilation.
18440 * gdb.c++/misc.exp: ditto.
18441 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
18442 run the tests. tell gdb_compile that it's a c++ compilation.
18443
18444 * gdb.threads/pthreads.exp: fix typo in message.
18445
18446 * gdb.base/all-bin.exp: new file.
18447 * gdb.base/arithmet.exp: new file.
18448 * gdb.base/assign.exp: new file.
18449 * gdb.base/completion.exp: new file.
18450 * gdb.base/cond-expr.exp: new file.
18451 * gdb.base/condbreak.exp: new file.
18452 * gdb.base/define.exp: new file.
18453 * gdb.base/dollar.exp: new file.
18454 * gdb.base/environment.exp: new file.
18455 * gdb.base/eval-skip.exp: new file.
18456 * gdb.base/jump.exp: new file.
18457 * gdb.base/logical.exp: new file.
18458 * gdb.base/pointers.exp: new file.
18459 * gdb.base/relational.exp: new file.
18460 * gdb.base/section_command.exp: new file.
18461 * gdb.base/whatis-expr.exp: new file.
18462
18463 * gdb.base/all-types.c: new file.
18464 * gdb.base/call-array-struct.c: new file.
18465 * gdb.base/call-return-struct.c: new file.
18466 * gdb.base/call-strings.c: new file.
18467 * gdb.base/callfuncs2.c: new file.
18468 * gdb.base/condbreak.c: new file.
18469 * gdb.base/constvars.c: new file.
18470 * gdb.base/display.c: new file.
18471 * gdb.base/int-type.c: new file.
18472 * gdb.base/jump.c: new file.
18473 * gdb.base/miscexprs.c: new file.
18474 * gdb.base/pointers.c: new file.
18475 * gdb.base/pointers2.c: new file.
18476 * gdb.base/shmain.c: new file.
18477 * gdb.base/shr1.c: new file.
18478 * gdb.base/shr2.c: new file.
18479 * gdb.base/solib.c: new file.
18480 * gdb.base/solib1.c: new file.
18481 * gdb.base/solib2.c: new file.
18482 * gdb.base/varargs.c: new file.
18483 * gdb.c++/derivation.cc: new file.
18484 * gdb.c++/overload.cc: new file.
18485 * gdb.c++/ovldbreak.cc: new file.
18486 * gdb.hp/attach.c: new file.
18487 * gdb.hp/attach2.c: new file.
18488 * gdb.hp/average.c: new file.
18489 * gdb.hp/compiler.c: new file.
18490 * gdb.hp/compiler.cc: new file.
18491 * gdb.hp/execd-program.c: new file.
18492 * gdb.hp/follow-exec.c: new file.
18493 * gdb.hp/follow-fork.c: new file.
18494 * gdb.hp/follow-vfork-and-exec.c: new file.
18495 * gdb.hp/misc-hp.cc: new file.
18496 * gdb.hp/more-steps.c: new file.
18497 * gdb.hp/optimize.c: new file.
18498 * gdb.hp/quicksort.c: new file.
18499 * gdb.hp/run-hp.c: new file.
18500 * gdb.hp/start-stop.c: new file.
18501 * gdb.hp/sum.c: new file.
18502 * gdb.hp/templates-hp.cc: new file.
18503 * gdb.hp/thread-local-in-lib.c: new file.
18504 * gdb.hp/thread-local-in-lib.h: new file.
18505 * gdb.hp/thread-local-in-lib.lib.c: new file.
18506 * gdb.hp/vforked-program.c: new file.
18507 * gdb.hp/virtfunc-hp.cc: new file.
18508 * gdb.hp/watchpoint-hp.c: new file.
18509 * gdb.hp/xdb.c: new file.
18510 * gdb.hp/xdb0.c: new file.
18511 * gdb.hp/xdb0.h: new file.
18512 * gdb.hp/xdb1.c: new file.
18513
18514 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
18515
18516 The following change was made by Edith Epstein
18517 <eepstein@cygnus.com> as part of a project to merge in changes
18518 originally made by HP; HP did not create ChangeLog entries.
18519
18520 * gdb.c++/demangle.exp: changed the expected output for some
18521 ARM-style mangling -- removed second reference to datatype.
18522 For example, maint demangle __dt__11T1__pt__2_cFv
18523 T1<char>::~T1<char>(void)
18524 becomes,
18525 maint demangle __dt__11T1__pt__2_cFv
18526 T1<char>::~T1(void)
18527
18528 (test_hp_style_demangling): new hp specific demangling test cases.
18529
18530 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
18531
18532 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
18533 * gdb.trace/backtrace.exp: Likewise.
18534 * gdb.trace/circ.exp: Likewise.
18535 * gdb.trace/collection.exp: Likewise.
18536 * gdb.trace/deltrace.exp: Likewise.
18537 * gdb.trace/infotrace.exp: Likewise.
18538 * gdb.trace/limits.exp: Likewise.
18539 * gdb.trace/packetlen.exp: Likewise.
18540 * gdb.trace/passc-dyn.exp: Likewise.
18541 * gdb.trace/passcount.exp: Likewise.
18542 * gdb.trace/report.exp: Likewise.
18543 * gdb.trace/save-trace.exp: Likewise.
18544 * gdb.trace/tfind.exp: Likewise.
18545 * gdb.trace/tracecmd.exp: Likewise.
18546 * gdb.trace/while-dyn.exp: Likewise.
18547 * gdb.trace/while-stepping.exp: Likewise.
18548
18549 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
18550
18551 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
18552
18553 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
18554
18555 From Brendan Kehoe:
18556 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
18557 int return types.
18558
18559 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
18560
18561 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
18562 remote dos host testing right.
18563
18564 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
18565
18566 * gdb.base/corefile.exp: remove some xfails.
18567
18568 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
18569
18570 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
18571 have different timestamps.
18572
18573 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
18574
18575 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
18576 gdb.base/default.exp: Replace "exec" with "executable".
18577
18578 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
18579
18580 * gdb.base/default.exp: Change else if to elseif from previous
18581 delta.
18582
18583 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
18584
18585 * gdb.base/default.exp: Add brace missing from previous delta.
18586
18587 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
18588
18589 * gdb.base/default.exp: Support test for info float for all
18590 varieties of arm toolchain.
18591
18592 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
18593
18594 * gdb.trace/*.exp: remove "remote_download" command.
18595
18596 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
18597
18598 * gdb.trace/*.exp: remove -gdwarf from compile.
18599
18600 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
18601
18602 * gdb.trace/configure.in(AC_INIT): typo
18603 * gdb.trace/configure: regenerated
18604
18605 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
18606
18607 * config/m68k-emc.exp: New file.
18608 * lib/<emc-support.exp trace-support.exp}: New files.
18609 * configure.in: add new test directory gdb.trace.
18610 * gdb.trace/{configure configure.in Makefile.in}: New files.
18611 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
18612 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
18613 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
18614 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
18615 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
18616 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
18617 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
18618
18619 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
18620
18621 * gdb.c++/classes.exp: Change all regular expressions to match
18622 arbitrary combinations of newline/carriage-return, so that they
18623 will work equally well on Unix and Windows.
18624 * gdb.c++/inherit.exp: ditto.
18625 * gdb.c++/virtfunc.exp: ditto.
18626
18627 1998-08-11 Dawn Perchik <dawn@cygnus.com>
18628
18629 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
18630
18631 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
18632
18633 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
18634 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
18635 to use a0-a3/d0-d3 as needed.
18636
18637 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
18638
18639 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
18640 * gdb.disasm/am33.exp: Corresponding changes.
18641
18642 1998-07-11 Felix Lee <flee@cygnus.com>
18643
18644 * gdb.base/callfuncs.exp: add cmp10 test.
18645 * gdb.base/callfuncs.c (cmp10): new function.
18646
18647 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
18648
18649 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
18650 into two parts to get around a synchronization problem in expect.
18651
18652 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
18653
18654 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
18655
18656 * configure.in: Add options for gdbtk testsuite.
18657
18658 * configure: Regenerate.
18659
18660 * gdb.gdbtk: New directory to hold gdbtk tests.
18661
18662 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18663
18664 * gdb.fortran/types.exp: Escape brackets in expect patterns
18665 for test_float_literal_types_accepted tests.
18666 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
18667 before run test.
18668
18669 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
18670
18671 * am33.exp: Just compile, do not link the testcase.
18672 * am33.s: Add ".am33" pseudoop to force am33 mode.
18673
18674 1998-06-25 Felix Lee <flee@cygnus.com>
18675
18676 * gdb.base/setshow.exp: make sure $pc is sane.
18677
18678 * gdb.stabs/weird.exp: split expect patterns properly.
18679
18680 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
18681
18682 * gdb.disasm/am33.s: New disassembler testfile for the am33.
18683 * gdb.disasm/am33.exp: Run it.
18684
18685 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
18686
18687 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
18688 match processing (and eliminate spurious timeouts when running).
18689
18690 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
18691
18692 * gdb.base/signals.exp (test_handle_all_print): put back Mach
18693 exception test, but conditionalize it on target [mach | gnu].
18694
18695 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
18696
18697 * gdb.base/overlays.exp: fixup compile line for linker script.
18698
18699 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
18700
18701 * gdb.fortran/types.exp: don't guess at float size.
18702
18703 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
18704
18705 * gdb.base/exprs.exp: delete test that depends on int size.
18706
18707 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
18708
18709 * config/sim.exp: Removed checks for target triplets.
18710 (gdb_target_sim): Use gdb,target_sim_options.
18711
18712 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
18713
18714 * gdb.base/reread.exp: New file.
18715 * gdb.base/reread1.c: New file.
18716 * gdb.base/reread2.c: New file.
18717
18718 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
18719
18720 * config/sim.exp: Use 'target sim -sparclite' when running
18721 SPARClite programs.
18722
18723 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
18724
18725 * gdb.base/structs2.exp: New file.
18726 * gdb.base/structs2.c: New file.
18727
18728 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
18729
18730 * gdb.asm/common.inc: New file.
18731 * gdb.asm/d10v.inc: New file.
18732 * asm-source.exp: Pass -I's to gas to find .inc files.
18733 Update line numbers in expected output.
18734 * asmsrc1.s: Rewrite.
18735 * asmsrc2.s: Rewrite.
18736 * configure.in: Create arch.inc symlink.
18737 * configure: Regenerate.
18738 * Makefile.in (distclean): Delete arch.inc.
18739
18740 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
18741
18742 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
18743 (t_enum_value2): ditto
18744 (t_enum_value3): ditto
18745 (main): ditto
18746 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18747
18748 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
18749 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
18750 change.
18751 Use gdb_test instead of send_gdb/gdb_expect sequences.
18752
18753 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
18754
18755 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
18756 not void.
18757
18758 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
18759
18760 * gdb.base/branches.c: Code with lots of loops and
18761 subroutines. Used to test gdbs ability to single step through PC
18762 changes, especially to test mips-tdep.c:mips_next_pc
18763
18764 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
18765
18766 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
18767 more rigorous EGCS C++ error checking.
18768
18769 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18770
18771 * gdb.base/help.exp: Clean up `help set args' and `help show args'
18772 tests.
18773 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
18774 function when asleep.
18775 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
18776 for i*86 Linux and SVR4 signal handling problems.
18777 Remove linux xfail for `next to handler in signals_tests_1', fixed
18778 by recent infrun.c change.
18779 Limit backtrace to 10 frames to avoid timeout problems with infinite
18780 stack backtraces.
18781 Adjust expect pattern in `handle all print' test to match Apr 28 1997
18782 target.[ch] change.
18783
18784 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
18785
18786 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
18787 for a newline from gdb before continuing.
18788 (default_gdb_exit): Just look for y or n.
18789 (gdb_test): Detect abnormal exit from GDB running on DOS; if
18790 it does, fail the rests of the tests in the file.
18791
18792 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
18793
18794 * config/cygmon.exp: New file.
18795
18796 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
18797
18798 * gdb.base/list.exp: Fix problem with "list default lines around
18799 main" test on remote targets.
18800
18801 * gdb.base/scope.exp: Fix problem with filelocal_bss before
18802 run test on remote targets.
18803
18804 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
18805
18806 * gdb.asm: New directory.
18807 * configure.in: Configure it.
18808 * configure: Regenerate.
18809 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
18810 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
18811
18812 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
18813
18814 * config/mn10300-eval.exp: New file to support MN10300 eval board.
18815
18816 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
18817
18818 * gdb.base/overlays (several files): Merge the two overlay
18819 managers into one. Change variables (foox, barx, bazx, grbxx)
18820 back into ints but force them to load in their proper sections.
18821
18822 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
18823
18824 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
18825 on-chip insn memory and IMAP1 to upper 128k.
18826 (D10VCopy): Handle memory regions crossing 16k boundaries.
18827 (D10VCopy): Transfer data in 32 bit chunks.
18828
18829 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
18830
18831 * gdb.base/overlays.c (main): Exit normally when result is
18832 correct.
18833
18834 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
18835 map. Include space for printf in .text segment.
18836
18837 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
18838 updated d10v memory VMA/LMA map.
18839 (D10VCopy): Call D10VTranslate.
18840
18841 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
18842
18843 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
18844
18845 * gdb.base/bar.c (barx, bar): Change variable to small array so
18846 that it won't be put into the .sdata - small data -
18847 section. Update reference.
18848 * gdb.base/baz.c (bazx, baz): Ditto.
18849 * gdb.base/foo.c (foox, foo): Ditto.
18850 * gdb.base/grbx.c (grbxx, grbx): Ditto.
18851
18852 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
18853 to be arrays.
18854
18855 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
18856
18857 * gdb.base/overlays.exp: fix up and get working again.
18858 Add tests for backtraces from an overlay function.
18859
18860 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
18861
18862 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
18863 "calling function with watchpoint enabled".
18864
18865 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
18866
18867 * gdb.base/break.exp (test_next_with_recursion): Remove
18868 gdb_suppress_tests for d10v-*-*.
18869 * lib/gdb.exp (gdb_suppress_tests): Disable this function
18870 pending review of whether it is useful or not.
18871
18872 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
18873
18874 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
18875
18876 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
18877
18878 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
18879 * config/dve.exp: New file to support Densan boards.
18880
18881 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
18882
18883 * gdb.base/interrupt.exp: Document problem of simulators, signals,
18884 reads and BSD.
18885
18886 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
18887
18888 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
18889 response.
18890
18891 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
18892
18893 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
18894
18895 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
18896 test.
18897
18898 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
18899 target_sizeof_long and target_bigendian_p.
18900 (structs_by_value, structs_by_reference): Check values according
18901 to targets word size and endianess.
18902
18903 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
18904
18905 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
18906 output.
18907
18908 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
18909
18910 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
18911 Update test of set args help to match source change.
18912
18913 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
18914
18915 * gdb.base/default.exp: Expect help system output to be in
18916 alphabetical order.
18917 * gdb.base/help.exp: Ditto.
18918
18919 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
18920
18921 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
18922 "i*86-pc-linux-gnu*".
18923 * gdb.base/interrupt.exp: Ditto.
18924 * gdb.base/corefile.exp: Ditto.
18925
18926 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
18927 define vxworks when building the testcase.
18928
18929 * gdb.base/ptype.exp: Fix testnames to be unique.
18930 * gdb.base/radix.exp: Ditto.
18931 * gdb.base/term.exp: Ditto.
18932 * gdb.base/whatis.exp: Ditto.
18933 * gdb.c++/classes.exp: Ditto.
18934
18935 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
18936
18937 * gdb.base/callfuncs.exp: Fix indentation.
18938
18939 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
18940 suppress_flag has been set.
18941 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
18942 target feature.
18943
18944 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
18945
18946 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
18947 the testcase.
18948
18949 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
18950 set_debug_traps() and breakpoint().
18951 * gdb.c++/misc.cc (main): Ditto.
18952 * gdb.c++/templates.cc (main): Ditto.
18953 * gdb.c++/virtfunc.cc (main): Ditto.
18954
18955 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
18956
18957 * lib/gdb.exp(gdb_step_for_stub): New function.
18958 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
18959 exists, reload the executable and do a "continue" instead of
18960 doing a jump.
18961 (runto_main): Use gdb_step_for_stub.
18962
18963 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
18964 tests to have unique names.
18965 * gdb.base/callfuncs.exp: Ditto.
18966 * gdb.base/commands.exp: Ditto.
18967 * gdb.base/default.exp: Ditto.
18968 * gdb.base/help.exp: Ditto.
18969 * gdb.base/list.exp: Ditto.
18970 * gdb.base/opaque.exp: Ditto.
18971 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
18972 similar tests.
18973
18974 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
18975 * gdb.c++/cplusfuncs.cc: Ditto.
18976 * gdb.c++/virtfunc.cc: Ditto.
18977
18978 * config/monitor.exp: Keep track of the last file we saw, rather
18979 than trying to get the info from gdb.
18980
18981 * gdb.fortran/types.exp: Move comment to previous line.
18982
18983 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
18984
18985 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
18986 target mode.
18987
18988 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
18989
18990 From Bob Manson:
18991 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
18992 string from GDB when it connects.
18993
18994 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
18995
18996 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
18997
18998 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
18999 if we can't get a debug format from GDB (we may be testing an
19000 older GDB). Use a 10 second timeout when checking for the format.
19001
19002 * gdb.stabs/weird.exp: Fix quoting.
19003
19004 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
19005
19006 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
19007
19008 * config/arm-ice.exp: New file.
19009
19010 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
19011
19012 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
19013 until it has been modified to work with the new testsuite.
19014
19015 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
19016 testcase won't compile, cause all of the testcases in the file to
19017 fail instead.
19018
19019 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
19020 (gdb_clear_suppressed): New procedure.
19021 (gdb_stop_suppressing_tests): Only clear suppress_flag if
19022 it contains a positive value.
19023
19024 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
19025
19026 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
19027
19028 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
19029
19030 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
19031
19032 * lib/gdb.exp (setup_xfail_format): New function.
19033 (get_debug_format): New function to get debug format.
19034 (debug_format): New global variable to hold last value set
19035 by get_debug_format.
19036 * gdb.base/list.exp: Call get_debug_format and expect some
19037 tests to fail for DWARF 1 and COFF formats.
19038 * gdb.c++/ptype.exp: Ditto.
19039 * gdb.c++/classes.exp: Ditto.
19040 * gdb.c++/cplusfuncs.exp: Ditto.
19041 * gdb.c++/inherit.exp: Ditto.
19042 * gdb.c++/templates.exp: Ditto.
19043 * gdb.c++/virtfunc.exp: Ditto.
19044
19045 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
19046
19047 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
19048 host doesn't have a currently-open connection.
19049
19050 * config/sparclet.exp: Cleanups and fixes to make it generic for
19051 any gdb stub target. Handle cases where gdb doesn't respond when
19052 interrupted in a sane fashion.
19053
19054 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
19055 same thing in a totally different way.
19056
19057 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
19058 setting "timeout".
19059 (gdb_start): We set the global gdb_prompt variable in
19060 default_gdb_init now.
19061
19062 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
19063
19064 * gdb.base/printcmds.exp: Fix "check for floating addition"
19065 regexp to accept results within approx +/- .01 of exact value.
19066 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
19067
19068 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
19069
19070 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
19071 properly.
19072 (gdb_expect): Add optional timeout parameter, and add timeout
19073 value to various calls.
19074 (gdb_suppress_tests): Only give one warning message per group.
19075
19076 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
19077
19078 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
19079 global variables. Handle getting a value for $timeout more
19080 gracefully.
19081
19082 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19083
19084 * lib/gdb.exp: Close connection to remote host if gdb doesn't
19085 initialize.
19086 (default_gdb_init): New procedure; allow gdb_init to be overridden
19087 by a target configuration file.
19088 (gdb_expect): Pass the timeout to remote_expect.
19089
19090 * config/monitor.exp(gdb_load): Fix typo in regexp.
19091
19092 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
19093
19094 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
19095
19096 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
19097
19098 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
19099 here. Call gdb_target_exec before rebooting the target, to make
19100 sure the connection to the target is closed.
19101 (gdb_load): Pass the name of the executable to gdb_target_monitor.
19102 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
19103 Also detect "Timeout reading from remote" error.
19104
19105 * config/gdbserver.exp: Pass the executable being loaded to
19106 gdb_target_monitor. Don't call gdb_file_cmd here; let
19107 gdb_target_monitor do it.
19108
19109 * gdb.disasm/hppa.exp: Don't use exec_output.
19110
19111 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
19112
19113 * gdb.base/list.exp: If we're debugging a non-native target,
19114 try to set the pc register to point to the start of the
19115 program before doing the first list command.
19116
19117 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
19118 test_calls after restarting.
19119
19120 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
19121 reloading.
19122
19123 * gdb.base/watchpoint.exp: Fix typo.
19124
19125 * gdb.base/setshow.exp: Check for use_gdb_stub.
19126
19127 * gdb.base/break.exp: Fix continue until exit test for the gdb
19128 stub case.
19129 * gdb.base/langs.exp: Ditto.
19130
19131 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
19132 gdb_load_offset. If we weren't given a file to load, figure out
19133 what the current file is and use it.
19134
19135 * config/i386-bozo.exp: New file.
19136
19137 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
19138
19139 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
19140 feature.
19141
19142 * config/proelf.exp: New entry.
19143
19144 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
19145
19146 * lib/gdb.exp: Remove spurious .* patterns at the beginning
19147 of regexps.
19148
19149 * gdb.base/watchpoint.exp: Don't run the test_stepping
19150 tests if gdb can't call functions on the target.
19151
19152 * gdb.base/setshow.exp: Don't run the set prompt tests if
19153 the board has gdb_prompt set.
19154
19155 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
19156
19157 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
19158 * gdb.base/commands.exp: Likewise.
19159 * gdb.base/setshow.exp: Likewise.
19160
19161 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
19162
19163 * config/monitor.exp(gdb_start): Look for gdb_prompt target
19164 feature.
19165
19166 * config/i960.exp: New file.
19167
19168 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
19169
19170 * gdb.base/funcargs.exp: Check for gdb,short_int target
19171 feature instead of looking for explicit target triplets.
19172
19173 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
19174
19175 * gdb.base/printcmds.exp: add a couple more tests a la
19176 "p 123DEADBEEF", to check parse_number.
19177 * top.c: change "to enable to enable" to "to enable" in a couple
19178 of help strings.
19179
19180 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
19181
19182 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
19183 on the mn10300.
19184
19185 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
19186
19187 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
19188 where the test executable is run with explicit args.
19189 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
19190
19191 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
19192
19193 * gdb.base/run.c: Use FAKEARGV to build test executable that
19194 does not require a command line arg, since most simulators
19195 don't currently support passing such an arg into the simulated
19196 program.
19197 * gdb.base/commands.exp: Change tests to insert the proper
19198 value as the arg to the first recursive factorial call. Change
19199 compilation line to define FAKEARGV at compile time.
19200
19201 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
19202
19203 * gdb.base/recurse.exp: Enable these tests for the mn10300.
19204 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
19205 function with watchpoint enabled" test.
19206
19207 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
19208
19209 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
19210 Don't call gdb_test when the command doesn't return to a gdb prompt.
19211
19212 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
19213 "Tests restarted" messages.
19214
19215 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
19216
19217 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
19218
19219 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
19220
19221 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
19222 for INFO SYMBOL; add help tests for OVERLAY commands.
19223 * gdb.base/default.exp: add tests for INFO SYMBOL command;
19224 add tests for OVERLAY commands
19225 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
19226 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
19227 * gdb.base/sigall.c: add usestubs code frag
19228 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
19229
19230 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
19231
19232 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
19233 failures.
19234 (gdb_stop_suppressing_tests): Note that tests have restarted.
19235
19236 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
19237
19238 * config/h8300.exp: New file.
19239
19240 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
19241
19242 * gdb.base/setshow.exp: Check for the existence of a
19243 feature, not its value.
19244
19245 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
19246
19247 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
19248
19249 * gdb.base/scope.exp: It's now init0(), not init().
19250
19251 * gdb.base/scope0.c: For now, change init() to be init0().
19252
19253 * config/monitor.exp: Use gdb_serial in preference to serial
19254 or netport.
19255
19256 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
19257 and it's not already set.
19258
19259 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
19260
19261 * gdb.base/setshow.exp: Only test the run command if the target
19262 isn't using a stub and if it supports argument passing.
19263
19264 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
19265
19266 * config/udi.exp(gdb_start): Make sure UDICONF is set
19267 properly before starting gdb.
19268
19269 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
19270
19271 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
19272 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
19273 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
19274
19275 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
19276
19277 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
19278 specialized code to reboot the board, use remote_reboot instead.
19279
19280 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
19281
19282 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
19283
19284 * config/monitor.exp: Make sure we disconnect from the target.
19285 Also, try a reboot/reload cycle instead of failing if the
19286 load fails.
19287
19288 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
19289
19290 * gdb.base/default.exp: Don't set match_max.
19291 * gdb.base/help.exp: Ditto.
19292 * gdb.base/list.exp: Ditto.
19293 * gdb.base/signals.exp: Ditto.
19294
19295 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
19296 set, use remote_ld to download the testcase instead of
19297 the GDB loader.
19298
19299 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
19300
19301 * config/vr5000.exp: New file.
19302
19303 * config/monitor.exp(gdb_target_monitor): Add pattern for
19304 "Ending remote" to detect errors in connecting.
19305
19306 * gdb.base/setshow.exp: Add .* within auto language test.
19307
19308 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
19309 target feature.
19310
19311 * config/monitor.exp(gdb_load): Check for a failure when loading,
19312 and reboot the board if necessary.
19313
19314 * gdb.base/setvar.exp(test_set): Handle multiple prints within
19315 a set of tests. Remove print.* from the patterns being checked.
19316
19317 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
19318
19319 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
19320 refer to gdb_spawn_id.
19321
19322 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
19323 longer used.
19324 * config/sparclet.exp: Ditto.
19325 * config/sparclet-old.exp: Ditto.
19326 * config/slite.exp: Ditto.
19327 * config/sim.exp: Ditto.
19328 * gdb.base/funcargs.exp: Ditto.
19329
19330 * lib/gdb.exp:Remove references to gdb_spawn_id.
19331 (gdb_expect): Move to remote.exp.
19332
19333 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
19334
19335 * config/monitor.exp: Detect the "Couldn't establish connection"
19336 message from GDB.
19337
19338 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
19339
19340 * gdb.base/bitfields.exp: Use runto instead of explicit
19341 gdb_run_cmd/gdb_expect sequences.
19342
19343 * gdb.base/break.exp(text_next_with_recursion): Add match for
19344 gdb_expect call.
19345
19346 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
19347 We also need to handle the "A program is being debugged already"
19348 prompt from gdb. Use gdb_test to set the baud rate.
19349
19350 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
19351 to 20000. Really. I mean it.
19352
19353 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
19354
19355 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
19356 fails. If suppress_flag is set, skip perror message about not
19357 being able to send to GDB.
19358 (send_gdb): If suppress_flag is set, don't try to send commands to
19359 GDB.
19360 (gdb_expect): If suppress_flag is set, always fail immediately.
19361 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
19362 (gdb_init): Call gdb_stop_suppressing_tests.
19363 (default_gdb_exit): Ditto.
19364 (default_gdb_start): Ditto.
19365
19366 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
19367 gdb_stop_suppressing_tests as appropriate.
19368 * gdb.base/break.exp: Ditto.
19369 * gdb.base/callfuncs.exp: Ditto.
19370 * gdb.base/commands.exp: Ditto.
19371 * gdb.base/exprs.exp: Ditto.
19372 * gdb.base/funcargs.exp: Ditto.
19373 * gdb.base/list.exp: Ditto.
19374 * gdb.base/recurse.exp: Ditto.
19375 * gdb.base/scope.exp: Ditto.
19376 * gdb.base/structs.exp: Ditto.
19377 * gdb.c++/inherit.exp: Ditto.
19378
19379 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
19380
19381 * config/vr4300.exp: New file.
19382
19383 * gdb.*/*.exp: Call gdb_expect instead of expect.
19384
19385 * lib/gdb.exp(gdb_expect): New function.
19386
19387 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
19388
19389 * lib/gdb.exp(gdb_init): New function.
19390
19391 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
19392 for each individual variable set.
19393
19394 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
19395 name.
19396
19397 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
19398
19399 * gdb.base/scope.exp: Use gdb_test.
19400
19401 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
19402 aborting; the testsuite driver will do that for us (see
19403 gdb_finish). Also, use gdb_test in a few more places.
19404
19405 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
19406
19407 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
19408
19409 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
19410
19411 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
19412 and "add_tests" are not at the same address.
19413
19414 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
19415
19416 * gdb.base/ptype.exp: Use gdb_test.
19417
19418 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
19419
19420 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
19421 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
19422 left in. No longer expect them to fail.
19423
19424 * gdb.stabs/*.mt; Deleted, no longer used.
19425 * gdb.stabs/configure.in: Remove references to target makefile
19426 frags.
19427 * gdb.stabs/configure: Rebuilt.
19428
19429 * gdb.disasm/*.mt: Deleted, no longer used.
19430 * gdb.disasm/configure.in: Remove references to target makefile
19431 frags. Use "sh3.s" as the unique filename for this directory.
19432 * gdb.disasm/configure: Rebuilt.
19433
19434 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
19435 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
19436 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
19437
19438 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
19439
19440 * config/udi.exp: Use mondfe,name instead of remote_host.
19441
19442 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
19443
19444 * gdb.base/watchpoint.exp: Don't expect a failure when calling
19445 a function with a watchpoint enabled on the mn10200.
19446
19447 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
19448 before trying to create it!
19449
19450 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
19451
19452 * config/vx.exp: Use hostname instead of netport.
19453
19454 * config/vxworks.exp: New file.
19455
19456 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
19457
19458 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
19459 gdb before assuming everything worked. Send a ^C if a timeout
19460 occurs.
19461
19462 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
19463 $gdb_spawn_id directly.
19464 (gdb_run_cmd): Try _start as well as start. Use the target feature
19465 gdb,start_symbol as the symbol to start from when jumping.
19466
19467 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
19468
19469 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
19470 redundant) test.
19471
19472 * gdb.base/recurse.exp: Relax final value test for 'b' so that
19473 it doesn't lose for 16bit integer systems.
19474
19475 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
19476
19477 * gdb.fortran/types.exp: If the target doesn't support "double"
19478 data types, then expect "real" types to only be 4 bytes.
19479
19480 * gdb.c++/virtfunc.exp: Expect failure for virtual function
19481 call tests if the target doesn't support inferior function calls.
19482
19483 * gdb.base/printcmds.exp: Allow minor deviation in FP values
19484 in printf tests.
19485
19486 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
19487
19488 * gdb.base/help.exp: Disable "help set", "help show", and
19489 "help support". Simplify regexp for "help stack".
19490
19491 * gdb.base/default.exp: Set match_max to 5000 and the timeout
19492 to 60 seconds. Temporarily set match_max to 15000 around the
19493 "info copying" test.
19494
19495 * gdb.base/nodebug.exp: Don't try to do an inferior function
19496 call if the target doesn't support them.
19497 * gdb.base/printcmds.exp: Likewise.
19498 * gdb.base/setvar.exp: Likewise.
19499 * gdb.base/structs.exp: Likewise.
19500 * gdb.c++/templates.exp: Likewise.
19501 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
19502
19503 * gdb.base/recurse.exp: Enable for the mn10200.
19504
19505 * configure.in: Do configure gdb.stabs directory for *-*-elf
19506 targets.
19507 * configure: Rebuilt.
19508
19509 * gdb.base/break.exp: Check for gdb,noresults before testing
19510 exit status and/or results from the target.
19511 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
19512 * lib/gdb.exp: Remove old (now bogus) initialization of
19513 noinferior, noargs, noresults and nosignals.
19514
19515 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
19516
19517 * config/sh.exp: New file.
19518
19519 * config/slite.exp: Try to connect multiple times to the board
19520 before rebooting. Only send a "monitor run" if need_monitor_run
19521 is set.
19522
19523 * gdb.base/break.exp: Don't do the "stub continue" test if
19524 the target has gdb_stub set.
19525
19526 * gdb.base/callfuncs.exp: Increase the timeout.
19527
19528 * gdb.base/interrupt.exp: Don't even try to compile the testcase
19529 if the target has gdb,noinferiorio set.
19530
19531 * gdb.base/list.exp: Increase match_max to 10000 characters.
19532
19533 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
19534
19535 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
19536 target.
19537
19538 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
19539
19540 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
19541
19542 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
19543 trying to delete the copy of gdb. Catch the file delete so we
19544 don't die if the delete fails; also, the file should be copied to
19545 the host, not to the build.
19546
19547 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
19548
19549 * lib/gdb.exp(gdb_test): Surround the result pattern with
19550 parenthesis in case it contains multiple regexps separated
19551 with |.
19552
19553 * gdb.base/watchpoint.exp: Use gdb_test.
19554 * gdb.base/default.exp: Ditto.
19555
19556 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
19557
19558 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
19559
19560 * gdb.base/scope.exp: Use gdb_test.
19561 * gdb.c++/classes.exp: Ditto.
19562 * gdb.c++/inherit.exp: Ditto.
19563
19564 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
19565
19566 * gdb.base/crossload.exp: Don't use execute_anywhere, use
19567 remote_exec instead.
19568 * gdb.base/corefile.exp: Don't be ridiculous.
19569 * gdb.base/*.c: Add missing stub invocations.
19570
19571 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
19572
19573 * config/slite.exp: Miscellaneous fixes.
19574
19575 * lib/gdb.exp: Fix runto.
19576
19577 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
19578 the target.
19579
19580 * gdb.base/watchpoint.exp: Fix regexp.
19581
19582 * lib/gdb.exp(default_gdb_exit): Add a catch to the
19583 close and wait commands, as the descriptor may now be
19584 invalid. Always call "remote_close host".
19585
19586 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
19587
19588 Major rewrite for testsuite revision.
19589
19590 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
19591 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
19592 instead of relying on spawn_id to always contain a valid
19593 spawn id.
19594 (get_compiler_info): New procedure to build the ${binfile}.ci
19595 file, instead of replicating this in N different places.
19596 (gdb_compile): New procedure.
19597
19598 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
19599 appropriate arguments) instead of compile. Use gdb_test in a lot
19600 more places. Use send_gdb instead of send. Always run gdb_start
19601 at the start of a testcase, as this is no longer done magically.
19602
19603 config/*-gdb.exp: Rename without the -gdb suffix.
19604
19605 config/mips.exp: Use remote_close instead of exit_remote_shell.
19606 config/monitor.exp: Use target_info instead of looking at
19607 baud, timeout, etc.
19608 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
19609
19610 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19611
19612 * gdb.c++/templates.exp (test_ptype_of_templates),
19613 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
19614 Update expect patterns for destructors and assignment operators
19615 to match corresponding c-typeprint.c changes.
19616 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
19617 to destructor breakpoint test, GDB should be able to set the
19618 destructor breakpoint without specifying arguments.
19619
19620 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
19621
19622 * gdb.threads/pthreads.exp: Change result for failure to compile due
19623 to lack of pthreads runtime support from an error to simply an
19624 unsupported test, per dejagnu standards.
19625
19626 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19627
19628 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
19629 where GDB exits to reduce pattern match time.
19630 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
19631
19632 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
19633
19634 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
19635
19636 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
19637 * gdb.base/default.exp: ditto.
19638 * gdb.base/nodebug.exp: ditto.
19639 * gdb.base/printcmds.exp: ditto.
19640 * gdb.base/ptype.exp: ditto.
19641 * gdb.base/setvar.exp: ditto.
19642 * gdb.base/structs.exp: ditto.
19643 * gdb.base/setshow.c: Guard against uninitialized values of argc.
19644
19645 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
19646
19647 * configure, */configure: Rebuild with autoconf 2.12.
19648
19649 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
19650
19651 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
19652 use new i*86-pc-linux*-gnu quads.
19653 * gdb.base/corefile.exp: Ditto.
19654 * gdb.base/signals.exp: Ditto.
19655 * gdb.base/sigall.exp: Ditto.
19656 * gdb.base/interrupt.exp: Ditto.
19657
19658 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
19659 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
19660 RedHat 4.0.
19661
19662 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
19663 linux. This allows the test case to at least compile on latest
19664 linux, but still not run due to missing the threads runtime library.
19665
19666 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19667
19668 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
19669 directory to search gdb directory. Accept and step over conditional
19670 stack alignment code. Consume $prompt in failure cases.
19671 Reset timeout to $oldtimeout instead of some arbitrary value.
19672 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
19673 timeout problems with infinite stack backtraces.
19674 * gdb.base/ptype.exp (ptype struct link, union tu_link):
19675 Accept function parameters for linkfunc member.
19676
19677 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
19678
19679 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
19680 (CXXFLAGS): Remove, unreferenced.
19681 (B_OPTIONS): Add for -B options and add code to initialize with
19682 previous -B options and also add -B option to pick up cross compiled
19683 runtime.
19684 (TARGET_INCLUDES): Add for -I options and add code to initialize when
19685 doing cross compiles.
19686 (target_alias): Declare global.
19687 (xgcc): Set variable to full path of gcc in build tree. Use findfile
19688 to verify that gcc exists in build tree, and if so set CC to that
19689 gcc and to use B_OPTIONS and TARGET_INCLUDES.
19690
19691 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
19692
19693 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
19694 ptype test for anonymous union. Fixup testcase to match
19695 current gcc debug output.
19696
19697 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
19698
19699 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
19700 force argument to an unsigned long type.
19701
19702 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
19703
19704 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
19705 tests and anonymous union print/ptype tests.
19706 * gdb.base/list.exp (test_forward-search): Increase timeout by
19707 5 minutes for the "search extremely long line" case.
19708 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
19709 completely optional and that the pass/fail messages use the command as
19710 the message if that third arg is a null string.
19711 (gdb_test_exact): Arrange that a null string pattern means match a
19712 null string output rather than any output, which might include random
19713 errors.
19714 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
19715 backtrace test.
19716 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
19717 always failing and failure is now exposed by gdb.exp changes.
19718
19719 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
19720
19721 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
19722 weren't being noted.
19723
19724 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19725
19726 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
19727 * gdb.stabs/weird.exp: Remove v_comb xfails.
19728
19729 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
19730
19731 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
19732 list.exp scope.exp watchpoint.exp]
19733 Make all timeout error msgs explicitly say "(timeout)".
19734
19735 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
19736
19737 * config/monitor.exp: Increase download timeout to 1000 seconds.
19738
19739 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
19740
19741 * config/m32r.exp: Increase timeout to 120 seconds.
19742
19743 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
19744
19745 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
19746 and accept older ordering as obsolescent gcc or gdb.
19747 * gdb.c++/templates.exp: Ditto.
19748 * gdb.c++/virtfunc.exp: Ditto.
19749
19750 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
19751
19752 * gdb.base/coremaker.c: Add code to mmap some data so we
19753 can check that it ends up in the core file.
19754 * gdb.base/corefile.exp: Add test to read mmapped data
19755 from core file.
19756
19757 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
19758
19759 * config/m32r.exp: New file.
19760
19761 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
19762
19763 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
19764 that cflags can contains -gstabs, and work correctly for other tests.
19765
19766 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
19767
19768 * gdb.base/setshow.exp: New file, tests show and set.
19769 * gdb.base/setshow.c: New file, tests show and set.
19770 * gdb.base/help.exp: Add test for help set|show annotate.
19771 * gdb.base/default.exp: Add test for set|show annotate.
19772
19773 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
19774
19775 * testsuite/gdb.base/break.exp: Make backtrace from factorial
19776 errors unique.
19777 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
19778 explicitly.
19779
19780 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
19781
19782 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
19783 and width commands. This is done elsewhere.
19784 * (gdb_start): Don't call gdb_start_sim here. That's already
19785 done in gdb_load. This fixes lots of failures in default.exp.
19786
19787 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
19788
19789 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
19790 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
19791 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
19792 in the same we we treat other failures (since it may be an expected
19793 condition), rather than as an error.
19794 * gdb.base/signals.exp (test_handle_all_print): Revert back to
19795 old test format.
19796
19797 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
19798
19799 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
19800 (distclean maintainer-clean realclean): No need to remove files
19801 twice. Nuke the duplicates.
19802 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
19803 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
19804 Remove config.h along with other config files.
19805
19806 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
19807
19808 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
19809 "p func1 ()" and note that rests of tests are skipped.
19810 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
19811 setup_xfails for "print func2::coremaker_local".
19812 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
19813 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
19814 affected by the previous run test.
19815 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
19816 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
19817 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
19818 "pass int powerset tuple" and "pass modeless int powerset tuple".
19819 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
19820 "real write 4" and "real write 8".
19821 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
19822 setup_xfails for "print vs1 after tuple assign 2",
19823 "print \$i after tuple assign 2", and
19824 "print vs2 after tuple assign 2".
19825 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
19826 meaningful error message and return -1 so the caller can
19827 suppress further tests and avoid a cascade of errors.
19828
19829 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
19830
19831 * gdb.base/a1-selftest.exp: Tweak tests to account for new
19832 format for printing version.
19833 * gdb.base/default.exp: Ditto.
19834 * gdb.base/interrupt.exp: Fix problem with cascade of
19835 errors if child process dies while calling a function.
19836
19837 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
19838
19839 * Makefile.in (VPATH): Add
19840 * Makefile.in (Makefile, config.status): Fix rules so things get
19841 remade when necessary.
19842
19843 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
19844
19845 * Makefile.in (just-check): Add path to sibling expect dir
19846 to environment variable specified by RPATH_ENVVAR.
19847
19848 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
19849
19850 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
19851 (just-check): Add shared library paths for libstdc++, tk,
19852 tcl, bfd, and opcodes to the environment variable specified
19853 in RPATH_ENVVAR.
19854 * configure.in: Add support to recognize --enable-shared flag
19855 and generate correct value for RPATH_ENVVAR.
19856 * configure: Regenerated with autoconf.
19857
19858 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
19859
19860 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
19861 include all osf versions.
19862 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
19863 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
19864 when target is linux. When failing to build pthreads test
19865 executable, give more meaningful message.
19866 * gdb.threads/pthreads.c: Hpux also uses old definition of second
19867 arg for pthread_create.
19868
19869 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
19870
19871 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
19872 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
19873 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
19874 and -lpthreads (everybody else).
19875 (test_startup): Fail gracefully if threads are not supported.
19876 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
19877 "p/c array_index("abcdef",2)" when not gcc compiled.
19878 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
19879 "print func2::coremaker_local" when not gcc compiled.
19880 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
19881 "ptype on opaque struct tagname (statically)",
19882 "ptype on opaque struct tagname (dynamically) 1", and
19883 "ptype on opaque struct tagname (dynamically) 2"
19884 for not compiled with gcc.
19885 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
19886 backtrace when compiled with gcc.
19887 * lib/gdb.exp (runto_main): Return result of "runto main" rather
19888 than always return success.
19889
19890 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
19891
19892 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
19893
19894 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
19895
19896 * gdb.base/structs.exp: Undo last change.
19897
19898 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
19899
19900 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
19901 encapsulate all the steps/nexts done during self test, starting
19902 at main, and makes them less sensitive to optimization issues.
19903 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
19904 signal handler" test.
19905 * gdb.threads/pthreads.exp: Only run this for native configs.
19906 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
19907 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
19908 tests.
19909 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
19910 for "runto test_calls(void)" test.
19911
19912 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
19913
19914 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
19915 and don't expect address info in breakpoint confirmations.
19916
19917 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
19918
19919 * gdb.base/list.exp (test_forward_search): Increase timeout
19920 temporarily by 60 seconds for searching extremely long line,
19921 and then reset to old value when done. Increase expect input
19922 buffer to 10000.
19923
19924 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
19925
19926 * gdb.base/list.exp (test_forward_search): Fix to handle very
19927 long source line without overflowing expect's input buffer.
19928
19929 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
19930
19931 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
19932 "buffer_full".
19933
19934 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
19935 "buffer_full".
19936
19937 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
19938 "buffer_full".
19939
19940 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
19941 "buffer_full".
19942
19943 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
19944
19945 * configure.in (configdirs): Add gdb.threads.
19946 * configure: Regenerated with autoconf.
19947 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
19948 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
19949 * gdb.threads/configure: New, generated with autoconf.
19950
19951 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
19952
19953 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
19954
19955 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
19956
19957 * gdb.base/signals.exp (test_handle_all_print): Test separately for
19958 each signal's status in the output of "handle all print".
19959 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
19960 the \r\n sequence that immediately precedes the gdb prompt.
19961 * gdb.base/a1-selftest.exp: Save original timeout and restore
19962 after test.
19963
19964 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
19965
19966 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
19967 symbol.
19968
19969 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
19970
19971 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
19972
19973 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
19974
19975 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
19976 timeout by 60 seconds.
19977
19978 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
19979
19980 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
19981 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
19982 error return.
19983
19984 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
19985
19986 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
19987 gdb initialization, also report how long dejagnu waited. Restore
19988 old timeout before doing error return. Temporarily increase timeout
19989 by 3 minutes to allow for slow startups over heavy NFS use.
19990
19991 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
19992
19993 * lib/gdb.exp: Report timeout value for verbosity level 2.
19994 * config/gdbserver.exp: Ditto.
19995 * config/hppro.exp: Ditto.
19996 * config/mips-gdb.exp: Ditto.
19997 * config/monitor.exp: Ditto.
19998 * config/netware.exp: Ditto.
19999 * config/sim-gdb.exp: Ditto.
20000 * config/slite-gdb.exp: Ditto.
20001 * config/udi-gdb.exp: Ditto.
20002 * config/unix-gdb.exp: Ditto.
20003 * config/vx-gdb.exp: Ditto.
20004 * gdb.base/a1-selftest.exp: Ditto.
20005 * gdb.base/a2-run.exp: Ditto.
20006 * gdb.base/break.exp: Ditto.
20007 * gdb.base/corefile.exp: Ditto.
20008 * gdb.base/list.exp: Ditto.
20009 * gdb.base/recurse.exp: Ditto.
20010 * gdb.base/scope.exp: Ditto.
20011 * gdb.base/signals.exp: Ditto.
20012
20013 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20014
20015 * gdb.threads/Makefile.in (docdir): Removed.
20016
20017 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
20018
20019 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
20020 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
20021 @srcdir@.
20022 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
20023 autoconf 2.5 or higher.
20024 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
20025
20026 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
20027
20028 * configure: Regenerated.
20029 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
20030 avoid name clashes with SunOS headers.
20031
20032 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
20033
20034 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
20035
20036 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
20037
20038 * gdb.base/callfuncs.exp: Finish last change -- make sure the
20039 prototype information ends up in the compiler info file.
20040
20041 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
20042
20043 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
20044 attempting to regenerate it. Eliminate use of a temporary file
20045 and just generate the info file directly. Source it immediately,
20046 for consistency of use.
20047 * gdb.base/corefile.exp: Ditto
20048 * gdb.base/exprs.exp: Ditto.
20049 * gdb.base/funcargs.exp: Ditto.
20050 * gdb.base/langs.exp: Ditto.
20051 * gdb.base/list.exp: Ditto.
20052 * gdb.base/mips_pro.exp: Ditto.
20053 * gdb.base/nodebug.exp: Ditto.
20054 * gdb.base/opaque.exp: Ditto.
20055 * gdb.base/ptype.exp: Ditto.
20056 * gdb.base/scope.exp: Ditto.
20057 * gdb.base/setvar.exp: Ditto.
20058 * gdb.base/signals.exp: Ditto.
20059 * gdb.base/whatis.exp: Ditto.
20060 * gdb.c++/templates.exp: Ditto.
20061 * gdb.c++/virtfunc.exp: Ditto.
20062 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
20063 whether or not to add -lstdc++ to the compile command line args.
20064
20065 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20066
20067 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
20068 it got fixed by the recent lookup_minimal_symbol_by_pc change.
20069 Increase timeout, a lot of single stepping might be needed if the
20070 target has no hardware watchpoints.
20071
20072 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
20073
20074 * gdb.base/break.exp: Ignore compiler warnings when compiling
20075 break.c.
20076 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
20077 * gdb.base/default.exp: Add h8300 xfails. Handle messages
20078 from remote-sim.
20079 * gdb.base/exprs.exp: Add h8300 xfails.
20080 * gdb.base/funcargs.exp: Likewise.
20081 * gdb.base/nodebug.exp: Likewise.
20082 * gdb.base/printcmds.exp: Likewise.
20083 * gdb.base/ptype.exp: Likewise.
20084 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
20085 h8300 xfails.
20086 * gdb.base/return.exp: Handle float/double precision problems
20087 on the h8300.
20088 * gdb.base/funcargs.c: Explicitly make last constant argument to
20089 call_after_alloca_subr an unsigned long type.
20090 * gdb.base/return.c: Include stdio.h.
20091
20092 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
20093
20094 * config/abug.exp: New file for the older Motorola Bug monitor
20095 that runs on the mvme13x series VME boards.
20096 * config/monitor.exp: Use the new config array for target settings
20097 if they exist.
20098
20099 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
20100
20101 * sim-gdb.exp: Make the SH simulator allocate less space when
20102 it is targeted.
20103
20104 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
20105
20106 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
20107 test.
20108
20109 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
20110
20111 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
20112 "rs6000-*-*" for "list function in include file" when gcc compiled.
20113 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
20114 for "p ctable1[120]".
20115 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
20116 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
20117 Remove setup_xfail for "rs6000-*-*" for
20118 "print 'scope0.c'::filelocal before run".
20119 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
20120 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
20121 since some compilers don't allow both options to be given
20122 on the same command line. Create object file and move it.
20123
20124 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
20125
20126 * gdb.base/corefile.exp: Always regenerate the core file, since
20127 we always regenerate the coremaker program. Detect special case
20128 where registers cannot be read from core file.
20129
20130 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
20131
20132 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
20133 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
20134 * gdb.c++/templates.exp: Only match on basename of file since
20135 some formats like xcoff don't encode directory information.
20136 * gdb.stabs/weird.exp: Use the right sed script for powerpc
20137 and rs6000 AIX xcoff targets.
20138 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
20139 * configure: Regenerate.
20140 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
20141 here, rather than in distclean.
20142
20143 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
20144
20145 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
20146 defined, and use it to compile the test case with -O2. The
20147 native compilation still uses no optimization.
20148 * gdb.base/mips_pro.c: Remove inline assembly code since
20149 it is compiled PIC by default, which results in assembler
20150 warnings that make the testsuite think the compilation
20151 was unsuccessful.
20152
20153 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
20154
20155 * gdb.c++/misc.exp: Add note to message for
20156 "print s.a for foo struct" that this is a known gcc 2.7.2
20157 and earlier bug.
20158
20159 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
20160
20161 * gdb.base/break.exp: Fix pattern for matching "Delete all
20162 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
20163 setup_xfail for deleting all breakpoints test. Fix various
20164 timeout messages to include "(timeout)".
20165 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
20166 for "p t_float_values2(3.14159,float_val2)".
20167 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
20168 for "continue to call2g" when gcc compiled.
20169 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
20170 "up to foo in langs.exp", "show language at foo in langs.exp",
20171 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
20172 and "show language at fsub in langs.exp".
20173 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
20174 "list line 1 in include file", "list message for lines past EOF",
20175 "list function in include file", "list list0.h:foo", and
20176 "list filename:function; nonexistant function".
20177 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
20178 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
20179 and "ptype t_char_array" to be for native cc only.
20180
20181 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
20182
20183 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
20184 setup_xfail for "print coremaker_bss", "print coremaker_ro",
20185 "print func2::coremaker_local", and "backtrace in corefile.exp".
20186
20187 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
20188
20189 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
20190 "bt in signals.exp". This problem only appears when running
20191 the testsuite, and then only intermittently.
20192
20193 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
20194
20195 * gdb.base/return.exp (return_tests): Differentiate between
20196 two tests of continuing.
20197
20198 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
20199
20200 * */Makefile.in (maintainer-clean): Remove config.log.
20201 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
20202 * gdb.c++/Makefile.in (PROGS): Add inherit.
20203 (clean): Remove *.ci.
20204
20205 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
20206
20207 * gdb.c++/misc.cc: Add test code from Mike Stump.
20208 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
20209
20210 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
20211
20212 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
20213 to "alpha-*-osf2*" and add comment.
20214 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
20215 setup_xfail for "step over execarg initialization" and
20216 "step over corearg initialization".
20217 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
20218 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
20219 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
20220 gcc compiled for "print coremaker_bss", "print coremaker_ro",
20221 "print func2::coremaker_local", and "backtrace in corefile.exp".
20222 * gdb.base/signals.exp: Build and source signals.ci.
20223 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
20224 to be for gcc only.
20225 * lib/gdb.exp: Move verbose statements outside conditionals.
20226
20227 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20228
20229 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
20230 Feb 3 procfs.c change.
20231
20232 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
20233
20234 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
20235
20236 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
20237
20238 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
20239 from dejagnu's apparent default of 10 seconds, which gives random
20240 results when running the tests over NFS on moderately loaded systems.
20241 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
20242
20243 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
20244
20245 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
20246 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
20247 result reports.
20248
20249 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
20250
20251 * configure.in (CY_AC_PATH_TCLH): Remove.
20252 * configure: Regenerate.
20253
20254 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
20255
20256 * gdb.c++/Makefile.in (clean): Add missing '{'.
20257
20258 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
20259
20260 * lib/gdb.exp: Provide a default value for noinferior.
20261
20262 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
20263 Load libgloss.exp.
20264
20265 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
20266
20267 * gdb.disasm/hppa.exp: Compile directly into an executable, use
20268 the executable, not the .o to run the tests from.
20269
20270 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
20271
20272 * gdb.base/break.exp: Don't test for program exit or exit status
20273 if $noresults if nonzero.
20274 * gdb.base/langs.exp: Likewise.
20275 * gdb.base/watchpoint.exp: Likewise.
20276
20277 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
20278 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
20279 trying to compile the testcase.
20280
20281 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
20282
20283 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
20284 * gdb.base/signals.exp (continue to handler): Likewise.
20285
20286 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
20287
20288 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
20289
20290 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
20291
20292 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
20293
20294 * gdb.base/corefile.exp: Recognize "not found" as failure
20295 when trying to determine if a core file was generated.
20296 If no core file was generate the first time, try again without
20297 the ulimit -c to work around braindamaged shells.
20298
20299 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
20300
20301 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
20302 [] tests with "test" and enclose string in quotes.
20303 * gdb.stabs/configure: Rebuild
20304
20305 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
20306
20307 Changes in sync with expect:
20308 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
20309 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
20310 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
20311 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
20312 argument to AC_REQUIRE.
20313 * configure: Regenerated.
20314
20315 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
20316
20317 * gdb.base/corefile.exp: When generating a core, discard any
20318 error messages about ulimit not found and the "core dumped"
20319 message from the shell that runs the coredumper.
20320
20321 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
20322
20323 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
20324
20325 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
20326 which sed script to run. Expect failure for v_comb test
20327 on PA targets too.
20328
20329 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
20330
20331 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
20332 "print func2::coremaker_local" and for "backtrace in corefile.exp"
20333
20334 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
20335
20336 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
20337 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
20338 "sparc-sun-solaris*" xfails for "p v_comb".
20339 * lib/gdb.exp (default_gdb_start): Fix typo.
20340 * gdb.base/corefile.exp: Allow "Core was generated by ..."
20341 messages to not include the full program name that caused
20342 the core dump since some systems (such as solaris) apparently
20343 truncate this path to about 80 characters.
20344 When generating a core file first try increasing the core file
20345 size limit to unlimited since some systems may default it to
20346 zero, and it is harmless to try it. Move the test for failing
20347 to generate a core file to where it will actually get executed.
20348 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
20349 new gdb result from g++ debug info improvements and make old
20350 pattern obsolescent. Also account for size_t differences
20351 (may be int or long).
20352 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
20353 initialization before function call is placed in the delay slot
20354 and thus appears to be skipped over by commands such as "next".
20355
20356 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
20357
20358 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
20359
20360 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
20361
20362 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
20363 input source file; fix code to compile test to deal with this
20364 convention.
20365 * gdb.c++/*.exp: Likewise.
20366
20367 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
20368
20369 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
20370 "bt in signals.exp".
20371
20372 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
20373
20374 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
20375 "step over execarg initialization" and
20376 "step over corearg initialization".
20377
20378 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
20379
20380 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
20381 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
20382
20383 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
20384
20385 From Rob Savoye (rob@poseidon.cygnus.com)
20386 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
20387 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
20388 configure.in}, gdb.disasm/{Makefile.in, configure.in},
20389 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
20390 configure.in}: Major reworking for autoconfig.
20391 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
20392 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
20393 New files.
20394 * config/unix-gdb.exp: Make GDB global.
20395 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
20396 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
20397 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
20398 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
20399 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
20400 term.exp, twice.exp, watchpoint.exp, whatis.exp},
20401 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
20402 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
20403 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
20404 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
20405 pr-8136.exp, result.exp, string.exp, tuples.exp},
20406 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
20407 to returns as necessary, arrange for test to compile own testcase
20408 executable.
20409 * lib/gdb.exp: Changes for testsuite to compile own test cases.
20410
20411 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
20412
20413 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
20414 clear_xfail at end of test which might not call either pass or fail.
20415 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
20416 "backtrace through signal handler".
20417
20418 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20419
20420 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
20421 continuing from a job control stop signal.
20422 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
20423
20424 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
20425
20426 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
20427 * gdb.base/corefile.exp: Likewise.
20428 * gdb.base/funcargs.exp: Likewise.
20429
20430 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
20431
20432 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
20433 * config/monitor.exp: Add support for setting baud rate.
20434
20435 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
20436
20437 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
20438 i*86-*-linux* xfails for "backtrace through signal handler".
20439 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
20440 "print func2::coremaker_local".
20441 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
20442 alpha-dec-osf2* xfail for
20443 "delete all breakpoints when none".
20444
20445 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
20446
20447 * gdb.base/break.exp: Change test that deletes all breakpoints
20448 when no user breakpoints are installed. A post 4.15 change
20449 causes gdb to no longer prompt in this case.
20450
20451 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
20452
20453 * gdb.base/return.exp (return_tests): Change xfail for test
20454 "correct value returned double test" to stop xfailing at
20455 Solaris 2.5. Apparently the bug has been fixed.
20456
20457 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
20458
20459 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
20460 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
20461
20462 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
20463
20464 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
20465 * gdb.disasm/hppa.s: Corresponding changes.
20466
20467 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
20468
20469 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
20470 makefile fragment.
20471 * config/mt-hpux: Deleted.
20472
20473 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
20474
20475 * Many files: When warning about suppressed tests due to a
20476 nonexistant test binary, avoid incrementing the warning count.
20477
20478 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
20479
20480 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
20481
20482 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20483
20484 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
20485 "sparc-*-solaris2*".
20486
20487 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20488
20489 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
20490 Add global and local variables and initialize them.
20491 * gdb.base/corefile.exp: Test correct mapping of corefile sections
20492 by printing variables. Remove rs6000 and powerpc xfails, BFD now
20493 extracts the file name and terminating signal from the core file.
20494 * TODO: Remove note about tests for correct mapping of corefile.
20495 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
20496 from optimizing it away.
20497 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
20498 handles common blocks.
20499
20500 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
20501
20502 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
20503 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
20504
20505 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
20506
20507 * Makefile.in (maintainer-clean): New target, synonym for
20508 realclean.
20509 * gdb.base/Makefile.in (maintainer-clean): Likewise.
20510 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
20511 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
20512 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
20513 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
20514 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
20515
20516 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
20517
20518 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
20519 xfails when not gcc compiled for "print foo::funclocal".
20520 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
20521 "print foo::funclocal at foo",
20522 "print 'scope1.c'::foo::funclocal at foo",
20523 "print foo::funclocal_bss at foo",
20524 "print 'scope1.c'::foo::funclocal_bss at foo",
20525 "print foo::funclocal_ro at foo",
20526 "print 'scope1.c'::foo::funclocal_ro at foo",
20527 "print bar::funclocal at foo" and
20528 "print 'scope1.c'::bar::funclocal at foo".
20529 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
20530 gcc compiled for "print foo::funclocal at bar".
20531 Expand all messages to ensure that they identify that
20532 the test is at bar().
20533 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
20534 gcc compiled for:
20535 "ptype on opaque struct pointer (statically)",
20536 "ptype on opaque struct tagname (statically)",
20537 "ptype on opaque struct pointer (dynamically) 1",
20538 "ptype on opaque struct tagname (dynamically) 1",
20539 "ptype on opaque struct pointer (dynamically) 2" and
20540 "ptype on opaque struct tagname (dynamically) 2
20541 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
20542 gcc compiled for:
20543 "p datalocal"
20544 "whatis datalocal",
20545 "ptype datalocal",
20546 "p bsslocal",
20547 "whatis bsslocal", and
20548 "ptype bsslocal".
20549 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
20550 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
20551 when not gcc compiled.
20552 * gdb.base/funcargs.exp (float_and_integral_args): Add
20553 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
20554 compiled.
20555 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
20556 "backtrace from call6a" when not gcc compiled.
20557 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
20558 "backtrace from call7a" when not gcc compiled.
20559 * gdb.base/callfuncs.exp (do_function_calls):
20560 Add "hppa*-*-hpux*" xfail when not gcc compiled for
20561 "p t_char_array_values(char_array_val2,char_array_val1)",
20562 "p t_char_array_values(char_array_val1,char_array_val2)",
20563 "p t_char_array_values("carray 1","carray 2")",
20564 "p t_char_array_values("carray 1",char_array_val2)",
20565 "p t_char_array_values(char_array_val1,"carray 2")",
20566 "p sum_args(1,{2})",
20567 "p sum_args(2,{2,3})",
20568 "p sum_args(3,{2,3,4})",
20569 "p sum_args(4,{2,3,4,5})"
20570 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
20571 "backtrace in corefile.exp" when not gcc compiled.
20572
20573 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20574
20575 * gdb.base/signals.exp: Rewrite `handle all print' test as
20576 a procedure. Accept blanks or TABs as whitespace, increase
20577 timeout and expect input buffer size for the large output
20578 from the command. Remove "i*86-*-bsdi2.0" xfail.
20579
20580 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20581
20582 * gdb.base/setvar.exp: Add new testcases for truncation when
20583 assigning invalid values to bitfields.
20584
20585 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
20586
20587 * gdb.base/callfuncs.exp (do_function_calls): Remove
20588 mips-sgi-irix* xfail for
20589 "call inferior func with struct - returns char *"
20590 and fix test so that an optional (unsigned char *) cast is
20591 accepted in the result.
20592
20593 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
20594
20595 * gdb.base/funcargs.exp (float_and_integral_args): Remove
20596 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20597 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
20598 * gdb.base/signals.exp: Remove duplicate "handle all print" test
20599 that accidentally got checked in.
20600
20601 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
20602
20603 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
20604 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
20605 compiled test.
20606 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
20607 Add mips-sgi-irix5* xfail for not gcc compiled.
20608 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
20609 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
20610 "p top", "whatis top", "p middle", and "whatis middle".
20611 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
20612 "whatis signed char" for not gcc compiled.
20613 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
20614 "set variable signed char=-1 (-1)" and
20615 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
20616 * gdb.base/funcargs.exp (float_and_integral_args):
20617 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
20618 Add mips-sgi-irix* xfail when not gcc compiled for
20619 "continue to call2b".
20620 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
20621 "continue to call2g".
20622 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
20623 "backtrace from call6a"
20624 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
20625 "backtrace from call7k".
20626 Add mips-sgi-irix5* xfail when not gcc compiled for
20627 "backtrace from call7a".
20628 (localvars_after_alloca): Fix gdb_test cmds for
20629 "print * after runto ...".
20630 Remove rs6000-*-* xfails for
20631 "print i after runto localvars_after_alloca" and
20632 "print l after runto localvars_after_alloca"
20633 for all compilers.
20634 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
20635 when not compiled with gcc, for:
20636 "print signed char == (minus)",
20637 "print signed char != (minus)",
20638 "print signed char < (minus)",
20639 "print signed char > (minus)".
20640 * gdb.base/callfuncs.exp (do_function_calls):
20641 Add mips-sgi-irix* xfail, when compiled with native compiler, for
20642 "call inferior func with struct - returns char *".
20643 * gdb.base/return.exp (return_tests): Change xfail for
20644 "correct value returned double test" to include Solaris 2.4.
20645 * gdb.base/funcargs.exp (float_and_integral_args):
20646 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
20647
20648 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20649
20650 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
20651 enumeration bitfields if compiling with GNU C.
20652 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
20653 to empty' prompt.
20654
20655 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
20656
20657 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
20658 test for PRO targets.
20659
20660 * gdb.base/funcargs.exp: Avoid ever setting more than 8
20661 breakpoints in the inferior at any given time by making
20662 two groups of breakpoints for call2*, call6* and call7*
20663 tests.
20664
20665 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20666
20667 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
20668 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
20669 from optimizing it away.
20670 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
20671 "call inferior func with struct".
20672
20673 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
20674
20675 * configure.in: Only configure gdb.chill for particular targets.
20676
20677 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
20678
20679 * gdb.base/Makefile.in: Add action to .c.o transformation
20680 rule that generates a .ci file for each .o file and remove
20681 explicit .c.o rules except for callfuncs.o.
20682 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
20683 generates a .ci file for each .o file and remove explicit
20684 .cc.o rules.
20685 (clean): Remove *.tmp *.ci files.
20686 (EXECUTABLES): Remove templ-info.exp.
20687 * gdb.base/compiler.c: New file.
20688 * gdb.c++/compiler.cc: New file
20689 * gdb.base/scope.exp: Source gdb.base/scope.ci.
20690 Change rs6000-*-* xfail for
20691 "print 'scope0.c'::filelocal_ro" and
20692 "print 'scope1.c'::filelocal" and
20693 "print 'scope1.c'::filelocal_bss" and
20694 "print 'scope1.c'::filelocal_ro" and
20695 "print 'scope1.c'::foo::funclocal" and
20696 "print 'scope1.c'::foo::funclocal_ro" and
20697 "print 'scope1.c'::bar::funclocal" and
20698 "print 'scope0.c'::filelocal_ro" and
20699 "print 'scope1.c'::filelocal at foo" and
20700 "print 'scope1.c'::filelocal_bss at foo" and
20701 "print 'scope1.c'::filelocal_ro at foo" and
20702 "print 'scope1.c'::foo::funclocal at foo" and
20703 "print 'scope1.c'::foo::funclocal_bss at foo" and
20704 "print 'scope1.c'::foo::funclocal_ro at foo" and
20705 "print 'scope1.c'::bar::funclocal at foo" and
20706 "print 'scope0.c'::filelocal_ro" and
20707 "print 'scope1.c'::filelocal" and
20708 "print 'scope1.c'::filelocal_bss" and
20709 "print 'scope1.c'::filelocal_ro" and
20710 "print 'scope1.c'::foo::funclocal" and
20711 "print 'scope1.c'::foo::funclocal_bss" and
20712 "print 'scope1.c'::foo::funclocal_ro" and
20713 "print 'scope1.c'::bar::funclocal" and
20714 "print 'scope1.c'::bar::funclocal_bss"
20715 to only be xfail'd when not compiled with gcc.
20716 Add rs6000-*-* xfail for
20717 "print 'scope0.c'::filelocal_bss before run"
20718 when compiled with gcc.
20719 (test_at_main): Add rs6000-*-* xfail for
20720 "print filelocal_ro in test_at_main"
20721 when compiled with gcc.
20722 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
20723 Add rs6000-*-aix* xfail for
20724 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
20725 "ptype t_char_array", not compiled with gcc.
20726 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
20727 xfail for "list foo (in include file)" when gcc compiled.
20728 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
20729 (integral_args): Add rs6000-*-* xfail for
20730 "run to call0a" if not compiled with gcc.
20731 (unsigned_integral_args): Add rs6000-*-* xfail for
20732 "run to call1a" if not compiled with gcc.
20733 (float_and_integral_args): Add rs6000-*-* xfail for
20734 "run to call2a" if not compiled with gcc and for
20735 "continue to call2b" for any compiler.
20736 Add rs6000-*-* xfail to
20737 "print f1 after run to call2a" for gcc compiled.
20738 (discard_and_shuffle): Add rs6000-*-* xfail for
20739 "run to call6a".
20740 (shuffle_round_robin): Add rs6000-*-* xfail for
20741 "backtrace from call7a" if not compiled with gcc.
20742 Add rs6000-*-* xfail for
20743 "backtrace from call7b" if compiled with gcc.
20744 (call_after_alloca): Add rs6000-*-* xfail for
20745 "print c in call_after_alloca" and
20746 "print s in call_after_alloca" and
20747 "backtrace from call_after_alloca_subr"
20748 if not compiled with gcc.
20749 (localvars_in_indirect_call): Add rs6000-*-* xfail for
20750 "print c in localvars_in_indirect_call" and
20751 "print c in localvars_in_indirect_call" and
20752 "backtrace in indirectly called function" and
20753 "stepping into indirectly called function"
20754 if not compiled with gcc.
20755 (localvars_after_alloca): Add rs6000-*-* xfail for
20756 "print c after runto localvars_after_alloca" and
20757 "print s after runto localvars_after_alloca" and
20758 "print i after runto localvars_after_alloca" and
20759 "print l after runto localvars_after_alloca"
20760 for all compilers.
20761 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
20762 than whatis-info.exp.
20763 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
20764 than opaque-info.exp.
20765 Setup rs6000-*-* xfail for
20766 "ptype on opaque struct pointer (statically)" and
20767 "ptype on opaque struct pointer (dynamically)" when
20768 not compiled with gcc.
20769 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
20770 rather than callf-info.exp.
20771 (do_function_calls): Add clear_xfail for rs6000-*-* for
20772 "p t_float_values2(3.14159,float_val2)". Seems to work
20773 fine there, both with xlc and gcc. Need to find out what
20774 it is doing right and fix other platforms.
20775 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
20776 "call inferior func with struct - returns int",
20777 "call inferior func with struct - returns long",
20778 "call inferior func with struct - returns float",
20779 "call inferior func with struct - returns double",
20780 "call inferior func with struct - returns char *",
20781 but only if not gcc compiled (presumes xlc compiled).
20782 Change rs6000-*-* xfails for
20783 "call inferior func with struct - returns char" and
20784 " call inferior func with struct - returns short" to only
20785 xfail if not using gcc.
20786 (clean mostlyclean): Remove *.ci and *.tmp files.
20787 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
20788 than templ-info.exp.
20789 * gdb.base/langs.exp: Source gdb.base/langs.ci.
20790 Add rs6000-*-* xfail for "up to foo in langs.exp"
20791 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
20792 when not gcc compiled.
20793
20794 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20795
20796 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
20797 * gdb.base/corefile.exp: Likewise.
20798 * gdb.base/list.exp: Likewise.
20799 * gdb.base/scope.exp: Likewise.
20800 * gdb.base/siganls.exp: Likewise.
20801
20802 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
20803 compiler output.
20804 * gdb.base/whatis.exp: Likewise.
20805
20806 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
20807
20808 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
20809 failure (opcode table has been fixed to match reality).
20810
20811 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
20812
20813 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
20814 "call inferior func with struct - returns char",
20815 "call inferior func with struct - returns short"
20816
20817 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
20818 "print 'scope0.c'::filelocal at main",
20819 "print 'scope0.c'::filelocal_bss in test_at_main",
20820 "print 'scope0.c'::filelocal at foo",
20821 "print 'scope0.c'::filelocal_bss in test_at_foo",
20822 "print 'scope0.c'::filelocal at bar",
20823 "print 'scope0.c'::filelocal_bss in test_at_bar"
20824
20825 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
20826 in source file 1". This bug seems to have been fixed with both
20827 gcc and native cc (was native assembler bug?).
20828
20829 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
20830
20831 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
20832 "backtrace through signal handler" to "i*86-*-sysv4*".
20833 * gdb.base/signals.exp: Add xfail for "'next' behaved as
20834 continue" case. Add "known SVR4 bug" to fail message.
20835 Add "i*86-*-bsdi2.0" xfail for "handle all print".
20836 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
20837 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
20838 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
20839 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
20840 "up to foo in langs.exp", "show language at foo in
20841 langs.exp", "up to cppsub_ in langs.exp", "show
20842 language at cppsub_ in langs.exp", "up to fsub in
20843 langs.exp", and "show language at fsub in langs.exp".
20844 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
20845 "bactrace in corefile.exp".
20846 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
20847 "call inferior function with struct - returns float" and
20848 "call inferior function with struct - returns double".
20849
20850 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
20851
20852 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
20853 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
20854 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
20855 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
20856
20857 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
20858
20859 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
20860 (or overriden) "CHILL" macro rather then bare "gcc".
20861 Also look for ../../gcc/xgcc since that is what we will
20862 actually need, not "Makefile". Remove following assignment
20863 of CHILL to CHILL_FOR_TARGET because that results in
20864 recursive definition.
20865
20866 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
20867
20868 * gdb.base/corefile.exp: Change xfail for backtrace in
20869 corefile.exp from linuxaout to all linux.
20870 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
20871 cases where we miss the breakpoint at the signal handler
20872 for some reason. Setup xfail for linuxoldld/linuxaout and
20873 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
20874 hitting SIGURG breakpoint.
20875 * gdb.base/signals.exp: Setup xfail for "next" acting like
20876 continue to add linuxoldld. Setup xfail for all linux for
20877 "next to handler in signals_tests_1", "backtrace in
20878 signals_tests_1", "continue to func1", "pass SIGUSR1",
20879 and continue to handler".
20880
20881 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
20882
20883 * Update all FSF addresses except those in COPYING* files.
20884
20885 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
20886
20887 * gdb.base/a2-run.exp: Change messages to be more explicit about
20888 the status of args, and quote binfile in results.
20889
20890 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
20891
20892 * gdb.base/callfuncs.exp: Add tests for passing structs to
20893 inferior functions and return various types.
20894 * gdb.base/callfuncs.c: Add functions to receive a struct
20895 and return a member of the struct, in various types.
20896
20897 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20898
20899 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
20900
20901 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
20902
20903 * config/vxworks29k.exp: New file, sources vxworks.exp.
20904
20905 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20906
20907 * config/gdbremote.exp: New file. Testing framework using
20908 gdbserver.
20909
20910 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
20911
20912 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
20913 "call function when asleep" and "send end of file".
20914 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
20915 for "backtrace in corefile.exp".
20916 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
20917 for "backtrace through signal handler".
20918 * gdb.base/corefile.exp: Make sure we actually generate a core file
20919 before trying the core tests. Some systems allow the user to suppress
20920 generation of core files and default to that (linux for example).
20921 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
20922 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
20923
20924 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20925
20926 * gdb.threads: New directory with some crude multi-threaded
20927 gdb tests (step.exp and step2.exp).
20928 * config/mt-lynx (STEP_EXECUTABLE): Define.
20929 (THREADFLAGS): Define.
20930
20931 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
20932
20933 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
20934
20935 * gdb.base/signals.exp: Disable whole file for lynx until
20936 further notice.
20937
20938 * gdb.base/signals.exp: xfail test where "next" acts like
20939 "continue" for lynx.
20940
20941 * gdb.base/interrupt.exp: xfail test for calling function while
20942 inferior is asleep for lynx.
20943
20944 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
20945 than one cr-lf after each command.
20946
20947 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20948
20949 * configure.in: Reinstate setting of stabsdirs variable, fix
20950 typo in setting up configdirs for native builds.
20951
20952 * gdb.base/return.exp: Fix typo in return double test.
20953 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
20954 compiler from optimizing them away.
20955
20956 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
20957
20958 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
20959 sequences to be echo'd by gdb when using gdb_test.
20960 * gdb.chill/chexp.exp: Likewise.
20961 * gdb.fortran/exprs.exp: Likewise
20962
20963 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20964
20965 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
20966 after the inferior gdb has started.
20967
20968 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
20969 after each command.
20970 * gdb.base/funcargs.exp: Likewise.
20971 * gdb.base/gdbvars.exp: Likewise.
20972 * gdb.base/interrupt.exp: Likewise.
20973 * gdb.base/list.exp: Likewise.
20974 * gdb.base/watchpoint.exp: Likewise.
20975 * gdb.c++/demangle.exp: Likewise.
20976 * gdb.c++/inherit.exp: Likewise.
20977 * gdb.chill/chexp.exp: Likewise.
20978 * gdb.fortran/exprs.exp: Likewise.
20979
20980 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
20981 test if we can't handle IO to/from the inferior.
20982
20983 * gdb.c++/misc.exp: Always check for a program already being
20984 started after sending a "run" command to gdb.
20985
20986 * gdb.base/twice.exp: Start with a fresh gdb.
20987
20988 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
20989 only depend on gdb's expression code, not the chill runtime.
20990
20991 * gdb.base/return.c: Put return values into variables so we
20992 can have gdb print them rather than depending on the program
20993 to print them.
20994 * gdb.base/return.exp: Corresponding changes.
20995
20996 * lib/gdb.exp: Provide default value for noinferiorio.
20997 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
20998 the inferior.
20999
21000 * gdb.base/break.exp: Always check for a program already being
21001 started after sending a "run" command to gdb.
21002 (text_next_with_recursion): Don't check the output from the
21003 program's printf statement. Instead just make sure the program
21004 exited.
21005
21006 * gdb.base/commands.exp: Protect tests which need arguments with
21007 $noargs conditionals.
21008
21009 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21010
21011 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
21012 of structure member arrays to match gdb/valops.c:value_addr change.
21013
21014 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
21015
21016 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
21017 cases.
21018
21019 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
21020
21021 * configure.in (configdirs): Remove gdb.chill from default list
21022 of subdirs and then add it back in only if doing a native build.
21023 The current chill compiler does not yet work in any cross build.
21024 * Revert all signal changes from Jul 6.
21025 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
21026 for sh-hms targets, allowing these tests to link, with no other
21027 changes. Testing is suppressed by setting "nosignals" in site.exp.
21028
21029 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
21030
21031 * configure.in (signaldirs): Define and add to configdirs for all
21032 targets except some specific ones that are known to not support signals.
21033 Also clean up formatting.
21034 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
21035 (signals, sigall): Remove rules to build.
21036 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
21037 Moved to new gdb.signals directory.
21038 * gdb.signals: New test directory.
21039 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
21040 signals.c signals.exp}: New or moved files.
21041
21042 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
21043
21044 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
21045
21046 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
21047
21048 * gdb.base/return.exp: Xfail `return double' test failure
21049 on at least Solaris 2.3 and handle future/past versions on
21050 a case by case basis as appropriate. Also update message
21051 to include i*86 failures.
21052
21053 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21054
21055 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
21056
21057 * lib/gdb.exp: Fix comment which erroneously identified
21058 gdb_file_cmd as gdb_load (the 19 May change was in fact to
21059 gdb_file_cmd not gdb_load).
21060 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
21061
21062 * gdb.base/setvar.exp: Make test names consistent between pass and
21063 fail cases. Use gdb_test more.
21064
21065 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21066
21067 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
21068
21069 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21070
21071 * gdb.base/help.exp: Fix expected help string for `show commands'.
21072
21073 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
21074
21075 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
21076
21077 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
21078 of a text section.
21079
21080 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
21081
21082 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
21083 that loop eventually terminates. Fix Connection refused logic so
21084 that testsuite will expire nicely.
21085
21086 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
21087
21088 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
21089 config/rom68k.exp: New tcl glue for the appropriate monitors.
21090 These all just end up calling monitor.exp.
21091 * config/monitor.exp (gdb_target_monitor): Handle `Connection
21092 refused' by retrying. Cleanup some timeout issues.
21093 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
21094 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
21095 callers don't have to set/restore global timeout variable.
21096
21097 * The following set of changes centralizes management of the global
21098 timeout variable. This way, it can be set in one target dependent
21099 place instead of dozens of places scattered throughout the test suite.
21100 If you need to lengthen a timeout, then you should either set timeout
21101 in one of the config/{target}.exp files, or multiply it by a factor.
21102 Setting it to an absolute value is always going to lose for some
21103 targets.
21104 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
21105 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
21106 * gdb.base/funcargs.exp: Don't set timeout.
21107 * gdb.base/list.exp (test_forward_search): Only use local timeout.
21108 * gdb.base/printcmds.exp (test_print_string_constants
21109 test_print_array_constants): Don't set timeout.
21110 * gdb.base/ptype.exp: Don't set timeout.
21111 * gdb.base/recurse.exp: Don't set timeout.
21112 * gdb.base/return.exp: Don't set timeout.
21113 * gdb.base/watchpoint.exp: Don't set timeout.
21114 * gdb.c++/classes.exp (do_tests): Don't set timeout.
21115 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
21116
21117 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
21118
21119 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
21120
21121 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21122
21123 * lib/gdb.exp: Disable chill tests for irix5.
21124
21125 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21126
21127 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
21128 each test pass or fail.
21129
21130 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21131
21132 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
21133 xlc not gcc.
21134
21135 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
21136
21137 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
21138
21139 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
21140
21141 * config/est.exp: Fix copyright and comments. Remove dead code.
21142 Use targetname, serialport and baud variables instead of fixed
21143 constants.
21144 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
21145 * config/cpu32bug.exp: New file to support cpu32bug monitors.
21146
21147 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21148
21149 * gdb.base/watchpoint.exp: Don't run
21150 test_watchpoint_triggered_in_syscall for sunos.
21151
21152 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21153
21154 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
21155 they don't seem to exist. Do include stdio.h.
21156
21157 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21158
21159 * gdb.base/a1-selftest.exp: Add alpha xfail.
21160
21161 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21162
21163 * gdb.base/watchpoint.c (main): Prompt before calling read().
21164 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21165 Revise accordingly. Remove cruft about sending "123" several
21166 times, until it gets noticed. Clean up the "print buf[0]" stuff
21167 so that it passes or fails, and waits for prompts in the usual way.
21168
21169 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21170
21171 * gdb.base/recurse.exp: Fix comment.
21172
21173 * TODO: Remove item about printing variables in nodebug.exp. Add
21174 item about enabling tests which are only run on some targets.
21175
21176 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
21177 fail, make test names unique, use new gdb_test convention
21178 regarding pattern, use gdb_test more, etc.).
21179
21180 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
21181 fail, make test names unique, etc.).
21182
21183 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21184
21185 * gdb.base/nodebug.c: Change return type of top and middle to
21186 short.
21187 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
21188 are fixed by the recent mdebugread.c changes. Allow `short ()'
21189 as type for top and middle.
21190
21191 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21192
21193 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
21194 nearly as I can tell, the whole thing was an accident in Stu's
21195 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
21196 to replace a send/expect pair with gdb_test, but ended up only
21197 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
21198 of 30 Mar 1995 took care of it, but left this vestigial comment
21199 which I am now nuking.
21200
21201 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21202
21203 * gdb.base/break.exp: Look for different line number for
21204 breakpoint at main depending on usestubs.
21205
21206 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21207
21208 * gdb.base/list.exp: Adjust some alternate expect patterns to
21209 match recent list0.c change. Add alternate expect pattern for
21210 output from `list default lines around main' for optimizing
21211 compilers.
21212
21213 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21214
21215 * lib/gdb.exp: If nosignals is not set, set it to 0.
21216
21217 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
21218
21219 * config/slite-gdb.exp: Responds to load symbol table prompt.
21220 * gdb.base/break.exp: Adjust line number, fix rerun.
21221 * gdb.base/langs0.c: Add #ifdef usestubs.
21222
21223 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
21224
21225 * gdb.base/list.exp: Adjust line contents after adding new lines in
21226 list0.c. Also fix a syntax error.
21227
21228 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
21229 * gdb.base/break.exp: ditto.
21230 * gdb.base/list.exp: ditto.
21231 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
21232 * gdb.base/run.c: ditto.
21233 * gdb.base/list0.c: ditto.
21234 * gdb.base/funcargs.c: ditto.
21235
21236 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
21237
21238 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
21239 $targetname, $serialport and $baud instead of hardwired variables.
21240 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
21241 target doesn't support signals.
21242
21243 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
21244
21245 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
21246
21247 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21248
21249 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
21250 Don't rely on the value of an auto variable before it has been
21251 initialized. Use gdb_test more.
21252
21253 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21254
21255 * lib/gdb.exp (default_gdb_version): A version number must start
21256 with a digit, but other than that contains all characters up to
21257 the first whitespace character.
21258
21259 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21260
21261 * gdb.base/commands.exp (breakpoint_command_test): New tests.
21262
21263 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21264
21265 * gdb.c++/*.exp: Warn if executable does not exist. The original
21266 reason for skipping the warning was that configure.in sometimes
21267 intentionally skipped building the executables but the tcl code
21268 had no way of knowing. That (a) was always bogus with respect to
21269 error handling, (b) is no longer true (right now there is no way
21270 to skip C++ tests).
21271
21272 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
21273
21274 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21275
21276 * gdb.base/list.exp: Add expect patterns for output from
21277 SunPRO compiled executables.
21278 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
21279 types.
21280
21281 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21282
21283 * gdb.base/break.exp (test_next_with_recursion): Accept any line
21284 number (we are already testing that the correct source line text
21285 gets printed).
21286
21287 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
21288 that is what is intended, but something needed to be done to get
21289 sunos4 native working again.
21290
21291 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
21292
21293 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
21294 apparently went with a (very) old xfail.
21295
21296 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
21297
21298 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
21299 runto_main is a proc in gdb.exp that will do 'step' for target use
21300 stubs.
21301 * gdb.base/exprs.exp: ditto.
21302 * gdb.base/interrupt.exp: ditto.
21303 * gdb.base/opaque.exp: ditto.
21304 * gdb.base/printcmds.exp: ditto.
21305 * gdb.base/ptype.exp: ditto.
21306 * gdb.base/scope.exp: ditto.
21307 * gdb.base/setvar.exp: ditto.
21308 * gdb.base/signals.exp: ditto.
21309 * gdb.base/twice.exp: ditto.
21310 * gdb.c++/classes.exp: ditto.
21311 * gdb.c++/inherit.exp: ditto.
21312 * gdb.c++/templates.exp: ditto.
21313 * gdb.base/break.exp: no run and hit main for stubs. Change line
21314 numbers for breakpoints and info breakpoint.
21315 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
21316 breakpoint().
21317 * gdb.base/callfuncs.c: ditto.
21318 * gdb.base/exprs: ditto.
21319 * gdb.base/interrupt.c: ditto.
21320 * gdb.base/opaque0.c: ditto.
21321 * gdb.base/printcmds.c: ditto.
21322 * gdb.base/ptype.c: ditto.
21323 * gdb.base/scope0.c: ditto.
21324 * gdb.base/setvar.c: ditto.
21325 * gdb.base/signals.c: ditto.
21326 * gdb.base/twice.c: ditto.
21327 * gdb.c++/misc.cc: ditto.
21328 * gdb.c++/templates.cc: ditto.
21329
21330 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21331
21332 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
21333
21334 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
21335 somewhere between `read' and `main.c'. I'm pretty sure the
21336 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
21337 and it isn't particularly useful.
21338
21339 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
21340
21341 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21342
21343 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
21344
21345 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
21346
21347 * config/mt-slite: add LIBS and -nostdlib.
21348 * config/slite-gdb.exp: add this new file to support sparclite target.
21349
21350 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
21351
21352 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
21353
21354 * gdb.base/a2-run.exp: Change argument to istarget from
21355 "*-*-vxworks" to "*-*-vxworks*".
21356 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
21357
21358 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
21359
21360 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
21361 will not runto main but do a 'step' to step out of breakpoint().
21362 * config/mt-slite: add -Dusestubs.
21363
21364 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21365
21366 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
21367 instead of just @.
21368
21369 * gdb.base/signals.exp: Add test for "handle all print".
21370 * TODO: Remove "handle all print". Also remove item about
21371 checking copyright date (I don't like the idea of a spurious FAIL
21372 based on when we run the tests).
21373
21374 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
21375 for SunOS4 (reason for failure not investigated). Remove
21376 redundant test for $binfile.
21377
21378 * gdb.base/nodebug.c (array_index): Call malloc.
21379
21380 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
21381
21382 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
21383
21384 * gdb.base/recurse.exp: Update gdb_test invocation to use new
21385 conventions and slightly simplify the matching regexp.
21386
21387 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21388
21389 * gdb.base/break.exp: Update gdb_test invocation to use new
21390 convention.
21391
21392 * lib/gdb.exp: If noargs is not set, set it to 0.
21393
21394 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
21395 tests unique.
21396
21397 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
21398
21399 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21400
21401 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
21402 one argument of type "<non-float parameter>".
21403
21404 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
21405
21406 * config/rom68k.exp: New file to support Motorola IDP board.
21407 * gdb.base/a2-run.exp: Skip this file if noargs is set.
21408 * gdb.base/break.c: Change things around so that this program
21409 doesn't depend upon args. This is necessary to make remote
21410 targets work (in general, they can't take args).
21411 * gdb.base/break.exp: Don't try to send args to program. Don't
21412 expect output. Also, replace lots of code with gdb_test.
21413
21414 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21415
21416 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
21417 printing of '\'' (which is what the comment says we are testing,
21418 even though we were not), not '''.
21419 (test_integer_literals_rejected): Test that printing ''' is an error.
21420
21421 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21422 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
21423 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
21424 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
21425 Use gdb_test not test_print_accept.
21426 * lib/gdb.exp: Remove test_print_accept.
21427
21428 * gdb.base/signals.exp (signal_tests_1): Make pass message
21429 consistent with fail message.
21430
21431 * gdb.base/whatis.exp: Remove xfails for printing char vs.
21432 unsigned char; the bug (PR 1821) is fixed.
21433
21434 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
21435
21436 * gdb.base/scope.exp (test_at_localscopes): Call pass for
21437 successful tests--makes xfailing them work right.
21438
21439 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21440
21441 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
21442 only \r\n, not .*. The test can pass .* as the last thing in
21443 $pattern if that is what it wants. In addition to providing this
21444 flexibility, this change should speed up pattern matching in cases
21445 where the pattern already ended with .* (there were a number of
21446 them). This change also helps catch bad patterns--in the old
21447 scheme the typo "char \*" instead of "char \\*" would pass. Now
21448 it is caught.
21449 * Many .exp files: Update callers.
21450
21451 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
21452 clearer and does not spuriously match multiple ('s. Likewise for
21453 ) and *.
21454
21455 * gdb.base/nodebug.exp: Test ability to call a function and pass
21456 it a string (even with no debugging info).
21457
21458 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
21459 "p '\'", which is the same as "p ''" once tcl gets done with
21460 quoting, to "p '\\'", which I suspect is what is intended (one
21461 backslash gets sent to GDB).
21462
21463 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
21464
21465 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21466
21467 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
21468 1817) was fixed literally years ago.
21469
21470 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21471
21472 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
21473 test, it causes stepping out of call_after_alloca_subr with
21474 optimizing compilers.
21475 (localvars_in_indirect_call): Consume GDB prompt if `finish'
21476 fails.
21477
21478 * gdb.c++/templates.exp: Source templ-info.exp only if
21479 the templates executable exists.
21480
21481 * gdb.c++/misc.cc (class Contains_static_instance,
21482 class Contains_nested_static_instance),
21483 gdb.c++/classes.exp (test_static_members): Test printing of
21484 a class that contains a static instance of the class.
21485
21486 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21487
21488 * gdb.base/langs2.c (cppsub_): Don't prototype.
21489 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
21490 only, I believe).
21491
21492 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21493
21494 * lib/gdb.exp (skip_chill_tests): New procedure.
21495
21496 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
21497
21498 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
21499
21500 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
21501 each expect pattern. Cuts runtime from 12 to about 4 seconds.
21502
21503 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21504
21505 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
21506
21507 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
21508 disassemble 8, not 16, instructions for part 4.
21509
21510 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
21511 support the latter anymore.
21512
21513 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
21514 -DNO_PROTOTYPES.
21515 * gdb.base/callfuncs.c: Control use of prototypes based on
21516 NO_PROTOTYPES, not __STDC__.
21517 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
21518 t_float_values2 tests if prototypes in use.
21519
21520 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
21521 t_double_values): When checking differences against DELTA, check
21522 that difference is within the range (-DELTA,DELTA), not just
21523 (-infinity,DELTA).
21524
21525 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
21526
21527 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
21528 'file' command firts, then 'target', then 'load', this is due to gdb
21529 target set up.
21530 * config/mips-gdb.exp: Fix a couple regular exp bugs.
21531
21532 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
21533
21534 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
21535 FP load/store variants.
21536 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
21537
21538 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21539
21540 * gdb.base/term.exp: Do not give a warning if not native, it is
21541 not an abnormal condition.
21542
21543 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
21544
21545 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
21546 t_char_array".
21547
21548 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
21549
21550 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
21551 are getting the version number.
21552
21553 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
21554 if not native, it is not an abnormal condition.
21555
21556 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21557
21558 * lib/gdb.exp: Just use "file exists", rather than undocumented
21559 dejagnu procedure "findfile".
21560
21561 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21562
21563 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
21564 (LDFLAGS): Set to -Xlinker -Ur.
21565
21566 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
21567 Removed, these values are set by lib/gdb.exp.
21568
21569 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
21570
21571 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
21572
21573 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
21574 of replicating gdb startup code.
21575
21576 * config/mt-vxworks (LDFLAGS): Set to -r.
21577 (CFLAGS_FOR_TARGET): Removed.
21578
21579 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
21580 (gdb) and gdb for vxworks uses (vxgdb).
21581
21582 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
21583 executable is not in the tree and host != target, use sed and
21584 program_transform_name to determine the gdb name used by the
21585 target.
21586
21587 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
21588 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
21589
21590 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21591
21592 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
21593 floats, chars, and shorts where there are ANSI-style function
21594 definitions.
21595
21596 * gdb.base/langs.exp, gdb.base/langs*: New test.
21597 * gdb.base/Makefile.in: Build it.
21598 * TODO: Remove item about checking that C names don't get C++
21599 demangling applied; this test tests it.
21600
21601 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21602
21603 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
21604 went with the const70 xfail. The xfail went away a year ago.
21605
21606 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
21607
21608 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
21609 for hp300.
21610
21611 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
21612
21613 * gdb.base/a1-selftest.exp: Don't run on hp300.
21614
21615 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21616
21617 * Makefile.in (site.exp): Set host_alias and target_alias as well
21618 as host_triplet and target_triplet.
21619
21620 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21621
21622 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
21623
21624 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
21625 places as other ecoff systems).
21626
21627 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
21628 ultrix.
21629
21630 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21631
21632 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
21633 remove them.
21634 * gdb.base/nodebug.exp: Accept "function" in addition to "text
21635 variable and "variable" in addition to "data variable".
21636 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
21637
21638 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
21639 2.
21640 * gdb.base/list1.c (long_line): Add additional statement at start
21641 of function.
21642 * gdb.base/list.exp (test_forward_search): Update line number to
21643 reflect new statement.
21644
21645 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21646
21647 * gdb.base/signals.exp: Reinitialize searched source directories
21648 after gdb_start call.
21649
21650 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
21651
21652 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
21653 * gdb.stabs/Makefile.in: Likewise.
21654
21655 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
21656 change. Instead split the tests into smaller pieces.
21657 * gdb.disasm/hppa.s: Corresponding changes.
21658
21659 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21660
21661 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21662 Quote ^C when passing it to stty. For some shells ^ is a pipe.
21663
21664 * gdb.base/funcargs.exp: Modify many tests so that every test
21665 either passes or fails. Make some test names unique.
21666
21667 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21668
21669 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21670 Call stty to set interrupt character.
21671
21672 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
21673 for HP assembler versus GNU assembler based on actual behavior of
21674 $(CC), rather than assuming that $(AS) is always the GNU assembler.
21675
21676 * TODO: Suggest a few more stepping tests.
21677
21678 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
21679
21680 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
21681 restart GDB for h8300 after a continue.
21682 (return): Add pattern to match a29k-udi behavior.
21683 * gdb.base/nodebug.exp: Remove obsolete comment.
21684 * gdb.base/regs.exp: New file, testing of register displays.
21685 * gdb.base/return.exp: Fix typo in reference to $objdir.
21686 * gdb.base/whatis.exp: Always start with a fresh GDB.
21687
21688 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21689
21690 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
21691 higher, these tests generate a lot of output.
21692
21693 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21694
21695 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
21696 code following the catch silently ignored some errors; without the
21697 catch they should be thrown like any other tcl error. Also, the
21698 catch used "" instead of {} which meant all the callers who wanted
21699 to include one of the characters "[]$ had to quote it an extra time.
21700 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
21701 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
21702 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
21703 Remove extra quoting.
21704
21705 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
21706
21707 * gdb.base/commands.exp: Make test names unique; every test either
21708 passes or fails. Update some comments.
21709
21710 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
21711
21712 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21713
21714 The following fixes a FAIL caused by the fact that the alpha stabs
21715 configuration didn't use the ".if alpha" code in weird.def.
21716 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
21717 bit pointer, so the 32 bit version works even on the alpha.
21718 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
21719 Remove the stuff which allowed us to have separate versions for
21720 alpha and everything else.
21721
21722 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
21723 regexp which "info func operator\[\](" is supposed to match. Fix
21724 string to send to GDB. Note that GDB still doesn't work right. Add a
21725 new test for "info func .perator\[\](" which GDB does handle correctly.
21726
21727 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
21728
21729 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21730
21731 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
21732 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
21733 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
21734 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
21735 it makes the tests harder to understand and confuses test-o-matic.
21736 The preferred style is that each test provides a PASS or a FAIL,
21737 and has a unique message (e.g. "continue #54" not just "continue")
21738 which is the same for the pass and the fail.
21739 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21740 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
21741 to lib/gdb.exp.
21742 * gdb.base/printcmds.exp: Use test_print_accept. Remove
21743 prt_accept which was basically the same thing. Likewise for
21744 test_print_reject and prt_reject.
21745 * lib/gdb.exp (test_print_reject): Add some more error message
21746 patterns to match from the former printcmds.exp (prt_reject).
21747 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
21748 One defect of the passcount stuff is that some of it failed to
21749 report XPASS where appropriate.
21750 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
21751 stuff before and after arg in expected pattern.
21752 (test_paddr_operator_functions): Re-do test without print_addr_of;
21753 this is the only test which seems to want extra stuff there.
21754
21755 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21756
21757 * gdb.base/nodebug.exp: Update new tests to reflect improved
21758 wording of gdb output.
21759
21760 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
21761 and "ptype" work on variables in files compiled without -g.
21762 Replaces commented out "maint print msymbol" tests.
21763
21764 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21765
21766 * gdb.base/setvar.c (dummy): Call malloc.
21767
21768 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
21769 losing with the irix4 sed.
21770
21771 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
21772 ALRM" on irix4.
21773
21774 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21775
21776 * TODO: Remove items about corefile.exp testing new exec-file and
21777 backtrace; both are now done. Add items about printing enums.
21778
21779 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21780
21781 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
21782 "get signal $thissig" test fails.
21783
21784 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
21785
21786 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21787
21788 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
21789 compiler warning with dec alpha compiler.
21790
21791 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
21792 extra \n from gdb_test call (this explains why the prompt test
21793 that I removed yesterday was there).
21794 (user_defined_command_test): Remove extra \n and prompt test.
21795
21796 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
21797 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
21798 doesn't exist.
21799 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
21800 Also remove alpha workaround, which turns out to be because
21801 SIGABRT == SIGLOST.
21802
21803 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
21804
21805 * gdb.base/help.exp: Don't test "help show".
21806
21807 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21808
21809 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
21810 "set print address" is on.
21811 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
21812 pass prompt to gdb_test; gdb_test already looks for the prompt.
21813
21814 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
21815
21816 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
21817 was a vestige of the manual TESTSTRATEGY, and the purpose of it
21818 was to make sure that gdb can read a core file. But (a) the "read
21819 the corefile" part didn't make it to a1-selftest.exp, we just
21820 delete the corefile after creating it, and (b) we test reading
21821 corefiles in corefile.exp anyway. Also, this test left around a
21822 xgdb process on Solaris.
21823
21824 * gdb.base/corefile.exp: Also test backtrace.
21825
21826 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
21827
21828 * gdb.base/commands.exp: Test a simple user defined command with
21829 arguments and if/while statements; verify the full user command is
21830 printed by "show user".
21831
21832 * gdb.base/commands.exp: Test if/while commands as part of a
21833 breakpoint command list; verify they appear in breakpoint
21834 information.
21835
21836 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21837
21838 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
21839 than by dividing by zero.
21840
21841 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
21842
21843 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
21844 performing an inferior call with watchpoints enabled.
21845 * gdb.base/watchpoint.c (main): Delete second unnecessary read
21846 call.
21847
21848 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21849
21850 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
21851 of "file" command.
21852
21853 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
21854 Add additional pattern for when "int operator int(void);" appears
21855 in a different order.
21856
21857 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21858
21859 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
21860
21861 * gdb.base/help.exp: Replace most of docstrings for "info signals"
21862 and "signal" with ".*".
21863
21864 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21865
21866 * TODO: Add note about "handle all nostop".
21867
21868 * gdb.base/{sigall.c, sigall.exp}: New test.
21869 * gdb.base/Makefile.in: Add it.
21870
21871 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
21872
21873 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
21874 when invoking GDB, suppresses any windowing interface.
21875
21876 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
21877
21878 * config/sim-gdb: New file, simulator testing support.
21879
21880 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
21881
21882 * gdb.base/interrupt.exp: Test calling func1 twice.
21883
21884 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
21885
21886 * gdb.base/list.exp (test_forward_search): Set timeout higher
21887 when we'll be getting lots of output from gdb.
21888
21889 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
21890 "init_malloc" to after the expect statement. Run it if that
21891 regexp is taken, but also for two others which happen if source
21892 cannot be found.
21893
21894 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21895
21896 * gdb.base/printcmds.exp: New test, for printing register before
21897 program is running.
21898
21899 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21900
21901 * gdb.base/list.exp: Correct some alternate expect patterns
21902 to reflect changes in list1.c.
21903
21904 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21905
21906 * TODO: Add item regarding large frames.
21907
21908 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
21909
21910 * TODO: Remove item about enabling return.exp; it
21911 is enabled. Suggest a few more "return" tests.
21912
21913 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21914
21915 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
21916 anonymous unions.
21917
21918 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21919
21920 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
21921 and pr-5646.o, so "make" is the same as "make all", not "make
21922 pr-4975.o".
21923
21924 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
21925
21926 * gdb.base/list.exp: Adjust expectations to reflect changes in
21927 list1.c.
21928 (test_forward_search): New test proc.
21929 * gdb.base/list1.c (long_line): New function, has long source line.
21930
21931 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
21932
21933 * gdb.base/a1-selftest.exp: Change initial stepping to know about
21934 additional line of code that was added.
21935
21936 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
21937
21938 * gdb.disasm/hppa.s: Break the large branching tests into smaller
21939 tests so as not to overflow expect's input buffers.
21940 * gdb.disasm/hppa.exp: Corresponding changes.
21941
21942 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21943
21944 Beginnings of template debugging tests.
21945 * gdb.c++/templ-info.cc: New file to test for template
21946 debugging capability of the compiler.
21947 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
21948 templ-info.cc.
21949 * gdb.c++/templates.cc: Add explicit template instantiations
21950 to enable compiling with -fno-implicit-templates. Add destructor
21951 and 'value' method to T5 class for template tests.
21952 * gdb.c++/templates.exp: Add testcases for printing of template
21953 types, setting breakpoints on template methods and calling a
21954 template method.
21955
21956 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
21957
21958 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
21959 branch target since some assemblers (gas-2.5) may emit a
21960 relocation for the branch instead of resolving it in the
21961 assembler.
21962
21963 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21964
21965 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
21966 through signal handler.
21967
21968 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21969
21970 * configure.in (*-*-netware): Use config/mt-netware.
21971
21972 * config/mt-netware: New file.
21973 * config/mt-i386-netware: Removed, separate configs for different
21974 netware architectures are no longer needed now that we have
21975 --with-headers.
21976
21977 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21978
21979 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
21980 by the recent changes to use ANSI C arithmetic conversions.
21981
21982 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21983
21984 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
21985 bug involving using inferior_pid to figure out whether to select a
21986 frame.
21987
21988 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
21989
21990 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
21991 match the current disassembler output.
21992
21993 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
21994
21995 * gdb.fortran/exprs.exp: Expect VOID instead of void.
21996 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
21997 types, expect "int" as type of integer values (for now).
21998
21999 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
22000
22001 * gdb.base/commands.exp: New tests for if/while commands.
22002
22003 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
22004
22005 * lib/gdb.exp (runto): Replace sub-pattern for hex value
22006 by .*, since hex values have different syntax in Chill mode.
22007
22008 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22009
22010 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
22011 linefeed from expect pattern for repeated types with indices > 9.
22012
22013 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
22014
22015 First part of Fortran test suite.
22016 * gdb.fortran: New directory.
22017 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
22018
22019 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22020
22021 * gdb.base/default.exp: Update expect pattern for load command
22022 without arguments.
22023
22024 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
22025
22026 * configure.in: Change i386 to i[345]86.
22027 * gdb.base/configure.in: Likewise.
22028 * gdb.c++/configure.in: Likewise.
22029 * gdb.chill/configure.in: Likewise.
22030
22031 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
22032
22033 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
22034 patterns, since that is not a valid context for comments.
22035
22036 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
22037
22038 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
22039 repeated types and repeated types with indices > 9.
22040
22041 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
22042
22043 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
22044 2417; old bug has been fixed.
22045
22046 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
22047
22048 * gdb.base/interrupt.exp: When trying to wake up the inferior,
22049 send the newline ourselves instead of assuming gdb_test will do
22050 so when passed an empty input string.
22051
22052 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
22053 stabs testcode.
22054
22055 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22056
22057 * lib/gdb.exp (gdb_test): Don't send anything if the first
22058 argument is an empty string. This makes cases where we want to
22059 match output that is already in expect's buffers (for example,
22060 matching a breakpoint after gdb_run_cmd has been called) work
22061 reliably.
22062
22063 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22064
22065 * config/netware.exp: New file.
22066
22067 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22068
22069 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
22070 the -B and -L prefixes so we can find the debugging stub.
22071
22072 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
22073 there and we are using the gcc from the tree.
22074
22075 * gdb.base/types.c: Removed.
22076
22077 * gdb.base/configure.in: Look for makefile fragments in ../config.
22078 Recognize i386-*-netware.
22079 * gdb.c++/configure.in: Likewise.
22080
22081 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22082
22083 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
22084 the correct TCL syntax.
22085
22086 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22087
22088 * gdb.base/opaque.exp: use runto instead of messing around with
22089 breakpoints. Simplify by using gdb_test.
22090
22091 * gdb.base/bitfields.exp: restart between tests on netware targets
22092 because breakpoints aren't relocated after target death. Run
22093 processes to completion.
22094
22095 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
22096
22097 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
22098
22099 * Makefile.in: Remove extra tabs that confuse some versions
22100 of "make". Use the newly built gdb to test with by default,
22101 rather than the first one in the tester's search path.
22102
22103 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
22104
22105 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
22106
22107 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
22108 condition help.
22109
22110 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22111
22112 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
22113
22114 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
22115 running.
22116 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
22117 * gdb.base/funcargs.exp: Likewise.
22118
22119 * gdb.base/bitfields.exp: Simplify by using gdb_test.
22120 * gdb.base/funcargs.exp: Likewise.
22121
22122 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
22123 message is "".
22124
22125 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22126
22127 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
22128 return,signals,twice}.exp: Handle non-existant binaries
22129 consistantly.
22130
22131 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
22132 * gdb.base/Makefile.in: Don't try to generate a core dump, we
22133 might testing a cross development system.
22134
22135 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22136
22137 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
22138 runtest script is relative to ${srcdir}, not ${rootdir}.
22139
22140 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
22141
22142 * gdb.base/signals.exp: Allow for optionality of breakpoint
22143 address.
22144
22145 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22146
22147 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
22148
22149 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
22150
22151 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
22152 for size_t definition.
22153 * gdb.c++/templates.cc: Likewise
22154
22155 * config/mt-i386-netware: New file.
22156
22157 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
22158 defined.
22159
22160 * gdb.base/Makefile.in: Added support for systems that name core
22161 files by appending "core" to the program name.
22162 * gdb.base/a1-selftest.exp: Likewise.
22163
22164 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22165
22166 * gdb.base/return.exp: Add comment and message for `return double'
22167 test failure on Sparc Solaris.
22168
22169 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
22170
22171 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
22172
22173 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22174
22175 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
22176 from optimizing them away.
22177 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
22178 patterns to include default constructors and assignment operators,
22179 to match gcc versions beyond 2.5.8. Accept any cplus demangling
22180 character in the output of the virtual base pointer.
22181
22182 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22183
22184 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
22185 expression match in print_addr_of to avoid unintented matches.
22186 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
22187 versions up to 2.5.8.
22188
22189 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22190
22191 * gdb.base/list.exp: Tweak alternate pattern for listing of an
22192 included file to run under newer versions of expect.
22193 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
22194 consecutive >'s in templates to accomodate recent cplus-dem.c change.
22195 Remove xfail for the virtual table of BDDHookV.
22196
22197 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
22198
22199 * lib/gdb.exp (string_to_regexp): Set a default result.
22200 (default_gdb_start): Fix misleading message.
22201
22202 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
22203
22204 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
22205 Remove all CC, etc definitions.
22206 * config/mt-hpux: New file.
22207 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
22208 (CFLAGS, LDFLAGS): Define.
22209 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
22210
22211 * Makefile.in (site.exp): Don't insert host_os, etc.
22212 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
22213 (distclean): Check existence of subdir.
22214 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
22215 * gdb.base/Makefile.in: General cleanup and simplification.
22216 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22217 to build executables. Use default rule to build .o files.
22218 (EXPECT, RUNTEST, CC): Fix relative pathname.
22219 (site.exp): Don't insert host_os, etc.
22220 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
22221 and/or SIGUSR1 defined.
22222 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
22223 * gdb.c++/Makefile.in: General cleanup and simplification.
22224 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
22225 (CFLAGS): Remove.
22226 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
22227
22228 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
22229
22230 * gdb.base/recurse.exp: Misc changes to get tests running again
22231 after Kung's changes to the watchpoint code.
22232 * gdb.base/watchpoint.exp: Likewise.
22233
22234 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
22235
22236 * lib/gdb.exp (string_to_regexp): Convert {\} also.
22237
22238 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
22239
22240 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
22241 * lib/gdb.exp (default_gdb_start): Define.
22242 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
22243 gdb.base/funcargs.exp, gdb.base/opaque.exp,
22244 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
22245 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
22246 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
22247 Don't call gdb_target_udi in between tests.
22248
22249 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22250
22251 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
22252 (which was basically just a local version of the same thing). In
22253 addition to avoiding duplication, gdb_test_exact is faster.
22254 * lib/gdb.exp (gdb_test_exact): Fix typo.
22255
22256 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
22257 don't give an error.
22258
22259 * gdb.base/term.exp: Call delete_breakpoints before starting.
22260
22261 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
22262 (t10): Add comment.
22263
22264 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22265
22266 Reorganization of the GDB Test Suite.
22267
22268 * gdb.base: New directory, contains all the basic tests.
22269 * gdb.c++: New directory, tests specific to C++.
22270 * gdb.chill: New directory, tests specific to Chill.
22271 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
22272 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
22273 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
22274 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
22275 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
22276 t30-31 to chill).
22277 * */gdbme.*: Rename to match appropriate expect scripts.
22278 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
22279 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
22280 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
22281 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
22282 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
22283 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
22284 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
22285 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
22286 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
22287 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
22288 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
22289 gdb.c++/virtfunc.cc: New names of C++ files.
22290 * gdb.chill/chillvars.ch: New name of Chill file.
22291 * gdb.base/configure.in, gdb.c++/configure.in,
22292 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
22293 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
22294 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
22295 * configure.in (configdirs): Update to reflect directory changes.
22296 (target_abbrev): No longer define for any configuration.
22297 * Makefile.in: Cosmetic improvements to header comments.
22298
22299 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
22300
22301 Various changes to gdb.t31:
22302
22303 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
22304 * gdbme.ch: Make all key-words and predefineds be upper-case.
22305 * chillvars.exp: Expect key-words and predefinds in upper-case.
22306
22307 * chillvars.exp: Use gdb_test_exact many places.
22308 Change expected output for arrays (which now includes index labels).
22309
22310 * pr-5020.exp, gdme.ch (module PR_5020):
22311 New test, for PR-5020.
22312
22313 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
22314
22315 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
22316 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
22317
22318 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
22319
22320 * Makefile.in: Fix bit-rot in definitions of CHILL,
22321 CHILL_FOR_TARGET and Chill_LIB.
22322 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
22323 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
22324 CHILL, and CHILL_LIB.
22325
22326 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
22327
22328 * Revert the previous changes. Please see Rob's directory
22329 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
22330
22331 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
22332
22333 * Makefile.in, configure.in, config/mips-gdb.exp,
22334 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
22335 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
22336 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
22337 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
22338 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
22339 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
22340 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
22341 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
22342 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
22343 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
22344 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
22345 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
22346 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
22347 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
22348 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
22349 changes from 94Q1.
22350
22351 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
22352
22353 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
22354 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
22355 Rob's new testing fragments.
22356
22357 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
22358
22359 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
22360 lib/gdb.exp: Replace error proc calls with perror.
22361
22362 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
22363
22364 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
22365 version also, match on casted version strings, and match on
22366 gdb startup case where the line numbers might be messed up.
22367
22368 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
22369
22370 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
22371 (CFLAGS): Delete it from here.
22372
22373 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
22374
22375 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
22376
22377 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
22378
22379 * Makefile.in (RUNTEST): Default to just "runtest".
22380
22381 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22382
22383 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
22384 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
22385 the code has been restructured.
22386
22387 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22388
22389 * gdb.t00/default.exp (set write): Allow any number of \r and/or
22390 \n, not just one of each.
22391
22392 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
22393 /bin/cc gives a warning if you do.
22394
22395 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
22396
22397 * gdb.t24/demangle.exp: change expect pattern of
22398 __t10ListS_link1ZUiRCUiPT0
22399
22400 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22401
22402 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
22403 on local variables in recursive functions.
22404
22405 * gdb.t07/Makefile.in: Build the new test.
22406
22407 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22408
22409 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
22410 directly. Instead compare the return values from actual calls.
22411
22412 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
22413
22414 * Makefile.in (check): Set TCL_LIBRARY for runtest.
22415
22416 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22417
22418 * From Peter Schauer with minor modifications.
22419 * gdb.t15/return.exp (return_tests): Handle targets where "return"
22420 stops in mid-line in the caller. Add xfail for returning a float
22421 value on X86 targets.
22422
22423 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22424
22425 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
22426 to avoid expect lossage.
22427 (fmem_LRbug_tests): Likewise.
22428 * gdb.disasm/hppa.s: Corresponding changes.
22429
22430 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
22431 conditions to work with latest dejagnu/expect.
22432
22433 * gdb.t15/funcargs.exp (finish from indirect call): No longer
22434 expected to fail on the PA.
22435 (backtrace in call with trampolines): Explicitly require main
22436 to be frame #1 (no trampolines should show up in backtrace).
22437
22438 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
22439 "continue -expect".
22440 * gdb.t06/break.exp: Likewise.
22441 * gdb.t07/watchpoint.exp: Likewise.
22442 * gdb.t13/bitfields.exp: Likewise.
22443 * gdb.t15/{funcargs,return}.exp: Likewise.
22444 * gdb.stabs/weird.exp: Likewise.
22445 * config/{mips,udi}-gdb.exp: Likewise.
22446
22447 * hppa.sed: Enclose comments within a sed command to avoid
22448 losing with the old OSF1 sed.
22449
22450 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22451
22452 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
22453 sequent dynix.
22454 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
22455 * gdb.t15/funcargs.exp: Conditionally step again to really
22456 finish from marker_call_with_trampolines. Handle the case where
22457 the first step from within call_with_trampolines already steps
22458 us back to main.
22459 * gdb.t15/gdbme.c: Add comment to closing brace of
22460 call_with_trampolines for funcargs.exp.
22461
22462 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22463
22464 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
22465 Fix typo(s).
22466
22467 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22468
22469 * gdb.t07/gdbme.c: More code for watchpoint testing.
22470
22471 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
22472 "Hardware watchpoint" throughout file.
22473 (test_watchpoint_triggered_in_syscall): New test.
22474 (test_complex_watchpoint): New test.
22475
22476 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22477
22478 * gdbme.c (call_with_trampolines): New function to try and step
22479 into. Tests trampoline problems on the PA.
22480
22481 * funcargs.exp (localvars_in_indirect_call): No longer expect
22482 stepping into indirect call to fail on PAs.
22483 (test_stepping_over_trampolines): New test.
22484
22485 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22486
22487 * TODO: Add suggestions for static member function tests, and
22488 completion tests.
22489
22490 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22491
22492 * TODO: Add suggestions for "p/a" tests.
22493
22494 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
22495 (default_gdb_exit): Replace all the hair with sending "quit" to
22496 the process with a simple close.
22497
22498 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22499
22500 * TODO: Add suggestions for shared library tests.
22501
22502 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22503
22504 * TODO: Add suggestions for x/s tests.
22505
22506 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22507
22508 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
22509 "enable once", and "enable breakpoints once" with ".*".
22510
22511 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22512
22513 * TODO: Add suggestions about structure passing tests.
22514
22515 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22516
22517 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
22518 the primary1 test, use work around if __GNUC__ < 2.
22519 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
22520 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
22521 Test for bad output rather than waiting for timeout. Issue
22522 second continue only if first continue failed.
22523
22524 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22525
22526 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
22527 operator[] test with gdb_test because the old code didn't seem to
22528 be getting the quoting right with the new dejagnu.
22529
22530 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
22531
22532 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
22533 one from the path.
22534 * Makefile.in: Use a fresh expect if there is one, use runtest
22535 from the src tree if there is one.
22536
22537 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22538
22539 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
22540 next over recursive call. Revise the tests from that point on
22541 (which had been skipped) to match GDB's actual (correct) output.
22542
22543 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
22544 with next over a breakpoint whose condition is false.
22545
22546 * gdb.t00/help.exp: Comment out "help set print" tests just like
22547 (and for same reason as) "help set" test.
22548
22549 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22550
22551 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
22552 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
22553
22554 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22555
22556 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
22557 necessary gdb_target_udi.
22558
22559 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
22560
22561 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
22562 1838 and 2417; they are fixed.
22563
22564 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
22565 gdb.t03/ptype.exp (ptype structure, ptype union):
22566 Remove xfails; the test is looser than when the xfails were added.
22567
22568 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
22569 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
22570
22571 * gdb.t01/run.exp: Only run shell test if isnative.
22572
22573 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
22574 since "run" automatically loads if necessary. Call gdb_target_udi
22575 after the "file" since "file" kills any execution target.
22576
22577 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
22578 GDB. GDB doesn't work that way (not anymore at least) on UDI.
22579 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
22580 argument for UDI.
22581
22582 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
22583
22584 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
22585
22586 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
22587
22588 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22589
22590 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
22591 properly quoting regexps. This makes the second argument to
22592 demangle a fixed string, which matches the callers, instead of a
22593 shell-style pattern which is what the previous implementation
22594 used. Update some of the callers.
22595
22596 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22597
22598 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
22599 (comib_nullified_tests): Fix typo.
22600 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
22601 strings. No longer expected to fail.
22602
22603 * gdb.disasm/hppa.s (addib_tests): Fix typo.
22604 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
22605 strings. No longer expected to fail.
22606
22607 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
22608 string. No longer expected to fail.
22609
22610 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22611
22612 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
22613 No longer expected to fail.
22614
22615 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
22616 string. No longer expected to fail.
22617
22618 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22619
22620 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
22621 only in the names (I probably got most of them). I was even
22622 generous with some which differed in underscores in names, and
22623 probably missed a few, and I *still* was able to remove almost a
22624 third of the file with almost no impact on testsuite coverage.
22625
22626 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22627
22628 * gdb.t00/default.exp: Match udi_attach error message as well as
22629 the one from child_attach.
22630
22631 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
22632
22633 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
22634
22635 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
22636 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
22637
22638 * Move test with enums and partial symbols back to
22639 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
22640 Reverts the change of 26 May 93. Per today's change to
22641 stabs.texinfo, the behavior that weird.exp was expecting was
22642 unreasonable; what is important is that the compiler+gdb get
22643 things right, which happens with a recent gcc. Also fix the test
22644 to deal with native compilers which put out the stab gdb can't
22645 deal with.
22646
22647 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22648
22649 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
22650 in the names. The main thing these accomplish is to slow things down.
22651 Many more such duplicates surely remain.
22652
22653 * gdb.t00/help.exp: Comment out "help support" test just like
22654 (and for same reason as) "help set" test.
22655
22656 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
22657
22658 * gdb.t06/break.exp: Remove setup_xfails for
22659 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
22660 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
22661 about known bug in gcc to include up through 2.5.8.
22662 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
22663 well as "_vb$".
22664 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
22665 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
22666 with latest gcc and gdb.
22667 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
22668 well as "_vb$".
22669
22670 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22671
22672 * configure.in (hppa*-*-*): Also configure and build stabs-only
22673 tests.
22674
22675 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22676
22677 * gdb.t10/hppa.mt: A makefile fragment for the PA.
22678 * gdb.t10/configure.in (hppa*-*-*): Use it.
22679
22680 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22681
22682 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
22683
22684 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22685
22686 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
22687 versions prior to 1.13.5.
22688
22689 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22690
22691 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
22692 the prompt is at the start of a line.
22693
22694 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22695
22696 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
22697 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
22698 in the copr tests now.
22699 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
22700 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
22701 expected to fail.
22702
22703 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
22704
22705 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
22706 gdb.t31/chillvars.exp, lib/gdb.exp:
22707 Tweak to run under either version of expect.
22708 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
22709 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
22710 * gdb.t11/list.exp: Remove extraneous whitespace.
22711
22712 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22713
22714 * gdb.t16/printcmds.exp (test_print_strings): Accept
22715 "(unsigned char *) " before the string.
22716
22717 * TODO: Add notes about printing of fancy types and GDB expressions.
22718
22719 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
22720
22721 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
22722 * gdb.t06/configure.in: Don't try to compile signals test program
22723 if doing mips-idt-ecoff.
22724
22725 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
22726
22727 * Most .exp files: Tweak to run under either version of expect.
22728
22729 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22730
22731 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
22732 xfails; I'm not sure why they are failing, but not because of PR 1806.
22733
22734 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
22735
22736 * config/unix-gdb.exp: Remove gdb_unload cause it's already
22737 defined in lib/gdb.exp.
22738
22739 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22740
22741 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
22742 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
22743 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
22744 have to be typeless.
22745
22746 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22747
22748 * TODO: Add suggestion for copyright year test.
22749
22750 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
22751
22752 * configure.in (*-*-lynxos*): Add stabs tests.
22753
22754 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22755
22756 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
22757 so insert a tab before any assembler directive in column zero.
22758
22759 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
22760 stores.
22761 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
22762 stores.
22763 (fpu_short_memory_tests): Likewise.
22764
22765 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22766
22767 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
22768 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
22769 .stabs directives in comments.
22770
22771 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22772
22773 * TODO: New file, describing tests we could write.
22774 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
22775
22776 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22777
22778 * gdb.t06/signals.exp: Add kludge to force re-sync.
22779
22780 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
22781 to xgdb instead of gdb, get out of gdb.
22782
22783 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
22784
22785 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
22786 for info.
22787
22788 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22789
22790 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
22791 * gdb.stabs/configure.in (hppa*-*-*): Use it.
22792 * gdb.stabs/hppa.sed: New sed script for the PA.
22793
22794 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22795
22796 * gdb.stabs: Re-write weird.def and configuration to use sed
22797 instead of cpp. sed is portable and POSIX; cpp is neither.
22798
22799 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22800
22801 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
22802
22803 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22804
22805 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
22806
22807 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22808
22809 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
22810 "_vb$".
22811 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
22812 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
22813
22814 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22815
22816 * lib/gdb.exp: Comment out code which depends on non-existent
22817 `transform' procedure.
22818
22819 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
22820
22821 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
22822 * lib/gdb.exp: Transform tool name.
22823 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
22824 1.1's new error handling system.
22825
22826 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22827
22828 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
22829
22830 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22831
22832 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
22833 They made pattern matching so slow that timeouts happened on
22834 heavily loaded systems. Now any output from "show print" which
22835 gets us back to the GDB prompt is a PASS.
22836
22837 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
22838
22839 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
22840
22841 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22842
22843 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
22844
22845 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
22846 It is not from PR 3220.
22847
22848 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22849
22850 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
22851 just started failing because they depended on the order the
22852 subcommands are presented, or exact docstring text. This kind of
22853 test is a pain and has minimal benefit.
22854
22855 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22856
22857 * gdb.t09/corefile.exp: At end of test, use "core" command with
22858 no arguments.
22859
22860 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
22861
22862 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
22863 17}/Makefile.in: Make it possible to run the testsuite with Sun
22864 make and CC = cross gcc by adding explicit build rules for .o
22865 files.
22866
22867 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22868
22869 * gdb.t15/funcargs.exp: Don't put comments on same line as
22870 setup_xfail (@#$*%& tcl braindamage!).
22871
22872 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22873
22874 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
22875
22876 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
22877
22878 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
22879 * gdb.t20/inherit.exp: remove three dumplicate entries.
22880
22881 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22882
22883 * gdb.t06/break.exp: For "next over recursive call", fail on any
22884 incorrect output, not just on "factorial (value=2)".
22885
22886 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22887
22888 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
22889 working now. Add an xfail if accesing a bss variable causes
22890 a memory error if the target is not yet run.
22891
22892 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22893
22894 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
22895 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
22896 name of __st* demangling (2 strings). Did Kung really get the
22897 more than 95 others right without testing them?
22898
22899 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
22900
22901 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
22902
22903 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
22904
22905 * configure.in (configdirs): Add gdb.disasm
22906 * gdb.disasm: New directory for GDB disassembler tests.
22907 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
22908
22909 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22910
22911 * gdb.t00/help.exp: Don't test "help set".
22912
22913 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
22914 from within expect statements. None of these happen anymore and
22915 they cause regressions to be silently unnoticed.
22916
22917 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
22918 messages) about known failures with gcc cygnus-2.4.5-930417.
22919
22920 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
22921 comp-info.exp so it gets built if it doesn't exist.
22922
22923 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
22924 it is no longer used.
22925 * gdb.t13/comp-info.c: Removed.
22926
22927 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22928
22929 * gdb.t06/signals.exp: Add xfail for sun3.
22930
22931 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22932
22933 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
22934 relevant because ^C doesn't get sent but failure can be reproduced
22935 interactively).
22936
22937 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22938
22939 * gdb.stabs/alpha.mt: New configuration file for alpha.
22940 * gdb.stabs/configure.in: Use it.
22941 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
22942 sharing with alpha.mt, redefine long to word via preprocessor.
22943 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
22944 for alpha.
22945 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
22946 native cc.
22947 * gdb.t00/teststrategy.exp: Change expect string so that we
22948 consume the `(xgdb)' from the command echo and from the gdb prompt.
22949 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
22950 gdb currently compares all values as long, so this failure probably
22951 applies to any configuration where LONGEST is bigger than a target int.
22952 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
22953 with gcc.
22954 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
22955 to handle opaque pointers, gcc is.
22956 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
22957 as first argument. Include <sys/types.h> and change all operator
22958 new definitions to use size_t.
22959 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
22960 now that we use size_t.
22961
22962 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22963
22964 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
22965 a long or float array cast all array members to the same type.
22966 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
22967 with 64 bit longs.
22968 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
22969 on alpha.
22970 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
22971
22972 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22973
22974 * gdb.t24 (demangle.exp): Constructors of templates have names like
22975 vector<int>::vector(int) not vector<int>::vector<int>(int). See
22976 section 14.6 of the ARM.
22977
22978 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
22979 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
22980 accomplish little and slow down the testsuite.
22981
22982 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
22983 Accept spaces various places.
22984
22985 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22986
22987 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
22988 with watchpoint enabled.
22989
22990 * Makefile.in: Remove definition of CC and remove the second
22991 definition of CXX (the "CXX = gcc" one remains). These definitions
22992 were causing backquotes to be expanded within backquotes, which
22993 doesn't work.
22994
22995 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
22996
22997 * gdb.t17/callfuncs.exp: Add "return 0" to end.
22998
22999 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23000
23001 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
23002 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
23003 by mips cc and contains no stabs entries.
23004
23005 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
23006
23007 * config/vx-gdb.exp: Use fake device to load files rather than
23008 NFS.
23009 * lib/gdb.exp: New proc to do "file" command.
23010 * config/unix-gdb.exp: Use new "file" proc.
23011
23012 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
23013
23014 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
23015 Rework board rebooting slightly.
23016 (gdb_exit): Don't exit from the remote shell; there isn't one.
23017 * gdb.stabs/weird.exp: If a program is being debugged already,
23018 kill it.
23019 * gdb.t04/setvar.exp: Stop and restart gdb.
23020 * gdb.t05/expr.exp: Likewise.
23021 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
23022 restart gdb and reload the program.
23023 * gdb.t08/opaque.exp: Likewise.
23024 * gdb.t12/scope.exp: Likewise.
23025 * gdb.t13/bitfields.exp: Likewise.
23026 * gdb.t15/funcargs.exp: Likewise.
23027 * gdb.t20/classes.exp: Likewise.
23028 * gdb.t03/ptype.exp: Increase timeout.
23029 * gdb.t16/printcmds.exp (test_print_string_constants,
23030 test_print_array_constants): Likewise.
23031 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
23032 * gdb.t20/classes.exp (do_tests): Likewise.
23033 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
23034
23035 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
23036
23037 * gdb.stabs: Renamed *wierd* to *weird*.
23038
23039 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23040
23041 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
23042 for timeout. Add "known gcc 2.4.5 bug" to failure message.
23043
23044 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
23045
23046 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
23047 (do_tests): Remove xfail for whatis on one_var and two_var.
23048
23049 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
23050
23051 * Makefile.in: Made cross building work better by adding
23052 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
23053
23054 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23055
23056 * gdb.t15/{return.c,return.exp,Makefile.in}:
23057 New test, currently commented out.
23058
23059 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
23060
23061 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
23062 still running and removes the leftover named socket so GDb can do
23063 clean restarts.
23064
23065 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
23066
23067 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
23068 console, not GDB.
23069 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
23070 cross testing works better with "make check"
23071 * config/unix-gdb: Use default procedures for exit and version.
23072 * config/vx-gdb.exp: Cleaned up and massaged back to working order
23073 with the newest VxWorks.
23074
23075 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23076
23077 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
23078 old form.
23079
23080 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
23081 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
23082
23083 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
23084
23085 * config/unix-gdb.exp: Remove this version of gdb_exit
23086 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
23087 Rob says he'll look at it when he gets back to testing boards.
23088
23089 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
23090
23091 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
23092 an expected fail for certain ptype commands.
23093
23094 * gdb.t20/classes.exp: Update expected results of "ptype class
23095 Base1" to account for the constructor that now appears in the type.
23096
23097 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
23098
23099 * configure.in (configdirs): Restore gdb.t04, which mysteriously
23100 disappeared from list.
23101 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
23102 "alldone" proc with call to cleanup and exit.
23103 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
23104 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
23105 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
23106 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
23107 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
23108 "alldone" proc with simple returns that suppress remaining
23109 tests. The alldone proc went away many months ago.
23110
23111 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23112
23113 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
23114
23115 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
23116
23117 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23118
23119 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
23120 as vax gdb will display them.
23121
23122 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23123
23124 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
23125 optimizers.
23126
23127 * scope.exp: Change "bad value for localval" messages so each one
23128 is unique.
23129
23130 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
23131 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
23132
23133 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
23134
23135 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23136
23137 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
23138 doesn't exist (due to optimization).
23139
23140 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23141
23142 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
23143 contains \r because the filename is long.
23144
23145 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
23146 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
23147
23148 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23149
23150 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
23151 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
23152 Ultrix.
23153 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
23154 int tests.
23155 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
23156
23157 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
23158
23159 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
23160
23161 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
23162 to match does not match the passing case but still matches the
23163 failing case.
23164
23165 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23166
23167 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
23168
23169 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
23170
23171 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
23172 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
23173 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
23174 Remove various versions of gdb_exit.
23175 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
23176 gdb_exit.
23177 * config/unix-gdb.exp: gdb_exit remains here, and should override
23178 the generic version, since it's doing a lot of wierd stuff that
23179 the other versions aren't. FIXME, fold it in, or abandon this
23180 version.
23181
23182 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23183
23184 * gdb.t24/demangle.exp: Add tests for PR 3220.
23185
23186 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23187
23188 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
23189
23190 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
23191
23192 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
23193 "i386-*-*". Works for i486 as well.
23194
23195 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
23196 bug, and expand domain of xfail to all SVR4 systems, since the
23197 actual problem is likely to be in generic SVR4 /proc support.
23198
23199 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23200
23201 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
23202
23203 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
23204
23205 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
23206 xfails for other systems. Match a missing 'Continuing.' as an
23207 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
23208
23209 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
23210 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
23211 Only issue warning for missing executables if -all option is used.
23212
23213 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
23214 file if -all option is used. It's like an unpredictable XFAIL.
23215
23216 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23217
23218 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
23219 for dynamically linked binaries.
23220
23221 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
23222
23223 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23224
23225 * gdb.t20/inherit.exp: Change message for "print tagless struct"
23226 to state that this is a known bug in old versions of g++.
23227
23228 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23229
23230 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
23231 while waiting for `Continuing'.
23232
23233 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
23234
23235 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
23236 in text, data, and bss.
23237 * gdb.t10/nodebug.c: Add local and global test variables for
23238 initialized and uninitialized data.
23239
23240 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23241
23242 * config/unix-gdb.exp (gdb_exit): Add "wait".
23243
23244 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23245
23246 * gdb.t06/signals.exp: xfail the continue from the handler for all
23247 targets.
23248
23249 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
23250 function with watchpoints enabled, the i386 call dummy starts with
23251 a call.
23252
23253 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
23254 386 bsd names its corefiles.
23255
23256 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
23257
23258 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
23259 compilers don't grok it.
23260 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
23261 with small octal ints rather than character constants, which
23262 are signed and might not fit if first promoted to int.
23263
23264 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
23265
23266 * gdb.t09/Makefile.in (clean): Remove corefile.
23267
23268 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23269
23270 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
23271
23272 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23273 and Jim Kingdon (kingdon@cygnus.com)
23274
23275 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
23276 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
23277 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
23278
23279 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23280
23281 * gdb.t17/interrupt.exp: Add xfail for hppa.
23282
23283 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23284
23285 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
23286 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
23287 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
23288 to determine signed-ness of bitfields and use the result to setup
23289 the xfail.
23290 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
23291 * gdb.t15/funcargs.exp: Use them to step until the second indirect
23292 call line is reached if necessary.
23293
23294 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23295
23296 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
23297
23298 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23299
23300 * gdb.t06/break.exp: Also test `clear' command.
23301
23302 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23303
23304 * gdb.t00/teststrategy.exp: Remove extra quote.
23305
23306 * gdb.t07/watchpoint.exp: Change xfail for calling function with
23307 watchpoint enabled to be for all non-68k machines.
23308
23309 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
23310
23311 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23312
23313 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
23314 targets use aout.mt instead of ecoff.mt as gas understands
23315 standard aout format.
23316
23317 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
23318
23319 * lib/gdb.exp (runto): Don't insist that function we are running to
23320 was compiled with -g.
23321
23322 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
23323
23324 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
23325 to get back into the read system call.
23326 Accept leading newline in case where we woke it up.
23327
23328 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23329
23330 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
23331 to make the stabs test work on ecoff systems using gcc and -with-stabs.
23332 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
23333 enable ecoff configuration.
23334
23335 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23336
23337 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
23338
23339 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23340
23341 * gdb.t16/printcmds.exp: Add another printf test.
23342
23343 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
23344
23345 * configure.in: If configured -with-stabs on any target, add
23346 stabsdirs to configdirs.
23347
23348 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23349
23350 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
23351 fun" so pattern does not match the command itself.
23352
23353 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23354
23355 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
23356
23357 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23358
23359 * gdb.t17/interrupt.exp: Test for more things.
23360
23361 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23362
23363 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
23364 compiler arranges the code and line numbers.
23365
23366 * gdb.t17/interrupt.exp: Don't send \n after ^C.
23367
23368 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23369
23370 * gdb.t00/help.exp: Increase expect input buffer size.
23371
23372 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23373
23374 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
23375
23376 * gdb.t07/watchpoint.exp: Add xfail for hppa.
23377
23378 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
23379
23380 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
23381 [0-9]*, not just [0-9].
23382
23383 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23384
23385 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
23386
23387 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
23388
23389 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23390
23391 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
23392
23393 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23394
23395 * gdb.t06/signals.c: Add xfails for sun3.
23396
23397 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
23398
23399 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
23400 test_stepping tests.
23401
23402 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23403
23404 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
23405
23406 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
23407
23408 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
23409 rather than actually putting it through cpp twice.
23410
23411 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
23412
23413 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
23414
23415 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
23416 no longer needed.
23417
23418 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23419
23420 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
23421
23422 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
23423 C++ features prints as "struct", make it a pass, not an xfail.
23424
23425 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23426
23427 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
23428 Don't require VA to print as "class" rather than "struct".
23429
23430 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
23431
23432 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
23433
23434 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23435
23436 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
23437
23438 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23439
23440 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
23441 order.
23442
23443 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23444
23445 * gdb.t16/printcmds.exp: Add printf tests.
23446
23447 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
23448
23449 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
23450
23451 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
23452
23453 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
23454 pass counts, to counteract any existing or future setup_xfails.
23455
23456 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23457
23458 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
23459 {BEGIN,END}_COMMON for common block instead of STAB.
23460 * gdb.stabs/wierd.exp: Add xfail for rs6000.
23461
23462 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
23463 intp_var should be N_GSYM not N_LSYM.
23464 wierd-aout.S: Use a label for the value of the N_SO.
23465 wierd.def: Remove all backslashes.
23466 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
23467
23468 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23469
23470 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
23471 get the expected next to inheritance3.
23472
23473 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23474
23475 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
23476 now that gcc-2.4 gets it right.
23477
23478 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23479
23480 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
23481
23482 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
23483 generating comp-info.exp which works for cross-compilation.
23484
23485 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
23486
23487 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
23488 "*-*-sysv4.*".
23489
23490 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
23491
23492 * gdb.t01/run.exp: Start with a fresh gdb.
23493 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
23494 SVR4.x.
23495
23496 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
23497
23498 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
23499 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
23500 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
23501 Makefile.in (distclean, realclean): Remove gdbme.c from list of
23502 things to remove.
23503
23504 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
23505
23506 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
23507 test cases from bug reports.
23508
23509 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
23510
23511 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
23512 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
23513 avoid spurious xfails.
23514 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
23515 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
23516 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
23517
23518 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
23519
23520 * gdb.t00/teststrategy.exp: Rework to provide more useful
23521 description of each test, fix problem with systems that define
23522 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
23523 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
23524 results for "next over recursive call" so timeouts aren't taken
23525 by error.
23526
23527 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
23528
23529 * gdb.t12/scope.exp: Test printing of variables before run.
23530
23531 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
23532 printed in wrong order due to sorting.
23533
23534 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
23535
23536 * gdb.t00/teststrategy.exp: Fix expected results for printing
23537 user entered string constant. Is array of char, prints with no
23538 address.
23539
23540 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
23541 commands.
23542 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
23543 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
23544 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
23545 of struct of char arrays.
23546 * gdb.t00/radix.exp: New tests for radix commands.
23547
23548 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
23549
23550 * gdb.t16/printcmd.exp: Print a variable before running program
23551 (with xfail for AIX).
23552
23553 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
23554
23555 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
23556
23557 * gdb.t16/printcmd.exp: Don't print variables before running program.
23558
23559 * gdb.t06/break.exp: Don't require envp argument to main.
23560
23561 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
23562
23563 * gdb.t02/whatis.exp, gdb.t11/list.exp:
23564 Add xfails for rs6000.
23565
23566 * gdb.t02/whatis.exp: Change other tests not to re-test something
23567 we already tested.
23568
23569 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
23570 each type used has a variable of that type.
23571
23572 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
23573
23574 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
23575
23576 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
23577
23578 * configure.in: change srctrigger to be a file, not a directory
23579
23580 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
23581
23582 * configure.in (mips-idt-ecoff*): Added trailing '*'.
23583
23584 * gdb.t11/list.exp: Fixed a couple of typos.
23585
23586 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
23587
23588 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
23589 is fixed and PR is closed.
23590 * gdb.t16 (gdbme.c): Add simple test string variable.
23591 * gdb.t16 (printcmds.exp): Add tests with simple test string
23592 variable, primarily for boundaries on "set print elements".
23593
23594 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
23595
23596 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
23597 Make leading 0's optional and don't expect a tab in the middle
23598 of the number.
23599
23600 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
23601
23602 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
23603 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
23604 don't end command passed to gdb_test with newline.
23605
23606 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
23607 signed keyword away, don't expect signed bitfields to be signed.
23608
23609 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
23610 printing with only as many 1's as are in the field as well as printing
23611 with 32 1's (see comment).
23612
23613 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
23614
23615 * gdb.t00/default.exp: Start with a fresh gdb.
23616 * configure.in (configdirs): Remove gdb.t31 until the chill
23617 compiler works again. It no longer is able to find chillrt0
23618 since it isn't in libchill.a anymore.
23619 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
23620 wierd.o, make more modular.
23621 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
23622 spurious newlines that caused problems.
23623
23624 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23625
23626 * Move test with enums and partial symbols from gdb.t03/ptype.exp
23627 to gdb.stabs/wierd.exp since GCC has worked around the bug.
23628 gdb.stabs/wierd.{exp,def}: Many new tests.
23629
23630 * gdb.t00/default.exp: update info line for new message.
23631
23632 * gdb.t02/{whatis.exp,gdbme.c}:
23633 Test that "char *" doesn't print as "caddr_t".
23634
23635 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23636
23637 * gdb.t00/help.exp: Use .* in place of some help messages which
23638 just changed.
23639 gdb.t00/default.exp: Update "info frame" test for new message.
23640 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
23641 Remove some xfails
23642
23643 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23644
23645 * gdb.t03/{gdbme.c,ptype.exp}:
23646 Add tests for typedef'd struct and union without tags.
23647 Also check "whatis" on a variable of a typedef'd enum without a tag.
23648
23649 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
23650 PRMS 1823; the bug still exists but isn't reproduced by this test
23651 anymore), and remove rs6000 XFAIL (the bug is fixed).
23652
23653 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
23654 duplicated from whatis.exp. For those that are left, accept
23655 "long", "long int", or "int" for long variables (whatis.exp already
23656 has an XFAIL for "int", so no need to fail it here).
23657
23658 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
23659 Deal with GCC's names for types now that GDB uses the compiler's names.
23660
23661 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
23662 setup_xfail's for sunos4. If we #defined the signed keyword away,
23663 don't expect GDB to know that char it is signed.
23664
23665 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
23666
23667 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
23668
23669 * configure.in (configdirs): Add gdb.t24 for C++ tests that
23670 should work on any system, regardless of debugging format.
23671 * gdb.t21/demangle.exp: Move to gdb.t24.
23672 * gdb.t24/demangle.exp: Move from gdb.t21.
23673 * gdb.t24/{Makefile.in, configure.in}: New files.
23674
23675 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23676
23677 * configure.in: Do gdb.stabs and C++ tests only for stabs.
23678 * gdb.stabs: New directory.
23679
23680 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23681
23682 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
23683 not just "Quit anyway?".
23684
23685 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
23686
23687 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
23688 that all setup_xfails are immediately followed by clear_xfails.
23689
23690 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
23691
23692 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
23693 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
23694 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
23695 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
23696 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
23697 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23698 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23699 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
23700 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
23701 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
23702 gdb.t31/chillvars.exp, lib/gdb.exp:
23703 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
23704 bug-gdb@prep.ai.mit.edu.
23705
23706 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
23707
23708 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
23709 with 0.0, not integer 0.
23710
23711 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
23712
23713 * gdb.t06/break.exp: Update for "Kill the program" message change.
23714
23715 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
23716
23717 * Makefile.in (GDBFLAGS): Set to -nx.
23718 * Makefile.in (site.exp): Use GDBFLAGS.
23719
23720 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23721
23722 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
23723 Makefiles.
23724 (check): depend on just-check.
23725 (just-check): added so that tests can be run without a noop
23726 build pass.
23727
23728 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23729
23730 Switch to using configure's configdirs.
23731 * Makefile.in (Makefile): add configure.in dependency.
23732 (SUBDIRS): removed redundant assignment.
23733 * configure.in: switch subdirs assignment to configdirs.
23734 * gdb.t*/configure.in: new files.
23735
23736 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
23737
23738 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
23739 works.
23740
23741 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
23742
23743 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
23744 in explicit rules. Apparently this is not supported by some makes.
23745
23746 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
23747
23748 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
23749
23750 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23751
23752 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
23753 disappeared.
23754
23755 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
23756
23757 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
23758
23759 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
23760
23761 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
23762 watchpoint problem that is now fixed.
23763 * gdb.t30/chexp.exp: Remove setup_xfail for printing
23764 uninitialized convenience variables.
23765 * gdb.t31/chillvars.exp: Fix expected patterns for printing
23766 structures.
23767
23768 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23769
23770 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
23771 which causes expect to get out of sync with gdb on long output
23772 from help set.
23773 * gdb.t09/corefile.exp: Make expected pattern for core file
23774 failing signal and frame output format less sun specific.
23775
23776 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
23777
23778 * gdb.t31/chillvars.exp: Add and remove initial dummy
23779 breakpoint, so that symbol table is forced in.
23780 (Needed at least on Sunos4, though it seems not SVR4.)
23781 * gdb.t31/chillvars.exp: Update for changed output format.
23782
23783 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
23784
23785 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
23786
23787 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
23788
23789 * Makefile.in: Added --srcdir when invoking runtest, removed the
23790 need for a local config file. (optional now)
23791
23792 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
23793
23794 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
23795 failure count used to force early termination. Add some more
23796 expected failures for gnu style demangling.
23797
23798 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23799
23800 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
23801 pmi variable from gdb.t20/gdbme to get optimized away.
23802 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
23803 Check for written corefile upon timeout _and_ eof.
23804
23805 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23806
23807 * config/unix-gdb.exp: Add missing return 0.
23808
23809 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23810
23811 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
23812 test termination.
23813
23814 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
23815
23816 * configure.in (subdirs): Put back gdb.t17 which mysteriously
23817 disappeared.
23818
23819 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
23820
23821 * gdb.t10/crossload.exp: Disable the i860-elf test until such
23822 time as i860 support works.
23823
23824 * gdb.t15/funcargs.exp: Fix expected outputs to include
23825 "backtrace 100\r" rather than just "backtrace\r", to match last
23826 change.
23827
23828 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
23829
23830 * config/udi-gdb.exp (gdb_exit): Remove close command.
23831 (gdb_target_udi): New procedure to set the UDI target.
23832 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
23833 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
23834 Added waits for prompts after several question responses. Added
23835 some more responses used by a29k-amd-udi-gdb.
23836 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
23837 pass different arguments, restart UDI connection after program
23838 completion.
23839 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
23840 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23841 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
23842 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
23843 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
23844 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
23845 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23846 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
23847 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
23848 after program completion.
23849 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
23850 compiled with a SELECT_VECS setting.
23851 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
23852 infinite recursion.
23853
23854 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
23855 Added checks for COFF results, and made them expected failures for
23856 all targets. It would be better to make them expected failures
23857 for COFF targets only.
23858
23859 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
23860
23861 * Makefile.in: add null dvi target, don't bother to recurse
23862 through test directories for info and install-info; rename
23863 $(datadir) to be dejagnu instead of deja-gnu
23864
23865 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
23866
23867 * gdb.t31/gdbme.ch: Re-enable code that previously caused
23868 compiler to coredump.
23869 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
23870 code.
23871
23872 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
23873
23874 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
23875 coredump.
23876 * gdb.t31/chillvars.exp: Comment out tests that depend on that
23877 code.
23878
23879 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
23880
23881 * gdb.t03/ptype.exp: tests for return code from gdb_test.
23882 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
23883 which in a shell. Deletes xgdb when done.
23884 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
23885 Tests the return from the "set height" or "set width" commands.
23886 Added a few return codes where needed.
23887
23888 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
23889
23890 * Makefile.in (SUBDIRS): Add gdb.t17.
23891 * configure.in (subdirs): Add gdb.t17.
23892 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
23893 files to test gdb's calling of functions in the inferior with
23894 the correct arguments and gdb's ability to retrieve any
23895 result returned.
23896
23897 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
23898
23899 * config/unix-gdb.exp (gdb_exit): Remove close commands that
23900 may be called after gdb goes away. Previous versions of expect
23901 needed these to avoid file descriptor leaks, but they cause
23902 errors with the current revision of expect.
23903 * gdb.t00/gdbvars.exp: Use -re on expected output after
23904 setting sevenbit-strings.
23905 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
23906 to set sevenbit-strings consistent across tests.
23907 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
23908 set sevenbit-strings consistent across tests.
23909
23910 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
23911
23912 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
23913 expected output to match current "expect" expectations.
23914
23915 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
23916
23917 * gdb.t00/default.exp: Change expected output for default "source"
23918 command, to match new gdb behavior which requires a filename to
23919 source.
23920
23921 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
23922
23923 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
23924 expected fail for i486-*-* that misses the marker2 function.
23925 * gdb.t10/crossload.exp (bfddefault): Allow successful
23926 recognition of a format to pass even if no symbols are found.
23927 Explicitly catch failures where the format is not recognized
23928 or is ambiguous, and add the reason to the fail message.
23929 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
23930 the cause is and invalid target and add reason to failure message.
23931 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
23932 elf32-i386, elf32-sparc, and elf32-i860.
23933 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
23934 Set up expected failure for 'filename'::variable scope resolution,
23935 which is now apparently broken on all targets.
23936 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
23937 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
23938 gdb.t23/templates.exp: Change failure for missing binfile into
23939 just a warning.
23940 gdb.t21/demangle.exp: Change all cfront references to 'arm'
23941 references.
23942
23943 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
23944
23945 * gdb.t00/default.exp: Add expected output for default "source"
23946 command, to match new gdb behavior.
23947 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
23948
23949 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
23950
23951 * config/*-gdb.exp: returns an error, rather than exiting on
23952 internal errors.
23953
23954 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
23955
23956 * gdb.t03/gdbme.c: Add pointer to struct variable.
23957 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
23958 referencing struct members.
23959
23960 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
23961
23962 * configure.in (mips-idt-ecoff): New target.
23963 * config/mips-gdb.exp: New file for remote board using MIPS remote
23964 debugging protocol.
23965
23966 * Redid configuration scheme. Removed gdb.t*/configure.in.
23967 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
23968 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
23969 distclean targets. Built executables via .o files. Adjusted
23970 tests to account for source files in $(srcdir) rather than
23971 $(objdir).
23972 * lib/gdb.exp (runto): Don't expect () after the function name,
23973 because it may have arguments.
23974
23975 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
23976
23977 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
23978 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
23979 expected failures for mips-idt-* and mips-sgi-*.
23980 * gdb.t00/default.exp (attach): Kill process if requested.
23981 * gdb.t00/help.exp (help target core, help target): Accept a gdb
23982 that does not read core files.
23983 * gdb.t01/run.exp: Removed checks for exit status code.
23984 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
23985 it is linked in.
23986 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
23987 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
23988 appropriate, rather than doing it by hand.
23989 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
23990 execution.
23991 * gdb.t10/crossload.exp: Kill existing program if needed.
23992 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
23993 appropriate, rather than doing it by hand. Always increase
23994 timeout for this test, not just for VxWorks.
23995
23996 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
23997
23998 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
23999 of Chill STRUCT types and STRUCT values.
24000 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
24001 than "char".
24002 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
24003 struct2): New struct definitions and initializations to test
24004 simple Chill STRUCT types.
24005
24006 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
24007
24008 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
24009 the null byte at the end of strings.
24010 * gdb.t00/default.exp: Make show version insensitive to copyright
24011 date.
24012 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
24013 to avoid dependencies on target char signedness.
24014 * gdb.t16/printcmds.exp: Update expected results for explicitly
24015 unsigned char.
24016 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
24017 now work.
24018 * gdb.t21/demangle.exp: Add many more patterns for template
24019 demangling, most of them being expected failures.
24020 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
24021 string we are matching for, to match on the whole string.
24022 * gdb.t21/demangle.exp: Add many new test strings to demangle,
24023 and fix a whole bunch that had incorrect expected output but were
24024 passing anyway because of the bug in "proc demangle".
24025 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
24026 type.
24027 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
24028
24029 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
24030
24031 * gdb/testsuite: made modifications to testcases, etc., to allow
24032 them to work properly given the reorganization of deja-gnu and the
24033 relocation of the testcases from deja-gnu to a "tool" subdirectory.
24034
24035 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
24036
24037 * gdb/testsuite: Initial creation of gdb/testsuite.
24038 Migrated dejagnu testcases and support files for testing nm to
24039 gdb/testsuite from deja-gnu. These files were moved "as is"
24040 with no modifications. This migration is part of a major overhaul
24041 of dejagnu. The modifications to these testcases, etc., which
24042 will allow them to work with the new version of dejagnu will be
24043 made in a future update.
24044
24045 For additional changes see gdb.mi/ChangeLog-1999-2003.
24046 \f
24047 ;; Local Variables:
24048 ;; mode: change-log
24049 ;; left-margin: 8
24050 ;; fill-column: 74
24051 ;; version-control: never
24052 ;; End:
24053
24054 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
24055 2003, 2004, 2005 Free Software Foundation, Inc.
24056 Copying and distribution of this file, with or without modification,
24057 are permitted provided the copyright notice and this notice are preserved.
This page took 0.603571 seconds and 4 git commands to generate.